:root {
  --pink: #db2777;
  --pink-dark: #be185d;
  --pink-darker: #9d174d;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --amber-50: #fffbeb;
  --ink: #1f2937;
  --muted: #4b5563;
  --line: #f3d1da;
  --white: #ffffff;
  --green: #16a34a;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(190, 24, 93, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); color: var(--pink-dark); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 680px; margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--rose-50); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 10px; border: 0; cursor: pointer;
  font: 600 1rem/1.2 inherit; font-family: inherit; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink); color: var(--white); box-shadow: 0 6px 18px rgba(219, 39, 119, .35); }
.btn-primary:hover { background: var(--pink-dark); }
.btn-white { background: var(--white); color: var(--pink-dark); }
.btn-ghost { background: rgba(255,255,255,.15); color: var(--white); border: 1.5px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-outline { background: var(--white); color: var(--pink-dark); border: 1.5px solid var(--pink); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--pink); }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .logo img { height: 44px; }
}

/* Hero */
.hero {
  position: relative; color: var(--white); text-align: center;
  background: url("img/hero.jpg") center / cover no-repeat;
  padding: clamp(80px, 13vw, 150px) 0 clamp(70px, 10vw, 120px);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,41,55,.55), rgba(157,23,77,.55)); }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 700; text-shadow: 0 4px 18px rgba(0,0,0,.25); }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 720px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; font-size: .92rem; padding: 0; list-style: none; }
.trust li::before { content: "✓"; display: inline-block; margin-right: 7px; font-weight: 700; color: #fbcfe8; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.step .num { width: 46px; height: 46px; border-radius: 50%; background: var(--rose-100); color: var(--pink-dark); font-weight: 700; display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.toggle { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 26px auto 0; }
.toggle button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 600 .95rem inherit; font-family: inherit; color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--pink); color: var(--white); }
.toggle .save { display: inline-block; font-size: .72rem; background: #dcfce7; color: #166534; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 1px; }
.toggle button[aria-pressed="true"] .save { background: rgba(255,255,255,.25); color: var(--white); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; padding: 32px 26px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border-color: var(--pink); transform: translateY(-8px); }
.plan .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--pink); color: var(--white); font-size: .78rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.price { font-size: 2.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-note { font-size: .88rem; color: var(--muted); margin: 8px 0 0; min-height: 2.8em; }
.price-note strong { color: var(--green); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: .95rem; border-bottom: 1px dashed #f5dbe3; }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 7px; color: var(--pink); font-weight: 700; }
.mode-unico .only-rate, .mode-rate .only-unico { display: none !important; }
.pay-icons { margin-top: 26px; color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plan.featured { transform: none; }
}

/* Split section */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.feature .ico { font-size: 1.7rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.quote { background: var(--rose-50); border-radius: var(--radius); padding: 26px; font-style: italic; color: #374151; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; color: var(--pink-dark); font-size: .92rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 36px auto 0; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 50px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--pink); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* CTA band */
.band { background: var(--pink-dark); color: var(--white); text-align: center; padding: clamp(60px, 9vw, 100px) 0; }
.band h2 { color: var(--white); }
.band p { max-width: 640px; margin: 0 auto 28px; font-size: 1.08rem; }

/* Footer */
.site-footer { background: var(--ink); color: #d1d5db; padding: 40px 0 90px; font-size: .88rem; text-align: center; }
.site-footer a { color: #f9a8d4; }
.site-footer .legal { max-width: 760px; margin: 14px auto; color: #9ca3af; font-size: .8rem; }

/* WhatsApp floating */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: var(--wa); color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.2); display: inline-flex; gap: 8px; align-items: center; }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }

/* Signup page */
.signup-bg { background: linear-gradient(135deg, var(--rose-100), var(--amber-50) 50%, var(--rose-100)); min-height: 100vh; }
.signup { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 40px 0 80px; align-items: start; }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; } .summary { order: -1; } }
.card { background: var(--white); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }
.card h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--pink-dark); }
.fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.fieldset legend { font-weight: 600; font-size: 1.05rem; margin-bottom: 12px; color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(219,39,119,.15); }
.field.full { grid-column: 1 / -1; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-row.two { grid-template-columns: 1fr 1fr; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; border: 1.5px solid #e5e7eb; border-radius: 12px; padding: 12px 10px; text-align: center; cursor: pointer; font-size: .92rem; transition: border-color .15s, background .15s; height: 100%; }
.choice span b { display: block; font-size: 1.05rem; }
.choice input:checked + span { border-color: var(--pink); background: var(--rose-50); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(219,39,119,.25); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 12px; color: #374151; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--pink); flex: none; }
.form-error { color: #b91c1c; font-size: .9rem; margin: 6px 0 0; min-height: 1.2em; }
.summary { position: sticky; top: 96px; }
.summary h2 { font-size: 1.2rem; color: var(--ink); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #f5dbe3; font-size: .95rem; }
.sum-total { font-size: 1.5rem; font-weight: 700; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.sum-total small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.secure { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .85rem; margin-top: 16px; }
.mini-head { background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.mini-head .wrap { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.mini-head a.back { color: var(--muted); text-decoration: none; font-size: .9rem; }

/* Legal pages */
.legal-page { max-width: 820px; padding: 48px 0 80px; }
.legal-page h1 { color: var(--pink-dark); font-size: 2rem; }
.legal-page h2 { font-size: 1.2rem; color: var(--ink); margin-top: 1.8em; }
.legal-page .draft { background: #fef3c7; border: 1px solid #fcd34d; border-radius: 10px; padding: 12px 16px; font-size: .9rem; }
.choice small { display: block; color: var(--muted); font-size: .85rem; }
.plan ul { text-align: left; }
@media (max-width: 900px) {
  .summary { position: static; padding: 18px 20px; }
  .summary h2, .summary .secure { display: none; }
  .summary .sum-row { padding: 6px 0; font-size: .9rem; }
  .summary .sum-total { font-size: 1.25rem; padding-top: 8px; }
}
@media (max-width: 480px) { .choice span { padding: 10px 6px; font-size: .85rem; } .choice small { font-size: .75rem; } }

.promise { max-width: 760px; margin: 30px auto 0; background: var(--white); border: 1.5px dashed var(--pink); border-radius: 14px; padding: 16px 22px; font-size: .98rem; color: #374151; }
.promise strong { color: var(--pink-dark); }

/* Foto delle coppie */
.split-photo { grid-template-columns: 0.85fr 1.15fr; }
.split-photo.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split-photo .photo-tall { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 18px; box-shadow: var(--shadow); }
.features-2 { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.steps-2 { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.steps-2 .step { text-align: left; }
.steps-2 .step .num { margin: 0 0 12px; }
.lead.left { margin-inline: 0; }
.photo-wide { width: 100%; max-width: 960px; margin: 28px auto 0; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 35%; border-radius: 18px; box-shadow: var(--shadow); }
.band-photo { position: relative; background: url("img/coppia-sorriso.jpg") center 30% / cover no-repeat; }
.band-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(157,23,77,.82), rgba(190,24,93,.88)); }
.band-photo .wrap { position: relative; }
@media (max-width: 860px) {
  .split-photo, .split-photo.reverse { grid-template-columns: 1fr; }
  .split-photo .photo-tall { aspect-ratio: 4 / 3; max-height: 420px; }
  .split-photo.reverse .photo-tall { order: -1; }
  .photo-wide { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .features-2, .steps-2 { grid-template-columns: 1fr; } }
.sum-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; border-radius: 12px; margin-top: 18px; }
@media (max-width: 900px) { .sum-photo { display: none; } }
.photo-tall, .photo-wide, .sum-photo { height: auto; }
#come-funziona .photo-tall { object-position: center 78%; }
.band-photo::before { background: linear-gradient(180deg, rgba(157,23,77,.74), rgba(190,24,93,.82)); }
