/* =========================================
   1. VARIABLES Y RESET (Blindado)
   ========================================= */
:root{
  --black: #111111; 
  --white: #ffffff;
  --red: #c00000;
  --red-dark: #8a0000;
  --ink: #1f1f1f;
  --muted: #555555;
  --line: #e0e0e0;  
  
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow2: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --radius: 4px;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body { 
  margin: 0; 
  padding: 0;
  width: 100%;
  overflow-x: hidden; 
  background-color: #fcfcfc;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* =========================================
   2. CONTENEDOR CENTRAL
   ========================================= */
.container {
  width: 100%;
  max-width: var(--max);
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   3. TIPOGRAFÍA
   ========================================= */
h1, h2, h3, .section__title, .card__head strong {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.nav, .btn, .brand__text strong, .feature strong, 
.step strong, label, .kicker, .wa__head strong {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   4. HEADER
   ========================================= */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--red); color: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); width: 100%;
}

.topbar__inner {
  display: flex; flex-wrap: wrap; 
  align-items: center; justify-content: center;
  gap: 15px; padding: 12px 0;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  width: 100%; justify-content: center; 
  color: var(--white);
}

.brand__logo { height: 50px; width: auto; flex-shrink: 0; object-fit: contain; }

@media (max-width: 767px) {
  .brand__logo { height: 40px; }
}

.brand__text strong { font-size: 18px; line-height: 1; }
.brand__text span { font-size: 12px; opacity: 0.9; font-family: 'Inter', sans-serif; text-transform: none; font-weight: 400; }

.nav { display: none; gap: 20px; font-size: 14px; color: var(--white); }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; opacity: 0.9; }

.cta { display: flex; gap: 10px; justify-content: center; width: 100%; }

.topbar .btn { font-size: 13px; padding: 10px 16px; min-height: 42px; }
.topbar .btn--ghost { background: transparent; border: 1px solid rgba(255,255,255, 0.5); color: var(--white); }
.topbar .btn--primary { background: var(--white); color: var(--red); border: 1px solid var(--white); }

/* =========================================
   5. LAYOUTS & HERO (CORREGIDO PARA CENTRALIZACIÓN)
   ========================================= */

/* Estilos Generales Secciones */
section { padding: 50px 0; }
.section__title { margin-bottom: 16px; }
.section__lead { color: var(--muted); margin-bottom: 30px; max-width: 700px; }

/* HERO - Fondo Animado */
.hero {
  position: relative;
  background: #000000; 
  overflow: hidden;
  z-index: 1;
  padding: 60px 0;
}

/* HERO - Fondo Animado (Configurado para 8 imágenes) */
.hero-bg-slider {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
}

.slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; 
  /* Aumentamos el tiempo total a 48 segundos para que quepan las 8 fotos */
  animation: kenBurnsFade 48s linear infinite; 
}

/* Configuramos el momento exacto en el que entra cada una (cada 6 segundos) */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }
.slide:nth-child(5) { animation-delay: 24s; }
.slide:nth-child(6) { animation-delay: 30s; }
.slide:nth-child(7) { animation-delay: 36s; }
.slide:nth-child(8) { animation-delay: 42s; }

/* Recalculamos los porcentajes para 8 imágenes */
@keyframes kenBurnsFade {
  0%   { opacity: 0; transform: scale(1); }
  2%   { opacity: 1; } /* Entra suavemente */
  10%  { opacity: 1; } /* Se mantiene visible */
  14%  { opacity: 0; transform: scale(1.08); } /* Se desvanece haciendo zoom mientras entra la siguiente */
  100% { opacity: 0; transform: scale(1); }
}

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
  z-index: -1; backdrop-filter: blur(3px);
}

.hero .container { position: relative; z-index: 2; }

/* HERO - Grid y Centralización */
.hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra todo horizontalmente */
  text-align: center;  /* Centra el texto */
  max-width: 900px;
  margin: 0 auto;
}

.hero__copy { width: 100%; }

/* Textos Hero */
.hero h1 { 
  font-size: 36px; margin-bottom: 20px; color: var(--white); 
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero p.hero__description { color: var(--white); }
.hero__copy p { color: var(--white); opacity: 0.9; }

/* =========================================
   DISEÑO PROFESIONAL DEL KICKER
   ========================================= */

.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1); /* Fondo ultra sutil */
  backdrop-filter: blur(10px); /* Efecto de cristal esmerilado */
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 50px; /* Bordes totalmente redondeados */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Borde fino y elegante */
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.kicker:hover {
  background: rgba(192, 0, 0, 0.2); /* Sutil tinte rojo de tu marca al pasar el mouse */
  border-color: var(--red);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .kicker {
    font-size: 11px;
    padding: 6px 12px;
    letter-spacing: 1px;
    width: fit-content;
  }
}
/* Video Hero */
.video-container {
  width: 100%; max-width: 800px; margin: 30px auto;
}
.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow);
  background: #000; border: 1px solid var(--line);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.video-click-layer {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5;
  background: transparent; cursor: pointer;
}
.video-btn-overlay {
  position: absolute; bottom: 15px; right: 15px; z-index: 10;
  background: rgba(0, 0, 0, 0.6); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease;
}
.video-btn-overlay:hover { background: var(--red); border-color: var(--red); }

/* Lista de Características (4 Columnas en PC) */
.hero-features {
  list-style: none; padding: 0; margin: 30px auto;
  display: grid; gap: 15px;
  grid-template-columns: 1fr; /* Móvil 1 columna */
  width: 100%; max-width: 1100px;
  text-align: left; /* Texto interno a la izquierda */
}
.hero-features li { display: flex; align-items: flex-start; gap: 10px; }
.check-icon { color: var(--red); font-weight: 800; font-size: 18px; line-height: 1.2; flex-shrink: 0; }
.hero-features strong {
  display: block; font-family: 'Roboto Condensed', sans-serif;
  font-size: 15px; color: var(--white); text-transform: uppercase; margin-bottom: 2px;
}
.hero-features span { display: block; font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.3; }

/* Botones Hero */
.hero-actions {
  margin-top: 30px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap;
}

/* OTROS LAYOUTS RESPONSIVE */
.trust, .cols, .steps, .footer__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
}

/* MEDIA QUERIES (PC) */
@media (min-width: 768px) {
  .topbar__inner { flex-wrap: nowrap; justify-content: space-between; }
  .brand { width: auto; justify-content: flex-start; margin: 0; }
  .cta { width: auto; }
  .nav { display: flex; }
  .trust, .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  /* En PC forzamos 4 columnas para la lista */
  .hero-features { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .hero h1 { font-size: 52px; }
  .cols, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* =========================================
   6. COMPONENTES GENERALES
   ========================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius); padding: 14px 24px; font-size: 15px; 
  cursor: pointer; transition: all .2s ease; border: 1px solid transparent; min-height: 48px;
}
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 4px 6px rgba(192, 0, 0, .25); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 15px rgba(192, 0, 0, .3); }

footer { background: #0f0f0f; color: #ccc; padding: 40px 0; font-size: 14px; }
.footer__grid h3 { color: #fff; margin-bottom: 15px; font-size: 16px; }
.footer__grid a { color: #aaa; display: block; margin-bottom: 8px; }
.footer__grid a:hover { color: #fff; text-decoration: underline; }

/* =========================
   ESTILOS DE TARJETAS (ACORDEÓN + BOTONES)
   ========================== */
.services-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease; cursor: pointer; position: relative;
}

.service-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.12); border-color: var(--red); }

.service-card__img { height: 180px; width: 100%; position: relative; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card__img img { transform: scale(1.05); }

.service-card__body { padding: 16px 20px; }

/* Header con título y botón de toggle */
.service-card__header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.service-card__header h3 { margin: 0; font-size: 18px; font-family: 'Roboto Condensed', sans-serif; color: var(--black); text-transform: uppercase; }

/* Botón Toggle (+/-) */
.toggle-btn {
  width: 24px; height: 24px; background: rgba(0,0,0,0.05); border-radius: 4px; position: relative; flex-shrink: 0; transition: background 0.3s;
}
.toggle-btn::after, .toggle-btn::before {
  content: ''; position: absolute; background: var(--red); top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.3s ease;
}
.toggle-btn::before { width: 12px; height: 2px; } /* Línea horizontal */
.toggle-btn::after { width: 2px; height: 12px; }  /* Línea vertical */

/* Contenido Oculto por defecto */
.service-card__content {
  max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease;
}
.service-card__content p { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* ESTADO ABIERTO */
.service-card.open .service-card__content { max-height: 400px; opacity: 1; padding-bottom: 5px; } /* Aumenté max-height para que quepan los botones */
.service-card.open .toggle-btn { background: var(--red); }
.service-card.open .toggle-btn::after { transform: translate(-50%, -50%) rotate(90deg); background: var(--white); } /* Gira para formar un menos */
.service-card.open .toggle-btn::before { background: var(--white); }

/* ESTILOS DE LOS BOTONES INTERNOS */
.service-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 5px; /* Padding un poco más pequeño para que quepan bien */
  font-size: 12px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.2;
}

.btn-card--primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}
.btn-card--primary:hover {
  background: var(--red-dark);
}

.btn-card--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid #ccc;
}
.btn-card--outline:hover {
  border-color: var(--black);
  background: #f0f0f0;
}
/* =========================
   SECCIÓN CÓMO TRABAJAMOS (Lista)
   ========================== */
.process-list {
  display: flex; flex-direction: column; gap: 0; margin-top: 30px; border-top: 2px solid var(--black);
}
.process-item {
  display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: flex-start;
}
.p-icon {
  flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--red); background: rgba(192, 0, 0, 0.08); border-radius: 4px;
}
.p-icon svg { width: 24px; height: 24px; }
.p-content { flex: 1; }
.p-content strong { display: block; font-family: 'Playfair Display', serif; font-size: 18px; color: var(--black); margin-bottom: 6px; }
.p-content p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }
.process-footer {
  margin-top: 40px; background: #f4f4f4; padding: 30px; border-radius: var(--radius);
  border-left: 4px solid var(--red); display: flex; flex-direction: column; gap: 24px;
}
.trust-message h3 { font-family: 'Roboto Condensed', sans-serif; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.cta-block { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-subtext { font-size: 13px; color: var(--muted); font-style: italic; }

@media (min-width: 900px) {
  .process-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border-top: none; }
  .process-item { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding: 20px 0; }
  .process-footer { flex-direction: row; align-items: center; justify-content: space-between; }
  .trust-message { max-width: 60%; }
}

/* =========================
   CONTACTO UNIFICADO
   ========================== */
#contacto-cobertura { background: #f8f8f8; border-top: 1px solid var(--line); }
.contact-grid-layout { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .contact-grid-layout { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .contact-column { border-right: 1px solid rgba(0,0,0,0.08); padding-right: 30px; }
  .coverage-column { padding-left: 10px; }
}
.contact-cards { display: grid; gap: 12px; margin-bottom: 30px; }
.contact-item {
  display: flex; align-items: center; gap: 15px; background: var(--white); padding: 16px;
  border-radius: 8px; border: 1px solid rgba(0,0,0,0.08); border-left: 4px solid var(--red);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.contact-item:hover { transform: translateX(5px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.c-icon { font-size: 20px; }
.contact-item strong { display: block; font-family: 'Roboto Condensed', sans-serif; font-size: 14px; text-transform: uppercase; color: var(--black); }
.contact-item span { font-size: 15px; color: var(--muted); }
.social-block { margin-top: 20px; }
.social-label { display: block; margin-bottom: 12px; font-size: 14px; font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; }
.social-icons { display: flex; gap: 15px; flex-wrap: wrap; }
.s-link {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: var(--white); border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); color: var(--black); transition: all 0.3s ease;
}
.s-link svg { width: 24px; height: 24px; }
.s-link:hover { background: var(--red); color: var(--white); border-color: var(--red); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(192, 0, 0, 0.3); }
.city-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.city-pill {
  background: var(--white); border: 1px solid #ddd; padding: 8px 14px; border-radius: 50px;
  font-size: 13px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px;
}
.city-pill::before { content: ''; display: block; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }

/* =========================
   WIDGET WHATSAPP
   ========================== */
.wa-widget { position: fixed; bottom: 20px; right: 20px; z-index: 9999; font-family: 'Inter', sans-serif; }
.wa-fab {
  display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff;
  border: none; padding: 12px 20px; border-radius: 50px; cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); transition: all 0.3s ease; position: relative; z-index: 2;
}
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6); }
.wa-icon { width: 24px; height: 24px; }
.wa-label { font-weight: 700; font-size: 15px; white-space: nowrap; font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; }

/* Panel Chat */
.wa-panel {
  position: absolute; bottom: 70px; right: 0; width: 340px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: visible !important; 
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1); transform-origin: bottom right;
}
.wa-panel[aria-hidden="false"] { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.wa-header {
  background: var(--black); color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
  border-top-left-radius: 16px; border-top-right-radius: 16px;
}
.wa-agent-info { display: flex; align-items: center; gap: 12px; }
.wa-avatar {
  width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.wa-avatar svg { width: 24px; height: 24px; }
.status-dot {
  position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; background: #25D366;
  border: 2px solid var(--black); border-radius: 50%;
}
.wa-texts strong { display: block; font-size: 14px; margin-bottom: 2px; }
.wa-texts span { display: block; font-size: 11px; opacity: 0.8; }
.wa-close-btn { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; opacity: 0.7; line-height: 1; }
.wa-close-btn:hover { opacity: 1; }

.wa-body {
  padding: 15px 20px 20px; background: #f5f7f9;
  border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;
}
.wa-message-bubble {
  background: #fff; padding: 12px 15px; border-radius: 0 12px 12px 12px; font-size: 13px; color: var(--ink);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); margin-bottom: 15px; border: 1px solid rgba(0,0,0,0.05); line-height: 1.4;
}
#waForm { display: flex; flex-direction: column; gap: 8px; }
.wa-input-group { display: flex; gap: 8px; }
.wa-input-group > * { flex: 1; }
.wa-input {
  width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 10px 12px;
  font-size: 13px; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s;
}
.wa-input:focus { border-color: var(--red); background: #fff; }
.wa-submit-btn {
  margin-top: 5px; background: #25D366; color: #fff; border: none; padding: 12px;
  border-radius: 6px; font-weight: 700; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s;
}
.wa-submit-btn:hover { background: #1ebc57; }
.wa-disclaimer { font-size: 10px; color: #999; text-align: center; margin-top: 8px; }
.wa-input-group .iti { width: 100%; }
.wa-input-group .iti__tel-input { font-size: 13px; padding-top: 10px; padding-bottom: 10px; }

@media (max-width: 480px) {
  .wa-label { display: none; }
  .wa-fab { padding: 12px; border-radius: 50%; }
}

/* =========================================
   MODALES (POPUPS LEGALES)
   ========================================= */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white); width: 100%; max-width: 600px; border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); border-top: 5px solid var(--red);
  display: flex; flex-direction: column; max-height: 90vh; transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-header {
  padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 { margin: 0; font-size: 20px; color: var(--black); }
.modal-close { background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); transition: color 0.2s; }
.modal-close:hover { color: var(--red); }
.modal-body { padding: 24px; overflow-y: auto; font-size: 14px; color: #444; line-height: 1.6; }
.modal-body h4 { margin-top: 0; color: var(--black); font-family: 'Playfair Display', serif; font-size: 16px; }
.modal-body p { margin-bottom: 14px; }
.modal-body ul { padding-left: 20px; margin-bottom: 14px; }
.modal-body li { margin-bottom: 8px; }

/* =========================================
   FIX DEFINITIVO LISTA PAÍSES (RECARGADO)
   ========================================= */
.iti--container {
  z-index: 9999999 !important;
}

.iti__country-list {
  z-index: 9999999 !important;
  position: absolute !important;
  background-color: #ffffff !important;
  border: 1px solid #ccc !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
  max-height: 200px !important;
  width: 300px !important; 
}

@media (max-width: 767px) {
  .iti__country-list {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-height: 50vh !important;
    border-radius: 12px !important;
  }
}

.wa-panel {
  overflow: visible !important; 
}

.wa-body {
  overflow: visible !important;
}

/* =========================================
   NUEVOS ESTILOS TARJETAS Y MODALES SERVICIOS
   ========================================= */

.service-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font-size: 13px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}

.btn-card--primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}
.btn-card--primary:hover {
  background: var(--red-dark);
}

.btn-card--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid #ccc;
}
.btn-card--outline:hover {
  border-color: var(--black);
  background: #f0f0f0;
}

/* =================================================
   ESTÉTICA UNIFORME MODALES DE SERVICIOS (CORREGIDO)
   ================================================= */
.modal-box--wide {
  width: 100%;
  max-width: 800px; /* Ancho ideal para lectura sin cansar la vista */
  display: flex;
  flex-direction: column;
  max-height: 90vh; /* Nunca será más alto que la pantalla */
  overflow: hidden; /* Mantiene los bordes curvos intactos */
}

.modal-header {
  flex-shrink: 0; /* El título siempre se queda fijo arriba */
}

/* El cuerpo del modal hará scroll interno si hay mucho contenido */
.modal-body-grid {
  display: flex;
  flex-direction: column;
  overflow-y: auto; 
  flex-grow: 1;
}

/* IMAGEN TIPO BANNER (ARRIBA) */
.modal-img-col {
  width: 100%;
  height: 250px; /* Altura para celulares */
  flex-shrink: 0;
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* Asegura que no se corten las cabezas de las personas */
}

/* CONTENIDO DE TEXTO (ABAJO) */
.modal-content-col {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modal-content-col h4 {
  color: var(--red);
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.modal-content-col ul {
  list-style: none; padding: 0; margin: 0 0 25px 0;
}

.modal-content-col li {
  margin-bottom: 10px; font-size: 14px; color: #444; padding-left: 0; line-height: 1.5;
}

.intro {
  font-size: 15px; font-style: italic; color: #555; margin-bottom: 20px; line-height: 1.6;
}

.full-width {
  width: 100%; text-align: center;
  margin-top: auto; /* Asegura que el botón siempre quede al final */
}

/* --- DISEÑO PARA PC: IMAGEN GIGANTE Y DETALLADA --- */
@media (min-width: 768px) {
  .modal-img-col {
    height: 400px; /* Altura inmensa para que la imagen luzca profesional en PC */
    border-bottom: 4px solid var(--red); /* Franja elegante separadora */
  }

  .modal-content-col {
    padding: 35px 50px; /* Mucho más aire y elegancia alrededor del texto en PC */
  }
}