/* Favourite Care — Brand Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-italic: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  /* Master brand */
  --deep-purple: #39336B;
  --royal-purple: #2D2860;
  --care-violet: #7E4A91;
  --soft-pink: #C96BA8;
  --gentle-pink: #E6A5CB;

  /* Neutrals */
  --white: #FFFFFF;
  --lavender-mist: #F6F3FB;
  --lilac-border: #E4DDF2;
  --charcoal: #1F1F2E;
  --slate: #6B687D;

  /* Category accents */
  --baby-sky: #DDEEFF;
  --baby-soft-blue: #8EC5E8;
  --baby-cream: #FFF7E8;
  --blush-mist: #FFF1F8;
  --fresh-aqua: #BFEFEA;
  --clean-teal: #45B8AC;
  --cool-mist: #F1FBFA;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(57, 51, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(57, 51, 107, 0.08);
  --shadow-lg: 0 16px 48px rgba(57, 51, 107, 0.12);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

/* Scrolling announce bar must clip its track */
.announce-bar { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--deep-purple);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.display-serif {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  font-feature-settings: "liga" 1, "dlig" 1;
}
h2.display-serif {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
}
.display-serif em, .display-serif i {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--care-violet);
}
.italic-accent {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--care-violet);
}

p { margin: 0; color: var(--charcoal); }
a { color: var(--deep-purple); text-decoration: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--lilac-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.logo.compact img { height: 38px; }
.logo.lg img { height: 64px; }
.logo.footer-logo img {
  height: 64px;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a:hover { color: var(--deep-purple); }
.nav a.active { color: var(--deep-purple); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--soft-pink);
  border-radius: 2px;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--lilac-border);
  background: var(--white);
  cursor: pointer;
  color: var(--deep-purple);
  position: relative;
  transition: all .2s;
}
.icon-btn:hover { border-color: var(--deep-purple); transform: translateY(-1px); }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--soft-pink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--deep-purple);
  color: white;
}
.btn-primary:hover {
  background: var(--royal-purple);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(57,51,107,0.25);
}
.btn-secondary {
  background: white;
  color: var(--deep-purple);
  border: 1.5px solid var(--deep-purple);
}
.btn-secondary:hover { background: var(--lavender-mist); }
.btn-accent {
  background: var(--soft-pink);
  color: white;
}
.btn-accent:hover { background: #B85993; }
.btn-ghost {
  background: transparent;
  color: var(--deep-purple);
  padding: 8px 0;
}
.btn-ghost:hover { gap: 12px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--royal-purple);
  color: rgba(255,255,255,0.78);
  padding: 72px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-top: 20px;
  max-width: 320px;
}
.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gentle-pink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.parent-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-pill);
  font-size: 12px;
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: white;
  transition: background 0.2s;
}
.social-links a:hover { background: var(--soft-pink); }

/* ============ SECTION HELPERS ============ */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft-pink);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--soft-pink);
  border-radius: 2px;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.section-head h2 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--care-violet);
}
.section-head p {
  color: var(--slate);
  font-size: 17px;
  text-wrap: pretty;
}

/* ============ HAMBURGER / MOBILE NAV ============ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 60;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.22,.61,.36,1);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 55;
  flex-direction: column;
  padding: 84px 32px 48px;
  overflow-y: auto;
}
.mobile-nav-drawer.open {
  display: flex;
  animation: drawer-in 0.28s cubic-bezier(.22,.61,.36,1);
}
@keyframes drawer-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.mobile-nav-drawer a {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 18px 0;
  border-bottom: 1px solid var(--lilac-border);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-drawer a.active,
.mobile-nav-drawer a:hover { color: var(--deep-purple); }
.mobile-nav-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-cta .btn { justify-content: center; }

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  /* Nav */
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn { display: none; }
  body.nav-open { overflow: hidden; }

  /* Layout */
  .container { padding: 0 20px; }
  .section { padding: 48px 0 !important; }
  .section-tight { padding: 32px 0 !important; }

  /* Press logos — 3 columns */
  .press-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }

  /* Category cards — shrink text & padding */
  .category-card {
    padding: 24px !important;
    min-height: unset !important;
  }
  .category-card h3 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-top: 12px !important;
  }
  .category-card p { font-size: 14px !important; }
  .cat-illust {
    width: 120px !important;
    height: 120px !important;
  }

  /* Why section — single column */
  .why-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .why-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Product grid — single column */
  .product-grid,
  .card-grid {
    grid-template-columns: 1fr !important;
    width: calc(100% - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Promise section — full width single column */
  .promise-inner {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .promise-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }
  .promise-stat { width: auto !important; }

  /* Strip grid — 2 columns */
  .strip-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  /* Hide decorative floating hero elements */
  .hero-card,
  .float-badge { display: none !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}
