@charset "UTF-8";

/* Fonts */
:root {
  /* Texto general: legible, amable, inclusivo */
  --default-font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  /* Títulos: serif elegante */
  --heading-font: "Lora", Georgia, Cambria, "Times New Roman", Times, serif;

  /* Navegación: igual que body, consistente */
  --nav-font: "Nunito", system-ui, sans-serif;
}

:root {
  /* Paleta base */
  --rosa-nude: #eac6c0;
  --rosa-tiza: #f4e2de;
  --marron-claro: #a98274;
  --tostado: #c8a79e;
  --chocolate-suave: #5f4b3b;
  --blanco-hueso: #faf8f6;

  /* BASE */
  --background-color: var(--ink-strong); /* #a98274 */
  --surface-color: var(--blanco-hueso); /* #faf8f6 */
  --default-color: var(--blanco-hueso); /* texto sobre fondo */
  --heading-color: var(--blanco-hueso); /* #f4e2de */

  /* COLORES DESTACADOS */
  --accent-color: var(--chocolate-suave); /* #5f4b3b (btn/link) */
  --accent-secondary: var(--rosa-nude); /* #eac6c0 */
  --accent-hover: #4d3d30; /* chocolate 15% más oscuro */
  --contrast-color: #ffffff; /* texto sobre accent oscuro */

  /* NAVEGACIÓN */
  --nav-color: var(--blanco-hueso);
  --nav-hover-color: var(--rosa-nude);
  --nav-active-color: var(--rosa-tiza);
  --nav-mobile-background-color: var(--background-color);
  --nav-dropdown-background-color: var(--surface-color);
  --nav-dropdown-color: var(--chocolate-suave);
  --nav-dropdown-hover-color: var(--rosa-nude);

  /* USO DIRECTO (del logo SGM) */
  --sgm-verde: #bcc0b0;
  --sgm-piel: #dfb2a3;
}

/* Paleta accesible (ajusta si ya tenés variables) */
:root {
  --bg-brown: #9f7468; /* fondo */
  --card-bg: #fbf6f4; /* tarjetas (alto contraste sobre fondo) */
  --ink-strong: #5a3f37; /* textos principales */
  --ink: #6b4e45; /* textos secundarios */
  --accent: #a06d5c; /* acento cálido */
  --accent-strong: #7f5447;
  --token-bg: #efe7e3; /* círculo icono */
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.14);
  --radius-xl: 16px;
  --radius-token: 999px;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/* BOTONES */
.btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

/* TITULOS */
h1,
h2.section-title,
.hero .title {
  color: var(--heading-color);
}

/* ENLACES DESTACADOS */
a.highlight,
.text-accent {
  color: var(--accent-secondary);
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 100px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 500;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu */
.mobile-nav-toggle {
  color: var(--nav-color);
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 32px;
  line-height: 0;
  cursor: pointer;
  display: block !important;
  z-index: 998;
  transition: 0.3s;
}

.mobile-nav-toggle:hover {
  color: var(--nav-hover-color);
}

.navmenu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -300px;
  z-index: 997;
  transition: 0.3s;
  width: 300px;
  overflow: hidden;
  background-color: var(--sgm-verde);
}

.navmenu ul {
  display: block;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 998;
}

.navmenu a,
.navmenu a:focus {
  color: var(--ink-strong);
  padding: 10px 20px;
  font-family: var(--nav-font);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a i:hover,
.navmenu a:focus i:hover {
  background-color: var(--accent-color);
  color: var(--sgm-piel);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--blanco-hueso);
}

.navmenu .active i,
.navmenu .active:focus i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 10px 0;
  margin: 10px 20px;
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown > .dropdown-active {
  display: block;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid
    color-mix(in srgb, var(--nav-dropdown-color), transparent 90%);
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav-toggle {
  right: 310px;
  font-size: 36px;
}

.mobile-nav-active .navmenu {
  position: fixed;
  overflow: hidden;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: var(--sgm-verde);
  transition: 0.3s;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 28px;
  font-weight: 500;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--sgm-verde);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  left: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--sgm-piel);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--ink-strong);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--sgm-verde), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 40px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li + li {
  padding-left: 10px;
}

.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* ====== HERO: Layout seguro y legible ====== */
.hero {
  position: relative;
  min-height: calc(
    100vh - var(--header-h, 72px)
  ); /* ajusta si tu header mide distinto */
  padding-top: clamp(24px, 4vw, 48px);
  display: grid;
  align-items: center;
  color: #fff;
  background: transparent;
}

/* Evita solaparse con header fijo: define su altura una vez y reaprovechala */
.header {
  --header-h: 72px;
}

/* Contenedor de contenido: ancho óptimo y respiración */
.hero .container {
  max-width: 1100px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px; /* línea de lectura */
  padding: clamp(12px, 2vw, 18px) clamp(14px, 3vw, 22px);
  border-radius: 16px;
  /* Glass suave para microcontraste sin tapar el fondo */
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

/* Títulos y textos: jerarquía + ajuste fino de color */
.hero h1 {
  margin: 10px 0 12px;
  line-height: 1.12;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: 0.2px;
}
.book-subtitle {
  margin-top: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-trust {
  margin: 6px 0 18px;
  color: rgba(255, 255, 255, 0.75);
}

/* Overlay adaptativo (más oscuro en móviles para contraste) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.55) 80%
  );
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.65) 85%
    );
  }
}

/* ====== Swiper (fondo) ====== */
.hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: transform 10s linear, filter 0.8s ease;
}
/* Parallax sutil por slide para dar vida sin marear */
.hero-swiper .swiper-slide-active .slide-bg {
  transform: scale(1.06);
}

/* ====== Dots ====== */
.hero-pagination.swiper-pagination-bullets {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}
.hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.65);
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s;
}
.hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.25);
}

/* En mobile, movemos los dots abajo para no tapar texto */
@media (max-width: 576px) {
  .hero-pagination.swiper-pagination-bullets {
    right: 50%;
    transform: translate(50%, 0);
    bottom: 10px;
    top: auto;
    flex-direction: row;
    gap: 8px;
  }
}

/* ====== CTAs ====== */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 8px;
}
.hero-ctas .btn-whatsapp,
.hero-ctas .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.hero-ctas .btn-whatsapp {
  background: rgba(255, 255, 255, 0.12);
  color: #d9fdd3;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-ctas .btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero-ctas .btn-whatsapp:hover {
  background: rgba(255, 255, 255, 0.18);
}
.hero-ctas .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ====== Audiencias ====== */
.hero-audiencia {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.audiencia-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease;
}
.audiencia-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--blanco-hueso);
}
.audiencia-btn.is-active {
  background: #bcc0b0;
  color: #2a2a2a;
  border-color: #bcc0b0;
}

/* ====== Mobile ====== */
@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding: 72px 0 40px;
  }
  .hero-content {
    margin-inline: auto;
  }
  .hero-ctas,
  .hero-audiencia {
    justify-content: center;
  }
}

/* ====== Menos movimiento ====== */
@media (prefers-reduced-motion: reduce) {
  .slide-bg {
    transition: none !important;
    transform: none !important;
  }
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  overflow: hidden;
}

.about .about-book-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.about-book-img {
  position: relative;
  border-radius: 16px;
}

.about .about-book-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about .about-book-img .book-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: color-mix(in srgb, var(--surface-color), transparent 50%);
  backdrop-filter: blur(10px);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.about-book-content > p:first-of-type {
  color: color-mix(in srgb, var(--default-color), #000 10%);
}
.about .about-book-img .book-details .detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about .about-book-img .book-details .detail-item i {
  font-size: 20px;
  color: var(--accent-color);
}

.about .about-book-img .book-details .detail-item div {
  display: flex;
  flex-direction: column;
}

.about .about-book-img .book-details .detail-item div span {
  font-size: 12px;
  /* color: color-mix(in srgb, var(--accent-color), transparent 30%); */
  color: var(--accent-color);
  margin-bottom: 2px;
}

.about .about-book-img .book-details .detail-item div p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--accent-color);
}

.about .about-book-img:hover {
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  .about .about-book-img {
    max-width: 450px;
    margin: 0 auto;
  }
}

.about .about-book-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.about .about-book-content .book-category {
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.about .about-book-content .book-category span {
  font-size: 16px;
  color: var(--sgm-verde);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.about .about-book-content .book-category span i {
  font-size: 16px;
}

.about .about-book-content p {
  color: var(--default-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about .about-book-content .highlights {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Versión mobile */
@media (max-width: 768px) {
  .about .about-book-content ul {
    text-align: center; /* centra el texto */
    padding-left: 0; /* elimina indentación */
  }

  .about .about-book-content ul li {
    justify-content: center; /* centra el ícono con el texto */
    text-align: center;
  }
}
.about .about-book-content .highlights h3 {
  font-size: 20px;
  color: var(--heading-color);
  margin-bottom: 16px;
  font-weight: 600;
}

.about .about-book-content .highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about .about-book-content .highlights ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.about .about-book-content .highlights ul li i {
  color: var(--sgm-verde);
  font-size: 20px;
  flex-shrink: 0;
}

.about .about-book-content .highlights ul li span {
  color: var(--default-color);
  line-height: 1.5;
}

.about .about-book-content .about-book-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--sgm-piel);
  color: var(--ink-strong);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about .about-book-content .about-book-cta i {
  transition: transform 0.3s ease;
}

.about .about-book-content .about-book-cta:hover {
  background: var(--sgm-verde);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  color: var(--ink-strong);
}

.about .about-book-content .about-book-cta:hover i {
  transform: translateX(5px);
}

.link-muted {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  padding-left: 20px;
}
.link-muted:hover {
  color: var(--sgm-verde);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .about .about-book-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .link-muted {
    padding-left: 0;
  }
  .about .about-book-content {
    text-align: center;
    margin-top: 20px;
  }

  .about .about-book-content .book-category {
    justify-content: center;
  }

  .about .about-book-content .highlights ul li {
    text-align: left;
  }
  .about .about-book-content .highlights ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 0;
  }
}

/* --- Ajuste de espaciado adaptable en el bloque de highlights --- */
.about .about-book-content .highlights {
  /* Suaviza el salto entre párrafos y el checklist en distintos tamaños */
  margin-top: clamp(16px, 2vw, 30px);
  margin-bottom: clamp(16px, 2vw, 30px);
}

/* --- Checklist: alineación perfecta icono + texto (override a flex) --- */
.about .about-book-content .highlights ul li {
  display: grid; /* sobrescribe el flex anterior */
  grid-template-columns: 22px 1fr; /* columna fija para el ícono */
  align-items: start;
  gap: 10px;
}
.about .about-book-content .highlights ul li i {
  font-size: 18px; /* coherente con el tamaño del texto */
  margin-top: 2px; /* alinea verticalmente con el texto */
}
.about .about-book-content .highlights ul li i:hover {
  color: var(--sgm-piel);
}
/* --- CTA principal: foco visible y micro feedback accesible --- */
.about .about-book-content .about-book-cta {
  display: inline-grid; /* mejor alineación ícono + texto */
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
}
.about .about-book-content .about-book-cta:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), white 30%);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* --- Link secundario: foco/hover más claros --- */
.link-muted {
  text-decoration: none;
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.link-muted:hover,
.link-muted:focus-visible {
  color: var(--sgm-verde);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* --- Tarjeta de métricas sobre la imagen: mejor en mobile --- */

.about .about-book-img .book-details {
  position: static !important; /* baja debajo de la imagen */
  margin-top: 12px;
  backdrop-filter: none; /* evita difuminado pesado en móviles */
  background: var(--heading-color);
  border-radius: 10px;
}
.about .about-book-img {
  transform: none !important; /* evita “salto” por hover en táctiles */
}

/* --- Menos movimiento para quien lo prefiera --- */
@media (prefers-reduced-motion: reduce) {
  .about .about-book-img,
  .about .about-book-content .about-book-cta,
  .about .about-book-content .about-book-cta i {
    transition: none !important;
  }
  .about .about-book-content .about-book-cta:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* --- En dispositivos táctiles, no “levantar” tanto la imagen al hover --- */
@media (pointer: coarse) {
  .about .about-book-img:hover {
    transform: translateY(-4px);
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/

/* Separación vertical de la sección */
.features.section {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
  background: var(--ink-strong);
  color: var(--ink);
}

.features .section-title h2 {
  color: #fff;
  letter-spacing: 0.2px;
  margin-bottom: 0.5rem;
}
.features .section-title p {
  color: #f3e9e6;
  max-width: 52ch;
  margin-inline: auto;
}

/* Card */
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
  outline: none;
}
.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background-color: #fff;
}
.feature-card:focus-visible {
  /* foco accesible */
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 6px var(--accent);
}

/* Icono circular */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-token);
  display: grid;
  place-items: center;
  background: var(--token-bg);
  margin-bottom: 14px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.feature-card:hover .feature-icon,
.feature-card:focus-visible .feature-icon {
  background: var(--sgm-verde);
  transform: scale(1.04);
}
.feature-icon i {
  font-size: 22px;
  color: var(--accent-strong);
}

/* Tipografía */
.feature-card h3 {
  color: var(--ink-strong);
  font-weight: 600;
  margin: 6px 0 8px;
  letter-spacing: 0.2px;
}
.feature-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--ink);
}

/* Steps / Chapters */
.feature-chapters {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(16px, 3vw, 28px);
  color: #fff;
}
.feature-chapters h3 {
  margin-bottom: 16px;
  color: #fff;
}
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 2vw, 20px);
}
.chapter-item {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: left;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.chapter-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}
.chapter-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 6px;
}
.chapter-item h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 4px 0 6px;
}
.chapter-item p {
  color: #f4e9e6;
  margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .chapters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575.98px) {
  .chapters-grid {
    grid-template-columns: 1fr;
  }
}

/* Respeto accesibilidad de movimiento */
@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-icon,
  .chapter-item {
    transition: none !important;
  }
}
/*--------------------------------------------------------------
# services Section
--------------------------------------------------------------*/
.servicios .section-title p {
  color: var(--default-color);
  opacity: 0.9;
}

.audiencia-btn {
  font-family: var(--nav-font);
  background: color-mix(in srgb, var(--sgm-verde), transparent 80%);
  border: 1px solid var(--sgm-verde);
  color: var(--blanco-hueso);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 600;
}
.audiencia-btn:hover {
  transform: translateY(-2px);
}
.audiencia-btn.is-active {
  background: var(--sgm-verde);
  color: #3b2e23;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.servicio-card {
  flex: 1 1 260px;
  max-width: 320px;
  background: var(--surface-color);
  border: 1px solid var(--surface-divider);
  border-radius: 12px;
  padding: 18px;
  color: var(--surface-text);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.25s;
}
.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.09);
}

.servicio-card h3 {
  color: var(--chocolate-suave);
  font-size: 18px;
  margin: 0 0 6px;
}
.servicio-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--chocolate-suave);
  margin-bottom: 8px;
}
.servicio-desc {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--chocolate-suave);
}

.servicio-actions {
  display: flex;
  gap: 10px;
}

.servicio-actions .btn-outline {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.servicio-actions .btn-primary {
  background: var(--sgm-piel);
  color: var(--ink-strong);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
}
.servicios-cta {
  text-align: center;
  margin-top: 50px;
}

.servicios-cta a.btn-primary {
  display: inline-block; /* se comporta como botón */
  background-color: var(--sgm-piel);
  color: var(--ink-strong);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

a.btn-primary:hover {
  background-color: var(--sgm-verde);
  transform: translateY(-2px);
}

.audiencia-switch {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px 0 26px;
}

.audiencia-switch .audiencia-btn {
  display: inline-flex; /* icono + texto en línea */
  align-items: center;
  gap: 8px; /* espacio entre icono y texto */
  /* el resto de tus estilos… */
}

.audiencia-switch .audiencia-btn i {
  font-size: 1.1em; /* un toque más grande */
  line-height: 0;
}

@media (max-width: 576px) {
  .audiencia-switch {
    flex-direction: column; /* se apilan en columna */
    align-items: center;
    gap: 12px;
  }

  .audiencia-switch .audiencia-btn {
    width: 100%;
    max-width: 280px; /* opcional, para que no ocupen todo el ancho */
    justify-content: center;
    text-align: center;
  }
}
/*--------------------------------------------------------------
# Excerpt Section
--------------------------------------------------------------*/
.excerpt {
  padding: 80px 0;
  background-color: var(--background-color);
  overflow: hidden;
}

.excerpt .book-excerpt-wrapper {
  position: relative;
}

.excerpt .book-page-design {
  background-color: var(--surface-color);
  padding: 50px 40px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .excerpt .book-page-design {
    padding: 40px 25px;
  }
}

.excerpt .book-page-design:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--sgm-piel);
}

.excerpt .book-page-design .page-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-family: var(--heading-font);
}

.excerpt .book-page-design .chapter-title {
  text-align: center;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 30px;
  position: relative;
}

.excerpt .book-page-design .chapter-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--sgm-piel);
}

.excerpt .book-page-design .excerpt-content {
  font-family: "Georgia", serif;
  line-height: 1.8;
  color: var(--default-color);
}

.excerpt .book-page-design .excerpt-content p {
  margin-bottom: 20px;
  text-align: justify;
  color: var(--accent-color);
}

.excerpt .book-page-design .excerpt-content .first-letter:first-letter {
  font-size: 3.5em;
  float: left;
  line-height: 0.8;
  margin-right: 10px;
  color: var(--sgm-piel);
  font-family: var(--heading-font);
  font-weight: 600;
}

.excerpt .book-page-design .excerpt-content .dialogue {
  padding-left: 20px;
  border-left: 2px solid var(--sgm-piel);
  font-style: italic;
}

.excerpt .book-page-design .page-decoration {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.excerpt .book-page-design .page-decoration:after {
  content: "✦";
  font-size: 18px;
  color: color-mix(in srgb, var(--accent-color), transparent 30%);
}

.excerpt .cta-wrapper {
  margin-top: 30px;
}

.excerpt .cta-wrapper .btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--sgm-piel);
  color: var(--ink-strong);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.excerpt .cta-wrapper .btn-read-more i {
  transition: transform 0.3s ease;
}

.excerpt .cta-wrapper .btn-read-more:hover {
  background-color: var(--sgm-verde);
  color: var(--ink-strong);
  transform: translateY(-3px);
}

.excerpt .cta-wrapper .btn-read-more:hover i {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .excerpt .section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .excerpt {
    padding: 60px 0;
  }

  .excerpt .section-header h2 {
    font-size: 24px;
  }

  .excerpt .book-page-design .chapter-title {
    font-size: 18px;
  }

  .excerpt .book-page-design .excerpt-content .first-letter:first-letter {
    font-size: 3em;
  }
}

/*--------------------------------------------------------------
# About Author Section
--------------------------------------------------------------*/
.about-author {
  padding: 80px 0;
  overflow: hidden;
}

.about-author .author-image {
  position: relative;
  margin-bottom: 30px;
}

.author-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); /* Blanco con 35% opacidad */
  border-radius: 14px;
  pointer-events: none;
}

.about-author .author-image img {
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.about-author .author-image .author-signature {
  position: absolute;
  bottom: -25px;
  right: 20px;
  background-color: var(--surface-color);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  width: 40%;
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
  z-index: 10;
}

.about-author .author-image .author-signature img {
  width: 100%;
  height: auto;
  box-shadow: none;
}

.about-author .author-image .author-signature:hover {
  transform: rotate(0deg);
}

@media (max-width: 992px) {
  .about-author .author-image {
    max-width: 450px;
    margin: 0 auto 30px;
  }
}

.about-author .author-info h2 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sgm-verde);
  margin-bottom: 10px;
}

.about-author .author-info h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--sgm-piel);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .about-author .author-info h3 {
    font-size: 30px;
  }
}

.about-author .author-info .author-credentials {
  font-size: 18px;
  color: color-mix(in srgb, var(--sgm-verde), transparent 20%);
  margin-bottom: 25px;
  font-style: italic;
}

.about-author .author-info .author-bio {
  margin-bottom: 30px;
}

.about-author .author-info .author-bio p {
  color: var(--default-color);
  margin-bottom: 15px;
  line-height: 1.6;
}

.about-author .author-info .author-bio p:last-child {
  margin-bottom: 0;
}

.about-author .author-info .author-awards {
  margin-bottom: 30px;
}

.about-author .author-info .author-awards h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--sgm-piel);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.about-author .author-info .author-awards h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--sgm-verde);
}

.about-author .author-info .author-awards ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-author .author-info .author-awards ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.about-author .author-info .author-awards ul li i {
  color: var(--sgm-verde);
  font-size: 18px;
  margin-right: 10px;
  flex-shrink: 0;
}

.about-author .author-info .author-awards ul li i:hover {
  color: var(--sgm-piel);
}

.about-author .author-info .author-awards ul li span {
  color: var(--default-color);
  line-height: 1.4;
}

.about-author .author-info .author-social h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.about-author .author-info .author-social h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--sgm-verde);
}

.about-author .author-info .author-social .social-links {
  display: flex;
  gap: 15px;
}

.about-author .author-info .author-social .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--sgm-verde);
  color: var(--ink-strong);
  font-size: 18px;
  transition: all 0.3s ease;
}

.about-author .author-info .author-social .social-links a:hover {
  background-color: var(--sgm-piel);
  color: var(--ink-strong);
  transform: translateY(-5px);
}

@media (max-width: 992px) {
  .about-author .author-info {
    text-align: center;
  }

  .about-author .author-info h2,
  .about-author .author-info h3,
  .about-author .author-info .author-credentials {
    text-align: center;
  }

  .about-author .author-info .author-awards h4:after,
  .about-author .author-info .author-social h4:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-author .author-info .author-awards ul li {
    justify-content: center;
  }

  .about-author .author-info .author-social .social-links {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  overflow: hidden;
}

.testimonials .testimonials-container {
  margin-bottom: 60px;
}

.testimonials .testimonials-container .swiper-wrapper {
  height: auto !important;
  padding-bottom: 20px;
}

.testimonials .testimonials-container .testimonial-item {
  background-color: var(--surface-color);
  /* padding: 30px; */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border-top: 3px solid var(--accent-color);
}

.testimonials .testimonials-container .testimonial-item .stars {
  margin-bottom: 15px;
  display: flex;
}

.testimonials .testimonials-container .testimonial-item .stars i {
  color: #ffd700;
  margin-right: 3px;
  font-size: 16px;
}

.testimonials .testimonials-container .testimonial-item p {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--accent-color);
  line-height: 1.6;
}

.testimonials .testimonials-container .testimonial-item .testimonial-profile {
  display: flex;
  align-items: center;
}

.testimonials
  .testimonials-container
  .testimonial-item
  .testimonial-profile
  img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid color-mix(in srgb, var(--marron-claro), transparent 80%);
  margin-right: 15px;
}

.testimonials
  .testimonials-container
  .testimonial-item
  .testimonial-profile
  div
  h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px;
  color: var(--marron-claro);
}

.testimonials
  .testimonials-container
  .testimonial-item
  .testimonial-profile
  div
  h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--marron-claro), transparent 30%);
  margin: 0;
  font-weight: normal;
}

.testimonials .testimonials-container .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials
  .testimonials-container
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--sgm-verde);
  opacity: 1;
}

.testimonials
  .testimonials-container
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--sgm-piel);
  width: 20px;
  border-radius: 10px;
}

.testimonials .overall-rating {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

.testimonials .overall-rating .rating-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
  margin-bottom: 10px;
}

.testimonials .overall-rating .rating-stars {
  margin-bottom: 15px;
}

.testimonials .overall-rating .rating-stars i {
  color: #ffd700;
  font-size: 22px;
  margin: 0 3px;
}

.testimonials .overall-rating p {
  color: var(--default-color);
  font-size: 15px;
  margin-bottom: 15px;
}

.testimonials .overall-rating .rating-platforms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.testimonials .overall-rating .rating-platforms span {
  font-size: 14px;
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 5px 15px;
  border-radius: 20px;
}

@media (max-width: 992px) {
  .testimonials .section-header h2 {
    font-size: 28px;
  }

  .testimonials .critic-reviews .critic-review {
    margin-bottom: 30px;
  }

  .testimonials .testimonials-container .testimonial-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }

  .testimonials .section-header h2 {
    font-size: 24px;
  }

  .testimonials .overall-rating {
    padding: 30px;
  }

  .testimonials .overall-rating .rating-number {
    font-size: 36px;
  }

  .testimonials .overall-rating .rating-stars i {
    font-size: 18px;
  }
}

.testimonial-image img {
  border-radius: 12px; /* bordes redondeados estilo chat */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* sombra leve */
}

/* =======================
   Medios (Prensa / Radio / Video) — SGM+
   Paleta: --sgm-verde | --sgm-piel | --ink-strong | --blanco-hueso
   ======================= */

.medios{
  --medios-max: 1180px;
  --card-w: 300px;
  --thumb-h: 180px;
  --body-min: 150px;

  /* derivados útiles (todo con color-mix para mantener paleta) */
  --ink-soft: color-mix(in srgb, var(--ink-strong) 70%, var(--blanco-hueso));
  --ink-faint: color-mix(in srgb, var(--ink-strong) 45%, var(--blanco-hueso));
  --line-soft: color-mix(in srgb, var(--ink-strong) 18%, transparent);
  --chip-bg: color-mix(in srgb, var(--blanco-hueso) 6%, transparent);
  --chip-bd: color-mix(in srgb, var(--blanco-hueso) 18%, transparent);
  --elev: 0 4px 10px color-mix(in srgb, var(--ink-strong) 10%, transparent);
  --elev-lg: 0 8px 18px color-mix(in srgb, var(--ink-strong) 16%, transparent);
}

/* Chips de filtro */
.medios .btn-chip{
  background: var(--chip-bg);
  border: 1.5px solid var(--chip-bd);
  color: var(--blanco-hueso);
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: .9rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .2s ease;
}
.medios .btn-chip.is-active{ background: var(--sgm-verde); color: var(--ink-strong); border-color: transparent; }
.medios .btn-chip:hover{ background: var(--sgm-piel); color: var(--ink-strong); }

/* Contenedor centrado */
.media-grid{
  display:block;
  max-width: var(--medios-max);
  margin-inline: auto;
  padding-inline: 12px;
  box-sizing: border-box;
}

/* Swiper sin navegación ni bullets */
.medios .medios-swiper{
  position: relative;
  width: 100%;
  max-width: var(--medios-max);
  margin-inline: auto;
  padding: 6px 0 0;
  overflow: hidden;
  box-sizing: border-box;
}
.medios .medios-swiper .swiper-wrapper{ align-items: stretch; }
.medios .medios-swiper .swiper-slide{ display:flex; justify-content:center; height:auto; }
.medios .medios-swiper .swiper-button-prev,
.medios .medios-swiper .swiper-button-next,
.medios .medios-swiper .swiper-pagination{ display:none !important; }

/* Card consistente */
.media-card{
  background: var(--sgm-verde);
  color: var(--ink-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--elev);
  width: var(--card-w);
  max-width: var(--card-w);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.media-card:hover{ transform: translateY(-2px); box-shadow: var(--elev-lg); }

/* Thumb con alto fijo */
.media-thumb{
  position: relative;
  height: var(--thumb-h);
  background: color-mix(in srgb, var(--blanco-hueso) 92%, transparent);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.media-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* Si es logo: fondo claro y ajuste */
.media-card.is-logo .media-thumb{ background: var(--blanco-hueso); }
.media-card.is-logo .media-thumb img{ object-fit: contain; padding: 12px; }

/* Badges */
.media-badge{
  position:absolute; top:6px; left:6px;
  display:inline-flex; align-items:center; gap:.35rem;
  background: color-mix(in srgb, var(--sgm-verde) 72%, transparent);
  color: var(--ink-strong);
  padding:.16rem .4rem; border-radius:999px; font-size:.72rem;
}
.media-source{
  position:absolute; bottom:6px; left:6px;
  background: color-mix(in srgb, var(--sgm-piel) 90%, transparent);
  color: var(--ink-strong);
  padding:.12rem .4rem; border-radius:6px; font-size:.7rem;
}

/* Body */
.media-body{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:.35rem;
  min-height: var(--body-min);
}
.media-title{
  font-size:.92rem;
  font-weight:600;
  line-height:1.32;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  min-height: 2.7em;
  color: var(--ink-strong);
}
.media-meta{
  font-size:.74rem;
  color: var(--ink-strong);
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}

/* Acciones */
.media-actions{ margin-top:auto; display:flex; gap:.5rem; }
.media-actions a{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.28rem .55rem; border-radius:6px;
  border: 1px solid var(--line-soft);
  text-decoration:none;
  font-size:.78rem;
  color: var(--ink-strong);
  background: color-mix(in srgb, var(--blanco-hueso) 3%, transparent);
  transition: background .2s ease, border-color .2s ease;
}
.media-actions a:hover{
  background: var(--sgm-piel);
  border-color: transparent;
}
/*--------------------------------------------------------------
# Purchase Section
--------------------------------------------------------------*/
/* .purchase {
  padding: 80px 0;
  overflow: hidden;
}

.purchase .book-format-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.purchase .book-format-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  opacity: 0.7;
}

.purchase .book-format-card .format-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
}

.purchase .book-format-card .format-icon i {
  font-size: 28px;
  color: var(--accent-color);
}

.purchase .book-format-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--marron-claro);
  margin-bottom: 10px;
}

.purchase .book-format-card .format-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.purchase .book-format-card .format-features {
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
  text-align: left;
}

.purchase .book-format-card .format-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--accent-color);
  line-height: 1.5;
}

.purchase .book-format-card .format-features li i {
  color: var(--accent-color);
  margin-right: 10px;
  flex-shrink: 0;
  font-size: 16px;
  transform: translateY(2px);
}

.purchase .book-format-card .buy-options .btn-purchase {
  display: grid;
  place-items: center;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  width: 100%;
}

.purchase .book-format-card .buy-options .btn-purchase:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

.purchase .book-format-card .buy-options .retailers {
  margin-top: 15px;
}

.purchase .book-format-card .buy-options .retailers span {
  display: block;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 8px;
}

.purchase .book-format-card .buy-options .retailers .retailer-logos {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.purchase .book-format-card .buy-options .retailers .retailer-logos a {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: all 0.3s ease;
}

.purchase .book-format-card .buy-options .retailers .retailer-logos a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.purchase .book-format-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .purchase .book-format-card {
    margin-bottom: 20px;
  }
}

.purchase .bundle-offer {
  background-color: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.purchase .bundle-offer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--sgm-piel);
}

.purchase .bundle-offer h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--marron-claro);
  margin-bottom: 15px;
}

.purchase .bundle-offer p {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.purchase .bundle-offer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.purchase .bundle-offer ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--accent-color);
}

.purchase .bundle-offer ul li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 18px;
  flex-shrink: 0;
}

.purchase .bundle-offer .bundle-price {
  margin-bottom: 25px;
}

.purchase .bundle-offer .bundle-price .original {
  font-size: 18px;
  color: color-mix(in srgb, var(--marron-claro), transparent 30%);
  text-decoration: line-through;
  margin-right: 15px;
}

.purchase .bundle-offer .bundle-price .discounted {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
}

.purchase .bundle-offer .btn-bundle {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.purchase .bundle-offer .btn-bundle:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

.purchase .bundle-offer .bundle-image img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.purchase .bundle-offer .bundle-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .purchase .bundle-offer {
    padding: 30px;
  }

  .purchase .bundle-offer .bundle-image {
    margin-top: 30px;
    text-align: center;
  }

  .purchase .bundle-offer .bundle-image img {
    max-width: 250px;
  }

  .purchase .bundle-offer h3 {
    font-size: 22px;
  }

  .purchase .bundle-offer .bundle-price .discounted {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .purchase .section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .purchase {
    padding: 60px 0;
  }

  .purchase .section-header h2 {
    font-size: 24px;
  }
} */

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.faq .faq-description {
  font-size: 1rem;
  color: var(--default-color);
  margin-bottom: 2rem;
}

.faq .faq-arrow {
  color: var(--sgm-verde);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--marron-claro);
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 80px 0;
  overflow: hidden;
}

.contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .contact .contact-info {
    margin-bottom: 40px;
  }
}

.contact .contact-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.contact .contact-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.contact .contact-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--marron-claro);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.contact .contact-card h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.contact .contact-card p {
  color: var(--accent-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact .contact-card .contact-details {
  margin-bottom: 25px;
}

.contact .contact-card .contact-details .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact .contact-card .contact-details .contact-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 15px;
  margin-top: 5px;
  flex-shrink: 0;
}

.contact .contact-card .contact-details .contact-item div h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--marron-claro);
  margin: 0 0 5px;
}

.contact .contact-card .contact-details .contact-item div p {
  font-size: 14px;
  color: var(--accent-color);
  margin: 0 0 5px;
  line-height: 1.5;
}

.contact .contact-card .contact-details .contact-item div p:last-child {
  margin-bottom: 0;
}

.contact .contact-card .contact-details .contact-item:last-child {
  margin-bottom: 0;
}

.contact .contact-card .social-links {
  display: flex;
  gap: 12px;
}

.contact .contact-card .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--sgm-piel);
  color: var(--ink-strong);
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact .contact-card .social-links a:hover {
  background-color: var(--sgm-verde);
  color: var(--ink-strong);
  transform: translateY(-3px);
}

.contact .contact-form-wrapper {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 35px;
  position: relative;
  overflow: hidden;
}

.contact .contact-form-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.contact .contact-form-wrapper .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .contact-form-wrapper .php-email-form .form-group label {
  font-weight: 500;
  color: var(--marron-claro);
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control {
  height: auto;
  border-radius: 8px;
  padding: 12px 20px;
  border: 1px solid var(--sgm-verde);
  color: var(--ink-strong);
  background-color: var(--surface-color);
  font-size: 14px;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: none;
}

.contact
  .contact-form-wrapper
  .php-email-form
  .form-group
  .form-control::placeholder {
  color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact
  .contact-form-wrapper
  .php-email-form
  .form-group
  textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact .contact-form-wrapper .php-email-form .form-check {
  margin-bottom: 20px;
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input {
  margin-top: 0.3em;
}

.contact
  .contact-form-wrapper
  .php-email-form
  .form-check
  .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.contact
  .contact-form-wrapper
  .php-email-form
  .form-check
  .form-check-input:focus {
  box-shadow: none;
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-label {
  color: var(--default-color);
  font-size: 14px;
  padding-left: 5px;
}

.contact .contact-form-wrapper .php-email-form button {
  background-color: var(--sgm-piel);
  color: var(--ink-strong);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact .contact-form-wrapper .php-email-form button:hover {
  background-color: var(--sgm-verde);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .contact .contact-card,
  .contact .newsletter-card,
  .contact .contact-form-wrapper {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }

  .contact .contact-card h3 {
    font-size: 20px;
  }

  .contact .newsletter-card h3 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Related Books Section
--------------------------------------------------------------*/
.related-books {
  padding: 80px 0;
  overflow: hidden;
}

.related-books .related-book-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
}

.related-books .related-book-card .book-image {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 20px;
}

.related-books .related-book-card .book-image img {
  width: 60%;
  transition: transform 0.5s ease;
}

.related-books .related-book-card .book-image .book-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--sgm-verde);
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 20px;
}

.related-books .related-book-card .book-info {
  padding: 25px;
}

.related-books .related-book-card .book-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-strong);
  margin-bottom: 10px;
  line-height: 1.3;
}

.related-books .related-book-card .book-info .book-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.related-books .related-book-card .book-info .book-meta span {
  font-size: 14px;
  color: color-mix(in srgb, var(--accent-color), transparent 30%);
  display: flex;
  align-items: center;
}

.related-books .related-book-card .book-info .book-meta span i {
  color: var(--accent-color);
  margin-right: 5px;
}

.related-books .related-book-card .book-info .book-meta span:last-child i {
  color: #ffd700;
}

.related-books .related-book-card .book-info p {
  font-size: 15px;
  color: var(--accent-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.related-books .related-book-card .book-info .book-actions {
  display: flex;
  gap: 10px;
}

.related-books .related-book-card .book-info .book-actions .btn-details {
  background-color: transparent;
  border: 2px solid var(--sgm-verde);
  color: var(--ink-strong);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: grid;
  place-items: center;
}

.related-books .related-book-card .book-info .book-actions .btn-details:hover {
  background-color: var(--sgm-verde);
}

.related-books .related-book-card .book-info .book-actions .btn-purchase {
  background-color: var(--sgm-piel);
  color: var(--ink-strong);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: grid;
  place-items: center;
}

.related-books .related-book-card .book-info .book-actions .btn-purchase:hover {
  background-color: var(--sgm-verde);
  color: var(--ink-strong);
}

.related-books .related-book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-books .related-book-card:hover .book-image img {
  transform: scale(1.05);
}

.related-books .coming-soon {
  background-color: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 40px;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.related-books .coming-soon .coming-soon-badge {
  position: absolute;
  top: 20px;
  right: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.related-books .coming-soon .upcoming-book-image {
  position: relative;
}

.related-books .coming-soon .upcoming-book-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.related-books .coming-soon .upcoming-book-image img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .related-books .coming-soon .upcoming-book-image {
    margin-bottom: 30px;
  }

  .related-books .coming-soon .upcoming-book-image img {
    max-width: 200px;
  }
}

.related-books .coming-soon .upcoming-book-info {
  text-align: left;
  padding-left: 20px;
}

.related-books .coming-soon .upcoming-book-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--marron-claro);
  margin-bottom: 10px;
}

.related-books .coming-soon .upcoming-book-info .release-date {
  font-size: 16px;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.related-books .coming-soon .upcoming-book-info .description {
  font-size: 15px;
  color: var(--accent-color);
  line-height: 1.6;
  margin-bottom: 25px;
}

.related-books .coming-soon .upcoming-book-info .btn-notify {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.related-books .coming-soon .upcoming-book-info .btn-notify:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .related-books .coming-soon .upcoming-book-info {
    padding-left: 0;
    text-align: center;
  }

  .related-books .coming-soon .upcoming-book-info h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .related-books .coming-soon {
    padding: 30px;
  }
}

@media (max-width: 992px) {
  .related-books .section-header h2 {
    font-size: 28px;
  }

  .related-books .related-book-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .related-books {
    padding: 60px 0;
  }

  .related-books .section-header h2 {
    font-size: 24px;
  }

  .related-books .related-book-card .book-image img {
    height: 220px;
  }

  .related-books .related-book-card .book-info {
    padding: 20px;
  }

  .related-books .related-book-card .book-info h3 {
    font-size: 18px;
  }
}

.related-book-card .descripcion {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
}
.related-book-card .descripcion.expandido {
  -webkit-line-clamp: unset;
}

/* 📌 Paginación (bullets) */
.related-books-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--sgm-verde); /* gris/marrón claro apagado */
  opacity: 1;
  margin: 0 4px !important;
  transition: all 0.3s ease;
}

.related-books-slider .swiper-pagination-bullet-active {
  background: var(--sgm-piel); /* marrón principal */
  transform: scale(1.2);
}

/* 📌 Opcional: darle forma redondeada */
.related-books-slider .swiper-pagination-bullet {
  border-radius: 50%;
}
.related-books-slider .swiper-pagination-bullet:hover {
  background-color: var(--sgm-piel);
}
/* 📌 Flechas de navegación (si las usás) */
.related-books-slider .swiper-button-prev,
.related-books-slider .swiper-button-next {
  color: #5c4433; /* marrón principal */
  background: #fff; /* fondo blanco */
  border: 2px solid #5c4433;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.related-books-slider .swiper-button-prev:hover,
.related-books-slider .swiper-button-next:hover {
  background: #5c4433;
  color: #fff;
}

.related-books-slider .swiper-pagination {
  margin-top: 20px; /* ajustá el valor según lo que necesites */
  position: relative; /* evita que se superpongan */
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  overflow: hidden;
}

.call-to-action .cta-wrapper {
  background: linear-gradient(
    to right,
    var(--sgm-verde),
    color-mix(in srgb, var(--bg-brown), transparent 30%)
  );
  border-radius: 15px;
  padding: 50px;
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.call-to-action .cta-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

@media (max-width: 768px) {
  .call-to-action .cta-wrapper {
    padding: 30px;
    text-align: center;
  }
}

.call-to-action .cta-book-image {
  position: relative;
  transform: rotate(5deg);
  transition: all 0.3s ease;
}

.call-to-action .cta-book-image img {
  border-radius: 8px;
  max-width: 100%;
}

.call-to-action .cta-book-image:hover {
  transform: rotate(0) translateY(-10px);
}

@media (max-width: 768px) {
  .call-to-action .cta-book-image {
    margin: 0 auto 30px;
    max-width: 200px;
  }
}

.call-to-action .cta-content {
  position: relative;
  z-index: 1;
}

.call-to-action .cta-content .badge {
  display: inline-block;
  background-color: var(--sgm-piel);
  color: var(--ink-strong);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.call-to-action .cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--ink-strong);
}

@media (max-width: 992px) {
  .call-to-action .cta-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .call-to-action .cta-content h2 {
    font-size: 24px;
  }
}

.call-to-action .cta-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
}

.call-to-action .cta-content .cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.call-to-action .cta-content .cta-features .feature-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.call-to-action .cta-content .cta-features .feature-item i {
  font-size: 18px;
  margin-right: 8px;
  color: var(--sgm-verde);
}

.call-to-action .cta-content .cta-features .feature-item span {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .call-to-action .cta-content .cta-features {
    justify-content: center;
  }

  .call-to-action .cta-content .cta-features .feature-item {
    margin-right: 0;
  }
}

.call-to-action .cta-content .countdown-timer {
  margin-bottom: 30px;
}

.call-to-action .cta-content .countdown-timer p {
  margin-bottom: 10px;
  font-size: 15px;
  opacity: 0.9;
}

.call-to-action .cta-content .countdown-timer .countdown {
  display: flex;
  gap: 15px;
}

.call-to-action .cta-content .countdown-timer .countdown div {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 15px;
  min-width: 70px;
  text-align: center;
}

.call-to-action .cta-content .countdown-timer .countdown div h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--ink-strong);
}

.call-to-action .cta-content .countdown-timer .countdown div h4 {
  font-size: 12px;
  margin: 0;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 500;
  color: var(--contrast-color);
}

@media (max-width: 576px) {
  .call-to-action .cta-content .countdown-timer .countdown div {
    min-width: 50px;
    padding: 8px 10px;
  }

  .call-to-action .cta-content .countdown-timer .countdown div h3 {
    font-size: 18px;
  }

  .call-to-action .cta-content .countdown-timer .countdown div h4 {
    font-size: 10px;
  }
}

.call-to-action .cta-content .cta-buttons {
  display: flex;
  gap: 15px;
}

.call-to-action .cta-content .cta-buttons .btn-primary {
  background-color: var(--sgm-piel);
  color: var(--ink-strong);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.call-to-action .cta-content .cta-buttons .btn-primary:hover {
  background-color: var(--sgm-verde);
  transform: translateY(-3px);
  color: var(--ink-strong);
}

.call-to-action .cta-content .cta-buttons .btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.call-to-action .cta-content .cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .call-to-action .cta-content .cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .call-to-action .cta-content .cta-buttons .btn-primary,
  .call-to-action .cta-content .cta-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .call-to-action {
    padding: 60px 0;
  }
}

.wasap {
  right: 30px;
  bottom: 30px;
  z-index: 10000;
  visibility: visible;
  animation-duration: 3s;
  animation-delay: 0s;
  animation-iteration-count: 100;
  position: fixed;
  width: 60px;
  height: 60px;
}

@keyframes tada {
  from,
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  10%,
  20% {
    -webkit-transform: scale3d(0.95, 0.95, 0.95) rotate3d(0, 0, 1, -10deg);
    transform: scale3d(0.95, 0.95, 0.95) rotate3d(0, 0, 1, -10deg);
  }
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
    transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
  }
  40%,
  60%,
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }
}
/* Emociones – estilo scoped */
.emociones .emociones-grid2 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 576px) {
  .emociones .emociones-grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .emociones .emociones-grid2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.emotion-item {
  background: hsla(0, 0%, 100%, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: saturate(120%) blur(0.5px);
  padding: 16px 16px 14px;
  border-radius: 16px;
}
.emotion-item:hover {
  background: rgba(188, 192, 176, 0.2);
}
.emotion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.emotion-index {
  font-weight: 700;
  opacity: 0.9;
}
.emotion-head h4 {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.2;
}
.emotion-range {
  font-size: 0.95rem;
  opacity: 0.85;
}

.emotion-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
/* Visualiza el rango min–max con CSS vars: --start y --end */
.emotion-fill {
  position: absolute;
  left: calc(var(--start) * 1%);
  width: calc((var(--end) - var(--start)) * 1%);
  height: 100%;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.75;
}
/* tono del texto/barras – hereda del tema; si necesitás más contraste: */
.emociones .emotion-item {
  color: #f4e2de;
}
/* -------- Varones (afinado SGM+) -------- */
.varones .section-title p { opacity: .9; }

.varones-card{
  background: var(--sgm-verde);
  color: var(--ink-strong);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ink-strong) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink-strong) 10%, transparent);
  /* ancho cómodo de lectura */
  max-width: 68ch;
}

.varones-card h3{
  font-weight: 700;
  line-height: 1.25;
  /* escala fluida del título */
  font-size: clamp(1.25rem, 1rem + 2vw, 2rem);
  margin-bottom: .85rem;
}

.varones-card p{ margin-bottom: .85rem; line-height: 1.65; }

.varones-list{
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .5rem;
}
.varones-list li{ display: flex; gap: .5rem; align-items: flex-start; }
.varones-list i{ margin-top: .15rem; font-size: 1rem; color: var(--ink-strong); opacity: .9; }

.varones-cta{ display: flex; gap: .6rem; margin-top: 12px; }

/* Botones consistentes con SGM+ */
.varones .btn-primary{
  background: var(--ink-strong);
  color: var(--blanco-hueso);
  border: 1px solid var(--ink-strong);
  padding: .55rem .9rem;
  border-radius: 10px;
}
.varones .btn-primary:hover{ filter: brightness(1.05); }

.varones .btn-secondary{
  background: transparent;
  color: var(--ink-strong);
  border: 1px solid var(--ink-strong);
  padding: .55rem .9rem;
  border-radius: 10px;
}
.varones .btn-secondary:hover{
  background: color-mix(in srgb, var(--sgm-piel) 35%, transparent);
}

/* Imagen */
.varones-illustration img{
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Layout y espacios */
.varones .row{ row-gap: 28px; }
@media (max-width: 991.98px){
  .varones .row{ row-gap: 18px; }
  /* si querés que la imagen aparezca debajo del texto en mobile,
     dejá esto; si la preferís arriba, poné order:-1 */
  .varones-illustration{ order: 2; }
  .varones-card{ order: 1; padding: 20px; }
}