/* ───────────────────────────────────────────
   isabelbanuelos.com — Desalineación Funcional
   ─────────────────────────────────────────── */

/* ── Tokens ── */
:root {
  --white: #ffffff;
  --off-white: #fafaf8;
  --grey-100: #f2f1ef;
  --grey-200: #e5e4e0;
  --grey-400: #a8a7a3;
  --grey-600: #6b6a66;
  --grey-900: #1a1a1a;
  --gold: #c99a2e;
  --gold-light: #d4a843;
  --gold-hover: #b8891f;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-w: 780px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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


/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}


/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── Language switcher ── */
.lang-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-social {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  color: var(--grey-600);
  transition: color 0.25s ease;
}

.nav-social:hover {
  color: var(--gold);
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--grey-200);
  border-radius: 4px;
  background: var(--white);
  color: var(--grey-600);
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  border-color: var(--gold-light);
  color: var(--gold);
}

.lang-btn.active {
  background: var(--grey-900);
  color: var(--white);
  border-color: var(--grey-900);
}


/* ── Hero Logo ── */
.hero__logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto var(--space-sm) auto;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--white);
  background: var(--grey-900);
  border: none;
  padding: 0.9rem 2.4rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--small {
  padding: 0.8rem 1.8rem;
  font-size: 0.9rem;
}


/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--off-white);
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

/* Cover image */
.hero__cover {
  flex: 0 0 280px;
}

.hero__cover img {
  width: 280px;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Text side */
.hero__text {
  flex: 1;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--grey-900);
  margin-bottom: var(--space-xs);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.hero__intro {
  font-size: 1rem;
  color: var(--grey-600);
  margin-bottom: var(--space-md);
  max-width: 480px;
}


/* ══════════════════════════════════════════
   SECTION TITLES (shared)
   ══════════════════════════════════════════ */
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2rem;
  color: var(--grey-900);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.section-intro {
  text-align: center;
  color: var(--grey-600);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  font-size: 1.02rem;
}


/* ══════════════════════════════════════════
   QUOTE
   ══════════════════════════════════════════ */
.quote-section {
  padding: var(--space-lg) 0;
  background: var(--white);
}

.pull-quote {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--grey-900);
  border-left: 3px solid var(--gold);
  padding-left: var(--space-md);
  text-align: left;
}

.pull-quote cite {
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}


/* ══════════════════════════════════════════
   ABOUT THE BOOK
   ══════════════════════════════════════════ */
.about-book {
  padding: var(--space-xl) 0;
  background: var(--grey-100);
}

.about-book__body {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.about-book__body p {
  color: var(--grey-600);
  margin-bottom: var(--space-sm);
  font-size: 1.02rem;
}

.about-book__body p:last-child {
  margin-bottom: 0;
}


/* ══════════════════════════════════════════
   METODO VELORA
   ══════════════════════════════════════════ */
.metodo {
  padding: var(--space-xl) 0;
  background: var(--white);
}

.velora-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.velora-step {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  border-radius: 8px;
  background: var(--off-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.velora-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.velora-letter {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.velora-desc {
  display: block;
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.5;
}

.velora-promise {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--grey-600);
  max-width: 560px;
  margin: var(--space-lg) auto 0;
}


/* ══════════════════════════════════════════
   AUTRICE
   ══════════════════════════════════════════ */
.autrice {
  padding: var(--space-xl) 0;
  background: var(--grey-100);
}

.autrice__body {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.autrice__body p {
  color: var(--grey-600);
  margin-bottom: var(--space-sm);
  font-size: 1.02rem;
}

.autrice__body p:last-child {
  margin-bottom: 0;
}


/* ══════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════ */
.newsletter {
  padding: var(--space-xl) 0;
  background: var(--white);
}

.newsletter__form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--grey-200);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s ease;
  background: var(--off-white);
  color: var(--grey-900);
}

.newsletter__input::placeholder {
  color: var(--grey-400);
}

.newsletter__input:focus {
  border-color: var(--gold-light);
}


/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--grey-400);
  border-top: 1px solid var(--grey-200);
}


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 768px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__cover {
    flex: none;
  }

  .hero__cover img {
    width: 220px;
    margin: 0 auto;
  }

  .hero__text {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .hero__intro {
    text-align: center;
  }

  .velora-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --space-xl: 3.5rem;
    --space-lg: 2.5rem;
  }

  .hero__cover img {
    width: 180px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .velora-steps {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .velora-step {
    padding: var(--space-sm);
  }

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

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__input {
    width: 100%;
    flex: none;
  }
}