/* ─────────────────────────────────────────────
   PEEKABOOK KIDS STORE — stylesheet
   Palette: peach #FFD9C2 · cream #FFF7EC · pastel yellow #FFE9A8
            sage #C9DEC1 · soft blue #C7DEEC · ink #2B2118
   Fonts:  Fraunces (display) + Plus Jakarta Sans (body)
───────────────────────────────────────────── */

:root {
  --peach: #FFD9C2;
  --cream: #FFF7EC;
  --yellow: #FFE9A8;
  --sage: #C9DEC1;
  --blue: #C7DEEC;
  --pink: #F4C2C2;
  --ink: #2B2118;
  --bg: #FFFCF6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

.display, h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-feature-settings: 'ss01' on; }
.italic { font-style: italic; font-weight: 300; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--peach); color: var(--ink); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ─── Header ─── */
.announce {
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(255, 247, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(43, 33, 24, 0.05);
}

.nav-row {
  max-width: 1200px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 768px) { .nav-row { padding: 16px 32px; } }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px -2px rgba(43, 33, 24, 0.18);
  background: white;
}
.logo-text { line-height: 1.1; }
.logo-name { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.logo-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(43, 33, 24, 0.6); }

nav.main { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { nav.main { display: flex; } }
nav.main a { font-size: 14px; color: rgba(43, 33, 24, 0.8); position: relative; transition: color 0.2s; }
nav.main a:hover { color: var(--ink); }
nav.main a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; height: 2px; width: 0;
  background: var(--peach); transition: width 0.3s;
}
nav.main a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 8px; }
@media (min-width: 768px) { .header-actions { gap: 12px; } }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 1px solid rgba(43, 33, 24, 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.icon-btn:hover { background: var(--peach); border-color: var(--peach); }
.search-btn { display: none; }
@media (min-width: 768px) { .search-btn { display: flex; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500; transition: all 0.2s;
}
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #3d3025; }
.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
.menu-btn { display: flex; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ─── Search bar (desktop expandable) ─── */
.search-bar {
  display: none;
  background: rgba(255, 247, 236, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(43, 33, 24, 0.08);
  padding: 16px 32px;
  animation: slideDown 0.25s ease-out;
}
.search-bar.open { display: block; }
.search-bar-inner {
  max-width: 700px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  background: white; border-radius: 999px;
  padding: 8px 8px 8px 20px;
  border: 1px solid rgba(43, 33, 24, 0.1);
}
.search-bar-inner svg:first-child { color: rgba(43, 33, 24, 0.5); flex-shrink: 0; }
.search-bar-inner input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 8px 0;
}
.search-bar-inner input::placeholder { color: rgba(43, 33, 24, 0.4); }
.search-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s;
}
.search-close:hover { background: var(--peach); }

/* mobile menu */
.mobile-menu {
  display: none;
  background: var(--cream);
  border-top: 1px solid rgba(43, 33, 24, 0.1);
  padding: 24px 20px;
}
.mobile-menu.open { display: block; animation: slideDown 0.3s ease-out; }
.mobile-menu .search-wrap { position: relative; margin-bottom: 16px; }
.mobile-menu .search-wrap svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: rgba(43, 33, 24, 0.4);
}
.mobile-menu input {
  width: 100%; background: white; padding: 12px 16px 12px 44px;
  border-radius: 999px; border: 1px solid rgba(43, 33, 24, 0.1);
  font-size: 14px; outline: none; font-family: inherit;
}
.mobile-menu input:focus { border-color: var(--peach); }
.mobile-menu a.m-link { display: block; padding: 8px 0; font-weight: 500; }
.mobile-menu .m-cta {
  display: block; text-align: center; background: var(--ink); color: var(--cream);
  padding: 12px; border-radius: 999px; font-weight: 500; margin-top: 12px;
}

/* ─── Hero ─── */
.hero { position: relative; padding: 144px 20px 80px; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 176px 32px 112px; } }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.blob-1 { top: 128px; left: -80px; width: 288px; height: 288px; background: var(--peach); opacity: 0.5; }
.blob-2 { bottom: 0; right: 0; width: 384px; height: 384px; background: var(--blue); opacity: 0.4; }
.blob-3 { top: 160px; right: 25%; width: 160px; height: 160px; background: var(--yellow); opacity: 0.6; filter: blur(40px); }

.sparkle { position: absolute; }
.sparkle-1 { top: 128px; right: 12%; width: 20px; animation: float 4s ease-in-out infinite; }
.sparkle-2 { top: 50%; left: 8%; width: 16px; animation: float 5s ease-in-out infinite 1.5s; }
.squiggle-1 { position: absolute; top: 176px; right: 28%; width: 80px; opacity: 0.7; }

.hero-grid {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; gap: 48px; align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(43, 33, 24, 0.1);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 24px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(43, 33, 24, 0.7);
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); animation: pulse 2s ease-in-out infinite; }

.hero h1 {
  font-weight: 300;
  font-size: clamp(48px, 8vw, 92px); line-height: 0.95; letter-spacing: -0.03em;
}
.hero h1 .underline-wrap { position: relative; display: inline-block; }
.hero h1 .underline-wrap svg { position: absolute; bottom: -12px; left: 0; width: 100%; }
.hero p.lede { margin-top: 32px; font-size: 18px; max-width: 460px; color: rgba(43, 33, 24, 0.7); line-height: 1.6; }
@media (min-width: 768px) { .hero p.lede { font-size: 20px; } }

.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 24px; border-radius: 999px;
  border: 1px solid rgba(43, 33, 24, 0.2);
  font-weight: 500; transition: background 0.2s; font-size: 14px;
}
.btn-outline:hover { background: white; }

.trust-strip {
  margin-top: 48px; display: flex; flex-wrap: wrap;
  column-gap: 32px; row-gap: 12px;
  font-size: 14px; color: rgba(43, 33, 24, 0.7);
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.check {
  width: 20px; height: 20px; border-radius: 50%; background: var(--sage);
  display: flex; align-items: center; justify-content: center;
}

.hero-collage { position: relative; height: 460px; }
@media (min-width: 768px) { .hero-collage { height: 560px; } }

/* large real lifestyle photo */
.hero-photo {
  position: absolute; top: 0; right: 0;
  width: 88%; height: 84%;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.28);
  background: var(--peach); /* shows while loading / on fallback */
  transform: rotate(2deg);
  transition: transform 0.5s;
}
.hero-photo:hover { transform: rotate(0); }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero-photo.photo-failed img { display: none; }
.hero-photo.photo-failed::after {
  content: '📚'; font-size: 72px;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo .new-tag {
  position: absolute; top: 16px; left: 16px; right: auto;
}

/* designed book card accent layered over the photo */
.book-card {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s;
}
.book-accent {
  position: absolute; bottom: 0; left: 0;
  width: 42%; height: 40%;
  transform: rotate(-7deg);
  z-index: 3;
  border: 5px solid var(--bg);
}
.book-accent:hover { transform: rotate(0); }

.new-tag {
  background: var(--ink); color: var(--cream);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em;
  padding: 6px 12px; border-radius: 999px; font-weight: 600;
}

.floating-card {
  position: absolute; top: 28%; left: -4%;
  background: white; border-radius: 16px;
  box-shadow: 0 15px 30px -8px rgba(0,0,0,0.15);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  animation: float 4s ease-in-out infinite;
  z-index: 4;
}
.floating-card .icon-circle {
  width: 36px; height: 36px; border-radius: 50%; background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.floating-card .label { font-size: 11px; color: rgba(43, 33, 24, 0.6); }
.floating-card .num { font-size: 14px; font-weight: 700; }

/* book cover — designed (no copyrighted art) */
.book-ill {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 11% 12% 9%;
  overflow: hidden;
}
/* spine shading on the left edge */
.book-ill::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7%;
  background: linear-gradient(to right, rgba(43,33,24,0.22), rgba(43,33,24,0.04));
}
/* glossy page edge on the right */
.book-ill::after {
  content: ''; position: absolute; right: 4%; top: 8%; bottom: 8%; width: 3px;
  background: rgba(255,255,255,0.65); border-radius: 999px;
}
.book-ill .cover-top {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-size: clamp(11px, 2.6vw, 19px);
  z-index: 2;
}
.book-ill .cover-author {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(7px, 1.4vw, 10px);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(43,33,24,0.55);
  margin-top: 4px;
  z-index: 2;
}
/* central illustration sits in a soft rounded panel */
.book-ill .cover-art {
  flex: 1;
  margin: 9% 0 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.42);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  min-height: 0;
}
.book-ill .cover-art svg { width: 56%; height: 56%; }
/* little badge bottom-right of the art */
.book-ill .cover-dot {
  position: absolute; bottom: 8%; right: 9%;
  width: clamp(10px, 2.2vw, 16px); height: clamp(10px, 2.2vw, 16px);
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}

/* ── Book slot: real photo with designed-cover fallback ──
   Each book slot contains an <img> + a .book-ill fallback.
   When the photo loads, it covers the fallback. If it errors,
   JS adds .book-failed and the designed cover shows instead. */
.book-slot { position: relative; width: 100%; height: 100%; }
.book-slot .book-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 3;
  background: var(--cream);
}
/* hide the photo (revealing the designed fallback beneath) on error
   or when no real src has been set yet */
.book-slot.book-failed .book-photo { display: none; }
.book-slot .book-ill {
  position: absolute; inset: 0;
}

/* marquee */
.marquee-wrap {
  position: relative; margin-top: 64px; overflow: hidden;
  border-top: 1px solid rgba(43, 33, 24, 0.1);
  border-bottom: 1px solid rgba(43, 33, 24, 0.1);
  background: var(--cream);
}
@media (min-width: 768px) { .marquee-wrap { margin-top: 96px; } }
.marquee {
  display: flex; gap: 48px; padding: 16px 0; white-space: nowrap;
  animation: marquee 35s linear infinite; width: max-content;
}
.marquee span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(43, 33, 24, 0.7); font-weight: 500; }

/* ─── Section heading ─── */
section.section { padding: 80px 20px; }
@media (min-width: 768px) { section.section { padding: 128px 32px; } }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(43, 33, 24, 0.5); margin-bottom: 12px; }
h2.headline { font-size: clamp(36px, 5.5vw, 64px); line-height: 1; letter-spacing: -0.025em; font-weight: 500; }

.section-head {
  display: flex; flex-direction: column; gap: 24px;
  align-items: flex-start; justify-content: space-between; margin-bottom: 56px;
}
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; } }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; transition: gap 0.2s; }
.arrow-link:hover { gap: 12px; }

/* ─── Categories ─── */
.cat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }

.cat {
  position: relative; border-radius: 24px;
  padding: 24px; aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.4s;
}
@media (min-width: 768px) { .cat { padding: 28px; } }
.cat:hover { transform: translateY(-8px); }
.cat-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cat-emoji { font-size: clamp(36px, 5vw, 48px); }
.cat-count {
  background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 4px 10px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
}
.cat-age { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(43, 33, 24, 0.6); margin-bottom: 6px; }
.cat-name { font-size: 22px; font-weight: 700; line-height: 1.1; }
@media (min-width: 768px) { .cat-name { font-size: 26px; } }
.cat-explore { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; transition: gap 0.2s; font-family: 'Plus Jakarta Sans', sans-serif; }
.cat:hover .cat-explore { gap: 10px; }

/* ─── About ─── */
section.about { background: var(--cream); position: relative; overflow: hidden; }
.about-blob-1 { top: -128px; right: 0; width: 384px; height: 384px; background: rgba(201, 222, 193, 0.4); }
.about-blob-2 { bottom: -128px; left: 0; width: 384px; height: 384px; background: rgba(255, 217, 194, 0.4); }

.about-grid {
  position: relative; max-width: 1100px; margin: 0 auto;
  display: grid; gap: 48px; align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.about-collage { position: relative; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-cards > div {
  aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2);
  transition: transform 0.5s;
}
.about-cards > div:nth-child(1) { transform: rotate(-3deg); }
.about-cards > div:nth-child(1):hover { transform: rotate(0); }
.about-cards > div:nth-child(2) { margin-top: 48px; transform: rotate(4deg); }
.about-cards > div:nth-child(2):hover { transform: rotate(0); }

/* real lifestyle photo in the about collage */
.about-photo { position: relative; background: var(--sage); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo.photo-failed img { display: none; }
.about-photo.photo-failed::after {
  content: '📖'; font-size: 56px;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.badge-card {
  position: absolute; bottom: -24px; right: -24px;
  background: white; border-radius: 24px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.2);
  padding: 20px; max-width: 200px;
}
.avatars { display: flex; margin-bottom: 8px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid white; display: flex; align-items: center; justify-content: center;
  margin-left: -8px; font-size: 14px;
}
.avatar:first-child { margin-left: 0; }
.badge-card .text { font-size: 12px; font-weight: 600; }

.about-text h2 { margin-bottom: 32px; }
.about-text .lede { font-size: 18px; color: rgba(43, 33, 24, 0.75); line-height: 1.65; margin-bottom: 24px; }
.about-text .body { font-size: 16px; color: rgba(43, 33, 24, 0.65); line-height: 1.65; margin-bottom: 40px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 32px; border-top: 1px solid rgba(43, 33, 24, 0.1); }
.stat-num { font-family: 'Fraunces', serif; font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(43, 33, 24, 0.6); margin-top: 4px; }

/* ─── How it works ─── */
.how-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.how-grid {
  position: relative;
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .how-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.how-line {
  display: none; position: absolute; top: 64px; left: 16.6%; right: 16.6%;
  border-top: 2px dashed rgba(43, 33, 24, 0.15);
}
@media (min-width: 768px) { .how-line { display: block; } }

.step {
  position: relative; background: white; border-radius: 24px;
  padding: 32px; border: 1px solid rgba(43, 33, 24, 0.08);
  transition: box-shadow 0.3s;
}
.step:hover { box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1); }
.step-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.step-num { font-family: 'Fraunces', serif; font-size: 56px; font-weight: 700; color: rgba(43, 33, 24, 0.15); position: absolute; top: 24px; right: 24px; }
.step h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.step p { color: rgba(43, 33, 24, 0.65); line-height: 1.6; }

.how-cta { text-align: center; margin-top: 48px; }

/* ─── Instagram ─── */
section.insta { background: var(--cream); }
.insta-head h2 .at { font-style: italic; font-weight: 300; }

.btn-insta {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid rgba(43, 33, 24, 0.15);
  padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.btn-insta:hover { background: var(--peach); border-color: var(--peach); }

.insta-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .insta-grid { grid-template-columns: repeat(6, 1fr); } }

.insta-post {
  position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden;
}
.insta-overlay {
  position: absolute; inset: 0; background: rgba(43, 33, 24, 0);
  display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center;
  transition: background 0.3s;
}
.insta-overlay > div { opacity: 0; transition: opacity 0.3s; }
.insta-post:hover .insta-overlay { background: rgba(43, 33, 24, 0.7); }
.insta-post:hover .insta-overlay > div { opacity: 1; }
.insta-overlay svg { color: var(--cream); margin: 0 auto 8px; }
.insta-overlay p { color: var(--cream); font-size: 12px; font-weight: 500; line-height: 1.4; }

/* ─── Testimonials ─── */
.test-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.stars { display: flex; justify-content: center; gap: 4px; margin-top: 24px; align-items: center; }
.stars span { margin-left: 8px; font-size: 14px; color: rgba(43, 33, 24, 0.7); }
.test-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .test-grid { grid-template-columns: repeat(3, 1fr); } }
.test {
  border-radius: 24px; padding: 32px; transition: transform 0.3s;
}
@media (min-width: 768px) { .test { padding: 36px; } }
.test:hover { transform: translateY(-4px); }
.test .quote-icon { color: rgba(43, 33, 24, 0.25); margin-bottom: 16px; }
.test .quote { font-family: 'Fraunces', serif; font-size: 19px; line-height: 1.4; margin-bottom: 32px; font-weight: 400; }
@media (min-width: 768px) { .test .quote { font-size: 21px; } }
.test-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(43, 33, 24, 0.1); }
.test-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.8);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 700;
}
.test-name { font-size: 14px; font-weight: 600; }
.test-role { font-size: 12px; color: rgba(43, 33, 24, 0.6); }

/* ─── Footer ─── */
footer {
  background: var(--cream); border-top: 1px solid rgba(43, 33, 24, 0.1);
  padding: 64px 20px 40px;
}
@media (min-width: 768px) { footer { padding: 64px 32px 40px; } }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 40px; margin-bottom: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 2fr 2fr 3fr; } }
.footer-about p { color: rgba(43, 33, 24, 0.7); font-size: 14px; line-height: 1.6; max-width: 360px; margin: 20px 0 24px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 1px solid rgba(43, 33, 24, 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.socials a.ig:hover { background: var(--peach); border-color: var(--peach); }
.socials a.wa:hover { background: var(--sage); border-color: var(--sage); }
.socials a.ph:hover { background: var(--blue); border-color: var(--blue); }

.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(43, 33, 24, 0.5); margin-bottom: 16px; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: rgba(43, 33, 24, 0.8); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-contact { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(43, 33, 24, 0.8); margin-bottom: 12px; }
.footer-contact svg { margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 32px; border-top: 1px solid rgba(43, 33, 24, 0.1);
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start; justify-content: space-between;
  font-size: 12px; color: rgba(43, 33, 24, 0.6);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; } }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--ink); }

/* ─── Floating WhatsApp ─── */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
}
.float-wa::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: 0.3;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.float-wa-btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
@media (min-width: 768px) { .float-wa-btn { width: 64px; height: 64px; } }
.float-wa:hover .float-wa-btn { transform: scale(1.1); }
.float-wa-btn svg { width: 28px; height: 28px; }
@media (min-width: 768px) { .float-wa-btn svg { width: 32px; height: 32px; } }
.float-wa-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 999px;
  font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.float-wa:hover .float-wa-tip { opacity: 1; }

/* ─── Shipping info modal ─── */
.ship-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(43, 33, 24, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}
.ship-modal.open { display: flex; }
.ship-card {
  position: relative;
  background: var(--cream);
  border-radius: 28px;
  max-width: 440px; width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3);
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ship-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: white; border: 1px solid rgba(43, 33, 24, 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.ship-close:hover { background: var(--peach); border-color: var(--peach); }
.ship-icon {
  width: 64px; height: 64px; border-radius: 20px;
  background: var(--peach);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.ship-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(43, 33, 24, 0.5); margin-bottom: 12px; }
.ship-card h3 {
  font-family: 'Fraunces', serif; font-size: 32px; font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.ship-card p { color: rgba(43, 33, 24, 0.7); line-height: 1.6; margin-bottom: 24px; }
.ship-card p strong { color: var(--ink); font-weight: 600; }
.ship-cta { display: inline-flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.9) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── Animations ─── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes ping {
  75%, 100% { transform: scale(1.6); opacity: 0; }
}

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

/* ─── Reveal on scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
