/* ===================================================================
   Honey Bee — site.css
   Brand: warm, soft, premium baby care. Yellow as accent, lots of air.
   Fonts: Fraunces (display) + Open Sans (body). Logo uses brand Roca (image).
   =================================================================== */

:root {
  /* Brand */
  --honey:        #FBE37E;   /* primary accent */
  --honey-deep:   #F2D04A;   /* hover / stronger accent */
  --honey-wash:   #FEF7DC;   /* light wash background */
  --honey-tint:   #FFFBEC;   /* very light tint */

  --sage:         #DCE3C4;   /* soft secondary (footer) */
  --sage-deep:    #C7D2A6;

  /* Neutrals */
  --ink:          #3A3A3C;   /* headings + logo */
  --ink-soft:     #4A4A4C;
  --text-body:    #6E6E6E;   /* body copy */
  --text-muted:   #9A9A98;   /* captions, meta */
  --surface:      #FFFFFF;
  --off:          #FAFAF7;   /* alternate section bg */
  --border:       #ECECE6;
  --border-light: #F3F3EE;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Open Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 100px;

  /* Spacing scale */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 72px; --s7: 104px; --s8: 140px;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 820px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(60,55,30,.06), 0 1px 2px rgba(60,55,30,.04);
  --shadow-md: 0 8px 28px rgba(60,55,30,.08), 0 2px 8px rgba(60,55,30,.04);
  --shadow-lg: 0 20px 60px rgba(60,55,30,.12), 0 6px 18px rgba(60,55,30,.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 var(--s3);
  letter-spacing: -0.01em;
}
p { margin: 0 0 var(--s3); }

/* ---------- Utilities ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5); }
.narrow { max-width: var(--maxw-narrow); margin-left: auto; margin-right: auto; }
.section { padding: var(--s7) 0; }
.section--tight { padding: var(--s6) 0; }
.bg-off { background: var(--off); }
.bg-wash { background: var(--honey-wash); }
.bg-honey { background: var(--honey); }
.bg-sage { background: var(--sage); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin: 0 0 var(--s2);
}
.eyebrow--ink { color: var(--text-muted); }
.lead { font-size: 1.18rem; color: var(--text-body); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
.skip-link {
  position: absolute; left: -9999px; z-index: 9999;
  padding: 12px 24px; background: var(--ink); color: #fff; border-radius: var(--r-sm);
}
.skip-link:focus { left: var(--s3); top: var(--s3); }
:focus-visible { outline: 2px solid var(--honey-deep); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 30px; border-radius: var(--r-pill);
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  cursor: pointer; transition: all .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: #fff; }
.btn--honey { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.btn--honey:hover, .btn--honey:focus-visible { background: var(--honey-deep); border-color: var(--honey-deep); color: var(--ink); }
.btn--ghost { border-color: var(--border); color: var(--text-body); }
.btn--ghost:hover { background: var(--off); color: var(--ink); border-color: var(--ink); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--honey);
  color: var(--ink);
  font-size: 14px;
  text-align: center;
  padding: 10px var(--s5);
  display: flex; align-items: center; justify-content: center; gap: var(--s3);
  position: relative; z-index: 60;
}
.announce p { margin: 0; font-weight: 600; letter-spacing: .01em; }
.announce__social { position: absolute; left: var(--s5); display: inline-flex; }
.announce__social svg { width: 18px; height: 18px; }

/* ---------- Header / Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .25s ease, padding .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--s5);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s3);
}
.nav__links { display: flex; gap: var(--s4); align-items: center; }
.nav__links a {
  font-size: 15px; color: var(--ink-soft); font-weight: 500;
  padding: 6px 2px; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--honey-deep); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__logo { justify-self: center; }
.nav__logo img { height: 56px; width: auto; }
.nav__utils { justify-self: end; display: flex; align-items: center; gap: var(--s3); }
.nav__lang { font-size: 14px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
.nav__icon { color: var(--ink-soft); display: inline-flex; }
.nav__icon svg { width: 20px; height: 20px; }
.nav__toggle {
  display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px;
}
.nav__toggle svg { width: 26px; height: 26px; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
  background: #fff; z-index: 70; padding: var(--s5) var(--s4);
  box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s ease;
  flex-direction: column; gap: var(--s4);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__close { align-self: flex-end; background: none; border: none; cursor: pointer; color: var(--ink); }
.mobile-menu__close svg { width: 26px; height: 26px; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.menu-backdrop { display: none; position: fixed; inset: 0; background: rgba(40,38,30,.4); z-index: 65; }
.menu-backdrop.open { display: block; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; background: var(--honey-wash);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.55) 60%, rgba(255,255,255,.82) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 760px; padding: var(--s7) var(--s5); }
.hero__content h1 { color: var(--ink); margin-bottom: var(--s3); }
.hero__content p { color: var(--ink-soft); font-size: 1.15rem; margin: 0 auto var(--s4); max-width: 600px; }

/* ---------- Split section (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }
.split__body h2 { margin-bottom: var(--s3); }
.split__body p { max-width: 46ch; }

/* ---------- Feature cards (yellow circles) ---------- */
.features__head { max-width: 640px; margin: 0 auto var(--s6); text-align: center; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.feature { text-align: center; }
.feature__icon {
  width: 132px; height: 132px; border-radius: 50%; background: var(--honey);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--s3);
}
.feature__icon svg { width: 64px; height: 64px; color: var(--ink); }
.feature h3 { font-size: 1.25rem; margin-bottom: var(--s1); }
.feature p { color: var(--text-body); margin: 0; }
.features__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .features__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .features__grid--4 { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi { background: var(--honey); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.testi__card { text-align: center; }
.testi__quote { font-family: var(--font-display); font-style: italic; font-size: 1.18rem; color: var(--ink); line-height: 1.5; margin: 0 0 var(--s2); }
.testi__author { font-size: 14px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Product line ---------- */
.products__head { text-align: center; max-width: 620px; margin: 0 auto var(--s6); }
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.product {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--r-lg);
  padding: var(--s3); text-align: center; transition: transform .22s ease, box-shadow .22s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product__img { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; margin-bottom: var(--s2); }
.product__img img { max-height: 100%; width: auto; object-fit: contain; }
.product__size { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: 4px; }
.product h3 { font-size: 1.15rem; margin-bottom: 4px; }
.product__meta { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---------- Pills / chips row ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--honey-tint); border: 1px solid var(--honey); border-radius: var(--r-pill);
  padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.chip svg { width: 18px; height: 18px; color: var(--honey-deep); }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; }
.newsletter__inner { max-width: 560px; margin: 0 auto; }
.newsletter h2 { margin-bottom: var(--s2); }
.newsletter p { color: var(--text-body); margin-bottom: var(--s4); }
.newsletter__form { display: flex; gap: var(--s2); max-width: 480px; margin: 0 auto; }
.newsletter__form input {
  flex: 1; padding: 14px 18px; border: 1.5px solid var(--border); border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff;
}
.newsletter__form input:focus { border-color: var(--honey-deep); outline: none; }

/* ---------- Brand story band ---------- */
.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s7); align-items: center; }
.story__bee { text-align: center; }
.story__bee img { max-width: 320px; margin: 0 auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--honey-wash); text-align: center; padding: var(--s7) 0 var(--s6); }
.page-hero h1 { margin-bottom: var(--s2); }
.page-hero p { max-width: 560px; margin: 0 auto; color: var(--text-body); font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 15px; color: var(--ink); margin-bottom: var(--s3); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--honey-deep); outline: none; }
.contact-info p { margin-bottom: var(--s2); }
.contact-info a { color: var(--ink); border-bottom: 1px solid var(--honey-deep); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.post-card { border: 1px solid var(--border-light); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__img { aspect-ratio: 16/10; background: var(--honey-wash); display: flex; align-items: center; justify-content: center; }
.post-card__img img { width: 90px; height: auto; opacity: .85; }
.post-card__body { padding: var(--s3); flex: 1; display: flex; flex-direction: column; }
.post-card__tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: 8px; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.post-card p { font-size: 14px; color: var(--text-body); margin: 0; }
.blog-empty { text-align: center; max-width: 520px; margin: 0 auto; padding: var(--s6) 0; }
.blog-empty img { width: 140px; margin: 0 auto var(--s4); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; padding: var(--s6) var(--s5) var(--s7); }
.article__meta { color: var(--text-muted); font-size: 14px; margin-bottom: var(--s2); }
.article h1 { margin-bottom: var(--s3); }
.article__takeaways { background: var(--honey-wash); border-left: 4px solid var(--honey); border-radius: var(--r-md); padding: var(--s3) var(--s4); margin: var(--s4) 0; }
.article__takeaways h2 { font-size: 1.2rem; margin-bottom: var(--s2); }
.article__takeaways ul { list-style: disc; padding-left: 20px; }
.article__takeaways li { margin-bottom: 8px; color: var(--ink-soft); }
.article__body h2 { margin-top: var(--s5); }
.article__body img { border-radius: var(--r-md); margin: var(--s4) 0; }
.article details { border-bottom: 1px solid var(--border); padding: var(--s2) 0; }
.article summary { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); cursor: pointer; }
.article summary::-webkit-details-marker { color: var(--honey-deep); }

/* ---------- CTA row ---------- */
.cta-row { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage); color: var(--ink-soft); padding: var(--s7) 0 var(--s4); }
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s3); padding-bottom: var(--s5); }
.footer-contact { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; justify-content: center; }
.footer-email { font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid var(--sage-deep); }
.footer-email:hover { color: var(--ink); border-color: var(--ink); }
.footer-logo img { height: 54px; width: auto; }
.footer-nav { display: flex; gap: var(--s4); flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.footer-nav a:hover { color: var(--ink); }
.footer-social { display: inline-flex; }
.footer-social svg { width: 24px; height: 24px; color: var(--ink-soft); }
.footer-social a:hover svg { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--sage-deep); padding-top: var(--s3); display: flex; justify-content: center; gap: var(--s3); flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --s7: 80px; --s6: 56px; }
  .split, .story, .contact-grid { gap: var(--s5); }
  .features__grid, .testi__grid, .blog-grid { gap: var(--s4); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --s5: 24px; --s7: 60px; --s6: 44px; }
  body { font-size: 16px; }
  .nav__links, .nav__utils .nav__lang { display: none; }
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__logo { justify-self: start; }
  .nav__logo img { height: 46px; }
  .nav__toggle { display: inline-flex; }
  .mobile-menu { display: flex; }
  .announce__social { display: none; }
  .split, .story, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .features__grid, .testi__grid, .blog-grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
  .newsletter__form { flex-direction: column; }
  .hero { min-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
