:root {
  --azul: #0b3d91;
  --azul-oscuro: #07255c;
  --rojo: #c8102e;
  --blanco: #ffffff;
  --gris-texto: #2a2a2a;
  --gris-claro: #f4f6fb;
  --radio: 14px;
  --sombra: 0 10px 30px rgba(11, 61, 145, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gris-texto);
  background: var(--blanco);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 14px; }

h2 {
  font-size: 1.5rem;
  color: var(--azul);
  text-align: center;
}

.eyebrow {
  text-align: center;
  color: var(--rojo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.subtitle {
  text-align: center;
  color: #555;
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid #eee;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 800;
  color: var(--azul);
  font-size: 1.05rem;
  text-decoration: none;
}

.logo span { color: var(--rojo); }

.site-nav {
  display: none;
  gap: 18px;
}

.site-nav a {
  color: var(--azul-oscuro);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.site-nav a:hover { color: var(--rojo); }

@media (min-width: 900px) {
  .site-nav { display: flex; }
}

.btn-header {
  background: var(--rojo);
  color: #fff;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--gris-claro) 0%, #fff 100%);
  padding: 40px 0 48px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--sombra);
  flex-shrink: 0;
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero h1 {
  font-size: 1.6rem;
  color: var(--azul-oscuro);
}

.hero h1 strong { color: var(--rojo); }

.hero p.lead {
  color: #444;
  font-size: 1rem;
  max-width: 480px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 6px 0 4px;
}

.badge {
  background: #fff;
  border: 1px solid #e3e7f0;
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--azul);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn-primary { background: var(--rojo); color: #fff; }
.btn-secondary { background: var(--azul); color: #fff; }
.btn-outline { background: #fff; color: var(--azul); border: 2px solid var(--azul); }

.disclaimer {
  font-size: 0.72rem;
  color: #888;
  max-width: 460px;
  margin-top: 6px;
}

/* Video */
.video-section { background: var(--gris-claro); }

.videos-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.video-embed {
  width: 345px;
  max-width: 100%;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  background: #fff;
  display: flex;
  justify-content: center;
}

/* Fuerza el mismo ancho en ambos embeds, aunque Instagram/TikTok inyecten su propio tamaño */
.video-embed iframe,
.video-embed .instagram-media,
.video-embed iframe.instagram-media,
.video-embed .tiktok-embed {
  width: 345px !important;
  max-width: 345px !important;
  min-width: 0 !important;
}

@media (min-width: 760px) {
  .videos-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }
}

/* Servicios */
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.servicio-card {
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: var(--radio);
  padding: 22px;
  box-shadow: var(--sombra);
}

.servicio-card .icono {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.servicio-card h3 {
  color: var(--azul);
  font-size: 1.05rem;
}

.servicio-card p { color: #555; font-size: 0.9rem; margin: 0; }

/* Precios */
.precios-section { background: #fff; }

.precios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.precio-card {
  background: var(--gris-claro);
  border-radius: var(--radio);
  padding: 24px;
  text-align: center;
  box-shadow: var(--sombra);
}

.precio-card.destacado {
  background: var(--azul);
  color: #fff;
}

.precio-card h3 { font-size: 1rem; margin-bottom: 8px; }
.precio-card.destacado h3 { color: #fff; }

.precio-valor {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--rojo);
}

.precio-card.destacado .precio-valor { color: #fff; }

.precio-valor span { font-size: 1rem; font-weight: 600; }

.precio-card p { font-size: 0.85rem; color: #555; margin: 6px 0 0; }
.precio-card.destacado p { color: #e3e9fb; }

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

/* Historia */
.historia { background: var(--gris-claro); }

.historia .container { max-width: 760px; }

.historia-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.stat {
  background: #fff;
  border-radius: var(--radio);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--sombra);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--rojo);
}

.stat span { font-size: 0.78rem; color: #666; }

.historia p { color: #333; font-size: 0.95rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--azul-oscuro);
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--rojo);
  font-size: 1.3rem;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p { color: #555; font-size: 0.9rem; margin: 10px 0 0; }

/* Testimonios */
.testimonios-intro { text-align: center; color: #555; font-size: 0.9rem; margin: -4px 0 20px; }

.testimonio {
  background: #fff;
  border: 1px solid #e3e7f2;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 22px 20px;
  margin-bottom: 18px;
}
.testimonio { scroll-margin-top: 90px; transition: box-shadow .3s, border-color .3s; }
.testimonio-aviso { display: none; margin: 0 0 12px; color: var(--rojo); font-size: 0.85rem; font-weight: 600; }
.testimonio.resaltado { border-color: var(--azul); box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.18), var(--sombra); }
.testimonio.resaltado .testimonio-aviso { display: block; }
button.btn-mini { font-family: inherit; cursor: pointer; }
.testimonio-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.testimonio-head strong { display: block; color: var(--azul-oscuro); font-size: 1rem; }
.testimonio-head span { display: block; color: #666; font-size: 0.82rem; line-height: 1.35; }
.testimonio-avatar {
  flex: 0 0 46px; height: 46px; border-radius: 50%;
  background: var(--azul); color: #fff; font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.testimonio blockquote {
  margin: 0 0 14px; padding: 0 0 0 14px;
  border-left: 4px solid var(--rojo);
  font-size: 1.05rem; font-style: italic; color: var(--gris-texto); line-height: 1.5;
}
.testimonio audio { width: 100%; display: block; margin-bottom: 10px; }
.testimonio-texto summary { cursor: pointer; color: var(--azul); font-size: 0.85rem; font-weight: 600; }
.testimonio-texto p { color: #555; font-size: 0.88rem; line-height: 1.55; margin: 10px 0 0; }
.testimonio-acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.btn-mini {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  background: var(--azul); color: #fff; font-size: 0.8rem; font-weight: 600; text-decoration: none;
}
.btn-mini:hover { background: var(--azul-oscuro); }
.btn-mini-outline { background: #fff; color: var(--azul); border: 2px solid var(--azul); padding: 6px 14px; }
.btn-mini-outline:hover { background: var(--gris-claro); }

/* Contacto */
.contacto { background: var(--gris-claro); }

.contacto-wrap {
  background: #fff;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.contacto-redes {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.contacto-redes a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gris-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contacto-redes svg { width: 20px; height: 20px; fill: var(--azul); }

.chat-cta {
  text-align: center;
}

.chat-cta iframe {
  width: 100%;
  max-width: 420px;
  height: 560px;
  border: none;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  margin: 16px auto 0;
  display: block;
}

/* Footer */
.site-footer {
  background: var(--azul-oscuro);
  color: #dbe3f5;
  padding: 36px 0 24px;
  font-size: 0.82rem;
}

.site-footer .container { text-align: center; }

.site-footer .footer-redes {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 14px 0;
}

.site-footer .footer-redes a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-footer svg { width: 18px; height: 18px; fill: #fff; }

.footer-aviso {
  max-width: 640px;
  margin: 18px auto 10px;
  color: #a9b6d6;
  font-size: 0.75rem;
}

.footer-links { margin-top: 10px; }

.footer-links a {
  color: #cfdaf2;
  text-decoration: underline;
  margin: 0 8px;
  font-size: 0.78rem;
}

.footer-otros {
  margin-top: 18px;
  font-size: 0.72rem;
  color: #7f8cad;
}

.footer-otros a { color: #9aa8cc; }

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 60;
  text-decoration: none;
}

.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* Desktop */
@media (min-width: 760px) {
  .hero .container { text-align: left; flex-direction: row; align-items: center; }
  .hero-photo { width: 220px; height: 220px; }
  .hero-text { text-align: left; }
  .hero h1 { font-size: 2.1rem; }
  .badges, .cta-group { justify-content: flex-start; }
  .cta-group { flex-direction: row; max-width: none; }
  .servicios-grid { grid-template-columns: repeat(3, 1fr); }
  .historia-stats { grid-template-columns: repeat(4, 1fr); }
}
