/* ============================================================
   ANNALISA CARNOVALI — Consulente del Credito
   Sistema visivo: serif navy editoriale, ispirato al brand cartaceo
   Mobile-first · Vanilla CSS · Apple-level polish
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:        #1B2A4E;
  --navy-deep:   #0F1A33;
  --navy-soft:   #2C3E66;
  --ivory:       #F5F1EA;
  --ivory-deep:  #EBE5D9;
  --warm-grey:   #8B8478;
  --charcoal:    #1A1A1A;
  --gold:        #B8924A;
  --gold-soft:   #D4B57A;
  --white:       #FFFFFF;
  --whatsapp:    #25D366;
  --whatsapp-dark: #1DA851;
  --line:        rgba(27, 42, 78, 0.12);

  /* Tipografia */
  --font-serif:  'Cormorant Garamond', 'Georgia', serif;
  --font-sans:   'Inter', -apple-system, sans-serif;

  /* Spaziature */
  --section-py:  clamp(80px, 12vw, 160px);
  --container:   1240px;
  --px-mobile:   24px;
  --px-desktop:  64px;

  /* Animazioni */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:    0.8s;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Tipografia --- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, .h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h2, .h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
}

h3, .h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: var(--navy);
}

h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--navy);
}

.text-lg {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
}

.micro {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--px-mobile);
  padding-right: var(--px-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--px-desktop);
    padding-right: var(--px-desktop);
  }
}

section {
  padding-block: var(--section-py);
  position: relative;
}

/* --- Bottoni --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 18px 36px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(15, 26, 51, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--ivory);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245, 241, 234, 0.3);
}
.btn-ghost:hover {
  background: rgba(245, 241, 234, 0.1);
  border-color: var(--ivory);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp svg { stroke: var(--white); }

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--px-mobile);
  transition: all 0.5s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* Mobile: nome centrato nella nav */
@media (max-width: 767px) {
  .nav-inner {
    position: relative;
  }
  .nav-logo-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block !important;
    font-size: 1rem;
  }
}

.nav-links {
  display: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-soft);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--navy);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.8125rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.3s;
}
.mobile-nav a:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  .site-header { padding: 0 var(--px-desktop); }
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .menu-toggle { display: none; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 100px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .eyebrow {
  margin-bottom: 24px;
}

.hero-content h1 {
  margin-bottom: 28px;
}

.hero-content .text-lg {
  color: var(--navy-soft);
  max-width: 520px;
  margin-bottom: 8px;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

/* Monogramma watermark decorativo */
.hero-watermark {
  position: absolute;
  right: -10%;
  bottom: -10%;
  width: 60%;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-top: 0;
  }
  .hero-image-wrapper {
    aspect-ratio: 4/5;
  }
  .hero-image-wrapper img {
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

/* --- Sezioni generiche --- */
.section-ivory { background: var(--ivory); }
.section-white { background: var(--white); }
.section-ivory-deep { background: var(--ivory-deep); }
.section-navy { background: var(--navy); color: var(--ivory); }
.section-navy h2, .section-navy h3, .section-navy .eyebrow { color: var(--ivory); }
.section-navy .eyebrow { color: var(--gold-soft); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-header .eyebrow {
  margin-bottom: 16px;
}

.section-header p {
  margin-top: 20px;
  color: var(--warm-grey);
  font-size: 1.125rem;
}

/* --- Splitter (due card grandi) --- */
.splitter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.splitter-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 48px 36px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.splitter-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 26, 51, 0.08);
}

.splitter-card .eyebrow {
  margin-bottom: 16px;
}

.splitter-card h3 {
  margin-bottom: 16px;
}

.splitter-card p {
  color: var(--warm-grey);
  margin-bottom: 28px;
  line-height: 1.7;
}

.splitter-card .card-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease-out);
}
.splitter-card:hover .card-link {
  gap: 14px;
  color: var(--gold);
}

/* Decorazione monogramma sottile nella card */
.splitter-card .card-watermark {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  opacity: 0.04;
  pointer-events: none;
}

@media (min-width: 768px) {
  .splitter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .splitter-card {
    padding: 56px 48px;
  }
}

/* --- Card servizio --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 32px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(15, 26, 51, 0.06);
}

.service-icon {
  display: block;
  color: var(--navy);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.service-card:hover .service-icon {
  color: var(--gold);
}

.service-card .service-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.service-card h4 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--warm-grey);
  line-height: 1.7;
  font-size: 0.9375rem;
}

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- About / Chi è Annalisa --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  object-fit: cover;
}

.about-content .eyebrow {
  margin-bottom: 20px;
}

.about-content h2 {
  margin-bottom: 28px;
}

.about-content p {
  color: var(--navy-soft);
  margin-bottom: 20px;
}

.about-content p:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 0.45fr 0.55fr;
    gap: 80px;
  }
  .about-image {
    aspect-ratio: 4/5;
  }
  .about-image img {
    height: 100%;
  }
}

/* --- Video --- */
.video-section {
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(15, 26, 51, 0.12);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Steps (percorso numerato) --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: step;
}

.step-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 8px;
}

.step-content p {
  color: var(--warm-grey);
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .steps-grid.steps-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps-grid.steps-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .step-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .step-number {
    margin: 0 auto 16px;
  }
}

/* --- FAQ --- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding-bottom: 28px;
  color: var(--warm-grey);
  line-height: 1.7;
}

/* --- CTA finale --- */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section .text-lg {
  color: var(--warm-grey);
  max-width: 560px;
  margin: 0 auto 8px;
}

.cta-section.section-navy .text-lg {
  color: rgba(245, 241, 234, 0.7);
}

/* --- Form minimo --- */
.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 480px;
  margin: 32px auto 0;
}

.lead-form input {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.3s;
}

.lead-form input:focus {
  outline: none;
  border-color: var(--navy);
}

.lead-form input::placeholder {
  color: var(--warm-grey);
}

.lead-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-form label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: rgba(245, 241, 234, 0.7);
}

.lead-form select {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.3s;
  -webkit-appearance: none;
  cursor: pointer;
}

.lead-form select:focus {
  outline: none;
  border-color: var(--navy);
}

/* Su sfondo navy: input/select chiari */
.section-navy .lead-form input,
.section-navy .lead-form select {
  background: rgba(245, 241, 234, 0.08);
  border-color: rgba(245, 241, 234, 0.15);
  color: var(--ivory);
}

.section-navy .lead-form input:focus,
.section-navy .lead-form select:focus {
  border-color: var(--gold);
}

.section-navy .lead-form input::placeholder {
  color: rgba(245, 241, 234, 0.4);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.form-privacy {
  font-size: 0.75rem;
  color: rgba(245, 241, 234, 0.4);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .lead-form {
    grid-template-columns: 1fr 1fr;
  }
  .lead-form .full-width,
  .lead-form .form-actions,
  .lead-form .form-privacy {
    grid-column: 1 / -1;
  }
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(245, 241, 234, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand .nav-logo-text {
  color: var(--ivory);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 300px;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}

.footer-col a, .footer-col p {
  font-size: 0.9375rem;
  display: block;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--ivory);
}

.footer-legal {
  border-top: 1px solid rgba(245, 241, 234, 0.08);
  padding: 24px 0;
  font-size: 0.8125rem;
  text-align: center;
  color: rgba(245, 241, 234, 0.4);
}

.footer-legal a {
  color: rgba(245, 241, 234, 0.5);
  transition: color 0.3s;
}
.footer-legal a:hover {
  color: var(--ivory);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
  }
}

/* --- Animazioni scroll (reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger per card */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* --- Parallax sottile (gestito da JS) --- */
[data-parallax] {
  will-change: transform;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* --- Surroga highlight --- */
.surroga-highlight {
  background: var(--navy);
  border-radius: 4px;
  padding: clamp(48px, 8vw, 80px);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.surroga-highlight .eyebrow { color: var(--gold-soft); }
.surroga-highlight h2 { color: var(--ivory); margin-top: 16px; margin-bottom: 24px; }
.surroga-highlight p { color: rgba(245, 241, 234, 0.8); margin-bottom: 16px; line-height: 1.7; }
.surroga-highlight .stat-callout {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold-soft);
  font-weight: 500;
  margin: 24px 0;
  line-height: 1.3;
}

.surroga-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .surroga-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
}

.surroga-form-wrapper {
  background: rgba(245, 241, 234, 0.08);
  border: 1px solid rgba(245, 241, 234, 0.12);
  border-radius: 4px;
  padding: 32px 28px;
}

.surroga-form-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--ivory);
  margin-bottom: 20px;
}

.surroga-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.surroga-form input,
.surroga-form select {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 14px 16px;
  border: 1px solid rgba(245, 241, 234, 0.15);
  border-radius: 4px;
  background: rgba(245, 241, 234, 0.06);
  color: var(--ivory);
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.surroga-form input::placeholder {
  color: rgba(245, 241, 234, 0.4);
}

.surroga-form select {
  color: rgba(245, 241, 234, 0.4);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(245,241,234,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.surroga-form select:valid {
  color: var(--ivory);
}

.surroga-form input:focus,
.surroga-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-surroga {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 16px 24px;
  border-radius: 4px;
  border: none;
  background: var(--ivory);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  margin-top: 4px;
}

.btn-surroga:hover {
  background: var(--gold-soft);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.surroga-form-note {
  font-size: 0.8125rem;
  color: rgba(245, 241, 234, 0.4);
  text-align: center;
  margin-top: 4px;
  line-height: 1.5;
}

/* --- Sezione prodotti (card prodotto B2C) --- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 32px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(15, 26, 51, 0.06);
}

.product-card .product-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.product-card h4 { margin-bottom: 12px; }
.product-card p { color: var(--warm-grey); line-height: 1.7; font-size: 0.9375rem; }

.product-card .card-watermark,
.service-card .card-watermark {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  opacity: 0.04;
  pointer-events: none;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Hero interne (agenzie, per-te) --- */
.hero-inner {
  padding-top: clamp(140px, 20vw, 200px);
  padding-bottom: var(--section-py);
  text-align: center;
}

.hero-inner .eyebrow {
  margin-bottom: 20px;
}

.hero-inner h1 {
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero-inner .text-lg {
  max-width: 640px;
  margin: 0 auto;
  color: var(--navy-soft);
}

.hero-inner .btn-group {
  justify-content: center;
}

/* --- Problema (sezione pain points) --- */
.problem-content {
  max-width: 720px;
  margin: 0 auto;
}

.problem-content h2 {
  margin-bottom: 24px;
}

.problem-content p {
  color: var(--navy-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* --- Prestiti (due card affiancate) --- */
.duo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .duo-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Divider decorativo --- */
.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
}

/* --- Reviews carousel --- */
.reviews-section {
  overflow: hidden;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 20px;
}

.reviews-score {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.reviews-meta {
  font-size: 0.8125rem;
  color: var(--warm-grey);
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 calc(-1 * var(--px-mobile));
  padding: 0 var(--px-mobile);
}

@media (min-width: 768px) {
  .reviews-carousel {
    margin: 0 calc(-1 * var(--px-desktop));
    padding: 0 var(--px-desktop);
  }
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s var(--ease-out);
  cursor: grab;
}

.reviews-track:active {
  cursor: grabbing;
}

.review-card {
  flex: 0 0 calc(100% - 48px);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s;
}

.review-card:hover {
  border-color: var(--gold);
}

@media (min-width: 768px) {
  .review-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .review-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

.review-stars {
  color: var(--gold);
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.review-text {
  color: var(--navy-soft);
  font-size: 0.9375rem;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.review-author {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.reviews-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  transition: all 0.3s var(--ease-out);
}

.reviews-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--ivory);
}

.reviews-btn svg {
  stroke: currentColor;
}

/* --- Intervista SimplyBiz --- */
.interview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.interview-content .eyebrow {
  margin-bottom: 16px;
}

.interview-content h2 {
  margin-bottom: 20px;
}

.interview-content .text-lg {
  color: var(--navy-soft);
}

.interview-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(15, 26, 51, 0.1);
}

.interview-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .interview-grid {
    grid-template-columns: 0.45fr 0.55fr;
    gap: 64px;
  }
}

/* --- Callout box --- */
.callout-box {
  background: var(--ivory);
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.callout-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.callout-list {
  list-style: disc;
  padding-left: 20px;
}

.callout-list li {
  color: var(--navy-soft);
  line-height: 1.7;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

/* Reviews grid layout per landing */
@media (min-width: 768px) {
  .services-grid[style*="grid-template-columns: 1fr"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.mt-0 { margin-top: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

/* Nascondere su mobile/desktop */
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }
