/* ============================================================
   Egeria S.r.l. — Stylesheet
   Navy: #021E48  |  Gold: #EEBA2B
   Fonts: Cormorant Garamond (headings) + Montserrat (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }

/* ---- Variables ---- */
:root {
  --navy:       #021E48;
  --navy-dark:  #010c1e;
  --gold:       #EEBA2B;
  --gold-light: #ffd44a;
  --off-white:  #F8F7F4;
  --charcoal:   #1C1C1C;
  --stone:      #6B7280;
  --border:     #E5E7EB;
  --white:      #FFFFFF;
  --max-w:      1200px;
  --px:         clamp(1.5rem, 5vw, 5rem);
  --py:         6rem;
  --radius:     2px;
}

/* ---- Base ---- */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; transition: color 0.2s; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p  { line-height: 1.85; }

/* ---- Layout ---- */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.section    { padding: var(--py) var(--px); }
.section--alt    { background: var(--off-white); }
.section--dark   { background: var(--navy); color: var(--white); }
.section--darker { background: var(--navy-dark); color: var(--white); }

/* ---- Label ---- */
.label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem;
}
.label::before { content: ''; flex-shrink: 0; width: 28px; height: 2px; background: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 0.9rem 2.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn:hover { transform: translateY(-2px); }
.btn--gold   { background: var(--gold); color: var(--navy); }
.btn--gold:hover  { background: var(--gold-light); }
.btn--navy   { background: var(--navy); color: var(--white); }
.btn--navy:hover  { background: #031d42; }
.btn--outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
  clip-path: none;
  padding: calc(0.9rem - 2px) calc(2.4rem - 2px);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem var(--px);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 20px rgba(1,12,30,0.35);
  transition: padding 0.35s, box-shadow 0.35s;
}
.navbar.scrolled {
  padding: 0.9rem var(--px);
  box-shadow: 0 4px 30px rgba(2,14,31,0.55);
}
.navbar__logo { display: flex; align-items: center; text-decoration: none; }
.navbar__logo img { display: none; } /* logo grande solo nell'hero homepage */
.navbar__logo .logo-fallback {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 700; letter-spacing: 0.25em;
  color: var(--white); text-transform: uppercase;
  text-decoration: none;
}

.navbar__nav { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.navbar__nav a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; padding-bottom: 2px;
}
.navbar__nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s;
}
.navbar__nav a:hover::after,
.navbar__nav a.active::after { width: 100%; }
.navbar__nav a:hover { color: var(--white); }
.navbar__nav .nav-cta {
  background: var(--gold); color: var(--navy);
  padding: 0.55rem 1.4rem; font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.navbar__nav .nav-cta::after { display: none; }
.navbar__nav .nav-cta:hover { background: var(--gold-light); color: var(--navy); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; z-index: 1001;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; inset: 0; background: var(--navy); z-index: 999;
  padding: 8rem var(--px) 4rem; gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white); text-decoration: none;
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav a:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-nav__contacts {
  margin-top: 2.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.mobile-nav__contacts a { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; display: block; margin-bottom: 0.5rem; }

/* ============================================================
   HERO — split layout
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* ---- Metà sinistra: navy ---- */
.hero__left {
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 9rem clamp(2rem, 5vw, 5rem) 5rem clamp(2rem, 5vw, 5rem);
  position: relative; overflow: hidden;
  min-height: 100vh;
}
.hero__left-deco {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero__left-deco::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 420px; height: 420px;
  border: 1px solid rgba(238,186,43,0.15); transform: rotate(12deg);
}
.hero__left-deco::after {
  content: ''; position: absolute; left: -60px; bottom: -60px;
  width: 260px; height: 260px;
  border: 1px solid rgba(238,186,43,0.08); transform: rotate(25deg);
}
.hero__content { position: relative; z-index: 1; max-width: 520px; }

/* ---- Metà destra: bianca + logo ---- */
.hero__right {
  background: #ffffff;
  display: grid;
  place-items: center;
  min-height: 100vh;
  position: relative; overflow: hidden;
  padding: 0;
  background-image:
    radial-gradient(ellipse at 80% 15%, rgba(238,186,43,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 85%, rgba(2,30,72,0.06) 0%, transparent 50%);
}
/* Cerchio grande gold — angolo in alto a destra */
.hero__right::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 2px solid rgba(238,186,43,0.22); pointer-events: none;
}
/* Cerchio navy — angolo in basso a sinistra */
.hero__right::after {
  content: ''; position: absolute; bottom: -70px; left: -70px;
  width: 340px; height: 340px; border-radius: 50%;
  border: 1.5px solid rgba(2,30,72,0.1); pointer-events: none;
}

.hero__logo-big {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative; z-index: 1;
  mix-blend-mode: multiply;
  animation: logoFloat 7s ease-in-out infinite;
  margin-top: 18%;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--gold); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 2rem;
}
.hero__eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--gold); }
.hero h1 { color: var(--white); max-width: 660px; margin-bottom: 1.75rem; }
.hero h1 span { color: var(--gold); }
.hero__sub {
  color: #ffffff; font-size: 1rem;
  max-width: 490px; margin-bottom: 3rem; line-height: 1.9;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   INTRO (homepage)
   ============================================================ */
.intro__stats    { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.intro__stats    { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat { padding: 1.5rem; border-top: 3px solid var(--gold); }
.stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; color: var(--navy); font-weight: 700; line-height: 1;
}
.stat__label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--stone); margin-top: 0.4rem; }

/* ============================================================
   SERVICES GRID (homepage cards)
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 2.5rem 1.75rem; position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--gold); transition: width 0.4s;
}
.service-card:hover::after { width: 100%; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(4,45,98,0.1); border-color: transparent; }
.service-card__icon { width: 40px; height: 40px; margin-bottom: 1.75rem; color: var(--gold); }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p  { font-size: 0.88rem; color: var(--stone); line-height: 1.75; }

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.why-item {
  padding: 2.5rem; border: 1px solid var(--gold);
}
.why-item__num {
  font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 700;
  color: var(--gold);
  line-height: 1; margin-bottom: 1rem;
}
.why-item h3 { color: var(--white); font-size: 1.7rem; font-weight: 700; margin-bottom: 0.75rem; }
.why-item p  { color: var(--white); font-size: 0.9rem; line-height: 1.85; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; max-width: 700px; margin: 3.5rem auto 0; }
.team-card { text-align: center; }
.team-card__photo-wrap {
  width: 260px; height: 260px; margin: 0 auto 1.75rem;
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(238,186,43,0.1), inset 0 0 0 3px #000000;
  position: relative;
  background: #000000;
}
.team-card__photo-wrap img {
  width: 100%; height: 100%; object-fit: contain; object-position: center center;
  transition: transform 0.4s;
}
.team-card:hover .team-card__photo-wrap img { transform: scale(1.05); }

.team-card__photo-wrap--fix::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 100%;
  background: #000;
  z-index: 2;
}
.team-card__name { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.team-card__role { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.team-card__bio  { font-size: 0.88rem; color: var(--stone); margin-top: 1rem; line-height: 1.8; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--gold); padding: 5rem var(--px); text-align: center; }
.cta-band__inner { max-width: 600px; margin: 0 auto; }
.cta-band h2 { color: var(--navy); margin-bottom: 1rem; }
.cta-band p  { color: rgba(4,45,98,0.72); margin-bottom: 2.5rem; line-height: 1.8; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); padding: 5rem var(--px) 2.5rem; }
.footer__inner { max-width: var(--max-w); margin: 0 auto; }
.footer__top   { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 5rem; margin-bottom: 4rem; }
.footer__logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  width: 200px;
  height: 200px;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}
.footer__logo-box img {
  width: 250px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}
.footer__brand, .footer__brand p { font-size: 0.88rem; line-height: 1.9; max-width: 280px; color: var(--white); }
.footer__heading {
  font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: 1.5rem;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.7rem; }
.footer__links a { color: var(--white); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--gold); }
.footer__address { font-style: normal; font-size: 0.88rem; line-height: 2.1; color: var(--white); }
.footer__address a { color: var(--white); text-decoration: none; transition: color 0.2s; }
.footer__address a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer__copyright { font-size: 0.8rem; color: var(--white); }
.footer__legal { display: flex; gap: 2rem; }
.footer__legal a { font-size: 0.8rem; color: var(--white); text-decoration: none; transition: color 0.2s; }
.footer__legal a:hover { color: rgba(255,255,255,0.6); }
/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy); padding: 10rem var(--px) 5rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero__deco {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.page-hero__deco::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px;
  border: 1px solid rgba(238,186,43,0.12); transform: rotate(15deg);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero h1 span { color: var(--gold); }
.page-hero p  { color: #ffffff; font-size: 1rem; line-height: 1.9; }

/* ============================================================
   CHI SIAMO page
   ============================================================ */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.quote-box {
  background: var(--off-white); padding: 3rem;
  border-left: 4px solid var(--gold);
}
.quote-box blockquote {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  color: var(--navy); line-height: 1.5; font-style: italic; margin-bottom: 1.25rem;
}
.quote-box p { color: var(--stone); font-size: 0.9rem; line-height: 1.8; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card { padding: 2.5rem 2rem; background: var(--white); border-top: 3px solid var(--gold); }
.value-card h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 0.6rem; }
.value-card p  { font-size: 0.88rem; color: var(--stone); line-height: 1.75; }

/* ============================================================
   SERVIZI page
   ============================================================ */
.servizi-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.servizi-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.servizi-pillar {
  padding: 1.75rem;
  border-top: 3px solid var(--gold);
  background: var(--off-white);
}
.servizi-pillar__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 0.5rem;
}
.servizi-pillar__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--navy);
}
.service-areas { max-width: var(--max-w); margin: 0 auto; }
.service-area {
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start;
  padding: 4rem 0; border-top: 1px solid var(--border);
}
.service-area:first-child { border-top: none; padding-top: 0; }
.service-area__head { position: sticky; top: 110px; }
.service-area__num  {
  font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 700;
  color: var(--navy); line-height: 1; margin-bottom: 0.5rem;
}
.service-area__head h3 { color: var(--navy); margin-bottom: 0.75rem; }
.service-area__head p  { color: var(--stone); font-size: 0.9rem; line-height: 1.8; }
.service-items { display: grid; gap: 1rem; }
.service-item {
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  transition: background 0.2s, box-shadow 0.2s;
}
.service-item:hover { background: var(--off-white); box-shadow: 0 4px 20px rgba(2,30,72,0.07); }
.service-item h4 { color: var(--navy); font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-item p  { font-size: 0.88rem; color: var(--stone); line-height: 1.75; }

/* ============================================================
   CONTATTI page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6rem; align-items: start; }
.contact-info h2 { color: var(--navy); margin-bottom: 1rem; }
.contact-info > p { color: var(--stone); margin-bottom: 2.5rem; line-height: 1.85; }
.contact-item { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-item__icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--navy); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.contact-item__icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-item__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 0.3rem; }
.contact-item__value { font-size: 0.9rem; color: var(--stone); }
.contact-item__value a { color: var(--stone); text-decoration: none; }
.contact-item__value a:hover { color: var(--navy); }

/* Form */
.form-group  { margin-bottom: 1.5rem; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem; color: var(--charcoal);
  background: var(--white); outline: none; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(4,45,98,0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b7c3; }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.btn--submit { width: 100%; text-align: center; display: block; }
.form-success { display: none; text-align: center; padding: 3.5rem 2rem; background: var(--off-white); border: 1px solid var(--border); }
.form-success.visible { display: block; }
.form-success__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.form-success h3 { color: var(--navy); margin-bottom: 0.5rem; }
.form-success p  { color: var(--stone); font-size: 0.9rem; }

/* Map */
.map-wrap { height: 420px; overflow: hidden; filter: grayscale(20%); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid         { grid-template-columns: repeat(2, 1fr); }
  .intro            { grid-template-columns: 1fr; gap: 3rem; }
  .intro__stats     { order: -1; }
  .footer__top      { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .mission-grid     { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid      { grid-template-columns: repeat(2, 1fr); }
  .servizi-intro    { grid-template-columns: 1fr; gap: 3rem; }
  .service-area     { grid-template-columns: 1fr; gap: 2rem; }
  .service-area__head { position: static; }
  .contact-grid     { grid-template-columns: 1fr; gap: 3.5rem; }
  .team-grid        { max-width: 600px; }
}
@media (max-width: 768px) {
  :root { --py: 4rem; }
  .hamburger       { display: flex; }
  .navbar__nav     { display: none; }
  /* Hero mobile: impilati verticalmente */
  .hero            { grid-template-columns: 1fr; }
  .hero__left      { padding: 8rem 1.5rem 4rem; min-height: 60vh; }
  .hero__right     { min-height: 40vh; padding: 3rem 2rem; }
  .hero__logo-big  { width: clamp(160px, 50vw, 260px); animation: none; }
  .services-grid   { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
  .team-grid       { grid-template-columns: 1fr; max-width: 300px; }
  .footer__top     { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid     { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .footer__bottom  { flex-direction: column; text-align: center; }
  .cta-band        { padding: 4rem var(--px); }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
}
