/* ============================================================
   GRUPO EB — BROKER DE SEGUROS
   Diseño inspirado en fedpat.com.ar
   Tipografía: Source Sans 3 (única)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:        #0d1e4c;   /* azul oscuro del logo            */
  --navy-mid:    #162454;
  --blue:        #0053a1;   /* azul acento (estilo patronal)   */
  --blue-light:  #1a6bbf;
  --blue-hover:  #004080;
  --blue-pale:   #e8f0fb;
  --white:       #ffffff;
  --off-white:   #f5f8fc;
  --border:      #dde4ee;
  --border-lt:   #edf2f8;
  --text:        #111827;
  --text-body:   #374151;
  --muted:       #6b7280;
  --muted-lt:    #9ca3af;
  --sh-xs:       0 1px 3px rgba(0,0,0,.06);
  --sh-sm:       0 2px 10px rgba(13,30,76,.09);
  --sh-md:       0 6px 24px rgba(13,30,76,.12);
  --sh-lg:       0 16px 48px rgba(13,30,76,.16);
  --r-sm:        4px;
  --r:           8px;
  --r-lg:        14px;
  --ease:        all .25s ease;
  --max-w:       1180px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}
a  { text-decoration:none; color:inherit; }
ul { list-style:none; }
img { max-width:100%; display:block; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

h1,h2,h3,h4,h5 {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.01em;
}

/* ── Layout helpers ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.section-pad    { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-blue {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-blue:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,83,161,.3); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 24px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  transition: var(--ease);
  white-space: nowrap;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.85); }

.btn-outline-navy {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 22px;
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  transition: var(--ease);
}
.btn-outline-navy:hover { background: var(--blue); color: var(--white); }

/* ── Section titles ────────────────────────────────────────── */
.tag-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
}
.section-title-center { text-align: center; }
.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 580px;
}
.section-desc-center { text-align:center; margin: 0 auto 48px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header.scrolled { box-shadow: var(--sh-md); }

/* Barra 1: Logo ──────────────────────────────────────────── */
.header-logo-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-lt);
}
.header-logo-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100px;
}
.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.site-logo img {
  height: 73px;
  width: auto;
  object-fit: contain;
}

/* Botones de acceso rápido */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  transition: var(--ease);
}
.header-action-btn:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue);
}
.action-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-pale);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .25s;
}
.header-action-btn:hover .action-icon { background: rgba(0,83,161,.15); }
.action-icon svg { width: 17px; height: 17px; color: var(--blue); }
.action-text { display: flex; flex-direction: column; line-height: 1; }
.action-label { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.action-sub { font-size: 11px; color: var(--muted); }

/* Barra 2: Navegación ────────────────────────────────────── */
.header-nav-bar {
  background: var(--navy);
  border-bottom: none;
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  height: 48px;
}

/* El drawer mobile se oculta en desktop */
.mobile-nav-drawer { display: none; }

/* Links de nav */
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 3px;
  background: var(--white);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-arrow { font-size: 10px; opacity: .55; transition: transform .25s; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--sh-md);
  padding: 6px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 300;
}
.nav-item:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  font-size: 14px; font-weight: 600;
  color: var(--text-body);
  border-left: 3px solid transparent;
  transition: var(--ease);
}
.dropdown a:hover {
  background: var(--off-white);
  color: var(--blue);
  border-left-color: var(--blue);
  padding-left: 22px;
}

/* Nav bar derecha: redes + CTA */
.nav-bar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-contact-link {
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.75);
  border-right: 1px solid rgba(255,255,255,.15);
  height: 48px;
  transition: color .25s;
  white-space: nowrap;
}
.nav-contact-link:hover { color: var(--white); }
.nav-contact-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-social {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: rgba(255,255,255,.65);
  transition: var(--ease);
}
.nav-social:hover { color: var(--white); background: rgba(255,255,255,.12); }
.nav-social svg { width: 17px; height: 17px; }

/* Hamburger (solo mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  width: 38px; height: 38px;
  gap: 5px;
  border-radius: var(--r-sm);
}
.hamburger span {
  display: block; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 22px; }
.hamburger.open span:nth-child(1) { width: 22px; transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { width: 22px; transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SLIDER
   ============================================================ */
.slider {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: var(--white);
  user-select: none;
}

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .75s ease;
  height: 100%;
  background: var(--white);
}
.slide.active { opacity: 1; position: relative; pointer-events: auto; }

/* Panel visual derecho (decorativo) */
.slide-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  background: var(--navy);
  border-radius: 52% 0 0 52% / 50% 0 0 50%;
  overflow: hidden;
  pointer-events: none;
}
.slide-2 .slide-visual { background: var(--blue); }
.slide-3 .slide-visual { background: var(--navy-mid); }
.slide-4 .slide-visual { background: var(--blue); }

.slide-visual-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.slide-visual-icon {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.slide-visual-icon svg { width: 140px; height: 140px; opacity: .9; }

/* Imagen dentro del oval */
.slide-visual-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 104%;
  object-fit: contain;
  object-position: center bottom;
  z-index: 2;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.25));
}
/* JPG: cubre todo el oval */
.slide-visual-img--cover {
  width: 100%;
  height: 100%;
  top: 0;
  bottom: auto;
  left: 0;
  transform: none;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

/* Layout interno */
.slide-layout {
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  height: 100%;
}

/* Contenido */
.slide-content {
  position: relative; z-index: 2;
  padding: 60px 0;
  max-width: 560px;
}
.slide-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.slide-badge::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}
.slide-content h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 16px;
}
.slide-content h1 em {
  font-style: normal;
  color: var(--blue);
}
.slide-content p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.slide-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Controles */
.slider-dots-nav {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: var(--border);
  border: none; cursor: pointer;
  transition: var(--ease);
}
.slider-dot.active { width: 28px; background: var(--blue); }
.slider-dot:hover  { background: var(--blue-light); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: .9rem;
  cursor: pointer; transition: var(--ease);
  box-shadow: var(--sh-sm);
}
.slider-arrow:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  height: 4px;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios { background: var(--off-white); }

.servicios-top {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.services-slider-outer {
  position: relative;
}

.services-slider {
  display: flex;
  overflow-x: scroll;
  gap: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.services-slider::-webkit-scrollbar { display: none; }

.services-slider .service-card {
  flex: 0 0 calc((100% - 48px) / 4);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.svc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: var(--ease);
  color: var(--navy);
  padding: 0;
}
.svc-arrow:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.svc-arrow svg { width: 16px; height: 16px; pointer-events: none; }
.svc-prev { left: -20px; }
.svc-next { right: -20px; }
.svc-arrow:disabled { opacity: .35; cursor: default; pointer-events: none; }

.service-card {
  background: var(--white);
  padding: 32px 26px;
  display: flex; flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: background .3s, transform .25s;
  cursor: pointer;
  text-decoration: none;
}

/* Overlay fill en hover */
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--navy);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.service-card:hover::before { transform: translateY(0); }
.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: var(--blue-pale);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.service-icon svg { width: 24px; height: 24px; color: var(--blue); transition: color .3s; }
.service-card:hover .service-icon { background: var(--blue); }
.service-card:hover .service-icon svg { color: var(--white); }

.service-card h3 {
  font-size: 15px; font-weight: 700;
  color: var(--text);
  transition: color .3s;
}
.service-card:hover h3 { color: var(--white); }

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55; flex: 1;
  transition: color .3s;
}
.service-card:hover p { color: rgba(255,255,255,.68); }

.card-cta {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700;
  color: var(--blue);
  transition: var(--ease);
}
.service-card:hover .card-cta { color: #7bb5f0; gap: 9px; }
.card-cta svg { width: 13px; height: 13px; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip { background: var(--navy); padding: 22px 0; }
.cta-strip-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.cta-strip-text strong {
  display: block;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white);
}
.cta-strip-text span {
  font-size: 14px; color: rgba(255,255,255,.6); margin-top: 2px;
}
.btn-strip-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  background: #25d366; color: var(--white);
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700;
  white-space: nowrap;
  transition: var(--ease); flex-shrink: 0;
}
.btn-strip-wa:hover { background: #1db859; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.35); }
.btn-strip-wa svg { width: 18px; height: 18px; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px; align-items: start;
}

.contact-info {}
.contact-info h2 { font-size: clamp(1.6rem,3vw,2rem); font-weight: 900; margin-bottom: 12px; }
.contact-info > p { color: var(--muted); line-height: 1.75; margin-bottom: 32px; font-size: 1.02rem; }

.contact-item {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-lt);
}
.contact-item:last-of-type { border-bottom: 1px solid var(--border-lt); }
.ci-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 17px; height: 17px; color: var(--blue); }
.ci-label {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); margin-bottom: 3px;
}
.ci-value { font-size: 15px; font-weight: 600; color: var(--text); }
.ci-value a { transition: var(--ease); }
.ci-value a:hover { color: var(--blue); }

/* Formulario */
.form-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--blue);
  padding: 36px;
}
.form-card-title {
  font-size: 1.1rem; font-weight: 700;
  color: var(--text);
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--text); margin-bottom: 5px;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 15px; font-family: inherit;
  color: var(--text); background: var(--white);
  transition: var(--ease); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,83,161,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M8 10.586L3.707 6.293 2.293 7.707 8 13.414l5.707-5.707-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
  padding-right: 36px;
}
.form-submit { margin-top: 4px; }
.form-submit .btn-blue { width: 100%; justify-content: center; padding: 12px; font-size: 16px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }

.form-success { display: none; text-align: center; padding: 28px 12px; }
.form-success.visible { display: block; }
.form-ok-icon {
  width: 56px; height: 56px;
  background: #e8f5ee; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.form-ok-icon svg { width: 26px; height: 26px; color: #16a34a; }
.form-success h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 6px; }
.form-success p { font-size: 15px; color: var(--muted); }

/* ============================================================
   QUIÉNES SOMOS (preview)
   ============================================================ */
.qs-preview {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.qs-preview::after {
  content: ''; position: absolute;
  right: -80px; top: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,83,161,.18) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.qs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 2;
}
.qs-text .tag-label { color: #9bc4f0; border-color: #9bc4f0; }
.qs-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900; color: var(--white); margin-bottom: 18px;
}
.qs-text > p { font-size: 1.02rem; color: rgba(255,255,255,.68); line-height: 1.8; margin-bottom: 14px; }

.valores-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.valor-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 20px;
  transition: var(--ease);
}
.valor-card:hover {
  background: rgba(0,83,161,.2);
  border-color: rgba(26,107,191,.35);
  transform: translateY(-3px);
}
.valor-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.valor-icon svg { width: 20px; height: 20px; color: #9bc4f0; }
.valor-card h4 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.valor-card p  { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.55; }

/* ============================================================
   ASEGURADORAS
   ============================================================ */
.aseguradoras { background: var(--off-white); }

.aseguradoras-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px; margin-top: 8px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.seg-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 32px;
  min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.seg-logo:hover { border-color: var(--blue); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.seg-logo img {
  max-height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .65;
  transition: var(--ease);
}
.seg-logo:hover img { filter: grayscale(0%); opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #060f22; }
.footer-body { padding: 60px 0 44px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-logo img {
  height: 200px; margin-bottom: 16px;

  filter: none; opacity: 1;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,.42);
  line-height: 1.75; max-width: 260px; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.07);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: var(--ease);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }
.footer-social a svg { width: 14px; height: 14px; }

.footer-col h4 {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,.46);
  transition: var(--ease);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.foot-contact { display: flex; gap: 10px; margin-bottom: 12px; }
.foot-contact svg { width: 14px; height: 14px; color: var(--blue-light); flex-shrink: 0; margin-top: 3px; }
.foot-contact a, .foot-contact span {
  font-size: 14px; color: rgba(255,255,255,.46);
  transition: var(--ease); line-height: 1.45;
}
.foot-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.25); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  display: flex; align-items: center; gap: 9px;
  background: #25d366; color: var(--white);
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: var(--ease);
}
.wa-float:hover {
  background: #1db859; transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}
.wa-float svg { width: 20px; height: 20px; }

/* ============================================================
   MODAL PROMOCIONAL
   ============================================================ */
.promo-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(6,15,34,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.promo-overlay.visible {
  opacity: 1; pointer-events: all;
}
.promo-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  max-width: 760px; width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  transform: translateY(24px);
  transition: transform .35s ease;
}
.promo-overlay.visible .promo-modal {
  transform: translateY(0);
}
.promo-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 32px; height: 32px;
  background: rgba(0,0,0,.08); border: none;
  border-radius: 50%; font-size: 14px; font-weight: 700;
  color: var(--text-body); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.promo-close:hover { background: rgba(0,0,0,.18); color: var(--text); }

.promo-body {
  display: grid;
  grid-template-columns: 1fr 260px;
}
.promo-left {
  padding: 40px 36px;
}
.promo-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue); background: var(--blue-pale);
  border-radius: 4px; padding: 4px 10px;
  margin-bottom: 18px;
}
.promo-left h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 900; color: var(--navy);
  line-height: 1.25; margin-bottom: 12px;
}
.promo-left p {
  font-size: 15px; color: var(--text-body);
  line-height: 1.7; margin-bottom: 28px;
}
.promo-btns {
  display: flex; flex-direction: column; gap: 10px;
}
.promo-btn-wa {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  background: #25d366; color: var(--white);
  padding: 12px 20px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700;
  transition: var(--ease);
}
.promo-btn-wa:hover { background: #1db859; transform: translateY(-1px); }
.promo-btn-wa svg { width: 18px; height: 18px; }
.promo-btn-form {
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-pale); color: var(--blue);
  padding: 12px 20px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700;
  transition: var(--ease);
}
.promo-btn-form:hover { background: #d4e5f8; }

.promo-right {
  background: linear-gradient(160deg, var(--navy) 0%, #122060 100%);
  padding: 40px 28px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.promo-icon {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.promo-icon svg { width: 28px; height: 28px; color: #9bc4f0; }
.promo-features {
  list-style: none; display: flex; flex-direction: column; gap: 13px;
}
.promo-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; color: rgba(255,255,255,.78);
  line-height: 1.45;
}
.pf-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: rgba(0,83,161,.55);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #9bc4f0;
  margin-top: 1px;
}

@media (max-width: 600px) {
  .promo-body { grid-template-columns: 1fr; }
  .promo-right { display: none; }
  .promo-left { padding: 36px 24px 32px; }
}

/* ============================================================
   PÁGINAS DE SERVICIO
   ============================================================ */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, #122060 55%, #1a2d7a 100%);
  padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,83,161,.18) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }
.page-hero h1 {
  font-size: clamp(1.9rem,4vw,2.8rem); font-weight: 900;
  color: var(--white); margin-bottom: 12px; max-width: 660px;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 540px; line-height: 1.75; }

.service-layout {
  display: grid; grid-template-columns: 1fr 290px;
  gap: 56px; align-items: start;
}
.service-body { background: var(--white); }
.service-body h2 { font-size: 1.4rem; font-weight: 900; margin-bottom: 14px; }
.service-body p  { color: var(--text-body); line-height: 1.8; margin-bottom: 16px; font-size: 1.02rem; }

.cov-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.02rem; font-weight: 900; color: var(--text);
  margin: 32px 0 14px;
}
.cov-title span { flex:1; height:1px; background: var(--border-lt); }

.cov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 24px; }
.cov-item {
  display: flex; gap: 10px;
  padding: 11px 13px;
  background: var(--off-white);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-sm);
  transition: var(--ease);
}
.cov-item:hover { border-color: var(--blue); background: var(--blue-pale); }
.cov-check {
  width: 17px; height: 17px;
  background: var(--blue);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.cov-check svg { width: 9px; height: 9px; color: var(--white); }
.cov-text { font-size: 14px; font-weight: 600; color: var(--text-body); line-height: 1.4; }

/* Sidebar */
.service-sidebar {}
.sidebar-cta {
  background: var(--navy); border-radius: var(--r-lg);
  padding: 28px; text-align: center; margin-bottom: 16px;
}
.sidebar-cta h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.sidebar-cta p  { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 20px; line-height: 1.5; }
.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: #25d366; color: var(--white);
  border-radius: var(--r-sm); padding: 10px 16px;
  font-size: 14px; font-weight: 700; margin-bottom: 9px;
  transition: var(--ease);
}
.btn-wa:hover { background: #1db859; }
.btn-wa svg { width: 16px; height: 16px; }
.btn-mail {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); border-radius: var(--r-sm); padding: 10px 16px;
  font-size: 14px; font-weight: 700; transition: var(--ease);
}
.btn-mail:hover { background: rgba(255,255,255,.16); }
.btn-mail svg { width: 15px; height: 15px; }

.sidebar-info {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--r); border-top: 3px solid var(--blue); padding: 20px;
}
.sidebar-info h4 {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text); margin-bottom: 12px;
}
.sidebar-info li {
  display: flex; gap: 7px; font-size: 14px;
  color: var(--text-body); padding: 6px 0;
  border-bottom: 1px solid var(--border-lt); align-items: flex-start;
}
.sidebar-info li:last-child { border-bottom: none; }
.sidebar-info li::before { content: '›'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   QUIÉNES SOMOS (página completa)
   ============================================================ */
.qs-intro .intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.qs-intro .intro-text p { color: var(--text-body); line-height: 1.8; margin-bottom: 14px; font-size: 1.02rem; }
.intro-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.intro-stat {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--blue); border-radius: var(--r);
  padding: 20px; text-align: center;
}
.intro-stat .n { font-size: 2rem; font-weight: 900; color: var(--navy); letter-spacing: -.03em; }
.intro-stat .l { font-size: 13px; color: var(--muted); margin-top: 4px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card {
  border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--border);
}
.mv-card.mision { background: var(--navy); }
.mv-card.vision { background: var(--white); }
.mv-icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.mv-card.mision .mv-icon { background: rgba(255,255,255,.12); }
.mv-card.vision .mv-icon  { background: var(--blue-pale); }
.mv-icon svg { width: 22px; height: 22px; }
.mv-card.mision .mv-icon svg { color: var(--white); }
.mv-card.vision .mv-icon svg  { color: var(--blue); }
.mv-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.mv-card.mision h3 { color: var(--white); }
.mv-card.vision h3  { color: var(--text); }
.mv-card p { font-size: 15px; line-height: 1.75; }
.mv-card.mision p { color: rgba(255,255,255,.7); }
.mv-card.vision p  { color: var(--text-body); }

.valores-page { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vp-card {
  background: var(--white); border: 1px solid var(--border);
  border-bottom: 3px solid var(--blue); border-radius: var(--r);
  padding: 24px; transition: var(--ease);
}
.vp-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.vp-card .vi { font-size: 1.8rem; margin-bottom: 10px; }
.vp-card h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.vp-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   MOBILE NAV DRAWER (contenido interno)
   ============================================================ */
.mobile-nav-drawer ul { margin-bottom: 6px; }
.mobile-nav-drawer ul > li { border-bottom: 1px solid var(--border-lt); }
.mobile-nav-drawer ul > li:last-child { border-bottom: none; }

.mobile-nav-drawer ul > li > a,
.mob-dropdown-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 13px 4px;
  font-size: 16px; font-weight: 600;
  color: var(--text);
  background: none; border: none; font-family: inherit;
  cursor: pointer; transition: color .2s; text-decoration: none;
}
.mobile-nav-drawer ul > li > a:hover,
.mob-dropdown-btn:hover { color: var(--blue); }

.mob-dropdown { display: none; background: var(--off-white); border-radius: var(--r-sm); margin-bottom: 6px; overflow: hidden; }
.mob-has-dropdown.open .mob-dropdown { display: block; }
.mob-dropdown li { border-bottom: 1px solid var(--border-lt); }
.mob-dropdown li:last-child { border-bottom: none; }
.mob-dropdown li a {
  display: flex; padding: 11px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--text-body);
  border-left: 3px solid transparent;
  transition: var(--ease);
}
.mob-dropdown li a:hover { color: var(--blue); border-left-color: var(--blue); padding-left: 20px; }
.mob-arr { font-size: 10px; opacity: .5; transition: transform .25s; }
.mob-has-dropdown.open .mob-arr { transform: rotate(180deg); }
.mob-nav-cta { margin-top: 20px; width: 100%; justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-slider .service-card { flex: 0 0 calc((100% - 32px) / 3); }
  .aseguradoras-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sidebar-cta { margin-bottom: 0; }
  .valores-page { grid-template-columns: repeat(2, 1fr); }
  .qs-intro .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .qs-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  /* Header mobile */
  .header-logo-inner { height: 66px; justify-content: flex-start; }
  .site-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .site-logo img { height: 50px; }
  .header-actions { display: none; }
  .header-nav-bar { display: none; }
  .hamburger { display: flex; }

  /* Nav mobile drawer */
  .mobile-nav-drawer {
    position: fixed;
    top: 66px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    overflow-y: auto;
    padding: 16px 20px 32px;
    border-top: 3px solid var(--blue);
    box-shadow: var(--sh-lg);
    z-index: 997;
    flex-direction: column;
  }
  .mobile-nav-drawer.open { display: flex; }

  /* Slider */
  .slider { height: auto; min-height: 420px; }
  .slide-visual { width: 30%; border-radius: 60% 0 0 60% / 50% 0 0 50%; }
  .slide-visual-icon svg { width: 90px; height: 90px; }
  .slide-layout { grid-template-columns: 70% 30%; }
  .slide-content h1 { font-size: 1.75rem; }
  .slide-content p { font-size: .95rem; }
  .slider-arrow { display: none; }

  /* Grids */
  .servicios-top { flex-direction: column; align-items: stretch; }
  .servicios-top .btn-outline-navy { width: 100%; justify-content: center; }
  .services-slider .service-card { flex: 0 0 80%; }
  .svc-arrow { display: none; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .aseguradoras-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-pad { padding: 52px 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: 1px solid rgba(255,255,255,.1) !important; padding: 18px 20px; }
  .stat-item:nth-child(2n) { border-right: none !important; }
  .valores-grid { grid-template-columns: 1fr 1fr; }
  .service-sidebar { grid-template-columns: 1fr; }
  .cov-grid { grid-template-columns: 1fr; }
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 13px; border-radius: 50%; }
}

@media (max-width: 520px) {
  .services-slider .service-card {
    flex: 0 0 85%;
    padding: 20px 18px;
  }
  .aseguradoras-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr; }
  .slide-btns { flex-direction: column; }
  .slide-layout { grid-template-columns: 1fr; padding-top: 180px; }
  .slide-visual {
    display: block;
    width: 100%;
    height: 180px;
    border-radius: 0 0 50% 50% / 0 0 28px 28px;
    top: 0; left: 0; right: 0; bottom: auto;
  }
  .slide-visual-img {
    width: 100%;
    height: 100%;
    object-position: center center;
  }
  .slide-content { padding: 20px 0 40px; }
  .slide-content h1 { font-size: 1.6rem; }
  .form-card { padding: 24px 18px; }
  .valores-page { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
}
