/* ===================================
   WGT SEGUROS — CSS
   =================================== */

:root {
  --primary: #0E3A5D;        /* Azul Marino Corporativo */
  --primary-dark: #062B48;   /* Azul Gradiente Oscuro */
  --primary-mid: #144C78;    /* Azul Gradiente Medio */
  --gray-wgt: #A7A9AC;       /* Gris Neutro */
  --accent: #f5b800;
  --accent-hover: #e5a900;
  --accent-blue: #144C78;
  --white: #ffffff;
  --light: #f8fafc;
  --light-mid: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --green-wa: #25D366;
  --green-wa-hover: #1eb854;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(245,184,0,0.4);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn-primary-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary-dark:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-contactar {
  background: var(--accent-blue);
  color: var(--white);
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 6px;
}
.btn-contactar:hover {
  background: #2563eb;
  box-shadow: var(--shadow-sm);
}

.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}
.section-header-light h2 { color: var(--white); }
.section-header-light p { color: rgba(255,255,255,0.8); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 16px rgba(6, 43, 72, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
/* Al hacer scroll: glass un poco más opaco y sombra más fuerte */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px rgba(6, 43, 72, 0.14);
}

.nav-container {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img { height: 48px; width: auto; max-width: 180px; object-fit: contain; }
.logo-fallback { display: flex; align-items: center; gap: 10px; }
.logo-icon-text {
  width: 40px; height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.logo-text-group { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 700; font-size: 16px; color: var(--primary); }
.logo-tagline { font-size: 9px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.logo-label { font-weight: 700; font-size: 16px; color: var(--primary); display: none; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding-top: 70px;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,43,72,0.68) 0%, rgba(14,58,93,0.52) 60%, rgba(14,58,93,0.38) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== NOSOTROS ===== */
.nosotros {
  padding: 80px 0;
  background: var(--white);
}
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.nosotros-content {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
.nosotros-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.nosotros-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
}
.nosotros-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.nosotros-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.nosotros-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ===== VALORES ===== */
.valores {
  padding: 80px 0;
  background: var(--light);
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.valor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.valor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.valor-icon {
  width: 56px; height: 56px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--primary);
}
.valor-icon svg { width: 26px; height: 26px; }
.valor-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.valor-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== SERVICIOS CARRUSEL ===== */
.servicios {
  padding: 80px 0;
  background: var(--white);
}
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 0;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.carousel-slide {
  display: none;
  width: 100%;
  flex-shrink: 0;
}
.carousel-slide.active {
  display: grid;
  grid-template-columns: 5fr 6fr;
  min-height: 480px;
}
.slide-image {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.slide-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.slide-badge {
  position: absolute;
  top: 20px; left: 20px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-featured {
  background: var(--accent);
  color: var(--primary-dark);
}
.slide-content {
  padding: 56px 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: var(--light-mid);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.tag-featured {
  background: #dbeafe;
  color: var(--accent-blue);
}
.slide-content h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.slide-content > p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.slide-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.slide-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.check {
  color: var(--accent-blue);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1rem;
}
.btn-conocer {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-start;
}
.btn-conocer:hover { color: var(--accent-blue); border-color: var(--accent-blue); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--white);
  border: 2px solid var(--border);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--primary);
  transition: all 0.2s;
  line-height: 1;
}
.carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ===== HOGAR PROMO ===== */
.hogar-promo {
  padding: 80px 0;
  background: var(--light);
}
.hogar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hogar-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hogar-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hogar-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.hogar-copy {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hogar-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.hogar-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--text);
}
.check-green {
  color: var(--green-wa);
  font-weight: 800;
  flex-shrink: 0;
}

/* ===== EQUIPO ===== */
.equipo {
  padding: 80px 0;
  background: var(--white);
}
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.equipo-card {
  text-align: center;
}
.equipo-foto {
  width: 150px; height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(6,43,72,0.12);
}
.equipo-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.foto-placeholder {
  width: 100%; height: 100%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.equipo-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.equipo-cargo {
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.cargo-director { color: #2563eb; }
.cargo-coordinadora { color: #7c3aed; }
.cargo-especialista { color: #059669; }
.cargo-consultor { color: #d97706; }
.equipo-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== ¿QUÉ NOS HACE DIFERENTES? ===== */
.ventajas {
  padding: 80px 0;
  background: var(--light);
}
.ventajas .container {
  max-width: 900px;
}
.ventajas-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 8px;
}
.ventajas h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 40px;
}
.ventajas-grid {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}
.ventaja-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ventaja-check {
  color: var(--green-wa);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.ventaja-item p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* ===== ASEGURADORAS STRIP (carrusel infinito) ===== */
.aseguradoras-strip {
  background: var(--white);
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.strip-header {
  text-align: center;
  margin-bottom: 18px;
}
.strip-titulo {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  margin: 0;
}
.strip-track-wrapper {
  overflow: hidden;
  position: relative;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-logos 32s linear infinite;
}
.strip-track:hover { animation-play-state: paused; }

@keyframes marquee-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.strip-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 72px;
  flex-shrink: 0;
  padding: 0 18px;
  margin: 0 6px;
}
.strip-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(40%) opacity(0.75);
  transition: filter 0.25s;
}
.strip-logo:hover img {
  filter: grayscale(0%) opacity(1);
}
.strip-row-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-wgt);
  margin: 14px 0 6px;
}
.strip-track--reverse {
  animation-direction: reverse;
}

/* ===== TESTIMONIOS ===== */
.testimonios {
  padding: 80px 0;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.testimonios::before {
  content: '"';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  font-size: 280px;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.testimonios-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}
.testimonios-track { flex: 1; overflow: hidden; }

.testimonio-slide { display: none; text-align: center; padding: 0 8px; }
.testimonio-slide.active { display: block; animation: fadeSlide 0.4s ease; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Tarjeta del testimonio */
.testimonio-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 40px 48px 36px;
  position: relative;
}
.testimonio-card::before {
  content: '"';
  position: absolute;
  top: 16px; left: 28px;
  font-size: 72px;
  font-family: Georgia, serif;
  color: var(--accent);
  line-height: 1;
  opacity: 0.7;
}

.testimonio-foto {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--accent);
  background: rgba(255,255,255,0.12);
}
.testimonio-foto img { width: 100%; height: 100%; object-fit: cover; }
.foto-placeholder-sm {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 1rem;
  background: rgba(255,255,255,0.15);
}
.testimonio-estrellas {
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
blockquote {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.93);
  line-height: 1.8;
  font-style: italic;
  margin: 0 0 24px;
}
cite {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-style: normal;
  align-items: center;
}
cite strong { color: var(--white); font-size: 1rem; font-weight: 700; }
cite span { color: rgba(255,255,255,0.55); font-size: 0.83rem; letter-spacing: 0.5px; }

.testi-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  line-height: 1;
}
.testi-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
}

/* Dots de testimonios */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.testi-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ===== CTA ===== */
.cta-section {
  padding: 72px 0;
  background: var(--primary-dark);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* ===== CONTACTO ===== */
.contacto {
  padding: 80px 0;
  background: var(--light);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.contacto-info-card,
.contacto-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contacto-info-card h3,
.contacto-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}
.contacto-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.contacto-lista li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contacto-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contacto-lista strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.contacto-lista p,
.contacto-lista a {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.contacto-lista a { color: var(--primary); }
.contacto-lista a:hover { color: var(--accent-blue); }
.contacto-nota { font-size: 0.8rem; color: var(--text-muted); }

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: var(--green-wa);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-whatsapp:hover {
  background: var(--green-wa-hover);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transform: translateY(-1px);
}
.wa-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== FORMULARIO ===== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.form-label-radio {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: block;
}
.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
  flex: 1;
  min-width: 120px;
}
.radio-label:hover { border-color: var(--primary); }
.radio-label input[type="radio"] { accent-color: var(--primary); }
.radio-label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(26,58,92,0.05);
  font-weight: 600;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-top: 8px;
}
.btn-submit:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.form-success {
  text-align: center;
  padding: 16px;
  background: #f0fdf4;
  border-radius: 8px;
  color: #166534;
  font-weight: 600;
  margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 56px; width: auto; max-width: 220px; object-fit: contain; }
/* Convierte el logo color en versión blanca para el footer oscuro */
.footer-logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-tagline { display: none; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}
.social-icon:hover { transform: translateY(-2px); color: var(--white); }
.social-icon--ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-icon--fb:hover { background: #1877f2; }
.social-icon--wa:hover { background: #25D366; }
.footer-nav h4,
.footer-contacto h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer-nav ul, .footer-contacto ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contacto a { font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover, .footer-contacto a:hover { color: var(--white); }
.footer-contacto li { font-size: 0.88rem; line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-legal { display: flex; gap: 12px; align-items: center; }
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .equipo-grid { grid-template-columns: repeat(2, 1fr); }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links, .btn-contactar { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  .nav-links.open + .btn-contactar {
    display: none;
  }
  .logo-label { display: block; }

  .hero-title { font-size: 1.9rem; }
  .hero-subtitle br { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }

  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-image { order: -1; }

  .carousel-slide.active { grid-template-columns: 1fr; }
  .slide-image { min-height: 260px; }
  .slide-content { padding: 32px 24px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }

  .hogar-grid { grid-template-columns: 1fr; }
  .hogar-image { order: -1; }

  .equipo-grid { grid-template-columns: repeat(2, 1fr); }

  .ventajas-grid { grid-template-columns: 1fr; padding: 28px 24px; }

  .contacto-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .radio-group { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .valores-grid { grid-template-columns: 1fr; }
  .equipo-grid { grid-template-columns: 1fr; }
  .nosotros-stats { grid-template-columns: 1fr; }
}

/* ===== HERO EXTRAS ===== */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(245,184,0,0.4);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInDown 0.7s 0.2s forwards;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s forwards;
}
.hero-subtitle {
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s forwards;
}
.hero-buttons {
  opacity: 0;
  animation: fadeInUp 0.8s 0.8s forwards;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SKIP LINK (accesibilidad) ===== */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 16px 24px;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-content {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  flex-wrap: wrap;
}
.cookie-content p { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.cookie-content a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-cookie-accept:hover { opacity: 0.85; }
.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.btn-cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.6); }

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal="fade-up"]    { transform: translateY(36px); }
[data-reveal="fade-right"] { transform: translateX(-36px); }
[data-reveal="fade-left"]  { transform: translateX(36px); }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ===== VENTAJAS EYEBROW ===== */
.ventajas-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.ventajas .section-header h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

/* ===== SERVICIOS: VIDA Y SALUD ACCENT ===== */
.tag-vida   { background: rgba(14,58,93,0.08); color: #0a4a2e; border: 1px solid #0a4a2e30; }
.tag-salud  { background: rgba(0,120,180,0.08); color: #005a8e; border: 1px solid #005a8e30; }
.badge-vida  { background: #0a4a2e; color: #fff; }
.badge-salud { background: #005a8e; color: #fff; }
.check-vida  { color: #0a4a2e; font-weight: 700; }
.check-salud { color: #005a8e; font-weight: 700; }
.btn-conocer-vida  { border-color: #0a4a2e; color: #0a4a2e; }
.btn-conocer-vida:hover  { background: #0a4a2e; color: #fff; }
.btn-conocer-salud { border-color: #005a8e; color: #005a8e; }
.btn-conocer-salud:hover { background: #005a8e; color: #fff; }

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--light);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--primary); }
.faq-question[aria-expanded="true"] { color: var(--primary); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.3s, background 0.2s;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--primary-dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-answer.open { max-height: 400px; padding-bottom: 20px; }
.faq-answer p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}
.faq-answer a { color: var(--primary); }

/* ===== WHATSAPP TOOLTIP ===== */
.whatsapp-float-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-tooltip {
  background: var(--white);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 20px;
  border: 8px solid transparent;
  border-top-color: var(--white);
  border-bottom: 0;
}
.wa-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.whatsapp-float-wrapper .whatsapp-float {
  position: static;
}

@media (max-width: 600px) {
  .cookie-content { flex-direction: column; gap: 12px; }
  .faq-question { font-size: 0.9rem; }
  .hero-scroll-indicator { display: none; }
  .whatsapp-float-wrapper { bottom: 16px; right: 16px; }
}
