/* ============================================================
   CHAPUCICA — style.css
   Brand: Playful but premium badge studio
   Palette: Teal + Gold from logo, warm cream, near-black
   Approach: Mobile-first
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  /* ── Colour palette — Chapucica brand ── */
  /* Source: turquoise fill + golden ring + black linework from logo */
  --c-white:          #FFFFFF;
  --c-cream:          #FEFCF5;        /* warm white page background */
  --c-cream-mid:      #F6F3EC;
  --c-cream-deep:     #EDE8DC;
  --c-teal:           #6EC8B3;        /* logo turquoise — primary accent */
  --c-teal-dark:      #4BAD98;        /* hover / active */
  --c-teal-deep:      #2E9080;        /* high-contrast teal */
  --c-teal-light:     #E8F7F4;        /* light teal tint for backgrounds */
  --btn-primary:        #5DBAA6;        /* buttons — slightly darker than logo teal */
  --btn-primary-hover:  var(--c-teal-dark);
  --c-gold:           #F0C24A;        /* logo golden ring */
  --c-gold-dark:      #D4A730;        /* gold hover */
  --c-gold-light:     #FEF5D7;        /* light gold background */
  --c-ink:            #1A1814;        /* near-black from linework */
  --c-ink-80:         rgba(26,24,20,0.80);
  --c-ink-60:         rgba(26,24,20,0.60);
  --c-ink-40:         rgba(26,24,20,0.40);
  --c-ink-12:         rgba(26,24,20,0.12);
  --c-ink-06:         rgba(26,24,20,0.06);
  --c-ink-03:         rgba(26,24,20,0.03);
  --c-error:          #D94F3A;
  --c-success:        #3A9D6E;
  --c-success-light:  #EAF7F1;
  --c-wa-green:       #25D366;
  --c-wa-green-dark:  #1DA851;

  /* Semantic aliases */
  --color-bg:           var(--c-white);
  --color-bg-alt:       var(--c-cream);
  --color-text:         var(--c-ink);
  --color-text-muted:   var(--c-ink-60);
  --color-border:       var(--c-ink-12);
  --color-accent:       var(--c-teal);
  --color-accent-dark:  var(--c-teal-dark);
  --color-accent-light: var(--c-teal-light);
  --color-white:        var(--c-white);
  /* Keep champagne/bronze aliases so old references don't break */
  --c-champagne:        var(--c-gold-light);
  --c-bronze:           var(--c-teal);
  --c-bronze-dark:      var(--c-teal-dark);
  --c-bronze-light:     var(--c-teal-light);

  /* ── Typography ── */
  --font-heading: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading-soft: "SOFT" 80, "WONK" 1;
  --font-heading-calm: "SOFT" 50, "WONK" 0;
  --wave-mark-grey:   #8A8680;
  --wave-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 14' fill='none'%3E%3Cpath d='M1 10 C9 6 18 6 26 10 S34 10 35 10' stroke='%238A8680' stroke-width='1.75' stroke-linecap='round'/%3E%3Cpath d='M1 7 C9 3 18 3 26 7 S34 7 35 7' stroke='%238A8680' stroke-width='1.25' stroke-linecap='round'/%3E%3Cpath d='M1 4 C9 1 18 1 26 4 S34 4 35 4' stroke='%238A8680' stroke-width='1.25' stroke-linecap='round'/%3E%3C/svg%3E");

  --text-xs:   0.6875rem;   /* 11px */
  --text-sm:   0.8125rem;   /* 13px */
  --text-base: 1rem;        /* 16px */
  --text-md:   1.0625rem;   /* 17px */
  --text-lg:   1.1875rem;   /* 19px */
  --text-xl:   1.375rem;    /* 22px */
  --text-2xl:  1.75rem;     /* 28px */
  --text-3xl:  2.25rem;     /* 36px */
  --text-4xl:  3rem;        /* 48px */
  --text-5xl:  3.75rem;     /* 60px */
  --text-6xl:  4.75rem;     /* 76px */

  --leading-tight:  1.15;
  --leading-snug:   1.3;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* ── Spacing ── */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;
  --sp-32:  8rem;

  /* ── Layout ── */
  --container-max:     1200px;
  --container-pad:     1.25rem;
  --section-pad-y:     2.75rem;

  /* ── Radii ── */
  --r-sm:   0.5rem;
  --r-md:   0.875rem;
  --r-lg:   1.25rem;
  --r-xl:   1.75rem;
  --r-2xl:  2.5rem;
  --r-full: 9999px;

  /* ── Shadows (warm-tinted) ── */
  --shadow-xs: 0 1px 3px rgba(26,24,20,0.05);
  --shadow-sm: 0 2px 8px rgba(26,24,20,0.07), 0 1px 2px rgba(26,24,20,0.04);
  --shadow-md: 0 4px 20px rgba(26,24,20,0.09), 0 1px 4px rgba(26,24,20,0.05);
  --shadow-lg: 0 8px 36px rgba(26,24,20,0.11), 0 2px 8px rgba(26,24,20,0.06);
  --shadow-xl: 0 16px 56px rgba(26,24,20,0.13), 0 4px 16px rgba(26,24,20,0.07);
  --shadow-accent: 0 8px 28px rgba(196,149,106,0.35);

  /* ── Transitions ── */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:   150ms var(--ease-inout);
  --t-base:   250ms var(--ease-inout);
  --t-slow:   400ms var(--ease-out);
  --t-spring: 500ms var(--ease-out);

  /* ── Z-index ── */
  --z-below:   -1;
  --z-base:     0;
  --z-raised:   10;
  --z-sticky:   50;
  --z-overlay:  100;
  --z-modal:    200;
  --z-header:   400;
  --z-wa:       500;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  font-family: var(--font-body);
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  font-variation-settings: var(--font-heading-calm);
}
address { font-style: normal; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}


/* ============================================================
   3. LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  min-width: 0;
}

/* Section vertical rhythm */
.hero,
.occasions,
.categories,
.gallery,
.spotlight,
.assistant,
.pricing,
.faq,
.contact {
  padding-block: var(--section-pad-y);
}


/* ============================================================
   4. TYPOGRAPHY HELPERS
   ============================================================ */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-4);
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2.25rem;
  height: 0.875rem;
  background: var(--wave-mark) center / contain no-repeat;
  flex-shrink: 0;
}

.section-heading {
  font-size: var(--text-3xl);
  font-weight: 700;
  font-variation-settings: var(--font-heading-soft);
  color: var(--color-text);
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-5);
}

.section-subheading {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 52ch;
}

.section-header {
  margin-bottom: var(--sp-6);
}

/* ── Section wave dividers (consistent mobile + desktop) ── */
.section-wave {
  display: block;
  line-height: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: var(--wave-bg-top);
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 2.75rem;
  /* Evita hairline de 1px entre ola y sección en Safari iOS */
  margin-bottom: -1px;
}

.section-wave__surface {
  fill: var(--wave-bg-bottom);
}

.section-wave__stroke {
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.section-wave__stroke--1 {
  stroke: rgba(110, 200, 179, 0.32);
  stroke-width: 1.5;
}

.section-wave__stroke--2 {
  stroke: rgba(212, 167, 48, 0.24);
  stroke-width: 1.15;
}

.section-wave__stroke--3 {
  stroke: rgba(110, 200, 179, 0.18);
  stroke-width: 1;
}

.section-wave--cream-white {
  --wave-bg-top: var(--c-cream);
  --wave-bg-bottom: var(--c-white);
}

.section-wave--white-cream-mid {
  --wave-bg-top: var(--c-white);
  --wave-bg-bottom: var(--c-cream-mid);
}

.section-wave--cream-mid-cream {
  --wave-bg-top: var(--c-cream-mid);
  --wave-bg-bottom: var(--c-cream);
}

.section-wave--white-dark {
  --wave-bg-top: var(--c-white);
  --wave-bg-bottom: #151515;
}

.section-wave--dark-white {
  --wave-bg-top: #151515;
  --wave-bg-bottom: var(--c-white);
}

.section-wave--white-dark .section-wave__stroke--1,
.section-wave--dark-white .section-wave__stroke--1 {
  stroke: rgba(255, 255, 255, 0.12);
}

.section-wave--white-dark .section-wave__stroke--2,
.section-wave--dark-white .section-wave__stroke--2 {
  stroke: rgba(255, 255, 255, 0.08);
}

.section-wave--white-dark .section-wave__stroke--3,
.section-wave--dark-white .section-wave__stroke--3 {
  stroke: rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .section-heading { font-size: var(--text-4xl); }
  .container { --container-pad: 2rem; }
}

@media (min-width: 1024px) {
  :root { --section-pad-y: 3.25rem; }
}


/* ============================================================
   5. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background-color var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-base),
    transform var(--t-base);
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary */
.btn--primary {
  background-color: var(--btn-primary);
  color: var(--c-white);
  border: 2px solid var(--btn-primary);
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
  box-shadow: 0 12px 36px rgba(196,149,106,0.45);
  transform: translateY(-1px);
}

/* Secondary */
.btn--secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--c-ink-06);
  border-color: var(--c-ink-40);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.38;
  pointer-events: none;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* Large buttons on mobile */
@media (max-width: 480px) {
  .btn {
    padding: 1rem 2rem;
    font-size: var(--text-base);
    border-radius: var(--r-lg);
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   6. FORM ELEMENTS
   ============================================================ */

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  background-color: var(--c-white);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-ink-40);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--c-ink-40);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.15);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23978D83' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: var(--leading-normal);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-error {
  display: block;
  font-size: var(--text-xs);
  color: var(--c-error);
  margin-top: var(--sp-2);
  min-height: 1.2em;
  font-weight: 500;
}

.form-radio {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-right: var(--sp-4);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
}

.form-radio input[type="radio"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}

.form-fieldset-inline {
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.form-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
}

.form-checkbox a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
}

.form-checkbox a:hover {
  text-decoration-color: currentColor;
}


/* ============================================================
   7. HEADER / NAV
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

/* Blur on pseudo-element so fixed mobile nav is not clipped to header height */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: -1;
  pointer-events: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1rem var(--container-pad);
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}

.nav__logo:hover { opacity: 0.75; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-ink-80);
  letter-spacing: 0.005em;
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: width var(--t-base);
}

.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  margin-left: var(--sp-2);
  padding: 0.6rem 1.25rem;
  font-size: var(--text-sm);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast);
}

.nav__toggle:hover { background-color: var(--c-ink-06); }

.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
    position: relative;
    z-index: calc(var(--z-header) + 2);
  }

  .nav__cta { display: none; }

  .nav__menu {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-8);
    padding: var(--sp-12) var(--sp-8);
    padding-top: max(var(--sp-16), calc(env(safe-area-inset-top, 0px) + 3rem));
    padding-bottom: max(var(--sp-12), env(safe-area-inset-bottom, 0px));
    background-color: var(--c-white);
    box-shadow: none;
    border-radius: 0;
    transition: opacity var(--t-base);
    z-index: calc(var(--z-header) + 1);
    margin-left: 0;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__link {
    font-size: var(--text-xl);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
  }
}

@media (min-width: 769px) {
  .nav { padding: 1.25rem var(--container-pad); }
}


/* ============================================================
   8. HERO
   ============================================================ */

.hero {
  position: relative;
  padding-block: var(--sp-10) var(--sp-12);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(110,200,179,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(240,194,74,0.07) 0%, transparent 55%),
    var(--c-cream);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
  position: relative;
  z-index: var(--z-base);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-5);
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 2.25rem;
  height: 0.875rem;
  background: var(--wave-mark) center / contain no-repeat;
  border-radius: 0;
}

.hero__heading {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
  font-weight: 700;
  font-variation-settings: var(--font-heading-soft);
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: var(--sp-6);
}

/* Italic "unforgettable" style — targets the br+next line via em */
.hero__heading em,
.hero__heading i {
  font-style: italic;
  color: var(--color-accent);
}

.hero__subheading {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 44ch;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Visual / image side */
.hero__visual {
  position: relative;
  display: none;
}

.hero__image-wrap {
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--c-surface);
  box-shadow: var(--shadow-xl);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating badge */
.hero__badge {
  position: absolute;
  bottom: var(--sp-8);
  left: calc(var(--sp-8) * -1);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-5) var(--sp-6);
  background-color: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.hero__badge-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.hero__badge-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Scroll hint */
.hero__scroll-hint {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  position: absolute;
  bottom: var(--sp-10);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-40);
  font-weight: 600;
}

.hero__scroll-arrow {
  animation: heroScrollBounce 2s var(--ease-inout) infinite;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Tablet+ */
@media (min-width: 768px) {
  .hero {
    padding-block: var(--sp-14) var(--sp-16);
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }

  .hero__visual { display: block; }
  .hero__scroll-hint { display: flex; }
}

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


/* ============================================================
   9. OCCASIONS
   ============================================================ */

.occasions {
  background-color: var(--c-white);
}

.occasions .section-header { margin-bottom: var(--sp-10); }

.occasions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

@media (min-width: 480px) {
  .occasions__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .occasions__grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
}

.occasion-card__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-6) var(--sp-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-xl);
  background-color: var(--c-cream);
  transition:
    border-color var(--t-base),
    background-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-spring);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.occasion-card__btn:hover {
  border-color: var(--color-accent);
  background-color: var(--c-bronze-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.occasion-card__btn[aria-pressed="true"] {
  border-color: var(--color-accent);
  background-color: var(--color-accent-light);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.2), var(--shadow-md);
  transform: translateY(-3px);
}

.occasion-card__icon {
  font-size: 2.25rem;
  line-height: 1;
  display: block;
  transition: transform var(--t-spring);
}

.occasion-card__btn:hover .occasion-card__icon,
.occasion-card__btn[aria-pressed="true"] .occasion-card__icon {
  transform: scale(1.15) rotate(-4deg);
}

.occasion-card__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
  text-align: center;
}

.occasions__action {
  text-align: center;
}


/* ============================================================
   10. CATEGORIES
   ============================================================ */

.categories {
  background-color: var(--c-cream);
}

.categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

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

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

.category-card__link {
  display: block;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--t-base),
    transform var(--t-spring);
  background-color: var(--c-cream-deep);
}

.category-card__link:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.category-card__figure { position: relative; margin: 0; }

.category-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
  background:
    radial-gradient(ellipse at center, var(--c-cream-deep) 0%, var(--c-champagne) 100%);
}

.category-card__link:hover .category-card__image {
  transform: scale(1.04);
}

.category-card__info {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: var(--sp-10) var(--sp-6) var(--sp-5);
  background: linear-gradient(to top, rgba(26,24,20,0.65) 0%, rgba(26,24,20,0.1) 60%, transparent 100%);
  color: var(--c-white);
}

.category-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.category-card__count {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.85;
  text-transform: uppercase;
  background-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
}

.categories__action { text-align: center; }


/* ============================================================
   11. GALLERY
   ============================================================ */

/* ── Gallery section ── */
.gallery {
  background-color: var(--c-white);
}

/* ── Filter pills ── */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.gallery__filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: transparent;
  cursor: pointer;
  transition:
    background-color var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-base);
  -webkit-tap-highlight-color: transparent;
}

.gallery__filter-btn:hover {
  border-color: var(--c-ink-40);
  color: var(--color-text);
}

.gallery__filter-btn.is-active {
  background-color: var(--color-text);
  color: var(--c-white);
  border-color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

/* ── Masonry layout ── */
.gallery__masonry {
  columns: 2;
  column-gap: var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px)  { .gallery__masonry { columns: 3; column-gap: var(--sp-4); } }
@media (min-width: 1024px) { .gallery__masonry { columns: 4; } }

/* ── Gallery item ── */
.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--sp-3);
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--t-base),
    transform var(--t-spring),
    opacity 0.3s ease;
}

@media (min-width: 640px) { .gallery-item { margin-bottom: var(--sp-4); } }

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.015);
}

/* Hidden state (filter) */
.gallery-item.is-hidden {
  display: none;
}

/* Fade-in when items appear after filter */
.gallery-item.is-appearing {
  animation: itemAppear 0.4s var(--ease-out) both;
}

@keyframes itemAppear {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Figure & image ── */
.gallery-item__figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  display: block;
  background: linear-gradient(135deg, var(--c-cream-deep) 0%, var(--c-champagne) 100%);
}

.gallery-item__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
  /* Placeholder colour while loading */
  background: linear-gradient(135deg, var(--c-cream-mid) 0%, var(--c-cream-deep) 100%);
}

.gallery-item:hover .gallery-item__image {
  transform: scale(1.07);
}

/* ── Hover overlay with zoom hint ── */
.gallery-item__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0);
  transition: background 0.35s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-item__figure::after {
  background: rgba(26, 24, 20, 0.18);
}

/* Zoom icon */
.gallery-item__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover .gallery-item__zoom {
  opacity: 1;
}

.gallery-item__zoom-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-out);
}

.gallery-item:hover .gallery-item__zoom-icon {
  transform: scale(1.1);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
}

.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(18, 16, 14, 0.94);
  backdrop-filter: blur(12px) saturate(0.6);
  -webkit-backdrop-filter: blur(12px) saturate(0.6);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lightbox.is-open .lightbox__backdrop {
  opacity: 1;
}

.lightbox__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.90) translateY(12px);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.lightbox.is-open .lightbox__content {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--r-xl);
  object-fit: contain;
  box-shadow: 0 32px 96px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.3);
}

/* Close button */
.lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--c-white);
  color: var(--color-text);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-base), background-color var(--t-fast);
  flex-shrink: 0;
  z-index: 2;
}

.lightbox__close:hover {
  transform: scale(1.12) rotate(90deg);
  background-color: var(--c-cream);
}

/* Navigation arrows */
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--c-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background-color var(--t-fast), transform var(--t-base);
  z-index: 2;
}

.lightbox__prev { left: -60px; }
.lightbox__next { right: -60px; }

.lightbox__prev:hover { background-color: rgba(255,255,255,0.22); transform: translateY(-50%) scale(1.08); }
.lightbox__next:hover { background-color: rgba(255,255,255,0.22); transform: translateY(-50%) scale(1.08); }

@media (max-width: 640px) {
  .lightbox__prev { left: var(--sp-3); }
  .lightbox__next { right: var(--sp-3); }
  .lightbox__close { top: -12px; right: -12px; }
}

/* Counter */
.lightbox__counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  white-space: nowrap;
}


/* ============================================================
   12. PERSONALISATION ASSISTANT
   ============================================================ */

.assistant {
  background-color: var(--c-cream);
}

.assistant__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: flex-start;
}

@media (min-width: 900px) {
  .assistant__inner {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--sp-20);
  }
}

.assistant__intro .section-heading { margin-bottom: var(--sp-4); }
.assistant__intro .section-subheading { margin-bottom: var(--sp-6); }

.assistant__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border);
}

.assistant__benefit {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.assistant__benefit-icon {
  font-size: var(--text-lg);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--c-white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

/* Form card */
.assistant__form-wrap {
  background-color: var(--c-white);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

@media (min-width: 480px) {
  .assistant__form-wrap { padding: var(--sp-10) var(--sp-12); }
}

.form-step { border: none; }

.form-step__legend {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-40);
  margin-bottom: var(--sp-6);
}

/* Progress dots */
.form-progress {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  align-items: center;
}

.form-progress__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-border);
  transition: background-color var(--t-base), width var(--t-base);
}

.form-progress__dot.is-active {
  background-color: var(--color-accent);
  width: 20px;
  border-radius: var(--r-full);
}

.form-progress__dot.is-done {
  background-color: var(--c-bronze-dark);
  opacity: 0.4;
}

/* Nav buttons */
.form-nav {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.form-nav .btn { flex: 1; }

/* Success state */
.assistant__success {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
}

.assistant__success-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: var(--sp-5);
  animation: popIn 0.5s var(--ease-out);
}

@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.assistant__success-heading {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-4);
  color: var(--color-text);
}

.assistant__success p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--sp-8);
  line-height: var(--leading-loose);
}


/* ============================================================
   12b. SPOTLIGHT — Monthly inspiration (reusable structure)
   ============================================================ */

.spotlight {
  position: relative;
  padding-block: var(--section-pad-y);
  background: linear-gradient(165deg, #151515 0%, #202020 55%, #1a1a1a 100%);
  color: var(--c-white);
  overflow: hidden;
}

.spotlight__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.spotlight__inner {
  position: relative;
  z-index: var(--z-base);
}

.spotlight__header {
  margin-bottom: var(--sp-8);
}

.spotlight__heading {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  font-variation-settings: var(--font-heading-soft);
  color: var(--c-white);
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-5);
  max-width: none;
  width: 100%;
}

.spotlight__text {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--leading-loose);
  max-width: none;
}

.spotlight__text + .spotlight__text {
  margin-top: var(--sp-4);
}

/* ── Campaign scene (road + vehicle) ── */
.spotlight__scene {
  margin-block: var(--sp-8);
}

.spotlight__road {
  position: relative;
  height: 3.5rem;
  max-width: 100%;
}

.spotlight__road-surface {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--r-full);
}

.spotlight__road-dash {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.38) 0 14px,
    transparent 14px 28px
  );
  border-radius: var(--r-full);
}

.spotlight__vehicle {
  position: absolute;
  bottom: 50%;
  left: 0;
  height: 1.5rem;
  width: auto;
  display: block;
  animation: spotlight-vehicle-drive 12s linear infinite;
  will-change: left;
}

@keyframes spotlight-vehicle-drive {
  0%   { left: -8%;  opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { left: 108%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight__vehicle {
    animation: none;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.92;
  }
}

/* ── Product cards ── */
.spotlight__products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .spotlight__products {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
  }
}

.spotlight-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: var(--sp-6) var(--sp-5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  text-align: center;
  transition: border-color var(--t-base), background-color var(--t-base);
}

.spotlight-card__inner:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.spotlight-card__media {
  width: min(100%, 9.5rem);
  aspect-ratio: 1;
  margin-bottom: var(--sp-5);
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #2e2e2e 0%, #181818 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.spotlight-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .spotlight__header {
    margin-bottom: var(--sp-6);
  }

  .spotlight__scene {
    margin-block: var(--sp-6) var(--sp-10);
  }
}

@media (max-width: 767px) {
  .spotlight__inner {
    padding-inline: 0;
    max-width: 100%;
  }

  .spotlight__header {
    padding-inline: var(--container-pad);
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    margin-bottom: var(--sp-6);
  }

  .spotlight__heading {
    font-size: var(--text-xl);
    font-weight: 700;
    font-variation-settings: var(--font-heading-soft);
    letter-spacing: -0.01em;
    line-height: var(--leading-snug);
    white-space: normal;
    overflow-wrap: normal;
  }

  .spotlight__text {
    max-width: none;
  }

  .spotlight__scene {
    margin-block: var(--sp-6);
    width: 100%;
  }

  .spotlight__road-dash {
    left: 0;
    right: 0;
  }

  .spotlight__products {
    gap: var(--sp-3);
    padding-inline: 0;
  }

  .spotlight-card__inner {
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding-inline: var(--container-pad);
  }
}


/* ============================================================
   13. PRICING
   ============================================================ */

.pricing {
  background-color: var(--c-white);
}

.pricing .section-header { text-align: center; }
.pricing .section-subheading { margin-inline: auto; }

/* Toggle */
.pricing__toggle {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-12);
  background-color: var(--c-cream);
  padding: var(--sp-1);
  border-radius: var(--r-full);
  width: fit-content;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}

.pricing__toggle-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: transparent;
  cursor: pointer;
  transition: background-color var(--t-base), color var(--t-base), box-shadow var(--t-base);
}

.pricing__toggle-btn.is-active {
  background-color: var(--c-white);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.pricing__badge {
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px var(--sp-2);
  background-color: var(--c-success);
  color: var(--c-white);
  border-radius: var(--r-full);
}

/* Grid */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: stretch;
}

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

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

/* Card */
.pricing-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--sp-8);
  background-color: var(--c-cream);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-2xl);
  transition: box-shadow var(--t-base), transform var(--t-spring);
}

.pricing-card__inner:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pricing-card--featured .pricing-card__inner {
  background-color: var(--color-text);
  border-color: var(--color-text);
  color: var(--c-white);
  box-shadow: var(--shadow-xl);
}

.pricing-card--featured .pricing-card__inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(26,24,20,0.2), var(--shadow-md);
}

.pricing-card__badge {
  position: absolute;
  top: calc(var(--sp-4) * -1);
  left: 50%;
  transform: translateX(-50%);
  padding: var(--sp-1) var(--sp-5);
  background-color: var(--color-accent);
  color: var(--c-white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: var(--shadow-accent);
}

.pricing-card__header { margin-bottom: var(--sp-6); }

.pricing-card__name {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}

.pricing-card__description {
  font-size: var(--text-sm);
  opacity: 0.65;
  line-height: var(--leading-normal);
}

.pricing-card__price { margin-bottom: var(--sp-6); }

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  flex: 1;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.pricing-card:not(.pricing-card--featured) .pricing-card__features {
  border-top-color: var(--color-border);
}

.pricing-card__feature {
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: var(--leading-snug);
}

.pricing-card--featured .pricing-card__feature { opacity: 0.9; }

.pricing-card__feature--disabled {
  opacity: 0.35;
  text-decoration: line-through;
}

.pricing-card__cta { width: 100%; margin-top: auto; }

.pricing-card--featured .pricing-card__cta.btn--primary {
  background-color: var(--btn-primary);
  border-color: var(--btn-primary);
}

.pricing-card--featured .pricing-card__cta.btn--secondary {
  border-color: rgba(255,255,255,0.3);
  color: var(--c-white);
}

.pricing-card--featured .pricing-card__cta.btn--secondary:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}


/* ============================================================
   14. FAQ
   ============================================================ */

.faq {
  background-color: var(--c-cream);
}

.faq .section-header { max-width: 620px; }

.faq__list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq__item {
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background-color: var(--c-white);
  transition: box-shadow var(--t-base);
}

.faq__item:has(.faq__toggle[aria-expanded="true"]) {
  box-shadow: var(--shadow-md);
}

.faq__question { margin: 0; }

.faq__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  background-color: transparent;
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast);
  letter-spacing: -0.005em;
}

.faq__toggle:hover { background-color: var(--c-ink-03); }

.faq__icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  color: var(--color-text-muted);
  transition: transform var(--t-base), background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.faq__icon::before {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
  color: inherit;
  transform: translateY(-1px);
}

.faq__toggle[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--c-white);
}

.faq__answer {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.faq__answer[hidden] { display: none; }

.faq__answer p { max-width: 65ch; }


/* ============================================================
   15. CONTACT
   ============================================================ */

.contact {
  background-color: var(--c-white);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-10);
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.contact__header {
  width: 100%;
}

.contact__intro {
  max-width: 42ch;
  margin-inline: auto;
}

.contact__panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-8) var(--sp-6);
  background-color: var(--c-cream);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-2xl);
}

@media (min-width: 480px) {
  .contact__panel {
    padding: var(--sp-10) var(--sp-8);
  }
}

.contact__wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  width: 100%;
  max-width: 22rem;
  min-height: 3.5rem;
  padding: 1rem 1.5rem;
  border-radius: var(--r-lg);
  background-color: var(--c-wa-green);
  border: 2px solid var(--c-wa-green);
  color: var(--c-white);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 4px 16px rgba(37,211,102,0.35),
    0 1px 4px rgba(37,211,102,0.25);
  transition:
    background-color var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-spring),
    box-shadow var(--t-base);
  -webkit-tap-highlight-color: transparent;
}

.contact__wa-btn:hover {
  background-color: var(--c-wa-green-dark);
  border-color: var(--c-wa-green-dark);
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(37,211,102,0.48),
    0 2px 8px rgba(37,211,102,0.28);
}

.contact__wa-btn:active {
  transform: scale(0.98);
}

.contact__wa-btn svg {
  flex-shrink: 0;
}

.contact__channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4) var(--sp-8);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__channel {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
}

.contact__channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--c-white);
  border-radius: var(--r-md);
  font-size: var(--text-md);
  flex-shrink: 0;
}

.contact__channel-link {
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.contact__channel-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

@media (min-width: 900px) {
  .contact__inner {
    gap: var(--sp-12);
  }
}


/* ============================================================
   16. SITE FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--c-ink);
  color: var(--c-white);
  padding-top: var(--sp-16);
  position: relative;
  overflow: hidden;
}

/* Subtle warm radial glow */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,149,106,0.5), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1.2fr 2fr 1.4fr; }
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  display: block;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
  transition: opacity var(--t-fast);
}

.footer__logo:hover { opacity: 0.75; }

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.01em;
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}

.footer__social-link:hover {
  color: var(--c-white);
  border-color: rgba(255,255,255,0.4);
  background-color: rgba(255,255,255,0.08);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
}

.footer__nav-group h3,
.footer__nav-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: var(--sp-5);
}

.footer__nav-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__nav-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  transition: color var(--t-fast);
}

.footer__nav-link:hover { color: var(--c-white); }

/* Newsletter */
.footer__newsletter .footer__nav-heading {
  display: block;
  margin-bottom: var(--sp-3);
}

.footer__newsletter > p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-4);
  line-height: var(--leading-normal);
}

.footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__newsletter-form .form-input {
  background-color: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  color: var(--c-white);
  border-radius: var(--r-md);
}

.footer__newsletter-form .form-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.footer__newsletter-form .form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.2);
}

.footer__newsletter-form .btn--primary {
  width: 100%;
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
}

.footer__legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.01em;
}

.footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.footer__legal-link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--t-fast);
}

.footer__legal-link:hover { color: rgba(255,255,255,0.7); }


/* ============================================================
   17. BACK TO TOP
   ============================================================ */

.back-to-top {
  position: fixed;
  bottom: max(var(--sp-6), env(safe-area-inset-bottom, 0px));
  right: max(var(--sp-6), env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--c-white);
  color: var(--color-text);
  font-size: var(--text-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transition:
    transform var(--t-spring),
    box-shadow var(--t-base),
    opacity var(--t-base);
  z-index: var(--z-raised);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top[hidden] { display: none; }

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}


/* ============================================================
   18. WHATSAPP STICKY BUTTON
   ============================================================ */

.whatsapp-btn {
  position: fixed;
  bottom: max(var(--sp-6), env(safe-area-inset-bottom, 0px));
  left: max(var(--sp-6), env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 0.75rem 1.25rem 0.75rem 0.875rem;
  background-color: var(--c-wa-green);
  color: var(--c-white);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 24px rgba(37,211,102,0.40), var(--shadow-md);
  z-index: var(--z-wa);
  text-decoration: none;
  isolation: isolate;
  transition:
    background-color var(--t-fast),
    transform var(--t-spring),
    box-shadow var(--t-base);
  -webkit-tap-highlight-color: transparent;
  animation: waSlideIn 0.6s 1.5s var(--ease-out) both;
}

@keyframes waSlideIn {
  from { transform: translateY(12px) scale(0.92); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.whatsapp-btn:hover {
  background-color: var(--c-wa-green-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(37,211,102,0.50), var(--shadow-lg);
}

.whatsapp-btn:active {
  transform: scale(0.96);
}

.whatsapp-btn__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.whatsapp-btn__label {
  display: none;
}

@media (min-width: 540px) {
  .whatsapp-btn__label { display: block; }
}

@media (max-width: 539px) {
  .whatsapp-btn {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    border-radius: 50%;
    gap: 0;
  }

  .whatsapp-btn__label {
    display: none;
  }

  .whatsapp-btn__icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  /* Pulse ring can clip fixed buttons on mobile — keep the icon clean */
  .whatsapp-btn::before {
    display: none;
  }
}

/* Pulse ring */
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background-color: var(--c-wa-green);
  opacity: 0;
  z-index: -1;
  animation: waPulse 2.5s 2s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.4; }
  100% { transform: scale(1.35); opacity: 0; }
}


/* ============================================================
   19. FOCUS & ACCESSIBILITY
   ============================================================ */

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   20. RESPONSIVE MOBILE OVERRIDES
   ============================================================ */

/* Prevent horizontal scroll on small screens */
@media (max-width: 768px) {
  .assistant,
  .hero,
  .spotlight,
  .pricing,
  .faq,
  .contact,
  .section-wave {
    overflow-x: hidden;
    max-width: 100%;
    min-width: 0;
  }

  .moments,
  .moments-carousel {
    max-width: 100%;
    overflow-x: hidden;
  }

  .wizard__card {
    max-width: 100%;
  }
}

/* Small phones — generous tap targets, readable text */
@media (max-width: 380px) {
  :root { --container-pad: 1rem; }
  .section-heading { font-size: var(--text-2xl); }
  .hero__heading { font-size: var(--text-3xl); }
  .occasions__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets */
@media (min-width: 768px) {
  :root { --section-pad-y: 3rem; }
  .whatsapp-btn__label { display: block; }
}

/* Large desktop */
@media (min-width: 1200px) {
  :root {
    --container-pad: 2.5rem;
    --section-pad-y: 3.75rem;
  }
}


/* ============================================================
   POLISH — Typography · Spacing · Animations · Accessibility
   Premium creative studio finish
   ============================================================ */


/* ── Skip-to-content link (keyboard users) ── */
.skip-link {
  position: fixed;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-6);
  background-color: var(--color-text);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(-100% - var(--sp-8)));
  transition: transform 0.25s var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: none; /* visible via position change */
}


/* Hero is above the fold — always visible on first paint */
.hero__content,
.hero__visual {
  opacity: 1;
  transform: none;
}

/* ── Section reveal — triggered by IntersectionObserver ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity  0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ── Typography ── */

/* Balanced line breaks on headings (supported in Chrome 114+, good fallback) */
h1, h2, h3, h4 { text-wrap: balance; }
p, li           { text-wrap: pretty; }

/* Hero heading — studio-scale size */
.hero__heading {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-variation-settings: var(--font-heading-soft);
}

/* Section headings — slightly tighter on mobile */
@media (max-width: 480px) {
  .section-heading { font-size: var(--text-2xl); }
}

/* Eyebrow refinement — smaller tracking */
.section-eyebrow,
.hero__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
}

/* Subheading breathing room */
.section-subheading {
  line-height: 1.75;
  margin-top: 0;
}


/* ── Buttons — refined feel ── */

/* Slightly taller, more generous horizontal padding */
.btn {
  padding: 0.9375rem 2rem;
  border-radius: var(--r-md);
  letter-spacing: 0.025em;
  font-size: var(--text-sm);
}

/* Primary: stronger shadow, cleaner glow */
.btn--primary {
  box-shadow: 0 4px 18px rgba(196,149,106,0.30), 0 1px 3px rgba(196,149,106,0.20);
}

.btn--primary:hover {
  box-shadow: 0 10px 32px rgba(196,149,106,0.42), 0 2px 6px rgba(196,149,106,0.22);
}

/* Secondary: softer border */
.btn--secondary {
  border-color: var(--c-ink-12);
  color: var(--c-ink-80);
}

.btn--secondary:hover {
  background-color: var(--c-ink-06);
  border-color: var(--c-ink-40);
  color: var(--color-text);
  transform: none; /* subtle — no lift on secondary */
}

/* Disabled state */
.btn:disabled,
.btn[disabled] {
  opacity: 0.38;
  box-shadow: none;
  pointer-events: none;
  cursor: not-allowed;
}

/* Large mobile buttons */
@media (max-width: 480px) {
  .btn {
    padding: 1rem 1.75rem;
    border-radius: var(--r-lg);
    font-size: var(--text-base);
  }
}


/* ── Cards — consistent depth system ── */

/* Category cards: softer, editorial shadow */
.category-card__link {
  box-shadow: 0 2px 12px rgba(26,24,20,0.06);
}

.category-card__link:hover {
  box-shadow: 0 12px 40px rgba(26,24,20,0.12), 0 2px 8px rgba(26,24,20,0.06);
}

/* Gallery items: same treatment */
.gallery-item {
  box-shadow: 0 2px 10px rgba(26,24,20,0.06);
}

.gallery-item:hover {
  box-shadow: 0 10px 32px rgba(26,24,20,0.12), 0 2px 6px rgba(26,24,20,0.06);
}

/* Pricing card: remove redundant hover transform on mobile */
@media (max-width: 480px) {
  .pricing-card__inner:hover { transform: none; }
}

/* Wizard card: more generous internal spacing on desktop */
@media (min-width: 640px) {
  .wizard__viewport { padding: var(--sp-12) var(--sp-10); }
}


/* ── Forms — polished inputs ── */

.form-label {
  font-weight: 500;
  color: var(--c-ink-80);
  font-size: var(--text-sm);
}

/* Better placeholder contrast */
.form-input::placeholder,
.form-textarea::placeholder,
.wizard__textarea::placeholder {
  color: rgba(26,24,20,0.32);
  font-style: italic;
}

/* Input hover state */
.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(26,24,20,0.30);
}

/* Input error state */
.form-input.has-error,
.form-textarea.has-error {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px rgba(217,79,58,0.12);
}


/* ── Hover effects ── */

/* Nav logo: subtle opacity on hover (already defined; reinforce) */
.nav__logo { transition: opacity var(--t-fast), color var(--t-fast); }

/* Occasion card emoji bounce */
.occasion-card__btn:hover .occasion-card__icon,
.occasion-card__btn[aria-pressed="true"] .occasion-card__icon {
  transform: scale(1.2) rotate(-5deg);
}

/* Wizard option scale on hover */
.wizard__opt:hover {
  transform: translateY(-3px);
}

/* Gallery image zoom is already 1.07; ensure GPU acceleration */
.gallery-item__image {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Hero badge: gentle float animation */
.hero__badge {
  animation: badgeFloat 4s ease-in-out infinite;
}

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


/* ── Accessibility ── */

/* Global focus ring: accent-coloured, offset */
:focus-visible {
  outline: 2.5px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

/* On dark backgrounds (footer) */
.site-footer :focus-visible {
  outline-color: var(--c-champagne);
}

/* Ensure interactive elements have minimum tap target */
.nav__link,
.footer__nav-link,
.footer__legal-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* High-contrast mode support */
@media (forced-colors: active) {
  .btn--primary   { border: 2px solid ButtonText; }
  .wizard__opt    { border: 2px solid ButtonText; }
  .lightbox__img  { border: 2px solid ButtonText; }
}


/* ── Performance ── */

/* Hint the browser about which elements will animate */
.gallery-item,
.category-card__link,
.wizard__opt,
.occasion-card__btn {
  will-change: transform;
}

/* Contain gallery layout so masonry reflows don't affect the rest of the page */
.gallery__masonry { contain: layout; }
.gallery-item     { contain: style layout; }

/* Images: prevent layout shift while loading */
.gallery-item__image,
.category-card__image,
.hero__image {
  display: block;
  width: 100%;
  height: auto;
}


/* ── Responsive polish ── */

/* Stacked hero actions on mobile */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn { text-align: center; }
}

/* Occasions: 2-col on very small screens */
@media (max-width: 360px) {
  .occasions__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Pricing: single column stacked on mobile */
@media (max-width: 500px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

/* Tighter container padding on the smallest phones */
@media (max-width: 360px) {
  :root { --container-pad: 0.875rem; }
}

/* FAQ answer spacing */
.faq__answer p + p { margin-top: var(--sp-3); }

/* Footer: reorder on very small screens */
@media (max-width: 400px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ── Scrollbar styling (webkit) ── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-champagne); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }


/* ── Programmatic focus: suppress visible ring on non-interactive elements ── */
.wizard__question:focus {
  outline: none;
}

/* ── Selection colour ── */
::selection {
  background-color: rgba(110,200,179,0.25);
  color: var(--color-text);
}


/* ============================================================
   CHAPUCICA BRAND — Logo in nav, new section styles
   ============================================================ */


/* ── Nav: logo with image ── */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.nav__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  font-variation-settings: var(--font-heading-soft);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  color: var(--c-white);
  font-family: var(--font-heading);
  font-weight: 700;
}

.footer__logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.9;
}


/* ── Hero: real image ── */
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-xl);
}

.hero__image-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background-color: var(--c-teal-light);
}


/* ── Gallery note ── */
.gallery__note {
  text-align: center;
  margin-top: var(--sp-10);
  color: var(--c-ink-60);
  font-size: var(--text-sm);
}

.gallery__note-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t-fast);
}

.gallery__note-link:hover {
  color: var(--c-teal-dark);
}


/* ============================================================
   MOMENTOS REALES — Infinite horizontal carousel
   ============================================================ */

/* ── Section wrapper ── */
.moments {
  overflow: hidden;
  max-width: 100%;
}

.moments .section-header {
  margin-bottom: 0; /* carousel provides visual breathing room */
}

/* ── Carousel viewport ── */
.moments-carousel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-block: var(--sp-10);
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
  /* subtle top/bottom fade to give a premium edge-fade feel */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 4%,
    black 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 4%,
    black 96%,
    transparent 100%
  );
}

.moments-carousel:active {
  cursor: grabbing;
}

.moments-carousel:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* ── Track (populated by JS) ── */
.moments-track {
  display: flex;
  gap: 12px;                  /* fixed gap — JS reads this to compute loop point */
  padding-block: var(--sp-4); /* room for card shadows */
  list-style: none;
  margin: 0;
  padding-inline: 12px;       /* opening gap matches inter-card gap */
  width: max-content;         /* let cards define the width */
  will-change: transform;
  transform: translateZ(0);   /* own GPU layer */
  backface-visibility: hidden;
}

/* ── Cards ── */
.moment-card {
  flex-shrink: 0;
  /* Portrait 9:16 — natural format for Instagram Stories */
  width: 170px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 2px 8px  rgba(26, 24, 20, 0.08),
    0 6px 24px rgba(26, 24, 20, 0.10);
  background: var(--c-surface);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

@media (min-width: 480px) {
  .moment-card { width: 200px; }
}

@media (min-width: 768px) {
  .moment-card { width: 240px; }
}

@media (min-width: 1024px) {
  .moment-card { width: 280px; }
  .moments-track { gap: 16px; padding-inline: 16px; }
}

/* Zoom on hover — desktop only (avoids accidental zoom on touch) */
@media (hover: hover) {
  .moment-card:hover {
    transform: scale(1.04);
    box-shadow:
      0 4px 16px rgba(26, 24, 20, 0.12),
      0 16px 48px rgba(26, 24, 20, 0.16);
  }
}

/* ── Media inside cards ── */
.moment-card img,
.moment-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top; /* kill 3px inline gap */
}

/* ── CTA below carousel ── */
.moments-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  text-align: center;
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-8);
}

.moments-cta__text {
  font-size: var(--text-lg);
  color: var(--c-ink-60);
  font-weight: 400;
  margin: 0;
}

.moments-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.moments-cta__handle {
  font-size: var(--text-sm);
  color: var(--c-ink-40);
  margin: 0;
}

.moments-cta__handle a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t-fast);
}

.moments-cta__handle a:hover {
  color: var(--c-teal-dark);
}


/* ============================================================
   PRICING ACCORDION — Compact size blocks, all breakpoints
   ============================================================ */

.pricing-accordion-wrap {
  margin-top: var(--sp-10);
  max-width: 42rem;
  margin-inline: auto;
}

.pricing-accordion {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.pricing-accordion__item {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  background-color: var(--c-cream);
  overflow: hidden;
  scroll-margin-top: 5.5rem;
  transition: border-color var(--t-base), background-color var(--t-base), box-shadow var(--t-base);
}

.pricing-accordion__item.is-open {
  background-color: var(--c-white);
  border-color: rgba(110, 200, 179, 0.48);
  box-shadow: 0 4px 16px rgba(26, 24, 20, 0.05);
}

.pricing-accordion__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.pricing-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5) var(--sp-5);
  border: none;
  background-color: var(--c-cream);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}

.pricing-accordion__trigger:hover {
  background-color: var(--c-teal-light);
}

.pricing-accordion__item.is-open .pricing-accordion__trigger {
  background-color: var(--color-accent-light);
}

.pricing-accordion__trigger-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  min-width: 0;
}

.pricing-accordion__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.pricing-accordion__summary {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

.pricing-accordion__chevron {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: var(--c-white);
  border: 1.5px solid var(--color-border);
  position: relative;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), background-color var(--t-fast), border-color var(--t-fast);
}

.pricing-accordion__chevron::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.4375rem;
  height: 0.4375rem;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: translate(-50%, -65%) rotate(45deg);
  transition: border-color var(--t-fast);
}

.pricing-accordion__item.is-open .pricing-accordion__chevron {
  transform: rotate(180deg);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.pricing-accordion__item.is-open .pricing-accordion__chevron::before {
  border-color: var(--c-white);
}

.pricing-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: var(--c-white);
  transition: grid-template-rows 0.35s cubic-bezier(.22,1,.36,1);
}

.pricing-accordion__item.is-open .pricing-accordion__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  pointer-events: auto;
}

.pricing-accordion__panel[aria-hidden="true"] {
  grid-template-rows: 0fr;
  visibility: hidden;
  pointer-events: none;
}

.pricing-accordion__panel-inner {
  min-height: 0;
  overflow: hidden;
  background-color: var(--c-white);
}

.pricing-panel__options {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 var(--sp-5) var(--sp-5);
}

.pricing-panel__option {
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--color-border);
}

.pricing-panel__option:first-child {
  border-top: none;
  padding-top: var(--sp-3);
}

.pricing-panel__finish {
  margin: 0 0 var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pricing-panel__packs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  margin: 0;
}

.pricing-panel__packs > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1);
  min-width: 0;
  padding: var(--sp-3) var(--sp-4);
  background-color: var(--c-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
}

.pricing-panel__packs dt {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pricing-panel__packs dd {
  margin: 0;
  font-size: var(--text-base);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

@media (min-width: 480px) {
  .pricing-panel__packs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .pricing-panel__packs {
    gap: var(--sp-3) var(--sp-4);
  }

  .pricing-panel__packs > div {
    padding: var(--sp-4) var(--sp-5);
  }
}

.pricing-notes {
  list-style: none;
  margin: var(--sp-8) 0 0;
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  background-color: var(--c-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
}

.pricing-notes__item {
  position: relative;
  padding-left: 1.375rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

.pricing-notes__item::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--color-accent);
}


/* ============================================================
   INFORMACIÓN RELEVANTE
   ============================================================ */

.info-relevante {
  background: var(--c-cream-mid);
  padding-block: var(--section-pad-y);
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  list-style: none;
  padding: 0;
  margin-top: var(--sp-10);
}

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

.info-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: 0 2px 12px rgba(26,24,20,0.06);
  border: 1.5px solid var(--color-border);
  align-items: flex-start;
}

.info-card--notice {
  border-color: var(--c-gold);
  background: var(--c-gold-light);
}

.info-card__icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.info-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.info-card__text {
  font-size: var(--text-sm);
  color: var(--c-ink-80);
  line-height: var(--leading-normal);
}




/* ============================================================
   WIZARD — Multi-step quote assistant
   ============================================================ */

/* Override old .assistant inner layout */
.assistant {
  background-color: var(--c-cream);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.assistant__inner { display: block; }

/* Wrapper */
.wizard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Section header */
.wizard__header {
  text-align: center;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.wizard__header .section-heading { margin-bottom: var(--sp-4); }

.wizard__header-sub {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* ── Card ── */
.wizard__card {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  background-color: var(--c-white);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  overflow: visible;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 5.5rem;
}

/* ── Top bar ── */
.wizard__topbar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--c-cream);
}

/* Subtle back link — discoverable but not primary */
.wizard__back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  padding: var(--sp-2) var(--sp-3);
  margin: calc(var(--sp-1) * -1) 0;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  min-height: 44px;
}

.wizard__back-link:hover {
  color: var(--color-text);
  background-color: rgba(26, 24, 20, 0.05);
}

.wizard__back-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.wizard__back-link[hidden] {
  display: none;
}

.wizard__back-link-icon {
  font-size: var(--text-lg);
  line-height: 1;
  transition: transform var(--t-fast);
}

.wizard__back-link:hover .wizard__back-link-icon {
  transform: translateX(-2px);
}

.wizard__progress-wrap {
  flex: 1;
}

.wizard__progress-track {
  height: 4px;
  background-color: var(--c-champagne);
  border-radius: var(--r-full);
  overflow: hidden;
}

.wizard__progress-fill {
  height: 100%;
  width: 16.67%;
  background: linear-gradient(90deg, var(--c-bronze-dark), var(--color-accent));
  border-radius: var(--r-full);
  transition: width 0.5s var(--ease-out);
}

.wizard__step-counter {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Viewport — fixed min-height prevents card from resizing between steps ── */
.wizard__viewport {
  padding: var(--sp-8) var(--sp-6);
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
  /* Tall enough for step 1 (8 options in 2-col grid) so the card never shrinks */
  min-height: 440px;
}

@media (min-width: 768px) {
  .wizard__viewport {
    padding: var(--sp-10) var(--sp-8);
    min-height: 360px;
  }
}

/* Step 6 — compact layout: no tall empty gap above price summary */
.wizard__viewport--compact {
  min-height: 0;
  padding-bottom: var(--sp-4);
}

@media (min-width: 768px) {
  .wizard__viewport--compact {
    min-height: 0;
    padding-bottom: var(--sp-5);
  }
}

/* ── Steps & transitions ── */
.wizard__step {
  /* hidden by default — JS applies wizard__step--active */
}

.wizard__step[hidden] {
  display: none !important;
}

.wizard__step--active {
  animation: wStepIn 0.38s var(--ease-out) both;
}

.wizard__step--enter-back {
  animation: wStepInBack 0.38s var(--ease-out) both;
}

@keyframes wStepIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wStepInBack {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Question heading ── */
.wizard__question {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  font-variation-settings: var(--font-heading-soft);
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
  scroll-margin-top: 5.5rem;
}

@media (min-width: 480px) {
  .wizard__question { font-size: var(--text-3xl); }
}

.wizard__question-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: calc(var(--sp-3) * -1);
  margin-bottom: var(--sp-5);
  line-height: var(--leading-normal);
}

/* ── Base option button ── */
.wizard__opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: var(--sp-5) var(--sp-3);
  background-color: var(--c-cream);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-xl);
  cursor: pointer;
  text-align: center;
  transition:
    border-color var(--t-base),
    background-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-spring);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.wizard__opt:hover {
  border-color: var(--color-accent);
  background-color: var(--c-bronze-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.wizard__opt:active {
  transform: scale(0.97);
}

/* Selected state */
.wizard__opt.is-selected {
  border-color: var(--color-accent);
  background-color: var(--color-accent-light);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.22), var(--shadow-sm);
}

/* Muted "not sure yet" variant */
.wizard__opt--muted {
  background-color: var(--c-cream);
  border: 2px dashed rgba(26, 24, 20, 0.32);
}

.wizard__opt--muted:hover {
  border-style: dashed;
  border-color: var(--color-accent);
  background-color: var(--c-bronze-light);
}

/* Disabled option (e.g. abridor without 59 mm) */
.wizard__opt:disabled,
.wizard__opt.wizard__opt--disabled {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
  background-color: var(--c-cream);
  border-color: var(--color-border);
}

.wizard__opt:disabled:hover,
.wizard__opt.wizard__opt--disabled:hover {
  transform: none;
  border-color: var(--color-border);
  background-color: var(--c-cream);
  box-shadow: none;
}

.wizard__opt:disabled .wizard__opt-emoji,
.wizard__opt.wizard__opt--disabled .wizard__opt-emoji {
  transform: none;
  filter: grayscale(0.4);
  opacity: 0.75;
}

.wizard__opt:disabled .wizard__opt-label,
.wizard__opt:disabled .wizard__opt-note,
.wizard__opt.wizard__opt--disabled .wizard__opt-label,
.wizard__opt.wizard__opt--disabled .wizard__opt-note {
  color: var(--color-text-muted);
}

/* Emoji */
.wizard__opt-emoji {
  font-size: 2rem;
  line-height: 1;
  transition: transform var(--t-spring);
  display: block;
}

.wizard__opt:hover .wizard__opt-emoji,
.wizard__opt.is-selected .wizard__opt-emoji {
  transform: scale(1.18) rotate(-4deg);
}

/* Labels */
.wizard__opt-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: var(--leading-snug);
  overflow-wrap: anywhere;
  max-width: 100%;
}

.wizard__opt-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
  overflow-wrap: anywhere;
  max-width: 100%;
}

/* ── Grid layout (steps 1, 3) ── */
.wizard__opts {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}

.wizard__opts--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  /* Equal-height rows — all cells stretch to the tallest in the row */
  align-items: stretch;
}

/* li cells must be flex so the button can fill the cell height */
.wizard__opts--grid li,
.wizard__opts--sizes li,
.wizard__opts--quantities li {
  display: flex;
  min-width: 0;
}

/* Buttons fill their flex container for uniform height */
.wizard__opts--grid .wizard__opt,
.wizard__opts--sizes .wizard__opt {
  height: 100%;
  width: 100%;
  min-height: 120px;
}

@media (min-width: 768px) {
  .wizard__opts--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Size layout (step 2) ── */
.wizard__opts--sizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  align-items: stretch;
}

@media (min-width: 768px) {
  .wizard__opts--sizes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.wizard__opt--size {
  padding: var(--sp-4) var(--sp-3);
  gap: var(--sp-2);
}

/* Size rings — same visual slot as finish emojis */
.wizard__size-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--c-champagne);
  background-color: var(--c-white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
  transition:
    border-color var(--t-base),
    background-color var(--t-base);
  margin-inline: auto;
  flex-shrink: 0;
}

/* "Aún no lo sé" in size step — match the ring slot */
.wizard__opts--sizes .wizard__opt--muted .wizard__opt-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  line-height: 1;
  margin-inline: auto;
  flex-shrink: 0;
}

.wizard__opts--sizes .wizard__opt:hover .wizard__opt-emoji,
.wizard__opts--sizes .wizard__opt.is-selected .wizard__opt-emoji {
  transform: none;
}

.wizard__opt:hover .wizard__size-ring,
.wizard__opt.is-selected .wizard__size-ring {
  border-color: var(--color-accent);
  background-color: var(--color-accent-light);
}

/* Featured pill (Recommended) */
.wizard__opt--featured {
  padding-top: calc(var(--sp-5) + var(--sp-3));
}

.wizard__feat-pill {
  position: absolute;
  top: var(--sp-2);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-white);
  background-color: var(--color-accent);
  padding: 2px var(--sp-3);
  border-radius: var(--r-full);
}

/* ── Quantities layout (step 4) ── */
.wizard__opts--quantities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  align-items: stretch;
}

@media (min-width: 768px) {
  .wizard__opts--quantities {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.wizard__opt--qty {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  padding: var(--sp-6) var(--sp-2);
  gap: 0;
  border-radius: var(--r-lg);
  width: 100%;
  min-height: 72px;
}

.wizard__opt--qty.wizard__opt--muted {
  flex-direction: column;
  gap: var(--sp-1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  padding: var(--sp-4) var(--sp-2);
  min-height: 72px;
}

.wizard__opts--quantities .wizard__opt--muted .wizard__opt-emoji {
  font-size: var(--text-xl);
  line-height: 1;
}

.wizard__opts--quantities .wizard__opt--muted .wizard__opt-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-snug);
}

/* Last row on mobile: "Otra cantidad" | "Aún no lo sé" — natural 2-col flow */
.wizard__qty-custom-item,
.wizard__qty-unsure-item {
  position: relative;
  overflow: visible;
}

.wizard__opts--quantities .wizard__opt--qty,
.wizard__opts--quantities .wizard__opt--qty-custom {
  height: 100%;
}

/* Custom quantity — stacked in half-cell (mobile), horizontal when wider (desktop) */
.wizard__opt--qty-custom {
  cursor: pointer;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-2);
  min-height: 68px;
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
}

.wizard__opt-label--qty-custom {
  flex: 0 0 auto;
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text-muted);
  text-align: center;
}

.wizard__opt--qty-custom.is-selected .wizard__opt-label--qty-custom {
  color: var(--color-text);
}

.wizard__qty-custom-field {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1 1 auto;
  min-width: 0;
}

.wizard__opt--qty-custom .wizard__qty-custom-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 3.5rem;
  max-width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  background-color: var(--c-white);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  text-align: center;
  cursor: text;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}

.wizard__qty-custom-confirm {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--c-white);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--t-fast),
    opacity var(--t-fast),
    transform var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}

.wizard__qty-custom-confirm:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background-color: var(--c-champagne);
  color: var(--color-text-muted);
}

.wizard__opt--qty-custom.is-selected .wizard__qty-custom-confirm:not(:disabled) {
  background-color: var(--color-accent);
  color: var(--c-white);
}

.wizard__qty-custom-confirm:not(:disabled):hover {
  background-color: var(--color-accent-dark);
  transform: scale(1.06);
}

.wizard__qty-custom-confirm:not(:disabled):active {
  transform: scale(0.94);
}

.wizard__qty-custom-confirm:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.wizard__opt--qty-custom .wizard__qty-custom-input::placeholder {
  color: var(--color-text-muted);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: var(--text-xs);
}

.wizard__opt--qty-custom .wizard__qty-custom-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.15);
}

.wizard__opt--qty-custom.is-selected .wizard__qty-custom-input {
  border-color: rgba(196,149,106,0.55);
}

.wizard__opt--qty-custom .wizard__qty-custom-input.has-error {
  border-color: var(--c-error);
}

.wizard__opt--qty-custom .wizard__qty-custom-error {
  position: absolute;
  top: calc(100% + var(--sp-1));
  left: 0;
  right: 0;
  margin: 0;
  font-size: 0.6875rem;
  color: var(--c-error);
  line-height: var(--leading-normal);
  text-align: center;
  z-index: 2;
}

.wizard__qty-custom-error[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .wizard__opt--qty {
    font-size: var(--text-lg);
    padding: var(--sp-5) var(--sp-2);
    min-height: 68px;
  }

  .wizard__opt--qty-custom .wizard__qty-custom-input {
    font-size: var(--text-sm);
    padding: 0.375rem 0.4375rem;
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .wizard__opt--qty-custom {
    min-height: 72px;
    padding: var(--sp-3) var(--sp-2);
  }

  .wizard__opt--qty-custom .wizard__qty-custom-input {
    font-size: var(--text-sm);
    padding: 0.375rem 0.4375rem;
    min-width: 0;
  }

  .wizard__qty-custom-confirm {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.875rem;
  }
}

/* ── Card bottom: price, footer, legal note ── */
.wizard__card-bottom {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  margin-top: auto;
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
  overflow: hidden;
  background-color: var(--c-cream);
}

/* ── Price estimate (step 6) ── */
.wizard__price-slot {
  flex-shrink: 0;
  padding: var(--sp-4) var(--sp-6) 0;
  background-color: var(--c-white);
  scroll-margin-top: 5.5rem;
}

.wizard__price-slot[hidden] {
  display: none;
}

.wizard__price {
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-cream) 100%);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-sm);
}

.wizard__price--empty {
  text-align: center;
}

.wizard__price-empty-title {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.wizard__price-empty-text {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.wizard__price-eyebrow {
  margin: 0 0 var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.wizard__price-total {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
}

.wizard__price-note {
  margin: var(--sp-2) 0 var(--sp-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.wizard__price-breakdown {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--color-border);
}

.wizard__price-line {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.wizard__price-line-label {
  flex-shrink: 0;
}

.wizard__price-line-dots {
  flex: 1 1 auto;
  min-width: 1rem;
  border-bottom: 1px dotted var(--c-champagne);
  transform: translateY(-0.15em);
}

.wizard__price-line-value {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.wizard__price--ready .wizard__price-breakdown .wizard__price-line:last-child {
  margin-top: var(--sp-1);
  font-weight: 700;
  color: var(--color-text);
}

.wizard__price--ready .wizard__price-breakdown .wizard__price-line:last-child .wizard__price-line-value {
  font-weight: 700;
}

/* ── Design layout (step 4) ── */
.wizard__opts--design {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.wizard__opts--design-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 640px) {
  .wizard__opts--design-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wizard__opt--design-compact {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
  gap: var(--sp-3);
  min-height: 100%;
}

.wizard__opt--design-compact .wizard__opt-text {
  align-items: center;
}

.wizard__opt--design-compact .wizard__opt-label,
.wizard__opt--design-compact .wizard__opt-note {
  text-align: center;
}

.wizard__opt--design-compact .wizard__opt-arrow {
  display: none;
}

/* ── Chapa type: size + finish in one step ── */
.wizard__chapa-type {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

/* Unified card typography — size, finish & "Aún no lo sé" */
.wizard__chapa-type .wizard__opt {
  padding: var(--sp-4) var(--sp-3);
  gap: var(--sp-2);
  min-height: 108px;
}

.wizard__chapa-type .wizard__opt-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-snug);
}

.wizard__chapa-type .wizard__opt-note {
  font-size: var(--text-xs);
  font-weight: 400;
  line-height: var(--leading-snug);
}

.wizard__chapa-type .wizard__opt--muted .wizard__opt-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.wizard__chapa-part--finish .wizard__opt-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  line-height: 1;
  margin-inline: auto;
  flex-shrink: 0;
}

.wizard__subquestion {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.01em;
  scroll-margin-top: 5.5rem;
}

.wizard__chapa-part--finish {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.38s cubic-bezier(.22, 1, .36, 1), transform 0.38s cubic-bezier(.22, 1, .36, 1);
  scroll-margin-top: 5.5rem;
}

.wizard__chapa-part--finish.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .wizard__chapa-part--finish {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.wizard__opts--finish {
  margin-top: 0;
}

/* ── Design cards ── */
.wizard__opt--design-card {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  gap: var(--sp-4);
  border-radius: var(--r-xl);
}

.wizard__opt--design-card .wizard__opt-emoji {
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: transform var(--t-spring);
}

.wizard__opt--design-card:hover .wizard__opt-emoji,
.wizard__opt--design-card.is-selected .wizard__opt-emoji {
  transform: scale(1.2);
}

.wizard__opt-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.wizard__opt--design-card .wizard__opt-label {
  font-size: var(--text-base);
  text-align: left;
}

.wizard__opt--design-card .wizard__opt-note {
  text-align: left;
}

.wizard__opt-arrow {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  transition: transform var(--t-base), color var(--t-fast);
  flex-shrink: 0;
}

.wizard__opt--design-card:hover .wizard__opt-arrow,
.wizard__opt--design-card.is-selected .wizard__opt-arrow {
  transform: translateX(4px);
  color: var(--color-accent);
}

/* ── Notes (step 6) ── */
.wizard__textarea {
  display: block;
  width: 100%;
  min-height: 88px;
  padding: var(--sp-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-xl);
  background-color: var(--c-cream);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  resize: vertical;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  margin-top: var(--sp-3);
}

.wizard__textarea::placeholder {
  color: var(--c-ink-40);
}

.wizard__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.15);
  background-color: var(--c-white);
}

/* ── Footer — step 6 only (WhatsApp CTA) ── */
.wizard__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 0;
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--color-border);
  background-color: var(--c-cream);
}

.wizard__footer[hidden] {
  display: none;
}

.wizard__price-slot:not([hidden]) + .wizard__footer {
  margin-top: var(--sp-4);
  border-top: none;
  padding-top: 0;
}

/* ── Large WhatsApp button (step 6) ── */
.wizard__wa-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);

  /* Size */
  padding: 1rem 1.5rem;
  min-height: 56px;
  border-radius: var(--r-lg);

  /* Typography */
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.01em;

  /* Green */
  background-color: var(--c-wa-green);
  border: 2px solid var(--c-wa-green);
  color: var(--c-white);

  /* Glow */
  box-shadow:
    0 4px 16px rgba(37,211,102,0.35),
    0 1px 4px rgba(37,211,102,0.25);

  /* Pulse animation on entry */
  animation: waPulseEntry 0.6s var(--ease-out) both;
}

@keyframes waPulseEntry {
  0%   { transform: scale(0.94); opacity: 0; }
  60%  { transform: scale(1.02); }
  100% { transform: scale(1);    opacity: 1; }
}

.wizard__wa-btn:hover {
  background-color: var(--c-wa-green-dark);
  border-color: var(--c-wa-green-dark);
  box-shadow:
    0 8px 28px rgba(37,211,102,0.48),
    0 2px 8px rgba(37,211,102,0.28);
  transform: translateY(-2px) scale(1.01);
}

.wizard__wa-btn:active {
  transform: scale(0.97);
}

.wizard__wa-btn[hidden] { display: none; }

/* Icon inside the WA button */
.wizard__wa-btn svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* ── Mobile — step 6 footer ── */
@media (max-width: 520px) {
  .wizard__footer {
    padding: var(--sp-4) var(--sp-4) var(--sp-4);
  }

  .wizard__topbar {
    padding: var(--sp-4) var(--sp-4);
    gap: var(--sp-2);
  }

  .wizard__back-link {
    font-size: var(--text-sm);
    padding: var(--sp-2) var(--sp-3);
    min-height: 44px;
  }

  .wizard__back-link-icon {
    font-size: 1.125rem;
  }

  .wizard__price-slot {
    padding: var(--sp-3) var(--sp-4) 0;
  }

  .wizard__price-slot:not([hidden]) + .wizard__footer {
    margin-top: var(--sp-3);
  }

  .wizard__privacy-note {
    padding: var(--sp-3) var(--sp-4) var(--sp-5);
    font-size: 0.6875rem;
  }

  .wizard__wa-btn {
    width: 100%;
    flex: none;
    padding: 1.125rem 1.5rem;
    min-height: 60px;
    font-size: var(--text-md);
    border-radius: var(--r-xl);
  }
}


/* ============================================================
   WHATSAPP DESKTOP MODAL
   Shown on desktop before opening WhatsApp Web.
   ============================================================ */

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal, 900);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}

.wa-modal[hidden] { display: none; }

/* ── Backdrop ── */
.wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: wa-fade-in 0.2s var(--ease-out) both;
}

/* ── Box ── */
.wa-modal__box {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r-2xl);
  box-shadow: 0 24px 64px rgba(26, 24, 20, 0.20), 0 4px 16px rgba(26, 24, 20, 0.10);
  padding: var(--sp-10) var(--sp-10);
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: wa-slide-up 0.25s var(--ease-out) both;
}

.wa-modal__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--sp-2);
}

.wa-modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 var(--sp-3);
  line-height: 1.2;
}

.wa-modal__body {
  font-size: var(--text-base);
  color: var(--c-ink-60);
  line-height: 1.6;
  margin: 0 0 var(--sp-8);
}

/* ── Action buttons ── */
.wa-modal__actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

.wa-modal__confirm {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

/* ── Animations ── */
@keyframes wa-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes wa-slide-up {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}


/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-page {
  padding-block: var(--section-pad-y);
  background-color: var(--c-cream);
}

.legal-content {
  max-width: 42rem;
  margin-inline: auto;
}

.legal-content__header {
  margin-bottom: var(--sp-10);
}

.legal-content__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  font-variation-settings: var(--font-heading-soft);
  color: var(--color-text);
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-3);
}

.legal-content__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-6);
}

.legal-toc {
  padding: var(--sp-5) var(--sp-6);
  background-color: var(--c-white);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-10);
}

.legal-toc__title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-3);
}

.legal-toc ol {
  margin: 0;
  padding-left: var(--sp-5);
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
}

.legal-toc a {
  color: var(--color-accent-dark);
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-body h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  scroll-margin-top: calc(var(--sp-16) + 1rem);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.legal-body p + p,
.legal-body ul + p,
.legal-body p + ul {
  margin-top: var(--sp-4);
}

.legal-body ul {
  padding-left: var(--sp-6);
  margin-top: var(--sp-3);
}

.legal-body li + li {
  margin-top: var(--sp-2);
}

.legal-body a {
  color: var(--color-accent-dark);
}

.legal-body a:hover {
  text-decoration: underline;
}

.legal-body .legal-placeholder {
  color: var(--c-ink-80);
  font-weight: 600;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: var(--sp-6);
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .skip-link {
    display: none !important;
  }

  .legal-page {
    padding: 0;
    background: white;
  }
}


/* ── Wizard privacy notice ── */
.wizard__privacy-note {
  flex-shrink: 0;
  margin: 0;
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  text-wrap: pretty;
}

.wizard__privacy-note[hidden] {
  display: none;
}

.wizard__privacy-note a {
  color: var(--color-accent-dark);
  font-weight: 500;
}

.wizard__privacy-note a:hover {
  text-decoration: underline;
}


/* ── Cookie consent banner ── */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-overlay);
  padding: var(--sp-3) var(--sp-3) calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: var(--c-cream);
  border-top: 1px solid var(--c-ink-12);
  box-shadow: 0 -6px 24px rgba(26, 24, 20, 0.08);
  animation: cookieBannerIn 0.35s var(--ease-out) both;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: var(--container-max, 72rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
}

.cookie-banner__emoji {
  flex-shrink: 0;
  display: block;
  font-size: 1.85rem;
  line-height: 1;
  min-width: 1.85rem;
  text-align: center;
  animation: cookieEmojiWiggle 2.5s ease-in-out infinite;
}

.cookie-banner__copy {
  flex: 1 1 10rem;
  min-width: 0;
}

.cookie-banner__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

.cookie-banner__desc {
  margin: 0.15rem 0 0;
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--c-ink-60);
}

.cookie-banner__link {
  color: var(--c-teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__link:hover {
  color: var(--c-teal-dark);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}

.cookie-banner__btn {
  min-width: 0;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.2;
}

.cookie-banner__btn.btn--primary {
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(78, 173, 152, 0.28);
}

.cookie-banner__btn.btn--primary:hover,
.cookie-banner__btn.btn--primary:active {
  border-color: transparent;
  transform: none;
  box-shadow: 0 3px 14px rgba(78, 173, 152, 0.34);
}

.cookie-banner__btn.btn--secondary {
  border-color: var(--c-ink-12);
}

.cookie-banner__btn:focus {
  outline: none;
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--c-teal);
  outline-offset: 2px;
}

html.cookie-banner-open .back-to-top {
  bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
}

.footer__nav-link--btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: var(--leading-normal);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  text-align: left;
  transition: color var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.footer__nav-link--btn:hover {
  color: var(--c-white);
}

@keyframes cookieBannerIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cookieEmojiWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

@media (max-width: 639px) {
  .cookie-banner {
    padding: var(--sp-4) var(--sp-4) calc(var(--sp-4) + env(safe-area-inset-bottom, 0px));
  }

  .cookie-banner__inner {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    grid-template-areas:
      "emoji copy"
      "actions actions";
    align-items: start;
    column-gap: 0.75rem;
    row-gap: 0.85rem;
  }

  .cookie-banner__emoji {
    grid-area: emoji;
    font-size: 2rem;
    min-width: 2.25rem;
    margin-top: 0.05rem;
  }

  .cookie-banner__copy {
    grid-area: copy;
  }

  .cookie-banner__desc {
    margin-top: 0.25rem;
  }

  .cookie-banner__actions {
    grid-area: actions;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
    padding-top: 0.15rem;
    gap: 0.75rem;
  }

  .cookie-banner__btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
  }

  .cookie-banner__emoji {
    animation: none;
  }
}


/* ============================================================
   ERROR 404 — Página no encontrada
   ============================================================ */

.error-404 {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-12) 0 var(--sp-6);
  background-color: var(--c-cream);
  text-align: center;
  min-height: min(78vh, 42rem);
}

.error-404__inner {
  max-width: 28rem;
  margin-inline: auto;
  padding-bottom: var(--sp-8);
}

.error-404__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
  color: var(--color-text);
  text-decoration: none;
  transition: opacity var(--t-fast);
}

.error-404__brand:hover {
  opacity: 0.78;
}

.error-404__brand-img {
  display: block;
  border-radius: 50%;
}

.error-404__brand-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.error-404__visual {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-8);
}

.error-404__badge {
  position: relative;
  width: 8.75rem;
  height: 8.75rem;
  transform: rotate(-4deg);
  animation: error404Float 5s ease-in-out infinite;
}

.error-404__badge::before {
  content: '';
  position: absolute;
  inset: -0.55rem;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 194, 74, 0.28);
  pointer-events: none;
}

.error-404__disc {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--c-gold);
  background:
    radial-gradient(circle at 32% 28%, var(--c-white) 0%, var(--c-teal-light) 48%, rgba(110, 200, 179, 0.22) 100%);
  box-shadow:
    0 14px 36px rgba(26, 24, 20, 0.09),
    0 4px 12px rgba(110, 200, 179, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.92),
    inset 0 -10px 20px rgba(110, 200, 179, 0.14);
}

.error-404__disc::after {
  content: '';
  position: absolute;
  inset: 0.7rem;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 194, 74, 0.32);
  pointer-events: none;
}

.error-404__code {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  font-variation-settings: var(--font-heading-soft);
  color: var(--c-teal-deep);
  opacity: 0.45;
  letter-spacing: 0.08em;
  line-height: 1;
}

.error-404__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-2xl), 5vw, var(--text-3xl));
  font-weight: 700;
  font-variation-settings: var(--font-heading-soft);
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
  margin: 0 0 var(--sp-4);
}

.error-404__text {
  margin: 0 0 var(--sp-8);
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.error-404__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

@media (min-width: 480px) {
  .error-404__actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.error-404 .section-wave {
  margin-top: auto;
  flex-shrink: 0;
}

@keyframes error404Float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .error-404__badge {
    animation: none;
    transform: rotate(-4deg);
  }
}
