/* =============================================================
   SinoArgent Coconut Theme - v1.1 (quitenice-inspired editorial)
   System fonts only. No external dependencies.
   ============================================================= */
:root {
  --dark-green:    #1f4d2b;
  --mid-green:     #2d6e3e;
  --leaf-green:    #6a8e5a;
  --coconut-brown: #6b4423;
  --warm-brown:    #8a5a32;
  --cream:         #f7f1e1;
  --cream-light:   #fbf6e8;
  --beige:         #ede1c4;
  --beige-dark:    #d9c79f;
  --white:         #ffffff;
  --text:          #2a2418;
  --text-light:    #6b6354;
  --border:        #e0d4b0;
  --shadow-sm:     0 2px 8px rgba(80, 60, 20, 0.06);
  --shadow:        0 8px 24px rgba(80, 60, 20, 0.10);
  --shadow-lg:     0 16px 40px rgba(80, 60, 20, 0.14);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
          "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --container-narrow: 880px;
  --radius:    14px;
  --radius-pill: 999px;
  --header-h:  72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a    { color: var(--dark-green); text-decoration: none; }
a:hover { text-decoration: underline; }
ul   { list-style: none; }
button { font: inherit; cursor: pointer; }

/* ---- Layout ---- */
.container        { max-width: var(--container);        margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.section-pad   { padding: 96px 0; }
.section-pad-sm{ padding: 56px 0; }
.bg-cream      { background: var(--cream); }
.bg-cream-light{ background: var(--cream-light); }
.bg-beige      { background: var(--beige); }
.bg-dark       { background: var(--dark-green); color: var(--cream); }
.bg-dark a     { color: var(--beige); }
.text-center   { text-align: center; }

/* ---- Typography ---- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coconut-brown);
  font-weight: 700;
  margin-bottom: 18px;
}
.display {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dark-green);
}
.display-sm {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--dark-green);
}
.section-title {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--dark-green);
  margin-bottom: 14px;
}
.section-title.light { color: var(--cream); }
.section-sub {
  font-size: 1.08rem;
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 48px;
}
.section-sub.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Buttons (pill style) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.btn-primary   { background: var(--dark-green); color: var(--cream); }
.btn-primary:hover { background: var(--mid-green); color: var(--cream); }
.btn-cream     { background: var(--cream); color: var(--dark-green); }
.btn-cream:hover { background: var(--white); }
.btn-outline   {
  background: transparent;
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
  padding: 12px 30px;
}
.btn-outline:hover { background: var(--dark-green); color: var(--cream); }
.btn-whatsapp  { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #20bf5b; color: var(--white); }
.btn-lg        { padding: 16px 40px; font-size: 1.02rem; min-height: 54px; }
.btn-sm        { padding: 10px 22px; font-size: 0.88rem; min-height: 40px; }
.btn-block     { display: flex; width: 100%; }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  height: var(--header-h);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-green);
  letter-spacing: 0.3px;
}
.brand-text:hover { text-decoration: none; color: var(--mid-green); }
.site-branding img { height: 44px; width: auto; }

.main-nav .nav-list { display: flex; gap: 4px; }
.main-nav .nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-pill);
  transition: all .15s;
}
.main-nav .nav-list li a:hover {
  background: var(--dark-green);
  color: var(--cream);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-green);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO (editorial)
   ================================================================ */
.hero {
  position: relative;
  background: var(--cream);
  padding: 120px 0 100px;
  overflow: hidden;
  text-align: center;
}
.hero-inner { position: relative; z-index: 2; }
.hero-headline {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--dark-green);
  margin: 0 auto 18px;
  max-width: 980px;
}
.hero-headline em {
  font-style: normal;
  color: var(--coconut-brown);
  position: relative;
  display: inline-block;
}
.hero-headline em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 6px;
  background: var(--beige-dark);
  border-radius: 999px;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-light);
  max-width: 620px;
  margin: 24px auto 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Decorative leaves (CSS-only, no image deps) */
.hero-leaf {
  position: absolute;
  width: 110px;
  height: 220px;
  background: var(--leaf-green);
  border-radius: 100% 0;
  opacity: 0.22;
  z-index: 1;
}
.hero-leaf--1 { top: 60px; left: -30px; transform: rotate(-30deg); }
.hero-leaf--2 { top: 80px; right: -40px; transform: rotate(140deg); width: 90px; height: 180px; background: var(--coconut-brown); opacity: 0.15; }
.hero-leaf--3 { bottom: -40px; left: 12%; transform: rotate(60deg); width: 70px; height: 140px; opacity: 0.18; }

/* ================================================================
   BENEFIT PILLS ROW ("SinoArgent Can")
   ================================================================ */
.benefits {
  background: var(--cream-light);
  padding: 64px 0;
}
.benefits-title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coconut-brown);
  font-weight: 700;
  margin-bottom: 36px;
}
.benefit-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.benefit-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform .2s, box-shadow .2s;
}
.benefit-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.benefit-pill .pill-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--dark-green);
  font-weight: 700;
}
.benefit-pill h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.3;
}
.benefit-pill p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ================================================================
   EDITORIAL INTRO ("The fiber of our being" style)
   ================================================================ */
.editorial {
  padding: 100px 0;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.editorial-copy .eyebrow { margin-bottom: 16px; }
.editorial-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--dark-green);
  margin-bottom: 24px;
}
.editorial-copy p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
}
.editorial-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--beige);
  box-shadow: var(--shadow-lg);
}
.editorial-media .placeholder-photo {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coconut-brown);
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
}

/* ================================================================
   PRODUCT CARDS ("Meet The Flavors" style)
   ================================================================ */
.product-section { padding: 100px 0; background: var(--cream-light); }
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-photo-wrap {
  aspect-ratio: 1/1;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-photo-wrap .placeholder-photo {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-brown);
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.product-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-green);
  margin: 24px 24px 6px;
}
.product-card .meta {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0 24px 18px;
  line-height: 1.5;
}

/* ================================================================
   BADGE ROW ("We're Picky")
   ================================================================ */
.picky {
  padding: 80px 0;
  background: var(--beige);
  text-align: center;
}
.picky h2 { margin-bottom: 14px; }
.picky-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.picky-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--dark-green);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--border);
}
.picky-badge::before {
  content: "\2713";
  color: var(--leaf-green);
  font-weight: 800;
}

/* ================================================================
   SPEC TABLE
   ================================================================ */
.spec-section { padding: 100px 0; background: var(--cream); }
.table-wrap { overflow-x: auto; margin-top: 36px; }
.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table th {
  background: var(--dark-green);
  color: var(--cream);
  padding: 16px 24px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.spec-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  vertical-align: top;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child {
  font-weight: 700;
  color: var(--coconut-brown);
  width: 240px;
}
.spec-table tr:nth-child(even) td { background: var(--cream-light); }

/* ================================================================
   TESTIMONIALS ("Gut Feelings" → "Buyer Feedback")
   ================================================================ */
.testimonials { padding: 100px 0; background: var(--cream-light); }
.testimonials .section-title { text-align: center; }
.testimonials .section-sub { text-align: center; margin: 0 auto 48px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 22px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--leaf-green), var(--dark-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 20px;
}
.testimonial-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.testimonial-meta strong {
  display: block;
  color: var(--dark-green);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
}

/* ================================================================
   QUOTATION CTA
   ================================================================ */
.quotation-section {
  padding: 100px 0;
  background: var(--dark-green);
  color: var(--cream);
  text-align: center;
}
.quotation-section .section-title { color: var(--cream); margin-bottom: 18px; }
.quotation-section .section-sub  { color: rgba(247, 241, 225, 0.78); margin: 0 auto 40px; }
.quotation-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  margin-top: 48px;
  text-align: left;
  align-items: start;
}
.quotation-checklist {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px;
}
.quotation-checklist h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 18px;
}
.quotation-checklist ul li {
  padding: 10px 0 10px 28px;
  font-size: 0.98rem;
  color: rgba(247, 241, 225, 0.92);
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.quotation-checklist ul li:last-child { border-bottom: none; }
.quotation-checklist ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--leaf-green);
  font-weight: 800;
}
.quotation-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-section { padding: 100px 0; background: var(--cream); }
.contact-section .section-title { text-align: center; }
.contact-section .section-sub  { text-align: center; margin: 0 auto 48px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.contact-card {
  background: var(--white);
  border-radius: 22px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.contact-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--dark-green);
  font-weight: 800;
}
.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-green);
}
.contact-card p { font-size: 0.95rem; color: var(--text-light); }
.contact-link {
  color: var(--dark-green);
  font-weight: 600;
  word-break: break-all;
}
.wechat-qr {
  width: 160px; height: 160px;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin: 0 auto;
}
.wechat-qr-placeholder {
  width: 160px; height: 160px;
  border-radius: 14px;
  background: var(--cream);
  border: 2px dashed var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0 auto;
  padding: 8px;
}
.wechat-id {
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 6px;
}
.placeholder-note {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
  opacity: 0.7;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--dark-green);
  color: var(--cream);
  padding: 64px 0 0;
}
.site-footer a { color: var(--beige); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cream);
  margin-bottom: 18px;
}
.footer-col p { font-size: 0.92rem; line-height: 1.7; color: rgba(247, 241, 225, 0.78); }
.footer-nav-list li a {
  display: block;
  padding: 5px 0;
  font-size: 0.92rem;
}
.footer-link { font-size: 0.92rem; }
.footer-bottom {
  background: rgba(0,0,0,0.18);
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.84rem; color: rgba(247, 241, 225, 0.6); }

/* ================================================================
   INNER PAGE TEMPLATE
   ================================================================ */
.page-content { padding: 80px 0 100px; background: var(--cream); }
.page-header {
  margin-bottom: 40px;
  text-align: center;
}
.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark-green);
  letter-spacing: -0.01em;
}
.entry-content { max-width: 760px; margin: 0 auto; font-size: 1.05rem; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2 { font-size: 1.6rem; color: var(--dark-green); margin: 1.6em 0 0.5em; }
.entry-content h3 { font-size: 1.2rem; color: var(--coconut-brown); margin: 1.4em 0 0.4em; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .editorial-grid { grid-template-columns: 1fr; gap: 40px; }
  .editorial-media { max-width: 520px; margin: 0 auto; }
  .quotation-body { grid-template-columns: 1fr; gap: 28px; }
  .benefit-pills  { grid-template-columns: 1fr; gap: 16px; max-width: 480px; }
}

@media (max-width: 768px) {
  .section-pad   { padding: 64px 0; }
  .editorial     { padding: 64px 0; }
  .product-section, .spec-section, .testimonials, .quotation-section, .contact-section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
    padding: 8px 0;
  }
  .main-nav.open { display: block; }
  .main-nav .nav-list { flex-direction: column; padding: 8px 16px; }
  .main-nav .nav-list li a {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; }

  .quotation-cta { padding: 24px; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 18px; }
  .hero-leaf--1, .hero-leaf--2 { display: none; }
}

/* ================================================================
   HERO ENTRANCE ANIMATION (quitenice-style amplify + reveal)
   - Headline scales from 0.8 -> 1 (amplifies)
   - <em> highlight word fades in slightly later with underline draw
   - Sub-text + buttons rise from below
   - Leaves drift in from off-screen
   ================================================================ */
@keyframes sa-amplify {
  0%   { opacity: 0; transform: scale(0.78); letter-spacing: -0.04em; }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1);     letter-spacing: -0.025em; }
}
@keyframes sa-rise {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes sa-fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes sa-underline {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes sa-em-in {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes sa-leaf-l {
  0%   { opacity: 0; transform: translateX(-80px) rotate(-60deg); }
  100% { opacity: 0.22; transform: translateX(0) rotate(-30deg); }
}
@keyframes sa-leaf-r {
  0%   { opacity: 0; transform: translateX(80px) rotate(180deg); }
  100% { opacity: 0.15; transform: translateX(0) rotate(140deg); }
}
@keyframes sa-leaf-b {
  0%   { opacity: 0; transform: translateY(40px) rotate(20deg); }
  100% { opacity: 0.18; transform: translateY(0) rotate(60deg); }
}

/* Initial hidden state + animation triggers */
.hero .eyebrow       { opacity: 0; animation: sa-rise .7s ease-out .15s forwards; }
.hero-headline       { opacity: 0; animation: sa-amplify .9s cubic-bezier(.2,.7,.2,1) .35s forwards;
                       transform-origin: center bottom; will-change: transform, opacity; }
/* Hide the <em> word + underline initially, then reveal after headline lands */
.hero-headline em            { opacity: 0; animation: sa-em-in .5s ease-out 1.05s forwards; }
.hero-headline em::after     { transform: scaleX(0); transform-origin: left center;
                               animation: sa-underline .55s cubic-bezier(.65,0,.35,1) 1.35s forwards; }
.hero-sub            { opacity: 0; animation: sa-rise .7s ease-out 1.15s forwards; }
.hero-actions        { opacity: 0; animation: sa-rise .7s ease-out 1.35s forwards; }

/* Leaves drift in */
.hero-leaf--1 { opacity: 0; animation: sa-leaf-l 1.1s ease-out .55s forwards; }
.hero-leaf--2 { opacity: 0; animation: sa-leaf-r 1.1s ease-out .75s forwards; }
.hero-leaf--3 { opacity: 0; animation: sa-leaf-b 1.0s ease-out .95s forwards; }

/* Subtle hover lift on the highlighted word */
.hero-headline em            { transition: transform .25s ease; }
.hero-headline:hover em      { transform: translateY(-2px); }

/* Accessibility: kill animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow,
  .hero-headline,
  .hero-headline em,
  .hero-sub,
  .hero-actions,
  .hero-leaf--1,
  .hero-leaf--2,
  .hero-leaf--3            { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-headline em::after { animation: none !important; transform: scaleX(1) !important; }
  .hero-leaf--1            { opacity: 0.22 !important; }
  .hero-leaf--2            { opacity: 0.15 !important; }
  .hero-leaf--3            { opacity: 0.18 !important; }
}

/* ================================================================
   SCROLL REVEAL (paired with main.js IntersectionObserver)
   Hidden until JS adds .is-visible. If JS fails or reduced-motion,
   .reveal never gets applied and content stays visible by default.
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Editorial: copy slides from left, photo from right */
.editorial-copy.reveal  { transform: translate(-22px, 12px); }
.editorial-media.reveal { transform: translate(22px, 12px); }
.editorial-copy.reveal.is-visible,
.editorial-media.reveal.is-visible { transform: translate(0, 0); }

/* ================================================================
   HERO v2 — scroll-driven (quitenice-style)
   Driven by --p (0..1) set by JS on .hero-stage based on scroll
   position. Fully reversible: as user scrolls up, --p goes back.
   ================================================================ */

/* Disable the old entrance animations inside the new hero so the
   scroll-driven transform fully controls layout & opacity. */
.hero-stage .eyebrow,
.hero-stage .hero-headline,
.hero-stage .hero-headline em,
.hero-stage .hero-sub,
.hero-stage .hero-actions,
.hero-stage .hero-leaf--1,
.hero-stage .hero-leaf--2,
.hero-stage .hero-leaf--3 {
    animation: none !important;
    opacity: 1 !important;
    transform: none;
}
.hero-stage .hero-headline em::after {
    animation: none !important;
    transform: scaleX(1) !important;
}

.hero-stage {
    position: relative;
    --p: 0;
    height: 200vh;                /* scroll length driving the animation */
    background: var(--cream);
}
.hero-sticky {
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    overflow: hidden;
}

/* ---- Hero image: grows from a contained card into full-bleed --- */
.hero-image {
    position: absolute;
    left:  calc(24px - var(--p) * 24px);
    right: calc(24px - var(--p) * 24px);
    bottom: 0;
    height: calc(46% + var(--p) * 54%);
    background-image: var(--hero-bg, linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%));
    background-size: cover;
    background-position: center;
    border-radius: calc(40px - var(--p) * 40px) calc(40px - var(--p) * 40px) 0 0;
    box-shadow: 0 calc(20px - var(--p) * 20px) calc(40px - var(--p) * 40px) rgba(80, 60, 20, calc(0.12 * (1 - var(--p))));
    z-index: 1;
    will-change: height, left, right, border-radius;
}
/* Gentle dark gradient at the bottom of the image — fades in as image grows */
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
                  rgba(0,0,0,0) 35%,
                  rgba(0,0,0, calc(var(--p) * 0.32)) 100%);
    border-radius: inherit;
    pointer-events: none;
}
.hero-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image-placeholder-text {
    color: var(--warm-brown);
    font-size: 0.95rem;
    background: rgba(255,255,255,0.7);
    padding: 10px 18px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

/* ---- Hero content: shrinks and slides down into the image ------ */
.hero-content {
    position: absolute;
    left: 50%;
    top: 14%;
    width: min(92%, 980px);
    text-align: center;
    translate: -50% calc(var(--p) * 28vh);
    scale: calc(1 - var(--p) * 0.38);
    transform-origin: center top;
    z-index: 3;
    will-change: translate, scale;
}
.hero-stage .hero-headline {
    /* Color interpolates from dark-green to white as you scroll */
    color: color-mix(in srgb,
                     var(--dark-green) calc((1 - var(--p)) * 100%),
                     #ffffff             calc(var(--p) * 100%));
    text-shadow: 0 calc(var(--p) * 2px) calc(var(--p) * 18px)
                 rgba(0, 0, 0, calc(var(--p) * 0.45));
    transition: none;
}
.hero-stage .hero-headline em {
    color: color-mix(in srgb,
                     var(--coconut-brown) calc((1 - var(--p)) * 100%),
                     #ffe9b8                calc(var(--p) * 100%));
}
.hero-stage .hero-headline em::after {
    background: color-mix(in srgb,
                          var(--beige-dark) calc((1 - var(--p)) * 100%),
                          rgba(255,255,255,0.85) calc(var(--p) * 100%));
}
.hero-stage .hero-sub {
    color: color-mix(in srgb,
                     var(--text-light)        calc((1 - var(--p)) * 100%),
                     rgba(255,255,255,0.92)   calc(var(--p) * 100%));
    text-shadow: 0 calc(var(--p) * 1px) calc(var(--p) * 8px)
                 rgba(0,0,0, calc(var(--p) * 0.35));
}

/* Leaves: keep decorative, fade out as image takes over */
.hero-stage .hero-leaf {
    z-index: 2;
    opacity: calc(0.22 * (1 - var(--p)));
}
.hero-stage .hero-leaf--1 { top: 80px;  left: -30px; transform: rotate(-30deg); }
.hero-stage .hero-leaf--2 { top: 120px; right: -40px; transform: rotate(140deg);
                             width: 90px; height: 180px; background: var(--coconut-brown); }

/* ---- Fallback for browsers without color-mix (very rare in 2026) - */
@supports not (color: color-mix(in srgb, red, blue)) {
    .hero-stage .hero-headline { color: var(--dark-green); }
    .hero-stage .hero-sub      { color: var(--text-light); }
}

/* ---- Reduced motion: pin everything in the calm initial state --- */
@media (prefers-reduced-motion: reduce) {
    .hero-stage { height: auto; min-height: 80vh; }
    .hero-sticky { position: relative; top: 0; height: auto; padding: 80px 0 0; }
    .hero-image { position: relative; left: 0; right: 0; height: 60vh; margin-top: 40px; border-radius: 0; }
    .hero-content { position: relative; top: 0; translate: 0 0; scale: 1; left: 0; margin: 0 auto 32px; }
    .hero-stage .hero-headline { color: var(--dark-green); }
}

/* ---- Mobile tuning ---- */
@media (max-width: 768px) {
    .hero-stage  { height: 170vh; }
    .hero-image  { height: calc(40% + var(--p) * 60%); }
    .hero-content {
        top: 10%;
        translate: -50% calc(var(--p) * 22vh);
        scale: calc(1 - var(--p) * 0.32);
    }
}
@media (max-width: 480px) {
    .hero-stage  { height: 150vh; }
    .hero-stage .hero-leaf { display: none; }
}

/* ================================================================
   REFINEMENT v1.2 - editorial serif, no emoji, sharper palette
   This block intentionally OVERRIDES v1.1 values.
   ================================================================ */

:root {
    /* Refined palette — slightly more muted, more editorial */
    --dark-green:    #1d3d2a;
    --mid-green:     #2a5b3b;
    --leaf-green:    #5d7d52;
    --coconut-brown: #5a3b22;
    --warm-brown:    #7a5234;
    --cream:         #f4ecd8;
    --cream-light:   #faf3df;
    --beige:         #e7dabf;
    --beige-dark:    #c9b78f;
    --border:        #d8cba6;
    --text:          #1f1b14;
    --text-light:    #5a5345;

    /* Editorial serif for display + headings (system fonts only) */
    --font-display: Georgia, "Times New Roman", "Songti SC", "STSong",
                    "PingFang SC", "Noto Serif SC", serif;
    /* Body stays in clean sans */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
            "Helvetica Neue", Arial, sans-serif;
}

/* ---- Apply serif to all display headings ---- */
.display,
.display-sm,
.section-title,
.hero-headline,
.editorial-copy h2,
.product-card h3,
.benefit-pill h3,
.contact-card h3,
.testimonial-meta strong,
.page-title,
.brand-text,
.footer-brand {
    font-family: var(--font-display);
    font-weight: 700;          /* serif weights look heavy at 800 */
    letter-spacing: -0.01em;
}

/* Slightly more refined headline weights */
.hero-headline       { font-weight: 700; letter-spacing: -0.02em; }
.editorial-copy h2   { font-weight: 700; }
.section-title       { font-weight: 700; }

/* Italic emphasis for the highlighted word - serif italic is gorgeous */
.hero-headline em    { font-style: italic; font-weight: 700; }
/* Subtle underline only, no thick yellow bar */
.hero-headline em::after {
    height: 2px;
    bottom: -4px;
    background: var(--coconut-brown);
    opacity: 0.45;
}

/* Eyebrow: thinner, more refined */
.eyebrow {
    font-size: 0.72rem;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--coconut-brown);
}

/* Buttons: still pill, but more confident weight */
.btn {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ---- REMOVE cartoon leaves entirely ---- */
.hero-leaf,
.hero-stage .hero-leaf,
.hero-leaf--1, .hero-leaf--2, .hero-leaf--3 {
    display: none !important;
}

/* ---- Benefit pills: replace emoji circles with minimal number marks --- */
.benefit-pill .pill-icon {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--coconut-brown);
    font-style: italic;
    letter-spacing: 1px;
}

/* ---- Contact cards: replace emoji circles with simple labels --- */
.contact-card-icon {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--coconut-brown);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---- Testimonial avatars: monogram in serif, on cream not green --- */
.testimonial-avatar {
    background: var(--cream);
    color: var(--dark-green);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    border: 1px solid var(--border);
}

/* ---- Hero: default background image baked into theme ---- */
.hero-image {
    background-image: var(--hero-bg,
        linear-gradient(rgba(15, 25, 18, 0.18), rgba(15, 25, 18, 0.42)),
        url('../img/hero-coconut.jpg')
    );
    background-size: cover;
    background-position: center;
}
.hero-image--placeholder {
    /* user hasn't uploaded — still show the bundled coconut photo */
    background-image:
        linear-gradient(rgba(15, 25, 18, 0.18), rgba(15, 25, 18, 0.42)),
        url('../img/hero-coconut.jpg') !important;
}
.hero-image--placeholder .hero-image-placeholder-text { display: none; }

/* Subtle dark gradient for legibility, even at --p=0 */
.hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0, calc(0.10 + var(--p) * 0.25)) 60%,
        rgba(0,0,0, calc(0.25 + var(--p) * 0.30)) 100%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}

/* ---- Eyebrow and headline contrast against the photo ---- */
.hero-stage .eyebrow {
    color: color-mix(in srgb,
        var(--coconut-brown) calc((1 - var(--p)) * 100%),
        rgba(255, 235, 200, 0.92) calc(var(--p) * 100%));
}

/* ---- Refined spec table: thinner rules, no zebra ---- */
.spec-table {
    box-shadow: none;
    border: 1px solid var(--border);
}
.spec-table th {
    background: transparent;
    color: var(--dark-green);
    border-bottom: 2px solid var(--dark-green);
    font-family: var(--font);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
}
.spec-table tr:nth-child(even) td { background: transparent; }
.spec-table td:first-child {
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    font-size: 1rem;
}

/* ---- Picky badges: thinner, no checkmark glyph (cleaner) ---- */
.picky-badge::before { content: ""; display: none; }
.picky-badge {
    border: 1px solid var(--border);
    background: transparent;
    font-weight: 500;
    padding: 10px 20px;
    color: var(--dark-green);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
}

/* ---- Quotation checklist: refined em-dash instead of check ---- */
.quotation-checklist ul li::before {
    content: "—";
    color: var(--beige-dark);
    font-weight: 400;
    left: 0;
}
.quotation-checklist ul li { padding-left: 24px; }
.quotation-checklist h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
}

/* ---- Footer brand in serif ---- */
.footer-brand { letter-spacing: 0; font-style: normal; }

/* ---- Page title in serif ---- */
.page-title { letter-spacing: -0.015em; }

/* ================================================================
   REFINEMENT v1.3 - constrained hero image + cleaner initial state
   ================================================================ */

/* Image: constrained to ~headline width at rest, full-bleed when scrolled.
   On viewports narrower than ~1000px this clamps to a small 16px gap. */
.hero-image {
    left:  calc(max(16px, (50vw - 490px)) * (1 - var(--p)));
    right: calc(max(16px, (50vw - 490px)) * (1 - var(--p)));
    /* Smaller at rest so it sits well below the headline & buttons */
    height: calc(38% + var(--p) * 62%);
    /* More pronounced rounding at rest, since image is now card-like */
    border-radius: calc(28px - var(--p) * 28px) calc(28px - var(--p) * 28px) 0 0;
}

/* Content: a little higher and tighter so buttons clearly sit
   above the image at scroll position 0. */
.hero-content {
    top: 9%;
    width: min(94%, 1100px);
    /* Slightly less aggressive shrink so it stays readable while sliding */
    scale: calc(1 - var(--p) * 0.34);
    translate: -50% calc(var(--p) * 26vh);
}

/* Mobile keeps the previous gentler curve but also smaller initial image */
@media (max-width: 768px) {
    .hero-image  {
        left:  16px;
        right: 16px;
        height: calc(34% + var(--p) * 66%);
    }
    .hero-content { top: 7%; }
}

/* ================================================================
   REFINEMENT v1.4 — image nudged up + side parallax coconut icons
   ================================================================ */

/* Pull image up slightly. Previously bottom:0, content top:9%.
   New: image floats up from the bottom but content still gets clear of it. */
.hero-image {
    bottom: calc(8% - var(--p) * 8%);   /* sits 8% from bottom at rest, snaps to 0 at full scroll */
    height: calc(40% + var(--p) * 60%);
}

/* Content nudged up just a hair so the gap above the image stays comfortable */
.hero-content {
    top: 7.5%;
}

/* Mobile: same shift, but smaller offsets */
@media (max-width: 768px) {
    .hero-image  {
        bottom: calc(6% - var(--p) * 6%);
        height: calc(36% + var(--p) * 64%);
    }
    .hero-content { top: 6%; }
}

/* ================================================================
   SIDE COCONUT ICONS (parallax on scroll)
   - Positioned in the side margins of the hero (outside the image)
   - Fade out as the image grows to full-bleed
   - Translate vertically based on --p (subtle parallax)
   ================================================================ */
.hero-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    z-index: 2;
    opacity: calc(0.55 * (1 - var(--p)));
    transition: opacity .2s;
    pointer-events: none;
    color: var(--coconut-brown);   /* SVG uses currentColor */
}
.hero-icon svg { width: 100%; height: 100%; display: block; }

/* Left side stack */
.hero-icon--l1 {
    top: 22%;
    left: calc(max(24px, (50vw - 560px)));
    transform: translateY(calc(var(--p) * -40px)) rotate(-12deg);
}
.hero-icon--l2 {
    top: 56%;
    left: calc(max(48px, (50vw - 510px)));
    width: 44px; height: 44px;
    color: var(--leaf-green);
    transform: translateY(calc(var(--p) * 30px)) rotate(8deg);
}

/* Right side stack */
.hero-icon--r1 {
    top: 28%;
    right: calc(max(24px, (50vw - 560px)));
    transform: translateY(calc(var(--p) * -50px)) rotate(14deg);
}
.hero-icon--r2 {
    top: 62%;
    right: calc(max(60px, (50vw - 490px)));
    width: 38px; height: 38px;
    color: var(--leaf-green);
    transform: translateY(calc(var(--p) * 36px)) rotate(-10deg);
}

/* Hide on small screens to keep mobile clean */
@media (max-width: 900px) {
    .hero-icon--l1, .hero-icon--l2,
    .hero-icon--r1, .hero-icon--r2 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-icon { transform: none !important; }
}

/* ================================================================
   v1.5 - Flaticon PNG icons (full colour, no currentColor needed)
   ================================================================ */
.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* Override the currentColor rules from v1.4 */
.hero-icon { color: unset; }
.hero-icon--l2 { color: unset; }
.hero-icon--r2 { color: unset; }

/* Slightly larger whole coconut, smaller half */
.hero-icon--l1,
.hero-icon--r2 { width: 78px; height: 78px; }   /* whole coconut */
.hero-icon--l2,
.hero-icon--r1 { width: 68px; height: 68px; }   /* half coconut  */

/* ================================================================
   v1.5 - Flaticon PNG icons (full colour, no currentColor needed)
   ================================================================ */
.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    will-change: transform;
}
/* Override the currentColor rules from v1.4 – PNGs are full-colour */
.hero-icon          { color: unset; }
.hero-icon--l2      { color: unset; }
.hero-icon--r2      { color: unset; }

/* Sizes: whole coconut larger, half coconut smaller */
.hero-icon--l1,
.hero-icon--r2 { width: 78px; height: 78px; }
.hero-icon--l2,
.hero-icon--r1 { width: 68px; height: 68px; }

/* ================================================================
   v1.6 - Continuous rolling spin on the img (span still handles
   parallax translate, img handles rotate — no transform conflict)
   ================================================================ */
@keyframes sa-spin-cw  { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes sa-spin-ccw { from { transform: rotate(0deg);   } to { transform: rotate(-360deg); } }
@keyframes sa-float    {
    0%, 100% { margin-top: 0px;   }
    50%      { margin-top: -8px;  }
}

/* Each icon gets a slightly different speed / direction so they feel alive */
.hero-icon--l1 img { animation: sa-spin-cw  18s linear infinite, sa-float 6s ease-in-out infinite; }
.hero-icon--l2 img { animation: sa-spin-ccw 13s linear infinite, sa-float 5s ease-in-out infinite 0.8s; }
.hero-icon--r1 img { animation: sa-spin-cw  15s linear infinite, sa-float 7s ease-in-out infinite 1.4s; }
.hero-icon--r2 img { animation: sa-spin-ccw 20s linear infinite, sa-float 5.5s ease-in-out infinite 2s; }

@media (prefers-reduced-motion: reduce) {
    .hero-icon img { animation: none !important; }
}


/* ================================================================
   v1.7 - Rotating destination country word in hero eyebrow
   ================================================================ */
.eyebrow .rotating-country {
    display: inline-block;
    min-width: 9ch;          /* avoids layout jump as words change length */
    text-align: left;
    font-weight: 600;
    color: var(--leaf-green, #5d7d52);
    transition: opacity .32s ease, transform .32s ease;
    will-change: opacity, transform;
}
.eyebrow .rotating-country.is-leaving {
    opacity: 0;
    transform: translateY(-6px);
}
.eyebrow .rotating-country.is-entering {
    opacity: 0;
    transform: translateY(6px);
    transition: none;        /* snap into entering state, then animate out of it */
}


/* ================================================================
   v1.7a - Fix rotating-country layout shift
   Wide enough min-width to hold the longest country name
   ("United Arab Emirates" = ~20 chars) so the line never reflows
   ================================================================ */
.eyebrow {
    white-space: nowrap;
}
.eyebrow .rotating-country {
    min-width: 14em;
}


/* ================================================================
   v1.7b - Center the eyebrow + keep country span centered too
   ================================================================ */
.hero-content .eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35em;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}
.hero-content .eyebrow .rotating-country {
    min-width: auto;
    text-align: left;
    flex-shrink: 0;
    width: 14em;
}


/* ================================================================
   v1.8 - Mobile layout fixes
   ================================================================ */

/* ── Eyebrow: block + centered on all sizes, no fixed-width span ── */
.hero-content .eyebrow {
    display: block;
    text-align: center;
    white-space: normal;
    width: 100%;
}
.hero-content .eyebrow .rotating-country {
    display: inline-block;
    width: auto;
    min-width: 0;
    text-align: center;
    font-weight: 700;
    color: var(--dark-green, #1d3d2a);
    vertical-align: baseline;
}

/* ── WhatsApp button: use proper brand green, not neon ── */
.btn-whatsapp {
    background: #25a244 !important;
    border-color: #25a244 !important;
    color: #fff !important;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: #1e8a38 !important;
    border-color: #1e8a38 !important;
}

/* ── Mobile hero: tighten spacing ── */
@media (max-width: 767px) {
    .hero-content {
        padding: 0 1.25rem;
        text-align: center;
    }
    .hero-headline {
        font-size: clamp(2.4rem, 11vw, 3.6rem);
        margin-bottom: 0.6rem;
    }
    .hero-sub {
        font-size: 1rem;
        margin-bottom: 1.4rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    /* hide side icons on mobile — too cluttered */
    .hero-icon {
        display: none;
    }
}


/* ================================================================
   v1.9 - Benefits section: Pexels coconut-harvesting background
   ================================================================ */
.benefits {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            rgba(29, 61, 42, 0.72) 0%,
            rgba(29, 61, 42, 0.82) 100%
        ),
        url('/wp-content/themes/sinoargent-coconut/assets/img/benefits-bg.jpg?v=1780286766')
        center center / cover no-repeat;
    color: #f4ecd8;
}
.benefits .benefits-title {
    color: #f4ecd8;
    opacity: 0.85;
}
.benefits .benefit-pill {
    background: rgba(244, 236, 216, 0.10);
    border: 1px solid rgba(244, 236, 216, 0.22);
    color: #f4ecd8;
}
.benefits .benefit-pill h3 {
    color: #f4ecd8;
}
.benefits .benefit-pill p {
    color: rgba(244, 236, 216, 0.82);
}
.benefits .pill-icon {
    background: rgba(244, 236, 216, 0.18);
    color: #f4ecd8;
    border: 1px solid rgba(244, 236, 216, 0.35);
}


/* ================================================================
   v2.0 - Hero spacing: more room between buttons and photo
   ================================================================ */

/* More bottom padding on the content block so buttons breathe */
.hero-content {
    padding-bottom: 3.5rem;
}

/* On mobile specifically, push the image down so it doesn't crowd the buttons */
@media (max-width: 767px) {
    .hero-content {
        padding-bottom: 2.5rem;
    }
    .hero-image {
        margin-top: 1.5rem;
    }
    /* Give the whole hero stage a bit more room */
    .hero-sticky {
        padding-top: 2rem;
    }
}



/* ================================================================
   v2.2 - Mobile hero shift up + benefits readability
   ================================================================ */

/* 1. Shift hero content up modestly on mobile (avoid overlapping the image) */
@media (max-width: 767px) {
    .hero-content {
        padding-top: 0;
        margin-top: -1.25rem;
    }
}

/* 2. Hero image: full-bleed when scrolled (kills side gaps + radius at scroll end) */
@media (max-width: 767px) {
    .hero-image {
        border-radius: calc(18px - (var(--p, 0) * 18px)) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* 3a. Benefits overlay much darker for legibility */
.benefits {
    background:
        linear-gradient(
            to bottom,
            rgba(8, 24, 16, 0.45) 0%,
            rgba(8, 24, 16, 0.55) 100%
        ),
        url('/wp-content/themes/sinoargent-coconut/assets/img/benefits-bg.jpg?v=1780286766')
        center center / cover no-repeat !important;
}

/* 3b. Remove the white square from I / II / III icons */
.benefits .pill-icon {
    background: transparent !important;
    border: 1.5px solid rgba(244, 236, 216, 0.5) !important;
    color: #f4ecd8 !important;
    box-shadow: none !important;
}


/* ================================================================
   v2.3 - Pill icons: fully remove box/border
   ================================================================ */
.benefits .pill-icon,
.benefit-pill .pill-icon {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    color: #f4ecd8 !important;
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.7;
}


/* ================================================================
   v2.4 - Mobile hero image: true full-bleed at scroll end
   The previous mobile rule pinned left/right to 16px with no
   interpolation, leaving cream side gaps. Now interpolate to 0.
   ================================================================ */
@media (max-width: 768px) {
    .hero-image {
        left:  calc(16px * (1 - var(--p, 0))) !important;
        right: calc(16px * (1 - var(--p, 0))) !important;
        border-radius: calc(18px - (var(--p, 0) * 18px)) calc(18px - (var(--p, 0) * 18px)) 0 0 !important;
        bottom: calc(6% - (var(--p, 0) * 6%)) !important;
        height: calc(36% + (var(--p, 0) * 64%)) !important;
    }
}

/* ================================================================
   v2.5 - Product card real images
   ================================================================ */
.product-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #e7dabf;
}
.product-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* ================================================================
   v2.6 - Flip cards (product specifications on back face)
   ================================================================ */
.product-cards-grid .product-card.flip-card {
    background: transparent;
    border: none;
    padding: 0;
    overflow: visible;
    perspective: 1400px;
    min-height: 460px;
    cursor: pointer;
}
.product-card.flip-card .flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transition: transform 0.7s cubic-bezier(.4, .15, .2, 1);
    transform-style: preserve-3d;
}
.product-card.flip-card:hover .flip-inner,
.product-card.flip-card:focus-visible .flip-inner,
.product-card.flip-card.is-flipped .flip-inner {
    transform: rotateY(180deg);
}
.product-card.flip-card .flip-face {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: #f4ecd8;
    border: 1px solid rgba(90, 59, 34, 0.12);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.product-card.flip-card .flip-front {
    padding-bottom: 1.25rem;
}
.product-card.flip-card .flip-front h3 {
    margin: 1rem 1rem 0.5rem;
    color: #1d3d2a;
}
.product-card.flip-card .flip-front .meta {
    margin: 0 1.1rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #2a5b3b;
}
.product-card.flip-card .flip-front .product-photo-wrap {
    border-radius: 10px 10px 0 0;
}
.flip-hint {
    display: block;
    margin: auto 1.1rem 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a3b22;
    opacity: 0.55;
    padding-top: 0.8rem;
}
.product-card.flip-card .flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(160deg, #1d3d2a 0%, #2a5b3b 100%);
    color: #f4ecd8;
    padding: 1.4rem 1.3rem 1.3rem;
    text-align: left;
    overflow-y: auto;
}
.product-card.flip-card .flip-back h3 {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", "Songti SC", "STSong", "PingFang SC", "Noto Serif SC", serif;
    font-size: 1.3rem;
    color: #f4ecd8;
    text-align: center;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(244, 236, 216, 0.22);
}
.product-card.flip-card .spec-group {
    margin-bottom: 1rem;
}
.product-card.flip-card .spec-group:last-child {
    margin-bottom: 0;
}
.product-card.flip-card .spec-group h4 {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9b78f;
    font-weight: 600;
}
.product-card.flip-card .spec-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.product-card.flip-card .spec-group ul li {
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 3px 0 3px 14px;
    position: relative;
    color: rgba(244, 236, 216, 0.92);
}
.product-card.flip-card .spec-group ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 1px;
    background: #c9b78f;
}

@media (max-width: 768px) {
    .product-cards-grid .product-card.flip-card {
        min-height: 440px;
    }
    .product-card.flip-card:hover .flip-inner {
        /* on touch, hover sticks — rely on tap toggle instead */
        transform: none;
    }
    .product-card.flip-card.is-flipped .flip-inner {
        transform: rotateY(180deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card.flip-card .flip-inner {
        transition: none;
    }
}


/* ================================================================
   v2.7 - Standardise product card image height across all 3 cards
   Use a fixed pixel height so all three photos appear identical
   regardless of intrinsic aspect ratio.
   ================================================================ */
.product-card.flip-card .flip-front .product-photo-wrap {
    aspect-ratio: auto !important;
    height: 240px !important;
    width: 100%;
    flex: 0 0 240px;
    overflow: hidden;
}
.product-card.flip-card .flip-front .product-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .product-card.flip-card .flip-front .product-photo-wrap {
        height: 200px !important;
        flex: 0 0 200px;
    }
}


/* ================================================================
   v2.8 - Shipment Options section (replaces old picky badges)
   ================================================================ */
.shipment {
    padding: 5rem 0;
    background: #f4ecd8;
}
.shipment .section-title {
    color: #1d3d2a;
}
.shipment .section-sub {
    max-width: 640px;
    margin: 0.5rem auto 3rem;
    color: rgba(29, 61, 42, 0.78);
}
.shipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    max-width: 1080px;
    margin: 0 auto;
}
.shipment-card {
    background: #fff;
    border: 1px solid rgba(29, 61, 42, 0.10);
    border-radius: 12px;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 8px 28px rgba(29, 61, 42, 0.06);
    transition: transform .35s ease, box-shadow .35s ease;
}
.shipment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(29, 61, 42, 0.11);
}
.shipment-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(29, 61, 42, 0.08);
    color: #1d3d2a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.shipment-icon svg {
    width: 24px;
    height: 24px;
}
.shipment-card h3 {
    margin: 0 0 0.5rem;
    font-family: Georgia, "Times New Roman", "Songti SC", "STSong", "PingFang SC", "Noto Serif SC", serif;
    font-size: 1.35rem;
    color: #1d3d2a;
}
.shipment-card > p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(29, 61, 42, 0.78);
}
.shipment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(29, 61, 42, 0.10);
    padding-top: 1rem;
}
.shipment-list li {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #2a5b3b;
    padding: 6px 0 6px 18px;
    position: relative;
}
.shipment-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.95em;
    width: 9px;
    height: 1px;
    background: #5d7d52;
}
.shipment-capacity li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-left: 0;
    border-bottom: 1px dashed rgba(29, 61, 42, 0.14);
}
.shipment-capacity li:last-child {
    border-bottom: none;
}
.shipment-capacity li::before {
    display: none;
}
.shipment-capacity li strong {
    color: #1d3d2a;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.shipment-capacity li span {
    color: #5a3b22;
    font-weight: 500;
}

@media (max-width: 768px) {
    .shipment {
        padding: 3.5rem 0;
    }
    .shipment-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .shipment-card {
        padding: 1.4rem 1.25rem;
    }
}

/* Centred eyebrow utility (in case .eyebrow.centered didn't exist) */
.eyebrow.centered {
    text-align: center;
    display: block;
}


/* ================================================================
   v2.9 - Centre Shipment Options heading + small quotation note
   ================================================================ */
.shipment .container {
    text-align: center;
}
.shipment .eyebrow,
.shipment .section-title,
.shipment .section-sub {
    text-align: center;
    display: block;
}
.shipment-grid {
    text-align: left;   /* cards stay left-aligned */
}

.quotation-cta-note {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    color: rgba(244, 236, 216, 0.75);
    text-align: center;
    line-height: 1.5;
}


/* ================================================================
   v3.0 - Inner pages: article, specification, contact form
   ================================================================ */

/* Generic article / inner page wrapper */
.article-page,
.spec-page,
.contact-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
    color: #2a3b30;
    line-height: 1.7;
}
.article-page p,
.spec-page p,
.contact-page p {
    font-size: 1.02rem;
    margin: 0 0 1.1rem;
}
.article-page h2,
.spec-page h2,
.contact-page h2 {
    font-family: Georgia, "Times New Roman", "Songti SC", "STSong", "PingFang SC", "Noto Serif SC", serif;
    font-size: 1.65rem;
    color: #1d3d2a;
    margin: 2.4rem 0 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(29, 61, 42, 0.10);
}
.article-page h2:first-of-type,
.spec-page h2:first-of-type {
    border-top: none;
    padding-top: 0;
}
.article-page h3,
.spec-page h3 {
    font-family: Georgia, "Times New Roman", "Songti SC", "STSong", "PingFang SC", "Noto Serif SC", serif;
    font-size: 1.18rem;
    color: #2a5b3b;
    margin: 1.6rem 0 0.6rem;
}
.article-intro {
    font-size: 1.12rem !important;
    color: #1d3d2a;
    font-weight: 500;
    line-height: 1.65;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(29, 61, 42, 0.10);
    margin-bottom: 2rem !important;
}
.article-list,
.spec-bullets {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
}
.article-list li,
.spec-bullets li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: #2a3b30;
    line-height: 1.6;
}
.article-list li::before,
.spec-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 10px;
    height: 1px;
    background: #5d7d52;
}
.article-cta {
    margin: 2.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(29, 61, 42, 0.10);
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}
.article-cta.spec-cta {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    padding-top: 2rem;
}
.article-cta.spec-cta p {
    margin: 0;
    color: #1d3d2a;
    font-weight: 500;
}

/* Specification page product blocks */
.spec-product {
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
}
.spec-function {
    background: #f4ecd8;
    border-left: 3px solid #5d7d52;
    padding: 0.7rem 1rem;
    margin: 0.5rem 0 1rem !important;
    font-size: 0.97rem;
    color: #1d3d2a;
    border-radius: 0 4px 4px 0;
}

/* ================================================================
   Contact page + form
   ================================================================ */
.contact-page {
    max-width: 900px;
}
.contact-form-wrap {
    margin: 0 0 3rem;
}
.contact-form {
    background: #fff;
    border: 1px solid rgba(29, 61, 42, 0.12);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 24px rgba(29, 61, 42, 0.06);
}
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.2rem;
    margin-bottom: 1.2rem;
}
.contact-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d3d2a;
    letter-spacing: 0.02em;
}
.contact-form label span em {
    color: #b54a2b;
    font-style: normal;
    margin-left: 2px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    margin-top: 0.35rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid rgba(29, 61, 42, 0.18);
    border-radius: 6px;
    background: #fdfaf2;
    color: #1d3d2a;
    font-weight: 400;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #5d7d52;
    box-shadow: 0 0 0 3px rgba(93, 125, 82, 0.18);
}
.contact-form-msg {
    display: block;
    margin-bottom: 1.4rem;
}
.contact-form-msg textarea {
    width: 100%;
    resize: vertical;
    min-height: 110px;
}
.contact-form button[type="submit"] {
    min-width: 200px;
}
.contact-form-note {
    margin: 0.9rem 0 0;
    font-size: 0.78rem;
    color: rgba(29, 61, 42, 0.65);
    font-weight: 400;
    line-height: 1.5;
}
.contact-form-alert {
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1.4rem;
    font-size: 0.93rem;
    line-height: 1.55;
}
.contact-form-alert--ok {
    background: #e8f3e2;
    color: #1d3d2a;
    border: 1px solid #b8d4a8;
}
.contact-form-alert--err {
    background: #fbeae4;
    color: #7a2b1a;
    border: 1px solid #e5c1b3;
}

/* Other channels */
.contact-page-channels {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(29, 61, 42, 0.10);
}
.contact-page-sub {
    color: rgba(29, 61, 42, 0.78);
    margin-bottom: 1.5rem;
}
.contact-channel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.contact-channel-card {
    background: #fdfaf2;
    border: 1px solid rgba(29, 61, 42, 0.12);
    border-radius: 10px;
    padding: 1.5rem 1.4rem;
}
.contact-channel-card h3 {
    margin: 0 0 0.4rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    color: #1d3d2a;
}
.contact-channel-card p {
    margin: 0 0 0.6rem;
    font-size: 0.92rem;
    color: rgba(29, 61, 42, 0.78);
}
.contact-channel-detail {
    font-weight: 600;
    color: #1d3d2a !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.02em;
}

@media (max-width: 700px) {
    .contact-form {
        padding: 1.4rem 1.2rem;
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .contact-channel-grid {
        grid-template-columns: 1fr;
    }
    .article-page,
    .spec-page,
    .contact-page {
        padding: 2rem 1rem 3rem;
    }
}


/* ================================================================
   v3.1 - Custom logo sizing + Blogs index layout
   ================================================================ */

/* Site logo (vertical/horizontal SinoArgent mark) */
.site-branding .custom-logo-link {
    display: inline-flex;
    align-items: center;
}
.site-branding .custom-logo {
    max-height: 58px;
    width: auto;
    height: auto;
    display: block;
}
@media (max-width: 700px) {
    .site-branding .custom-logo {
        max-height: 46px;
    }
}

/* ----------------------------------------------------------------
   Blogs page
   ---------------------------------------------------------------- */
.blogs-page {
    background: #fff;
}

/* Featured hero card */
.blog-hero {
    position: relative;
    min-height: 460px;
    background-size: cover;
    background-position: center;
    background-color: #1d3d2a;
    display: flex;
    align-items: flex-end;
    color: #fff;
}
.blog-hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2.5rem;
}
.blog-hero .blog-cats {
    margin-bottom: 0.9rem;
}
.blog-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.blog-cat {
    display: inline-block;
    background: rgba(20, 28, 24, 0.85);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.7rem;
    border-radius: 3px;
}
.blog-hero .blog-meta,
.blog-card .blog-meta {
    margin: 0 0 0.6rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.blog-card .blog-meta {
    color: rgba(29, 61, 42, 0.65);
}
.blog-meta .dot {
    opacity: 0.6;
}
.blog-hero-title {
    margin: 0 0 0.7rem;
    font-family: Georgia, "Times New Roman", "Songti SC", "STSong", "PingFang SC", "Noto Serif SC", serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
    font-weight: 700;
    max-width: 760px;
}
.blog-hero-title a {
    color: #fff;
    text-decoration: none;
}
.blog-hero-title a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.blog-hero-excerpt {
    margin: 0 0 1rem;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    max-width: 720px;
    line-height: 1.55;
}
.blog-readmore {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.blog-readmore:hover {
    color: #f4ecd8;
}

/* Card grid */
.blog-grid-wrap {
    padding: 3rem 0 4rem;
    background: #fff;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2rem;
}
.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
}
.blog-card-img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: #e7dabf;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
}
.blog-card-img .blog-cats {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
}
.blog-card-body {
    padding: 1rem 0 0;
}
.blog-card-title {
    margin: 0 0 0.5rem;
    font-family: Georgia, "Times New Roman", "Songti SC", "STSong", "PingFang SC", "Noto Serif SC", serif;
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
    color: #1d3d2a;
}
.blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.blog-card-title a:hover {
    color: #2a5b3b;
}
.blog-card-excerpt {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(29, 61, 42, 0.78);
}

@media (max-width: 760px) {
    .blog-hero {
        min-height: 360px;
    }
    .blog-hero-inner {
        padding: 1.8rem 1.1rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .blog-grid-wrap {
        padding: 2rem 1rem 3rem;
    }
}


/* ================================================================
   v3.2 - Contact page hero header
   ================================================================ */
.contact-page-hero {
    width: 100%;
    min-height: 420px;
    background-size: cover;
    background-position: center 70%;
    display: flex;
    align-items: flex-end;
    color: #fff;
}
.contact-page-hero-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem 3.5rem;
}
.contact-hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin: 0 0 0.55rem;
}
.contact-hero-title {
    font-family: Georgia, "Times New Roman", "Songti SC", "STSong", "PingFang SC", "Noto Serif SC", serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.15;
    color: #fff;
}
.contact-hero-sub {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    max-width: 620px;
}

@media (max-width: 700px) {
    .contact-page-hero {
        min-height: 300px;
        background-position: center 25%;
    }
    .contact-page-hero-inner {
        padding: 2rem 1.1rem 2.5rem;
    }
}

/* v3.3 - remove divider lines above Other Ways to Reach Us */
.contact-page .article-intro {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1.5rem !important;
}
.contact-page-channels {
    border-top: none;
    padding-top: 0;
    margin-top: 1.5rem;
}

/* v3.4 - larger logo */
.site-branding .custom-logo {
    max-height: 100px;
}
@media (max-width: 700px) {
    .site-branding .custom-logo {
        max-height: 72px;
    }
}

/* v3.5 - even larger logo */
.site-branding .custom-logo {
    max-height: 160px;
}
@media (max-width: 700px) {
    .site-branding .custom-logo {
        max-height: 110px;
    }
}

/* v3.6 - contact hero: only title, centered */
.contact-page-hero {
    align-items: center;
    justify-content: center;
}
.contact-page-hero-inner {
    text-align: center;
    padding: 2rem 1.5rem;
}
.contact-hero-title {
    margin: 0;
}

/* v3.7 - centered logo header layout */
:root {
    --header-h: 220px;
}
.header-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 1.5rem;
    height: auto;
    min-height: var(--header-h);
}
.site-branding {
    display: flex;
    justify-content: center;
}
.site-branding .custom-logo-link {
    display: block;
}
.site-branding .custom-logo {
    max-height: 130px;
    width: auto;
}
.main-nav .nav-list {
    justify-content: center;
}
.nav-toggle {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
}
@media (max-width: 700px) {
    :root { --header-h: 160px; }
    .header-inner {
        gap: 0.5rem;
        padding: 1rem 1rem;
        min-height: var(--header-h);
    }
    .site-branding .custom-logo {
        max-height: 90px;
    }
    .nav-toggle {
        top: 1rem;
        right: 1rem;
    }
}

/* v3.7b - header relative for nav-toggle positioning */
.site-header { position: sticky; }
.header-inner { position: relative; }

/* v3.8 - reduce gap between contact hero and form content */
.contact-page-wrap .contact-page {
    padding-top: 1.5rem;
}

/* v3.9 - logo back to left, nav right, single row */
:root {
    --header-h: 110px;
}
.header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    min-height: var(--header-h);
    height: var(--header-h);
}
.site-branding {
    justify-content: flex-start;
}
.site-branding .custom-logo {
    max-height: 90px;
    width: auto;
}
.main-nav .nav-list {
    justify-content: flex-end;
}
.nav-toggle {
    position: static;
    top: auto;
    right: auto;
}
@media (max-width: 700px) {
    :root { --header-h: 80px; }
    .header-inner {
        padding: 0.4rem 1rem;
        min-height: var(--header-h);
        height: var(--header-h);
    }
    .site-branding .custom-logo {
        max-height: 64px;
    }
}

/* v3.10 - header back to default height, keep logo prominent */
:root {
    --header-h: 72px;
}
.header-inner {
    padding: 0.25rem 1.5rem;
    min-height: var(--header-h);
    height: var(--header-h);
}
.site-branding .custom-logo {
    max-height: 68px;
}
@media (max-width: 700px) {
    :root { --header-h: 64px; }
    .header-inner {
        padding: 0.25rem 1rem;
        min-height: var(--header-h);
        height: var(--header-h);
    }
    .site-branding .custom-logo {
        max-height: 56px;
    }
}

/* v3.11 - bigger logo, slightly taller header */
:root { --header-h: 96px; }
.header-inner {
    padding: 0.25rem 1.5rem;
    min-height: var(--header-h);
    height: var(--header-h);
}
.site-branding .custom-logo { max-height: 92px; }
@media (max-width: 700px) {
    :root { --header-h: 78px; }
    .header-inner {
        padding: 0.25rem 1rem;
        min-height: var(--header-h);
        height: var(--header-h);
    }
    .site-branding .custom-logo { max-height: 70px; }
}

/* v3.12 - actually enlarge the logo (override old 44px height rule) */
.site-branding img,
.site-branding .custom-logo {
    height: 88px !important;
    max-height: 88px !important;
    width: auto !important;
}
@media (max-width: 700px) {
    .site-branding img,
    .site-branding .custom-logo {
        height: 66px !important;
        max-height: 66px !important;
    }
}

/* v3.13 - reset menu/header to default size; horizontal logo sized larger than menu font */
:root { --header-h: 72px; }
.header-inner {
    padding: 0 1.5rem;
    min-height: var(--header-h);
    height: var(--header-h);
}
.site-header { overflow: visible; }
.site-branding { display: flex; align-items: center; }
.site-branding a.custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.site-branding img,
.site-branding .custom-logo {
    height: auto !important;
    max-height: 60px !important;
    width: auto !important;
    max-width: 260px !important;
}
@media (max-width: 700px) {
    :root { --header-h: 64px; }
    .header-inner {
        padding: 0 1rem;
        min-height: var(--header-h);
        height: var(--header-h);
    }
    .site-branding img,
    .site-branding .custom-logo {
        max-height: 48px !important;
        max-width: 200px !important;
    }
}

/* v3.14 - logo 150px tall, overflows header (menu bar stays default) */
.site-header,
.site-header .header-inner,
.site-branding,
.site-branding a.custom-logo-link { overflow: visible; }
.site-branding { position: relative; z-index: 5; }
.site-branding img,
.site-branding .custom-logo {
    height: 150px !important;
    max-height: 150px !important;
    max-width: 520px !important;
    width: auto !important;
}
@media (max-width: 700px) {
    .site-branding img,
    .site-branding .custom-logo {
        height: 90px !important;
        max-height: 90px !important;
        max-width: 320px !important;
    }
}

/* v3.15 - logo 210px */
.site-branding img,
.site-branding .custom-logo {
    height: 210px !important;
    max-height: 210px !important;
}
@media (max-width: 700px) {
    .site-branding img,
    .site-branding .custom-logo {
        height: 110px !important;
        max-height: 110px !important;
    }
}

/* v3.16 - logo 280px */
.site-branding img,
.site-branding .custom-logo {
    height: 280px !important;
    max-height: 280px !important;
}
@media (max-width: 700px) {
    .site-branding img,
    .site-branding .custom-logo {
        height: 130px !important;
        max-height: 130px !important;
    }
}

/* v3.17 - push logo to far left edge */
.header-inner { justify-content: flex-start; }
.site-branding { margin-left: 0; padding-left: 0; }

/* v3.17-revert - undo logo-left push */
.header-inner { justify-content: space-between; }
.site-branding { margin-left: revert; padding-left: revert; }

/* v3.18 - nudge logo slightly left */
.site-branding { margin-left: -1.5rem; }
@media (max-width: 700px) {
    .site-branding { margin-left: -0.75rem; }
}

/* v3.19 - contact-steps section */
.contact-steps { padding: 3.5rem 0 2.5rem; background: #ffffff; }
.contact-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
    text-align: center;
}
.contact-step { padding: 0 1rem; }
.contact-step-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #f3f1ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d3d2a;
}
.contact-step-icon svg { width: 64px; height: 64px; }
.contact-step-title {
    font-family: Georgia, 'Times New Roman', 'Songti SC', 'Noto Serif SC', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1d3d2a;
    margin: 0 0 0.6rem;
}
.contact-step-text {
    font-size: 1rem;
    line-height: 1.55;
    color: #3a3a3a;
    margin: 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 780px) {
    .contact-steps { padding: 2.5rem 0 1.5rem; }
    .contact-steps-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-step-icon { width: 110px; height: 110px; margin-bottom: 1rem; }
    .contact-step-icon svg { width: 54px; height: 54px; }
}

/* v3.20 - match steps section background to page cream */
.contact-steps { background: #f4ecd8; }
.contact-step-icon { background: rgba(255,255,255,0.55); }

/* v3.21 - mobile slider for contact steps */
.contact-steps-dots { display: none; }
@media (max-width: 780px) {
    .contact-steps-grid {
        display: flex !important;
        grid-template-columns: none;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
        padding: 0;
        margin: 0 -1rem;
    }
    .contact-steps-grid::-webkit-scrollbar { display: none; }
    .contact-step {
        flex: 0 0 100%;
        scroll-snap-align: center;
        padding: 0 1rem;
    }
    .contact-steps-dots {
        display: flex;
        justify-content: center;
        gap: 0.65rem;
        margin-top: 1.25rem;
    }
    .contact-steps-dot {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        border: 1.5px solid #1d3d2a;
        background: transparent;
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .contact-steps-dot.is-active { background: #1d3d2a; }
}

/* v3.22 - mobile logo 180px */
@media (max-width: 700px) {
    .site-branding img,
    .site-branding .custom-logo {
        height: 180px !important;
        max-height: 180px !important;
    }
}

/* v3.23 - nudge logo left 15px on mobile */
@media (max-width: 700px) {
    .site-branding { margin-left: -15px; }
}

/* v3.24 - nudge logo left 20px on mobile */
@media (max-width: 700px) {
    .site-branding { margin-left: -20px; }
}

/* v3.25 - nudge logo left 30px on mobile */
@media (max-width: 700px) {
    .site-branding { margin-left: -30px; }
}

/* v3.26 - nudge logo left 40px on mobile */
@media (max-width: 700px) {
    .site-branding { margin-left: -40px; }
}

/* v3.27 - nudge logo left 55px on mobile */
@media (max-width: 700px) {
    .site-branding { margin-left: -55px; }
}

/* v3.28 - nudge logo left 55px on desktop */
@media (min-width: 701px) {
    .site-branding { margin-left: -55px; }
}

/* ============================================================
   v3.29 - Spec Showcase (scroll-stacking panels)
   ============================================================ */
.spec-showcase-wrap { background: #f8f4e9; }

.spec-showcase-hero {
    padding: 6rem 0 5rem;
    text-align: center;
    background: linear-gradient(180deg, #f4ecd8 0%, #ece2c4 100%);
}
.spec-showcase-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #5a3b22;
    margin: 0 0 0.75rem;
    font-weight: 600;
}
.spec-showcase-title {
    font-family: Georgia, 'Times New Roman', 'Songti SC', 'Noto Serif SC', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: #1d3d2a;
    margin: 0 0 1rem;
    line-height: 1.15;
}
.spec-showcase-lead {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #3a3a3a;
}
.spec-showcase-hint {
    margin-top: 2.5rem;
    color: #1d3d2a;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0.7;
    animation: spec-bounce 1.8s ease-in-out infinite;
}
@keyframes spec-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* Stack container */
.spec-stack {
    position: relative;
}

/* Each panel sticks to the top, the next slides up over it */
.spec-panel {
    position: sticky;
    top: 0;
    min-height: 100vh;
    background: #f8f4e9;
    padding: 5rem 0;
    display: flex;
    align-items: center;
    box-shadow: 0 -18px 40px -22px rgba(0,0,0,0.25);
}
.spec-panel:nth-child(odd)  { background: #f8f4e9; }
.spec-panel:nth-child(even) { background: #efe6cf; }
.spec-panel:nth-child(3n)   { background: #e7dabf; }

.spec-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.spec-panel.is-reverse .spec-panel-inner {
    grid-template-columns: 1fr 1fr;
}
.spec-panel.is-reverse .spec-panel-media  { order: 2; }
.spec-panel.is-reverse .spec-panel-body   { order: 1; }

.spec-panel-media img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 18px 40px -16px rgba(0,0,0,0.35);
}

.spec-panel-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #5a3b22;
    margin: 0 0 0.6rem;
    font-weight: 600;
}
.spec-panel-title {
    font-family: Georgia, 'Times New Roman', 'Songti SC', 'Noto Serif SC', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #1d3d2a;
    margin: 0 0 1.1rem;
    line-height: 1.1;
}
.spec-panel-intro {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #3a3a3a;
    margin: 0 0 1.75rem;
}

.spec-panel-section { margin-top: 1.5rem; }
.spec-panel-subhead {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1d3d2a;
    font-weight: 700;
    margin: 0 0 0.65rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(29,61,42,0.18);
}
.spec-panel-uses {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1.25rem;
}
.spec-panel-uses li {
    position: relative;
    padding-left: 1.2rem;
    color: #2a2a2a;
    font-size: 0.96rem;
    line-height: 1.45;
}
.spec-panel-uses li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5d7d52;
}
.spec-panel-benefits {
    color: #2a2a2a;
    line-height: 1.6;
    margin: 0;
}

.spec-panel-grade { margin-top: 1rem; }
.spec-panel-grade-title {
    font-family: Georgia, serif;
    font-size: 1.05rem;
    color: #2a5b3b;
    margin: 0 0 0.45rem;
    font-weight: 700;
}
.spec-panel-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.35rem 1.2rem;
    margin: 0;
}
.spec-panel-grid dt {
    font-weight: 600;
    color: #1d3d2a;
    font-size: 0.92rem;
}
.spec-panel-grid dd {
    margin: 0;
    color: #3a3a3a;
    font-size: 0.92rem;
}

.spec-showcase-cta {
    position: relative;
    z-index: 5;
    background: #1d3d2a;
    color: #f4ecd8;
    padding: 5rem 0;
    text-align: center;
}
.spec-showcase-cta h2 {
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin: 0 0 0.8rem;
    color: #f4ecd8;
}
.spec-showcase-cta p {
    margin: 0 auto 1.75rem;
    max-width: 620px;
    line-height: 1.55;
    color: rgba(244,236,216,0.85);
}
.spec-showcase-cta .btn { background: #f4ecd8; color: #1d3d2a; }
.spec-showcase-cta .btn:hover { background: #fff; }

@media (max-width: 900px) {
    .spec-panel { padding: 3.5rem 0; min-height: auto; position: relative; top: auto; box-shadow: none; }
    .spec-panel-inner { grid-template-columns: 1fr; gap: 2rem; }
    .spec-panel.is-reverse .spec-panel-media { order: 0; }
    .spec-panel.is-reverse .spec-panel-body  { order: 0; }
    .spec-panel-media img { max-height: 60vh; }
    .spec-panel-uses { grid-template-columns: 1fr; }
    .spec-showcase-hero { padding: 4rem 0 3rem; }
}

/* ============================================================
   v3.30 - Spec showcase mobile clean-up
   ============================================================ */
@media (max-width: 900px) {
    /* Stop the sticky stacking on tablets/phones */
    .spec-stack { display: block; }
    .spec-panel {
        position: relative !important;
        top: auto !important;
        min-height: 0 !important;
        padding: 2.75rem 0 !important;
        box-shadow: none !important;
        display: block !important;
    }
    .spec-panel + .spec-panel { border-top: 1px solid rgba(29,61,42,0.12); }

    .spec-panel-inner {
        display: block !important;
        gap: 0 !important;
        padding: 0 1rem;
    }
    .spec-panel.is-reverse .spec-panel-media,
    .spec-panel.is-reverse .spec-panel-body { order: initial !important; }

    .spec-panel-media { margin-bottom: 1.5rem; }
    .spec-panel-media img {
        max-height: none;
        height: auto;
        width: 100%;
        border-radius: 4px;
        box-shadow: 0 10px 24px -14px rgba(0,0,0,0.4);
    }

    .spec-panel-eyebrow { font-size: 0.72rem; letter-spacing: 0.18em; }
    .spec-panel-title   { font-size: 1.8rem; margin-bottom: 0.75rem; }
    .spec-panel-intro   { font-size: 0.98rem; margin-bottom: 1.25rem; }
    .spec-panel-section { margin-top: 1.25rem; }
    .spec-panel-subhead { font-size: 0.72rem; letter-spacing: 0.16em; }

    .spec-panel-uses { grid-template-columns: 1fr; gap: 0.35rem 0; }
    .spec-panel-uses li { font-size: 0.92rem; }

    .spec-panel-grade { margin-top: 0.85rem; }
    .spec-panel-grade-title { font-size: 1rem; }
    .spec-panel-grid {
        grid-template-columns: 1fr;
        gap: 0.15rem 0;
        margin-bottom: 0.6rem;
    }
    .spec-panel-grid dt {
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #5a3b22;
        margin-top: 0.4rem;
    }
    .spec-panel-grid dd { font-size: 0.95rem; }

    .spec-showcase-hero { padding: 3rem 0 2rem; }
    .spec-showcase-hero .container { padding: 0 1rem; }
    .spec-showcase-title { font-size: 2rem; }
    .spec-showcase-lead  { font-size: 0.98rem; }
    .spec-showcase-hint  { margin-top: 1.5rem; font-size: 0.72rem; }

    .spec-showcase-cta { padding: 3rem 0; }
    .spec-showcase-cta .container { padding: 0 1rem; }
    .spec-showcase-cta h2 { font-size: 1.6rem; }
    .spec-showcase-cta p  { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .spec-panel-title { font-size: 1.55rem; }
    .spec-panel { padding: 2rem 0 !important; }
    .spec-showcase-title { font-size: 1.7rem; }
}

/* ============================================================
   v3.31 - Spec mobile slider + side-by-side grades
   ============================================================ */
/* Desktop: stack grade blocks vertically (default), but compact */
.spec-panel-grades { display: block; }
.spec-stack-dots { display: none; }

@media (max-width: 900px) {
    /* SLIDER: horizontal scroll-snap */
    .spec-stack {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
        background: #f8f4e9;
    }
    .spec-stack::-webkit-scrollbar { display: none; }

    .spec-panel {
        flex: 0 0 100%;
        scroll-snap-align: start;
        position: relative !important;
        top: auto !important;
        min-height: 0 !important;
        padding: 2.25rem 0 2.5rem !important;
        box-shadow: none !important;
        display: block !important;
        border-top: none !important;
    }
    .spec-panel + .spec-panel { border-top: none !important; }

    /* Dots indicator */
    .spec-stack-dots {
        display: flex;
        justify-content: center;
        gap: 0.65rem;
        padding: 1rem 0 1.75rem;
        background: #f8f4e9;
    }
    .spec-stack-dot {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        border: 1.5px solid #1d3d2a;
        background: transparent;
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .spec-stack-dot.is-active { background: #1d3d2a; }

    /* Copra / multi-grade: side-by-side scroll row */
    .spec-panel-grades[data-count='2'],
    .spec-panel-grades[data-count='3'] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .spec-panel-grades[data-count='3'] .spec-panel-grade:nth-child(3) {
        grid-column: 1 / -1;
    }
    .spec-panel-grades .spec-panel-grade {
        margin-top: 0;
        padding: 0.75rem 0.85rem;
        background: rgba(255,255,255,0.55);
        border-radius: 6px;
    }
    .spec-panel-grade-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    .spec-panel-grades .spec-panel-grid {
        grid-template-columns: 1fr;
        gap: 0.1rem 0;
        margin-bottom: 0;
    }
    .spec-panel-grades .spec-panel-grid dt {
        font-size: 0.7rem;
        margin-top: 0.3rem;
    }
    .spec-panel-grades .spec-panel-grid dd {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* ========================================
   v3.32 - Single blog post hero + body
   ======================================== */

/* --- Hero --- */
.post-hero {
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center 40%;
    display: flex;
    align-items: flex-end;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(10,25,15,0.20) 0%,
        rgba(10,25,15,0.65) 100%);
}

.post-hero-inner {
    position: relative;
    z-index: 1;
    padding-bottom: 3rem;
    max-width: 820px;
}

.post-hero-cat {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .75rem;
    font-weight: 700;
    color: #c8dbc0;
    background: rgba(29,61,42,0.60);
    padding: .25em .75em;
    border-radius: 2px;
    margin-bottom: .75rem;
}

.post-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 .6rem;
}

.post-hero-meta {
    font-size: .875rem;
    color: rgba(255,255,255,0.70);
    margin: 0;
}

/* --- Body / Essay --- */
.post-body {
    background: #fff;
    padding: 3.5rem 0 4.5rem;
}

.post-body-inner {
    max-width: 760px;
}

.post-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #2c2c2c;
}

.post-content h2,
.post-content h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #1d3d2a;
    margin: 2rem 0 .6rem;
}

.post-content h2 { font-size: 1.55rem; }
.post-content h3 { font-size: 1.25rem; }

.post-content p { margin: 0 0 1.25rem; }

.post-content ul,
.post-content ol {
    padding-left: 1.5rem;
    margin: 0 0 1.25rem;
}

.post-content li { margin-bottom: .4rem; }

.post-content strong { color: #1d3d2a; }

.post-back {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0d9ce;
}

.post-back a {
    color: #2a5b3b;
    text-decoration: none;
    font-weight: 600;
    font-size: .9375rem;
}

.post-back a:hover { color: #1d3d2a; text-decoration: underline; }

/* --- Mobile --- */
@media (max-width: 600px) {
    .post-hero { min-height: 320px; }
    .post-hero-inner { padding-bottom: 2rem; }
    .post-body { padding: 2rem 0 3rem; }
    .post-content { font-size: 1rem; line-height: 1.75; }
}

/* v3.33 - logo nudge -50px more left */
.site-branding { margin-left: -105px; }
@media (max-width: 900px) {
    .site-branding { margin-left: -80px; }
}

/* v3.34 - spec mobile swipe hint */
.spec-scroll-hint {
    display: none;
}

@media (max-width: 900px) {
    .spec-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        margin: .75rem auto 0;
        animation: spec-hint-fade 3s ease forwards;
        animation-delay: 1.2s;
        opacity: 1;
    }

    .spec-scroll-hint-text {
        font-size: .78rem;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: #5d7d52;
        font-weight: 600;
    }

    .spec-scroll-hint-arrow {
        font-size: .9rem;
        color: #5d7d52;
        animation: spec-hint-nudge 1.2s ease-in-out infinite;
    }

    .spec-scroll-hint-arrow:first-child {
        animation-direction: reverse;
    }

    @keyframes spec-hint-fade {
        0%   { opacity: 1; }
        80%  { opacity: 1; }
        100% { opacity: 0; pointer-events: none; }
    }

    @keyframes spec-hint-nudge {
        0%, 100% { transform: translateX(0); }
        50%      { transform: translateX(3px); }
    }
}

/* v3.35 - language switcher */
.site-lang-switcher {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.site-lang-switcher .gt_selector,
.site-lang-switcher select.gt_selector {
    font-size: .85rem;
    padding: .4rem .6rem;
    border: 1px solid #d8d2c4;
    border-radius: 4px;
    background: #fff;
    color: #1d3d2a;
    cursor: pointer;
    font-family: inherit;
    max-width: 170px;
}

.site-lang-switcher .gt_selector:hover { border-color: #5d7d52; }
.site-lang-switcher .gt_selector:focus { outline: 2px solid #5d7d52; outline-offset: 1px; }

/* Hide GTranslate's own floating widgets if any */
#gt_float_wrapper { display: none !important; }

/* Push Google Translate top bar offset (when it adds 40px to body) */
body { top: 0 !important; }
.skiptranslate.goog-te-banner-frame { display: none !important; }

@media (max-width: 900px) {
    .site-lang-switcher {
        order: 2;
        margin-left: auto;
        margin-right: .6rem;
    }
    .site-lang-switcher .gt_selector { font-size: .8rem; padding: .35rem .45rem; max-width: 130px; }
    .nav-toggle { order: 3; }
}

/* v3.36 - custom language dropdown (always opens down) */

/* Hide native gtranslate select but keep it functional for cookies/translation */
.site-lang-switcher .gtranslate_wrapper,
.site-lang-switcher .gt_selector { display: none !important; }

.sa-lang {
    position: relative;
    font-family: inherit;
}

.sa-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .7rem;
    border: 1px solid #d8d2c4;
    border-radius: 4px;
    background: #fff;
    color: #1d3d2a;
    font-size: .85rem;
    cursor: pointer;
    line-height: 1;
    min-width: 150px;
}

.sa-lang-btn:hover { border-color: #5d7d52; }
.sa-lang-btn:focus { outline: 2px solid #5d7d52; outline-offset: 1px; }

.sa-lang-caret {
    margin-left: auto;
    font-size: .7rem;
    color: #5d7d52;
    transition: transform .2s ease;
}

.sa-lang.is-open .sa-lang-caret { transform: rotate(180deg); }

.sa-lang-flag {
    width: 20px;
    height: 14px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    flex-shrink: 0;
}
.sa-lang-flag[data-flag='gb'] { background-image: url('https://flagcdn.com/w40/gb.png'); }
.sa-lang-flag[data-flag='cn'] { background-image: url('https://flagcdn.com/w40/cn.png'); }
.sa-lang-flag[data-flag='id'] { background-image: url('https://flagcdn.com/w40/id.png'); }
.sa-lang-flag[data-flag='sa'] { background-image: url('https://flagcdn.com/w40/sa.png'); }
.sa-lang-flag[data-flag='es'] { background-image: url('https://flagcdn.com/w40/es.png'); }
.sa-lang-flag[data-flag='fr'] { background-image: url('https://flagcdn.com/w40/fr.png'); }
.sa-lang-flag[data-flag='ru'] { background-image: url('https://flagcdn.com/w40/ru.png'); }
.sa-lang-flag[data-flag='jp'] { background-image: url('https://flagcdn.com/w40/jp.png'); }
.sa-lang-flag[data-flag='kr'] { background-image: url('https://flagcdn.com/w40/kr.png'); }

.sa-lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    margin: 0;
    padding: .3rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid #d8d2c4;
    border-radius: 4px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    min-width: 180px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.sa-lang.is-open .sa-lang-menu { display: block; }

.sa-lang-menu li {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .75rem;
    cursor: pointer;
    font-size: .85rem;
    color: #1d3d2a;
    line-height: 1.2;
}

.sa-lang-menu li:hover { background: #f4ecd8; }
.sa-lang-menu li.is-active { background: #e7dabf; font-weight: 600; }

@media (max-width: 900px) {
    .sa-lang-btn { min-width: 120px; font-size: .8rem; padding: .4rem .55rem; }
    .sa-lang-menu { min-width: 160px; }
}

/* v3.37 - mobile lang switcher: flag only, keep header tidy */
@media (max-width: 900px) {
    .sa-lang-btn {
        min-width: 0;
        padding: .35rem .45rem;
        gap: .3rem;
    }
    .sa-lang-btn .sa-lang-label { display: none; }
    .sa-lang-btn .sa-lang-caret { margin-left: .15rem; font-size: .65rem; }
    .site-lang-switcher { margin-right: .35rem; }
}

@media (max-width: 480px) {
    .sa-lang-btn { padding: .3rem .4rem; }
    .sa-lang-menu { min-width: 170px; right: 0; }
}

/* ================================================================
   v3.38 - Professional redesign: fonts + color palette
   Body: Inter  |  Display: Playfair Display
   Palette: deep forest green + slate + clean white
   ================================================================ */

/* --- Font & color variable overrides --- */
:root {
    --dark-green:    #0e2d1a;
    --mid-green:     #174d2c;
    --leaf-green:    #2e6644;
    --coconut-brown: #4a3220;
    --warm-brown:    #6b4c30;
    --cream:         #f4f4f2;
    --cream-light:   #f9f9f8;
    --beige:         #e8e8e5;
    --beige-dark:    #d0d0cb;
    --white:         #ffffff;
    --text:          #111111;
    --text-light:    #555555;
    --border:        #dcdcda;
    --shadow-sm:     0 1px 4px rgba(0,0,0,0.07);
    --shadow:        0 4px 16px rgba(0,0,0,0.09);
    --shadow-lg:     0 12px 36px rgba(0,0,0,0.13);

    --font:         Inter, -apple-system, BlinkMacSystemFont, Segoe UI,
                    PingFang SC, Microsoft YaHei, Noto Sans SC,
                    Arial, sans-serif;

    --font-display: Playfair Display, Georgia, Times New Roman,
                    Songti SC, PingFang SC, Noto Serif SC, serif;
}

/* --- Apply Inter to all body text --- */
body,
input, textarea, select, button {
    font-family: var(--font);
}

/* --- Apply Playfair to all headings --- */
h1, h2, h3, h4, h5, h6,
.hero-headline,
.section-title,
.footer-brand {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

/* --- Slightly tighter body text at Inter's proportions --- */
body { font-size: 16px; line-height: 1.7; }

/* --- Hero headline italic stays elegant --- */
.hero-headline em { font-style: italic; }

/* --- Buttons: sharper, less pill-shaped --- */
.btn {
    border-radius: 4px !important;
    letter-spacing: .03em;
    font-weight: 600;
    font-family: var(--font);
}

/* --- Section backgrounds use new neutral cream --- */
body,
.products-section,
.why-section,
.process-section,
.blog-section,
.contact-steps {
    background-color: var(--cream) !important;
}

.hero-sticky,
.site-footer {
    background-color: var(--dark-green) !important;
}

/* --- Cards: white background, subtle border --- */
.product-card,
.process-step,
.contact-step,
.blog-card {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
    border-radius: 6px !important;
}

/* --- Slightly crisper nav --- */
.nav-list a {
    font-family: var(--font) !important;
    font-size: .875rem !important;
    font-weight: 500 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

/* v3.39 - revert colour palette to original (keep fonts) */
:root {
    --dark-green:    #1f4d2b;
    --mid-green:     #2d6e3e;
    --leaf-green:    #6a8e5a;
    --coconut-brown: #6b4423;
    --warm-brown:    #8a5a32;
    --cream:         #f7f1e1;
    --cream-light:   #fbf6e8;
    --beige:         #ede1c4;
    --beige-dark:    #d9c79f;
    --white:         #ffffff;
    --text:          #2a2418;
    --text-light:    #6b6354;
    --border:        #e0d4b0;
    --shadow-sm:     0 2px 8px rgba(80,60,20,0.06);
    --shadow:        0 8px 24px rgba(80,60,20,0.10);
    --shadow-lg:     0 16px 40px rgba(80,60,20,0.14);
}

/* Undo v3.38 section/card background overrides */
body,
.products-section,
.why-section,
.process-section,
.blog-section,
.contact-steps {
    background-color: unset !important;
}
body { background: var(--cream); }

.hero-sticky  { background-color: unset !important; }
.site-footer  { background-color: unset !important; }

.product-card,
.process-step,
.contact-step,
.blog-card {
    background: unset !important;
    border: unset !important;
    box-shadow: unset !important;
    border-radius: unset !important;
}

/* v3.41 - restore native GTranslate widget visibility & polish */
.site-lang-switcher .gtranslate_wrapper,
.site-lang-switcher .gt_selector { display: inline-flex !important; }

.site-lang-switcher .gtranslate_wrapper { align-items: center; }

/* Native gtranslate dropdown styling */
.site-lang-switcher .gt_selector,
.site-lang-switcher select.gt_selector {
    font-family: var(--font, inherit) !important;
    font-size: .85rem !important;
    padding: .4rem .6rem !important;
    border: 1px solid #d8d2c4 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #1d3d2a !important;
    cursor: pointer !important;
    max-width: 180px;
}

@media (max-width: 900px) {
    .site-lang-switcher .gt_selector,
    .site-lang-switcher select.gt_selector {
        font-size: .78rem !important;
        padding: .3rem .4rem !important;
        max-width: 130px;
    }
}

/* v3.42 - prevent nav items wrapping to 2 lines */
.nav-list a { white-space: nowrap !important; }
.nav-list { flex-wrap: nowrap !important; }
.nav-list > li { white-space: nowrap; }

/* tighten desktop nav spacing so all items fit on one row */
@media (min-width: 901px) {
    .nav-list { gap: 1.4rem; }
    .nav-list a {
        font-size: .8rem !important;
        letter-spacing: .03em !important;
    }
}

/* ================================================================
   v3.43 - Hero polish: more corporate, less playful
   ================================================================ */

/* Hide the cartoon floating coconut illustrations */
.hero-icon,
.hero-icon--l1,
.hero-icon--r1 { display: none !important; }

/* Eyebrow: subtle, monospace-like tracking, single accent line */
.hero-content .eyebrow {
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #5d7d52;
    margin-bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}
.hero-content .eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: #5d7d52;
}
.hero-content .eyebrow .rotating-country {
    color: #1d3d2a;
    font-weight: 700;
}

/* Headline: single tone, no italic flourish, tighter tracking */
.hero-headline {
    font-family: var(--font-display);
    font-weight: 700;
    color: #1d3d2a;
    letter-spacing: -0.015em;
    line-height: 1.05;
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
}
.hero-headline em {
    font-style: normal !important;
    color: #1d3d2a !important;
    background: none !important;
    border-bottom: none !important;
    text-decoration: none !important;
}
/* Remove the brown underline accent under 'Coconut' */
.hero-headline em::after,
.hero-headline em::before { display: none !important; }

/* Subhead: a touch lighter, slightly narrower max width */
.hero-sub {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.65;
    max-width: 560px;
    margin: 1.3rem auto 2.2rem;
    font-weight: 400;
}

/* Buttons: flatter, more corporate */
.hero-actions .btn {
    border-radius: 2px !important;
    padding: .85rem 1.6rem !important;
    font-size: .82rem !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.hero-actions .btn-primary {
    background: #1d3d2a !important;
    border: 1px solid #1d3d2a !important;
    color: #fff !important;
}
.hero-actions .btn-primary:hover {
    background: #2a5b3b !important;
    border-color: #2a5b3b !important;
}

.hero-actions .btn-whatsapp {
    background: #fff !important;
    border: 1px solid #1d3d2a !important;
    color: #1d3d2a !important;
}
.hero-actions .btn-whatsapp:hover {
    background: #1d3d2a !important;
    color: #fff !important;
}

@media (max-width: 600px) {
    .hero-content .eyebrow { font-size: .65rem; letter-spacing: .18em; }
    .hero-headline { font-size: clamp(2rem, 9vw, 2.6rem); }
    .hero-sub { font-size: .95rem; }
    .hero-actions .btn { padding: .75rem 1.2rem !important; font-size: .75rem !important; }
}

/* ================================================================
   v3.44 - Native select replaced by flags_dropdown widget.
   Ensure the JS dropdown opens downward and isn't clipped.
   ================================================================ */
.site-lang-switcher,
.site-lang-switcher .gtranslate_wrapper,
.site-lang-switcher .gt_switcher {
    position: relative !important;
    overflow: visible !important;
}
.site-header,
.site-header .container,
.site-nav,
.nav-actions { overflow: visible !important; }

/* The JS dropdown panel */
.site-lang-switcher .gt_switcher .gt_option {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 100000 !important;
    max-height: 260px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 2px;
}
.site-lang-switcher .gt_switcher .gt_selected { background: transparent !important; }
.site-lang-switcher .gt_switcher .gt_selected a {
    border-color: #c7d3c7 !important;
    border-radius: 2px;
    background: #fff !important;
}

@media (max-width: 768px) {
    .site-lang-switcher .gt_switcher .gt_option { max-height: 50vh !important; }
}

/* ================================================================
   v3.45 - Restore dark footer background
   ================================================================ */
.site-footer {
    background-color: #1d3d2a !important;
    color: var(--beige);
}
.footer-bottom {
    background-color: #15301f !important;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { color: rgba(247, 241, 225, 0.65) !important; }


/* ================================================================
   v3.47 - Mobile header fit (keep hamburger inside viewport)
   ================================================================ */
html, body { overflow-x: hidden; }

@media (max-width: 768px) {
    .site-header .container.header-inner {
        padding-left: 12px !important;
        padding-right: 12px !important;
        gap: .4rem;
        flex-wrap: nowrap;
    }
    .site-branding { flex: 0 1 auto; min-width: 0; }
    .site-lang-switcher { flex: 0 0 auto; margin-right: .3rem; }
    .nav-toggle { flex: 0 0 auto; }

    .site-lang-switcher .gt_selector,
    .site-lang-switcher select.gt_selector {
        max-width: 110px !important;
        font-size: .75rem !important;
        padding: .3rem 1.2rem .3rem .4rem !important;
    }
}

@media (max-width: 420px) {
    .site-lang-switcher .gt_selector,
    .site-lang-switcher select.gt_selector {
        max-width: 80px !important;
        font-size: .7rem !important;
    }
    .site-header .container.header-inner { gap: .25rem; }
}


/* ================================================================
   v3.49 - Restore position:sticky on Product page
   (overflow:hidden on html/body breaks sticky)
   ================================================================ */
html, body { overflow-x: clip !important; }

/* Safari fallback: if 'clip' unsupported, scope hidden away from sticky containers */
@supports not (overflow-x: clip) {
    html, body { overflow-x: visible !important; }
    body { position: relative; }
}

/* ================================================================
   v3.50 - Floating left/right arrows on Product page (mobile)
   Pulsing chevrons pinned to viewport edges over the spec stack.
   ================================================================ */
.spec-floating-arrow { display: none; }

@media (max-width: 900px) {
    /* Hide the old inline hint bar — replaced by floating arrows */
    .spec-scroll-hint { display: none !important; }

    .spec-floating-arrows {
        position: fixed;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 999;
        display: flex;
        justify-content: space-between;
        padding: 0 8px;
    }
    .spec-floating-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(29, 61, 42, 0.85);
        color: #fff;
        font-size: 18px;
        line-height: 1;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
        animation: spec-arrow-nudge 1.8s ease-in-out infinite;
    }
    .spec-floating-arrow--left  { animation-name: spec-arrow-nudge-l; }
    .spec-floating-arrow--right { animation-name: spec-arrow-nudge-r; }

    .spec-floating-arrows.is-hidden { opacity: 0; transition: opacity .4s ease; }
}

@keyframes spec-arrow-nudge-l {
    0%, 100% { transform: translateX(0); opacity: .9; }
    50%      { transform: translateX(-6px); opacity: 1; }
}
@keyframes spec-arrow-nudge-r {
    0%, 100% { transform: translateX(0); opacity: .9; }
    50%      { transform: translateX(6px); opacity: 1; }
}

/* ===== v3.51 — Placeholder media for products without images ===== */
.product-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2a5a3a 0%, #1f4d2b 100%);
    color: #f7f1e1;
    padding: 1.25rem;
    min-height: 180px;
    border-radius: 8px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}
.product-photo-placeholder small {
    display: block;
    font-size: 0.82rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    opacity: 0.85;
    margin-top: 0.25rem;
}
.spec-panel-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2a5a3a 0%, #1f4d2b 100%);
    color: #f7f1e1;
    padding: 2rem;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.spec-panel-placeholder-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.spec-panel-placeholder-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.75;
}

/* ===== v3.52 — Allow overflowing spec content to scroll within sticky panel ===== */
.spec-panel {
    /* keep sticky but let tall content overflow visibly */
    align-items: stretch;
    padding: 3rem 0;
}
.spec-panel-inner {
    width: 100%;
    align-items: stretch;
    max-height: calc(100vh - 6rem);
}
.spec-panel-media {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 100%;
    overflow: hidden;
}
.spec-panel-media img {
    max-height: calc(100vh - 8rem);
    object-fit: cover;
}
.spec-panel-body {
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    padding-right: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(31,77,43,0.4) transparent;
}
.spec-panel-body::-webkit-scrollbar { width: 8px; }
.spec-panel-body::-webkit-scrollbar-track { background: transparent; }
.spec-panel-body::-webkit-scrollbar-thumb {
    background: rgba(31,77,43,0.35);
    border-radius: 4px;
}
.spec-panel-body::-webkit-scrollbar-thumb:hover { background: rgba(31,77,43,0.55); }

/* On mobile/tablet the panel isn't sticky, so let it grow naturally */
@media (max-width: 900px) {
    .spec-panel-inner { max-height: none; }
    .spec-panel-body { max-height: none; overflow: visible; padding-right: 0; }
    .spec-panel-media img { max-height: 60vh; }
}

/* ===== v3.53 — Floating 'Scroll for more' indicator inside spec body ===== */
.spec-panel-body { position: relative; }
.spec-body-scroll-hint {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem -0.75rem -0.5rem -0.5rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(180deg, rgba(247,241,225,0) 0%, rgba(31,77,43,0.95) 45%, rgba(31,77,43,1) 100%);
    color: #f7f1e1;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0 0 10px 10px;
    pointer-events: none;
    z-index: 5;
}
.spec-panel-body.is-overflowing .spec-body-scroll-hint { display: flex; }
.spec-body-scroll-hint-arrow {
    display: inline-block;
    animation: spec-body-bob 1.4s ease-in-out infinite;
    font-size: 1rem;
}
@keyframes spec-body-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}
@media (max-width: 900px) {
    .spec-body-scroll-hint { display: none !important; }
}

/* ===== v3.54 — Side-by-side grade comparison table ===== */
.spec-compare-wrap {
    margin-top: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(31,77,43,0.15);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(31,77,43,0.06);
}
.spec-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #1f2d22;
    min-width: 480px;
}
.spec-compare-table thead th {
    background: #1f4d2b;
    color: #f7f1e1;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 2px solid #15301f;
}
.spec-compare-table thead th.spec-compare-label {
    background: #15301f;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.spec-compare-table tbody th {
    background: #f7f1e1;
    color: #1f4d2b;
    font-weight: 600;
    text-align: left;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(31,77,43,0.1);
    white-space: nowrap;
}
.spec-compare-table tbody td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(31,77,43,0.08);
    border-left: 1px solid rgba(31,77,43,0.05);
    vertical-align: top;
}
.spec-compare-table tbody tr:last-child th,
.spec-compare-table tbody tr:last-child td { border-bottom: 0; }
.spec-compare-table tbody tr.is-different td {
    background: #fff7d6;
    font-weight: 600;
    color: #7a5300;
}
.spec-compare-table tbody tr.is-different th {
    background: #fbeec0;
    color: #7a5300;
}
.spec-compare-legend {
    font-size: 0.78rem;
    color: rgba(31,77,43,0.7);
    margin: 0.65rem 0 0;
    padding: 0 1rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.spec-compare-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: #fff7d6;
    border: 1px solid #f0d870;
}
@media (max-width: 600px) {
    .spec-compare-table { font-size: 0.85rem; }
    .spec-compare-table thead th,
    .spec-compare-table tbody th,
    .spec-compare-table tbody td { padding: 0.55rem 0.65rem; }
}
/* ========================================================================
   v3.55 — PRODUCT CATALOG (filterable cards) — replaces v3.51–v3.54 spec showcase
   ======================================================================== */

.catalog-wrap {
    background: #f7f5ef;
    color: #1f2a23;
    padding-bottom: 4rem;
}

/* Hero */
.catalog-hero {
    position: relative;
    background:
        linear-gradient(rgba(10, 30, 15, 0.58), rgba(10, 30, 15, 0.58)),
        url('/wp-content/themes/sinoargent-coconut/assets/img/catalog-hero-bg.jpg') center center / cover no-repeat;
    color: #fff;
    min-height: 420px;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0;
}
.catalog-hero .container {
    width: 100%;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.catalog-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #ffd56b;
    margin: 0 0 0.6rem;
    font-weight: 600;
}
.catalog-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin: 0 0 1rem;
    line-height: 1.15;
    font-weight: 700;
}
.catalog-lead {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.92;
}

/* Filter toolbar (sticky on scroll) */
.catalog-toolbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(247, 245, 239, 0.96);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid rgba(31, 77, 43, 0.08);
    padding: 0.85rem 0;
}
.catalog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.catalog-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid rgba(31, 77, 43, 0.18);
    background: #fff;
    color: #1f4d2b;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
}
.catalog-chip:hover {
    border-color: #1f4d2b;
    transform: translateY(-1px);
}
.catalog-chip.is-active {
    background: #1f4d2b;
    color: #fff;
    border-color: #1f4d2b;
    box-shadow: 0 4px 14px rgba(31, 77, 43, 0.25);
}
.catalog-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.3rem;
    padding: 0 0.4rem;
    background: rgba(31, 77, 43, 0.1);
    color: #1f4d2b;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.catalog-chip.is-active .catalog-chip-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* Grid */
.catalog-grid-wrap { padding: 2.5rem 0 1.5rem; }
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.catalog-empty {
    text-align: center;
    color: #6b7367;
    padding: 3rem 1rem;
    font-style: italic;
}

/* Card */
.catalog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20, 35, 25, 0.06);
    border: 1px solid rgba(31, 77, 43, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20, 35, 25, 0.12);
}
.catalog-card.is-open {
    grid-column: 1 / -1;
}

/* Media */
.catalog-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef0e8;
}
.catalog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.catalog-card:hover .catalog-card-media img { transform: scale(1.04); }
.catalog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c6e3a 0%, #1f4d2b 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    gap: 0.5rem;
}
.catalog-card-placeholder-label {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.catalog-card-placeholder-note {
    font-size: 0.78rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.catalog-card-tag {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1f4d2b;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Card body */
.catalog-card-body {
    padding: 1.25rem 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}
.catalog-card-eyebrow {
    margin: 0;
    font-size: 0.72rem;
    color: #2c6e3a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.catalog-card-title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #1f2a23;
    font-weight: 700;
}
.catalog-card-intro {
    margin: 0;
    color: #4b5650;
    font-size: 0.93rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.catalog-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: #f1efe6;
    border: 1.5px solid transparent;
    color: #1f4d2b;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    width: 100%;
}
.catalog-card-cta:hover {
    background: #1f4d2b;
    color: #fff;
}
.catalog-card-cta-arrow {
    transition: transform 0.25s ease;
    font-size: 0.9rem;
}
.catalog-card.is-open .catalog-card-cta-arrow {
    transform: rotate(180deg);
}
.catalog-card.is-open .catalog-card-cta {
    background: #1f4d2b;
    color: #fff;
}

/* Expanded detail panel */
.catalog-card-detail {
    border-top: 1px solid rgba(31, 77, 43, 0.1);
    background: #fbf9f3;
    padding: 1.5rem 1.5rem 1.75rem;
    animation: catalogDetailIn 0.25s ease;
}
@keyframes catalogDetailIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.catalog-detail-section { margin-bottom: 1.4rem; }
.catalog-detail-section:last-of-type { margin-bottom: 0; }
.catalog-detail-head {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    color: #1f4d2b;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.catalog-detail-uses {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.4rem 1rem;
}
.catalog-detail-uses li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.93rem;
    color: #2b3530;
    line-height: 1.5;
}
.catalog-detail-uses li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: #2c6e3a;
    border-radius: 50%;
}
.catalog-detail-benefits {
    margin: 0;
    color: #2b3530;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Spec table */
.catalog-table-scroll {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(31, 77, 43, 0.1);
    -webkit-overflow-scrolling: touch;
}
.catalog-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.9rem;
    min-width: 480px;
}
.catalog-spec-table thead th {
    background: #1f4d2b;
    color: #fff;
    text-align: left;
    padding: 0.7rem 0.9rem;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.catalog-spec-table tbody th {
    text-align: left;
    padding: 0.7rem 0.9rem;
    font-weight: 600;
    color: #1f4d2b;
    background: #f3f1ea;
    white-space: nowrap;
}
.catalog-spec-table tbody td {
    padding: 0.7rem 0.9rem;
    color: #2b3530;
    border-top: 1px solid rgba(31, 77, 43, 0.06);
}
.catalog-spec-table tbody tr.is-different th,
.catalog-spec-table tbody tr.is-different td {
    background: #fff7d6;
}
.catalog-spec-table tbody tr.is-different td {
    font-weight: 600;
    color: #6b4a00;
}
.catalog-spec-legend {
    margin: 0.6rem 0 0;
    font-size: 0.78rem;
    color: #6b7367;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.catalog-spec-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    background: #fbeec0;
    border: 1px solid #e0c879;
    border-radius: 3px;
}

/* Single-grade fallback */
.catalog-spec-grades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.catalog-spec-grade {
    background: #fff;
    border: 1px solid rgba(31, 77, 43, 0.1);
    border-radius: 10px;
    padding: 1rem 1.1rem;
}
.catalog-spec-grade h4 {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
    color: #1f4d2b;
    font-weight: 700;
}
.catalog-spec-grade dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.3rem 0.8rem;
    font-size: 0.88rem;
}
.catalog-spec-grade dt {
    color: #6b7367;
    font-weight: 600;
}
.catalog-spec-grade dd {
    margin: 0;
    color: #2b3530;
}

.catalog-detail-cta {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(31, 77, 43, 0.1);
    text-align: center;
}

/* Bottom CTA section */
.catalog-cta {
    margin-top: 3rem;
    background: #1f4d2b;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}
.catalog-cta h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.catalog-cta p {
    margin: 0 auto 1.4rem;
    max-width: 560px;
    opacity: 0.92;
}

/* Tablet */
@media (max-width: 900px) {
    .catalog-hero { min-height: 360px; }
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .catalog-hero { min-height: 280px; }
    .catalog-lead { font-size: 0.95rem; }
    .catalog-toolbar { padding: 0.65rem 0; }
    .catalog-filter-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 1rem 0.3rem;
        margin: 0 -1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .catalog-filter-bar::-webkit-scrollbar { display: none; }
    .catalog-chip {
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 0.45rem 0.85rem;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .catalog-card.is-open {
        grid-column: 1;
    }
    .catalog-card-body { padding: 1rem 1rem 0.9rem; }
    .catalog-card-title { font-size: 1.1rem; }
    .catalog-card-intro { font-size: 0.9rem; }
    .catalog-card-detail { padding: 1.2rem 1rem 1.4rem; }
    .catalog-detail-uses { grid-template-columns: 1fr; }
    .catalog-spec-table { font-size: 0.85rem; min-width: 420px; }
    .catalog-spec-table thead th,
    .catalog-spec-table tbody th,
    .catalog-spec-table tbody td {
        padding: 0.55rem 0.7rem;
    }
}

/* v3.56 — Standardised hero section height across Blogs, Product, Contact Us */
.blog-hero          { min-height: 420px; }
.blog-hero-inner    { padding: 2rem 1.5rem; }
/* catalog-hero min-height now set in base rule */

@media (max-width: 700px) {
    .blog-hero       { min-height: 300px; }
    .catalog-hero    { min-height: 280px; }
}

/* v3.57 — Fix [hidden] filter: author display: flex/grid overrides UA hidden */
.catalog-card[hidden],
.catalog-card-detail[hidden] { display: none !important; }


/* v3.65 — Shift hero photo upward to reveal more sky at the top */
.hero-image { background-position: center 30% !important; }

/* v3.67 — Darker full-image overlay after transition for headline legibility */
.hero-image::after {
    background: linear-gradient(180deg,
        rgba(0,0,0, calc(var(--p) * 0.15)) 0%,
        rgba(0,0,0, calc(var(--p) * 0.30)) 100%) !important;
}

/* v3.68 — Hero text: dark-green before transition, white after */
.hero-stage .eyebrow {
    color: color-mix(in srgb,
        var(--dark-green) calc((1 - var(--p)) * 100%),
        #ffffff calc(var(--p) * 100%)) !important;
}
.hero-stage .eyebrow .rotating-country {
    color: color-mix(in srgb,
        var(--leaf-green, #5d7d52) calc((1 - var(--p)) * 100%),
        #ffffff calc(var(--p) * 100%)) !important;
}
.hero-stage .hero-headline em {
    color: color-mix(in srgb,
        var(--dark-green) calc((1 - var(--p)) * 100%),
        #ffffff calc(var(--p) * 100%)) !important;
}
.hero-stage .hero-sub {
    color: color-mix(in srgb,
        var(--text-light) calc((1 - var(--p)) * 100%),
        #ffffff calc(var(--p) * 100%)) !important;
}

/* v3.70 — Product spec modal (popup with close X) */
body.spec-modal-open { overflow: hidden; }
.spec-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.spec-modal[hidden] { display: none; }
.spec-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 25, 18, 0.62);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: specFade 160ms ease-out;
}
.spec-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    width: min(720px, 100%);
    max-height: 86vh;
    overflow-y: auto;
    padding: 28px 32px 32px;
    animation: specPop 180ms cubic-bezier(.2,.7,.2,1);
}
.spec-modal-close {
    position: absolute; top: 10px; right: 14px;
    background: transparent; border: 0;
    font-size: 30px; line-height: 1;
    color: #555; cursor: pointer;
    padding: 6px 10px; border-radius: 8px;
    transition: background .15s ease, color .15s ease;
}
.spec-modal-close:hover { background: rgba(0,0,0,0.06); color: #000; }
.spec-modal-close:focus-visible { outline: 2px solid var(--dark-green, #1d3d2a); outline-offset: 2px; }
.spec-modal-title {
    margin: 0 36px 18px 0;
    font-family: var(--font, serif);
    font-size: clamp(22px, 3vw, 28px);
    color: var(--dark-green, #1d3d2a);
}
.spec-modal-body .catalog-card-detail,
.spec-modal-body { display: block !important; }
.spec-modal-body .catalog-detail-section { margin-bottom: 22px; }
.spec-modal-body .catalog-detail-cta { margin-top: 8px; }

@keyframes specFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes specPop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 540px) {
    .spec-modal { padding: 12px; }
    .spec-modal-dialog { padding: 22px 18px 24px; max-height: 92vh; }
}
