/* ============================================================
   VIVIR EN PLENITUD — La ciencia de volver a sentirte bien
   Archetype: Editorial Light Cream (adaptado a marca sage)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --bg:        #f6f3ea;
  --bg-2:      #ece5d3;
  --paper:     #fffefb;
  --ink:       #263229;
  --ink-soft:  #33402f;
  --ink-mute:  #6e7768;
  --sage:      #7c9473;
  --sage-deep: #566b4c;
  --gold:      #b99b6b;
  --rose:      #c4917a;
  --line:      rgba(38, 50, 41, 0.12);
  --shadow:    0 30px 60px -30px rgba(38, 50, 41, 0.25);

  --display: 'Cormorant Garamond', serif;
  --body: 'Jost', sans-serif;

  --container: min(1240px, 92vw);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

em { font-style: italic; color: var(--sage-deep); }

.container { width: var(--container); margin-inline: auto; }

.kicker {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.kicker::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--sage-deep);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--body);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.95em 1.9em;
  border-radius: 100px;
  border: 1px solid var(--ink);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--paper);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-outline { color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.btn-ghost { border-color: transparent; padding-inline: 0; }
.btn-ghost::after { content: '→'; transition: transform 0.3s; }
.btn-ghost:hover::after { transform: translateX(6px); }

/* ---------- Nav ---------- */
.masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.4s, padding 0.4s, box-shadow .4s;
}
.masthead.scrolled {
  background: rgba(246, 243, 234, 0.88);
  backdrop-filter: blur(14px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 var(--line);
}
.masthead .container { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 600;
}
.brand span { color: var(--sage-deep); }
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  font-size: 0.86rem; letter-spacing: 0.03em;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--ink);
  transition: width 0.35s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 0.8rem; align-items: center; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 82% 18%, rgba(124,148,115,0.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 12% 85%, rgba(185,155,107,0.22), transparent 60%),
    var(--bg);
}
.hero-art {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.9;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  margin: 1.1rem 0 1.4rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 2.2rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-stats { display: flex; gap: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); max-width: 480px; }
.hero-stat b { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--sage-deep); }
.hero-stat span { font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.03em; }

.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0; width: 46%;
  z-index: 1;
}
.blob-canvas {
  position: absolute; inset: 8%;
  border-radius: 40% 60% 65% 35% / 45% 40% 60% 55%;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.blob-canvas img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.blob-canvas::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(124,148,115,0.18), rgba(86,107,76,0.12));
  mix-blend-mode: multiply;
}

.marquee-strip {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--bg-2);
  overflow: hidden;
}
.marquee-track { display: flex; gap: 3.5rem; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--ink-mute); display: flex; align-items: center; gap: 1rem; }
.marquee-track span::after { content: '✦'; color: var(--sage); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto {
  padding: 8rem 0 6rem;
}
.manifesto .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.manifesto-photo {
  grid-column: 1 / -1;
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/8;
  position: relative;
  box-shadow: var(--shadow);
}
.manifesto-photo img { width: 100%; height: 100%; object-fit: cover; }
.manifesto p.lead {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink-soft);
}
.manifesto p.lead em { color: var(--sage-deep); }
.manifesto .support {
  margin-top: 1.6rem;
  color: var(--ink-mute);
  max-width: 540px;
  font-size: 0.98rem;
}

/* ---------- Section shared ---------- */
section { position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.2rem; flex-wrap: wrap; }
.section-head:has(+ .photo-carousel) { margin-bottom: 1.8rem; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 0.8rem; max-width: 640px; }
.section-head .desc { max-width: 360px; color: var(--ink-mute); font-size: 0.95rem; }

/* ---------- Bento grid (pilares / funnels) ---------- */
.bento {
  padding: 5rem 0;
  background: var(--bg-2);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 1.1rem;
}
.bento-card {
  position: relative;
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.5s;
}
.bento-card:hover { transform: translateY(-8px) rotate(-0.4deg); box-shadow: var(--shadow); }
.bento-card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.bento-card p { font-size: 0.86rem; color: var(--ink-mute); }
.bento-card .tag {
  position: absolute; top: 1.6rem; left: 1.6rem;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sage-deep); font-weight: 500;
}
.bento-card.wide { grid-column: span 3; grid-row: span 2; }
.bento-card.tall { grid-column: span 2; grid-row: span 3; }
.bento-card.small { grid-column: span 2; grid-row: span 1; }
.bento-card.medium { grid-column: span 2; grid-row: span 2; }
.bento-card.accent { background: var(--sage-deep); color: var(--paper); }
.bento-card.accent h3, .bento-card.accent p { color: var(--paper); }
.bento-card.accent .tag { color: #d9e5cf; }
.bento-card.rose { background: linear-gradient(145deg, #e7cdbf, #c4917a); }
.bento-card.rose h3, .bento-card.rose p { color: var(--ink); }
.bento-card.photo { padding: 0; }
.bento-card.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.bento-card.photo:hover img { transform: scale(1.06); }
.bento-card.photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(38,50,41,0.72) 0%, rgba(38,50,41,0.1) 55%, transparent 75%);
  z-index: 1;
}
.bento-card.photo .tag, .bento-card.photo h3, .bento-card.photo p {
  position: relative; top: auto; left: auto; z-index: 2; color: var(--paper);
}
.bento-card.photo .tag { color: #d9e5cf; }
.bento-card.photo { padding: 2rem; }

/* ---------- Productos ---------- */
.productos { padding: 7rem 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.product-card {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.product-visual {
  aspect-ratio: 1/1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--bg-2), var(--bg));
}
.product-visual .bottle {
  width: 46%; height: 68%;
  border-radius: 40px 40px 16px 16px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4), 0 20px 40px -18px rgba(38,50,41,0.35);
}
.product-visual .bottle::before {
  content: ''; position: absolute; top: -12%; left: 50%; transform: translateX(-50%);
  width: 34%; height: 16%; border-radius: 10px;
  background: rgba(38,50,41,0.18);
}
.p-eternel .bottle { background: linear-gradient(160deg, #cddcc4, #7c9473); }
.p-purifi .bottle { background: linear-gradient(160deg, #f0e2cf, #b99b6b); }
.p-kynetik .bottle { background: linear-gradient(160deg, #e9b8bf, #c4917a); }
.cat-wellness .bottle { background: linear-gradient(160deg, #cddcc4, #7c9473); }
.cat-weight .bottle { background: linear-gradient(160deg, #d8c9a8, #b99b6b); }
.cat-energy .bottle { background: linear-gradient(160deg, #e9b8bf, #c4917a); }
.cat-skin .bottle { background: linear-gradient(160deg, #e7d5e0, #a988a5); }

/* ---------- Photo carousel (auto-scroll) ---------- */
.photo-carousel { overflow: hidden; margin: -0.6rem 0 1.6rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.photo-carousel-track { display: flex; gap: 1.1rem; width: max-content; animation: carousel-scroll 46s linear infinite; }
.photo-carousel-track:hover { animation-play-state: paused; }
.photo-carousel-card { flex: 0 0 auto; width: 240px; height: 260px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.photo-carousel-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes carousel-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .photo-carousel-card { width: 160px; height: 210px; }
  .photo-carousel-track { animation-duration: 30s; }
}

/* ---------- Single Product Page (páginas individuales) ---------- */
.product-single { padding: 9rem 0 6rem; }
.product-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.product-single-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); position: sticky; top: 7rem; }
.product-single-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-single-cat { margin-bottom: 0.6rem; }
.product-single h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.4rem; }
.product-single .subtitle { font-size: 1.05rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.product-single .price-row { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.product-single .price-row .now { font-family: var(--display); font-size: 2.1rem; color: var(--sage-deep); }
.product-single .price-row .was { font-size: 1rem; color: var(--ink-mute); text-decoration: line-through; }
.product-single .price-row .sub { font-size: 0.8rem; color: var(--ink-mute); }
.product-single .desc { font-size: 1rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 1.8rem; }
.product-single h2.section-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-deep); font-weight: 500; margin-bottom: 0.9rem; }
.product-single .benefits-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.8rem; }
.product-single .benefits-list li { font-size: 0.95rem; color: var(--ink-soft); padding-left: 1.5em; position: relative; }
.product-single .benefits-list li::before { content: '✓'; position: absolute; left: 0; color: var(--sage-deep); font-weight: 600; }
.product-single .ingredients-text { font-size: 0.9rem; color: var(--ink-mute); margin-bottom: 1.8rem; }
.product-single .badges-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.2rem; }
.product-single .badges-row span { font-size: 0.72rem; color: var(--sage-deep); background: var(--bg-2); padding: 0.35em 0.85em; border-radius: 100px; }
.product-single .order-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.product-single .disclaimer-note { font-size: 0.75rem; color: var(--ink-mute); line-height: 1.6; }
@media (max-width: 900px) {
  .product-single-grid { grid-template-columns: 1fr; }
  .product-single-photo { position: static; aspect-ratio: 4/3; }
}

/* ---------- Product Detail Spaces (14 productos) ---------- */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.detail-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.detail-card.wide { grid-column: span 2; }
.detail-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; margin: -0.2rem -0.2rem 0.2rem; }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-head { display: flex; gap: 1.1rem; align-items: flex-start; }
.detail-visual {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 16px; position: relative; overflow: hidden;
}
.detail-visual .bottle { position: absolute; inset: 8px; border-radius: 12px 12px 6px 6px; }
.detail-titles { flex: 1; }
.detail-titles h3 { font-size: 1.25rem; line-height: 1.2; }
.detail-titles .subtitle { font-size: 0.84rem; color: var(--ink-mute); margin-top: 0.2rem; }
.detail-price { text-align: right; white-space: nowrap; }
.detail-price .now { font-family: var(--display); font-size: 1.25rem; color: var(--sage-deep); display: block; }
.detail-price .was { font-size: 0.76rem; color: var(--ink-mute); text-decoration: line-through; }
.detail-price .sub { font-size: 0.7rem; color: var(--ink-mute); }
.detail-desc { font-size: 0.87rem; color: var(--ink-mute); line-height: 1.55; }
.detail-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.detail-benefits li { font-size: 0.82rem; color: var(--ink-soft); padding-left: 1.3em; position: relative; }
.detail-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--sage-deep); font-weight: 600; }
.detail-ingredients { font-size: 0.78rem; color: var(--ink-mute); border-top: 1px solid var(--line); padding-top: 0.8rem; }
.detail-ingredients b { color: var(--ink-soft); font-weight: 500; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.detail-badges span {
  font-size: 0.68rem; letter-spacing: 0.02em; color: var(--sage-deep);
  background: var(--bg-2); padding: 0.3em 0.7em; border-radius: 100px;
}
.detail-foot { display: flex; gap: 0.8rem; margin-top: auto; flex-wrap: wrap; }
.detail-foot .ext-link { font-size: 0.8rem; color: var(--ink-mute); align-self: center; }
.detail-foot .ext-link:hover { color: var(--sage-deep); }
.detail-disclaimer {
  font-size: 0.72rem; color: var(--ink-mute); text-align: center;
  max-width: 760px; margin: 3rem auto 0; line-height: 1.6;
}
@media (max-width: 1020px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card.wide { grid-column: span 1; }
}
.cat-filter { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.cat-btn {
  font-size: 0.82rem; padding: 0.6em 1.3em; border-radius: 100px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-mute);
  cursor: pointer; transition: all 0.3s;
}
.cat-btn.active, .cat-btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--paper); }
.product-card[hidden] { display: none; }
.detail-card[hidden] { display: none; }
.product-body .ext-link { font-size: 0.78rem; color: var(--ink-mute); }
.product-body .ext-link:hover { color: var(--sage-deep); }
.product-body { padding: 1.8rem; }
.product-body .kicker { margin-bottom: 0.5rem; }
.product-body h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.product-body p { font-size: 0.88rem; color: var(--ink-mute); margin-bottom: 1.2rem; }
.product-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.price { font-family: var(--display); font-size: 1.2rem; color: var(--sage-deep); }

/* ---------- Ciencia / claims strip ---------- */
.claims { padding: 5rem 0; background: var(--sage-deep); color: var(--paper); }
.claims .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.claim b { font-family: var(--display); font-size: 2.4rem; display: block; }
.claim span { font-size: 0.82rem; opacity: 0.75; letter-spacing: 0.02em; }

/* ---------- Testimonios ---------- */
.testimonials { padding: 7rem 0; }
.test-track { display: flex; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.test-track::-webkit-scrollbar { display: none; }
.test-card {
  scroll-snap-align: start;
  min-width: min(420px, 84vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.test-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(160deg, var(--sage), var(--gold));
}
.test-quote { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); line-height: 1.5; }
.test-name { font-size: 0.85rem; color: var(--ink-mute); }
.test-name b { color: var(--ink); font-weight: 500; }

/* ---------- Oportunidad (agentes) teaser ---------- */
.opportunity {
  padding: 7rem 0;
  background: linear-gradient(155deg, var(--bg-2), var(--bg));
}
.opp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.opp-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.opp-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opp-visual::after {
  content: 'VEP'; position: absolute; bottom: 1.6rem; right: 1.8rem; z-index: 2;
  font-family: var(--display); font-style: italic; font-size: 2.2rem; color: rgba(255,255,255,0.75);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.opp-visual::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(38,50,41,0.55), transparent 45%);
}
.opp-list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.opp-item { display: flex; gap: 1rem; align-items: flex-start; }
.opp-item .num { font-family: var(--display); color: var(--sage-deep); font-size: 1.1rem; }
.opp-item p { font-size: 0.92rem; color: var(--ink-mute); }
.opp-item strong { color: var(--ink); display: block; margin-bottom: 0.2rem; font-weight: 500; }

/* ---------- Diary / content list ---------- */
.diary { padding: 6rem 0 8rem; }
.diary-list { display: flex; flex-direction: column; }
.diary-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 2rem; align-items: center;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.4s;
}
.diary-item:last-child { border-bottom: 1px solid var(--line); }
.diary-item:hover { padding-left: 0.8rem; }
.diary-item .d-num { color: var(--ink-mute); font-size: 0.85rem; }
.diary-item h4 { font-size: 1.3rem; }
.diary-item .d-cat { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-deep); }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 7rem 0;
  position: relative;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(124,148,115,0.35), transparent 65%), var(--ink);
  color: var(--paper);
  border-radius: 0;
}
.final-cta .container { text-align: center; max-width: 720px; }
.final-cta .kicker { justify-content: center; color: #cddcc4; }
.final-cta .kicker::before { background: #cddcc4; }
.final-cta h2 { color: var(--paper); font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 1.2rem 0 1.8rem; }
.final-cta .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--paper); }
.final-cta .btn-outline:hover { background: var(--paper); color: var(--ink); }
.final-cta .btn-primary { background: #cddcc4; border-color: #cddcc4; color: var(--ink); }

/* ---------- Footer ---------- */
footer { padding: 4rem 0 2.5rem; background: var(--bg); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer-brand .brand { display: block; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.85rem; color: var(--ink-mute); max-width: 280px; }
.footer-col h5 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 0.7rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--sage-deep); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.6rem; font-size: 0.78rem; color: var(--ink-mute); flex-wrap: wrap; gap: 0.6rem; }

/* ---------- Reveal on scroll ---------- */
/* Fail-safe: content is visible by DEFAULT. Only hides if JS confirms it's running
   (adds .has-js to <html>), so a blocked/broken script never hides real content. */
.reveal { opacity: 1; transform: none; }
html.has-js .reveal:not([data-split]) {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
}
html.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-split] { opacity: 1; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999;
  border-radius: 50%; transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--ink); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid var(--ink); mix-blend-mode: difference; transition: width .3s, height .3s; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 10rem 0 4rem; }
.page-hero .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.page-hero p { max-width: 540px; color: var(--ink-mute); margin-top: 1.2rem; font-size: 1.05rem; }
.page-hero-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1020px) { .page-hero .container { grid-template-columns: 1fr; } .page-hero-photo { aspect-ratio: 16/8; } }
.breadcrumb { font-size: 0.8rem; color: var(--ink-mute); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--sage-deep); }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.3rem; }
.form-row label { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-mute); }
.form-row input, .form-row textarea, .form-row select {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.85em 1em;
  font-family: var(--body); font-size: 0.95rem; background: var(--bg);
  color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }

/* ---------- Credits ---------- */
.footer-credits { font-size: 0.75rem; color: var(--ink-mute); margin-top: 0.6rem; }
.footer-credits a { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .manifesto .container { grid-template-columns: 1fr; gap: 1.2rem; }
  .bento-grid { grid-template-columns: repeat(4, 1fr); }
  .bento-card.wide { grid-column: span 4; }
  .bento-card.tall { grid-column: span 2; grid-row: span 2; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .opp-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .claims .container { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}

@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 0; top: 0; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transform: translateY(-100%); transition: transform 0.5s cubic-bezier(.2,.8,.2,1); z-index: 90; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.3rem; font-family: var(--display); font-style: italic; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; z-index: 110; background: none; border: none; cursor: pointer; }
  .nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: transform .3s, opacity .3s; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 1.4rem; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-card, .bento-card.wide, .bento-card.tall, .bento-card.medium, .bento-card.small { grid-column: span 1; grid-row: span 1; min-height: 220px; }
  .product-grid { grid-template-columns: 1fr; }
  .claims .container { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .diary-item { grid-template-columns: 1fr; gap: 0.4rem; text-align: left; }
  .cursor-dot, .cursor-ring { display: none; }
}
