/* =============================================================
   Crece y Triunfa — styles.css
   Archetipo: Editorial Light Cream (adaptado a psicología / bienestar)
   1. Tokens              5. Componentes        9. Responsive
   2. Reset & base        6. Secciones         10. Reduced-motion
   3. Utilidades          7. Efectos
   4. Tipografía          8. Utilidades foto
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --dark-green:  #1B4332;
  --dark-green-2:#16382A;
  --olive:       #7A9A5B;
  --olive-deep:  #5F7E45;
  --olive-light: #EAF0DF;
  --terracotta:  #A0522D;
  --terracotta-d:#8A4325;
  --cream:       #F7F5EC;
  --cream-2:     #EFEBDC;
  --paper:       #FFFFFF;
  --ink:         #26302180;   /* only for rgba mixes */
  --text:        #3F4A3A;
  --text-soft:   #52604B;
  --text-mute:   #7C8974;
  --line:        rgba(27, 67, 50, 0.14);
  --line-soft:   rgba(27, 67, 50, 0.08);

  --serif-script: "Caveat", "Segoe Script", cursive;
  --sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius:   18px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --shadow-s: 0 2px 10px rgba(27, 67, 50, 0.06);
  --shadow-m: 0 14px 40px -18px rgba(27, 67, 50, 0.28);
  --shadow-l: 0 40px 90px -40px rgba(27, 67, 50, 0.40);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 84px;
  --topics-h: 46px;
  --container: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.015em; font-weight: 600; color: var(--dark-green); }
ul { list-style: none; padding: 0; }
::selection { background: var(--olive); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--paper); color: var(--dark-green);
  border-radius: 8px; font-weight: 600; box-shadow: var(--shadow-m);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--olive-deep);
  margin-bottom: 14px;
}
.script {
  font-family: var(--serif-script);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--olive-deep);
  font-size: 1.32em;
  line-height: 0.9;
}
.section {
  padding-block: clamp(64px, 10vw, 128px);
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head p {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.05rem;
}
.center { text-align: center; margin-inline: auto; }

/* =============================================================
   4. Tipografía
   ============================================================= */
h1, .h1 { font-size: clamp(2.15rem, 5.4vw, 3.5rem); }
h2, .h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-soft); }

/* =============================================================
   5. Componentes
   ============================================================= */

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  font-weight: 500; font-size: 0.98rem;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft), background-color .3s, color .3s;
  will-change: transform;
}
.btn-primary {
  background: var(--terracotta); color: var(--cream);
  box-shadow: 0 10px 24px -12px rgba(160, 82, 45, 0.7);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(160, 82, 45, 0.6); background: var(--terracotta-d); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-ghost {
  background: transparent; color: var(--dark-green);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--olive), var(--shadow-s); }
.btn-light { background: var(--cream); color: var(--dark-green); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 500; color: var(--terracotta);
  transition: gap .3s var(--ease-out);
}
.link-arrow:hover { gap: .7em; }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  background: var(--cream);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), padding .4s var(--ease-out);
  padding-block: 16px;
}
.nav.is-scrolled {
  background: rgba(247, 245, 236, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft), 0 8px 24px -20px rgba(27,67,50,.4);
  padding-block: 9px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-s); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-weight: 600; font-size: 1rem; color: var(--dark-green); letter-spacing: -0.01em; }
.brand-name span { font-family: var(--serif-script); font-size: 1.15rem; color: var(--olive-deep); }

.menu { display: none; align-items: center; gap: 28px; }
.menu a {
  position: relative; font-size: 0.95rem; color: var(--text); padding: 4px 0;
  transition: color .3s;
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--olive); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-soft);
}
.menu a:hover { color: var(--dark-green); }
.menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu a.is-current { color: var(--dark-green); font-weight: 500; }
.menu a.is-current::after { transform: scaleX(1); background: var(--terracotta); }
.menu a.ext::after { display: none; }
.menu a.ext { color: var(--olive-deep); font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.griffin-pill {
  display: none;
  background: var(--olive-light); color: #27500A;
  border-radius: var(--radius-pill);
  padding: 9px 16px; font-size: 0.82rem; font-weight: 500; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(122,154,91,.35);
  transition: transform .35s var(--ease-soft), box-shadow .35s;
}
.griffin-pill:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--olive), var(--shadow-s); }

.burger {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line);
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--dark-green); transition: transform .35s var(--ease-out), opacity .2s;
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4px); }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: rotate(45deg); }
body.menu-open .burger span::after { transform: rotate(-45deg) translateY(-1px); }

/* Menú móvil */
.nav-mobile {
  position: fixed; inset: 0; z-index: 95;
  background: var(--cream);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
body.menu-open .nav-mobile { clip-path: inset(0 0 0 0); }
.nav-mobile a {
  padding: 16px 4px; font-size: 1.25rem; color: var(--dark-green);
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a.ext { color: var(--olive-deep); }
.nav-mobile .btn { margin-top: 22px; }

/* --- Topics bar --- */
.topics-bar {
  position: fixed; top: var(--nav-h); inset-inline: 0; z-index: 90;
  background: var(--olive-light);
  border-bottom: 1px solid rgba(122,154,91,.22);
  transition: top .4s var(--ease-out);
  overflow: hidden;
}
.nav.is-scrolled ~ .topics-bar { top: 62px; }
.topics-track {
  display: flex; gap: 10px; align-items: center;
  padding: 9px var(--gutter);
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.topics-track::-webkit-scrollbar { display: none; }
.topics-track .label {
  flex: none; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--olive-deep); padding-right: 4px;
}
.topics-track a {
  flex: none;
  font-size: 0.82rem; color: #2C4A18;
  background: var(--cream); border-radius: var(--radius-pill);
  padding: 6px 14px; white-space: nowrap;
  transition: background-color .3s, color .3s, transform .3s var(--ease-soft);
}
.topics-track a:hover { background: var(--dark-green); color: var(--cream); transform: translateY(-1px); }

/* --- Cards --- */
.card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 26px;
  color: inherit;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
a.card:hover { border-color: var(--olive); }
a.card:hover h3 { color: var(--terracotta); }
.card .tag {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--olive-deep);
}
.card h3 { margin: 10px 0; }
.card p { color: var(--text-soft); font-size: 0.96rem; }
.card .meta { margin-top: 16px; font-size: 0.82rem; color: var(--text-mute); }

/* =============================================================
   6. Secciones
   ============================================================= */

/* --- Hero --- */
.hero {
  padding-top: calc(var(--nav-h) + 62px);
  padding-bottom: clamp(60px, 9vw, 120px);
  position: relative;
}
.hero-grid {
  display: grid; gap: clamp(32px, 6vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 8px; }
.hero-copy .h1 span.script { display: block; margin-top: 6px; font-size: 1.55em; }
.hero-copy .lead { margin: 20px 0 30px; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 0.86rem; color: var(--text-mute); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }

.portrait {
  position: relative;
  border-radius: var(--radius-l);
  background: var(--dark-green);
  background-size: cover; background-position: center top;
  box-shadow: var(--shadow-l);
  overflow: hidden;
  isolation: isolate;
}
.portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(22,56,42,0.22));
  pointer-events: none;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.portrait--hero { aspect-ratio: 4 / 5; max-width: 430px; margin-inline: auto; }
.portrait--hero .frame-note {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: var(--cream); font-family: var(--serif-script); font-size: 1.35rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* --- Cabecera de página interior --- */
.pagehead {
  padding-top: calc(var(--nav-h) + 74px);
  padding-bottom: clamp(28px, 5vw, 52px);
  background: var(--cream-2);
  border-bottom: 1px solid var(--line-soft);
}
.pagehead h1 { margin-bottom: 14px; }
.pagehead p { max-width: 56ch; color: var(--text-soft); font-size: 1.06rem; }
.pagehead .eyebrow { color: var(--olive-deep); }

/* --- Artículo (entrada de blog) --- */
.article-section { padding-top: calc(var(--nav-h) + var(--topics-h) + 30px); }
.article { max-width: 720px; margin-inline: auto; }
.crumbs {
  font-size: 0.82rem; color: var(--text-mute); margin-bottom: 18px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.crumbs a:hover { color: var(--dark-green); }
.crumbs span[aria-current] { color: var(--text-soft); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  font-size: 0.8rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 16px;
}
.article-meta .topic {
  color: #2C4A18; background: var(--olive-light);
  border-radius: var(--radius-pill); padding: 4px 12px; letter-spacing: .08em;
}
.article h1 { margin-bottom: 14px; }
.article-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  color: var(--olive-deep); line-height: 1.5; margin-bottom: 28px;
  font-weight: 500;
}
.article-hero {
  border-radius: var(--radius-l); overflow: hidden; margin-bottom: 34px;
  box-shadow: var(--shadow-m); border: 1px solid var(--line-soft);
}
.article-hero img { width: 100%; height: auto; display: block; }

.article-body { font-size: 1.075rem; line-height: 1.8; color: var(--text-soft); }
.article-body > p + p,
.article-body > ul, .article-body > ol,
.article-body > ul + p, .article-body > ol + p { margin-top: 1.15em; }
.article-body h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  margin-top: 2.2em; margin-bottom: .5em; color: var(--dark-green);
}
.article-body h3 {
  font-size: 1.12rem; margin-top: 1.7em; margin-bottom: .4em; color: var(--dark-green);
}
.article-body strong { color: var(--text); font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul > li {
  position: relative; padding-left: 1.5em; margin-top: .5em;
}
.article-body ul > li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--olive);
}
.article-body ol { padding-left: 1.4em; margin-top: .6em; }
.article-body ol > li { margin-top: .5em; padding-left: .2em; }
.article-body ol > li::marker { color: var(--olive-deep); font-weight: 600; }

.article-body > p:first-of-type::first-letter {
  font-family: var(--serif-script);
  font-size: 1.9em; line-height: 1; color: var(--terracotta);
}

.pullquote {
  margin: 1.8em 0; padding: 6px 0 6px 22px;
  border-left: 3px solid var(--olive);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.5; color: var(--dark-green); font-weight: 500;
}
.pullquote::before {
  content: "“"; font-family: var(--serif-script); color: var(--olive);
  font-size: 1.6em; line-height: 0; margin-right: .08em;
}

.article-cta {
  margin-top: 44px; padding: 28px;
  background: #F1EEE1; border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.article-cta h3 { margin-bottom: 8px; }
.article-cta p { color: var(--text-soft); font-size: 0.98rem; margin-bottom: 16px; }

.article-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a {
  font-size: 0.82rem; color: #2C4A18; background: var(--olive-light);
  border-radius: var(--radius-pill); padding: 6px 14px;
  transition: background-color .3s, color .3s;
}
.article-tags a:hover { background: var(--dark-green); color: var(--cream); }

.article-author {
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; gap: 16px; align-items: center;
}
.article-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: center 6%; flex: none; }
.article-author b { color: var(--dark-green); display: block; }
.article-author p { font-size: 0.9rem; color: var(--text-soft); margin-top: 2px; }

/* --- Manifiesto --- */
.manifesto { background: var(--cream-2); }
.manifesto-grid {
  display: grid; gap: clamp(20px, 5vw, 60px);
  grid-template-columns: 1fr;
}
.manifesto .num {
  font-family: var(--serif-script); font-size: 3.4rem; color: var(--olive);
  line-height: 1;
}
.manifesto h2 { margin-bottom: 18px; }
.manifesto p + p { margin-top: 14px; }
.manifesto p { color: var(--text-soft); font-size: 1.06rem; }

/* --- Grid utils --- */
.grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* --- Chips de temas (portada) --- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a {
  font-size: 0.85rem; color: #2C4A18;
  background: var(--olive-light); border-radius: var(--radius-pill);
  padding: 8px 16px;
  transition: background-color .3s, color .3s, transform .3s var(--ease-soft);
}
.chips a:hover { background: var(--dark-green); color: var(--cream); transform: translateY(-2px); }

/* --- Sobre Mónica --- */
.about-grid {
  display: grid; gap: clamp(28px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
.about .portrait--about { aspect-ratio: 4 / 4.6; max-width: 400px; }
.portrait--about img { object-position: center 6%; }
.credentials { margin-top: 22px; display: grid; gap: 10px; }
.credentials li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.95rem; color: var(--text-soft);
}
.credentials li::before {
  content: ""; flex: none; margin-top: 8px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--olive);
}

/* --- Bandas (Crianza / Griffin) --- */
.band { border-radius: var(--radius-l); padding: clamp(28px, 5vw, 52px); }
.band-crianza {
  background: #F1EEE1;
  border: 1px solid var(--line-soft);
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
.band-crianza .eyebrow { color: var(--olive-deep); }
.band-crianza h2 { margin-bottom: 12px; }
.band-crianza p { color: var(--text-soft); }

.band-griffin {
  background: var(--dark-green); color: var(--cream);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.band-griffin .eyebrow { color: #A9C4AD; }
.band-griffin h2 { color: var(--cream); }
.band-griffin p { color: #CFE0D2; max-width: 52ch; }
.band-griffin .btn { margin-top: 10px; }

/* --- Testimonios --- */
.testimonials { background: var(--cream-2); }
.t-card {
  background: var(--paper); border-radius: var(--radius-l);
  border: 1px solid var(--line-soft);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-s);
}
.t-card .quote { font-size: 1.02rem; color: var(--text); line-height: 1.6; }
.t-card .quote::before { content: "“"; font-family: var(--serif-script); font-size: 2.4rem; color: var(--olive); display: block; line-height: 0.4; margin-bottom: 8px; }
.t-card .who { font-size: 0.85rem; color: var(--text-mute); margin-top: auto; }
.t-card .who b { color: var(--text-soft); font-weight: 600; }
.t-demo-note {
  margin-top: 20px; font-size: 0.82rem; color: var(--text-mute);
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--olive-light); padding: 8px 14px; border-radius: var(--radius-pill);
}

/* --- CTA + formulario --- */
.cta { background: var(--dark-green); color: var(--cream); }
.cta h2 { color: var(--cream); }
.cta .lead { color: #CFE0D2; }
.cta-grid {
  display: grid; gap: clamp(28px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: start;
}
.form { display: grid; gap: 14px; position: relative; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.3rem 1rem 0.55rem;
  border-radius: 12px; border: 1px solid rgba(247,245,236,.28);
  background: rgba(247,245,236,.06); color: var(--cream);
  font: inherit; transition: border-color .3s, background-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); background: rgba(247,245,236,.1); }
.field label {
  position: absolute; left: 1rem; top: 1rem;
  color: #AEC3B0; pointer-events: none; font-size: 0.95rem;
  transition: all .22s var(--ease-out);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 0.4rem; font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: #8FB093;
}
.form .btn { margin-top: 6px; }
.form-success {
  border: 1px solid rgba(247,245,236,.3); border-radius: 14px;
  padding: 20px; background: rgba(247,245,236,.06);
  display: none;
}
.form-success.is-visible { display: block; }
.form.is-sent { display: none; }
.form-tiny { font-size: 0.8rem; color: #AEC3B0; }

/* --- Footer --- */
.footer {
  background: var(--dark-green-2); color: #BCCDBE;
  padding-block: clamp(44px, 7vw, 72px);
  font-size: 0.9rem;
}
.footer a { color: #D6E3D7; }
.footer a:hover { color: var(--cream); }
.footer-top { display: grid; gap: 30px; grid-template-columns: 1fr; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.footer-brand b { color: var(--cream); font-weight: 600; display: block; }
.footer-brand span { font-family: var(--serif-script); font-size: 1.05rem; color: #9FBBA3; }
.footer-cols { display: grid; gap: 26px; grid-template-columns: repeat(2, 1fr); }
.footer-cols h4 { color: var(--cream); font-size: 0.82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer-cols a { display: block; padding: 4px 0; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(247,245,236,.12);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 0.82rem; color: #93A995;
}

/* =============================================================
   7. Efectos
   ============================================================= */
/* El contenido es visible por defecto; solo se oculta cuando el JS está activo
   (evita secciones en blanco si algo falla o el observador no dispara). */
.js [data-reveal]:not(.is-revealed) {
  opacity: 0; transform: translateY(28px);
}
[data-reveal] {
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease-out), clip-path 1s var(--ease-out);
  animation: splashSafety .01s 4.2s forwards;
}
.splash img { width: 84px; height: 84px; border-radius: 50%; box-shadow: var(--shadow-m); }
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }

/* Transición entre páginas */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .5s; animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   8. Utilidades foto (marcador mientras llegan las fotos reales)
   ============================================================= */
.portrait[data-placeholder] {
  background-image:
    radial-gradient(120% 80% at 30% 15%, rgba(122,154,91,.35), transparent 60%),
    linear-gradient(160deg, #24583F, #16382A);
}
.portrait[data-placeholder] .ph-mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif-script); color: rgba(247,245,236,.72); font-size: 2.6rem;
}

/* =============================================================
   9. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .band-crianza { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .menu { display: flex; }
  .griffin-pill { display: inline-flex; }
  .burger { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .manifesto-grid { grid-template-columns: 0.5fr 2fr; align-items: start; }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
  .about-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.2fr 2fr; }
}
@media (min-width: 1180px) {
  .hero-copy .h1 { font-size: 3.75rem; }
}

/* =============================================================
   10. Reduced-motion (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
