/* ============================================================
   COMPIS VALIENTES — style.css
   Swiss Minimalism × Warm Pediatric Palette
   ============================================================ */

/* ── 1. IMPORTS ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ── 2. DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Palette */
  --cream:        #FAFAF7;
  --sand:         #F5F0E8;
  --dark:         #1A1A1A;
  --dark-mid:     #2C2C2C;
  --teal:         #6EC6C6;
  --teal-deep:    #4AABAB;
  --teal-light:   #D4F0F0;
  --lavender:     #E8C5E0;
  --lavender-deep:#C89ABE;
  --mid-grey:     #7A7A7A;
  --light-grey:   #EBEBEB;
  --border:       rgba(26,26,26,0.10);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter Tight', sans-serif;

  /* Spacing */
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    24px;
  --radius-xl:    40px;

  /* Transitions */
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 3. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── 4. CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.container--narrow {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ── 5. TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}

.display-xl {
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.display-lg {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
}

.display-md {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.display-sm {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.t-accent { color: var(--teal); }
.t-teal   { color: var(--teal-deep); }
.t-light  { color: var(--mid-grey); }
.t-bold   { font-weight: 800; }
.t-italic { font-style: italic; }

/* ── 6. ON-DARK SCOPING ─────────────────────────────────────── */
.on-dark { color: rgba(255,255,255,0.85); }
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 { color: #ffffff; }
.on-dark p  { color: rgba(255,255,255,0.72); }
.on-dark a:not(.btn) { color: inherit; }
.on-dark .eyebrow { color: var(--teal); }

/* ── 7. BUTTONS — B6 (Animated border) ─────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color var(--transition), background var(--transition);
}

/* B6 primary: filled teal with animated border on hover */
.btn--primary {
  background: var(--teal);
  color: var(--dark);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--teal-deep);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity var(--transition), transform var(--transition);
}

.btn--primary:hover::before {
  opacity: 1;
  transform: scale(1);
}

.btn--primary:hover {
  background: var(--teal-deep);
  color: #fff;
}

/* B6 dark */
.btn--dark {
  background: var(--dark);
  color: #fff;
}

.btn--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity var(--transition), transform var(--transition);
}

.btn--dark:hover::before {
  opacity: 1;
  transform: scale(1);
}

.btn--dark:hover {
  background: var(--dark-mid);
}

/* B6 ghost */
.btn--ghost {
  background: transparent;
  color: var(--dark);
  box-shadow: inset 0 0 0 2px var(--border);
}

.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--dark);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity var(--transition), transform var(--transition);
}

.btn--ghost:hover::before {
  opacity: 1;
  transform: scale(1);
}

.btn--ghost:hover {
  box-shadow: none;
}

.btn--ghost-on-dark {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3);
}

.btn--ghost-on-dark:hover {
  background: rgba(255,255,255,0.08);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 15px;
}

/* ── 8. NAVIGATION — V1 (transparent → scrolled) ───────────── */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(250,250,247,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--dark);
  text-decoration: none;
  flex-shrink: 0;
  transition: color var(--transition);
}

.nav__logo span { color: var(--teal); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-mid);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav__links a:hover { color: var(--teal-deep); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

/* Scrolled state */
.nav--scrolled {
  background: rgba(250,250,247,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav--scrolled .nav__logo { color: var(--dark); }
.nav--scrolled .nav__links a { color: var(--dark-mid); }
.nav--scrolled .nav__links a:hover { color: var(--teal-deep); }
.nav--scrolled .nav__hamburger span { background: var(--dark); }

/* ── 9. ADVERTORIAL BANNER ──────────────────────────────────── */
.adv-banner {
  background: var(--teal-light);
  text-align: center;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-mid);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 101;
}

.adv-banner a {
  color: var(--teal-deep);
  text-decoration: underline;
}

/* ── 10. HERO — Variant D (Asymmetric Diagonal) ─────────────── */
.hero {
  min-height: calc(100vh - 92px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg-left {
  position: absolute;
  inset: 0;
  background: var(--dark);
  clip-path: polygon(0 0, 68% 0, 55% 100%, 0 100%);
  z-index: 0;
}

.hero__bg-right {
  position: absolute;
  inset: 0;
  background: var(--sand);
  z-index: -1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: calc(100vh - 92px);
  padding-top: 40px;
}

.hero__content {
  padding-right: 60px;
  padding-left: clamp(20px, 5vw, 48px);
}

.hero__content .eyebrow {
  color: var(--teal);
  margin-bottom: 20px;
  display: block;
}

.hero__title {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero__title .t-thin {
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}

.hero__title .t-teal-hero {
  color: var(--teal);
}

.hero__subtitle {
  color: rgba(255,255,255,0.72);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}

.hero__trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--teal);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(20px, 4vw, 60px);
  padding-left: 80px;
}

.hero__product-img {
  position: relative;
  z-index: 10;
  width: clamp(260px, 35vw, 480px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.18));
  animation: floatHero 5s ease-in-out infinite;
}

.hero__badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 11;
}

.hero__badge--age {
  top: 20%;
  left: 10%;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__badge--price {
  bottom: 22%;
  right: 4%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__badge--price .badge-label {
  font-size: 10px;
  color: var(--mid-grey);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__badge--price .badge-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

.hero__badge--friends {
  top: 12%;
  right: 8%;
  font-size: 11px;
  color: var(--dark-mid);
  font-weight: 600;
}

.hero__badge--friends strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--teal-deep);
  line-height: 1;
}

@keyframes floatHero {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ── 11. MARQUEE STRIP ──────────────────────────────────────── */
.marquee-strip {
  background: var(--dark);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 0 32px;
}

.marquee-item span {
  color: var(--teal);
  margin-left: 32px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 12. SECTION SHARED ─────────────────────────────────────── */
section { position: relative; }

.section-pad { padding: clamp(64px, 8vw, 120px) 0; }
.section-pad--sm { padding: clamp(40px, 5vw, 72px) 0; }

.section-header {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-header--center { text-align: center; }

.section-header .eyebrow { margin-bottom: 12px; display: block; }

/* ── 13. STORY SECTION ──────────────────────────────────────── */
.story {
  background: var(--cream);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.story__text h2 {
  margin-bottom: 24px;
}

.story__text p {
  color: var(--dark-mid);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.story__text p:last-child { margin-bottom: 0; }

.story__visual {
  position: relative;
}

.story__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.story__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__pull-quote {
  position: absolute;
  bottom: -24px;
  left: -32px;
  background: var(--dark);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  max-width: 260px;
}

.story__pull-quote p {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

.story__pull-quote cite {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 10px;
  font-style: normal;
}

/* ── 14. FEATURED FRIENDS (index) ───────────────────────────── */
.friends {
  background: var(--sand);
}

.friends__intro {
  max-width: 560px;
}

.friends__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* C5 — No card: content without boxes, separation through spacing */
.friend-card {
  position: relative;
  cursor: pointer;
}

.friend-card__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
  margin-bottom: 16px;
  transition: transform var(--transition);
}

.friend-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform var(--transition);
}

.friend-card:hover .friend-card__img-wrap img {
  transform: scale(1.06);
}

.friend-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.friend-card__trait {
  font-size: 12px;
  color: var(--mid-grey);
  line-height: 1.4;
  margin-bottom: 10px;
}

.friend-card__price {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--teal-deep);
  margin-bottom: 14px;
}

.friend-card__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.friend-card__link:hover {
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}

/* ── 15. PULL QUOTE / EDITORIAL CALLOUT ─────────────────────── */
.pull-quote {
  background: var(--dark);
  padding: clamp(60px, 8vw, 120px) 0;
}

.pull-quote__inner {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 60px;
  align-items: start;
}

.pull-quote__label {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  position: relative;
  top: -10px;
}

.pull-quote__text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pull-quote__text em {
  font-style: italic;
  color: var(--teal);
  font-weight: 400;
}

.pull-quote__sub {
  margin-top: 24px;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  max-width: 520px;
  line-height: 1.7;
}

/* ── 16. HOW IT WORKS ───────────────────────────────────────── */
.how {
  background: var(--cream);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 56px;
}

.how__step {
  position: relative;
}

.how__step-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 16px;
}

.how__step-number-inner {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal-deep);
  display: inline;
}

.how__step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.how__step p {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.65;
}

.how__connector {
  position: absolute;
  top: 28px;
  right: -24px;
  width: 48px;
  height: 2px;
  background: var(--teal-light);
}

.how__step:last-child .how__connector { display: none; }

/* ── 17. WHY PARENTS CHOOSE ─────────────────────────────────── */
.why {
  background: var(--sand);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.why__visual {
  position: relative;
}

.why__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--teal-light);
}

.why__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

.why__reasons {
  margin-top: 0;
}

.why__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why__item:first-child { border-top: 1px solid var(--border); }

.why__item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why__item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--teal-deep);
}

.why__item-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.why__item-content p {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.6;
}

/* ── 18. MYTHS & TRUTH ──────────────────────────────────────── */
.myths {
  background: var(--cream);
}

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

.myth-item {
  padding: 32px;
  border-radius: var(--radius-md);
}

.myth-item--myth {
  background: var(--light-grey);
}

.myth-item--truth {
  background: var(--teal-light);
}

.myth-item__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.myth-item--myth .myth-item__tag { color: var(--mid-grey); }
.myth-item--truth .myth-item__tag { color: var(--teal-deep); }

.myth-item p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark-mid);
}

.myths__disclaimer {
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--lavender);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--dark-mid);
  line-height: 1.7;
}

/* ── 19. FAQ ────────────────────────────────────────────────── */
.faq {
  background: var(--sand);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  transition: color var(--transition);
}

.faq__question:hover { color: var(--teal-deep); }

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.faq__icon svg {
  width: 14px;
  height: 14px;
  color: var(--dark);
  transition: color var(--transition);
}

.faq--open .faq__icon {
  background: var(--teal);
  transform: rotate(45deg);
}

.faq--open .faq__icon svg { color: #fff; }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq__answer-inner {
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--dark-mid);
}

/* ── 20. DELIVERY STRIP ─────────────────────────────────────── */
.delivery {
  background: var(--dark);
  padding: clamp(48px, 6vw, 80px) 0;
}

.delivery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.delivery__item {
  text-align: center;
}

.delivery__item-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(110,198,198,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.delivery__item-icon svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.delivery__item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.delivery__item p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── 21. CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: var(--teal);
  padding: clamp(64px, 8vw, 100px) 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--dark);
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 17px;
  color: var(--dark-mid);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* ── 22. FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: clamp(60px, 7vw, 96px) 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand .logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 16px;
}

.footer__brand .logo-text span { color: var(--teal); }

.footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 16px;
}

.footer__contact-info {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
}

.footer__contact-info a {
  color: var(--teal);
  text-decoration: none;
}

.footer__contact-info a:hover { text-decoration: underline; }

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer__col ul li { margin-bottom: 10px; }

.footer__col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer__disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-align: right;
  max-width: 500px;
  line-height: 1.6;
}

/* ── 23. PHOTO PLACEHOLDER ──────────────────────────────────── */
.photo-placeholder {
  background: linear-gradient(135deg, #ff6eb4, #ff3d9a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border-radius: inherit;
}

.photo-placeholder__icon { font-size: 32px; }

.photo-placeholder__label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: sans-serif;
  text-align: center;
  padding: 0 16px;
}

/* ── 24. SCROLL REVEAL ANIMATIONS ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ── 25. COOKIE BANNER ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  z-index: 1000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease;
}

.cookie-banner.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 16px;
}

.cookie-banner a { color: var(--teal); text-decoration: underline; }

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.cookie-banner__btn {
  flex: 1;
  min-width: 80px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition);
}

.cookie-banner__btn--accept {
  background: var(--teal);
  color: var(--dark);
}

.cookie-banner__btn--accept:hover { background: var(--teal-deep); color: #fff; }

.cookie-banner__btn--reject {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}

.cookie-banner__btn--reject:hover { background: rgba(255,255,255,0.14); }

.cookie-banner__btn--config {
  background: transparent;
  color: rgba(255,255,255,0.5);
  flex: 0 0 auto;
}

.cookie-banner__btn--config:hover { color: #fff; }

.cookie-config-panel {
  display: none;
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}

.cookie-config-panel.open { display: block; }

.cookie-toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.cookie-toggle-item:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cookie-toggle-item .toggle-label { font-weight: 600; }
.cookie-toggle-item .toggle-note  { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }

.cookie-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-toggle input { opacity: 0; width: 0; height: 0; }

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 11px;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--teal); }

.cookie-toggle-slider::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider::after {
  transform: translateX(18px);
}

input:disabled + .cookie-toggle-slider { opacity: 0.5; cursor: default; }

.cookie-save-btn {
  margin-top: 14px;
  width: 100%;
  padding: 10px;
  background: var(--teal);
  color: var(--dark);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-save-btn:hover { background: var(--teal-deep); color: #fff; }

/* ── 26. MODAL / THANK YOU ──────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.7);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.35s ease;
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal__icon svg { width: 32px; height: 32px; color: var(--teal-deep); }

.modal h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.modal p {
  font-size: 15px;
  color: var(--mid-grey);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ── 27. CATALOG PAGE ───────────────────────────────────────── */
.catalog-hero {
  background: var(--dark);
  padding: clamp(120px, 14vw, 180px) 0 clamp(64px, 8vw, 100px);
}

.catalog-hero h1 {
  color: #fff;
  margin-bottom: 16px;
}

.catalog-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.65;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.catalog-card {
  cursor: pointer;
}

.catalog-card__img-wrap {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.catalog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform var(--transition);
}

.catalog-card:hover .catalog-card__img-wrap {
  transform: translateY(-4px);
}

.catalog-card:hover .catalog-card__img-wrap img {
  transform: scale(1.05);
}

.catalog-card__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.catalog-card__desc {
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.55;
  margin-bottom: 12px;
}

.catalog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-card__price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--teal-deep);
}

.catalog-card__cta {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition);
}

.catalog-card__cta:hover {
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}

/* ── 28. CHECKOUT PAGE ──────────────────────────────────────── */
.checkout-page {
  min-height: 100vh;
  background: var(--cream);
  padding-top: 80px;
}

.checkout-page__header {
  background: var(--dark);
  padding: clamp(80px, 10vw, 120px) 0 40px;
  margin-bottom: 0;
}

.checkout-page__header h1 {
  color: #fff;
}

.checkout-page__header p {
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
  padding: 48px 0 80px;
}

.checkout-form-col {
  min-width: 0;
}

.checkout-section {
  margin-bottom: 36px;
}

.checkout-section h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-grey);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-grey);
}

.form-field input,
.form-field select {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(110,198,198,0.2);
}

.form-field input.error,
.form-field select.error { border-color: #e53e3e; }

.form-field .field-error {
  font-size: 12px;
  color: #e53e3e;
  display: none;
}

.form-field .field-error.visible { display: block; }

.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.form-field--checkbox input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0;
  border: none;
  cursor: pointer;
  accent-color: var(--teal-deep);
}

.form-field--checkbox label {
  font-size: 13px;
  color: var(--mid-grey);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}

/* Checkout sidebar */
.checkout-sidebar {
  position: sticky;
  top: 100px;
}

.checkout-summary {
  background: var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

.checkout-summary__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.checkout-summary__toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-deep);
  font-family: var(--font-display);
}

.checkout-summary__toggle-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}

.checkout-summary__body {
  padding: 20px 24px;
}

.checkout-product-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.checkout-product-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

.checkout-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.checkout-product-info { flex: 1; min-width: 0; }

.checkout-product-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.checkout-product-sub {
  font-size: 12px;
  color: var(--mid-grey);
}

.checkout-product-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--teal-deep);
  flex-shrink: 0;
}

.checkout-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--mid-grey);
  padding: 8px 0;
  border-top: 1px solid var(--border);
}

.checkout-summary-line--total {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--dark);
  padding-top: 12px;
}

/* Seller block */
.seller-block {
  background: var(--teal-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.seller-block h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.seller-block p {
  font-size: 12px;
  color: var(--dark-mid);
  line-height: 1.7;
}

.seller-block a {
  color: var(--teal-deep);
  text-decoration: none;
}

.seller-block a:hover { text-decoration: underline; }

/* Order terms */
.order-terms {
  font-size: 12px;
  color: var(--mid-grey);
  line-height: 1.65;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

/* COD badge */
.cod-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(110,198,198,0.15);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.cod-badge svg {
  width: 20px;
  height: 20px;
  color: var(--teal-deep);
  flex-shrink: 0;
}

.cod-badge span {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-display);
}

/* Checkout submit */
.checkout-submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.checkout-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity var(--transition), transform var(--transition);
}

.checkout-submit-btn:hover::before {
  opacity: 1;
  transform: scale(1);
}

.checkout-submit-btn:hover { background: var(--dark-mid); }

.checkout-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Sensor selector (for checkout) */
.sensor-selector {
  margin-bottom: 20px;
}

.sensor-selector h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.sensor-selector p {
  font-size: 12px;
  color: var(--mid-grey);
  margin-bottom: 14px;
  line-height: 1.55;
}

.sensor-selector select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  color: var(--dark);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition);
}

.sensor-selector select:focus {
  outline: none;
  border-color: var(--teal);
}

/* ── 29. LEGAL PAGES ────────────────────────────────────────── */
.legal-hero {
  background: var(--dark);
  padding: clamp(120px, 14vw, 180px) 0 clamp(48px, 6vw, 72px);
}

.legal-hero h1 { color: #fff; }

.legal-hero p {
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  font-size: 14px;
}

.legal-body {
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 96px);
}

.legal-body h2 {
  font-size: 22px;
  margin: 36px 0 12px;
  color: var(--dark);
}

.legal-body h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

.legal-body p,
.legal-body li {
  font-size: 15px;
  color: var(--dark-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-body ul li { list-style: disc; }
.legal-body ol li { list-style: decimal; }

.legal-body a {
  color: var(--teal-deep);
  text-decoration: underline;
}

/* ── 30. CONTACT PAGE ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info p {
  font-size: 16px;
  color: var(--dark-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  color: var(--teal-deep);
}

.contact-detail-text { font-size: 14px; color: var(--dark-mid); line-height: 1.65; }
.contact-detail-text a { color: var(--teal-deep); }
.contact-detail-text strong { color: var(--dark); }

.contact-form-wrap {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-wrap h3 {
  margin-bottom: 28px;
  font-size: 22px;
}

/* ── 31. MOBILE NAV ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
    box-shadow: -4px 0 40px rgba(0,0,0,0.12);
  }

  .nav__links.nav__links--open { transform: translateX(0); }

  .nav__links a {
    color: var(--dark) !important;
    font-size: 18px !important;
  }

  .nav__hamburger { display: flex; }
}

/* ── 32. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .friends__grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero__bg-left {
    clip-path: polygon(0 0, 100% 0, 100% 55%, 0 65%);
  }

  .hero__content {
    padding-right: clamp(20px, 5vw, 48px);
    text-align: center;
  }

  .hero__trust { justify-content: center; }
  .hero__actions { justify-content: center; }

  .hero__visual {
    padding-left: clamp(20px, 5vw, 48px);
    padding-top: 0;
  }

  .hero__product-img {
    width: clamp(200px, 50vw, 300px);
  }

  .hero__badge { display: none; }

  .story__grid,
  .why__grid,
  .contact-grid { grid-template-columns: 1fr; }

  .story__pull-quote {
    position: static;
    margin-top: 24px;
    max-width: 100%;
  }

  .how__steps {
    grid-template-columns: 1fr 1fr;
  }

  .how__connector { display: none; }

  .pull-quote__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pull-quote__label { font-size: 48px; }

  .delivery__grid { grid-template-columns: 1fr; }

  .myths__grid { grid-template-columns: 1fr; }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .friends__grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer__grid { grid-template-columns: 1fr; }

  .how__steps { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .checkout-page__header { padding-top: clamp(90px, 12vw, 120px); }
}

@media (max-width: 400px) {
  .friends__grid,
  .catalog-grid { grid-template-columns: 1fr; }
}

/* Progressive-enhancement safety (injected by builder): scroll-reveal blocks stay VISIBLE
   unless JS confirms it can animate them by adding .js-anim to <html>. Guarantees a
   truncated page or a failed script can never leave content permanently hidden. */
html:not(.js-anim) .reveal,
html:not(.js-anim) .reveal-left,
html:not(.js-anim) .reveal-right,
html:not(.js-anim) .reveal-scale,
html:not(.js-anim) .stagger-child {
  opacity: 1 !important;
  transform: none !important;
}


/* ── Tabla de cookies (páginas legales) ────────────────────── */
.ctable-llweoy {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
}
.ctable-llweoy th,
.ctable-llweoy td {
  border: 1px solid rgba(0, 0, 0, .12);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.ctable-llweoy thead th {
  background: rgba(0, 0, 0, .04);
  font-weight: 600;
  white-space: nowrap;
}
.ctable-llweoy code { font-size: 12px; word-break: break-word; }
.ctable-llweoy__note { font-size: 13px; opacity: .78; margin: 0 0 8px; }
@media (max-width: 700px) {
  .ctable-llweoy,
  .ctable-llweoy tbody,
  .ctable-llweoy tr,
  .ctable-llweoy td { display: block; width: 100%; }
  .ctable-llweoy thead { display: none; }
  .ctable-llweoy tr { margin-bottom: 14px; }
  .ctable-llweoy td { border-top: none; }
  .ctable-llweoy tr td:first-child { border-top: 1px solid rgba(0, 0, 0, .12); }
}

/* ── Cláusula informativa junto a los formularios ──────────── */
.form-privacy-notice {
  font-size: 12px;
  line-height: 1.6;
  opacity: .75;
  margin: 0 0 16px;
}
.form-privacy-notice strong { font-weight: 600; opacity: .9; }

/* ── Reapertura del panel de cookies desde el pie ──────────── */
.footer__prefs-llweoy {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: .85;
  transition: opacity .2s ease;
}
.footer__prefs-llweoy:hover { opacity: 1; }


/* ── Aviso sobre marcas de terceros ────────────────────────── */
.tm-note-llweoy {
  font-size: 12px;
  line-height: 1.55;
  opacity: .7;
  margin: 8px 0 14px;
}

/* ── Consentimiento explícito del campo de sensor (art. 9 RGPD) ── */
.sensor-consent-llweoy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 6px;
}
.sensor-consent-llweoy input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.sensor-consent-llweoy label {
  font-size: 13px;
  line-height: 1.55;
}

/* El span de error del consentimiento vive fuera de .form-field, así que
   necesita su propia regla de visibilidad. */
.sensor-consent-llweoy + .field-error {
  display: none;
  font-size: 12px;
  line-height: 1.5;
  color: #c0392b;
  margin: 0 0 14px;
}
.sensor-consent-llweoy + .field-error.visible { display: block; }
