/* =====================================================
   OTTICA CLIENTI — Landing Page
   Sold Out style (light mode + soft cards + tilt images)
   Brand color: Ottica Clienti green
   ===================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;          /* light blue-grey alternate sections */
  --bg-card: #FFFFFF;
  --bg-card-2: #F8FAFC;
  --bg-cream: #F5F4F2;          /* matches logo JPG background pixel-perfect */
  --line: #E5EAF0;
  --line-2: #EEF2F6;

  --green: #0D7A3F;             /* brand primary */
  --green-2: #11924B;            /* slightly brighter, used for headings highlight */
  --green-3: #16A34A;            /* CTA pop / success */
  --green-soft: #E8F5EE;         /* green-tinted background */
  --green-shadow: rgba(13,122,63,.18); /* drop shadow under images */

  --red: #EF4444;
  --red-soft: #FEECEC;

  --ink: #0E1B3A;                /* near black navy text */
  --text: #1E2A44;
  --muted: #5A6679;
  --muted-2: #8893A6;

  --shadow-card: 0 16px 40px rgba(15, 27, 53, .08);
  --shadow-card-strong: 0 20px 50px rgba(15, 27, 53, .12);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, system-ui, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .h2, .h2-xl, .h3, .hero-title {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  margin: 18px 0 22px;
  font-weight: 800;
  max-width: 900px;
}

.h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  text-transform: uppercase;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}

.h2-xl {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 0 0 12px;
}

.h3 {
  font-size: 1.35rem;
  text-transform: none;
  margin: 0 0 10px;
}

p { margin: 0 0 14px; color: var(--text); }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 780px;
  margin: 0 auto 24px;
}
.lead-2 { color: var(--muted); font-size: 1.1rem; }

.accent { color: var(--green-2); }
.accent-text { color: var(--green-2) !important; }
.muted-vs { color: var(--muted-2); font-weight: 700; }

.center { text-align: center; }
.mt-md { margin-top: 18px; }
.mt-xl { margin-top: 56px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted-2);
  margin: 0 0 12px;
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pill-outline {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 20px var(--green-shadow);
}
.pill-solid {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 20px var(--green-shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .15s ease; font-weight: 800; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px var(--green-shadow);
}
.btn-primary:hover { background: var(--green-2); box-shadow: 0 18px 36px var(--green-shadow); }

.btn-success {
  background: #22C55E;
  color: #fff;
  box-shadow: 0 14px 30px rgba(34,197,94,.28);
}
.btn-success:hover { background: var(--green-3); }

.btn-sm { padding: 10px 22px; font-size: .8rem; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-xl { padding: 20px 40px; font-size: 1.05rem; }
.full { width: 100%; }

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
  position: relative;
}
.section-soft {
  background: var(--bg-soft);
}

/* ---------- Hero logo (centered, no navbar) ---------- */
.hero-logo {
  display: inline-flex;
  align-items: center;
  background: var(--bg-cream);
  border-radius: 18px;
  padding: 14px 26px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}
.hero-logo img { height: 88px; display: block; }
@media (max-width: 640px) {
  .hero-logo img { height: 64px; }
  .hero-logo { padding: 10px 18px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 32px 0 60px;
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(13,122,63,.06), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 32px;
}
.hero-sub strong { color: var(--ink); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 60px auto 0;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-value {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--green-2);
  line-height: 1;
}
.stat-label {
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; max-width: 380px; }
}

/* ---------- Media strip ---------- */
.media-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  margin: 16px auto 0;
  max-width: 1000px;
}
.media-logo {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  text-align: center;
  color: var(--muted-2);
  font-size: .95rem;
  letter-spacing: .04em;
  opacity: .85;
}
@media (max-width: 760px) {
  .media-strip { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* ---------- Mobile-only extra reel groups ----------
   Hidden by default (desktop). On mobile we shrink the main
   "Preventivi accettati" grid to the first 2 cards, and reveal
   the .reel-mobile-extra blocks placed inside the VS section
   and below the YouTube testimonials so the 6 chats are spread
   across the page (2+2+2) instead of being all in one chunk. */
.reel-mobile-extra { display: none; }
@media (max-width: 760px) {
  .reel-mobile-extra { display: block; margin-top: 36px; max-width: 360px; margin-left: auto; margin-right: auto; }
  /* on mobile, only show chat-5 (4th HTML child) and chat-2 (5th) in main section;
     chat-3, chat-1, chat-6, chat-4 are surfaced inside the VS and YT sections */
  #testimonianze .reel-grid > .reel-card:not(:nth-child(4)):not(:nth-child(5)) { display: none; }
}

/* ---------- Reels (vertical testimonial cards) ---------- */
/* Masonry-like layout via CSS columns: cards flow top-to-bottom
   in each column with their natural height — no row-stretching,
   no white gaps. HTML order is column-major (1,6,2,4,3,5). */
.reel-grid {
  column-count: 3;
  column-gap: 26px;
  margin-top: 40px;
}
.reel-card {
  text-align: center;
  position: relative;
  display: block;
  margin-bottom: 26px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.reel-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 28px 20px;
  box-shadow: var(--shadow-card-strong);
  transform: rotate(-1.5deg);
  transition: transform .25s ease;
}
.reel-card::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 14px;
  background: var(--green-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
}
/* alternate tilt + shadow side for every other card */
.reel-card:nth-child(even) .reel-thumb { transform: rotate(1.5deg); }
.reel-card:nth-child(even)::before { inset: 18px 14px -14px -14px; }
.reel-card:hover .reel-thumb { transform: rotate(0) scale(1.02); }

.gradient-1 { background: linear-gradient(160deg, #0D7A3F 0%, #022614 80%); }
.gradient-2 { background: linear-gradient(160deg, #11924B 0%, #062418 80%); }
.gradient-3 { background: linear-gradient(160deg, #16A34A 0%, #032818 80%); }

.reel-thumb.screenshot {
  background: var(--bg-cream);
  padding: 0;
  display: block;
  aspect-ratio: auto;     /* override the 9/16 — let image dictate height */
  height: auto;
}
.reel-thumb.screenshot img {
  width: 100%;
  height: auto;
  display: block;
  /* whole screenshot visible, no crop */
}

.reel-brand {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-weight: 800;
  font-size: .8rem;
  padding: 5px 10px;
  border-radius: 8px;
}
.reel-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.play-btn {
  margin-top: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
}
.reel-name {
  margin-top: 14px;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 760px) {
  .reel-grid { column-count: 1; max-width: 360px; margin: 30px auto 0; }
}

/* ---------- Split (PAS) sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split.reverse .split-img { order: 1; }

.split-text .h2 {
  text-transform: none;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.split-text .quote {
  font-style: italic;
  color: var(--text);
  margin: 18px 0;
}
.split-text .hook {
  color: var(--green-2);
  font-weight: 800;
  font-size: 1.1rem;
}

.split-img {
  display: flex;
  justify-content: center;
  position: relative;
}
.concept-img {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card-strong);
  transform: rotate(-2deg);
}
.concept-img::after {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 18px;
  background: var(--green-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split.reverse .concept-img { transform: rotate(2deg); }
.split.reverse .concept-img::after { inset: 22px 18px -18px -18px; }

.concept-img.dark {
  background:
    radial-gradient(circle at 30% 30%, #0F2D1F 0%, #02140C 70%);
}
.concept-img.dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.concept-img.neon {
  background: radial-gradient(circle at 50% 60%, #0D7A3F 0%, #02140C 70%);
}
.concept-img.photo {
  background: var(--bg-cream);
  padding: 0;
  aspect-ratio: 3 / 2;        /* match pas-1.jpg / pas-2.jpg native ratio */
}
.concept-img.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.concept-img.empty-shop {
  background: linear-gradient(90deg, #1A2438 0%, #1A2438 50%, #0D7A3F 50%, #11924B 100%);
}
.concept-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.concept-label.small {
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  line-height: 1.1;
}
.concept-sub {
  margin-top: 10px;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
}
.empty-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  z-index: 2;
}
.neon-icons {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 18px 24px;
  padding: 30px;
  font-size: 28px;
  filter: drop-shadow(0 0 8px var(--green-3));
  z-index: 1;
  opacity: .7;
}
.neon-icons span:nth-child(odd) { color: #FF6BB5; }
.neon-icons span:nth-child(even) { color: #4ADE80; }

.cross-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.cross-list li {
  position: relative;
  padding-left: 36px;
  margin: 12px 0;
  color: var(--text);
}
.cross-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-text { order: 1; }
  .split.reverse .split-img { order: 2; }
}

/* ---------- Comparison VS ---------- */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
}
.vs-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.vs-them { background: #FFF6F6; border-color: #F8DADA; }

.vs-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.vs-them .vs-header { border-color: #F8DADA; }
.vs-icon-box {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.2rem;
}
.vs-check { background: #22C55E; color: #fff; }
.vs-x { background: var(--red); color: #fff; }
.vs-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}
.vs-x-text { color: var(--red); }

.vs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vs-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.vs-list li strong { color: var(--ink); }
.vs-list li .muted { color: var(--muted); font-size: .92rem; }

.vs-icon-circle {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 12px;
  margin-top: 2px;
}
.vs-check-sm { background: #DCFCE7; color: #16A34A; }
.vs-x-sm { background: var(--red-soft); color: var(--red); }

@media (max-width: 880px) {
  .vs-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats banner ---------- */
.stats-banner {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  box-shadow: var(--shadow-card-strong);
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  color: var(--green-2);
  line-height: 1;
}
.stat-cap {
  margin-top: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  font-weight: 700;
}
@media (max-width: 760px) {
  .stats-banner { grid-template-columns: repeat(2, 1fr); padding: 36px 20px; gap: 26px; }
}

/* ---------- Service grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-strong);
  display: flex;
  flex-direction: column;
}
.service-illu {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.illu-1 { background: linear-gradient(135deg, #11924B 0%, #134E4A 60%, #0D7A3F 100%); }
.illu-2 { background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 60%, #0EA5E9 100%); }
.illu-3 { background: linear-gradient(135deg, #16A34A 0%, #14532D 60%, #22C55E 100%); }

.service-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px; height: 36px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.illu-icons {
  display: flex;
  gap: 24px;
  align-items: center;
}
.illu-glyph {
  width: 76px; height: 76px;
  background: rgba(255,255,255,.97);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
}
.illu-glyph:nth-child(1) { transform: translateY(8px) rotate(-6deg); }
.illu-glyph:nth-child(3) { transform: translateY(8px) rotate(6deg); }

.service-body { padding: 28px 26px; }
.service-body h3 { color: var(--ink); }
.service-body p { color: var(--muted); }
.service-body p:first-of-type { color: var(--text); }

.proof-card {
  margin-top: 18px;
  background: var(--bg-card-2);
  border-left: 3px solid var(--green-2);
  border-radius: 10px;
  padding: 16px 18px;
}
.proof-card strong { color: var(--ink); display: block; margin-bottom: 8px; }
.proof-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.proof-card li { margin: 4px 0; }

@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ---------- YouTube cards (long-form testimonial) ---------- */
.yt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 50px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.yt-card {
  display: block;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.yt-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card-strong);
  background: #000;
  transition: transform .2s ease, box-shadow .2s ease;
}
.yt-card:hover .yt-thumb {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(15,27,53,.18);
}
.yt-thumb img,
.yt-thumb iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
.yt-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.4));
  transition: transform .2s ease;
}
.yt-card:hover .yt-play { transform: scale(1.08); }
.yt-name {
  margin-top: 12px;
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 760px) {
  .yt-grid { grid-template-columns: 1fr; }
}

/* ---------- Garanzia + Riconversione ---------- */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.guarantee-left,
.guarantee-right {
  display: flex;
  flex-direction: column;
}
.guarantee-right {
  background: var(--bg-card-2);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.shield-box {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--green-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.shield-box svg { stroke: var(--green); }
.guarantee-left .h2 {
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
}
.quote-box {
  margin: 18px 0;
  background: var(--bg-card);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  padding: 16px 22px;
  font-style: italic;
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.legal-details {
  margin-top: 8px;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 12px 18px;
}
.legal-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-2);
  font-size: .95rem;
}
.legal-details p {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 12px;
}

.riconv-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #16A34A;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .88rem;
  margin-bottom: 14px;
}
.riconv-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
}
.riconv-cta-card .euro {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

@media (max-width: 880px) {
  .guarantee-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}
.founder-photo { display: flex; justify-content: center; position: relative; }
.photo-frame {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card-strong);
  background: var(--bg-cream);
  transform: rotate(-1deg);
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 18px;
  background: var(--green-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.founder-bullets li {
  background: var(--bg-card-2);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.founder-bullets li strong { color: var(--ink); }
.founder-bullets li.highlight {
  background: var(--bg-card);
  box-shadow: 0 0 0 2px var(--green) inset, var(--shadow-card);
}
.check-circle {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 12px;
}

@media (max-width: 880px) {
  .founder-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Team ---------- */
.team-section { margin-top: 100px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.team-card h4 {
  margin: 14px 0 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.15rem;
}
.team-avatar {
  width: 76px; height: 76px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Form ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 30px auto 36px;
}
.step-card {
  background: var(--bg-card-2);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--text);
}
.step-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: .95rem;
}

.cand-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  box-shadow: var(--shadow-card-strong);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cand-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.cand-form input[type="text"],
.cand-form input[type="email"],
.cand-form input[type="tel"] {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cand-form input::placeholder { color: var(--muted-2); }
.cand-form input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.cand-form input.invalid {
  border-color: var(--red);
}
.error-msg {
  color: var(--red);
  font-size: .82rem;
  font-weight: 500;
  display: none;
}
.error-msg.show { display: block; }

.checkbox-row {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  font-weight: 400 !important;
  font-size: .88rem !important;
  color: var(--muted) !important;
  line-height: 1.5;
}
.checkbox-row input { margin-top: 4px; flex-shrink: 0; }

.form-success {
  background: #DCFCE7;
  border: 1px solid #16A34A;
  color: #14532D;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .cand-form { padding: 28px 24px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  background: var(--bg-cream);
  border-radius: 12px;
  padding: 8px 14px;
  height: auto;
  max-width: 220px;
  margin-bottom: 14px;
}
.footer-links h5 {
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  margin: 0 0 12px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-links a {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
  transition: color .15s ease;
}
.footer-links a:hover { color: var(--green-2); }
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .85rem;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================
   MOBILE OPTIMIZATION
   The bulk of leads will visit from Meta Ads on mobile.
   Tighter spacing, smaller heading scale, full-width CTAs,
   iOS-safe input font, neutralized tilt to prevent overflow.
   ===================================================== */

@media (max-width: 880px) {
  /* tilt softer to avoid horizontal overflow on smaller cards */
  .concept-img { transform: rotate(-1deg); }
  .split.reverse .concept-img { transform: rotate(1deg); }
  .reel-thumb { transform: rotate(0); }
  .reel-card::before { display: none; }
}

@media (max-width: 760px) {
  /* force heading font + weight identical to desktop on mobile
     (avoids Plus Jakarta Sans falling back to Inter on slow networks) */
  h1, h2, h3, h4, .h2, .h2-xl, .h3, .hero-title {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, system-ui, sans-serif !important;
    font-weight: 800 !important;
  }

  /* heavier body weight + stronger contrast for mobile readability */
  body { font-weight: 500; }
  p, li, label { color: var(--ink); font-weight: 500; }
  .muted { color: #3D4759 !important; font-weight: 500; }
  .muted-2 { color: #5A6679 !important; font-weight: 500; }
  .hero-sub { color: var(--text); font-weight: 500; }
  .hero-sub strong { color: var(--ink); font-weight: 800; }
  .lead, .lead-2 { color: var(--ink); font-weight: 500; }
  .vs-list li .muted { color: #3D4759 !important; }
  .proof-card ul, .proof-card li { color: var(--ink) !important; font-weight: 500; }
  .service-body p { color: var(--ink); font-weight: 500; }
  .reel-name, .yt-name { color: var(--ink); font-weight: 700; }
  .stat-label, .stat-cap { color: var(--ink); font-weight: 700; }
  .quote-box { color: var(--ink); font-weight: 500; }

  /* tighter section padding */
  .section { padding: 64px 0; }
  .hero { padding: 24px 0 48px; }

  /* container padding */
  .container { padding: 0 18px; }

  /* heading scale */
  .hero-title { font-size: 2.1rem; line-height: 1.1; }
  .h2 { font-size: 1.7rem; line-height: 1.12; }
  .h2-xl { font-size: 2rem; }
  .h3 { font-size: 1.2rem; }

  /* hero subtitle/lead */
  .hero-sub { font-size: 1rem; margin-bottom: 24px; }
  .lead, .lead-2 { font-size: .98rem; }

  /* full-width CTA — direct response best practice on mobile */
  .btn-lg, .btn-xl {
    width: 100%;
    max-width: 360px;
    padding: 16px 20px;
    font-size: .9rem;
    letter-spacing: .04em;
  }
  .btn .arrow { font-size: 1.1rem; }

  /* hero stats — compact */
  .hero-stats { margin-top: 36px; gap: 12px; max-width: 360px; }
  .stat-card { padding: 18px 12px; }
  .stat-value { font-size: 2rem; }
  .stat-label { font-size: .68rem; }

  /* social proof spacing */
  .mt-xl { margin-top: 36px; }
  .reel-grid { column-gap: 18px; }
  .reel-card { margin-bottom: 18px; }

  /* PAS sections — reduce gap and concept image */
  .split { gap: 28px; }
  .concept-img { aspect-ratio: 5 / 4; }
  .concept-img::after { inset: 12px -10px -10px 10px; }
  .split.reverse .concept-img::after { inset: 12px 10px -10px -10px; }
  .concept-label { font-size: 1.6rem; }

  /* comparison VS */
  .vs-card { padding: 22px 20px; }
  .vs-list { gap: 14px; }
  .vs-list li strong { font-size: .95rem; }
  .vs-list li .muted { font-size: .85rem; }
  .vs-title { font-size: 1.2rem; }

  /* stats banner */
  .stats-banner { padding: 30px 18px; gap: 22px; }
  .stat-num { font-size: 2.2rem; }
  .stat-cap { font-size: .7rem; letter-spacing: .06em; }

  /* services */
  .service-grid { gap: 18px; }
  .service-illu { height: 170px; }
  .illu-glyph { width: 60px; height: 60px; font-size: 26px; }
  .service-body { padding: 24px 22px; }

  /* yt grid */
  .yt-headline { font-size: 1.3rem; }

  /* guarantee */
  .guarantee-right { padding: 28px 22px; }
  .quote-box { padding: 14px 18px; font-size: .95rem; }

  /* founder */
  .photo-frame { max-width: 260px; }
  .founder-bullets { gap: 8px; }
  .founder-bullets li { padding: 12px 14px; font-size: .92rem; }

  /* team */
  .team-section { margin-top: 50px; }
  .team-card { padding: 24px 18px; }
  .team-avatar { width: 64px; height: 64px; font-size: 1.2rem; }

  /* form */
  .cand-form { padding: 24px 20px; }
  .cand-form input[type="text"],
  .cand-form input[type="email"],
  .cand-form input[type="tel"] {
    font-size: 16px; /* prevents iOS auto-zoom on focus */
  }
  .cand-form label { font-size: .88rem; }
  .step-card { padding: 14px 16px; font-size: .92rem; }

  /* footer */
  .footer { padding: 40px 0 20px; margin-top: 30px; }
  .footer-inner { gap: 28px; }

  /* media strip */
  .media-strip { gap: 14px; }
  .media-logo { font-size: .82rem; }
}

@media (max-width: 480px) {
  /* heading scale even tighter */
  .hero-title { font-size: 1.85rem; }
  .h2 { font-size: 1.5rem; }
  .h2-xl { font-size: 1.75rem; }

  /* logo card a touch smaller */
  .hero-logo { padding: 8px 14px; border-radius: 14px; }
  .hero-logo img { height: 56px; }

  /* pill */
  .pill { padding: 9px 18px; font-size: .68rem; letter-spacing: .1em; }

  /* hero stats one per row */
  .hero-stats { grid-template-columns: 1fr; max-width: 280px; }

  /* stats banner one per row to keep numbers readable */
  .stats-banner { grid-template-columns: 1fr; gap: 18px; padding: 26px 18px; }
  .stat-num { font-size: 2.4rem; }

  /* neutralize tilt entirely on very small screens */
  .concept-img { transform: rotate(0); }
  .concept-img::after { display: none; }
  .photo-frame { max-width: 220px; }
}

