/* ================================================================
   OUR MOMENT — MAIN STYLESHEET

   Table of Contents:
   1.  Design Tokens (CSS Custom Properties)
   2.  Reset & Base
   3.  Accessibility Utilities
   4.  Typography
   5.  Layout Utilities
   6.  Buttons
   7.  Navigation / Header
   8.  Section: Hero
   9.  Section: Trust Bar
   10. Section: Benefits
   11. Section: Expert / Professional Backing
   12. Section: Create / Personalization Form
   13. Section: Testimonials
   14. Section: Reinforcement
   15. Section: Features / Icons
   16. Section: FAQ
   17. Footer
   18. Responsive — Tablet (≤ 900px)
   19. Responsive — Mobile (≤ 600px)
   20. Reduced Motion
================================================================ */


/* ================================================================
   1. DESIGN TOKENS
================================================================ */
:root {
  /* Brand colors */
  --color-bg:            #F7F5F0;  /* Warm parchment — page base */
  --color-surface:       #F0EDE6;  /* Slightly darker parchment — section fill */
  --color-surface-dark:  #E8E2D8;  /* Even darker — borders, deeper fills */
  --color-border:        #E2DDD4;  /* Subtle dividers */
  --color-primary:       #C87A5E;  /* Terracotta — CTA, emotional accent */
  --color-primary-dark:  #AA6047;  /* Hover state for primary */
  --color-trust:         #8B9D83;  /* Sage green — trust, credentials */
  --color-spark:         #E2B853;  /* Warm gold — stars, sparkle moments */
  --color-text:          #3A3A3A;  /* Soft charcoal — all body text */
  --color-text-mid:      #5C5C5C;  /* Mid grey — secondary text */
  --color-text-light:    #7A7A7A;  /* Light grey — hints, captions */
  --color-white:         #FFFFFF;
  --color-error:         #B94040;  /* Form error messages */

  /* Typography */
  --font-serif:  'Lora', Georgia, 'Times New Roman', serif;
  --font-sans:   'Nunito', system-ui, -apple-system, sans-serif;

  /* Type scale — using rem so it respects browser font size settings */
  --text-xs:   0.75rem;    /*  12px */
  --text-sm:   0.875rem;   /*  14px */
  --text-base: 1rem;       /*  16px */
  --text-md:   1.125rem;   /*  18px */
  --text-lg:   1.25rem;    /*  20px */
  --text-xl:   1.5rem;     /*  24px */
  --text-2xl:  2rem;       /*  32px */
  --text-3xl:  2.25rem;    /*  36px */
  --text-hero: clamp(2.2rem, 4.5vw, 3.4rem); /* Fluid hero heading */
  --text-reinforce: clamp(1.8rem, 2.8vw, 2.2rem); /* Fluid reinforcement */

  /* Spacing — 8px grid */
  --sp-1:   8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;

  /* Layout */
  --max-width:       1120px;
  --container-px:    clamp(16px, 4vw, 40px);
  --section-py:      var(--sp-10);

  /* Borders & radii */
  --radius-sm:   8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(58, 40, 30, 0.06);
  --shadow-sm: 0 2px 12px rgba(58, 40, 30, 0.07);
  --shadow-md: 0 4px 28px rgba(58, 40, 30, 0.09);
  --shadow-lg: 0 8px 48px rgba(58, 40, 30, 0.12);
  --shadow-cta: 0 6px 24px rgba(200, 122, 94, 0.4);

  /* Transitions */
  --ease-fast:   150ms ease;
  --ease-base:   250ms ease;
  --ease-slow:   400ms ease;
}


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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

img { height: auto; }

ul, ol { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

fieldset {
  border: none;
  padding: 0;
}

/* Ensure [hidden] is respected even when CSS resets are applied */
[hidden] { display: none !important; }


/* ================================================================
   3. ACCESSIBILITY UTILITIES
================================================================ */

/* Visually hidden but screen-reader accessible */
.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;
}

/* Keyboard focus indicator — visible and branded */
:focus-visible {
  outline: 2.5px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip to main content link — only visible on keyboard focus */
.skip-link {
  position: fixed;
  top: -120%;
  left: var(--sp-2);
  z-index: 9999;
  padding: var(--sp-1) var(--sp-2);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: top var(--ease-fast);
}

.skip-link:focus {
  top: var(--sp-2);
}


/* ================================================================
   4. TYPOGRAPHY
================================================================ */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.22;
  color: var(--color-text);
  letter-spacing: -0.015em;
}

h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.35;
}

p {
  /* Prevent very long paragraphs from becoming hard to read */
  max-width: 66ch;
}

p + p { margin-top: var(--sp-2); }

strong { font-weight: 700; }
em     { font-style: italic; }

/* Section decorative labels */
.section-eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-trust);
  margin-bottom: var(--sp-1);
  max-width: none;
}


/* ================================================================
   5. LAYOUT UTILITIES
================================================================ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* Standard section header (centered, with heading + subhead) */
.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.section-heading {
  font-size: var(--text-3xl);
  margin-bottom: var(--sp-2);
}

.section-subhead {
  font-size: var(--text-md);
  color: var(--color-text-light);
  max-width: none;
}

/* Gold star display */
.stars {
  color: var(--color-spark);
  font-size: 1em;
  letter-spacing: 2px;
}


/* ================================================================
   6. BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background-color var(--ease-fast),
    box-shadow var(--ease-fast),
    transform var(--ease-fast),
    border-color var(--ease-fast),
    color var(--ease-fast);
  text-align: center;
}

/* Primary — terracotta */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-cta);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Large variant */
.btn-large {
  padding: 16px 36px;
  font-size: var(--text-md);
}

/* Full-width variant */
.btn-full {
  width: 100%;
}

/* Ghost / secondary */
.btn-ghost {
  background: transparent;
  color: var(--color-text-mid);
  border: 1.5px solid var(--color-border);
  padding: 11px 20px;
}

.btn-ghost:hover {
  border-color: var(--color-text-mid);
  color: var(--color-text);
}

/* Submit button loading state */
.btn-loading { display: none; }

.btn.is-loading .btn-text    { display: none; }
.btn.is-loading .btn-loading { display: inline; }
.btn.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
}


/* ================================================================
   7. NAVIGATION / HEADER
================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.logo-img--footer {
  height: 38px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav-links a {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-mid);
  transition: color var(--ease-fast);
}

.nav-links a:hover {
  color: var(--color-text);
}

/* Nav CTA pill — ghost so hero CTA stays dominant */
.nav-cta {
  background-color: transparent !important;
  color: var(--color-primary) !important;
  border: 1.5px solid var(--color-primary) !important;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background-color var(--ease-fast), color var(--ease-fast) !important;
}

.nav-cta:hover {
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-1);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--ease-base), opacity var(--ease-fast);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--sp-2) var(--container-px) var(--sp-3);
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg);
  animation: slideDown var(--ease-base) forwards;
}

.mobile-nav.is-open {
  display: flex;
}

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

.mobile-nav a {
  padding: 13px 0;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text-mid);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--ease-fast);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav a:hover { color: var(--color-text); }

.mobile-nav-cta {
  margin-top: var(--sp-2);
  padding: 14px var(--sp-3) !important;
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  text-align: center;
  border-radius: var(--radius-sm);
  border-bottom: none !important;
}


/* ================================================================
   7b. PAGE SECTION ORDER
   Form (#create) lives in HTML between Expert and Testimonials but
   should appear after Closing CTA — CSS order shifts it down.
================================================================ */
#main-content {
  display: flex;
  flex-direction: column;
}

.hero          { order: 1; }
.trust-bar     { order: 2; }
.benefits      { order: 3; }
.how-it-works  { order: 4; }
.expert        { order: 5; }
.testimonials  { order: 6; }
.photo-moments { order: 7; }
.perfect-gift  { order: 8; }
.reinforcement { order: 9; }
.faq           { order: 10; }


/* ================================================================
   8. HERO SECTION
================================================================ */
.hero {
  padding: var(--sp-10) 0 var(--sp-12);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
  min-height: 540px;
}

/* Left: image column */
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  box-shadow: var(--shadow-lg);
}

/* Hero photo */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* Transparent overlay to block right-click save on hero image */
.hero-image {
  position: relative;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Right: copy column */
.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-trust);
  margin-bottom: var(--sp-2);
  max-width: none;
}

.hero-heading {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--sp-3);
  /* Subtle entry animation */
  animation: heroFade 0.8s ease both;
}

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

.hero-body {
  font-size: var(--text-md);
  color: var(--color-text-mid);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
  max-width: 42ch;
  animation: heroFade 0.8s 0.15s ease both;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
  animation: heroFade 0.8s 0.25s ease both;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  color: var(--color-text-light);
  max-width: none;
}

.hero-price-anchor {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin: var(--sp-2) 0 0;
  font-family: var(--font-body);
}


/* ================================================================
   9. TRUST BAR
================================================================ */
.trust-bar {
  padding: 52px 0;
  background-color: var(--color-bg);
}

.tb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  background: var(--color-white);
  border: 1px solid #EAE5DB;
  border-radius: 20px;
  gap: 10px;
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.tb-item:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  border-color: #C8C3BB;
}

.tb-icon-wrap {
  width: 52px;
  height: 52px;
  background-color: #F5F2EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7C6A;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.tb-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: #1C1917;
  line-height: 1.35;
  margin: 0;
}

.tb-sub {
  font-size: 12px;
  color: #9A9490;
  line-height: 1.5;
  margin: 0;
}


/* ================================================================
   10. BENEFITS
================================================================ */
.benefits {
  padding: var(--section-py) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.benefits-swipe-hint {
  display: none;
}

.benefits-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-8);
}

.benefit-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition: box-shadow var(--ease-base), transform var(--ease-base);
}

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

/* Featured center card gets a subtle warm border */
.benefit-card--featured {
  border-color: rgba(200, 122, 94, 0.25);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  margin-bottom: var(--sp-3);
  width: 48px;
  height: 48px;
  background-color: rgba(226, 184, 83, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-heading {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--color-text);
  line-height: 1.3;
}

.benefit-body {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.75;
  max-width: none;
}


/* ================================================================
   11. HOW IT WORKS
================================================================ */

.how-it-works {
  padding: var(--section-py) 0;
  background-color: var(--color-surface);
}

/* ── 3-column grid ───────────────────────────────────────────── */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  list-style: none;
}

/* ── Card ────────────────────────────────────────────────────── */
.hiw-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  /* Scroll-entrance start state */
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    box-shadow var(--ease-base);
}

.hiw-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hiw-card:nth-child(2) { transition-delay: 0.1s; }
.hiw-card:nth-child(3) { transition-delay: 0.2s; }

.hiw-card.is-visible:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* ── Visual area ─────────────────────────────────────────────── */
.hiw-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.hiw-visual--form  { background: linear-gradient(145deg, #F0EDE6 0%, #E8E3D8 100%); }
.hiw-visual--books { background: linear-gradient(145deg, #EBF0E4 0%, #DDE8D3 100%); }
.hiw-visual--box   { background: linear-gradient(145deg, #F2EDE9 0%, #EBE2DB 100%); }

/* ── Content area ────────────────────────────────────────────── */
.hiw-content {
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--color-border);
}

/* ── Step badge ──────────────────────────────────────────────── */
.hiw-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.hiw-step-num {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  min-width: 24px;
}

.hiw-icon-wrap {
  width: 32px;
  height: 32px;
  background: var(--color-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-trust);
  flex-shrink: 0;
}

/* ── Card text ───────────────────────────────────────────────── */
.hiw-title {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-1);
  line-height: 1.3;
}

.hiw-body {
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.65;
}

/* ── Step 1: Form mockup ─────────────────────────────────────── */

.hiw-mock-form {
  background: var(--color-white);
  border-radius: 16px;
  padding: 14px 16px 12px;
  box-shadow:
    0 2px 8px rgba(58, 40, 30, 0.08),
    0 8px 24px rgba(58, 40, 30, 0.05);
  width: 192px;
}

.hiw-mock-avatar-row {
  position: relative;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}

.hiw-mock-avatar {
  width: 36px;
  height: 36px;
  background: var(--color-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B0A8A0;
}

.hiw-mock-upload-badge {
  position: absolute;
  bottom: -2px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  border: 1.5px solid var(--color-white);
}

.hiw-mock-field { margin-bottom: 8px; }

.hiw-mock-label {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  color: #B0A8A0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}

.hiw-mock-input {
  background: #F5F2EB;
  border-radius: 7px;
  padding: 5px 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--color-text);
  min-height: 24px;
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.hiw-mock-input--active {
  background: var(--color-white);
  border: 1.5px solid rgba(200, 122, 94, 0.45);
}

.hiw-mock-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hiw-mock-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  background: #E8F0E8;
  color: #5A7558;
}

.hiw-mock-tag--alt {
  background: #F0EBE8;
  color: #9A6A5A;
}

.hiw-cursor {
  display: inline-block;
  width: 1.5px;
  height: 11px;
  background: var(--color-text);
  margin-left: 1px;
  vertical-align: middle;
  flex-shrink: 0;
  animation: hiw-blink 1s step-end infinite;
}

@keyframes hiw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Step 2: Book covers ─────────────────────────────────────── */

.hiw-books-scene {
  position: relative;
  width: 200px;
  height: 130px;
}

.hiw-book {
  position: absolute;
  width: 76px;
  height: 104px;
  border-radius: 3px 10px 10px 3px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 8px 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.hiw-book::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px 0 0 3px;
}

.hiw-book--1 {
  background: linear-gradient(155deg, #AACFA8 0%, #7AAF78 100%);
  left: 0;
  top: 14px;
  transform: rotate(-7deg);
  z-index: 1;
  animation: hiw-float-1 3.2s ease-in-out infinite;
}

.hiw-book--2 {
  background: linear-gradient(155deg, #F0C8A8 0%, #C87A5E 100%);
  left: 60px;
  top: 5px;
  z-index: 3;
  animation: hiw-float-2 3.8s ease-in-out infinite;
}

.hiw-book--3 {
  background: linear-gradient(155deg, #C8D8F0 0%, #7A9DCB 100%);
  left: 120px;
  top: 12px;
  transform: rotate(6deg);
  z-index: 2;
  animation: hiw-float-3 4.2s ease-in-out infinite;
}

.hiw-book-stars {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
}

.hiw-book-title {
  font-family: var(--font-sans);
  font-size: 7.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@keyframes hiw-float-1 {
  0%, 100% { transform: rotate(-7deg) translateY(0);    }
  50%       { transform: rotate(-7deg) translateY(-5px); }
}

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

@keyframes hiw-float-3 {
  0%, 100% { transform: rotate(6deg) translateY(0);    }
  50%       { transform: rotate(6deg) translateY(-4px); }
}

/* ── Step 3: Gift box ────────────────────────────────────────── */

.hiw-package-scene {
  animation: hiw-float-pkg 3.5s ease-in-out infinite;
}

@keyframes hiw-float-pkg {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-8px); }
}


/* ================================================================
   12. EXPERT / PROFESSIONAL BACKING
================================================================ */
.expert {
  padding: var(--section-py) 0;
  background-color: var(--color-surface);
}

.expert-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

/* Trust badge pill */
.expert-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: rgba(139, 157, 131, 0.12);
  color: var(--color-trust);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-5);
}

/* The pull-quote */
.expert-quote {
  margin-bottom: var(--sp-5);
}

.expert-quote p {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text);
  max-width: none;
}

/* Expert attribution row */
.expert-attribution {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.expert-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}

.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.expert-details {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.expert-details strong {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.expert-details span {
  font-size: var(--text-sm);
  color: var(--color-trust);
  font-weight: 500;
  max-width: none;
}

/* Supporting paragraph below attribution */
.expert-support {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.75;
  max-width: none;
}


/* ================================================================
   12. CREATE / PERSONALIZATION FORM
================================================================ */
.create {
  padding: var(--section-py) 0;
}

.create-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

/* --- Form wrapper card --- */
.form-wrapper {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}

/* --- Step indicator --- */
.form-steps {
  display: flex;
  align-items: center;
  margin-bottom: var(--sp-5);
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-border);
  color: var(--color-text-light);
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--ease-base), color var(--ease-base);
}

.step-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-light);
  transition: color var(--ease-base);
}

.step--active .step-number {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.step--active .step-label {
  color: var(--color-text);
}

.step--complete .step-number {
  background-color: var(--color-trust);
  color: var(--color-white);
}

.step-connector {
  flex: 1;
  height: 2px;
  background-color: var(--color-border);
  margin: 0 var(--sp-1);
}

/* --- Form groups --- */
.form-group {
  margin-bottom: var(--sp-4);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.required-mark {
  color: var(--color-primary);
  margin-left: 2px;
}

.optional-mark {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.875em;
}

/* --- Inputs --- */
.form-input {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(200, 122, 94, 0.18);
}

.form-input::placeholder {
  color: var(--color-text-light);
  opacity: 0.8;
}

.form-input.is-error {
  border-color: var(--color-error);
}

.form-input.is-error:focus {
  box-shadow: 0 0 0 3px rgba(185, 64, 64, 0.15);
}

/* Select wrapper provides the dropdown arrow */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-text-light);
}

.form-select {
  cursor: pointer;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* Hint and error messages */
.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin-top: 6px;
  max-width: none;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: 6px;
  min-height: 18px;
  max-width: none;
  font-weight: 600;
}

.char-count {
  font-weight: 700;
  color: var(--color-text-mid);
}

/* --- Radio pills --- */
.radio-group {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
  margin-top: 4px;
}

.radio-pill {
  cursor: pointer;
  user-select: none;
}

/* Hide native radio button */
.radio-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.radio-pill-face {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-mid);
  transition: border-color var(--ease-fast), background-color var(--ease-fast), color var(--ease-fast);
}

.radio-pill:hover .radio-pill-face {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.radio-pill input:checked + .radio-pill-face {
  border-color: var(--color-primary);
  background-color: rgba(200, 122, 94, 0.08);
  color: var(--color-primary);
}

/* Step transition */
.form-step { display: block; }

.form-step--hidden { display: none; }

/* Step 2 summary box */
.form-summary {
  background-color: rgba(139, 157, 131, 0.1);
  border: 1px solid rgba(139, 157, 131, 0.25);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.65;
}

.form-summary:empty { display: none; }

/* Form actions row (back + submit) */
.form-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-2);
  align-items: center;
}

.btn-submit { width: 100%; }


/* --- Book preview (right column) --- */
.book-preview {
  position: sticky;
  top: 88px; /* Accounts for sticky header height */
}

.preview-inner {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  text-align: center;
}

.preview-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--sp-4);
}

.preview-book-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-3);
  perspective: 600px;
}

/* CSS 3D book effect */
.preview-book {
  display: flex;
  position: relative;
  transform: rotateY(-12deg);
  transition: transform var(--ease-slow);
}

.preview-book:hover {
  transform: rotateY(-5deg);
}

.book-face {
  width: 190px;
  height: 265px;
  background: linear-gradient(160deg, #D08868 0%, #C87A5E 40%, #A86040 100%);
  border-radius: 3px 12px 12px 3px;
  box-shadow:
    4px 6px 28px rgba(200, 122, 94, 0.35),
    inset -2px 0 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: var(--sp-3);
  position: relative;
  overflow: hidden;
}

/* Subtle sheen on book cover */
.book-face-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  border-radius: 3px 12px 0 0;
  pointer-events: none;
}

.book-face-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.book-sub-title {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  color: rgba(247, 245, 240, 0.7);
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  max-width: none;
}

.book-title-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  max-width: none;
  word-break: break-word;
  min-height: 1.6rem;
  transition: all var(--ease-base);
}

.book-divider {
  width: 40px;
  height: 1px;
  background: rgba(247, 245, 240, 0.4);
  margin: 8px auto;
}

.book-brand-name {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(247, 245, 240, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: none;
}

/* Book spine (left edge) */
.book-spine {
  width: 18px;
  height: 265px;
  background: linear-gradient(180deg, #9A5038 0%, #7A3A28 100%);
  border-radius: 3px 0 0 3px;
  box-shadow: inset -2px 0 6px rgba(0,0,0,0.25);
  flex-shrink: 0;
}

/* Book pages (right edge) */
.book-pages {
  position: absolute;
  right: -4px;
  top: 2px;
  bottom: 2px;
  width: 6px;
  background: repeating-linear-gradient(
    to bottom,
    #E8E0D4 0px,
    #F0E8DC 1px,
    #E8E0D4 2px
  );
  border-radius: 0 2px 2px 0;
  opacity: 0.8;
}

.preview-caption {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  line-height: 1.5;
  max-width: none;
}


/* ================================================================
   13. TESTIMONIALS
================================================================ */
/* ── Section wrapper ─────────────────────────────────── */
.testimonials {
  padding: var(--section-py) 0;
  background-color: var(--color-surface);
  overflow: hidden;
}

/* Aggregate rating row */
.aggregate-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.aggregate-rating .stars {
  color: #16a34a;
  letter-spacing: 2px;
}

.aggregate-rating strong {
  font-size: var(--text-md);
  color: var(--color-text);
}

/* ── Carousel ─────────────────────────────────────────── */
.t-carousel {
  overflow: hidden;
  /* Bleed slightly past the container to give padding room */
  margin-inline: calc(-1 * var(--sp-2));
}

.t-track {
  display: flex;
  align-items: stretch;
  transition: transform 500ms ease-in-out;
  will-change: transform;
}

/* Each slide wrapper — width set by JS */
.t-slide {
  flex-shrink: 0;
  padding: var(--sp-2);
  box-sizing: border-box;
}

/* ── Card ─────────────────────────────────────────────── */
.t-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #FEFCF8;
  border: 1px solid #EAE5DB;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  transition: box-shadow 200ms ease;
}

.t-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.t-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.t-stars {
  color: #16a34a;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

.t-card__date {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #B8B2A8;
  line-height: 1;
  margin-top: 2px;
}

.t-card__title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #1C1917;
  line-height: 1.3;
  margin: 0 0 12px;
}

.t-card__body {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: #6E6763;
  line-height: 1.75;
  flex: 1;
  margin: 0;
}

.t-card__footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #EAE5DB;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.t-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #2C2926;
}

.t-card__sub {
  font-size: var(--text-xs);
  font-weight: 400;
  color: #9A9490;
}

.t-card__verified {
  font-size: var(--text-xs);
  font-weight: 500;
  color: #16a34a;
}

/* ── Navigation ───────────────────────────────────────── */
.t-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: var(--sp-5);
}

.t-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #DDD8D0;
  background: var(--color-white);
  color: #44403C;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
  flex-shrink: 0;
}

.t-nav__btn:hover:not(:disabled) {
  border-color: #B8B2A8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #1C1917;
}

.t-nav__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.t-nav__btn svg {
  pointer-events: none;
}

/* ── Dot indicators ───────────────────────────────────── */
.t-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-dot {
  height: 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background-color: var(--color-border);
  transition: width 300ms ease, background-color 300ms ease;
  padding: 0;
  width: 8px;
}

.t-dot--active {
  width: 24px;
  background-color: var(--color-primary);
}

.t-dot:hover:not(.t-dot--active) {
  background-color: var(--color-text-light);
}


/* ================================================================
   13. PHOTO MOMENTS — UGC photo carousel
================================================================ */

/* ── Section shell ───────────────────────────────────────────── */
.photo-moments {
  padding: var(--section-py) 0 calc(var(--section-py) + var(--sp-3));
  background-color: var(--color-bg);
  overflow: hidden;        /* clips the track peek on both edges */
}

/* ── Centered header ─────────────────────────────────────────── */
.pm-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  padding-inline: var(--container-px);
}

.pm-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-trust);
  margin-bottom: var(--sp-2);
}

.pm-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-3);
}

.pm-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  color: var(--color-text-mid);
  line-height: 1.72;
  max-width: 460px;
  margin-inline: auto;
}

/* ── Carousel outer — holds the viewport + floating arrows ───── */
.pm-carousel {
  position: relative;
  max-width: 1300px;
  margin-inline: auto;
  padding: 0 58px;         /* space for floating arrow buttons */
}

/* ── Viewport — clips the scrolling track ────────────────────── */
.pm-viewport {
  overflow: hidden;
}

/* ── Sliding track ───────────────────────────────────────────── */
.pm-track {
  display: flex;
  align-items: stretch;
  transition: transform 520ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ── Individual slide wrapper ────────────────────────────────── */
.pm-slide {
  flex-shrink: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

/* ── Photo card ──────────────────────────────────────────────── */
.pm-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  margin: 0;

  /* Subtle card shadow */
  box-shadow: 0 4px 20px rgba(40, 28, 20, 0.10);
  transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 300ms ease;
}

.pm-card:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 42px rgba(40, 28, 20, 0.18);
}

/* Warm bokeh light — upper quadrant */
.pm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 72% 58% at 42% 22%,
    rgba(255, 255, 255, 0.30) 0%,
    transparent 68%
  );
  z-index: 1;
  pointer-events: none;
}

/* Dark scrim — lower half, for text legibility */
.pm-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(
    to top,
    rgba(8, 4, 2, 0.64) 0%,
    rgba(8, 4, 2, 0.22) 52%,
    transparent 100%
  );
  z-index: 2;
}

/* ── Card gradient backgrounds (8 warm palettes) ─────────────── */
.pm-card--1 { background: linear-gradient(155deg, #EDD8B0 0%, #C49050 100%); }
.pm-card--2 { background: linear-gradient(155deg, #E8C4BC 0%, #C08478 100%); }
.pm-card--3 { background: linear-gradient(155deg, #C4D8A8 0%, #7CA870 100%); }
.pm-card--4 { background: linear-gradient(155deg, #ECC8A8 0%, #C07C64 100%); }
.pm-card--5 { background: linear-gradient(155deg, #C0CCDC 0%, #7888A8 100%); }
.pm-card--6 { background: linear-gradient(155deg, #E0D0A0 0%, #A88C50 100%); }
.pm-card--7 { background: linear-gradient(155deg, #EEB898 0%, #B86858 100%); }
.pm-card--8 { background: linear-gradient(155deg, #C0D8CC 0%, #70A088 100%); }

/* ── Real photo (fills card, object-fit) ─────────────────────── */
.pm-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  z-index: 0;
  -webkit-user-drag: none;
  user-select: none;
}

/* ── Child reading illustration (placeholder, shown when no photo) */
.pm-photo-art {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;           /* above bokeh, behind scrim lower half */
  pointer-events: none;
  opacity: 0.92;
}

/* ── Photo footer: handle + icon ────────────────────────────── */
.pm-photo-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
  pointer-events: none;
}

.pm-handle {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.93);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.pm-insta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Floating nav arrows ─────────────────────────────────────── */
.pm-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 14px rgba(40, 28, 20, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  z-index: 20;
  flex-shrink: 0;
  transition: box-shadow 200ms ease,
              border-color 200ms ease,
              transform 200ms ease;
}

.pm-btn:hover:not(:disabled) {
  box-shadow: 0 4px 22px rgba(40, 28, 20, 0.16);
  border-color: var(--color-text-light);
  transform: translateY(-50%) scale(1.06);
}

.pm-btn:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.pm-btn--prev { left: 4px;  }
.pm-btn--next { right: 4px; }

/* ── Pagination dots ─────────────────────────────────────────── */
.pm-pagination {
  text-align: center;
  margin-top: var(--sp-4);
}

.pm-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pm-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background-color: var(--color-border);
  transition: width 300ms ease, background-color 300ms ease;
  padding: 0;
}

.pm-dot--active {
  width: 24px;
  background-color: var(--color-primary);
}

.pm-dot:hover:not(.pm-dot--active) {
  background-color: var(--color-text-light);
}


/* ================================================================
   14. REINFORCEMENT
================================================================ */
/* ================================================================
   14b. PERFECT GIFT SECTION
================================================================ */
.perfect-gift {
  padding: var(--sp-12) 0 var(--sp-12);
  background: var(--color-bg);
  text-align: center;
}

.perfect-gift-inner {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.perfect-gift-inner .section-heading {
  margin-bottom: 0;
}

.perfect-gift-body {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 540px;
  margin: 0;
}

.gift-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: var(--sp-1) 0;
}

.gift-tag {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  letter-spacing: 0.03em;
  background: transparent;
  line-height: 1.5;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.gift-tag:hover {
  background-color: rgba(200, 122, 94, 0.06);
  border-color: rgba(200, 122, 94, 0.35);
}

.perfect-gift .btn-ghost {
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-4);
}


.reinforcement {
  padding: var(--sp-12) 0;
  background-color: var(--color-text);
  text-align: center;
}

.reinforcement-inner {
  max-width: 900px;
  margin-inline: auto;
}

.reinforcement-eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.4);
  margin-bottom: var(--sp-3);
  max-width: none;
}

.reinforcement-heading {
  font-family: var(--font-serif);
  font-size: var(--text-reinforce);
  font-weight: 700;
  color: var(--color-bg);
  line-height: 1.3;
  margin-bottom: var(--sp-4);
}

.reinforcement-heading em {
  color: var(--color-spark);
  font-style: italic;
}

.reinforcement-body {
  font-size: var(--text-md);
  color: rgba(247, 245, 240, 0.6);
  line-height: 1.8;
  margin-bottom: var(--sp-6);
  max-width: none;
}


/* ================================================================
   15. FEATURES / ICON GRID
================================================================ */
.features {
  padding: var(--section-py) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  text-align: center;
  padding: var(--sp-3) var(--sp-2);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background-color var(--ease-base), border-color var(--ease-base);
}

.feature-item:hover {
  background-color: var(--color-surface);
  border-color: var(--color-border);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--ease-base);
}

.feature-item:hover .feature-icon {
  background-color: rgba(139, 157, 131, 0.15);
}

.feature-item > span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-mid);
  line-height: 1.4;
}


/* ================================================================
   16. FAQ
================================================================ */
.faq {
  padding: var(--section-py) 0;
  background-color: var(--color-bg);
}

.faq-list {
  max-width: 740px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  background: none;
  transition: background-color var(--ease-fast);
}

.faq-question:hover {
  background-color: var(--color-surface);
}

.faq-question span {
  flex: 1;
  line-height: 1.4;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-text-light);
  transition: transform var(--ease-base);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--sp-4) var(--sp-3);
}

.faq-answer p {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.8;
  max-width: none;
}


/* ================================================================
   17. FOOTER
================================================================ */
.site-footer {
  background-color: #2E2C28;
  color: rgba(247, 245, 240, 0.65);
  padding: var(--sp-10) 0 var(--sp-6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(247, 245, 240, 0.08);
  margin-bottom: var(--sp-5);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-base);
  color: rgba(247, 245, 240, 0.5);
  margin: var(--sp-2) 0 var(--sp-4);
  line-height: 1.7;
  max-width: none;
}

.footer-social {
  display: flex;
  gap: var(--sp-1);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(247, 245, 240, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 245, 240, 0.5);
  transition: background-color var(--ease-fast), color var(--ease-fast);
}

.footer-social a:hover {
  background-color: rgba(247, 245, 240, 0.16);
  color: var(--color-bg);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.footer-nav-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.3);
  margin-bottom: var(--sp-2);
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: var(--text-sm);
  color: rgba(247, 245, 240, 0.55);
  transition: color var(--ease-fast);
}

.footer-nav-col a:hover {
  color: var(--color-bg);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(247, 245, 240, 0.3);
  max-width: none;
}

.footer-badges {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.footer-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(247, 245, 240, 0.3);
  padding: 4px 10px;
  border: 1px solid rgba(247, 245, 240, 0.1);
  border-radius: var(--radius-pill);
}


/* ================================================================
   18. RESPONSIVE — TABLET (≤ 900px)
================================================================ */
@media (max-width: 900px) {
  :root {
    --section-py: var(--sp-8);
  }

  /* Hero: stack vertically */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    min-height: auto;
  }

  .hero-image {
    aspect-ratio: 1 / 1;
    max-height: none;
    order: -1;
  }

  .hero-image img {
    object-position: center center;
  }



  .hero-content { text-align: center; }

  .hero-cta-group { align-items: center; }

  .hero-body { max-width: none; }

  /* Trust bar: 2×2 on tablet */
  .tb-grid { grid-template-columns: repeat(2, 1fr); }

  /* Benefits: 2×2 on tablet */
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  /* Form: stack form above preview */
  .create-inner {
    grid-template-columns: 1fr;
  }

  .book-preview {
    position: static;
    order: -1; /* Preview above form on tablet/mobile */
  }

  /* Testimonials: carousel handled by JS; just ensure no overflow */
  .t-carousel { margin-inline: 0; }

  /* Photo moments: slightly tighter side padding on tablet */
  .pm-carousel { padding: 0 52px; }

  /* Features: 2 columns */
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer: stack */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}


/* ================================================================
   19. RESPONSIVE — MOBILE (≤ 600px)
================================================================ */
@media (max-width: 600px) {
  :root {
    --section-py: var(--sp-6);
  }

  /* Navigation */
  .nav-links   { display: none; }
  .nav-toggle  { display: flex; }

  /* Typography adjustments */
  .section-heading { font-size: var(--text-2xl); }
  .hero-heading    { font-size: 2rem; }

  /* Benefits: horizontal scroll slider on mobile */
  .benefits-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--sp-3);
    padding-bottom: var(--sp-1);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .benefits-grid::-webkit-scrollbar { display: none; }
  .benefit-card {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }
  .benefits-swipe-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: var(--sp-4);
  }
  .b-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: var(--color-border);
    display: block;
    flex-shrink: 0;
    transition: width 300ms ease, background-color 300ms ease;
  }
  .b-dot.active {
    width: 24px;
    background-color: var(--color-primary);
  }

  /* Trust bar: keep 2×2 on mobile, tighten padding */
  .tb-grid { gap: 12px; }
  .tb-item { padding: 22px 14px 18px; }

  /* Testimonials: no extra overrides needed — JS handles card width */

  /* Form: tighter padding */
  .form-wrapper { padding: var(--sp-3); }

  /* Form actions: stack back below submit on mobile */
  .form-actions {
    grid-template-columns: 1fr;
  }

  .form-actions .btn-ghost {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  /* Features: 2 columns but smaller */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  .feature-item { padding: var(--sp-2) var(--sp-1); }

  /* How it works: stack on mobile */
  .hiw-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .hiw-visual { height: 180px; }

  /* Photo moments: compact on mobile */
  .pm-carousel { padding: 0 44px; }
  .pm-btn { width: 40px; height: 40px; }

  /* Expert quote: smaller on mobile */
  .expert-quote p { font-size: var(--text-md); }

  /* Footer nav: 2 columns on mobile */
  .footer-nav { grid-template-columns: 1fr 1fr; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }
}


/* ================================================================
   20. COOKIE CONSENT BANNER
================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: var(--sp-3) var(--container-px);
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 32px rgba(58, 40, 30, 0.10);
  transform: translateY(100%);
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

.cookie-banner-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-title {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
  max-width: none;
}

.cookie-banner-body {
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.5;
  max-width: 560px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.cookie-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-mid);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 150ms;
}

.cookie-close:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 12px 16px;
  }
  .cookie-banner-inner {
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
  }
  .cookie-banner-text {
    flex: 1 1 100%;
    order: 1;
  }
  .cookie-banner-title {
    font-size: 13px;
    margin-bottom: 2px;
  }
  .cookie-banner-body {
    font-size: 12px;
    line-height: 1.45;
  }
  .cookie-banner-actions {
    order: 2;
    flex: 1;
    gap: 8px;
  }
  .cookie-banner-actions .cookie-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .cookie-close {
    order: 3;
    align-self: flex-start;
    margin-top: 2px;
  }
}


/* ================================================================
   21. REDUCED MOTION — respect user preference
================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
