/* =====================================================
   G Web Studio – style.css
   Mobile-first · Flexbox + Grid · Nessuna libreria esterna
   ===================================================== */


/* =====================================================
   1. VARIABILI CSS
   ===================================================== */
:root {
  /* Colori */
  --clr-primary:       #1a2640;    /* navy scuro */
  --clr-accent:        #c9973a;    /* oro caldo */
  --clr-accent-hover:  #b07d28;
  --clr-bg:            #ffffff;
  --clr-bg-alt:        #f7f5f1;    /* bianco caldo */
  --clr-bg-dark:       #0f1b2d;
  --clr-text:          #2d3748;
  --clr-text-muted:    #718096;
  --clr-border:        #e2e8f0;
  --clr-success:       #25d366;    /* WhatsApp */
  --clr-danger:        #e53e3e;

  /* Tipografia */
  --font-base: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Bordi */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Ombre */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 18px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);

  /* Transizioni */
  --ease: 0.25s ease;

  /* Layout */
  --container:  1180px;
  --header-h:   68px;
  --section-py: clamp(3.5rem, 8vw, 6rem);
}


/* =====================================================
   2. RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.72;
  overflow-x: hidden;
}

@media (min-width: 1200px) {
  body {
    font-size: 18px;
  }
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-base);
  color: var(--clr-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 5vw,  3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 4vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

@media (min-width: 1024px) {
  h1 { font-size: clamp(2.6rem, 4.2vw, 4rem); }
  h2 { font-size: clamp(2rem, 3vw, 2.9rem); }
  h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
}


/* =====================================================
   3. UTILITÀ LAYOUT
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1240px;
    padding: 0 2.5rem;
  }
}

/* Sezione generica */
.section {
  padding: var(--section-py) 0;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.section--alt {
  background: var(--clr-bg-alt);
}

/* Header sezione */
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

@media (min-width: 1024px) {
  .section__header {
    max-width: 860px;
    margin-bottom: 4.4rem;
  }

  .section__subtitle {
    font-size: 1.12rem;
  }
}

.section__title {
  margin-bottom: 0.9rem;
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
}

/* Tag categoria */
.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-accent);
  background: rgba(201, 151, 58, 0.1);
  border: 1px solid rgba(201, 151, 58, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}


/* =====================================================
   4. BOTTONI
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease),
              color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  line-height: 1;
}

/* Primario – oro */
.btn--primary {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
  box-shadow: 0 4px 12px rgba(201, 151, 58, 0.25);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--clr-accent-hover);
  border-color: var(--clr-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201, 151, 58, 0.4);
}

/* Outline scuro */
.btn--outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Outline chiaro (su sfondo scuro) */
.btn--outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Ghost link (hero secondaria) */
.btn--ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

/* Traslucido (su sfondo scuro, CTA finale) */
.btn--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.btn--light:hover,
.btn--light:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* WhatsApp */
.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  background: #1db854;
  border-color: #1db854;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* Small */
.btn--small {
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
}


/* =====================================================
   5. HEADER
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--ease), border-color var(--ease);
}

.header.is-scrolled {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo::first-letter {
  font-weight: 900;
}

.logo span {
  color: var(--clr-accent);
}

/* Navigazione desktop (hidden su mobile) */
.nav {
  display: none;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: color var(--ease), background var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--clr-primary);
  background: var(--clr-bg-alt);
}

.nav__link--cta {
  background: var(--clr-accent);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  margin-left: 0.5rem;
}
.nav__link--cta:hover {
  background: var(--clr-accent-hover) !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 19px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 950;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(26, 38, 64, 0.8);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--ease), opacity var(--ease);
}

/* Hamburger → X */
.hamburger.is-active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Menu mobile aperto */
.nav.is-open {
  display: flex;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--clr-bg);
  padding: 1.25rem 1.25rem 2rem;
  border-top: 1px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
  animation: menuSlideDown 0.28s ease;
}

.nav.is-open .nav__list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 100%;
}

.nav.is-open .nav__link {
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  width: 100%;
}

.nav.is-open .nav__link--cta {
  margin-left: 0;
  margin-top: 0.5rem;
  text-align: center;
}

/* Desktop: nav sempre visibile */
@media (min-width: 768px) {
  .nav          { display: flex; }
  .hamburger    { display: none; }

  /* Reset eventuali stili "mobile aperto" su resize */
  .nav.is-open {
    position: static;
    padding: 0;
    border: none;
    box-shadow: none;
    animation: none;
    background: transparent;
  }
  .nav.is-open .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    width: auto;
  }
  .nav.is-open .nav__link {
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
    width: auto;
  }
  .nav.is-open .nav__link--cta {
    margin-left: 0.5rem;
    margin-top: 0;
  }
}

@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =====================================================
   6. HERO
   ===================================================== */
.hero {
  min-height: 92vh;
  min-height: 92svh;
  padding-top: calc(var(--header-h) + 1.9rem);
  padding-bottom: 1.8rem;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 70% 78%, rgba(201, 151, 58, 0.16), transparent 34%),
    linear-gradient(150deg, #101a2b 0%, #1d2f4d 58%, #16263d 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
    padding-bottom: clamp(2rem, 6vw, 4rem);
  }
}

/* Alone decorativo */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -14%;
  width: min(82vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.19) 0%, transparent 69%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -22%;
  left: -16%;
  width: min(70vw, 520px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 72%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.hero::selection {
  background: rgba(201, 151, 58, 0.35);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero__inner {
    gap: clamp(2.1rem, 6vw, 3.4rem);
  }
}

.hero__content {
  color: #fff;
  max-width: 660px;
  position: relative;
  animation: fadeInUp 0.78s cubic-bezier(0.33, 0.66, 0.66, 1) both;
}

.hero__content::before {
  content: '';
  position: absolute;
  top: -16%;
  left: -8%;
  width: min(72vw, 560px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 28%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-accent);
  background: rgba(201, 151, 58, 0.11);
  border: 1px solid rgba(201, 151, 58, 0.3);
  padding: 0.28rem 0.9rem;
  border-radius: 50px;
  margin-bottom: clamp(0.5rem, 1.5vw, 0.8rem);
  max-width: 100%;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hero__tag {
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    padding: 0.38rem 0.88rem;
    margin-bottom: 1.05rem;
    max-width: none;
  }
}

.hero__title {
  color: #fff;
  font-size: clamp(2.08rem, 8.9vw, 4.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 13ch;
  margin-bottom: clamp(1.55rem, 4vw, 2.45rem);
}

.hero__solution {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-size: clamp(0.93rem, 2.8vw, 1.06rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  margin-top: 0.15rem;
  margin-bottom: clamp(1.1rem, 3vw, 1.45rem);
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  max-width: 100%;
}

.hero__solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.96rem;
  height: 0.96rem;
  border-radius: 50%;
  background: rgba(201, 151, 58, 0.2);
  color: rgba(242, 215, 165, 0.9);
  font-weight: 800;
  line-height: 1;
}

.hero__support {
  font-size: clamp(0.92rem, 2.4vw, 1.02rem);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
  margin-bottom: clamp(1.75rem, 3.6vw, 2.35rem);
  max-width: 85%;
}



.hero__cta {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.2vw, 0.82rem);
  margin-bottom: clamp(0.95rem, 2vw, 1.3rem);
  width: 100%;
  max-width: 360px;
}

.hero__cta .btn {
  width: 100%;
  min-height: 47px;
}

.hero__cta .btn--primary {
  box-shadow: 0 8px 18px rgba(201, 151, 58, 0.34), 0 0 14px rgba(201, 151, 58, 0.22), 0 0 0 1px rgba(201, 151, 58, 0.16);
}

.hero__cta .btn--primary:hover,
.hero__cta .btn--primary:focus-visible {
  box-shadow: 0 12px 22px rgba(201, 151, 58, 0.42), 0 0 18px rgba(201, 151, 58, 0.3), 0 0 0 1px rgba(201, 151, 58, 0.2);
  transform: translateY(-2px) scale(1.03);
}

.hero__cta .btn--ghost-light {
  min-height: 40px;
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.hero__trust {
  margin-top: clamp(0.35rem, 1vw, 0.7rem);
  margin-bottom: 0;
  font-size: clamp(0.74rem, 1.5vw, 0.86rem);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.76);
  width: 100%;
  max-width: 360px;
}

@media (max-width: 767px) {
  /* ---- layout centrato verticalmente ---- */
  .hero {
    min-height: 100svh;
    min-height: 100vh;
    padding-top: var(--header-h);
    padding-bottom: 2.4rem;
    align-items: center;
    background:
      radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.07), transparent 42%),
      radial-gradient(circle at 70% 78%, rgba(201, 151, 58, 0.09), transparent 36%),
      linear-gradient(150deg, #0d1626 0%, #162742 58%, #132338 100%);
  }

  .hero::before {
    background: radial-gradient(circle, rgba(201, 151, 58, 0.11) 0%, transparent 70%);
  }

  .hero::after {
    background:
      radial-gradient(circle, rgba(255, 255, 255, 0.045) 0%, transparent 72%),
      repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.01) 0 1px, transparent 1px 4px);
  }

  .hero__content::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 70%);
  }

  .hero .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .hero__inner {
    align-items: center;
    text-align: center;
    gap: 0;
  }

  /* ---- content block ---- */
  .hero__content {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* tag piccolo sopra */
  .hero__tag {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    padding: 0.34rem 0.9rem;
    margin-bottom: 1.3rem;
  }

  /* headline grande e centrata */
  .hero__title {
    font-size: clamp(2.3rem, 11vw, 3.3rem);
    line-height: 1.08;
    max-width: 100%;
    margin-bottom: 1.2rem;
    text-align: center;
  }

  /* pill nascosta su mobile: al suo posto testo semplice */
  .hero__solution {
    display: block;
    font-size: clamp(1rem, 4.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.82);
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    line-height: 1.55;
    margin-bottom: 0.55rem;
    max-width: 30ch;
    text-align: center;
  }

  .hero__solution-icon {
    display: none;
  }

  /* frase sotto: muted */
  .hero__support {
    font-size: clamp(0.88rem, 3.8vw, 1rem);
    color: rgba(255, 255, 255, 0.58);
    max-width: 32ch;
    margin-bottom: 2.6rem;
    text-align: center;
  }

  /* blocco CTA centrato */
  .hero__cta {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
  }

  .hero__cta .btn {
    width: 100%;
  }

  /* CTA primaria: grande, piena, dominante */
  .hero__cta .btn--primary {
    min-height: 56px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: var(--radius-md);
    box-shadow: 0 7px 18px rgba(201, 151, 58, 0.26), 0 0 10px rgba(201, 151, 58, 0.14);
  }

  /* CTA secondaria: testo centrato, leggero */
  .hero__cta .btn--ghost-light {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    min-height: 30px;
    font-size: 0.9rem;
    padding: 0.1rem 0;
    justify-content: center;
  }
  .hero__cta .btn--ghost-light:hover,
  .hero__cta .btn--ghost-light:focus-visible {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    transform: none;
  }

  /* testo trust centrato */
  .hero__trust {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.52);
    text-align: center;
    margin-top: 0;
    max-width: none;
  }

  /* mockup nascosto su smartphone (non aggiunge valore) */
  .hero__visual {
    display: none;
  }
}

/* Freccia scroll-down */
.hero__scroll {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  border: none;
  background: none;
  color: var(--clr-accent);
  z-index: 10;
  transition: color 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  color: #f2c96e;
  opacity: 1;
  animation-play-state: paused;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.75; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 1;    }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll { animation: none; }
}

/* Mockup browser CSS-only */
.hero__visual {
  width: 100%;
  max-width: 380px;
  animation: fadeInUp 0.75s 0.18s ease both;
  filter: saturate(1.08);
  transform: translateY(var(--hero-shift, 0px));
  transition: transform 0.2s ease-out;
  position: relative;
}

.hero__visual::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 6%;
  right: 6%;
  height: 54px;
  background: linear-gradient(to bottom, rgba(20, 31, 49, 0.78), rgba(20, 31, 49, 0));
  pointer-events: none;
  z-index: 2;
}

.hero__visual::after {
  content: '';
  position: absolute;
  inset: 14% -10% -8%;
  background: radial-gradient(circle at 50% 64%, rgba(8, 12, 22, 0.44), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.mockup {
  background: #1a2d45;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 30px rgba(201, 151, 58, 0.08);
}

.mockup__bar {
  background: #111e2e;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup__dot--red    { background: #ff5f57; }
.mockup__dot--yellow { background: #febd2e; }
.mockup__dot--green  { background: #28c840; }

.mockup__url {
  flex: 1;
  height: 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-left: 0.5rem;
}

.mockup__screen {
  padding: 1.4rem;
}

.mockup__hero-block {
  margin-bottom: 1.2rem;
}

.mockup__line {
  height: 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 0.6rem;
}
.mockup__line--title  { width: 72%; height: 18px; background: rgba(201, 151, 58, 0.45); }
.mockup__line--text   { width: 90%; }
.mockup__line--short  { width: 55%; }

.mockup__btns {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.mockup__btn-pill {
  height: 28px;
  width: 100px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}
.mockup__btn-pill--accent {
  background: rgba(201, 151, 58, 0.7);
}

.mockup__cards {
  display: flex;
  gap: 0.6rem;
}
.mockup__card {
  flex: 1;
  height: 52px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 900px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4.4rem;
  }
  .hero__content { flex: 1; }
  .hero__visual  { flex: 0 0 360px; }
  .hero__cta {
    flex-direction: row;
    max-width: none;
    width: auto;
    align-items: center;
  }
  .hero__cta .btn {
    width: auto;
  }

  .hero__cta .btn--ghost-light {
    border-color: rgba(255, 255, 255, 0.18);
  }

  .hero__trust {
    width: auto;
    max-width: none;
  }

  .hero__visual {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .hero__inner {
    gap: 5rem;
  }

  .hero__support {
    font-size: 1.08rem;
    max-width: 56ch;
  }

  .hero__solution {
    max-width: 35ch;
  }

  .hero__visual {
    flex-basis: 430px;
    max-width: 430px;
  }
}


/* =====================================================
   6a. SEZIONE BENEFICI
   ===================================================== */
.section--benefits {
  background: #fafbfc;
  padding: clamp(2rem, 7vw, 2.8rem) 0 clamp(2.8rem, 8vw, 3.6rem);
  border-top: 1px solid #e8ecf1;
  border-bottom: 1px solid #e8ecf1;
  position: relative;
}

.section--benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 151, 58, 0.12), rgba(201, 151, 58, 0.55), rgba(201, 151, 58, 0.12));
  box-shadow: 0 4px 12px rgba(15, 27, 45, 0.12);
}

@media (min-width: 768px) {
  .section--benefits {
    padding: var(--section-py) 0;
  }
}

.benefits__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.benefit-card {
  background: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid #dbe2ef;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all var(--ease);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--clr-accent);
}

.benefit-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 0.9rem;
}

.benefit-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin: 0;
  line-height: 1.6;
}



.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .problem__grid { grid-template-columns: 1fr 1fr; }
}

.problem__card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all var(--ease);
}

.problem__card--bad {
  background: #fef3f3;
  border-color: #fed7d7;
}

.problem__card--bad:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(229, 62, 62, 0.1);
}

.problem__card--good {
  background: #f0fff4;
  border-color: #c6f6d5;
}

.problem__card--good:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(56, 161, 105, 0.1);
}

.problem__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.problem__icon--bad  { background: #fed7d7; color: var(--clr-danger); }
.problem__icon--good { background: #c6f6d5; color: #38a169; }

.problem__card h3 {
  margin-bottom: 1rem;
}

.problem__card ul li {
  position: relative;
  padding-left: 1.5rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--clr-text);
}

.problem__card--bad  ul li::before { content: '✕'; position: absolute; left: 0; top: 0.42rem; color: var(--clr-danger); font-size: 0.78rem; font-weight: 700; }
.problem__card--good ul li::before { content: '✓'; position: absolute; left: 0; top: 0.38rem; color: #38a169; font-weight: 700; }

/* VS badge e dots: nascosti su desktop */
.problem__vs         { display: none; }
.problem__dots       { display: none; }
.problem__track      { position: relative; }
.problem__swipe-hint { display: none; }

/* ── Mobile swiper per le card problema ────────────────── */
@media (max-width: 599px) {

  /* Wrapper: nasconde overflow laterale e porta il fade */
  .problem__track {
    overflow: hidden;        /* taglia il gradiente sui bordi */
  }
  .problem__track::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 32px;
    background: linear-gradient(to left, rgba(247,245,241,0.5) 0%, transparent 100%);
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.5s ease;
  }
  .problem__track.is-swiped::after {
    opacity: 0;
  }

  /* Track scorrevole */
  .problem__grid {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.9rem;
    padding: 0.75rem 1.25rem 1rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    scroll-padding-left: 1.25rem;
  }
  .problem__grid::-webkit-scrollbar { display: none; }

  /* Ogni card: 70vw → si vede il bordo della seconda */
  .problem__card {
    flex: 0 0 70vw;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition: transform 0.38s cubic-bezier(.4,0,.2,1),
                opacity   0.38s cubic-bezier(.4,0,.2,1),
                box-shadow 0.38s;
  }

  /* Barra colorata in cima a ogni card */
  .problem__card--bad  { border-top: 4px solid #e53e3e; }
  .problem__card--good { border-top: 4px solid #38a169; }

  /* Stato INATTIVO */
  .problem__card:not(.is-active-card) {
    transform: scale(0.95);
    opacity: 0.72;
    box-shadow: none;
  }

  /* Stato ATTIVO */
  .problem__card.is-active-card {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 10px 32px rgba(0,0,0,0.13);
  }

  /* Badge VS tra le due card */
  .problem__vs {
    display: flex;
    flex-shrink: 0;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(0,0,0,0.10);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    color: rgba(0,0,0,0.38);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
  }

  /* Hint "scorri" centrato sotto le card */
  .problem__swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--clr-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    pointer-events: none;
    animation: swipeHintPulse 1.5s ease-in-out 0.6s 4;
    transition: opacity 0.4s;
  }
  .problem__swipe-hint svg { flex-shrink: 0; }
  .problem__track.is-swiped ~ .problem__swipe-hint { opacity: 0; }

  @keyframes swipeHintPulse {
    0%,100% { transform: translateX(0);   opacity: 0.85; }
    50%      { transform: translateX(7px); opacity: 1;    }
  }

  /* Pill dot indicators */
  .problem__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
  }
  .problem__dot {
    display: block;
    height: 7px;
    width: 7px;
    border-radius: 99px;
    background: rgba(0,0,0,0.16);
    transition: width 0.3s cubic-bezier(.4,0,.2,1),
                background 0.3s;
    cursor: pointer;
  }
  .problem__dot.is-active {
    width: 24px;
    background: var(--clr-accent);
  }

  /* Hint visivo: piccolo peek del bordo della seconda card */
  .problem__card--bad  .problem__icon--bad  { background: rgba(229,62,62,0.18); }
  .problem__card--good .problem__icon--good { background: rgba(56,161,105,0.18); }
}


/* =====================================================
   8. SERVIZI
   ===================================================== */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}

.service__card {
  background: var(--clr-bg);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  border-top: 3px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.service__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  border-top-color: var(--clr-accent);
}

.service__card:hover::before {
  transform: scaleX(1);
}

.service__number {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--clr-accent);
  opacity: 0.12;
  line-height: 1;
  transition: opacity var(--ease);
}

.service__card:hover .service__number {
  opacity: 0.4;
}

.service__title {
  margin-bottom: 0.6rem;
}

.service__text {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin: 0;
  flex: 1;
}

.service__arrow {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--clr-accent);
  margin-top: 1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service__card:hover .service__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 1200px) {
  .service__card {
    padding: 2.2rem 1.7rem;
  }

  .service__text {
    font-size: 0.98rem;
  }

  .service__number {
    font-size: 2.35rem;
    right: 2.1rem;
  }
}


.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .portfolio__grid { grid-template-columns: 1fr 1fr; }
}

.portfolio__card {
  background: var(--clr-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--ease);
}

.portfolio__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.portfolio__img {
  height: 210px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.25rem;
  overflow: hidden;
}

.portfolio__img--legal {
  background: linear-gradient(150deg, #1a2640 0%, #2a4070 60%, #3a5490 100%);
}

.portfolio__img--trade {
  background: linear-gradient(150deg, #1a3020 0%, #2a5030 60%, #3a7045 100%);
}

.portfolio__img--wellness {
  background: linear-gradient(150deg, #203047 0%, #2d4f6d 60%, #4b7c9c 100%);
}

.portfolio__gallery {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.portfolio__gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.portfolio__gallery-track::-webkit-scrollbar {
  display: none;
}

.portfolio__photo {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.portfolio__img--has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 22, 36, 0.58) 0%, rgba(12, 22, 36, 0.24) 45%, rgba(12, 22, 36, 0.08) 100%);
  z-index: 1;
  pointer-events: none;
}

.portfolio__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(20, 32, 52, 0.45);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.portfolio__nav-btn--prev { left: 0.55rem; }
.portfolio__nav-btn--next { right: 0.55rem; }

.portfolio__dots {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.34rem;
}

.portfolio__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
}

.portfolio__dot.is-active {
  width: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

/* Placeholder grafico mini dentro la card */
.portfolio__mockup-mini {
  position: absolute;
  bottom: 2.5rem;
  right: 1.25rem;
  width: 120px;
  opacity: 0.3;
}

.pmm__line {
  height: 8px;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 0.4rem;
}
.pmm__line--title { width: 80%; height: 12px; }
.pmm__line--text  { width: 100%; }
.pmm__line--short { width: 60%; }

.portfolio__category {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 3;
}

@media (max-width: 599px) {
  .portfolio__nav-btn {
    display: none;
  }
}

.portfolio__body {
  padding: 1.5rem;
}

.portfolio__title {
  margin-bottom: 0.5rem;
}

.portfolio__text {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
}

@media (min-width: 1200px) {
  .portfolio__img {
    height: 240px;
  }

  .portfolio__body {
    padding: 1.85rem;
  }

  .portfolio__text {
    font-size: 0.98rem;
  }
}


/* =====================================================
   10. PER CHI LAVORIAMO
   ===================================================== */
.target__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.target__item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--clr-bg);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--ease), transform var(--ease);
}

.target__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.target__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.target__icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
}

.target__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.target__label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.target__item p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 599px) {
  .target__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .target__item {
    padding: 1.1rem 1.2rem;
  }
}


/* =====================================================
   10b. HERO TRUST BAR (aggiornamento)
   ===================================================== */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}

.hero__trust-sep {
  opacity: 0.35;
  font-weight: 300;
}

/* =====================================================
   10c. PERCHÉ NOI — VALUE PROPOSITION
   ===================================================== */
.vp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .vp__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.vp__card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.vp__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.vp__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(201, 151, 58, 0.1);
  border: 1px solid rgba(201, 151, 58, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.vp__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-accent);
  fill: none;
}

.vp__card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--clr-primary);
}

.vp__card p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* =====================================================
   10d. SERVICE LINK
   ===================================================== */
.service__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-accent);
  text-decoration: none;
  transition: gap var(--ease);
}

.service__link:hover {
  gap: 0.55rem;
}

/* =====================================================
   10e. CHI SONO — ABOUT MINI
   ===================================================== */
.about-mini__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-mini__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-mini__content p {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-mini__content .btn {
  margin-top: 0.5rem;
}

.about-mini__badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.about-mini__initial {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.about-mini__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about-mini__info strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.about-mini__info span {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.about-mini__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about-mini__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--clr-text);
}

.about-mini__list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #38a169;
  fill: none;
}

/* =====================================================
   10f. CTA PRE-LABEL & BUTTON VARIANT
   ===================================================== */
.cta__pre {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.cta__btn-main {
  font-size: 1.05rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* =====================================================
   11. COME LAVORIAMO
   ===================================================== */
.process__list {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

/* Linea verticale decorativa */
.process__list::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 55px;
  bottom: 55px;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-accent) 0%, rgba(201, 151, 58, 0) 100%);
  border-radius: 2px;
}

.process__step {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 1.5rem 0;
}

.process__number {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: var(--clr-accent);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  /* Anello esterno che stacca dalla linea */
  box-shadow: 0 0 0 5px var(--clr-bg-alt), 0 0 0 6px var(--clr-border);
}

.process__body h3 {
  margin-bottom: 0.4rem;
  padding-top: 0.6rem;
}

.process__body p {
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  margin: 0;
}

@media (min-width: 1200px) {
  .process__step {
    gap: 2rem;
  }

  .process__body p {
    font-size: 1rem;
  }
}


/* =====================================================
   12. PREZZI
   ===================================================== */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pricing__card {
  background: var(--clr-bg);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Card in evidenza */
.pricing__card--featured {
  border: 2px solid var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(201, 151, 58, 0.1), var(--shadow-md);
}

.pricing__badge {
  display: inline-block;
  background: var(--clr-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.9rem;
  align-self: flex-start;
}

.pricing__tier {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  margin-bottom: 0.4rem;
}

.pricing__price {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
}

.pricing__price strong {
  font-size: 1.9rem;
  font-weight: 800;
}

.pricing__desc {
  font-size: 0.87rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--clr-border);
}

.pricing__list {
  flex: 1;
  margin-bottom: 1.75rem;
}

.pricing__list li {
  position: relative;
  padding-left: 1.4rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--clr-text);
}

@media (min-width: 1200px) {
  .pricing__card {
    padding: 2.2rem 1.9rem;
  }

  .pricing__desc,
  .pricing__list li {
    font-size: 0.96rem;
  }
}

.pricing__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.38rem;
  color: var(--clr-accent);
  font-weight: 700;
}

.pricing__note {
  text-align: center;
  margin-top: 2.75rem;
  font-size: 0.83rem;
  color: var(--clr-text-muted);
  font-style: italic;
}

/* Wrapper track e dots: nascosti/neutri su desktop */
.pricing__track      { position: relative; }
.pricing__dots       { display: none; }
.pricing__swipe-hint { display: none; }

/* ── Mobile swiper pricing ── */
@media (max-width: 767px) {

  .pricing__track {
    overflow: hidden;
  }

  /* Fades su ENTRAMBI i lati → visibili subito per segnalare peek */
  .pricing__track::before,
  .pricing__track::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 44px;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.5s ease;
  }
  .pricing__track::before {
    left: 0;
    background: linear-gradient(to right, #fff 10%, transparent 100%);
  }
  .pricing__track::after {
    right: 0;
    background: linear-gradient(to left, #fff 10%, transparent 100%);
  }
  /* Entrambi spariscono dopo il primo swipe */
  .pricing__track.is-swiped::before,
  .pricing__track.is-swiped::after { opacity: 0; }

  .pricing__grid {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.85rem;
    /* padding laterale = (100vw - 73vw) / 2 → permette alle card estreme di centrarsi */
    padding: 0.5rem 13.5vw 1rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    align-items: start;
  }
  .pricing__grid::-webkit-scrollbar { display: none; }

  .pricing__card {
    flex: 0 0 73vw;
    min-width: 0;
    scroll-snap-align: center;   /* snap al centro */
    scroll-snap-stop: always;
    transition: transform 0.38s cubic-bezier(.4,0,.2,1),
                opacity   0.38s cubic-bezier(.4,0,.2,1),
                box-shadow 0.38s;
  }

  /* Card attiva in primo piano */
  .pricing__card.is-active-card {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 12px 32px rgba(0,0,0,0.13);
  }
  /* Card inattive sfumate */
  .pricing__card:not(.is-active-card) {
    transform: scale(0.93);
    opacity: 0.50;
    box-shadow: none;
  }
  /* La featured rimane visivamente distinta anche da inattiva */
  .pricing__card--featured:not(.is-active-card) {
    opacity: 0.60;
    border-color: rgba(201,151,58,0.40);
  }

  /* Hint "scorri" */
  .pricing__swipe-hint {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: absolute;
    bottom: -1.5rem;
    right: 0.9rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--clr-accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 4;
    animation: swipeHintPulse 1.8s ease-in-out 1s 3;
    transition: opacity 0.4s;
  }
  .pricing__track.is-swiped .pricing__swipe-hint { opacity: 0; }

  /* Pill dot indicators */
  .pricing__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.8rem;
  }
  .pricing__dot {
    display: block;
    height: 7px;
    width: 7px;
    border-radius: 99px;
    background: rgba(0,0,0,0.16);
    transition: width 0.3s cubic-bezier(.4,0,.2,1), background 0.3s;
    cursor: pointer;
  }
  .pricing__dot.is-active {
    width: 24px;
    background: var(--clr-accent);
  }
}


/* =====================================================
   13. CHI SIAMO
   ===================================================== */
.about__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about__inner {
    flex-direction: row;
    gap: 5rem;
    align-items: center;
  }
}

.about__visual {
  flex-shrink: 0;
}

.about__stack {
  width: min(320px, 78vw);
  padding: 1.1rem;
  border-radius: 20px;
  background: linear-gradient(155deg, #f7f9fc 0%, #edf2fa 100%);
  border: 1px solid #dbe2ef;
  box-shadow: var(--shadow-lg);
}

.about__person {
  background: #fff;
  border: 1px solid #dbe2ef;
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.about__person + .about__person {
  margin-top: 0.8rem;
}

.about__person--offset {
  margin-left: 1rem;
}

.about__person-initial {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--clr-primary) 0%, #2f4f82 100%);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about__person strong {
  display: block;
  line-height: 1.2;
  color: var(--clr-primary);
}

.about__person small {
  display: block;
  margin-top: 0.1rem;
  color: var(--clr-text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.about__content p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 1200px) {
  .about__stack {
    width: 360px;
    padding: 1.3rem;
  }

  .about__content p {
    font-size: 1.02rem;
  }
}

.about__cta {
  margin-top: 1.5rem;
}


/* =====================================================
   14. CTA FINALE
   ===================================================== */
.section--cta {
  background: linear-gradient(140deg, #162032 0%, #1f3050 100%);
  position: relative;
  overflow: hidden;
}

.section--cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta__inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta__title {
  color: #fff;
  margin-bottom: 1rem;
}

.cta__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.25rem;
}

@media (min-width: 1024px) {
  .cta__inner {
    max-width: 760px;
  }

  .cta__text {
    font-size: 1.14rem;
  }
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* =====================================================
   15. FOOTER
   ===================================================== */
.footer {
  background: var(--clr-bg-dark);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 600px) {
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer__logo {
  display: inline-block;
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer__contacts p {
  font-size: 0.88rem;
  line-height: 2;
}

.footer__contacts a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--ease);
}
.footer__contacts a:hover { color: var(--clr-accent); }

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer__nav a {
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--ease);
}
.footer__nav a:hover { color: var(--clr-accent); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.8rem;
}

.footer__bottom a {
  color: var(--clr-accent);
  transition: opacity var(--ease);
}
.footer__bottom a:hover { opacity: 0.8; text-decoration: underline; }


/* =====================================================
   SECTION DIVIDER
   ===================================================== */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  background: var(--clr-bg-alt);
}
.section-divider span {
  display: block;
  width: 100%;
  max-width: var(--container);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border) 20%, var(--clr-accent) 50%, var(--clr-border) 80%, transparent);
  opacity: 0.55;
}


/* =====================================================
   17. PAGINA SERVIZI
   ===================================================== */

/* ── 6 card servizi dettagliate ── */
.srv-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .srv-detail__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .srv-detail__grid { grid-template-columns: repeat(3, 1fr); }
}

.srv-detail__card {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: #fff;
  transition: transform var(--ease), box-shadow var(--ease);
  overflow: hidden;
}
.srv-detail__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,151,58,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.srv-detail__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.srv-detail__num {
  position: absolute;
  top: 1.25rem;
  right: 1.4rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(201,151,58,0.10);
  line-height: 1;
  pointer-events: none;
}

.srv-detail__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--clr-accent);
}
.srv-detail__icon svg { width: 24px; height: 24px; }
.srv-detail__icon--01 { background: rgba(201,151,58,0.10); }
.srv-detail__icon--02 { background: rgba(79,134,247,0.10);  color: #4f86f7; }
.srv-detail__icon--03 { background: rgba(56,161,105,0.10);  color: #38a169; }
.srv-detail__icon--04 { background: rgba(229,62,62,0.10);   color: #e53e3e; }
.srv-detail__icon--05 { background: rgba(113,93,217,0.10);  color: #715dd9; }
.srv-detail__icon--06 { background: rgba(201,151,58,0.10); }

.srv-detail__card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
  color: var(--clr-heading);
}
.srv-detail__card > p {
  font-size: 0.9rem;
  color: var(--clr-text-light, #555);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.srv-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}
.srv-detail__list li {
  font-size: 0.84rem;
  color: var(--clr-text);
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.5;
}
.srv-detail__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 0.78rem;
}

/* ── Checklist "incluso in ogni progetto" ── */
.srv-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 560px) {
  .srv-features__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .srv-features__grid { grid-template-columns: repeat(3, 1fr); }
}

.srv-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--clr-border);
  transition: box-shadow var(--ease);
}
.srv-feature:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }

.srv-feature__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(56,161,105,0.12);
  color: #38a169;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.srv-feature strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--clr-heading);
}
.srv-feature p {
  font-size: 0.84rem;
  color: var(--clr-text-light, #666);
  margin: 0;
  line-height: 1.5;
}

/* ── Settori ── */
.srv-sectors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .srv-sectors__grid { grid-template-columns: repeat(3, 1fr); }
}

.srv-sector {
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: #fff;
  transition: transform var(--ease), box-shadow var(--ease);
}
.srv-sector:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}
.srv-sector__icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  line-height: 1;
}
.srv-sector strong {
  display: block;
  font-size: 0.96rem;
  margin-bottom: 0.35rem;
  color: var(--clr-heading);
}
.srv-sector p {
  font-size: 0.82rem;
  color: var(--clr-text-light, #666);
  margin: 0;
  line-height: 1.5;
}

.srv-sectors__note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--clr-text-light, #666);
}
.srv-sectors__note a {
  color: var(--clr-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Mobile: card dettaglio a lista compatta ── */
@media (max-width: 599px) {
  .srv-detail__card { padding: 1.4rem 1.25rem 1.25rem; }
  .srv-detail__num  { font-size: 1.8rem; top: 0.9rem; right: 1rem; }
  .srv-sectors__grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .srv-sector { padding: 1rem; }
  .srv-sector__icon { font-size: 1.3rem; }
}


/* =====================================================
   18. PAGINA CONTATTI (nuova struttura)
   ===================================================== */

/* ── Hero scuro ── */
.cnt-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 5rem);
  background: radial-gradient(circle at 15% 30%, rgba(255,255,255,0.06), transparent 40%),
              radial-gradient(circle at 80% 75%, rgba(201,151,58,0.14), transparent 35%),
              linear-gradient(150deg, #101a2b 0%, #1d2f4d 58%, #16263d 100%);
  color: #fff;
}
.cnt-hero__inner { max-width: 720px; }
.cnt-hero__tag {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--clr-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cnt-hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  color: #fff;
}
.cnt-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.70);
  max-width: 48ch;
  margin-bottom: 1.8rem;
  line-height: 1.65;
}
.cnt-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ── Split layout ── */
.cnt-split { background: #fff; }
.cnt-split__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 860px) {
  .cnt-split__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Colonna metodi */
.cnt-methods__title,
.cnt-process__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 1.4rem;
}

.cnt-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--clr-border);
  text-decoration: none;
  color: var(--clr-heading);
  margin-bottom: 0.75rem;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.cnt-method:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 4px 18px rgba(201,151,58,0.12);
  transform: translateX(3px);
}
.cnt-method--wa:hover  { border-color: #25d366; box-shadow: 0 4px 18px rgba(37,211,102,0.14); }
.cnt-method--wa .cnt-method__icon { background: rgba(37,211,102,0.10); color: #18a34a; }
.cnt-method--email .cnt-method__icon { background: rgba(201,151,58,0.10); color: var(--clr-accent); }
.cnt-method--phone .cnt-method__icon { background: rgba(26,38,64,0.07); color: var(--clr-primary); }

.cnt-method__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cnt-method__icon svg { width: 20px; height: 20px; }

.cnt-method__body {
  flex: 1;
  min-width: 0;
}
.cnt-method__body strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.cnt-method__body span {
  font-size: 0.82rem;
  color: var(--clr-text-light, #666);
}
.cnt-method__arrow {
  font-size: 1.1rem;
  color: rgba(0,0,0,0.2);
  transition: color var(--ease), transform var(--ease);
}
.cnt-method:hover .cnt-method__arrow {
  color: var(--clr-accent);
  transform: translateX(3px);
}

/* Info box sotto i metodi */
.cnt-info-box {
  margin-top: 1.4rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cnt-info-box__item { display: flex; flex-direction: column; gap: 0.15rem; }
.cnt-info-box__label { font-size: 0.78rem; font-weight: 700; color: var(--clr-accent); letter-spacing: 0.04em; }
.cnt-info-box__val   { font-size: 0.86rem; color: var(--clr-text); line-height: 1.5; }

/* Colonna processo */
.cnt-process__intro {
  font-size: 0.92rem;
  color: var(--clr-text-light, #666);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.cnt-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cnt-step {
  display: flex;
  gap: 1.1rem;
  padding-bottom: 1.75rem;
  position: relative;
}
.cnt-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-border), transparent);
}
.cnt-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.cnt-step div strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 0.3rem;
  margin-top: 0.35rem;
}
.cnt-step div p {
  font-size: 0.86rem;
  color: var(--clr-text-light, #666);
  line-height: 1.58;
  margin: 0;
}

/* ── Strip promesse ── */
.cnt-promises-section { padding-top: clamp(2rem, 4vw, 2.5rem); padding-bottom: clamp(2rem, 4vw, 2.5rem); }
.cnt-promises {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .cnt-promises { grid-template-columns: repeat(4, 1fr); }
}
.cnt-promise {
  text-align: center;
  padding: 1.4rem 1rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--clr-border);
  transition: box-shadow var(--ease), transform var(--ease);
}
.cnt-promise:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.07); transform: translateY(-2px); }
.cnt-promise__icon { display: block; font-size: 1.6rem; margin-bottom: 0.6rem; }
.cnt-promise strong { display: block; font-size: 0.93rem; margin-bottom: 0.35rem; }
.cnt-promise p { font-size: 0.8rem; color: var(--clr-text-light, #666); margin: 0; line-height: 1.5; }

/* ── FAQ accordion ── */
.cnt-faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cnt-faq__item {
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.cnt-faq__item[open] {
  border-color: var(--clr-accent);
  box-shadow: 0 4px 16px rgba(201,151,58,0.10);
}
.cnt-faq__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--clr-heading);
  cursor: pointer;
  user-select: none;
}
.cnt-faq__q::-webkit-details-marker { display: none; }
.cnt-faq__q::after {
  content: '+';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clr-bg-alt);
  color: var(--clr-accent);
  font-size: 1.1rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease, background 0.2s;
}
details[open] > .cnt-faq__q::after {
  content: '−';
  transform: rotate(180deg);
  background: rgba(201,151,58,0.12);
}
.cnt-faq__a {
  padding: 0 1.4rem 1.25rem;
  animation: faqIn 0.22s ease;
}
.cnt-faq__a p {
  font-size: 0.9rem;
  color: var(--clr-text);
  line-height: 1.7;
  margin: 0;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile overrides ── */
@media (max-width: 599px) {
  .cnt-hero__title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .cnt-hero__meta  { gap: 0.4rem 1rem; font-size: 0.78rem; }
  .cnt-promises    { grid-template-columns: 1fr 1fr; }
  .cnt-faq__q      { font-size: 0.9rem; padding: 1rem 1.1rem; }
  .cnt-faq__a      { padding: 0 1.1rem 1rem; }
}


/* =====================================================
   19. FORM CONTATTI
   ===================================================== */
.cnt-form__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 0.4rem;
}
.cnt-form__sub {
  font-size: 0.88rem;
  color: var(--clr-text-light, #666);
  margin-bottom: 1.6rem;
  line-height: 1.55;
}

.cnt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cnt-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 480px) {
  .cnt-form__row--2 { grid-template-columns: 1fr; }
}

.cnt-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cnt-form__field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-heading);
  letter-spacing: 0.01em;
}
.cnt-form__field input,
.cnt-form__field select,
.cnt-form__field textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm, 8px);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--clr-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.cnt-form__field input::placeholder,
.cnt-form__field textarea::placeholder { color: rgba(0,0,0,0.3); }
.cnt-form__field input:focus,
.cnt-form__field select:focus,
.cnt-form__field textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(201,151,58,0.14);
}
.cnt-form__field input.is-invalid,
.cnt-form__field select.is-invalid,
.cnt-form__field textarea.is-invalid {
  border-color: var(--clr-danger, #e53e3e);
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}
.cnt-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}
.cnt-form__field textarea { resize: vertical; min-height: 110px; }

/* Checkbox privacy */
.cnt-form__field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}
.cnt-form__field--check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--clr-accent);
  cursor: pointer;
}
.cnt-form__field--check label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--clr-text-light, #666);
  cursor: pointer;
}
.cnt-form__field--check label a {
  color: var(--clr-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Bottone submit */
.cnt-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  position: relative;
}
.cnt-form__submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.cnt-form.is-loading .cnt-form__submit-label { opacity: 0.5; }
.cnt-form.is-loading .cnt-form__submit-spinner { display: block; }
.cnt-form.is-loading .cnt-form__submit { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Messaggi feedback */
.cnt-form__feedback {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.88rem;
  font-weight: 500;
}
.cnt-form__feedback--ok {
  background: rgba(56,161,105,0.10);
  color: #28694a;
  border: 1px solid rgba(56,161,105,0.25);
}
.cnt-form__feedback--err {
  background: rgba(229,62,62,0.08);
  color: #9b2424;
  border: 1px solid rgba(229,62,62,0.22);
}
.cnt-form__feedback--err a { color: inherit; text-decoration: underline; }
.page-hero {
  padding-top: calc(var(--header-h) + clamp(2rem, 7vw, 4rem));
  padding-bottom: clamp(2rem, 6vw, 3.2rem);
  background: linear-gradient(145deg, #f5f7fb 0%, #edf1f8 100%);
  border-bottom: 1px solid var(--clr-border);
}

.page-hero__inner {
  max-width: 760px;
}

.page-hero__title {
  margin-bottom: 0.85rem;
  max-width: 16ch;
}

.page-hero__text {
  color: var(--clr-text-muted);
  font-size: 1.04rem;
  max-width: 58ch;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.contact-card__title {
  margin-bottom: 0.35rem;
}

.contact-card__text {
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}

.contact-card__link {
  color: var(--clr-primary);
  font-weight: 700;
}

.contact-card__link:hover,
.contact-card__link:focus-visible {
  color: var(--clr-accent-hover);
}

.contact-card__meta {
  color: var(--clr-text);
  font-weight: 600;
}

.contact-panel {
  background: linear-gradient(140deg, #18253d, #24365a);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow-md);
}

.contact-panel__title {
  color: #fff;
  margin-bottom: 0.85rem;
}

.contact-panel__list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-panel__list li {
  position: relative;
  padding-left: 1.15rem;
}

.contact-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-accent);
}

.contact-panel__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.faq-card {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1.15rem;
}

.faq-card p {
  color: var(--clr-text-muted);
}

@media (min-width: 640px) {
  .contact-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-hero__actions {
    flex-direction: column;
  }

  .page-hero__actions .btn,
  .contact-panel__cta .btn {
    width: 100%;
  }
}


/* =====================================================
   17. ANIMAZIONI
   ===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reveal allo scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.33, 0.66, 0.66, 1), 
              transform 0.7s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays progressivi per card fratelli */
.reveal:nth-child(2) { transition-delay: 0.11s; }
.reveal:nth-child(3) { transition-delay: 0.22s; }
.reveal:nth-child(4) { transition-delay: 0.33s; }
.reveal:nth-child(5) { transition-delay: 0.44s; }
.reveal:nth-child(6) { transition-delay: 0.55s; }

.tilt-card {
  will-change: transform;
  transform-style: preserve-3d;
}

@keyframes floatSoft {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes scrollNudge {
  0%   { transform: translateY(0); opacity: 0.2; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mockup {
    animation: none;
  }

  .hero__scroll span {
    animation: none;
  }
}


/* =====================================================
  18. FOCUS VISIBILE (accessibilità)
   ===================================================== */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: 3px;
}


/* =====================================================
  19. SCROLLBAR PERSONALIZZATA
   ===================================================== */
::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: #f1f1f1; }
::-webkit-scrollbar-thumb  { background: #c8cbd0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-text-muted); }
