
/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --sage:        #6B7D5E;
  --sage-light:  #A8BAA0;
  --sage-dark:   #4A5941;
  --cream:       #F5F0E8;
  --warm-white:  #FDFAF5;
  --gold:        #C4A35A;
  --gold-light:  #E8D5A3;
  --charcoal:    #2C2A25;
  --muted:       #7A7570;
  --border:      #E2D9CE;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 250, 245, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--charcoal);
}

/* Hamburger — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  top: -120px; right: -180px;
  width: 650px; height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, #D4E6CC 0%, transparent 68%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 5rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.hero-name em {
  font-style: italic;
  color: var(--sage);
}

.hero-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  background: var(--sage);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  padding: 0.8rem 2rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--charcoal);
  background: var(--cream);
}

/* Hero right — portrait */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 5rem 5rem 2rem;
  position: relative;
}

.portrait-wrap {
  position: relative;
}

.portrait {
  width: 380px;
  height: 500px;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(44, 42, 37, 0.14);
  position: relative;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(150deg, #E8F0E4 0%, #F5EDD8 50%, #E8E0D4 100%);
}
.portrait-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  font-weight: 300;
  color: var(--sage);
  opacity: 0.5;
  line-height: 1;
}
.portrait-hint {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0 2rem;
}

/* Decorative inner frame */
.portrait::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(107, 125, 94, 0.18);
  border-radius: 2px;
  pointer-events: none;
}

/* Stats card */
.hero-stats {
  position: absolute;
  bottom: 3rem;
  left: -2rem;
  display: flex;
  background: white;
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: 0 10px 36px rgba(44, 42, 37, 0.1);
  overflow: hidden;
}
.stat {
  padding: 1rem 1.4rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--charcoal);
  display: block;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.2rem;
}

/* =============================================
   SOCIAL STRIP
   ============================================= */
.social-strip {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.social-link:hover { color: var(--charcoal); }

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* =============================================
   SOBRE MÍ
   ============================================= */
.about {
  background: var(--cream);
  padding: 7rem 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.about-text p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.about-text p strong {
  color: var(--charcoal);
  font-weight: 500;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--sage);
}

/* Credentials list */
.credentials { margin-top: 1rem; }
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.cred-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.5rem;
  flex-shrink: 0;
}
.cred-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  display: block;
  margin-bottom: 0.1rem;
}
.cred-inst {
  font-size: 0.78rem;
  color: var(--muted);
}
.cred-year {
  font-size: 0.68rem;
  color: var(--gold);
  display: block;
  margin-top: 0.1rem;
}

/* =============================================
   LIBROS
   ============================================= */
.books {
  padding: 7rem 5rem;
  background: var(--warm-white);
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.book-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  transition: box-shadow 0.25s, transform 0.25s;
}
.book-card:hover {
  box-shadow: 0 16px 48px rgba(44, 42, 37, 0.11);
  transform: translateY(-3px);
}
a.book-card { 
  cursor: pointer;
}
.book-spine {
  width: 8px;
  background: var(--sage);
  flex-shrink: 0;
}
.book-spine.gold { background: var(--gold); }

.book-body {
  padding: 2.25rem;
}
.book-year {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.book-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.book-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}
.book-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}

.book-card:hover .book-badge {
  opacity: 1;
}

/* =============================================
   PODCAST & MEDIA
   ============================================= */
.media {
  background: var(--cream);
  padding: 7rem 5rem;
}

.podcast-block {
  background: var(--charcoal);
  border-radius: 4px;
  padding: 3.5rem;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.podcast-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.podcast-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: white;
  margin-bottom: 0.85rem;
}
.podcast-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 460px;
}

.podcast-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.35rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  color: white;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.platform-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}
.platform-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* =============================================
   FORMACIÓN
   ============================================= */
.formation {
  padding: 7rem 5rem;
  background: var(--warm-white);
}

.formation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.formation-card {
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: white;
  transition: box-shadow 0.2s;
}
.formation-card:hover {
  box-shadow: 0 6px 24px rgba(44,42,37,0.07);
}
.formation-year {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.formation-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.45;
  margin-bottom: 0.35rem;
}
.formation-inst {
  font-size: 0.8rem;
  color: var(--muted);
}

/* =============================================
   CONTACTO
   ============================================= */
.contact {
  background: var(--sage);
  padding: 7rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative rings */
.contact::before,
.contact::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.contact::before { top: -150px; width: 600px; height: 600px; }
.contact::after  { top: -80px;  width: 360px; height: 360px; }

.contact .eyebrow {
  color: rgba(255,255,255,0.6);
  justify-content: center;
}
.contact .eyebrow::before { background: rgba(255,255,255,0.4); }
.contact .section-title { color: white; }
.contact .section-title em { color: var(--gold-light); }
.contact-desc {
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 1rem auto 2.5rem;
  line-height: 1.85;
}

.contact-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-white {
  background: white;
  color: var(--sage);
  padding: 0.8rem 2rem;
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: inline-block;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

footer a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
footer a:hover { color: white; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  nav { padding: 1rem 2.5rem; }
  .hero-left { padding: 4rem 2rem 4rem 2.5rem; }
  .hero-right { padding: 4rem 2.5rem 4rem 1.5rem; }
  .hero-name { font-size: 4rem; }
  .portrait { width: 320px; height: 430px; }
  .about, .books, .media, .formation, .contact { padding: 5rem 2.5rem; }
  .formation-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
    position: fixed;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .hero-right {
    display: flex;         /* ← ya no es none */
    justify-content: center;
    padding: 2rem 1.5rem 0;
    order: -1;
    position: relative;  
    z-index: 1;            
  }
  .portrait {
    width: 100%;
    max-width: 320px;
    height: 380px;
  }
  .hero-stats {
    display: none;         /* stats se ocultan en mobile, ocupan mucho */
  }
 
  .hero-left {
    padding: 4rem 1.5rem;
    align-items: flex-start;
  }
  .hero-name { font-size: 3.2rem; }

  .social-strip { padding: 1.5rem; gap: 1.5rem; }

  .about, .books, .media, .formation, .contact {
    padding: 4rem 1.5rem;
  }

  .about-grid,
  .books-grid,
  .podcast-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-title { font-size: 2.4rem; }

  .formation-grid {
    grid-template-columns: 1fr;
  }

  .podcast-platforms {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 42, 37, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--warm-white);
  border-radius: 4px;
  padding: 3rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 64px rgba(44, 42, 37, 0.2);
  transform: translateY(16px);
  transition: transform 0.35s ease;
}

.modal-overlay.visible .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--charcoal); }

.modal-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.modal-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  margin-top: -0.5rem;
}
.modal-title em {
  font-style: italic;
  color: var(--sage);
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.modal-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-btn-primary {
  background: var(--sage);
  color: white;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  transition: background 0.2s;
}
.modal-btn-primary:hover { background: var(--sage-dark); }

.modal-btn-secondary {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  padding: 0.5rem;
  transition: color 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.modal-btn-secondary:hover { color: var(--charcoal); }

.modal-book-img {
  width: 140px;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(44,42,37,0.2);
}

