/* =============================================================
   1. Tokens & Custom Properties
   ============================================================= */
:root {
  /* Palette — premium editorial: warm terracotta/gold + deep tech teal */
  --bg:          #f6f0e6;
  --bg-warm:     #efe2cd;
  --bg-deep:     #e8d8bc;
  --bg-card:     #fffaf3;
  --paper:       #fffaf3;
  --ink:         #1a1512;
  --ink-soft:    #4a3f37;
  --ink-mute:    #8a7a6c;
  --ink-faint:   #ad9c8c;
  --accent:      #b8531f;
  --accent-2:    #7a3214;
  --accent-light:#f3e0c8;
  --gold:        #c79433;
  --gold-light:  #f1ddab;
  --teal:        #16302c;
  --teal-2:      #0e231f;
  --teal-glow:   #4fb89a;
  --line:        rgba(26,21,18,0.10);
  --line-warm:   rgba(184,83,31,0.18);

  /* Typography */
  --serif:       'Fraunces', Georgia, serif;
  --sans:        'Inter', system-ui, sans-serif;
  --italic:      'Playfair Display', Georgia, serif;

  /* Spacing — refined for better density */
  --gutter:      clamp(1.25rem, 4vw, 2rem);
  --section-gap: clamp(4rem, 8vw, 7.5rem);
  --container:   1200px;

  /* Animation */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Sizes */
  --nav-h:       76px;
  --radius:      6px;
  --radius-lg:   20px;
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { touch-action: manipulation; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
    overflow-x: hidden; overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
    overflow-x: hidden;
  overflow-x: clip;
}
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; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.025em; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }
fieldset { border: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* =============================================================
   3. Utilities
   ============================================================= */
.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;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: var(--radius); font-size: .875rem;
  font-weight: 500; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* =============================================================
   4. Typography
   ============================================================= */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}
.section-kicker::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--italic);
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.section-title em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--accent) 15%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.68;
  margin-top: .5rem;
}
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* =============================================================
   4b. Media component — real photo with elegant fallback
   ============================================================= */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
}
.media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.media-img--error { display: none; }
.media .foto-ph {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
/* Give .media an intrinsic height when it isn't already absolutely
   positioned inside a sized parent (e.g. the "Sobre mí" photo strip) */
.media:has(.foto-ph--3-4)  { aspect-ratio: 3/4; }
.media:has(.foto-ph--4-3)  { aspect-ratio: 4/3; }
.media:has(.foto-ph--1-1)  { aspect-ratio: 1; }
.media:has(.foto-ph--16-9) { aspect-ratio: 16/9; }

/* Decorative quote glyph, reused for citas / próximamente panels */
.quote-mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  font-style: italic;
  color: var(--gold);
  opacity: .55;
  display: block;
  margin-bottom: -.5rem;
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 2px;
  transition: background .25s var(--ease-out), color .25s var(--ease-out),
              box-shadow .25s var(--ease-out), transform .2s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 6px 24px rgba(139,69,19,.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: var(--bg-warm);
  border-color: var(--ink-mute);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-light);
}
.btn--small { padding: .6rem 1.2rem; font-size: .85rem; }
.btn--full { width: 100%; justify-content: center; }

/* =============================================================
   6. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-split] {
  opacity: 1;
  transform: none;
}
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .9s var(--ease-out);
}
.is-revealed .split-word-inner { transform: translateY(0); }

/* =============================================================
   7. Navigation
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.nav.is-scrolled {
  background: rgba(247,243,238,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-logo-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color .2s;
}
.nav-logo:hover .nav-logo-name { color: var(--accent); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.5vw, 1.5rem);
}
.nav-link {
  font-size: .82rem;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after { width: 100%; }
.nav-link--cta {
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-weight: 500;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-top: var(--nav-h);
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 78% 18%, rgba(199,148,51,.20) 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 12% 85%, rgba(184,83,31,.16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(228,214,196,.35) 0%, transparent 60%);
}
.hero-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}
.hero-aside { margin-top: .5rem; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.5rem;
}
.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.hero-title {
  font-family: var(--italic);
  font-size: clamp(3rem, 6.8vw, 6rem);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.hero-title em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-rule {
  width: 68px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  margin: 1.5rem 0 1.75rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.hero-story {
  font-size: 1rem;
  color: var(--ink-mute);
  max-width: 50ch;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}
.hero-portrait {
  width: 100%;
  max-width: 380px;
  position: relative;
}
.hero-portrait-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 50px 90px -20px rgba(26,21,18,.38), 0 0 0 1px rgba(255,255,255,.5) inset;
  aspect-ratio: 3/4;
  background: var(--bg-warm);
  position: relative;
}
/* foto-ph inside hero portrait fills frame */
.hero-portrait-frame .foto-ph,
.hero-portrait-frame .media {
  height: 100%;
  border-radius: 0;
}
.hero-portrait-caption {
  font-size: .75rem;
  color: var(--ink-faint);
  margin-top: .9rem;
  font-style: italic;
  text-align: center;
}
.hero-book-peek {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: rgba(255,250,242,.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -10px rgba(26,21,18,.25);
  border: 1px solid rgba(255,255,255,.6);
  width: 100%;
  max-width: 320px;
  position: relative;
  align-self: center;
  margin-top: -2.5rem;
  z-index: 2;
}
.book-cover-mini {
  display: flex;
  flex-shrink: 0;
  height: 90px;
  position: relative;
  filter: drop-shadow(0 4px 12px rgba(28,25,23,.2));
}
.book-cover-mini-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  z-index: 2;
}
.book-cover-mini-img--error { display: none; }
.book-spine {
  width: 12px;
  background: linear-gradient(180deg, #5a2d0c 0%, #3d1f0a 100%);
  border-radius: 2px 0 0 2px;
}
.book-front {
  width: 62px;
  background: linear-gradient(160deg, #f0e6d3 0%, #e8d9c2 100%);
  border-radius: 0 2px 2px 0;
  padding: .6rem .5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(139,69,19,.15);
  border-left: none;
}
.book-front-title {
  font-family: var(--serif);
  font-size: .5rem;
  font-weight: 400;
  line-height: 1.3;
  color: #3d1f0a;
}
.book-front-title em { font-style: italic; }
.book-front-author {
  font-size: .38rem;
  color: #6b3410;
  letter-spacing: .03em;
}
.hero-book-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-faint);
  margin-bottom: .25rem;
}
.hero-book-link {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
  display: block;
  margin-bottom: .25rem;
  transition: opacity .2s;
}
.hero-book-link:hover { opacity: .7; }
.hero-book-desc {
  font-size: .8rem;
  color: var(--ink-mute);
  line-height: 1.4;
}
.hero-lang-note {
  font-size: .82rem;
  color: var(--ink-faint);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.hero-tertiary {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity .2s;
}
.hero-tertiary:hover { opacity: .65; }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  opacity: .4;
  animation: fadeInUp 1s 2s both;
}
.hero-scroll-hint span {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--ink-mute), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(.6); opacity: .8; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: .4; transform: translateX(-50%) translateY(0); }
}

/* =============================================================
   9. Sections (shared)
   ============================================================= */
.section {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--line);
}
.section--warm { background: var(--bg-warm); }

/* =============================================================
   9b. Hitos
   ============================================================= */
.hitos {
  position: relative;
  background: linear-gradient(165deg, var(--teal) 0%, var(--teal-2) 100%);
  padding-block: clamp(3rem, 5vw, 4rem);
  overflow: hidden;
}
.hitos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--teal-glow));
}
.hitos::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 85% 20%, rgba(79,184,154,.16) 0%, transparent 60%);
  pointer-events: none;
}
.hitos-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.hito {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding-top: 1.1rem;
  position: relative;
}
.hito::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 26px;
  height: 2px;
  background: var(--teal-glow);
}
.hito-num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 340;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, var(--teal-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hito-label {
  font-size: .82rem;
  color: rgba(247,243,238,.6);
  line-height: 1.5;
}
.hito-label em { font-style: italic; color: rgba(247,243,238,.85); }

/* =============================================================
   10. Foto Placeholder System
   ============================================================= */
.foto-ph {
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.35) 0%, transparent 45%),
    linear-gradient(150deg, #f1e4cf 0%, #dcb878 45%, #b8531f 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.foto-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 70% 80%, rgba(122,50,20,.25) 0%, transparent 65%);
  pointer-events: none;
}
.foto-ph--teal {
  background:
    radial-gradient(circle at 25% 20%, rgba(79,184,154,.25) 0%, transparent 45%),
    linear-gradient(150deg, #1d3f3a 0%, #16302c 55%, #0e231f 100%);
}
.foto-ph--teal::before {
  background: radial-gradient(ellipse 70% 50% at 75% 75%, rgba(79,184,154,.3) 0%, transparent 65%);
}
.foto-ph--teal .foto-ph-icon { color: var(--teal-glow); opacity: .55; }
.foto-ph--teal .foto-ph-label { color: rgba(255,255,255,.55); }
.foto-ph-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
}
.foto-ph-icon {
  width: 24px;
  height: 24px;
  opacity: .55;
  color: #fff;
  flex-shrink: 0;
}
.foto-ph-icon--lg {
  width: 40px;
  height: 40px;
  opacity: .5;
}
.foto-ph-label {
  font-size: .62rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  text-align: center;
  padding: 0 .75rem;
  line-height: 1.5;
}
/* Aspect ratios */
.foto-ph--3-4  { aspect-ratio: 3/4; }
.foto-ph--4-3  { aspect-ratio: 4/3; }
.foto-ph--1-1  { aspect-ratio: 1; }
.foto-ph--16-9 { aspect-ratio: 16/9; }
.foto-ph--hero { width: 100%; height: 100%; }

/* Inverted for dark backgrounds */
.foto-ph--invert {
  background: linear-gradient(145deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 100%);
  border: 1px solid rgba(255,255,255,.12);
}
.foto-ph--invert .foto-ph-icon { color: rgba(255,255,255,.6); opacity: .5; }
.foto-ph--invert .foto-ph-label { color: rgba(255,255,255,.4); }

/* =============================================================
   11. Sobre mí
   ============================================================= */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: start;
}
.sobre-text p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
}
.sobre-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem) !important;
  color: var(--ink) !important;
  font-weight: 400;
}
.sobre-cita {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 20px 40px -28px rgba(26,21,18,.25);
}
.sobre-cita .quote-mark { margin-bottom: -.75rem; }
.sobre-cita p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 0;
}
.sobre-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-left: 2rem;
  border-left: 1px solid var(--line-warm);
}
.pillar { padding: 0; position: relative; }
.pillar-icon {
  position: absolute;
  left: -2.42rem;
  top: .3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  font-size: 0;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: .4rem;
  color: var(--ink);
}
.pillar p {
  font-size: .92rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* Photo strip — 1 retrato grande a la izquierda + 3 fotos apiladas a la derecha,
   cada una con todo el ancho de su columna (evita recortes agresivos) */
.sobre-fotos {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  align-items: stretch;
}
.sf-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -24px rgba(26,21,18,.22);
  transition: transform .4s var(--ease-out);
}
.sf-item:hover { transform: translateY(-4px); }
.sf-item .foto-ph,
.sf-item .media {
  border-radius: 0;
  height: 100%;
}
.sf-item--main { grid-column: 1; grid-row: 1 / span 3; }
.sf-item:nth-child(2) .media-img { object-position: 75% 38%; }
.sf-item:nth-child(3) .media-img { object-position: 60% 28%; }
.sf-item:nth-child(4) .media-img { object-position: center 25%; }

/* =============================================================
   12. Libros — Opción B: dos grandes tarjetas ES/CA + franja EN
   ============================================================= */
.libro-principal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.libro-card-grande {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  box-shadow: 0 30px 60px -28px rgba(26,21,18,.22);
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}
.libro-card-grande:hover {
  box-shadow: 0 40px 80px -24px rgba(26,21,18,.3);
  transform: translateY(-4px);
}
.lcg-cover {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-warm);
}
.lcg-cover .media,
.lcg-cover .cover-fallback {
  position: absolute;
  inset: 0;
    width: 100%; height: 100%;
  border-radius: 0;
}
/* Elegant drawn fallback cover — shown until the real photo is uploaded */
.cover-fallback {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.3) 0%, transparent 45%),
    linear-gradient(155deg, #f3e6cf 0%, #dcb878 45%, #b8531f 100%);
}
.cover-fallback--ca {
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.3) 0%, transparent 45%),
    linear-gradient(155deg, #e6edf5 0%, #9fb8d4 45%, #1a3a5c 100%);
}
.cover-fallback--en {
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.25) 0%, transparent 45%),
    linear-gradient(155deg, #ece9e4 0%, #c7c0b5 45%, #8c8478 100%);
}
.cover-fallback-kicker {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.cover-fallback-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 340;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.cover-fallback-title em { display: block; font-style: italic; font-weight: 340; }
.cover-fallback-author {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.85);
}
.lcg-body {
  padding: clamp(2rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lcg-titulo {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 340;
  letter-spacing: -0.02em;
  margin-bottom: .75rem;
  color: var(--ink);
  line-height: 1.15;
}
.lcg-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.btn--large {
  padding: 1.05rem 2.1rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 14px 32px -8px rgba(184,83,31,.4);
}
.btn--large:hover { box-shadow: 0 18px 40px -8px rgba(184,83,31,.5); }

/* Franja edición inglesa — menor peso visual, sin botón */
.libro-en-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 2.5rem;
  box-shadow: 0 30px 60px -28px rgba(26,21,18,.22);
    
}
.les-cover {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px -8px rgba(26,21,18,.3);
}
.les-cover .media,
.les-cover .cover-fallback {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border-radius: 0;
  padding: .5rem;
}
.les-cover .cover-fallback-kicker { font-size: .45rem; }
.les-cover .cover-fallback-title { font-size: .58rem; line-height: 1.05; }
.les-cover .cover-fallback-author { font-size: .4rem; }
.les-body { flex: 1; min-width: 0; }
.les-titulo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: .2rem;
}
.les-desc {
  font-size: .85rem;
  color: var(--ink-mute);
}
.les-badge {
  flex-shrink: 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  padding: .4rem 1rem;
  border-radius: 20px;
}

/* Quote */
.libros-cita {
  border-left: 2px solid var(--accent);
  padding: 1rem 0 1rem 1.75rem;
  margin: 0 0 2rem;
}
.libros-cita p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: .5rem;
}
.libros-cita cite {
  font-size: .85rem;
  color: var(--ink-mute);
  font-style: normal;
}

/* =============================================================
   13. Blog
   ============================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--line);
  border: 1px solid var(--line);
}
.blog-card {
  background: var(--bg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  transition: background .3s;
}
.blog-card:hover { background: var(--bg-card); }
.blog-card--featured {
  grid-column: span 2;
  border-bottom: 1px solid var(--line);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.blog-card-img {
  overflow: hidden;
}
.blog-card-img .foto-ph {
  height: 100%;
  aspect-ratio: unset;
  border-radius: 0;
}
.blog-card-body {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .9rem;
}
.blog-cat {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
time {
  font-size: .75rem;
  color: var(--ink-faint);
}
.blog-card-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: .9rem;
  letter-spacing: -0.015em;
}
.blog-card-title em { font-style: italic; color: var(--accent); }
.blog-card-excerpt {
  font-size: .9rem;
  color: var(--ink-mute);
  line-height: 1.65;
  margin-bottom: 1.1rem;
  max-width: 72ch;
}
.blog-card-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity .2s;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.blog-card-link:hover { opacity: .65; }
.blog-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* =============================================================
   14. Podcast
   ============================================================= */
.podcast-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: start;
}
.podcast-sub {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.podcast-info p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.podcast-platforms {
  margin: 1.5rem 0;
}
.podcast-platforms-label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .65rem;
}
.podcast-platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.platform-badge {
  font-size: .8rem;
  padding: .35rem .85rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Right column: visual + episodes */
.podcast-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.podcast-visual {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
  align-items: stretch;
}
.pv-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(26,21,18,.3);
}
.pv-cover .foto-ph,
.pv-cover .media { border-radius: 0; height: 100%; }
.pv-thumbs {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  width: 72px;
}
.pv-thumbs .foto-ph {
  border-radius: var(--radius);
  flex: 1;
}

.podcast-episodes-label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.25rem;
}
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.episode-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.episode-item:first-child { border-top: 1px solid var(--line); }
.ep-num {
  font-family: var(--sans);
  font-size: .75rem;
  color: var(--ink-faint);
  font-weight: 500;
  min-width: 1.5rem;
  flex-shrink: 0;
}
.ep-info { flex: 1; }
.ep-title {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .2rem;
  line-height: 1.4;
}
.ep-meta {
  font-size: .78rem;
  color: var(--ink-faint);
}
.ep-play {
  font-size: .75rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.ep-play:hover { background: var(--accent); color: #fff; transform: scale(1.1); }
.episode-item--add { opacity: .55; }
.ep-title--muted { font-style: italic; }
.podcast-email {
  font-size: .82rem;
  color: var(--ink-mute);
  margin-top: 1rem;
}
.podcast-email a { color: var(--accent); }
.podcast-email a:hover { opacity: .7; }

/* =============================================================
   15. AURAX / MouthX — dark tech panel
   ============================================================= */
.aurax.section {
  background: radial-gradient(ellipse 80% 60% at 82% 0%, rgba(79,184,154,.16), transparent 60%), var(--teal-2);
  border-top-color: rgba(255,255,255,.08);
}
.aurax.section .section-kicker { color: var(--teal-glow); }
.aurax.section .section-kicker::before { background: linear-gradient(90deg, var(--teal-glow), transparent); }
.aurax.section .section-title { color: #fff; }
.aurax.section .section-title em {
  background: linear-gradient(100deg, var(--teal-glow) 10%, #9be8d4 90%);
  -webkit-background-clip: text;
  background-clip: text;
}
.aurax.section .section-sub {
  color: rgba(255,255,255,.7);
}
.aurax.section .section-sub strong { color: #fff; }

.aurax-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.25rem;
}
.aurax-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out), border-color .3s;
}
.aurax-card:hover {
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.5), 0 0 0 1px rgba(79,184,154,.25);
  transform: translateY(-4px);
  border-color: rgba(79,184,154,.3);
}
.aurax-card--main {
  background: rgba(255,255,255,.04);
  padding: 0;
  overflow: hidden;
}
.aurax-visual { margin-bottom: 0; aspect-ratio: 16/9; }
.aurax-visual .foto-ph,
.aurax-visual .media { border-radius: 0; height: 100%; }
.aurax-visual .media { aspect-ratio: auto; }
.aurax-card-body { padding: 1.75rem; }
.aurax-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-glow);
  margin-bottom: .9rem;
}
.aurax-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 340;
  letter-spacing: -0.02em;
  margin-bottom: .9rem;
  color: #fff;
}
.aurax-desc {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.aurax-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.aurax-meta span {
  font-size: .7rem;
  padding: .3rem .7rem;
  background: rgba(79,184,154,.12);
  border: 1px solid rgba(79,184,154,.25);
  border-radius: 10px;
  color: var(--teal-glow);
}
.aurax-link {
  font-size: .875rem;
  font-weight: 500;
  color: #9be8d4;
  transition: opacity .2s;
}
.aurax-link:hover { opacity: .65; }

/* =============================================================
   16. Medios — Redesigned
   ============================================================= */
/* Banner visual */
.medios-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/8;
  margin-bottom: 2.75rem;
  box-shadow: 0 30px 60px -24px rgba(26,21,18,.3);
}
.medios-banner .foto-ph,
.medios-banner .media { border-radius: 0; height: 100%; }

/* Logos strip */
.medios-logos {
  margin-bottom: 2.5rem;
}
.medios-logos-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.medios-logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.mlogo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: .75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow .25s, border-color .25s;
  min-width: 100px;
}
.mlogo:hover {
  box-shadow: 0 4px 16px rgba(28,25,23,.08);
  border-color: var(--ink-faint);
}
.mlogo-nombre {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mlogo-tipo {
  font-size: .65rem;
  color: var(--ink-faint);
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Featured grid */
.medios-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.medio-feat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.medio-feat:hover {
  box-shadow: 0 10px 32px rgba(28,25,23,.1);
  transform: translateY(-3px);
}
.mf-visual {
  position: relative;
}
.mf-visual .foto-ph {
  border-radius: 0;
}
.mf-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 20px;
  background: var(--ink);
  color: var(--bg);
}
.mf-badge--prensa  { background: #2d5a2d; }
.mf-badge--radio   { background: #1a3a5c; }
.mf-badge--podcast { background: #5c1a5c; }
.mf-info {
  padding: 1.25rem 1.5rem 1.5rem;
}
.mf-medio {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}
.mf-titulo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.mf-desc {
  font-size: .875rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: .9rem;
}
.mf-link {
  font-size: .82rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity .2s;
}
.mf-link:hover { opacity: .65; }

/* Medios CTA */
.medios-contacto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
}
.mc-titulo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .3rem;
}
.mc-desc {
  font-size: .9rem;
  color: var(--ink-mute);
}

/* =============================================================
   17. Charlas y conferencias
   ============================================================= */
.charlas-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  margin-bottom: 2.75rem;
  box-shadow: 0 30px 60px -24px rgba(26,21,18,.3);
}
.charlas-banner .foto-ph,
.charlas-banner .media { border-radius: 0; height: 100%; }
.charlas-ejes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.charla-eje {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.charla-eje::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.charla-eje:hover {
  box-shadow: 0 24px 48px -16px rgba(26,21,18,.16);
  transform: translateY(-5px);
}
.charla-eje:hover::before { transform: scaleX(1); }
.ce-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(184,83,31,.14), rgba(199,148,51,.14));
  color: var(--accent-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.ce-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.ce-desc {
  font-size: .85rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

.charlas-para {
  margin-bottom: 2.5rem;
}
.charlas-para-label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .9rem;
}
.charlas-para-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.charlas-para-list li {
  font-size: .85rem;
  padding: .5rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink-soft);
  font-weight: 500;
}

.charlas-cta {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.charlas-cta p {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* =============================================================
   17b. Testimonios
   ============================================================= */
.testimonios-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  font-size: .92rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: -.5rem;
}
.testi-stars {
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: .1em;
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonio-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  overflow: hidden;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.testimonio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.testimonio-card:hover {
  box-shadow: 0 24px 50px -16px rgba(26,21,18,.18);
  transform: translateY(-5px);
}
.testimonio-card:hover::before { transform: scaleX(1); }
.testimonio-card .testi-stars {
  display: block;
  margin-bottom: 1.1rem;
}
.testi-quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.testi-autor {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.testi-rol {
  font-weight: 400;
  font-size: .8rem;
  color: var(--ink-faint);
}
.testimonios-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.testimonios-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent);
  transition: opacity .2s;
}
.testimonios-link:hover { opacity: .65; }

/* =============================================================
   17c. Blog — artículos reales
   ============================================================= */
.blog-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-article-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  overflow: hidden;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.blog-article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.blog-article-card:hover {
  box-shadow: 0 24px 50px -16px rgba(26,21,18,.18);
  transform: translateY(-5px);
}
.blog-article-card:hover::before { transform: scaleX(1); }
.ba-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(184,83,31,.14), rgba(199,148,51,.14));
  color: var(--accent-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.ba-titulo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.ba-excerpt {
  font-size: .9rem;
  color: var(--ink-mute);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.ba-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  transition: opacity .2s;
}
.ba-link:hover { opacity: .65; }

/* =============================================================
   17d. Biblioteca de artículos — listado por categorías
   ============================================================= */
.biblio-categoria { margin-bottom: clamp(3rem, 6vw, 5rem); }
.biblio-categoria:last-child { margin-bottom: 0; }
.biblio-categoria-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.biblio-categoria-titulo {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .35rem;
}
.biblio-categoria-desc {
  font-size: .9rem;
  color: var(--ink-mute);
  max-width: 60ch;
}
.biblio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lib-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.lib-card:hover {
  box-shadow: 0 20px 44px -16px rgba(26,21,18,.18);
  transform: translateY(-4px);
}
.lib-card-img { aspect-ratio: 16/9; }
.lib-card-img .foto-ph,
.lib-card-img .media { border-radius: 0; height: 100%; }
.lib-card-body { padding: 1.5rem 1.6rem 1.75rem; }
.lib-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  color: var(--ink-faint);
  margin-bottom: .75rem;
}
.lib-cat {
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
}
.lib-meta-dot { opacity: .5; }
.lib-titulo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.lib-excerpt {
  font-size: .87rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.lib-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  transition: opacity .2s;
}
.lib-link:hover { opacity: .65; }

/* "También te puede interesar" en páginas de artículo individual */
.relacionados {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.relacionados-titulo {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

/* =============================================================
   18. Contacto
   ============================================================= */
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: start;
}
.contacto-info p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.contacto-usos-label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .9rem;
  margin-top: 1.75rem;
}
.contacto-uso-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.75rem;
}
.contacto-uso-list li {
  font-size: .9rem;
  color: var(--ink-soft);
  padding-left: 1.25rem;
  position: relative;
}
.contacto-uso-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8rem;
}
.contacto-email-label {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .35rem;
}
.contacto-email-label--second { margin-top: 1.25rem; }
.contacto-email {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--accent);
  transition: opacity .2s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.contacto-email--secondary {
  font-size: .95rem;
  color: var(--ink-soft);
}
.contacto-email:hover { opacity: .7; }
.contacto-tiempo {
  font-size: .85rem;
  color: var(--ink-faint);
  margin-top: 1.5rem;
}
.contacto-form {
  position: relative;
  background: var(--paper);
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -28px rgba(26,21,18,.22);
  overflow: hidden;
}
.contacto-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,69,19,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-faint); }
.btn-sending { display: none; }
.contacto-form.is-sending .btn-text { display: none; }
.contacto-form.is-sending .btn-sending { display: block; }
.form-ok {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #f0faf0;
  border: 1px solid #c3e6c3;
  border-radius: var(--radius);
  font-size: .9rem;
  color: #2d6a2d;
  text-align: center;
}

/* =============================================================
   18b. Página de artículo individual
   ============================================================= */
.articulo-hero {
  padding-block: clamp(7rem, 12vw, 9rem) clamp(2rem, 4vw, 3rem);
}
.articulo-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2rem;
  transition: opacity .2s;
}
.articulo-back:hover { opacity: .65; }
.articulo-titulo {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 340;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
.articulo-body {
  max-width: 68ch;
  padding-block: clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 6rem);
}
.articulo-body p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.articulo-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* Imagen destacada en la cabecera del artículo */
.articulo-imagen {
  margin-top: 2.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 30px 60px -24px rgba(26,21,18,.3);
}
.articulo-imagen .foto-ph,
.articulo-imagen .media { border-radius: 0; height: 100%; }

/* Foto intermedia dentro del cuerpo del artículo (opcional, según artículo) */
.articulo-foto-inline {
  margin: 2.5rem 0;
}
.articulo-foto-inline .media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 24px 48px -20px rgba(26,21,18,.28);
}
.articulo-foto-inline .foto-ph { border-radius: 0; height: 100%; }
.articulo-foto-caption {
  margin-top: .75rem;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-mute);
  font-style: italic;
}

/* =============================================================
   18c. Transición emocional (frase entre secciones)
   ============================================================= */
.transicion {
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.transicion-texto {
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto;
}
.transicion-texto em { color: var(--accent); }

/* =============================================================
   18d. El camino — hitos humanos (no timeline corporativa)
   ============================================================= */
.inflexion-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 2.5rem;
  border-left: 1px solid var(--line-warm);
}
.inflexion-item { position: relative; }
.inflexion-item::before {
  content: '';
  position: absolute;
  left: -2.65rem;
  top: .4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
}
.inflexion-año {
  display: block;
  font-family: var(--serif);
  font-weight: 340;
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: .4rem;
}
.inflexion-item p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* =============================================================
   18e. Por qué — texto conector emocional
   ============================================================= */
.porque-texto {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
}
.porque-texto p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Gancho de curiosidad bajo la presentación del libro */
.libro-gancho {
  font-style: italic;
  color: var(--ink-mute);
  font-size: .95rem;
  margin-top: .85rem;
}

/* Origen de MouthX, dentro de la tarjeta principal de AURAX */
.aurax-origen {
  font-style: italic;
  color: var(--teal-glow);
  font-size: .92rem;
  margin-bottom: 1rem;
}

/* Introducción emocional de Medios */
.medios-intro {
  font-style: italic;
  color: var(--ink-mute);
  max-width: 60ch;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
}

/* "Empieza por aquí" — destacado en la biblioteca del blog */
.empieza-aqui {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 4rem;
  text-align: center;
  box-shadow: 0 24px 50px -20px rgba(26,21,18,.18);
}
.empieza-aqui-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.empieza-aqui-titulo {
  font-family: var(--italic);
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.empieza-aqui-texto {
  color: var(--ink-mute);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.empieza-aqui-link {
  font-weight: 600;
  color: var(--accent);
  transition: opacity .2s;
}
.empieza-aqui-link:hover { opacity: .65; }

/* =============================================================
   18f. Cierre emocional — antes del formulario de contacto
   ============================================================= */
.cierre {
  background: linear-gradient(165deg, var(--teal) 0%, var(--teal-2) 100%);
  padding-block: clamp(5rem, 10vw, 8rem);
  text-align: center;
}
.cierre .container { max-width: 760px; }
.cierre-texto {
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.cierre-cuerpo {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.cierre-lista {
  color: var(--teal-glow);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.cierre-final {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: #fff;
  margin: 2rem 0 2.5rem;
}
.cierre-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.cierre-link {
  color: #9be8d4;
  font-weight: 500;
  font-size: .95rem;
  transition: opacity .2s;
}
.cierre-link:hover { opacity: .65; }

/* =============================================================
   19. Footer
   ============================================================= */
.footer {
  background: var(--ink);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  color: rgba(247,243,238,.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 3rem;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: .25rem;
}
.footer-tagline {
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(247,243,238,.4);
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.footer-nav a {
  font-size: .85rem;
  color: rgba(247,243,238,.55);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--bg); }
.footer-social {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.social-link {
  font-size: .85rem;
  color: rgba(247,243,238,.55);
  transition: color .2s;
}
.social-link:hover { color: var(--bg); }
.footer-copy {
  grid-column: 1 / -1;
  font-size: .75rem;
  color: rgba(247,243,238,.3);
  padding-top: 2rem;
  border-top: 1px solid rgba(247,243,238,.1);
  margin-top: 1rem;
}

/* =============================================================
   20. Page Transitions
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: vtFadeOut; }
::view-transition-new(root) { animation-name: vtFadeIn; }
@keyframes vtFadeOut { to { opacity: 0; } }
@keyframes vtFadeIn { from { opacity: 0; } }

/* =============================================================
   21. Responsive
   ============================================================= */
@media (max-width: 1023px) {
  .medios-feat-grid { grid-template-columns: 1fr 1fr; }
  .hitos-list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }
  .charlas-ejes-grid { grid-template-columns: 1fr 1fr; }
  .testimonios-grid { grid-template-columns: 1fr 1fr; }
  .blog-article-grid { grid-template-columns: 1fr 1fr; }
  .biblio-grid { grid-template-columns: 1fr 1fr; }
  .lcg-cover { aspect-ratio: 3/4; }
}

@media (max-width: 959px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(247,243,238,.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    transform: translateY(calc(-100% - var(--nav-h)));
    transition: transform .4s var(--ease-out);
    box-shadow: 0 12px 40px rgba(28,25,23,.12);
    align-items: flex-start;
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-link {
    width: 100%;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
  }
  .nav-link--cta {
    margin-top: .5rem;
    border: 1px solid var(--line);
    text-align: center;
    width: 100%;
    padding: .8rem;
  }
  .nav-link--cta::after { display: none; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-aside {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-portrait { max-width: 200px; }
  .hero-book-peek { max-width: none; flex: 1; min-width: 200px; margin-left: 0; margin-top: 0; }

  /* Sobre mí */
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-pillars {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line-warm);
    padding-top: 1.75rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .pillar { flex: 1; min-width: 160px; padding-left: 1.5rem; }
  .pillar-icon { position: static; display: inline-block; margin-bottom: .6rem; }
  .sobre-fotos {
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
  }

  /* Hitos */
  .hitos-list { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Libros */
  .libro-principal-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .libro-card-grande { grid-template-columns: 1fr; }
  .lcg-cover { aspect-ratio: 3/4; }
  .libro-en-strip { flex-wrap: wrap; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .blog-card-img .foto-ph { aspect-ratio: 16/9; height: auto; }
  .biblio-grid { grid-template-columns: 1fr; }

  /* Podcast */
  .podcast-inner { grid-template-columns: 1fr; }
  .podcast-visual { display: none; }

  /* AURAX */
  .aurax-grid { grid-template-columns: 1fr; }
  .aurax-card--main { padding: 0; }

  /* Medios */
  .medios-feat-grid { grid-template-columns: 1fr; }
  .medios-contacto { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

  /* Charlas */
  .charlas-ejes-grid { grid-template-columns: 1fr; }
  .charlas-banner, .medios-banner { aspect-ratio: 16/10; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .blog-article-grid { grid-template-columns: 1fr; }

  /* Contacto */
  .contacto-inner { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav ul { flex-direction: row; flex-wrap: wrap; gap: .6rem; }
  .footer-social { flex-direction: row; flex-wrap: wrap; gap: .6rem; }
}

@media (max-width: 639px) {
  .sobre-fotos { grid-template-columns: 1fr; grid-template-rows: none; }
  .sf-item--main { grid-column: 1; grid-row: auto; }
  .medios-logos-strip { gap: .5rem; }
  .mlogo { min-width: 80px; padding: .6rem .9rem; }
  .medios-feat-grid { grid-template-columns: 1fr; }
  .hitos-list { grid-template-columns: 1fr; gap: 1.25rem; }
  .libro-en-strip { flex-direction: column; text-align: center; }
}

@media (max-width: 479px) {
  .hero-aside { flex-direction: column; }
  .hero-portrait { max-width: 100%; }
  .medios-contacto { padding: 1.25rem; }
}

/* =============================================================
   22. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line { animation: none; }
  .hero-scroll-hint { animation: none; opacity: .4; }
  .libro-card-grande:hover { transform: none; }
}