/* =========================================================
   SOUL EMOTIONS — Landing styles
   Mobile-first, brand system defined in spec
   ========================================================= */

:root {
  /* Brand */
  --pink: #cb6074;
  --pink-deep: #b14a5f;
  --soul: #838e7c;
  --text: #47433a;
  --text-soft: #6a6358;
  --cream: #f7ede4;
  --warm: #fffaf5;
  --rose: #f3d9d5;
  --line: #e8d9c9;

  /* Spacing rhythm */
  --gap-section: 80px;
  --container: 1200px;
  --container-narrow: 920px;
  --radius-card: 24px;
  --radius-pill: 9999px;
  --shadow-soft: 0 8px 32px rgba(71, 67, 58, 0.06);
  --shadow-hover: 0 14px 40px rgba(71, 67, 58, 0.10);
  --shadow-press: 0 4px 14px rgba(71, 67, 58, 0.08);

  /* Type */
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-serif: "Cormorant Garamond", "Georgia", serif;
}

@media (min-width: 1024px) {
  :root { --gap-section: 120px; }
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container { padding: 0 32px; }
}
.container.narrow { max-width: var(--container-narrow); }
.center { text-align: center; }
.right-aligned { text-align: left; }
@media (min-width: 1024px) {
  .right-aligned { text-align: right; }
}

/* ---------- TYPE ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soul);
}
.eyebrow.small { font-size: 10px; }
.eyebrow.center { display: block; text-align: center; margin: 0 auto 14px; }

.display {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(42px, 8.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 14px 0 18px;
  text-wrap: pretty;
}
.display em {
  color: var(--pink);
  font-style: italic;
}

.display-2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 12px 0 16px;
  text-wrap: pretty;
}
.display-2 em { color: var(--pink); font-style: italic; }

.section-sub {
  color: var(--text-soft);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 56ch;
  margin: 0 auto 24px;
  text-wrap: pretty;
}
.section-sub.center { margin: 0 auto 24px; }

h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text);
}
@media (min-width: 1024px) { h3 { font-size: 20px; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
  min-width: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--pink);
  color: var(--warm);
  box-shadow: 0 6px 18px rgba(203, 96, 116, 0.25);
}
.btn-primary:hover {
  background: var(--pink-deep);
  box-shadow: 0 10px 24px rgba(203, 96, 116, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--soul);
  border: 1.5px solid var(--soul);
}
.btn-outline:hover {
  background: var(--soul);
  color: var(--warm);
}

/* Soft-filled outline — for buttons that sit over imagery/gradients.
   Keeps the stroke as the primary cue; adds a subtle cream wash behind
   it so the label stays readable without becoming a heavy primary. */
.btn-outline-soft {
  background-color: rgba(247, 237, 228, 0.65);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.btn-outline-soft:hover {
  background-color: var(--soul);
  color: var(--warm);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--warm); }

.btn-block { width: 100%; }

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--text);
  color: var(--warm);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.topbar-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 237, 228, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.nav.scrolled {
  background: rgba(247, 237, 228, 0.92);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) { .nav-inner { padding: 16px 32px; } }
.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height .25s ease;
}
@media (min-width: 900px) {
  .nav-logo img { height: 60px; }
}
.nav.scrolled .nav-logo img {
  height: 44px;
}
@media (min-width: 900px) {
  .nav.scrolled .nav-logo img { height: 52px; }
}
.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--pink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: none;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--pink);
  color: var(--warm);
  font-size: 13px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}
.nav-cta:hover { background: var(--pink-deep); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

.nav-burger {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  border-radius: 50%;
  background: var(--warm);
  border: 1px solid var(--line);
}
.nav-burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 900px) { .nav-burger { display: none; } }

.nav-mobile {
  border-top: 1px solid var(--line);
  background: var(--warm);
  padding: 8px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile a {
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile-cta {
  margin-top: 10px;
  background: var(--pink);
  color: var(--warm) !important;
  border-radius: var(--radius-pill);
  text-align: center;
  border-bottom: none !important;
}

/* ---------- HERO (layered composition: left solid + gradient bridge + video) ---------- */
:root {
  --hero-left-bg: #f8e0d0;
  --hero-text-color: #47433a;

  /* Desktop proportions. Solid left panel occupies the first slice of the hero;
     the video occupies the rest, with a soft gradient bridging them. */
  --hero-solid-w: 28%;
  --hero-grad-w: 18%;   /* ~25% of the video's width on desktop */
}

.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(560px, 88vh, 780px);
  display: flex;
  align-items: center;
  background: var(--hero-left-bg);
}
@media (min-width: 1024px) {
  .hero { padding: 96px 0 112px; }
}

/* Solid left panel — clean reading base. Full bleed on mobile,
   narrow column on desktop. */
.hero-left-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--hero-left-bg);
}

/* Right-side media (video + poster fallback). On mobile it covers the
   whole hero behind the gradient; on desktop it's offset to the right. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero-media {
    left: var(--hero-solid-w);
    right: 0;
  }
}

.hero-bg-video,
.hero-bg-fallback {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-fallback { z-index: 0; }
.hero-bg-video    { z-index: 1; }

/* Gradient bridge — sits on top of the video's left edge, fading from the
   solid cream into transparent. Connects the two regions without a hard cut. */
.hero-grad-bridge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 70%;
  z-index: -1;
  background: linear-gradient(
    90deg,
    var(--hero-left-bg) 0%,
    var(--hero-left-bg) 35%,
    rgba(248, 224, 208, 0.85) 55%,
    rgba(248, 224, 208, 0.55) 75%,
    rgba(248, 224, 208, 0) 100%
  );
  pointer-events: none;
}
@media (min-width: 1024px) {
  .hero-grad-bridge {
    left: var(--hero-solid-w);
    width: var(--hero-grad-w);
    background: linear-gradient(
      90deg,
      var(--hero-left-bg) 0%,
      rgba(248, 224, 208, 0) 100%
    );
  }
}

/* Inner content sits above all backgrounds */
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .hero-inner { padding: 0 32px; } }

.hero-text {
  color: var(--hero-text-color);
  max-width: 560px;
}
@media (min-width: 1024px) {
  /* Text starts inside the solid panel and extends slightly into the
     gradient/video zone — fluid composition, not a boxed column. */
  .hero-text { max-width: 600px; }
}

.hero-text .eyebrow { color: var(--soul); }
.hero-text .display { color: var(--hero-text-color); }
.hero-text .display em { color: var(--pink); }

.hero-sub {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--text-soft);
  max-width: 46ch;
  margin: 0 0 28px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 18px;
}
.hero-ctas .btn { width: 100%; }
@media (min-width: 600px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .hero-ctas .btn { width: auto; }
}

.hero-micro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--soul);
  margin: 0;
  letter-spacing: 0.01em;
}
.dot-soul {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--soul);
  display: inline-block;
}

/* ---------- STORIES (right side rotator) ---------- */
.hero-stories {
  position: relative;
  width: 92%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(71, 67, 58, 0.18);
  background: var(--cream);
}
@media (min-width: 1024px) {
  .hero-stories {
    width: 100%;
    border-radius: 28px;
  }
}

.story {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.story.active { opacity: 1; pointer-events: auto; }
.story img,
.story-placeholder {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, var(--line) 0 1px, var(--cream) 1px 14px);
}
.story-placeholder span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--soul);
  background: rgba(255, 250, 245, 0.85);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.story-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(71, 67, 58, 0) 30%,
    rgba(71, 67, 58, 0.55) 75%,
    rgba(71, 67, 58, 0.85) 100%);
}
.story-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--warm);
}
.story-eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
  background: rgba(203, 96, 116, 0.92);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.story-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.15;
  color: var(--warm);
  text-wrap: pretty;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.story-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.story-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.45);
  transition: background-color .25s ease, transform .25s ease, width .25s ease;
  padding: 0;
}
.story-dot.active {
  background: var(--warm);
  width: 22px;
  border-radius: var(--radius-pill);
}

/* ---------- PROMO BANNER (between nav and hero) ---------- */
.promo-banner {
  background: var(--warm);
  padding: 18px 20px;
}
@media (min-width: 768px) { .promo-banner { padding: 24px 32px; } }

.promo-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #fdf4ed 0%, var(--cream) 60%, var(--rose) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  min-height: 220px;
}
@media (min-width: 768px) {
  .promo-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr);
    /* ~half the hero on desktop — 21:9 to 16:6 territory */
    min-height: clamp(240px, 32vh, 320px);
  }
}

.promo-media {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background: var(--cream);
}
@media (min-width: 768px) { .promo-media { min-height: 100%; } }
.promo-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Soft cream fade at the seam between image and copy */
.promo-media-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(253, 244, 237, 0) 55%,
    rgba(253, 244, 237, 0.45) 100%
  );
  pointer-events: none;
}
@media (min-width: 768px) {
  .promo-media-grad {
    background: linear-gradient(
      90deg,
      rgba(253, 244, 237, 0) 60%,
      rgba(253, 244, 237, 0.55) 100%
    );
  }
}

.promo-text {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
@media (min-width: 768px) { .promo-text { padding: 28px 36px; gap: 12px; } }

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-deep);
  background: rgba(255, 250, 245, 0.85);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.promo-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  color: var(--text);
  margin: 0;
  text-wrap: pretty;
}
.promo-title em { color: var(--pink); font-style: italic; }

.promo-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  max-width: 52ch;
  line-height: 1.5;
}
@media (min-width: 768px) { .promo-sub { font-size: 14.5px; } }

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--soul);
  transition: background-color .2s, color .2s, transform .2s;
}
.promo-cta:hover {
  background: var(--soul);
  color: var(--warm);
  transform: translateY(-1px);
}
.promo-cta svg { transition: transform .2s; }
.promo-cta:hover svg { transform: translateX(2px); }

/* Carousel: multiple slides */
.promo-slide { display: none; }
.promo-slide.active { display: block; }

.promo-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0 4px;
}
.promo-dots { display: flex; gap: 6px; }
.promo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: #f0c0b0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.promo-dot.active { background: var(--soul); transform: scale(1.25); }
.promo-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--soul);
  background: transparent;
  color: var(--soul);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.promo-arrow:hover { background: var(--soul); color: var(--warm); }
.promo-arrow svg { width: 14px; height: 14px; }

/* ---------- CHIPS STRIP ---------- */
.chips-strip {
  background: var(--warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.chips-inner {
  display: flex;
  gap: 10px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: var(--container);
  margin: 0 auto;
}
.chips-inner::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--line);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--pink-deep);
  transform: translateY(-1px);
}
@media (min-width: 1024px) {
  .chips-inner { justify-content: center; flex-wrap: wrap; padding: 0 32px; }
}

/* ---------- BENEFITS ---------- */
.benefits {
  padding: var(--gap-section) 0;
}
.benefits .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 768px) {
  .benefits .container { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.benefit { text-align: left; }

/* Per-card scroll reveal — fade 0→100% + slight slide up, staggered */
.benefits .benefit {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform .9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: 0ms;
  will-change: opacity, transform;
}
.benefits.in .benefit {
  opacity: 1;
  transform: translateY(0);
}
.benefits.in .benefit:nth-child(1) { transition-delay: 120ms; }
.benefits.in .benefit:nth-child(2) { transition-delay: 280ms; }
.benefits.in .benefit:nth-child(3) { transition-delay: 440ms; }

@media (prefers-reduced-motion: reduce) {
  .benefits .benefit {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(131, 142, 124, 0.10);
  color: var(--soul);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.benefit h3 { margin-bottom: 6px; }
.benefit p { color: var(--text-soft); font-size: 15.5px; margin: 0; max-width: 36ch; }

/* ---------- FEATURED ---------- */
.featured {
  position: relative;
  background: var(--warm);
  padding: var(--gap-section) 0;
}
.featured-bg {
  position: absolute;
  top: 50%; left: -200px;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  background: radial-gradient(closest-side, var(--rose) 0%, transparent 70%);
  opacity: 0.45;
  pointer-events: none;
}
.featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 32px 20px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.featured-rail::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .featured-rail {
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    overflow: visible;
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 32px 0;
    gap: 28px;
  }
}

/* ---------- PRODUCT CARD ---------- */
.pcard {
  background: var(--cream);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: start;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.pcard.featured-card { background: var(--warm); border: 1px solid var(--line); }
.pcard-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--warm);
  overflow: hidden;
}
.pcard.featured-card .pcard-media { background: var(--cream); }
.pcard-track {
  display: flex;
  height: 100%;
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.pcard-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
.pcard-slide img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10%;
}
.pcard-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  opacity: 0;
  transition: opacity .2s ease, background-color .2s;
  z-index: 2;
}
.pcard:hover .pcard-arrow { opacity: 1; }
.pcard-arrow:hover { background: var(--warm); }
.pcard-arrow.prev { left: 10px; }
.pcard-arrow.next { right: 10px; }
.pcard-arrow svg { width: 14px; height: 14px; }
@media (max-width: 767px) {
  .pcard-arrow { opacity: 0.7; width: 32px; height: 32px; }
}

.pcard-dots {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 2;
}
.pcard-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(131, 142, 124, 0.30);
  transition: background-color .2s, transform .2s;
}
.pcard-dot.active {
  background: var(--soul);
  transform: scale(1.3);
}

.pcard-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.pcard-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}
.pcard-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  margin: 0 0 4px;
  line-height: 1.5;
  text-wrap: pretty;
}
.pcard-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}
.pcard-bullets span {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--soul);
  background: rgba(131, 142, 124, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  flex-wrap: wrap;          /* CTA baja si el precio es largo */
}
.pcard-price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  color: var(--pink);
  overflow-wrap: break-word;
  min-width: 0;
}
.pcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--pink);
  color: var(--warm);
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color .2s;
}
.pcard-cta:hover { background: var(--pink-deep); }
.pcard-cta svg { width: 14px; height: 14px; }

/* SVG placeholder for missing products */
.pcard-placeholder {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, var(--cream) 0%, var(--warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pcard-placeholder::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 16px;
  background:
    repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 14px);
  opacity: 0.6;
}
.pcard-placeholder span {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--soul);
  text-align: center;
  padding: 0 12px;
  z-index: 1;
  background: rgba(255, 250, 245, 0.85);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

/* ---------- CATALOG ---------- */
.catalog {
  padding: var(--gap-section) 0;
  background: var(--cream);
}
.catalog-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
@media (min-width: 1024px) {
  .catalog-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 32px;
  }
  .catalog-head .section-sub { max-width: 36ch; margin: 0; }
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 18px;
  margin: 0 -20px 8px;
  padding-left: 20px;
  padding-right: 20px;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .filters {
    flex-wrap: wrap;
    overflow-x: visible;
    margin: 0 0 8px;
    padding: 4px 0 4px;
  }
}
.filter {
  flex-shrink: 0;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--warm);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
}
.filter:hover { color: var(--text); border-color: var(--soul); }
.filter.active {
  background: var(--text);
  color: var(--warm);
  border-color: var(--text);
}

.catalog-note {
  font-size: 13px;
  color: var(--soul);
  background: var(--rose);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  margin-bottom: 20px;
  display: inline-block;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1200px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.catalog-foot {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Catalog cards slightly tighter on mobile */
@media (max-width: 767px) {
  .catalog-grid .pcard-body { padding: 14px 14px 16px; }
  .catalog-grid .pcard-title { font-size: 15px; }
  .catalog-grid .pcard-desc { display: none; }
  .catalog-grid .pcard-bullets { display: none; }
  .catalog-grid .pcard-price { font-size: 18px; }
  .catalog-grid .pcard-cta { height: 34px; padding: 0 12px; font-size: 11.5px; }
}

/* ---------- STEPS ---------- */
.steps {
  padding: var(--gap-section) 0;
  background: var(--warm);
}
.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 56px;
  counter-reset: step;
  position: relative;
}
@media (min-width: 900px) {
  .steps-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
  .steps-list::before {
    content: "";
    position: absolute;
    top: 32px; left: 8%; right: 8%;
    height: 1px;
    background: var(--line);
    z-index: 0;
  }
}
.steps-list li {
  position: relative;
  padding-top: 8px;
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--pink);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.steps-list h3 { font-size: 16px; }
.steps-list p { color: var(--text-soft); font-size: 14.5px; margin: 0; }

/* ---------- PERSONALIZE & CORPORATE (split layouts) ---------- */
.personalize, .corporate {
  padding: var(--gap-section) 0;
}
.corporate { background: var(--warm); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.split-text p { color: var(--text-soft); margin: 0 0 22px; font-size: 16px; max-width: 46ch; }

.bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 28px;
}
.bullets.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.45;
}
.b-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  margin-top: 8px;
  flex-shrink: 0;
}

.split-media {
  position: relative;
}
.split-media.reversed { order: -1; }
@media (min-width: 1024px) { .split-media.reversed { order: 0; } }

.split-media-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-media-frame.light { background: var(--cream); }
.split-media-frame img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6%;
}
.split-media-tag {
  position: absolute;
  bottom: -18px; right: 18px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.split-media-tag .tag-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--pink);
}

/* ---------- SEASONAL ---------- */
.seasonal {
  position: relative;
  padding: var(--gap-section) 0;
  background: var(--cream);
  overflow: hidden;
}
.seasonal-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
}
.seasonal-blob.a {
  top: -50px; left: -80px;
  width: 320px; height: 320px;
  background: var(--rose);
  opacity: 0.45;
}
.seasonal-blob.b {
  bottom: -80px; right: -100px;
  width: 380px; height: 380px;
  background: var(--rose);
  opacity: 0.30;
}
.seasonal-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ---------- CLIENTS — marquee carousel (gallery + testi merged) ---------- */
.clients {
  padding: var(--gap-section) 0;
  background: var(--warm);
}
.marquee {
  margin-top: 48px;
  position: relative;
  overflow: hidden;
  cursor: grab;
  /* fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee.dragging { cursor: grabbing; }
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 8px 0;
  animation: marquee-scroll 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track,
.marquee.paused .marquee-track {
  animation-play-state: paused;
}
.marquee.user-drag .marquee-track {
  animation: none;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-card {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  height: 400px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  user-select: none;
}
@media (min-width: 768px) {
  .client-card { width: 360px; height: 420px; }
}
.client-card img,
.client-card .client-placeholder {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.client-card .client-placeholder {
  background:
    radial-gradient(closest-side, var(--rose) 0%, transparent 70%) center / 80% 80% no-repeat,
    repeating-linear-gradient(135deg, var(--line) 0 1px, var(--cream) 1px 14px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(71, 67, 58, 0) 25%,
    rgba(71, 67, 58, 0.55) 65%,
    rgba(71, 67, 58, 0.88) 100%);
  pointer-events: none;
}
.client-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px 24px;
  color: var(--warm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.client-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
  color: var(--warm);
  margin: 0;
  text-wrap: pretty;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
}
.client-quote::before {
  content: "“";
  display: inline-block;
  margin-right: 2px;
  color: var(--rose);
  opacity: 0.85;
}
.client-who {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
}
.client-who strong {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.client-who span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 245, 0.8);
}

/* ---------- FAQ ---------- */
.faq {
  padding: var(--gap-section) 0;
  background: var(--warm);
}
.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--pink); }
.chev {
  width: 14px; height: 14px;
  border-right: 1.5px solid var(--soul);
  border-bottom: 1.5px solid var(--soul);
  transform: rotate(45deg);
  transition: transform .3s ease;
  flex-shrink: 0;
  margin-right: 4px;
}
.faq-list details[open] .chev { transform: rotate(-135deg); }
.faq-body {
  padding: 0 4px 22px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 64ch;
}
.faq-body p { margin: 0; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
  }
}
.footer-logo {
  height: 88px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
}
@media (min-width: 768px) {
  .footer-logo { height: 112px; }
}
.footer-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--pink);
  margin: 0 0 6px;
}
.footer-small {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0;
}
.footer h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soul);
  margin: 0 0 16px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul li, .footer ul a { font-size: 14px; color: var(--text); }
.footer ul a:hover { color: var(--pink); }

.footer-bottom {
  background: rgba(232, 217, 201, 0.45);
  padding: 18px 0;
  font-size: 12.5px;
  color: var(--text-soft);
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .footer-bottom .container { flex-direction: row; }
}
.footer-bottom .made em {
  font-family: var(--font-serif);
  color: var(--pink);
  font-style: italic;
  font-size: 14px;
}

/* ---------- FLOATING WHATSAPP ---------- */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(203, 96, 116, 0.35);
  z-index: 70;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease, background-color .2s;
  animation: wa-breath 4s ease-in-out infinite;
}
.wa-float.show { transform: translateY(0); opacity: 1; }
.wa-float:hover { background: var(--pink-deep); }
@media (min-width: 1024px) {
  .wa-float { right: 28px; bottom: 28px; width: 60px; height: 60px; }
}

.wa-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text);
  color: var(--warm);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.wa-tip::after {
  content: "";
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--text);
}
@media (min-width: 1024px) {
  .wa-float:hover .wa-tip { opacity: 1; }
}

@keyframes wa-breath {
  0%, 100% { box-shadow: 0 10px 28px rgba(203, 96, 116, 0.35), 0 0 0 0 rgba(203, 96, 116, 0.4); }
  50% { box-shadow: 0 10px 28px rgba(203, 96, 116, 0.35), 0 0 0 14px rgba(203, 96, 116, 0); }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(71, 67, 58, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.show { opacity: 1; }
.lb-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  z-index: 2;
}
.lb-inner {
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  background: var(--warm);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 900px) {
  .lb-inner { grid-template-columns: 60% 40%; }
}
.lb-media {
  background: var(--cream);
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.lb-track {
  display: flex;
  height: 100%;
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lb-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-slide img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6%;
}
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
.lb-arrow.prev { left: 14px; }
.lb-arrow.next { right: 14px; }
.lb-arrow svg { width: 18px; height: 18px; }

.lb-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.lb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(131, 142, 124, 0.3);
}
.lb-dot.active { background: var(--soul); }

.lb-info {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 50vh;
}
@media (min-width: 900px) { .lb-info { max-height: none; padding: 36px 32px; } }
.lb-info .eyebrow { margin: 0; }
.lb-info h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
}
.lb-info .price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  color: var(--pink);
}
.lb-info .desc {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.lb-info .pcard-bullets { margin: 4px 0 8px; }
.lb-info .btn { margin-top: 6px; }

/* ---------- MODAL FORM ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(71, 67, 58, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity .25s ease;
}
.modal.show { opacity: 1; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--text);
  font-size: 26px;
  z-index: 2;
}
.modal-card {
  background: var(--warm);
  border-radius: 20px;
  padding: 28px 22px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
}
.modal-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin: 8px 0 18px;
}
.modal-title em { color: var(--pink); }

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soul);
}
.form input,
.form select,
.form textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .2s, background-color .2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: var(--warm);
}
.form-note {
  font-size: 12px;
  color: var(--soul);
  text-align: center;
  margin: 0;
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s cubic-bezier(0.4, 0, 0.2, 1),
              transform .8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   MOBILE RESPONSIVE OVERRIDES — ≤ 767 px
   ========================================================== */

/* ── Hero mobile ≤430px: layout, texto y sombras ────────────────────────
   Video y overlay gestionados por el bloque "FIX MANUAL" al final del archivo. */
@media (max-width: 430px) {
  .hero {
    align-items: flex-start;
    padding: 28px 0 0;
  }

  .hero-text { max-width: 90%; }

  .hero-sub {
    font-size: 15px !important;
    line-height: 1.58;
    max-width: 33ch !important;
    width: auto !important;
  }

  /* Text-shadow claro en TODOS los textos, incluyendo .hero-micro */
  .hero-text .eyebrow,
  .hero-text .display,
  .hero-sub,
  .hero-micro {
    text-shadow: 0 1px 8px rgba(248, 224, 208, 0.96), 0 2px 18px rgba(248, 224, 208, 0.55);
  }
}

/* ── Hero: móvil medio 431–767px ─────────────────────────────────────────
   Layout horizontal: overlay lateral, video desplazado a la derecha. */
@media (min-width: 431px) and (max-width: 767px) {
  .hero {
    align-items: center;
    padding: 44px 0 52px;
    min-height: clamp(480px, 82vh, 640px);
  }

  /* Desplaza el contenido del video hacia la derecha */
  .hero-bg-video,
  .hero-bg-fallback { object-position: 72% center; }

  /* Overlay horizontal más ancho: texto queda en zona opaca */
  .hero-grad-bridge {
    width: 80%;
    top: 0; bottom: 0; left: 0;
    background: linear-gradient(
      90deg,
      var(--hero-left-bg)           0%,
      var(--hero-left-bg)           44%,
      rgba(248, 224, 208, 0.85)     62%,
      rgba(248, 224, 208, 0)        100%
    );
  }

  .hero-text { max-width: 78%; }

  .hero-sub {
    font-size: 15px !important;
    line-height: 1.58;
    max-width: 30ch !important;
    width: auto !important;
  }

  .hero-text .display {
    text-shadow: 0 1px 12px rgba(248, 224, 208, 0.82);
  }
}

/* ==========================================================
   TABLET RESPONSIVE OVERRIDES — 768 px – 1023 px
   ========================================================== */

/* Hero + promo tablet 768–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    min-height: clamp(460px, 68vh, 600px);
    padding: 60px 0 72px;
  }

  .hero-bg-video,
  .hero-bg-fallback { object-position: 72% center; }

  .hero-grad-bridge {
    left: 0;
    top: 0;
    bottom: 0;
    width: 66%;
    background: linear-gradient(
      90deg,
      var(--hero-left-bg)           0%,
      var(--hero-left-bg)           40%,
      rgba(248, 224, 208, 0.85)     54%,
      rgba(248, 224, 208, 0.18)     70%,
      rgba(248, 224, 208, 0)        100%
    );
  }

  .hero-left-bg,
  .hero-media { inset: 0; }

  .promo-media {
    min-height: 240px;
    height: 100%;
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .wa-float { animation: none; }
  /* Stop hero video, keep poster */
  .hero-bg-video { display: none; }
  /* Stop marquee */
  .marquee-track { animation: none !important; }
  /* Stories: only first slot, no cross-fade */
  .hero-stories .story { display: none; }
  .hero-stories .story.active { display: block; opacity: 1; }
  .story-dots { display: none; }
}

/* FIX MANUAL — Hero mobile video placement
   No usar scale(), mask-image ni clip-path.
   Se reduce el tamaño visual haciendo que el video ocupe una franja más baja del hero. */
@media (max-width: 430px) {
  .hero {
    min-height: 800px !important;
  }

  .hero-media {
    inset: 0 !important;
    overflow: hidden !important;
    background: var(--hero-left-bg) !important;
  }

  .hero-bg-video,
  .hero-bg-fallback {
    position: absolute !important;
    top: 49% !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;

    width: 100% !important;
    height: 50% !important;

    object-fit: cover !important;
    object-position: center 52% !important;

    transform: scale(1.50) !important;
    transform-origin: center center !important;
    clip-path: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .hero-grad-bridge {
    width: 100% !important;
    inset: 0 !important;
    background: linear-gradient(
      180deg,
      var(--hero-left-bg) 0%,
      var(--hero-left-bg) 38%,
      rgba(248, 224, 208, 0.72) 48%,
      rgba(248, 224, 208, 0.28) 62%,
      rgba(248, 224, 208, 0) 100%
    ) !important;
  }
}
/* FIX MANUAL — Hero tablet final v2
   Mueve visualmente el video hacia la derecha sin mover el contenedor.
   No toca mobile ni desktop. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    overflow: hidden !important;
  }

  .hero-left-bg {
    width: 56% !important;
    height: 100% !important;
    inset: 0 auto 0 0 !important;
    background: var(--hero-left-bg) !important;
  }

  .hero-grad-bridge {
    width: 86% !important;
    height: 100% !important;
    inset: 0 auto 0 0 !important;
    background: linear-gradient(
      90deg,
      var(--hero-left-bg) 0%,
      var(--hero-left-bg) 48%,
      rgba(248, 224, 208, 0.92) 60%,
      rgba(248, 224, 208, 0.48) 76%,
      rgba(248, 224, 208, 0) 100%
    ) !important;
  }

  .hero-media {
  top: -10% !important;
  right: 0 !important;
  bottom: -12% !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
}

  .hero-bg-video,
  .hero-bg-fallback {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: translate(28%, 10%) scale(1.06) !important;
    transform-origin: center center !important;
  }
}
/* FIX MANUAL — Promo banner background
   Quita fondos exteriores del banner, incluso cuando Google Sheets re-renderiza anuncios. */
.promo-banner,
.promo-slide,
.promo-slide[style] {
  background: transparent !important;
}

.promo-banner {
  padding-left: 20px;
  padding-right: 20px;
}