/* rubenremirez.com — copia estática de la web de WordPress/Elementor */

@font-face { font-family: "Cormorant"; src: url("fonts/Cormorant-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("fonts/Raleway-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --violeta: #9a55f8;
  --azul: #6786ff;
  --lavanda: #eef1ff;
  --negro: #0c0c0c;
  --sans: Roboto, Arial, Helvetica, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: "Raleway", var(--sans); font-weight: 500; font-size: 19px; line-height: 1.5; color: var(--negro); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration: none; }
strong, b { font-weight: 500; -webkit-text-stroke: 0.45px currentColor; }
.ancho { width: min(1200px, 100% - 40px); margin: 0 auto; }
.salto { position: absolute; left: -9999px; }
.salto:focus { left: 10px; top: 10px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Barra superior ---------- */
.barra { background: var(--violeta); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 30px; }
.barra .ancho { display: flex; justify-content: space-between; align-items: center; }
.barra a { color: #fff; }
.barra strong { font-weight: 700; -webkit-text-stroke: 0; }
.barra-redes { display: flex; gap: 12px; align-items: center; }
.barra-redes svg { width: 17px; height: 17px; fill: #fff; display: block; }

/* ---------- Cabecera ---------- */
.cabecera { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.cabecera .ancho { display: flex; align-items: center; height: 88px; gap: 34px; }
.marca { display: flex; align-items: center; gap: 18px; color: #000; font-family: var(--sans); font-weight: 700; font-size: 22px; margin-right: auto; }
.marca img { width: 52px; height: 52px; }
.menu { display: flex; list-style: none; gap: 34px; font-family: var(--sans); font-size: 16px; font-weight: 400; }
.menu a { color: #000; }
.menu a:hover { color: var(--azul); }
.boton-cab { background: var(--azul); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 13px; padding: 16px 38px; border-radius: 4px; }
.boton-cab:hover { background: var(--violeta); }
.hamburguesa { display: none; background: var(--azul); border: 0; border-radius: 3px; width: 44px; height: 44px; cursor: pointer; }
.hamburguesa span { display: block; width: 16px; height: 2px; background: #fff; margin: 3px auto; }

/* ---------- Botones ---------- */
.boton { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 18px; line-height: 1; color: #fff; padding: 19px 33px; border-radius: 4px; transition: transform 0.2s, background 0.2s; }
.boton:hover { transform: scale(1.04); }
.boton-violeta { background: var(--violeta); }
.boton-azul { background: var(--azul); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(620px, 92vh, 1000px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #333 url("img/portada4.jpg") center / cover no-repeat; padding: 80px 20px; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.hero > * { position: relative; }
.hero h1 { font-family: "Cormorant", Georgia, serif; font-weight: 500; font-size: clamp(54px, 7.2vw, 92px); line-height: 1.38; max-width: 950px; margin: 0 auto 26px; }
.hero p { font-size: 24px; margin-bottom: 34px; }
.hero .boton { margin-top: 90px; box-shadow: 0 0 0 1px rgba(255,255,255,0.35), 0 4px 14px rgba(0,0,0,0.3); }

/* ---------- Cita ---------- */
.cita { background: var(--azul); color: #fff; padding: 46px 0; }
.cita .ancho { display: flex; align-items: center; justify-content: center; gap: 60px; max-width: 1060px; }
.cita img { width: 120px; flex: none; }
.cita p { font-family: var(--sans); font-weight: 700; -webkit-text-stroke: 0; font-size: 19px; line-height: 1.55; text-align: center; max-width: 720px; }

/* ---------- Secciones ---------- */
.seccion { padding: 130px 0 120px; position: relative; }
.lavanda { background: var(--lavanda); }
.con-hojas { background: #fff url("img/fondo2.jpg") right top / cover no-repeat; }
.con-hojas::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.9); }
.con-hojas > * { position: relative; }
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; max-width: 1140px; }
h2.titulo, h3.titulo { font-family: "Poppins", var(--sans); font-weight: 700; font-size: 40px; line-height: 1.2; position: relative; padding-bottom: 6px; margin-bottom: 14px; display: inline-block; }
.titulo::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(190px, 60%); height: 3px; background: var(--azul); border-radius: 2px; }
.titulo.centro { display: block; text-align: center; }
.titulo.centro::after { display: none; }
.texto p { margin-bottom: 32px; padding-left: 10px; }
.foto-redonda { border-radius: 9px; width: 100%; }
.centro-boton { text-align: center; margin-top: 16px; }

/* ¿Te suena? */
.suena .dos-col { grid-template-columns: 1.15fr 0.85fr; }
.suena .foto-redonda { max-width: 445px; margin-left: auto; }

/* Te puedo ayudar */
.ayudar .dos-col { grid-template-columns: 0.75fr 1fr; align-items: start; }
.ayudar .foto-redonda { max-width: 435px; margin-top: 44px; }
.ayudar .texto p { margin-bottom: 30px; padding-left: 30px; line-height: 1.45; }

/* Así es como lo vamos a hacer */
.asi-intro { text-align: center; margin: 14px 0 80px; }
.azul { color: var(--azul); }
.cuatro { display: grid; grid-template-columns: 1fr 1fr; gap: 110px 120px; max-width: 1040px; margin: 0 auto; }
.cuatro h3 { font-family: "Raleway", var(--sans); font-weight: 500; -webkit-text-stroke: 0.5px currentColor; font-size: 26px; line-height: 1.3; margin-bottom: 20px; }
.cuatro h3 .azul { -webkit-text-stroke: 0.5px var(--azul); }
.cuatro p { font-size: 17px; line-height: 1.7; }

/* Conocernos */
.conocernos .dos-col { grid-template-columns: 0.85fr 1.1fr; max-width: 1050px; align-items: start; }
.conocernos .foto { margin-top: 80px; }
.conocernos .texto p { padding-left: 0; }

/* ---------- Reseñas ---------- */
.resenas { position: relative; max-width: 1140px; margin: 110px auto 0; padding: 0 20px; }
.resenas-carril { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.resenas-carril::-webkit-scrollbar { display: none; }
.resena { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; background: #fff; border: 1px solid #d1d1d1; border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.08); padding: 15px; font-family: var(--sans); font-weight: 400; position: relative; }
.resena-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.resena-cab img { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.resena-nombre { display: block; color: #333; font-weight: 700; font-size: 15px; line-height: 1.3; padding-right: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.resena-tiempo { font-size: 12px; color: #5f6368; }
.resena-g { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; }
.resena-estrellas { color: #f6bb06; font-size: 18px; letter-spacing: 2px; line-height: 1; margin-bottom: 10px; }
.resena-texto { font-size: 14.5px; line-height: 24px; color: #555; max-height: 120px; overflow-y: auto; scrollbar-width: thin; }
.resenas-flecha { position: absolute; top: 42%; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ddd; background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: #777; box-shadow: 0 1px 4px rgba(0,0,0,0.12); z-index: 2; }
.resenas-flecha.ant { left: 0; }
.resenas-flecha.sig { right: 0; }
.resenas-puntos { display: flex; justify-content: center; gap: 9px; margin-top: 16px; height: 8px; align-items: center; }
.resenas-puntos span { width: 5px; height: 5px; border-radius: 50%; background: #ccc; }
.resenas-puntos span.activo { width: 7px; height: 7px; background: #f6bb06; }
.resenas-carril { padding: 4px 2px 10px; scroll-padding-left: 2px; }
.resenas-resumen { margin-top: 22px; text-align: center; font-family: var(--sans); font-weight: 400; }
.resenas-resumen a { display: block; color: #333; font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.resenas-resumen div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: #555; }
.resenas-resumen .resena-estrellas { margin: 0; }
.resenas-g { width: 20px; height: 20px; }
.resenas-nota { font-weight: 700; font-size: 17px; color: #f6bb06; }

/* ---------- Ubicación ---------- */
.ubicacion .ancho { max-width: 1140px; }
.mapa { margin: 26px 10px 0; }
.mapa iframe { width: 100%; height: 500px; border: 0; display: block; }
.direccion { margin-top: 30px; }

/* ---------- Contacto ---------- */
.contacto { background: var(--lavanda); padding: 150px 0 110px; position: relative; }
.contacto::before, .contacto::after { content: ""; position: absolute; left: 0; right: 0; height: 80px; background: #fff; }
.contacto::before { top: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%); opacity: 0.75; }
.contacto::after { bottom: 0; clip-path: polygon(0 0, 100% 100%, 0 100%); opacity: 0.75; }
.contacto .dos-col { align-items: start; max-width: 1150px; gap: 90px; }
.contacto ul.lista { margin: 22px 0 60px 50px; line-height: 1.95; }
.vias { display: grid; gap: 20px; align-content: start; }
.via { display: flex; justify-content: space-between; align-items: center; gap: 22px; background: #fff; border-radius: 16px; padding: 26px 30px; box-shadow: 0 6px 24px rgba(103,134,255,.12); font-family: var(--sans); font-weight: 400; color: var(--negro); transition: transform .2s, box-shadow .2s; }
.via:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(154,85,248,.22); }
.via h3 { font-size: 22px; font-weight: 700; color: #333; }
.via p { font-size: 15px; color: #666; }
.via-icono { width: 64px; height: 64px; border-radius: 50%; background: var(--lavanda); display: grid; place-items: center; flex: none; }
.via-icono svg { width: 28px; height: 28px; fill: var(--azul); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 250px 0 170px; font-family: var(--sans); font-weight: 400; }
.faq-foto img { width: 100%; max-width: 720px; }
.faq-cont { padding: 0 58px; max-width: 720px; }
.faq h2 { font-size: 52px; font-weight: 700; text-align: center; line-height: 1.2; margin-bottom: 34px; }
.faq-sub { font-weight: 700; -webkit-text-stroke: 0; font-size: 19px; text-align: center; margin-bottom: 40px; padding: 0 20px; }
.faq details { border: 1px solid #d5d8dc; margin-top: -1px; }
.faq summary { cursor: pointer; list-style: none; padding: 13px 10px 13px 34px; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; position: absolute; left: 10px; top: 8px; font-size: 24px; font-weight: 700; line-height: 1.2; }
.faq details[open] summary::before { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid #d5d8dc; }
.faq details > div { padding: 12px 10px 20px; font-size: 16px; line-height: 1.8; }
.faq details p { margin-bottom: 14px; }
.faq strong { font-weight: 700; -webkit-text-stroke: 0; }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid #7a7a7a; padding: 26px 0 60px; font-family: var(--sans); font-weight: 400; font-size: 16px; }
.pie .ancho { display: flex; justify-content: center; align-items: center; gap: 76px; flex-wrap: wrap; }
.pie strong { font-weight: 700; -webkit-text-stroke: 0; }
.pie-marca { font-size: 18.5px; font-weight: 700; color: #000; max-width: 210px; line-height: 2.2; }
.pie-marca img { width: 60px; height: 60px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.pie ul { list-style: none; line-height: 1.8; }
.pie p { line-height: 1.8; }
.pie .redes { display: flex; gap: 10px; margin-top: 12px; }
.pie .redes svg { width: 19px; height: 19px; fill: #000; }

/* ---------- WhatsApp flotante ---------- */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 400; }
.wa-bocadillo { background: #fff; color: #333; font-size: 13.5px; line-height: 1.4; padding: 9px 14px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); max-width: 230px; opacity: 0; transform: translateX(10px); transition: 0.4s; pointer-events: none; }
.wa-bocadillo.visible { opacity: 1; transform: none; }
.wa-boton { width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.3); flex: none; }
.wa-boton svg { width: 34px; height: 34px; fill: #fff; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 900px; margin: 0 auto; padding: 70px 20px 100px; font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.75; }
.legal h1 { font-family: "Poppins", var(--sans); font-size: 38px; margin-bottom: 30px; }
.legal h2 { font-size: 24px; margin: 34px 0 14px; }
.legal h3 { font-size: 20px; margin: 28px 0 12px; }
.legal h4, .legal h5 { font-size: 17px; margin: 22px 0 10px; }
.legal p { margin-bottom: 16px; }
.legal ul, .legal ol { margin: 0 0 16px 28px; }
.legal strong { font-weight: 700; -webkit-text-stroke: 0; }
.legal table { border-collapse: collapse; margin-bottom: 16px; }
.legal td, .legal th { border: 1px solid #ccc; padding: 6px 10px; text-align: left; }

/* ---------- Tablet y móvil ---------- */
@media (max-width: 1100px) {
  .resena { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 920px) {
  body { font-size: 17px; }
  .barra, .menu, .boton-cab { display: none; }
  .hamburguesa { display: block; }
  .cabecera .ancho { height: 92px; }
  .marca { font-size: 18px; gap: 14px; }
  .menu.abierto { display: block; position: absolute; top: 92px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,0.12); }
  .menu.abierto li { border-top: 1px solid #eee; }
  .menu.abierto a { display: block; padding: 15px 24px; }
  .hero p { font-size: 22px; }
  .hero .boton { margin-top: 70px; font-size: 16px; }
  .cita .ancho { flex-direction: column; gap: 40px; }
  .cita img { width: 70px; align-self: flex-start; margin-left: 60px; }
  .cita p { font-size: 17px; }
  .seccion { padding: 90px 0 80px; }
  .dos-col, .suena .dos-col, .ayudar .dos-col, .conocernos .dos-col, .contacto .dos-col { grid-template-columns: 1fr; gap: 40px; }
  h2.titulo, h3.titulo { font-size: 30px; }
  .suena .foto-redonda, .ayudar .foto-redonda { max-width: none; margin: 0; }
  .suena .centro-boton { margin-bottom: 10px; }
  .ayudar .texto p { padding-left: 0; }
  .ayudar .foto-redonda { order: 2; }
  .cuatro { grid-template-columns: 1fr; gap: 56px; padding: 0; }
  .cuatro h3 { font-size: 23px; }
  .asi-intro { font-size: 16px; }
  .conocernos .foto { margin-top: 0; }
  .contacto { padding: 110px 0 100px; }
  .contacto ul.lista { margin: 22px 0 0 24px; }
  .via { padding: 20px 22px; }
  .faq { grid-template-columns: 1fr; padding: 90px 0 80px; gap: 40px; }
  .faq-foto { padding: 0 20px; }
  .faq-foto img { border-radius: 9px; max-width: none; }
  .faq-cont { padding: 0 20px; }
  .pie .ancho { flex-direction: column; gap: 30px; text-align: center; }
  .pie .redes { justify-content: center; }
  .mapa { margin: 26px 0 0; }
  .mapa iframe { height: 380px; }
}
@media (max-width: 640px) {
  .ancho { width: calc(100% - 60px); }
  .hero { padding-left: 30px; padding-right: 30px; }
  .faq-foto, .faq-cont, .faq-sub { padding-left: 30px; padding-right: 30px; }
  .legal { padding-left: 30px; padding-right: 30px; }
  .resena { flex-basis: 100%; }
  .resenas { padding: 0 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Animaciones suaves de entrada ---------- */
@keyframes entra-hero { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero > * { animation: entra-hero 1s cubic-bezier(.22,.61,.36,1) both; }
.hero > *:nth-child(2) { animation-delay: .15s; }
.hero > *:nth-child(3) { animation-delay: .3s; }
.hero > *:nth-child(4) { animation-delay: .45s; }

.rev { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1); transition-delay: var(--retraso, 0s); }
.rev.visto { opacity: 1; transform: none; }
.rev-foto { transform: translateY(28px) scale(.97); }

@media (prefers-reduced-motion: reduce) {
  .rev, .rev-foto { opacity: 1; transform: none; transition: none; }
  .hero > * { animation: none; }
}

/* Texto solo para buscadores y lectores de pantalla */
.solo-lectores { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
