/* =============================================
   Tu Primer Celular — Landing Page
   Aesthetic: Warm Illustrated Editorial
   ============================================= */

/* --- Reset & Foundation --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette — pulled directly from the book cover (navy + mustard + cream + coral) */
  --cream: #fdf6dd;
  --cream-deep: #f5ecc8;
  --cream-light: #fffbe8;
  --paper: #ffffff;

  --navy: #1f2467;
  --navy-deep: #131753;
  --navy-soft: #4a4f8a;
  --navy-faint: #8a8eaa;

  --mustard: #f5c842;
  --mustard-deep: #e8b72e;
  --mustard-soft: #fbe89e;
  --mustard-wash: #fdf3c7;

  --coral: #f4a261;
  --coral-deep: #e08a45;
  --coral-soft: #f8c99b;

  --ink: #1f2467;
  --ink-soft: #4a4f8a;
  --ink-faint: #8a8eaa;

  --shadow-warm: rgba(31, 36, 103, 0.08);
  --shadow-deep: rgba(31, 36, 103, 0.18);

  /* Backwards-compat aliases so legacy selectors keep working without churn */
  --parchment: var(--cream);
  --parchment-deep: var(--cream-deep);
  --parchment-light: var(--cream-light);
  --teal: var(--navy);
  --teal-deep: var(--navy-deep);
  --teal-glow: var(--navy-soft);
  --teal-wash: var(--mustard-soft);
  --terracotta: var(--coral);
  --terracotta-soft: var(--coral-soft);

  --font-display: 'Luckiest Guy', cursive;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
  --max-w: 1140px;
  --radius: 14px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
  overflow-x: hidden;
}

/* Paper grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--teal-deep);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Scroll reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1)  { transition-delay: 0.04s; }
.reveal-stagger.visible > *:nth-child(2)  { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3)  { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(4)  { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(5)  { transition-delay: 0.20s; }
.reveal-stagger.visible > *:nth-child(6)  { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(7)  { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(8)  { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(9)  { transition-delay: 0.36s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(11) { transition-delay: 0.44s; }
.reveal-stagger.visible > *:nth-child(12) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(13) { transition-delay: 0.52s; }
.reveal-stagger.visible > *:nth-child(14) { transition-delay: 0.56s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled {
  background: rgba(253, 246, 221, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(31, 36, 103, 0.08),
    0 8px 24px rgba(31, 36, 103, 0.10);
  border-bottom: 1px solid rgba(31, 36, 103, 0.08);
  padding: 0.6rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}

.site-header .logo-img {
  height: 52px;
  width: auto;
  max-height: 52px;
  max-width: 220px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(31, 36, 103, 0.12)) drop-shadow(0 6px 14px rgba(31, 36, 103, 0.10));
  transition: max-height 0.3s ease, height 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.logo:hover .logo-img {
  transform: rotate(-2deg);
}

.site-header.scrolled .logo-img {
  height: 40px;
  max-height: 40px;
  filter: drop-shadow(0 1px 2px rgba(31, 36, 103, 0.10)) drop-shadow(0 3px 8px rgba(31, 36, 103, 0.08));
}

@media (max-width: 520px) {
  .site-header .logo-img {
    height: 42px;
    max-height: 42px;
    max-width: 170px;
  }
}

nav {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover {
  color: var(--teal);
  background: var(--teal-wash);
}

nav a.nav-cta,
nav button.nav-cta {
  margin-left: 0.6rem;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  font-family: inherit;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

nav a.nav-cta:hover,
nav button.nav-cta:hover {
  background: var(--coral);
  color: var(--paper);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  padding: 5.5rem 0 2rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--coral-soft) 0%, transparent 70%);
  bottom: 40px;
  right: -120px;
  opacity: 0.32;
  animation: float-slow 14s ease-in-out infinite alternate-reverse;
}

@keyframes float-slow {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, -30px) scale(1.08); }
}

.hero .container {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero text */
.hero-text {
  padding-top: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  background: var(--mustard-soft);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.6rem;
  border: 1px solid var(--mustard);
  box-shadow: 0 2px 0 var(--mustard);
  animation: fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.25);
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1.08;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  font-variation-settings: 'opsz' 72;
  animation: fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--navy);
  position: relative;
  display: inline-block;
}

.hero-text h1 em::after {
  content: '';
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.05em;
  height: 0.32em;
  background: var(--mustard);
  border-radius: 6px;
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--navy-soft);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1.6rem;
  animation: fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 2.2rem;
  animation: fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero-print-note {
  flex-basis: 100%;
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-print-note a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-print-note a:hover {
  color: var(--coral);
}

/* Hero subscribe form */
.hero-subscribe {
  max-width: 440px;
  animation: fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero-subscribe .subscribe-field input[type="email"] {
  background: var(--cream);
  border: 2px solid var(--parchment-deep);
  color: var(--ink);
}

.hero-subscribe .subscribe-field input[type="email"]::placeholder {
  color: var(--ink-faint);
}

.hero-subscribe .subscribe-field input[type="email"]:focus {
  border-color: var(--teal);
  background: var(--cream);
}

.hero-subscribe .subscribe-ok {
  color: var(--teal);
}

.hero-subscribe .subscribe-err {
  color: var(--terracotta);
}

.hero-learn-more {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  animation: fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.hero-learn-more:hover {
  color: var(--teal);
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero illustration */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fade-down 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-illustration {
  max-width: 380px;
  width: 100%;
}

.hero-cover-wrap {
  position: relative;
  display: inline-block;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

.hero-cover {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 30px 60px rgba(31, 36, 103, 0.22),
    0 10px 20px rgba(232, 183, 46, 0.20),
    0 0 0 1px rgba(31, 36, 103, 0.06);
  transform: rotate(-2deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.hero-cover-wrap:hover .hero-cover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow:
    0 40px 80px rgba(31, 36, 103, 0.28),
    0 14px 24px rgba(232, 183, 46, 0.24),
    0 0 0 1px rgba(31, 36, 103, 0.08);
}

.hero-sticker {
  position: absolute;
  top: -18px;
  right: -22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  background: var(--mustard);
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  border: 2px solid var(--navy);
  box-shadow: 0 6px 0 var(--navy), 0 8px 18px rgba(31, 36, 103, 0.22);
  transform: rotate(8deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cover-wrap:hover .hero-sticker {
  transform: rotate(4deg) scale(1.04);
}

.hero-sticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.35);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-cover-wrap {
    max-width: 320px;
  }
  .hero-cover {
    transform: rotate(0deg);
  }
  .hero-sticker {
    top: -14px;
    right: -10px;
    font-size: 0.72rem;
    padding: 0.5rem 0.95rem;
  }
}

.hero-character {
  border-radius: var(--radius);
  box-shadow: 0 16px 50px var(--shadow-deep);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-character:hover {
  transform: translateY(-6px) rotate(1deg);
}

/* Authors illustration */
.authors-illustration {
  text-align: center;
  margin-bottom: 2.5rem;
}

.authors-img {
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--shadow-deep);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream-light);
  border-color: var(--navy);
  box-shadow: 0 4px 0 var(--navy-deep);
}

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--mustard-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--navy-deep), 0 10px 24px rgba(31, 36, 103, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--mustard);
  border-color: var(--navy);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--mustard);
  color: var(--navy);
  border-color: var(--mustard);
  font-weight: 800;
  box-shadow: 0 4px 0 var(--mustard-deep);
}

.btn-white:hover {
  background: var(--mustard-soft);
  border-color: var(--mustard-soft);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--mustard-deep), 0 10px 22px rgba(0,0,0,0.12);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================
   SECTIONS — shared
   ========================================== */
section {
  padding: 6rem 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1rem;
  font-variation-settings: 'opsz' 48;
}

.section-desc {
  color: var(--ink-soft);
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.section-center {
  text-align: center;
}

.section-center .section-label {
  justify-content: center;
}

.section-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Wave divider between sections */
.wave-divider {
  width: 100%;
  height: 60px;
  background: var(--parchment-deep);
  position: relative;
  overflow: hidden;
}

.wave-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--parchment);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
  background: var(--parchment-deep);
}

.about-illustration {
  text-align: center;
  margin-bottom: 3rem;
}

.about-img {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px var(--shadow-deep);
}

.about-content {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
  color: var(--ink-soft);
}

.about-content p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink);
}

.about-content .section-label {
  justify-content: center;
}

.pullquote {
  position: relative;
  padding: 2.2rem 2.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  margin-top: 0.5rem;
  box-shadow: 0 2px 20px var(--shadow-warm);
}

.pullquote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.15;
  position: absolute;
  top: 4px;
  left: 16px;
}

.pullquote p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--ink);
  font-variation-settings: 'opsz' 18;
  position: relative;
  z-index: 1;
}

.pullquote .attribution {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 1rem;
  display: block;
}

/* About — three perspectives as cards */
.about-perspectives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.perspective-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: 0 2px 16px var(--shadow-warm);
  border-top: 3px solid transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

.perspective-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-deep);
}

.perspective-card:nth-child(1) { border-top-color: var(--navy); }
.perspective-card:nth-child(2) { border-top-color: var(--coral); }
.perspective-card:nth-child(3) { border-top-color: var(--mustard-deep); }

.perspective-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-variation-settings: 'opsz' 24;
}

.perspective-card:nth-child(1) h3 { color: var(--navy); }
.perspective-card:nth-child(2) h3 { color: var(--coral-deep); }
.perspective-card:nth-child(3) h3 { color: var(--mustard-deep); }

.perspective-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.about > .container > .pullquote {
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================
   TOPICS / CHAPTERS
   ========================================== */
/* ==========================================
   INTRODUCTION
   ========================================== */
.intro {
  background: var(--parchment);
}

.intro-illustration {
  text-align: center;
  margin-bottom: 3rem;
}

.intro-img {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 6px 28px var(--shadow-warm);
}

.intro-content {
  max-width: 700px;
  margin: 0 auto;
}

.intro-content p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1.3rem;
}

.intro-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  font-variation-settings: 'opsz' 24;
}

.intro-content .pullquote {
  margin: 2rem 0;
}

.intro-closing {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem !important;
  color: var(--ink) !important;
  margin-top: 2rem;
  font-variation-settings: 'opsz' 18;
}

/* ==========================================
   AUTHORS
   ========================================== */
.authors {
  background: var(--parchment-deep);
}

.authors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.author-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px var(--shadow-warm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

.author-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px var(--shadow-deep);
}

/* Decorative corner accent */
.author-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 0 var(--radius) 0 80px;
}

.author-card:first-child::before {
  background: var(--coral-soft);
}

.author-card:last-child::before {
  background: var(--mustard-soft);
}

.author-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
  border: 3px solid var(--mustard);
  box-shadow: 0 4px 16px var(--shadow-warm);
  flex-shrink: 0;
}

.author-card:first-child .author-photo-wrap {
  border-color: var(--coral);
}

.author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.author-card:first-child .author-photo {
  object-position: 70% center;
}

.author-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  font-variation-settings: 'opsz' 24;
}

.author-role {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.author-card:first-child .author-role { color: var(--coral-deep); }
.author-card:last-child .author-role { color: var(--navy); }

.author-card p.bio {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ==========================================
   CHAPTER INDEX
   ========================================== */
.chapter-index {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1.5px solid var(--cream-deep);
}

.chapter-index-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.chapter-index-sub {
  font-size: 0.97rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
  margin-bottom: 1.25rem;
}

.chapter-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.chapter-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.ch-dot.ch-blue   { background: #378ADD; }
.ch-dot.ch-purple { background: #7F77DD; }
.ch-dot.ch-coral  { background: #D85A30; }
.ch-dot.ch-teal   { background: #1D9E75; }

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.ch-card {
  background: var(--paper);
  border: 1px solid rgba(31, 36, 103, 0.08);
  border-left-width: 4px;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-warm);
}

.ch-card.ch-blue   { border-left-color: #378ADD; }
.ch-card.ch-purple { border-left-color: #7F77DD; }
.ch-card.ch-coral  { border-left-color: #D85A30; }
.ch-card.ch-teal   { border-left-color: #1D9E75; }

.ch-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
}

.ch-blue   .ch-num { background: #E6F1FB; color: #0C447C; }
.ch-purple .ch-num { background: #EEEDFE; color: #3C3489; }
.ch-coral  .ch-num { background: #FAECE7; color: #993C1D; }
.ch-teal   .ch-num { background: #E1F5EE; color: #0F6E56; }

.ch-body { flex: 1; min-width: 0; }

.ch-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.ch-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.ch-desc {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.4;
}

.ch-ic {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ch-blue   .ch-ic { color: #185FA5; }
.ch-purple .ch-ic { color: #534AB7; }
.ch-coral  .ch-ic { color: #993C1D; }
.ch-teal   .ch-ic { color: #0F6E56; }

/* Tarjetas de apertura/cierre (introducción, glosario, resumen) */
.ch-frontmatter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.ch-backmatter {
  grid-template-columns: 1fr 1fr;
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.ch-card.ch-gray {
  border-left-color: var(--navy-faint);
  background: var(--cream-light);
}

.ch-card.ch-gray:hover {
  border-left-color: var(--navy);
}

.ch-num.ch-num-gray {
  background: var(--cream-deep);
  color: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-btn {
  flex-shrink: 0;
  align-self: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--mustard-soft);
  border: 1.5px solid var(--mustard);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.ch-btn:hover {
  background: var(--mustard);
  color: var(--navy-deep);
}

/* Introducción inline dentro de #sobre */
.intro-content {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1.5px solid var(--cream-deep);
  max-width: 720px;
}

@media (max-width: 640px) {
  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .ch-backmatter {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
  padding: 5rem 0;
  background: var(--cream);
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 1.15rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  background: rgba(31, 36, 103, 0.06);
  border: 2px solid rgba(31, 36, 103, 0.12);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.contact-mail:hover {
  background: var(--mustard);
  border-color: var(--mustard);
  color: var(--navy);
  transform: translateY(-2px);
}

.contact-mail-action {
  opacity: 0.55;
}

.contact-mail--copied {
  background: var(--mustard);
  border-color: var(--mustard);
}

.contact-mail--copied .contact-mail-action {
  opacity: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 620px;
  margin: 2.5rem auto 0;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-field label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.contact-field input,
.contact-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--cream-deep);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
  outline: none;
  width: 100%;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--ink-faint);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(74, 79, 138, 0.12);
}

.contact-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .contact-fields {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   AUDIENCES SECTION
   ========================================== */
.audiences {
  padding: 5rem 0;
  background: var(--paper);
}

.audiences-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.audience-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 2px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow-deep);
  border-color: var(--mustard);
  color: inherit;
}

.audience-card .audience-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 1.1rem;
  display: block;
}

.audience-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.audience-card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.audience-card .audience-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.audience-card:hover .audience-link {
  color: var(--coral);
}

@media (max-width: 768px) {
  .audiences-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta {
  background: var(--parchment);
  padding: 5rem 0 6rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(31, 36, 103, 0.25);
}

.cta-box::before {
  background: rgba(245, 200, 66, 0.12);
}

.cta-box::after {
  background: rgba(244, 162, 97, 0.10);
}

/* Decorative circles in CTA */
.cta-box::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -80px;
  right: -60px;
}

.cta-box::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -60px;
  left: -40px;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
  font-variation-settings: 'opsz' 48;
}

.cta-box .cta-desc {
  color: rgba(255,252,245,0.85);
  font-size: 1.08rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta-version {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.cta-version-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 100px;
  padding: 0.25rem 0.8rem;
}

.cta-badge-available {
  background: rgba(29, 158, 117, 0.25);
  color: #7ef0c8;
  border: 1px solid rgba(29, 158, 117, 0.4);
}

.cta-badge-soon {
  background: rgba(245, 200, 66, 0.18);
  color: var(--mustard);
  border: 1px solid rgba(245, 200, 66, 0.35);
}

.cta-version-content {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.cta-version-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.cta-version-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: white;
  margin: 0 0 0.35rem;
}

.cta-version-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.6;
}

.cta-amazon-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.cta-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0.5rem 0;
}

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

/* Subscribe form inside CTA */
.subscribe-form {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
}

.subscribe-field {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.subscribe-field input[type="email"] {
  flex: 1 1 320px;
  min-width: 0;
  padding: 1rem 1.4rem;
  border: 2px solid rgba(255,252,245,0.3);
  border-radius: 100px;
  background: rgba(255,252,245,0.12);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.subscribe-field input[type="email"]::placeholder {
  color: rgba(255,252,245,0.5);
}

.subscribe-field input[type="email"]:focus {
  border-color: rgba(255,252,245,0.6);
  background: rgba(255,252,245,0.18);
}

.subscribe-field button {
  white-space: nowrap;
  flex-shrink: 0;
}

.subscribe-field button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.subscribe-msg {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.subscribe-ok {
  color: var(--cream);
}

.subscribe-err {
  color: var(--coral-soft);
}

/* ==========================================
   BUY BUTTON + MODAL
   ========================================== */
.btn-buy {
  font-size: 1.05rem;
  padding: 0.95rem 1.9rem;
  gap: 0.6rem;
  align-self: flex-start;
  box-shadow: 0 8px 22px rgba(31, 36, 103, 0.18);
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 36, 103, 0.22);
}

.buy-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: buyModalFade 0.2s ease;
}

.buy-modal[hidden] {
  display: none;
}

@keyframes buyModalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.buy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 36, 103, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.buy-modal-card {
  position: relative;
  z-index: 1;
  background: var(--paper, #fdf6dd);
  border-radius: var(--radius);
  padding: 2.25rem 2rem 2rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 30px 70px rgba(31, 36, 103, 0.30);
  animation: buyModalRise 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes buyModalRise {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.buy-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 0.35rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.buy-modal-close:hover {
  background: rgba(31, 36, 103, 0.08);
  color: var(--navy);
}

.buy-modal-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.buy-modal-desc {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.buy-modal-formats {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
}

.buy-format-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(245, 200, 66, 0.22);
  color: var(--navy);
  border: 1px solid rgba(245, 200, 66, 0.5);
}

.buy-format-plus {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1;
}

.buy-modal-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.buy-modal-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.buy-modal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mustard);
  font-weight: 800;
}

.buy-modal-card form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.buy-modal-card input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid rgba(31, 36, 103, 0.15);
  border-radius: 12px;
  background: white;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.buy-modal-card input[type="email"]:focus {
  outline: none;
  border-color: var(--mustard);
  box-shadow: 0 0 0 4px rgba(245, 200, 66, 0.25);
}

.buy-modal-card .btn-buy {
  width: 100%;
  justify-content: center;
  align-self: stretch;
  font-size: 1rem;
}

.buy-modal-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}

.cta-secure-note {
  align-self: flex-start;
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 520px) {
  .buy-modal-card {
    padding: 2rem 1.4rem 1.6rem;
  }
  .buy-modal-card h3 {
    font-size: 1.2rem;
  }
}

/* Confirmation page */
.confirm-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
}

.confirm-box {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.confirm-icon {
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.confirm-box h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
  font-variation-settings: 'opsz' 48;
}

.confirm-box p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.confirm-box .btn {
  margin-top: 2rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,252,245,0.55);
  padding: 3rem 0 2.5rem;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,252,245,0.8);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255,252,245,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255,252,245,0.9);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-illustrator {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.footer-illustrator:hover {
  opacity: 0.75;
}

.social-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--mustard-soft);
  border: 1.5px solid var(--mustard);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.social-handle:hover {
  background: var(--mustard);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 200, 66, 0.4);
}

.authors-social {
  text-align: center;
  margin-top: 2.5rem;
}

.social-handle--footer {
  display: inline-flex;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  padding: 0.35rem 0.9rem;
  width: 100%;
  justify-content: center;
  border-radius: 100px;
  margin-bottom: 0;
}

.social-handle--footer:hover {
  background: rgba(255,255,255,0.18);
  color: white;
  box-shadow: none;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-text h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-subscribe {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-learn-more {
    display: block;
    text-align: center;
  }

  .hero-illustration {
    max-width: 280px;
    margin: 0 auto;
  }

  .about-perspectives {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .authors-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hero {
    padding: 5.5rem 0 2rem;
    min-height: auto;
  }

  section {
    padding: 4.5rem 0;
  }

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

  .cta-box {
    padding: 3rem 1.5rem;
  }

  .subscribe-field {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .topic-card {
    padding: 1.3rem;
  }

  .topic-number {
    font-size: 1.8rem;
  }

  .pullquote {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ==========================================
   PHONE MOCKUP
   ========================================== */
.phone-mockup {
  width: 260px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 24px 60px var(--shadow-deep), 0 0 0 1px rgba(0,0,0,0.08);
}

.phone-screen {
  background: linear-gradient(170deg, var(--parchment-light) 0%, var(--parchment-deep) 100%);
  border-radius: 32px;
  padding: 2.5rem 1.5rem 1.5rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.phone-body {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.phone-lock-icon {
  color: var(--ink-faint);
  opacity: 0.6;
}

.phone-book-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--ink);
  font-variation-settings: 'opsz' 72;
}

.phone-bottom {
  text-align: center;
  width: 100%;
  padding-top: 1rem;
}

.phone-bottom .phone-tagline {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.phone-slider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(44, 36, 28, 0.06);
  border-radius: 100px;
  padding: 0.35rem;
  margin-bottom: 1rem;
}

.slider-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink-soft);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.slider-text {
  font-size: 0.82rem;
  color: var(--ink-faint);
  padding-right: 0.8rem;
}

.phone-authors-label {
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .phone-mockup {
    width: 220px;
  }
  .phone-screen {
    min-height: 340px;
    padding: 2rem 1.2rem 1.2rem;
  }
  .phone-book-title {
    font-size: 1.4rem;
  }
}
