/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */





:root {
  --calia-red: #BE1E2D;
  --bg-light: #f2f2f2;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#news-calia {
  background-color: var(--bg-light);
  padding: 20px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 24px;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  border: 1px solid rgba(0,0,0,0.02); /* Bordo quasi invisibile di base */
}

/* Hover: Rimosso bordo rosso, aggiunta shadow minimale */
.news-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: transparent; /* Nasconde il bordo al passaggio */
  box-shadow: 0 20px 40px rgba(0,0,0,0.06); /* Shadow molto soffusa */
}

.news-date {
  font-size: 10px;
  color: #bbb;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
  text-transform: uppercase;
}

/* Titoli: Solo prima lettera maiuscola */
.news-title-custom {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 10px;
  text-transform: lowercase; /* Forza tutto minuscolo */
  display: block;
}

.news-title-custom::first-letter {
  text-transform: uppercase; /* Forza solo la prima lettera maiuscola */
}

.news-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  font-weight: 300;
}

.read-more-news {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--calia-red);
  margin-top: 20px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.news-card:hover .read-more-news {
  letter-spacing: 2px; /* Piccola animazione di respiro sul testo */
}



@media (max-width: 1200px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }



.uc_hover_switcher_row.uc-items-wrapper {
    border-radius: 20px!important;
}















body{ background: #f2f2f2 !important;}


html, body {
  overscroll-behavior: none !important;
  scroll-behavior: smooth !important;
}

/* HEADER */
.header{
  background: #f2f2f2 !important;
  position: relative;
  z-index: 999;
  padding: 12px 0;
  transition: box-shadow .2s ease, padding .2s ease, background-color .2s ease;
}

/* STICKY */
.header.sticky-blur{
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  padding: 6px 0;

  /* shadow moderna e leggera */
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.10);
}

/* CENTRATURA VERTICALE DEL LOGO (nella colonna Elementor) */
.header .elementor-widget-image,
.header .elementor-widget-image .elementor-widget-container{
  height: 100%;
}

.header .elementor-widget-image .elementor-widget-container{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* LOGO */
.header .elementor-widget-image img{
  display: block !important;
  height: auto !important;
  max-width: 100%;
  transition: width .2s ease;
}

/* logo default */
.header:not(.sticky-blur) .elementor-widget-image img{
  width: 230px !important;
}

/* logo sticky */
.header.sticky-blur .elementor-widget-image img{
  width: 160px !important;
}



.cta-text {
    font-size: 16px!important;
    color: #b9b9b9!important;
    line-height: 1.6;
    margin-bottom: 30px;
}



.descrizione-articolo a {
    color: black!important;
}










/* CSS SHORTCODE PAGINA COSA FACCIAMO */

  :root {
    --font-title: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --accent-color: #000000;
    --bg-light: #F2F2F2;
    --text-main: #1a1a1a;
    --text-muted: #64748b;
  }

  .approach {
    width: 100%;
    padding: 100px 20px;
    background-color: var(--bg-light);
    overflow: hidden;
  }

  .approach__inner {
    max-width: 1300px;
    margin: 0 auto;
  }

  .approach__header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
  }

  .approach__subtitle {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #A73731;
    font-weight: 700;
  }

  .approach__title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
  }

  .approach__description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5A5A5A;
    max-width: 680px;
    margin: 0 auto;
  }

  .approach__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .approach__box {
    position: relative;
    padding: 50px 40px;
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
  }

  .approach__box-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(0,0,0,0.02), transparent);
    border-radius: 32px;
    z-index: -1;
    transition: opacity 0.5s ease;
  }

  .approach__box:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
  }

  .approach__index {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 800;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: var(--text-main);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 30px;
    transition: transform 0.5s ease;
  }

  .approach__box:hover .approach__index {
    transform: scale(1.1) rotate(-5deg);
    background: var(--accent-color);
  }

  .approach__box-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }

  .approach__box-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
  }

  @media (max-width: 1024px) {
    .approach__grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .approach {
      padding: 80px 20px;
    }
    .approach__box {
      padding: 40px 30px;
    }
  }









/* --- BOX 1: REALIZZIAMO --- */
#box-capabilities {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    padding: 30px;
    margin-bottom: 24px;
}

.cap-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: #a1a1a1;
    margin-bottom: 25px;
    display: block;
}

.cap-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.cap-item {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.cap-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #000;
    transition: transform 0.3s ease;
}

.cap-item:hover .cap-link { 
    transform: translateX(5px); 
}

.cap-item-name { 
    font-size: 16px; 
    font-weight: 500; 
}

.cap-item-num { 
    font-size: 10px; 
    opacity: 0.3; 
    font-family: monospace; 
}

.cap-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.cap-line-fill {
    position: absolute;
    width: 0;
    height: 100%;
    background: #000;
    transition: width 0.5s ease;
}

.cap-item:hover .cap-line-fill { 
    width: 100%; 
}


/* --- BOX 2: CONTATTI --- */
#box-contact-cta {
    background: #000;
    border-radius: 40px;
    padding: 40px;
    color: #fff;
    text-align: left;
}

.cta-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-text {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    display: block;
    width: 100%;
    background: #fff;
    color: #000;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.cta-button:hover { 
    opacity: 0.9; 
}



.progetti-calia .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%)!important;
}

p.project-caption {
    font-family: 'Plus Jakarta Sans';
    font-size: 17px!important;
    font-weight: 400!important;
}