/* 1. CONFIGURACIÓN BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

:root {
  --font-main: "EB Garamond", serif;
  --font-ui: "Noto Sans", sans-serif;
  --header-height: 70px;

  /* PALETA INSPIRADA EN LA PORTADA DE EL GUARDIÁN TARTÉSICO */
  /* Ámbar cálido / Oro tartésico / Ocre */
  --color-gold: #c87a28;
  --color-gold-dark: #a85810;
  --color-gold-glow: #e2983b;

  /* Bronce romano profundo / Silueta oscura de Híspalis */
  --color-bluedark: #24150b;
  --color-bronze-medium: #4a2e1b;

  /* Fondos cálidos pergamino / arena */
  --color-light: #f5e4cd;
  --color-parchment: #ebd2b0;
  --color-parchment-soft: #fbf3e7;

  /* Textos */
  --color-text: #2c1b10;
  --color-text-muted: #4e3524;

  /* Redes sociales y marcas */
  --color-instagram: #e4405f;
  --color-twitter: #000000;
  --color-facebook: #1877f2;
  --color-tiktok: #010101;
  --color-glyph: #8c786a;
  --color-amazon: #ff9900;
}

img,
iframe,
video {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  background: #d8aa6b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--color-text);
  overflow-x: clip;
  max-width: 100%;
  margin: 0;
}

/* 2. SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* 3. HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: rgba(238, 214, 180, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(100, 52, 16, 0.18);
  box-shadow: 0 4px 20px rgba(60, 30, 8, 0.08);
  transition: all 0.3s ease;
}

.header__container {
  width: 95%;
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-family: var(--font-main);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.5px;
  color: var(--color-bluedark);
  transition: transform 0.3s ease;
}

.header__logo:hover {
  transform: scale(1.02);
}

/* NAV DESKTOP */
.header__nav {
  display: block;
}

.header__menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.header__link {
  text-decoration: none;
  color: var(--color-bluedark);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s ease;
  font-weight: 700;
}

.header__link:hover {
  color: #8c3f07;
}

/* BOTÓN MÓVIL */
.mobile-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-bluedark);
  cursor: pointer;
  z-index: 1100;
  padding: 10px;
}

@media (max-width: 991px) {
  .nav-cart-icon {
    font-size: 1.6rem;
    padding: 0.5rem 0;
  }

  .mobile-btn {
    display: block;
  }

  /* El NAV es el cajón que se desliza */
  .header__nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: linear-gradient(180deg, #ecd3ad 0%, #e0b884 100%);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    visibility: hidden;
    overflow-y: auto;
  }

  .header__nav.active {
    transform: translateX(0);
    visibility: visible;
    box-shadow: -5px 0 25px rgba(36, 21, 11, 0.3);
  }

  .header__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    gap: 2.5rem;
    width: 100%;
    min-height: 100%;
  }

  .header__link {
    color: var(--color-bluedark);
    font-size: 1.2rem;
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Dropdown en móvil */
  .dropdown__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: rgba(255, 250, 242, 0.7);
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-radius: 8px;
    border: 1px solid rgba(184, 94, 26, 0.2);
  }

  .dropdown.active .dropdown__menu {
    display: block;
  }

  .dropdown__menu a {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    color: var(--color-bluedark);
  }
}

/* DROPDOWN DESKTOP */
.dropdown {
  position: relative;
}

.dropdown > a i {
  font-size: 0.7rem;
  margin-left: 4px;
}

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fffdfa;
  min-width: 200px;
  box-shadow: 0 12px 35px rgba(36, 21, 11, 0.18);
  border-radius: 8px;
  padding: 1rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;
  border-top: 3px solid var(--color-gold);
  border-left: 1px solid rgba(184, 94, 26, 0.15);
  border-right: 1px solid rgba(184, 94, 26, 0.15);
  border-bottom: 1px solid rgba(184, 94, 26, 0.15);
}

.dropdown:hover .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__menu a {
  padding: 0.7rem 1.5rem;
  display: block;
  text-decoration: none;
  color: var(--color-bluedark);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dropdown__menu a:hover {
  background-color: rgba(200, 122, 40, 0.1);
  color: #8c3f07;
}

/* EMAIL ANIMADO */
.mail-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-email-icon {
  font-size: 1.3rem;
  color: var(--color-bluedark);
  transition: all 0.4s ease;
}

.mail-wrapper .fa-envelope-open {
  display: none;
  color: #8c3f07;
}

@media (hover: hover) {
  .mail-wrapper:hover .fa-envelope {
    display: none;
  }

  .mail-wrapper:hover .fa-envelope-open {
    display: inline-block;
    color: #8c3f07;
    transition: 0.5s ease;
  }
}

.cart-wrapper {
  display: flex;
  align-items: center;
}

.nav-cart-icon {
  font-size: 1.3rem;
  color: var(--color-bluedark);
  transition: all 0.4s ease;
  display: inline-block;
  text-decoration: none;
}

.nav-cart-icon:hover {
  color: #8c3f07;
  transform: scale(1.15);
}

.header__cta {
  background: linear-gradient(135deg, #c87a28 0%, #ad5e15 100%);
  color: white;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(184, 94, 26, 0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
}

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(160, 75, 12, 0.5);
  background: linear-gradient(135deg, #d88730 0%, #be6819 100%);
}

.header__cta:active {
  transform: translateY(0) scale(0.98);
}

/* 4. HERO */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(
    circle at center,
    #c87a28 0%,
    #873e0e 65%,
    #201007 100%
  );
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(235, 160, 55, 0.25) 0%,
    rgba(180, 95, 22, 0.45) 50%,
    rgba(28, 14, 6, 0.82) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  scale: 1.5;
}

.hero__main-img {
  width: 100%;
  max-width: 850px;
  padding-top: 20px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.85));
  animation: fadeInUpImg 1.2s ease-out forwards;
  transition: transform 0.3s ease;
}

/* Animación de aparición */
@keyframes fadeInUpImg {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }

  .hero__main-img {
    max-width: 95%;
  }
}

@media (min-width: 1400px) {
  .hero__main-img {
    max-width: 1800px;
  }
}

/* 5. MANIFESTO */
.manifesto {
  background: linear-gradient(180deg, #ecd3ad 0%, #e2be89 50%, #d8aa6b 100%);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 75% 30%,
    rgba(255, 205, 128, 0.35) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.manifesto__container {
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 3rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .manifesto__container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
}

@media (max-width: 991px) {
  .manifesto__container {
    padding: 2.5rem 1rem;
    width: 95%;
  }
}

.manifesto__left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  order: 2;
}

@media (min-width: 992px) {
  .manifesto__left {
    order: 1;
  }
}

.manifesto__quote {
  font-size: 1.6rem;
  font-style: italic;
  color: var(--color-bluedark);
  line-height: 1.4;
  padding: 1.5rem 0;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

@media (min-width: 992px) {
  .manifesto__quote {
    font-size: 2.2rem;
    padding: 2rem 0;
  }
}

.manifesto__cta-text {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--color-bluedark);
  font-weight: 700;
  margin-bottom: 1.3rem;
}

.manifesto__form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 600px) {
  .manifesto__form {
    flex-direction: row;
    align-items: stretch;
  }
}

.manifesto__input {
  flex: 1;
  padding: 1rem;
  border: 2px solid rgba(180, 95, 22, 0.4);
  background-color: rgba(255, 252, 246, 0.92);
  color: var(--color-bluedark);
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background-color 0.3s;
  min-width: 0;
}

.manifesto__input:focus {
  background-color: #ffffff;
  border-color: #a85810;
  box-shadow: 0 0 0 4px rgba(200, 122, 40, 0.25);
}

.manifesto__right {
  order: 1;
}

@media (min-width: 992px) {
  .manifesto__right {
    order: 2;
  }
}

.book-visual {
  perspective: 2000px;
  display: flex;
  justify-content: center;
}

.book-cover {
  width: 70%;
  max-width: 350px;
  height: auto;
  box-shadow: 25px 25px 60px rgba(36, 21, 11, 0.35);
  border-radius: 15px;
  transform: rotateY(-8deg);
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

@media (min-width: 992px) {
  .book-cover {
    width: 100%;
    transform: rotateY(-12deg);
  }
}

.book-cover:hover {
  transform: rotateY(-5deg) scale(1.02);
}

/* 6. GRID - SECCIÓN TRAMA */
.bento-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, #d8aa6b 0%, #cb9754 50%, #bd843f 100%);
  position: relative;
}

.bento-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(255, 220, 150, 0.2) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.bento-grid {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.cursiva {
  font-style: italic;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-item--large {
    grid-column: span 2;
  }

  .bento-item--full {
    grid-column: span 3;
  }
}

.bento-item {
  background: rgba(255, 250, 242, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 24px;
  border: 1px solid rgba(120, 60, 15, 0.16);
  box-shadow: 0 14px 35px rgba(60, 30, 8, 0.08);
  transition: all 0.35s ease;
}

.bento-item:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: var(--color-gold);
  box-shadow: 0 20px 45px rgba(80, 40, 10, 0.18);
}

.bento-item i {
  font-size: 2.5rem;
  color: #b86214;
  margin-bottom: 1.5rem;
  display: block;
}

.bento-item h3 {
  font-family: var(--font-ui);
  font-size: 1.8rem;
  color: var(--color-bluedark);
  margin-bottom: 1rem;
}

.bento-item p {
  font-size: 1.1rem;
  color: #3b2617;
  line-height: 1.7;
}

/* 7. PERSONAJES */
.characters {
  padding: 8rem 0;
  background: linear-gradient(180deg, #bd843f 0%, #ad722e 50%, #9c6020 100%);
  position: relative;
}

.characters .section-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 5rem;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(36, 21, 11, 0.4);
}

.grid {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  height: 580px;
  perspective: 2000px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.card:hover .card-inner,
.card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(36, 21, 11, 0.3);
}

.card-front {
  background: linear-gradient(160deg, #28170d 0%, #120904 100%);
  border: 1px solid rgba(230, 160, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  color: white;
}

.card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(40%) blur(1px);
}

.card-front-info {
  position: relative;
  z-index: 2;
}

.card-front p {
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  font-style: italic;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.card-front h3 {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  letter-spacing: 4px;
  color: #e59b3a;
  text-transform: uppercase;
}

.card-back {
  background: #fffdfa;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 3px solid transparent;
  transition: 0.4s;
  font-size: 1rem;
  color: #2c1b10;
}

.card:hover .card-back,
.card.is-flipped .card-back {
  border-color: var(--color-gold);
  box-shadow: 0 20px 45px rgba(25, 12, 5, 0.25);
}

.card-back h4 {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(74, 46, 27, 0.15);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* 8. LECTURA */
.reading-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, #9c6020 0%, #b27329 40%, #c58434 100%);
  position: relative;
  overflow: hidden;
}

.reading-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1516414447565-b14be0afa13e?q=80&w=2000&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.reading-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  background: rgba(255, 252, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: 28px;
  border: 1px solid rgba(120, 60, 15, 0.18);
  box-shadow: 0 20px 50px rgba(50, 25, 8, 0.22);
}

.reading-headline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-style: italic;
  color: var(--color-bluedark);
  margin-bottom: 3.5rem;
}

.reading-text {
  font-size: 1.3rem;
  text-align: justify;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  line-height: 1.8;
}

.reading-text p::first-letter {
  font-size: 3rem;
  float: left;
  margin-right: 5px;
  line-height: 0.4;
  color: var(--color-gold);
  font-weight: 700;
  padding-top: 8px;
}

/* 9. VIDEO */
.video-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, #c58434 0%, #9e5b1b 50%, #68350d 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
}

.video-section h2 {
  color: #6e3d05;
  text-shadow: 0 2px 12px rgba(24, 12, 4, 0.4);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.video-section p {
  color: #b76507;
  font-style: italic;
  opacity: 0.8;
  font-size: 1.5rem;
}

.video-box {
  width: 90%;
  max-width: 1100px;
  margin: 4rem auto 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 10px solid #e2983b;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(20, 9, 3, 0.45);
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 10. FOOTER */
.footer {
  margin-top: auto;
  padding: clamp(4rem, 8vh, 6rem) 1.5rem;
  background: linear-gradient(180deg, #68350d 0%, #2e170a 40%, #170b04 100%);
  border-top: 1px solid rgba(226, 152, 59, 0.25);
  text-align: center;
  scroll-margin-top: var(--header-height);
  color: #f3dfca;
}

/* Newsletter block */
.footer__newsletter {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer__newsletter-title {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer__newsletter-text {
  font-family: var(--font-main);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #eed6bf;
  max-width: 500px;
  line-height: 1.6;
}

.footer__newsletter-action {
  margin-top: 0.5rem;
}

/* Redes sociales */
.footer__social-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__social-link {
  font-size: 1.8rem;
  color: #d6beaa;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem;
}

.footer__social-link--instagram:hover {
  color: var(--color-instagram);
  transform: translateY(-5px);
}

.footer__social-link--twitter:hover {
  color: #ffffff;
  transform: translateY(-5px);
}

.footer__social-link--facebook:hover {
  color: var(--color-facebook);
  transform: translateY(-5px);
}

.footer__social-link--tiktok:hover {
  color: #ffffff;
  transform: translateY(-5px);
}

.footer__social-link--amazon:hover {
  color: #ff9900;
  transform: translateY(-3px);
}

/* Email */
.footer__email {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: #e59b3a;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  transition: color 0.3s ease;
  position: relative;
}

.footer__email::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #e59b3a;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer__email:hover {
  color: #ffbe6b;
}

.footer__email:hover::after {
  transform: scaleX(1);
}

/* Copy */
.footer__copy {
  font-size: 0.85rem;
  color: #bfa693;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  font-family: var(--font-main);
}

/* 11. BOTONES */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c87a28 0%, #ad5e15 100%);
  color: white;
  padding: 1.2rem 2.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(184, 94, 26, 0.3);
  text-align: center;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #d88730 0%, #be6819 100%);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(160, 75, 12, 0.45);
}

.btn-cta:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 5px 10px rgba(160, 75, 12, 0.25);
}

/* 12. FOMO TAG */
.fomo-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #f6e4d2;
  font-family: var(--font-main);
  background-color: rgba(226, 152, 59, 0.15);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(226, 152, 59, 0.3);
}

.fomo-tag i {
  color: #f0a33c;
  margin-right: 8px;
  font-size: 0.9rem;
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.footer__credit {
  font-size: 0.75rem;
  color: #a88d7b;
  font-family: var(--font-ui);
  margin-top: 1.5rem;
  letter-spacing: 0.3px;
}

.footer__credit-link {
  color: #e59b3a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__credit-link:hover {
  color: #ffbe6b;
}

/* 13. MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  overflow: hidden;
}

.modal--active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 12, 4, 0.82);
  backdrop-filter: blur(12px);
}

.modal__content {
  position: relative;
  background: linear-gradient(165deg, #fdf8f0 0%, #f4e2ca 100%);
  padding: 4rem;
  max-width: 550px;
  width: 90%;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(184, 94, 26, 0.25);
  box-shadow: 0 30px 70px rgba(24, 12, 4, 0.45);
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--color-bluedark);
}

.modal__title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--color-bluedark);
  font-family: var(--font-ui);
}

.modal__warning {
  margin-bottom: 2rem;
}

.modal__warning p,
.modal__description {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal__input {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid rgba(180, 95, 22, 0.35);
  background-color: #ffffff;
  color: var(--color-bluedark);
  border-radius: 8px;
  outline: none;
  font-family: var(--font-main);
  font-size: 1rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.modal__input:focus {
  border-color: #b86214;
  box-shadow: 0 0 0 3px rgba(200, 122, 40, 0.25);
}

.modal__submit {
  width: 100%;
  background: linear-gradient(135deg, #c87a28 0%, #ad5e15 100%);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 6px;
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 20px rgba(184, 94, 26, 0.35);
}

.modal__submit:hover {
  background: linear-gradient(135deg, #d88730 0%, #be6819 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(160, 75, 12, 0.45);
}

/* FIX OVERFLOW MÓVIL */
@media (max-width: 600px) {
  .modal__content {
    width: 95%;
    padding: 2.5rem 1.5rem;
    max-width: 100%;
  }

  .modal__title,
  #modalTitle {
    font-size: 1.6rem;
  }

  .modal__description,
  .modal__warning p {
    font-size: 1rem;
  }

  .modal__input {
    font-size: 1rem;
  }

  .modal__submit,
  .btn-cta {
    font-size: 0.8rem;
    padding: 1rem 1.5rem;
    width: 100%;
  }
}

/* 14. BACK TO TOP */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #c87a28 0%, #9e5012 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(45, 20, 6, 0.35);
  font-size: 1.3rem;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: linear-gradient(135deg, #db8830 0%, #b35d16 100%);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 14px 30px rgba(45, 20, 6, 0.5);
}
