/** =========================
 *  FONTS
 *  ========================= */
@font-face {
  font-family: "gothic-light";
  src: url("/assets/fonts/acme-gothic-wide-light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "adelle-light";
  src: url("/assets/fonts/adelle-sans-condensed-light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "adelle-regular";
  src: url("/assets/fonts/adelle-sans-regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "adelle-thin";
  src: url("/assets/fonts/adelle-sans-thin.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "gothic-regular";
  src: url("/assets/fonts/fonnts.com-Acme_Gothic_Compressed_Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "gothic-compressed";
  src: url("/assets/fonts/acme-gothic-compressed-light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "condense-light";
  src: url("/assets/fonts/acme-gothic-condensed-light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "wide-light";
  src: url("/assets/fonts/acme-gothic-wide-light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "light-adelle";
  src: url("/assets/fonts/acme-gothic-wide-light.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "adelle-condense-light";
  src: url("/assets/fonts/AdelleCondensed-Light.woff2") format("woff2");
  font-display: swap;
}

/** =========================
 *  GLOBAL RESET & BODY
 *  ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: sans-serif;
  background-color: #e4ded0;
}

/** =========================
 *  HEADER & NAVIGATION
 *  ========================= */
header {
  width: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 1000;
  border-bottom: 1px solid #eee;
  height: 60px;
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.nav-brand {
  font-family: "gothic-compressed", sans-serif;
  font-size: 1.8rem;
  font-weight: normal;
  color: #4c4b3a;
  letter-spacing: 2px;
  justify-content: left;
  padding: 0;
  align-items: center;
}

.nav-links {
display: flex;
  justify-content: flex-end;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-family: "gothic-compressed", sans-serif;
  font-size: clamp(1.2rem, 1.5vw, 1.7rem);
  color: #4c4b3a;
  transition: color 0.3s ease;
  letter-spacing: 10px;
  font-weight: bold;
}

.nav-links a:hover,
.nav-links a:focus {
  color: gray;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #4c4b3a;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/** =========================
 *  HERO SECTION
 *  ========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 70px 0;
  overflow: visible;
}

.hero-bg {
  background: 
    url("/assets/images/webp/hero-bg.webp") no-repeat center/cover; 
  height: 90vh;
  width: 100%;
  max-width: 3000px;
  margin: 0 0; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}


.hero-image {
  flex: 0 0 37%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  height: auto;
  width: 100%;
  filter: drop-shadow(0px 18px 24.5px rgba(76, 76, 77, 0.43));
}

.hero-text {
  text-align: center;
  height: auto;
  flex: 1;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  margin-top: -100px;
  justify-content: center;
}

.hero-text h1 {
  font-size: clamp(4rem, 6vw, 8rem);
  letter-spacing: -2px;
  color: #010101;
  font-family: "adelle-thin", sans-serif;
  font-weight: 100;
}

.hero-text .sub-head {
  font-size: clamp(1rem, 2vw, 2rem);
  color: #77766b;
  letter-spacing: 7px;
  font-family: "condense-light", serif;
  font-weight: bold;
}

.hero-text .quote {
  font-size: clamp(1.2rem, 3.5vw, 2.5rem);
  color: #83672f;
  font-weight: 300;
  font-family: "condense-light", serif;
  text-align: center;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 5px;
}

.hero-text .hero-quote {
  padding-left: 100px;
}

/** =========================
 *  Main BOOKS SECTION
 *  ========================= */
.main-books {
  min-height: 550px;
  margin-top: 40px;
}

.main-books-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 85%;
  background-color: white;
  padding: 0 50px;
}


.main-books-img {
  flex: 0 0 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}



.main-books-back-img img,
.main-books-front-img img {
  width: 110%;
  height: auto;
  margin-top: -20px;
  padding: 0 20px;
}

.main-books-text {
  flex: 0 0 55%;
  padding: 0 0 30px 0;
}

.main-books-logo {
  display: block;
  margin-inline: auto;   /* centra horizontalmente */
  max-width: 100%;
  height: auto;
  /* opcional: controla tamaño responsivo del logo */
  width: clamp(180px, 35vw, 460px);
}


.main-books-text h2 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: clamp(2.5rem, 8vw, 6rem);
  position: relative;
  text-align: center;
  font-family: "adelle-regular", sans-serif;
}

.main-books-text h2 .el {
  font-size: 50%;
  align-self: flex-start;
  position: relative;
}

.main-books-text p {
  margin-bottom: 15px;
  text-align: center;
  
}

.main-book-feature-container ul {
  list-style: square;
  padding-left: 90px;
}

.main-book-feature-container li {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  letter-spacing: -1px;
  color: #010101;
  font-family: "adelle-thin", sans-serif;
  line-height: 1.3;
}

.main-book-feature-container span {
  font-size: clamp(1.2rem, 2vw, 2.5rem);
}

.main-books-cta {
  width: 100%;
  display: flex;
  justify-content: end;
  padding: 0 60px;
  margin: 10px;
}

.main-book-cta-container {
  display: flex;
  justify-content: space-between;
  width: 50%;
  background-color: #c5baa3;
  padding: 20px 16px;
}

.main-books-btn {
  filter: drop-shadow(0px 4px 0px rgba(6, 7, 10, 0.16));
  padding: 0.6rem 2rem;
  background-color: #6a6458;
  color: #fff;
  font-size: clamp(1.35rem, 2.25vw, 1.875rem);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -1px;
  font-family: "adelle-thin", sans-serif;
  text-decoration: none;
}

.main-books-text .trilogia {
  position: relative;
  text-align: center;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 400;
  margin-bottom: 50px;
  padding-left: 50px;
  color: #010101;
  font-family: "adelle-thin", sans-serif;
}

.main-books-text .trilogia::before,
.main-books-text .trilogia::after {
  content: "";
  display: inline-block;
  height: 2px;
  background: #010101;
  width: 30%;
  margin: 0 12px;
  vertical-align: middle;
}

/** =========================
 *  REVIEW SECTION
 *  ========================= */

.review-section {
  background-color: #e4ded0;  /* tu marrón claro */
  padding: 2rem 0;
}

.review-heading {
  font-size: clamp(1.5rem, 3.75vw, 2.7rem); /* 75% del original */
  letter-spacing: -1px;
  color: #010101;
  font-family: "adelle-thin", sans-serif;
  background-color: white;
  margin: 20px 0;
  display: flex;
  align-items: center;
  padding: 0 30px;
  padding-top: 0.8rem;
  min-height: 5rem;
  max-height: 180px;
}

.testimonial {
  display: flex;
  justify-content: space-around;
  gap: 60px;
  margin-left: 3%;
  background-color: white;
  padding: 1.5rem 0 1.5rem 1rem;
  
}

.card {
  max-width: 600px;
  width: 550px;
  min-height: 170px;
  padding: 30px;
  border: 0.5px solid #e5e4e2;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(76, 76, 77, 0.2);
  text-align: left;
  background: white;
  display: flex;
  flex-direction: column;   /* organiza elementos en columna */
  justify-content: space-between;
}

.card h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.4;
  font-weight: 600;
  text-align: justify;
  hyphens: auto;          /* activa autoguionado */
  -webkit-hyphens: auto;  /* Safari/Chrome */
  -ms-hyphens: auto;  
  color: #333333;
  font-family: serif;
}

.card p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: auto;
}

.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 1rem 0;
}

.cta {
  width: 90%;
  max-width: 280px;
  height: auto;
  max-height: 60px;
  padding: 18px 44px;
  background-color: #6a6458;
  color: #fff;
  font-size: clamp(0.9rem, 3vw, 1.875rem);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -1px;
  font-family: "adelle-thin", sans-serif;
  filter: drop-shadow(0px 4px 0px rgba(6, 7, 10, 0.16));
  transition: background 0.3s ease;
  text-decoration: none;
}

.cta:hover {
  background-color: #5f594e;
}

/** =========================
 *  SUBSCRIBE SECTION
 *  ========================= */
.subscribe {
  min-height: 400px;
}

.form-section {
  background-color: white;
  padding: 40px 75px;
}

.form-section .heading {
  margin-bottom: 40px;
}

.form-section .heading h2 {
  font-size: 30px;
  color: #010101;
  font-family: "adelle-thin", sans-serif;
  margin-bottom: 15px;
}

.form-section .heading p {
  font-size: 1.2rem;
  color: #444444;
  padding-left: 20px;
}

.subscribeForm {
  padding-left: 20px;
}

.subscribeForm label {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #444444;
}

.subscribe-input {
  border: 2px solid #e5e4e2;
  border-radius: 20px;
  width: 60%;
  height: 65px;
  padding: 20px 25px;
  margin-top: 20px;
  font-size: clamp(0.8rem, 2vw, 1.2rem);
}

.subscribe-btn {
  padding-left: 75px;
}

.submit-btn {
  filter: drop-shadow(0px 4px 0px rgba(6, 7, 10, 0.16));
  padding: 0.5rem 1.6rem;
  background-color: #6a6458;
  color: #fff;
  font-size: clamp(0.9rem, 3vw, 1.875rem);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -1px;
  font-family: "adelle-thin", sans-serif;
}

/** =========================
 *  FOOTER SECTION
 *  ========================= */
footer {
  height: 100%;
  max-height: 216px;
  background-color: white;
  padding: 22px 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  font-weight: 700;
}

footer .copyright-section {
  font-size: 18px;
  color: #010101;
  font-family: "adelle-thin", sans-serif;
  letter-spacing: -1px;
  line-height: 1.18;
}

footer .footer-links {
  font-size: 23px;
  color: #6a6458;
  font-family: "adelle-thin", sans-serif;
  text-align: center;
  letter-spacing: -1px;
  line-height: 1.18;
}

footer ul {
  list-style-type: none;
  gap: 20px;
}

footer a {
  text-decoration: none;
  color: #6a6458;
}

footer a:hover {
  color: #5f594e;
}

/** =========================
 *  MEDIA QUERIES (RESPONSIVE)
 *  ========================= */

/* Tablets */
@media (max-width: 992px) {
  /* NAV */
  .nav-toggle {
    display: block;
    line-height: 55px;
  }

  nav {
    padding: 0.3rem 1rem;   /* menos alto en móvil */
  }

  .nav-brand {
    font-size: 1.4rem;      /* opcional: más chico */
    padding: 5px 0;         /* reduce altura */
  }

  header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 55px;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    width: 220px;
    border-left: 1px solid #eee;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  /* HERO */
  .hero {
    margin: 100px 0 10px 0;
  }

  .hero-text {
    margin-top: 0;
    display: block;
    padding-right: 0;
  }

  .hero-bg {
    flex-direction: column;
    text-align: center;
    height: 100vh;
  }

  .hero-image img {
    width: 40%;
  }

  .hero-text .quote {
    margin-top: 1rem;
  }

  /* MAIN BOOKS */
  .main-books-container {
    flex-direction: column;
    text-align: center;
    padding: 20px 40px;
  }

  .main-books {
    margin-top: 10px;
  }

  .main-books-cta {
    width: 100%;
    justify-content: center;
    padding: 10px 5px;
    margin: 0;
  }

  .main-book-cta-container {
    width: 100%;
    padding: 10px 5px;
  }

  .main-books-img,
  .main-books-text {
    flex: 0 0 100%;
  }

  .main-books-text {
    text-align: left;
  }

  .main-books-text h2 {
    font-size: 5rem;
  }

  .main-books-text p {
    font-size: 1.2rem;
  }

  .main-books-btn {
    font-size: 2rem;
  }

  /* REVIEW */
  .testimonial {
    gap: 20px;
    padding: 30px 15px;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* SUBSCRIBE */
  .form-section {
    padding: 30px 40px;
  }

  .form-section .heading h2 {
    font-size: 2.5rem;
  }

  .form-section .heading p {
    font-size: 1.2rem;
    padding-left: 0;
  }

  .subscribe-input {
    width: 80%;
    height: 55px;
    font-size: 1rem;
  }

  .subscribe-btn {
    padding-left: 40px;
    margin-top: 20px;
  }

  .submit-btn {
    font-size: 2rem;
  }

  /* FOOTER */
  footer {
    padding: 20px 30px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

footer .footer-links {
  font-size: 43px;
}

  footer .copyright-section {
    font-size: 22px;
  }

  footer .footer-links {
    font-size: 20px;
  }

  footer ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero {
    margin: 50px 0;
  }
  
  .hero-bg {
    height: 100vh;   /* full screen height en móviles */
  }

  .hero-image img {
    width: 60%;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text p {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .hero-text .quote {
    font-size: 1.2rem;
    margin-top: 1.5rem;
  }

  /* MAIN BOOKS */

  .main-books-img {
    flex-direction: column;
    padding: 0 20px;
  }
  .main-books-container {
    padding: 15px 10px;
  }

  .main-books-text h2 {
    font-size: 1.5rem;
  }

  .main-books-text p {
    font-size: 1rem;
    text-align: justify;
  }

  .main-books-text .trilogia {
    padding-left: 0;
  }

  .main-books-text .trilogia::before,
  .main-books-text .trilogia::after {
    width: 30%;
    margin: 0 0;
  }

  .main-books-btn {
    font-size: 1.6rem;
    padding: 0.6rem 1.5rem;
  }

  /* REVIEW */
  .review-heading {
    font-size: 1.8rem;
    padding: 0 15px;
    text-align: center;
  }

  .card {
    padding: 20px;
  }

  .cta {
    font-size: 1.5rem;
    padding: 15px 30px;
  }

  /* SUBSCRIBE */
  .form-section {
    padding: 20px;
    text-align: center;
  }

  .form-section .heading h2 {
    font-size: 2rem;
  }

  .form-section .heading p {
    font-size: 1rem;
  }

  .subscribeForm {
    padding-left: 0;
  }

  .subscribe-input {
    width: 100%;
    height: 50px;
    font-size: 1rem;
  }

  .subscribe-btn {
    padding-left: 0;
    margin-top: 15px;
    display: flex;
    justify-content: center;
  }

  .submit-btn {
    font-size: 1.5rem;
    width: 100%;
    max-width: 300px;
  }

  /* FOOTER */
  footer {
    padding: 15px 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  footer .copyright-section {
    font-size: 18px;
    text-align: center;
  }

  footer .footer-links {
    font-size: 20px;
  }

  footer ul {
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
  }
}

/* ================================
   SOCIAL SECTION
================================ */
.social {
  min-height: 250px;
}

.blank {
  height: 125px;
  background-color: white;
  margin-top: -60px;
}

.social-container {
  text-align: center;
}

.social-links {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-family: Arial, sans-serif;
  flex-wrap: wrap;
}

.social-links h2 {
  font-size: clamp(1.125rem, 2.25vw, 1.5rem);
  letter-spacing: -1px;
  color: #010101;
  font-family: "adelle-thin", sans-serif;
}

.social-links p {
  font-size: clamp(0.9rem, 3vw, 1.875rem);
  letter-spacing: -1px;
  line-height: 1.4;
  color: #6a6458;
  font-family: "adelle-thin", sans-serif;
}

.insta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insta a {
  text-decoration: none;
}

.insta img {
  width: clamp(40px, 6vw, 70px);
  height: auto;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .social-links {
    gap: 20px;
    padding: 5px 0;
  }
}

@media (max-width: 768px) {
  .social-links {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .social {
    min-height: auto;
    padding: 20px 0;
  }
}
