/* ─────────────────────────────────────────
   home.css — Estilos específicos de la Home
   ───────────────────────────────────────── */

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  padding-top: 61px;
}
.hero-left {
  padding: 90px 70px 90px 80px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--earth); margin-bottom: 32px;
  display: flex; align-items: center; gap: 14px; font-weight: 400;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--earth); }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(60px, 6.5vw, 92px);
  line-height: 0.92; font-weight: 900; color: var(--ink); margin-bottom: 16px;
}
.hero-title em { font-style: italic; color: var(--rust); display: block; }
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; line-height: 1.55; color: var(--earth);
  margin-bottom: 36px; font-style: italic; font-weight: 300; max-width: 460px;
}
.hero-bio {
  font-family: 'EB Garamond', serif; font-size: 17px;
  line-height: 1.85; color: var(--text-body); max-width: 440px; margin-bottom: 52px;
}
.hero-bio em { font-style: italic; color: var(--earth); }
.hero-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-right { position: relative; overflow: hidden; background: var(--ink-soft); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: grayscale(15%) contrast(1.08) brightness(0.88); }
.hero-photo-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--ink) 0%, rgba(20,18,16,0.2) 40%, transparent 70%); }
.hero-photo-caption { position: absolute; bottom: 44px; left: 40px; z-index: 2; color: var(--cream); }
.hero-caption-label { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--earth-light); margin-bottom: 6px; opacity: 0.8; }
.hero-caption-name { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; font-style: italic; line-height: 1; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { animation: fadeUp 0.7s ease both; }
.hero-title    { animation: fadeUp 0.7s 0.08s ease both; }
.hero-subtitle { animation: fadeUp 0.7s 0.18s ease both; }
.hero-bio      { animation: fadeUp 0.7s 0.28s ease both; }
.hero-actions  { animation: fadeUp 0.7s 0.38s ease both; }

/* ─── BOOK BAND ─── */
.book-band { background: var(--ink); padding: 96px 80px; position: relative; overflow: hidden; }
.book-band-watermark {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  font-family: 'Playfair Display', serif; font-size: 200px; font-weight: 900;
  color: rgba(255,255,255,0.025); letter-spacing: -0.05em; white-space: nowrap;
  user-select: none; pointer-events: none;
}
.book-band-inner { display: grid; grid-template-columns: 260px 1fr; gap: 80px; align-items: center; max-width: 1060px; margin: 0 auto; }
.book-mock { aspect-ratio: 2/3; position: relative; box-shadow: 24px 24px 70px rgba(0,0,0,0.55); }
.book-mock-placeholder { width: 100%; height: 100%; background: linear-gradient(160deg, #2A1F14 0%, #0D0A07 100%); display: flex; flex-direction: column; padding: 36px 28px; position: relative; overflow: hidden; }
.bmp-photo { position: absolute; inset: 0; background-size: cover; background-position: center 20%; opacity: 0.35; filter: grayscale(60%) contrast(1.2); }
.bmp-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,10,7,0.95) 0%, rgba(13,10,7,0.6) 50%, transparent 100%); }
.bmp-content { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.bmp-label { font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--earth-light); margin-bottom: auto; opacity: 0.8; }
.bmp-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 900; color: var(--cream); line-height: 1.12; margin-bottom: 8px; }
.bmp-title em { font-style: italic; color: var(--earth-light); display: block; font-size: 22px; }
.bmp-subtitle { font-family: 'EB Garamond', serif; font-size: 12px; font-style: italic; color: rgba(245,239,224,0.45); margin-bottom: 22px; line-height: 1.4; }
.bmp-author { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--earth-light); border-top: 1px solid rgba(139,110,78,0.3); padding-top: 14px; }
.book-mock-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, var(--earth), var(--rust)); }
.book-info { color: var(--cream); }
.book-eyebrow { font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--earth-light); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.book-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--earth-light); }
.book-main-title { font-family: 'Playfair Display', serif; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.05; font-weight: 900; margin-bottom: 4px; }
.book-main-title em { font-style: italic; color: var(--earth-light); }
.book-main-subtitle { font-family: 'EB Garamond', serif; font-size: 17px; font-style: italic; color: rgba(245,239,224,0.5); margin-bottom: 32px; line-height: 1.4; }
.book-sinopsis { font-family: 'EB Garamond', serif; font-size: 18px; line-height: 1.75; color: rgba(245,239,224,0.7); margin-bottom: 44px; max-width: 520px; font-style: italic; }
.book-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-coming { background: rgba(139,110,78,0.3); color: rgba(245,239,224,0.5); padding: 14px 28px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; cursor: default; border: 1px solid rgba(139,110,78,0.2); }
.btn-librerias { border: 1px solid rgba(245,239,224,0.25); color: rgba(245,239,224,0.8); padding: 14px 28px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: all 0.2s; }
.btn-librerias:hover { border-color: var(--earth-light); color: var(--earth-light); }
.book-nota { font-size: 12px; color: rgba(245,239,224,0.35); font-family: 'EB Garamond', serif; font-style: italic; }

/* ─── ABOUT ─── */
.about-section { padding: 112px 80px; display: grid; grid-template-columns: 1fr 460px; gap: 96px; align-items: start; max-width: 1240px; margin: 0 auto; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 52px; }
.stat-cell { background: var(--paper); padding: 26px 20px; text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 900; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.stat-num sup { font-size: 0.4em; vertical-align: super; }
.stat-lbl { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--earth); }
.author-aside { position: sticky; top: 90px; }
.author-photo-frame { width: 100%; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); }
.author-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: grayscale(8%) contrast(1.05); transition: transform 0.5s; }
.author-photo-frame:hover .author-photo-img { transform: scale(1.02); }
.author-photo-caption { background: var(--cream-dark); border: 1px solid var(--line); border-top: none; padding: 20px 24px; }
.author-photo-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.author-photo-role { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--earth); }

/* ─── CRÓNICAS ─── */
.cronicas-section { background: var(--cream); padding: 96px 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cronicas-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.cronicas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); max-width: 1200px; margin: 0 auto; }
.cronica-card { background: var(--paper); padding: 32px 30px; text-decoration: none; color: inherit; display: block; border-bottom: 2px solid transparent; transition: background 0.2s, border-color 0.2s; }
.cronica-card:hover { background: var(--cream-dark); border-bottom-color: var(--earth); }
.cronica-top { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.cronica-tag { font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); background: var(--earth); padding: 4px 10px; font-weight: 500; }
.cronica-date { font-family: 'EB Garamond', serif; font-size: 13px; font-style: italic; color: var(--earth); }
.cronica-medio { margin-left: auto; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(60,48,37,0.45); }
.cronica-title { font-family: 'Playfair Display', serif; font-size: 19px; line-height: 1.28; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.cronica-excerpt { font-family: 'EB Garamond', serif; font-size: 16px; line-height: 1.68; color: var(--text-body); margin-bottom: 20px; }
.cronica-more { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--earth); display: flex; align-items: center; gap: 8px; }
.cronica-more::after { content: '→'; }

/* ─── OBRA ─── */
.obra-section { padding: 96px 80px; max-width: 1240px; margin: 0 auto; }
.obra-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.obra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.obra-item { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.obra-cover { aspect-ratio: 2/3; overflow: hidden; margin-bottom: 16px; position: relative; box-shadow: 0 8px 32px rgba(20,18,16,0.18); transition: box-shadow 0.3s; display: flex; flex-direction: column; padding: 32px 24px; }
.obra-item:hover .obra-cover { box-shadow: 0 16px 48px rgba(20,18,16,0.28); }
.obra-cover-montana { background: linear-gradient(160deg, #D4CBBA 0%, #BFB59E 100%); border: 1px solid rgba(100,90,70,0.3); }
.obra-cover-cielo { background: linear-gradient(160deg, #C4845A 0%, #8B3A1A 100%); }
.occ-label { font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(20,18,16,0.5); }
.occ-bottom { margin-top: auto; }
.occ-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; line-height: 1.1; margin-bottom: 14px; color: var(--ink); }
.occ-author { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(20,18,16,0.55); border-top: 1px solid rgba(20,18,16,0.2); padding-top: 12px; }
.obra-type { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--earth); margin-bottom: 6px; }
.obra-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.obra-desc { font-family: 'EB Garamond', serif; font-size: 15.5px; line-height: 1.65; color: var(--text-body); margin-bottom: 14px; flex: 1; }
.obra-link { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--earth); display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.obra-link::after { content: '↗'; }
.obra-item:hover .obra-link { color: var(--ink); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 100px 40px 60px; }
  .book-band-inner { grid-template-columns: 1fr; }
  .book-mock { max-width: 220px; }
  .about-section { grid-template-columns: 1fr; gap: 52px; padding: 72px 40px; }
  .author-aside { position: static; }
  .cronicas-section { padding: 72px 40px; }
  .cronicas-grid { grid-template-columns: 1fr; }
  .obra-section { padding: 72px 40px; }
  .obra-grid { grid-template-columns: repeat(2, 1fr); }
  .book-band { padding: 72px 40px; }
}
@media (max-width: 600px) {
  .obra-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}
