html, body {
  overflow-x: hidden;
}

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

section, header, footer {
  width: 100%;
}

:root{
  --bg:#fff;
  --text:#222222;
  --muted:#6b6b6b;
  --accent:#000000;
  --card:#ffffff;
}

*{margin:0;padding:0;box-sizing:border-box;}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.6;
}

/* ---------------- FONTS ---------------- */

@font-face {
  font-family: 'BestSchool';
  src: url('/assets/fonts/BestSchool.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Regisha';
  src: url('/assets/fonts/Regisha.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Comfortaa-Bold';
  src: url('/assets/fonts/Comfortaa-Bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Comfortaa-Light';
  src: url('/assets/fonts/Comfortaa-Light.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Comfortaa-Regular';
  src: url('/assets/fonts/Comfortaa-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}


/* ---------------- HEADER ---------------- */

/* Franja Superior */
.top-bar{
  display:block;
  background:#99D4F9;
  color: #fff;
  text-align:center;
  padding:10px 0;
  font-size:0.95rem;
  letter-spacing:0.5px;
  text-decoration:none;
  transition:all .3s ease;
}

.top-bar:hover{
  background:#0092c7;
  color:#fff;
}

/* Header */
.main-header{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:center;
  padding:25px 7%;
  background:#fdfaff;
}

/* Buscador */
.header-search {
  position: relative; /* necesario para posicionar la lupa */
  display: inline-block;
}

.header-search input {
  padding: 8px 12px 8px 35px; /* espacio izquierdo para el icono */
  border-radius: 25px;
  border: 2px solid #C7A6E0;
  outline: none;
  width: 200px;
  font-family: 'Comfortaa-Regular';
}

.header-search .search-icon {
  position: absolute;
  left: 12px;  /* separación desde el borde izquierdo */
  top: 50%;
  transform: translateY(-50%); /* centra verticalmente la lupa */
  font-size: 1rem;
  pointer-events: none; /* evita que la lupa interfiera con el input */
  color: #C7A6E0;
}

/* Logo */
.header-logo{
  text-align:center;
}
.header-logo img{
  height:80px;
}

/* Redes */
.header-social{
  display:flex;
  justify-content:flex-end;
  gap:12px;
}

.header-social img{
  width:30px;
  height:30px;
  transition:transform .2s ease;
}

.header-social img:hover{
  transform:scale(1.2);
}

/* Menu Inferior */
.lower-menu {
  background:#C7A6E0;
  padding:14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  font-family: 'Comfortaa-Regular';
}

.lower-menu-inner{
  width:85%;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:100px;
}

.lower-menu ul{
  display:flex;
  gap:100px;
  list-style:none;
  align-items:center;
}

.lower-menu a{
  text-decoration:none;
  color:#ffffff;
  font-weight:600;
  letter-spacing:0.5px;
  transition:.2s;
}

.lower-menu a:hover{
  color:#7f36b7;
}

.lower-menu.scrolled{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* ---------------- HERO ---------------- */

/* Background */
.hero {
  position: relative;
  min-height: 75vh;
  height: auto;
  padding: 80px 0 100px;
  width: 100%;
  background: url('/assets/bg/principalhero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

/* Text */

.hero-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: 'Regisha';
  color: #ee4176;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #606060;
  font-family: 'Comfortaa-Bold';
}

/* Button */

.hero-btn {
  display: inline-block;
  position: relative;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Comfortaa-Light';
  text-decoration: none;
  color: #70251f; 
  background-color: #ffe6e5;
  border: 4px solid #ca134a;
  border-radius: 12px;
  box-shadow: -8px 8px 0 #ca134a;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-btn:hover {
  transform: translateX(-8px) translateY(8px);
  box-shadow: 0 0px 0;
}

.hero-btn:active {
  transform: translateX(-8px) translateY(8px);
  box-shadow: 0 0 0;
}

/* Stickers */

.hero-sticker {
  position: absolute;
  width: 15vw;
  height: auto;
  z-index: 3;
  transition: transform 0.1s;
  pointer-events: auto;
  transform-style: preserve-3d;
}

.sticker1 { top: -1%; left: 18%; }
.sticker2 { top: 30%; left: 6%; }
.sticker3 { bottom: 10%; left: 23%; }
.sticker4 { bottom: 12%; right: 20%; }
.sticker5 { top: 35%; right: 5%; }
.sticker6 { top: 3%; right: 15%; }

/* Banda */

.spoiler-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
  background: #fdf288;
  display: flex;
  align-items: center;
  z-index: 10;
}

.spoiler-text {
  display: flex;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: bold;
  font-family: 'Comfortaa-Light';
  font-style: italic;
  color: #e34965;
  animation: scrollText 20s linear infinite;
}

/* animación simple de scroll */
@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* El JS se encarga de duplicar el contenido */
}

/* ---------------- REVIEWS ---------------- */

.reviews-section{
  width: 100%;
  padding: 50px 0;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  background: #fff;
  gap: 70px;
}

/* Bloque superior */
.reviews-intro{
  width: 80%;
  margin: auto;
  background: #fde9f1;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
}

.reviews-intro h2{
  font-size: 3rem;
  font-family: 'Regisha';
  margin-bottom: 10px;
  color:#c4207d;
}

.reviews-intro h2 a{
  color: #c4207d;
  text-decoration: none;
}

.reviews-intro h2 a:hover,
.reviews-intro h2 a:focus{
  text-decoration: none;
  color: #c4207d;
}


.reviews-intro p{
  font-size: 1.1rem;
  font-family: 'Comfortaa-Regular';
  color:#333;
}

.reviews-scroller{
  width: 80%;
  display: flex;
  gap: 25px;
  overflow-x: scroll;
  scroll-behavior: smooth;
}

.review-card{
  min-width: 300px;
  height: 430px;
  border-radius: 35px;
  border: #FBEB9B;
  border-style: solid;
  border-width: .5rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.review-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pink{
  background: #ff69b4;
  color: white;
  text-align: center;
  padding: 40px;
}

.reviews-arrow{
  background: #99D4F9;
  border: none;
  width: 55px;
  height: 55px;
  font-family: 'Regisha';
  border-radius: 14px;
  font-size: 20px;
  color: white;
  cursor: pointer;
  transition: .2s;
}

.reviews-arrow:hover{
  transform: scale(1.05);
}

 .review-card{
  position: relative;
}

.book-band{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  background: rgb(199, 166, 224, 0.95);
  color: white;
  display:flex;
  flex-direction:column;
}

.book-band strong{
  font-size: 18px;
  font-weight: 800;
}

.book-band span{
  margin-top: 4px;
  font-size: 14px;
  font-weight: 300;
  opacity: .9;
}

.review-card{
  position: relative;
}

.review-overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;

  padding:22px 20px 24px;
  background: #99d4f995;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color:#fff;

  transform: translateY(100%);
  transition:.45s ease;

  max-height:100%;
  overflow:auto;
}

/* Hover: sube */
.review-card:hover .review-overlay{
  transform: translateY(0);
}

.book-title{
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.book-author{
  font-size: 16px;
  opacity: .9;
  margin-bottom: 12px;
  font-weight: 300;
}

.book-genre{
  font-size: 14px;
  opacity: .9;
  letter-spacing: .5px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.book-summary{
  font-size: 15px;
  line-height: 1.5;
  opacity: .95;
}

.book-band{
  transform: translateY(0);
  transition: transform .6s;
}

/* cuando pongo el mouse baja suave */
.review-card:hover .book-band{
  transform: translateY(120%);
  transition: .6s;
}

.reviews-slider{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

/* ---------------- ABOUT ME ---------------- */

.about-section{
  width: 100%;
  display: grid;
  grid-template-columns: 45% 55%;
  padding: 80px 5%;
  align-items: center;
  position: relative;
  background-color: #fff9d8;
}

/* CONTENEDOR FIJO */
.about-left-fixed{
  position: relative;
  width: 400px;
  height: 600px;
}

/* TARJETAS FIJAS Y ENCIMADAS */
.photo{
  width: 70%;
  background: #fff;
  padding: 15px;
  border-radius: 20px;
  position: absolute;
}

.photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* Posiciones */
.photo-1{
  top: 0;
  left: 0px;
  transform: rotate(-5deg);
}

.photo-2{
  top: 40%;
  left: 58%;
  transform: rotate(20deg);
}

/* LADO DERECHO */
.about-right h2{
  font-size: 40px;
  margin-bottom: 20px;
  font-family: 'Regisha';
  color: #373737;
}

.about-right p{
  font-size: 14px;
  font-family: 'Comfortaa-Regular';
  line-height: 1.6;
  margin-bottom: 18px;
}

/* FIRMA */
.signature{
  margin-top: 10px;
  display: inline-block;
  font-family: 'BestSchool';
  font-size: 42px;
  color: #EE968F;
  text-decoration: none;
  transition: .3s ease;
}

.signature:hover{
  transform: scale(1.08);
}

/* ---------------- SOCIAL MEDIA ---------------- */

.social-section{
  padding: 100px 5%;
  background: #eef9ff;
}

/* HEADER */
.social-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.social-header h2{
  font-size: 48px;
  font-family: 'Regisha';
  color: #0688eb;
}

.ig-user{
  font-size: 18px;
  text-decoration: none;
  font-family: 'Comfortaa-Regular';
  color: #086cb4;
}

.instagram-scroll{
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0px;
}

.instagram-scroll::-webkit-scrollbar-thumb{
  background: rgb(255, 255, 255);
  border-radius: 10px;
}

.snapwidget-widget{
  width:100%;
  aspect-ratio: 16 / 5;
  height:auto;
  border-radius:50px;
}

/* FOOTER */
.social-footer{
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-footer span{
  font-size: 18px;
  font-family: 'Comfortaa-Regular';
}

/* ICONOS */
.social-links{
  display: flex;
  gap: 22px;
}

.social-links img{
  width: 26px;
  height: 26px;
  transition: .3s ease;
}

.social-links a:hover img{
  transform: scale(1.15);
}

/* ---------------- FOOTER ---------------- */

html{
  scroll-behavior: smooth;
}

.site-footer{
  background: #ffd6e6;
  padding-top: 50px;
  position: relative;
}

.site-footer::before{
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background:
    radial-gradient(circle at 20px 40px, #ffd6e6 20px, transparent 21px),
    radial-gradient(circle at 60px 40px, #ffd6e6 20px, transparent 21px);
  background-size: 80px 40px;
  background-repeat: repeat-x;
}

.footer-content{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;

  width: 100%;                 /* 🔥 ocupa toda la pantalla */
  padding: 0 5vw 100px;         /* 🔥 padding proporcional real */
  box-sizing: border-box;       /* 🔥 clave para evitar overflow */

  align-items: center;
}

.footer-nav{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a{
  text-decoration: none;
  font-family: 'Comfortaa-Regular';
  color: #373737;
  font-size: 20px;
}

.footer-col.center{
  text-align: center;
}

.footer-col p{
  font-size: 20px;
  margin-bottom: 16px;
  font-family: 'Comfortaa-Regular';
}

.footer-btn{
  display: inline-block;
  padding: 12px 26px;
  background: #b45a6b;
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Comfortaa-Regular';
  transition: .3s ease;
}

.footer-btn:hover{
  transform: scale(1.05);
}

/* BACK TO TOP */
.footer-col.back-top a{
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1px;
  text-align: center;
  display: inline-block;
  transition: .3s ease;
  transform: translateX(180%);
  font-family: 'Comfortaa-Regular';
  color: #222222;
}

/* LOGO CENTRADO */
.footer-logo-center{
  position: absolute;
  scale: 130%;
  left: 50%;
  transform: translateX(-38%);
  top: 100px; /* 👈 ajusta si quieres */
  text-align: center;
}

.footer-logo-center img{
  width: 160px;
  margin-bottom: 16px;
}

/* REDES TEXTO */
.footer-social-text{
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-social-text a{
  font-family: 'Comfortaa-Regular';
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
  opacity: .8;
  transition: .3s ease;
  color: #70251f;
}

.footer-social-text a:hover{
  opacity: 1;
  transform: translateY(-2px);
  color: #710182;
}

/* LEGAL */
.footer-legal{
  text-align: center;
  font-size: 12px;
  padding-bottom: 30px;
  opacity: .7;
}

/* Asegura que el contenedor del footer NO se encime */
#footer {
  position: relative;
  z-index: 1;
}

/* ===============================
   BIBLIOTECA DE RESEÑAS
   =============================== */

.reviews-controls {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Buscador */
.reviews-search input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
}

.reviews-search input::placeholder {
  opacity: 0.6;
}

.reviews-search input:focus {
  border-color: #c06ab3; /* ajusta a tu color */
}

/* Filtros */
.reviews-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(192,106,179,0.12);
}

.filter-btn.is-active {
  background: #c06ab3;
  color: #fff;
  border-color: #c06ab3;
}

/* ========== BIBLIOTECA: SOLO PORTADAS ========== */

.reviews-grid {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 24px;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 22px;
  align-items: start;
}

/* Tile clickeable */
.book-tile {
  display: block;
  text-decoration: none;
  outline: none;
}

/* Marco blanco detrás */
.book-frame {
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);

  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

/* Portada */
.book-cover {
  width: 100%;
  aspect-ratio: 2 / 3; /* look de libro */
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Hover: crecer */
.book-tile:hover .book-frame {
  transform: scale(1.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.16);
}

/* Accesibilidad: foco con teclado */
.book-tile:focus-visible .book-frame {
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(192,106,179,0.22), 0 18px 50px rgba(0,0,0,0.16);
}

/* Responsive */
@media (max-width: 620px) {
  .reviews-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
  }
  .book-frame {
    padding: 8px;
  }
}

/* Empty state: ocupa todo el ancho del grid */
.reviews-empty{
  grid-column: 1 / -1;
  width: 100%;
  max-width: 720px;
  margin: 20px auto 0;
  padding: 22px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.10);
  font-family: "Inter", sans-serif;
  text-align: left;
}

.empty-title{
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.4;
}

.empty-sub{
  margin: 0 0 14px;
  opacity: 0.8;
  line-height: 1.5;
}

.empty-btn{
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  background: #c06ab3;
  color: #fff;
}
.empty-btn:hover{
  filter: brightness(0.95);
}



/* ========= POST RESEÑA (FICHA ARRIBA + CONTENIDO FULL) ========= */

.review-post__container{
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 70px;
}

.review-post__article{
  display: grid;
  gap: 26px;
}

/* HERO */
.review-post__hero{
  align-items: start;              /* 👈 top-top (portada y título) */
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 18px 0 8px;
}

.review-post__coverWrap{
  display: grid;
  place-items: center;
}

.review-post__cover{
  width: 100%;
  max-width: 260px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
  border: 12px solid #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.262);
}

.review-post__title{
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 3.2vw, 44px);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.review-post__metaChips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.chip{
  font-family: "Comfortaa-Bold", sans-serif;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 2px solid #ffe3a6;
  background: #fffae1;
}

.chip--rating{
  font-weight: 800;
}


/* FICHA debajo de chips */
.review-post__factCard{
  background: rgba(255,255,255,0.82);
  border: 5px dotted #99D4F9;
  border-radius: 18px;
  padding: 16px 18px;
  max-width: 720px; /* evita que se vea muy ancha si el texto es corto */
}

.review-post__factTitle{
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
  opacity: 0.7;
}

.review-post__facts{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-family: "Comfortaa-Regular", sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.review-post__facts strong{
  font-weight: 800;
}

/* CONTENIDO: full width */
.review-post__content{
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  padding-top: 8px;
  text-align: justify;
}

.review-post__content p{
  margin: 0 0 16px;
}

.review-post__content h2,
.review-post__content h3{
  font-family: "Playfair Display", serif;
  margin: 30px 0 10px;
  line-height: 1.15;
}

/* Volver abajo */
.review-post__footerNav{
  padding-top: 12px;
}

.review-post__backBottom{
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.85;
}

.review-post__backBottom:hover{
  opacity: 1;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 920px){
  .review-post__hero{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .review-post__cover{
    max-width: 300px;
  }
  .review-post__factCard{
    max-width: 100%;
  }
}

.chip--link{
  text-decoration: none;
  color: inherit;
}

.chip--link:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

/* =============================== */
/*  AUDIO HERO PLAYER              */
/* =============================== */

.audio-hero{
  width: 100%;
  margin-bottom: 32px;
}

.audio-hero__inner{
  width: 100%;
  padding: 18px 24px;
  border-radius: 999px;
  background: #fff;                 /* ✅ fondo blanco */

  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
}

/* Botón play */
.audio-btn{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #e56ba6;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* Barra */
.audio-progress{
  width: 100%;
  appearance: none;
  height: 6px;                      /* un poquito más visible */
  border-radius: 999px;
  cursor: pointer;
  background: rgba(0,0,0,0.12);     /* fallback */
  outline: none;
}

.audio-progress::-webkit-slider-thumb{
  appearance: none;
  width: 14px;
  height: 14px;
  background: #e56ba6;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.audio-progress::-moz-range-thumb{
  width: 14px;
  height: 14px;
  background: #e56ba6;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}


/* Tiempo */
.audio-time{
  font-family: "Comfortaa-Regular", cursive;
  font-size: 12px;
  opacity: 0.7;
}

/* Ocultamos el audio real */
.audio-element{
  display: none;
}

/* Responsive */
@media (max-width: 600px){
  .audio-hero__inner{
    padding: 14px 16px;
    gap: 10px;
  }

  .audio-btn{
    width: 36px;
    height: 36px;
  }
}


/* =============================== */
/*  ABOUT ME                     */
/* =============================== */

.about-hero{
  background: #fffaf3;              /* blanco limpio */
  padding: 56px 24px 76px;       /* más aire antes de la wave */
  position: relative;
}

.about-hero__inner{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr; /* foto más pequeña */
  gap: 44px;
  align-items: center;
}

.about-hero__media{
  position: relative;
}

.about-hero__photoFrame{
  background: #fff;
  padding: 12px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}

/* clave: controlar recorte bonito */
.about-hero__photo{
  width: 100%;
  object-fit: cover;             /* recorta elegante */
  object-position: center;       /* centra */
  display: block;
  border-radius: 16px;
}

/* texto */
.about-hero__eyebrow{
  font-family: "Comfortaa-Bold", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b45586;
  margin: 0 0 8px;
}

.about-hero__title{
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  color: #222222;
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 12px;
  max-width: 22ch;
}

.about-hero__subtitle{
  font-family: "Comfortaa-Bold", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  opacity: .9;
  text-align: justify;
  max-width: 58ch;
  margin: 0 0 18px;
}

.about-hero__cta {
  display: flex;
  align-items: center; 
  gap: 14px;
  margin-top: 24px;
}

.btn{
  font-family: "Comfortaa-Regular", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn--primary{
  background: #e56ba6;
  color: #fff;
}

.btn--ghost{
  background: #fff;
  color: #e56ba6;
  border: 2px solid rgba(229,107,166,.55);
}

.btn:hover{
  transform: translateY(-1px);
}


/* responsive */
@media (max-width: 900px){
  .about-hero__inner{
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .about-hero__photo{
    height: 360px;
  }

  .about-hero__title{
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero__subtitle{
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero__cta,
  .about-hero__chips{
    justify-content: center;
  }

  .about-hero__note{
    left: 50%;
    transform: translateX(-50%);
  }
}

/* =============================== */
/*  ABOUT HERO – REDES             */
/* =============================== */

.about-hero__socials{
  display: flex;
  align-items: scenter;
  gap: 14px;

  margin-top: 40px;
  width: fit-content;       /* 👈 evita full width */
}

/* Links */
.about-hero__socials a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border-radius: 50%;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Iconos */
.about-hero__socials img{
  width: 35px;
  height: 35px;
  opacity: 0.75;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hover */
.about-hero__socials a:hover img{
  transform: scale(1.25);   /* 👈 se agrandan */
  opacity: 1;
}

/* Mobile */
@media (max-width: 600px){
  .about-hero__socials{
    justify-content: center;
  }
}

/* =============================== */
/*  FAVORITOS                       */
/* =============================== */

.fav-section{
  padding: 80px 0;
}

.fav-inner{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.fav-header{
  margin-bottom: 28px;
  text-align: left;
}

.fav-kicker{
  font-family: "Comfortaa-Regular", sans-serif;
  letter-spacing: 0.14em;
  font-size: 12px;
  opacity: 0.65;
  margin-bottom: 10px;
}

.fav-title{
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.05;
  margin: 0 0 10px;
}

.fav-subtitle{
  font-family: "Comfortaa-Regular", sans-serif;
  opacity: 0.8;
  max-width: 58ch;
  margin: 0;
}

/* Grid */
.fav-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

/* Card */
.fav-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 16px;
}

.fav-cover{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #f7f7f7;
  border: 1px solid rgba(0,0,0,0.08);
  width: 120px;
  height: 170px;
}

.fav-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.fav-card:hover .fav-cover img{
  transform: scale(1.04);
}

.fav-body{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

.fav-book{
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.1;
  margin: 0;
}

.fav-author{
  font-family: "Comfortaa-Regular", sans-serif;
  font-size: 13px;
  opacity: 0.75;
  margin: 0;
}

/* tags */
.fav-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.fav-tag{
  font-family: "Comfortaa-Regular", sans-serif;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255, 255, 255, 0.85);
}

/* note */
.fav-note{
  font-family: "Comfortaa-Regular", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.9;
  margin: 6px 0 0;
}

.fav-link{
  margin-top: auto;
  font-family: "Comfortaa-Regular", sans-serif;
  font-size: 13px;
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}

.fav-link:hover{
  opacity: 1;
  color: #c4207d;
}

/* CTA */
.fav-cta{
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Responsive */
@media (max-width: 980px){
  .fav-grid{
    grid-template-columns: 1fr;
  }

  .fav-card{
    grid-template-columns: 110px 1fr;
  }

  .fav-cover{
    width: 110px;
    height: 160px;
  }
}

.fav-inner{ width: min(1200px, 92%); margin: 0 auto; }

.fav-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
  align-items: stretch;
}

.fav-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 18px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  height: 100%;
}

.fav-cover{ width: 140px; height: 200px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,0,0,.10); }
.fav-cover img{ width: 100%; height: 100%; object-fit: cover; display:block; }

.fav-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 6px; }
.fav-tag{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:"Comfortaa-Regular",sans-serif; font-size:12px;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  text-decoration:none; color:inherit;
}

@media (max-width: 980px){
  .fav-grid{ grid-template-columns: 1fr; }
  .fav-card{ grid-template-columns: 120px 1fr; }
  .fav-cover{ width: 120px; height: 175px; }
}


/* ============== CONTACT HERO ============== */

.contact-hero{
  background: #fff; /* celeste suave tipo ref */
  padding: 56px 0 0;
  position: relative;
}

.contact-hero__inner{
  width: min(1100px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}

.contact-hero__kicker{
  font-family: "Montserrat", sans-serif;
  letter-spacing: .14em;
  font-size: 12px;
  opacity: .7;
  margin: 0 0 10px;
}

.contact-hero__title{
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 12px;
}

.contact-hero__lead{
  font-family: "Comfortaa-Regular", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  opacity: .85;
  max-width: 52ch;
  margin: 0 0 22px;
}

.contact-hero__methods{
  display: grid;
  gap: 12px;
  margin: 18px 0 10px;
}

.contact-method{
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.contact-method:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.contact-method__icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.85);
  font-size: 16px;
  margin-top: 2px;
}

.contact-method__label{
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.contact-method__value{
  font-family: "Comfortaa-Regular", sans-serif;
  font-weight: 300;
  font-size: 13px;
  opacity: .75;
}

.contact-hero__note{
  font-family: "Comfortaa-Regular", sans-serif;
  font-weight: 300;
  opacity: .7;
  margin: 14px 0 0;
}

/* Right side image card */
.contact-hero__media{
  justify-self: end;
  width: min(400px, 100%);
  height: fit-content;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.contact-hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* Scallop bottom */
.contact-hero__scallop{
  height: 34px;
  background:
    radial-gradient(circle at 17px -1px, transparent 17px, #fff 18px) left bottom/34px 34px repeat-x;
}

/* Responsive */
@media (max-width: 880px){
  .contact-hero__inner{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .contact-hero__media{
    justify-self: start;
  }
  .contact-hero__img{
    height: 260px;
  }
}

@media (max-width: 900px){

  .main-header{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 5%;
  }

  .header-logo img{
    height:60px;
  }

  .header-search{
    order:3;
    width:100%;
  }

  .header-search input{
    width:100%;
  }

  .header-social{
    justify-content:center;
  }

  .lower-menu-inner,
  .lower-menu ul{
    gap:28px;
    flex-wrap:wrap;
  }

}

@media (max-width: 900px){
  .hero-sticker{
    display:none;
  }
}

@media (max-width: 700px){

  .reviews-scroller{
    width:100%;
    padding-left:5%;
  }

  .review-card{
    min-width:72%;
    aspect-ratio: 2/3;
    height: auto;
    aspect-ratio: 3/4;
  }

}

@media (max-width: 900px){

  .footer-content{
    grid-template-columns:1fr 1fr;
    gap:30px;
    padding-bottom:80px;
  }

  .footer-logo-center{
    position:relative;
    transform:none;
    left:auto;
    top:auto;
    margin:40px auto;
  }

}

/* ===== MOBILE MENU FIX ===== */
@media (max-width: 600px){

  .lower-menu-inner{
    width:100%;
    padding:0 20px;
  }

  .lower-menu ul{
    width:100%;
    justify-content:space-between;
    gap:0;                /* clave */
    flex-wrap:nowrap;     /* evita salto */
  }

  .lower-menu a{
    font-size:0.9rem;    /* reducción proporcional */
    letter-spacing:0.2px;
    white-space:nowrap;   /* evita corte en 2 líneas */
  }

}

@media (max-width: 600px){

  .hero-content{
    max-width: 340px;
  }

  .hero-title{
    line-height:1.15;
  }

  .hero-subtitle{
    font-size:0.9rem;
    padding:0 12px;
  }

}

@media (max-width: 600px){

  /* 1 — menos aire bajo el header */
  .main-header{
    padding-bottom:20px;
  }

  /* 2 — el hero deja de intentar centrar todo */
  .hero{
    align-items:flex-start;
    padding-top:28px;
    padding-bottom:60px;
    min-height:auto;
  }

  /* 3 — acerca el contenido */
  .hero-content{
    margin-top:8px;
  }

}

/* ===== AJUSTE ÓPTICO TEXTO CARDS ===== */

/* espacio superior dentro de la banda */
.book-band{
  padding-top: 26px;
  padding-bottom: 14px;
}

.book-band strong,
.book-band span,
.book-title,
.book-author,
.book-genre,
.book-summary{
  padding-left: 2px;
  padding-right: 6px;
}

/* móvil */
@media (max-width: 600px){

  .review-overlay{
    padding: 28px 24px;
  }

  .book-summary{
    line-height:1.45;
  }

}

.book-band strong{
  display:block;
  line-height:1.2;
  min-height:2.4em;   /* reserva espacio para 2 líneas */
}

.book-band strong{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media (max-width:600px){

  .reviews-intro h2{
    font-size: clamp(1.7rem, 5.2vw, 2.1rem);
    white-space: nowrap;
    letter-spacing: .3px;
  }

}

@media (max-width:600px){

  .reviews-intro p{
    font-size:0.8rem;
    line-height:1.45;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

}

@media (max-width:600px){

  .review-overlay{
    display:none;
  }

}

@media (max-width:600px){

  .book-band{
    padding:10px 12px 12px;
    background:#c7a6e0;
  }

  .book-band strong{
    font-size:0.95rem;
    line-height:1.25;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .book-band span{
    font-size:0.78rem;
    opacity:.9;
  }

}

@media (max-width:600px){

  .reviews-intro{
    text-align:center;
    padding:28px 22px 30px;
  }

  .reviews-intro h2{
    margin:0 auto 10px;
    width:fit-content;
    max-width:100%;
  }

}

@media (max-width:600px){

  .reviews-arrow{
    display:none !important;
  }

}

/* ocultar redes en mobile */
@media (max-width:600px){
  .social-section{
    display:none;
  }
}

/* ===== FOOTER MOBILE LIMPIO ===== */
@media (max-width:600px){

  /* quitar sitemap */
  .footer-col:has(.footer-nav){
    display:none;
  }

  /* quitar volver arriba */
  .footer-col.back-top{
    display: none;
  }
}

@media (max-width:600px){

  .footer-content{
    grid-template-columns:1fr;
    gap:34px;
    text-align:center;
    padding:40px 20px 60px;
  }

  .footer-logo-center{
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    margin-top:20px;
  }

}

/* ===== TABLET LAYOUT FIX ===== */
@media (max-width:1100px){

  .about-section{
    grid-template-columns: 40% 60%;
    gap: 30px;
    padding: 70px 5%;
  }

  .about-left-fixed{
    width: 100%;
    height: auto;
  }

  .photo{
    width: 85%;
  }

  .photo-1{
    top: 0;
    left: 0;
    transform: rotate(-4deg);
  }

  .photo-2{
    top: 48%;
    left: 20%;
    transform: rotate(12deg);
  }

  .about-right h2{
    font-size: 34px;
  }

}

@media (max-width:1100px){
  .snapwidget-widget{
    aspect-ratio:16/7;
  }
}

@media (max-width:600px){
  .snapwidget-widget{
    aspect-ratio:1/1;
  }
}

/* ===== FOOTER LIMPIO EN TABLET ===== */
@media (max-width:1100px){

  /* ocultar navegación del footer */
  .footer-nav{
    display:none;
  }

  /* ocultar volver arriba */
  .footer-col.back-top{
    display:none;
  }

}

@media (max-width:1100px){

  .footer-content{
    grid-template-columns: repeat(2, 1fr);
    gap:40px;
  }

}

@media (max-width: 500px){

  .about-section{
    grid-template-columns:1fr;
    gap:40px;
    padding:60px 6%;
  }

  .about-left-fixed{
    width:100%;
    height:auto;
    position:relative;
    display:flex;
    justify-content:center;
    gap:5px;
  }

  .photo{
    position:relative;
    width:45%;
    transform:none !important;
  }

}

/* ===== ABOUT: ocultar fotos en tablet ===== */
@media (max-width:1300px){

  .about-left-fixed{
    display:none;
  }

  .about-section{
    grid-template-columns: 1fr;
    text-align:center;
  }

  .about-right{
    max-width:720px;
    margin:auto;
  }

}

/* ===== ocultar CTAs footer en pantallas pequeñas ===== */
@media (max-width:1100px){

  .footer-col{
    display:none;
  }

}

.review-post__tags{
  margin: 40px 0 10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.chip--tag{
  background:#fff0f6;
  color:#b84b79;
  border:1px solid #ffd1e4;
  font-size:13px;
  transition:.2s ease;
}

.chip--tag:hover{
  background:#ffdbe9;
  transform:translateY(-1px);
}