/* ============================================================
   NOVA INSURANCE & FINANCIAL GROUP — Global Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --azul-oscuro:  #0D1530;
  --azul-medio:   #2570B0;
  --azul-claro:   #4AADDA;
  --blanco:       #D7DBE0;
  --negro:        #000000;
  --gris:         #B0B7C3;
  --gris-suave:   #F4F6F9;
  --sombra:       0 4px 24px rgba(0,0,0,.40);
  --radio:        10px;
  --transicion:   .25s ease;
  --fuente:       'Inter', 'Segoe UI', Arial, sans-serif;
  /* z-index scale — only page-level stacking layers belong here.
     Local z-index:1 used inside a single component to stack its own
     children doesn't need a variable. */
  --z-floating-decoration: 40;
  --z-floating-cta: 999;
  --z-sticky-header: 1000;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--fuente);
  color: var(--blanco);
  background:
    radial-gradient(circle at 8% 16%, rgba(102, 201, 255, .18), transparent 24%),
    radial-gradient(circle at 16% 56%, rgba(15, 101, 255, .14), transparent 23%),
    radial-gradient(circle at 86% 14%, rgba(102, 201, 255, .16), transparent 24%),
    radial-gradient(circle at 78% 58%, rgba(15, 101, 255, .12), transparent 24%),
    linear-gradient(180deg, #020817 0%, #051122 42%, #03142c 70%, #020817 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .22;
  background:
    repeating-linear-gradient(90deg, transparent 0 122px, rgba(102, 201, 255, .05) 122px 123px),
    repeating-linear-gradient(0deg, transparent 0 122px, rgba(102, 201, 255, .026) 122px 123px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utilidades ─────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }
.text-center { text-align: center; }
.text-white  { color: var(--blanco); }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radio);
  font-weight: 600;
  font-size: .95rem;
  transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
  white-space: nowrap;
}
.btn-primary {
  background: var(--azul-medio);
  color: var(--blanco);
}
.btn-primary:hover {
  background: var(--azul-claro);
  box-shadow: 0 6px 20px rgba(46,163,242,.35);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: var(--blanco);
  color: var(--azul-oscuro);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--azul-medio);
  border: 2px solid var(--azul-medio);
}
.btn-ghost:hover {
  background: var(--azul-medio);
  color: var(--blanco);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--blanco);
}
.btn-whatsapp:hover {
  background: #1ebe5c;
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
  transform: translateY(-2px);
}

/* Títulos de sección */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--azul-claro);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #E4ECF4 0%, #B8C8D8 55%, #CDD8E4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title.light {
  background: linear-gradient(180deg, #E4ECF4 0%, #B8C8D8 55%, #CDD8E4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Silver-chrome on ALL major headings by default (dark-bg context) */
h1, h2, h3, h4 {
  background: linear-gradient(180deg, #E4ECF4 0%, #B8C8D8 55%, #CDD8E4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 640px;
}
.section-sub.light { color: rgba(255,255,255,.75); }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-header);
  background: linear-gradient(90deg, #0A0E1E 0%, #0D1530 40%, #0D1530 100%);
  box-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo-icon {
  height: 95px;
  background: transparent;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-icon img {
  height: 100%;
  width: auto;
  display: block;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong {
  display: block;
  font-size: 1rem;
  color: var(--blanco);
  font-weight: 800;
}
.nav-logo-text span {
  font-size: .72rem;
  color: var(--gris);
  letter-spacing: .04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transicion);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--azul-claro);
  transition: width var(--transicion);
}
.nav-links a:hover { color: var(--blanco); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--blanco); }
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 12px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform var(--transicion), opacity var(--transicion);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  background: var(--azul-oscuro);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  color: rgba(255,255,255,.82);
  padding: 11px 0;
  font-size: .95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transicion);
}
.nav-mobile a:hover { color: var(--azul-claro); }
.nav-mobile .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: transparent;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(46,163,242,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(30,95,175,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,163,242,.18);
  border: 1px solid rgba(46,163,242,.35);
  color: var(--azul-claro);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero-badge::before { content: '★'; }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #EEF3F8 0%, #C0D0E0 55%, #D4E0EC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 em {
  font-style: normal;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--azul-claro);
  color: var(--azul-claro);
}
.hero h1.hero-h1-v2 {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: initial;
}
.hero h1.hero-h1-v2 .h1-strong {
  display: block;
  font-weight: 900;
  background: linear-gradient(180deg, #E4ECF4 0%, #B8C8D8 55%, #CDD8E4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1.hero-h1-v2 .h1-light {
  display: block;
  font-weight: 300;
  color: rgba(255,255,255,.55);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.hero-stat-num {
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  font-weight: 900;
  color: var(--azul-claro);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.88);
  margin-top: 4px;
  word-break: keep-all;
}
.hero-stats-disclaimer {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  margin-top: 16px;
  max-width: 480px;
}

/* Hero card visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 360px;
}
.hero-card-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--azul-claro);
  margin-bottom: 20px;
}
.hero-service-list { display: flex; flex-direction: column; gap: 12px; }
.hero-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radio);
  padding: 12px 16px;
}
.hero-service-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(46,163,242,.15);
  color: var(--azul-claro);
  flex-shrink: 0;
}
.hero-service-icon svg { width: 20px; height: 20px; }
.hero-service-info strong {
  display: block;
  font-size: .88rem;
  color: var(--blanco);
  font-weight: 600;
}
.hero-service-info span {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
}
.hero-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-card-footer .univista-badge {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
}
.hero-card-footer strong { color: rgba(255,255,255,.8); font-size: .75rem; }

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
  align-items: center;
}
@media (min-width: 1300px) {
  .trust-bar-inner { flex-wrap: nowrap; gap: 0 26px; }
  .trust-item { white-space: nowrap; font-size: .8rem; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.72);
  font-weight: 500;
}
.trust-item-icon { font-size: 1.1rem; }

/* ── SERVICIOS ──────────────────────────────────────────────── */
.servicios { background: transparent; }
.servicios-header { margin-bottom: 52px; }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.servicio-card {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 32px 28px;
  transition: box-shadow var(--transicion), transform var(--transicion), border-color var(--transicion), background var(--transicion);
  position: relative;
  overflow: hidden;
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--azul-medio);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transicion);
  border-radius: 4px 0 0 4px;
}
.servicio-card:hover {
  box-shadow: var(--sombra);
  transform: translateY(-4px);
  border-color: var(--azul-claro);
  background: rgba(255,255,255,.09);
}
.servicio-card:hover::before { transform: scaleY(1); }
.servicio-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(46,163,242,.15);
  color: var(--azul-claro);
  margin-bottom: 16px;
}
.servicio-icon svg { width: 28px; height: 28px; }
.servicio-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 10px;
}
.servicio-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.62);
  line-height: 1.65;
  margin-bottom: 20px;
}
.servicio-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--azul-medio);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transicion), color var(--transicion);
}
.servicio-link:hover { color: var(--azul-claro); gap: 10px; }

/* ── POR QUÉ NOVA ───────────────────────────────────────────── */
.por-que {
  background: var(--azul-oscuro);
}
.por-que-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.por-que-features { display: flex; flex-direction: column; gap: 28px; }
.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(46,163,242,.15);
  border: 1px solid rgba(46,163,242,.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--azul-claro);
}
.feature-icon-wrap svg { width: 24px; height: 24px; }
.feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 6px;
}
.feature-item p {
  font-size: .88rem;
  color: rgba(255,255,255,.62);
  line-height: 1.6;
}
.por-que-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
}
.stat-card-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--azul-claro);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-card-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

/* ── OFICINAS ───────────────────────────────────────────────── */
.oficinas { background: rgba(0,0,0,.15); }
.oficinas-header { margin-bottom: 52px; }
.oficinas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.oficina-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform var(--transicion);
}
.oficina-card:hover { transform: translateY(-4px); }
.oficina-map-placeholder {
  background: linear-gradient(135deg, #071529 0%, #0D1F3C 100%);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.oficina-map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.oficina-map-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.oficina-pin {
  position: relative;
  z-index: 1;
  background: var(--azul-claro);
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(46,163,242,.4);
}
.oficina-body { padding: 28px; }
.oficina-city-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--azul-claro);
  background: rgba(74,173,218,.15);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.oficina-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 16px;
}
.oficina-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.oficina-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}
.oficina-info-row .oi-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.oficina-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.oficina-actions .btn { font-size: .82rem; padding: 10px 18px; }

/* ── TESTIMONIOS ────────────────────────────────────────────── */
.testimonios { background: transparent; }
.testimonios-header { margin-bottom: 52px; }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.testimonio-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 28px;
  position: relative;
}
.testimonio-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 22px;
  font-size: 5rem;
  color: var(--azul-claro);
  opacity: .18;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonio-stars { color: #F59E0B; font-size: .95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonio-text {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonio-author { display: flex; align-items: center; gap: 12px; }
.testimonio-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--azul-medio);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--blanco);
  flex-shrink: 0;
}
.testimonio-author-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--blanco);
}
.testimonio-author-city { font-size: .78rem; color: var(--gris); }

/* ── CTA ────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, rgba(37,112,176,.22) 0%, rgba(13,21,48,.55) 100%);
  border-top: 1px solid rgba(74,173,218,.18);
  border-bottom: 1px solid rgba(74,173,218,.12);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--blanco);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--azul-oscuro);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 0; margin-bottom: 16px; }
.footer-logo-icon {
  height: 124px;
  background: transparent;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-logo-icon img {
  height: 100%;
  width: auto;
  display: block;
}
.footer-logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blanco);
  line-height: 1.2;
}
.footer-logo-sub { font-size: .7rem; color: var(--gris); }
.footer-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: background var(--transicion), color var(--transicion);
}
.footer-social-btn:hover { opacity: .85; transform: translateY(-2px); }
/* Brand colors per network */
.footer-social-ig { color: #E1306C; border-color: rgba(225,48,108,.3); background: rgba(225,48,108,.08); }
.footer-social-ig:hover { background: #E1306C; color: #fff; }
.footer-social-fb { color: #1877F2; border-color: rgba(24,119,242,.3); background: rgba(24,119,242,.08); }
.footer-social-fb:hover { background: #1877F2; color: #fff; }
.footer-social-tt { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); }
.footer-social-tt:hover { background: #010101; color: #69C9D0; border-color: #69C9D0; }
.footer-social-wa { color: #25D366; border-color: rgba(37,211,102,.3); background: rgba(37,211,102,.08); }
.footer-social-wa:hover { background: #25D366; color: #fff; }
.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gris);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transicion);
}
.footer-links a:hover { color: var(--azul-claro); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-item .fci-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color var(--transicion); }
.footer-bottom a:hover { color: var(--azul-claro); }

/* ── FOTOS EN OFICINAS ──────────────────────────────────────── */
.oficina-map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.oficina-card:hover .oficina-map-placeholder img { transform: scale(1.04); }
.oficina-map-placeholder { overflow: hidden; }

/* Hero foto */
.hero-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  position: relative;
  width: 100%;
}
.hero-photo-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-photo-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(15,42,60,.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--blanco);
  font-size: .78rem;
  font-weight: 600;
}
.hero-photo-badge span { color: var(--azul-claro); }
.hero-visual { position: relative; }

/* Foto historia nosotros */
.historia-foto {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,42,60,.15);
}
.historia-foto img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Galería de fotos */
.foto-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  border-radius: 16px;
  overflow: hidden;
}
.foto-gallery-main img { width:100%; height:320px; object-fit:cover; display:block; }
.foto-gallery-side { display:grid; gap:12px; }
.foto-gallery-side img { width:100%; height:154px; object-fit:cover; display:block; }

/* Placeholder exterior pages */
.location-photo-wrap {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sombra);
}
.location-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* ── WHATSAPP FLOTANTE ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-floating-cta);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--blanco);
  font-weight: 600;
  font-size: .88rem;
  padding: 13px 20px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform var(--transicion), box-shadow var(--transicion);
  animation: wa-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}
.wa-icon { font-size: 1.3rem; }
.wa-text { }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50% { box-shadow: 0 6px 32px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.1); }
}

/* ── FOCUS VISIBLE (keyboard/touch accessibility) ──────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--azul-claro);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── MOTION PREFERENCE ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet/mobile: full inline menu (6 links + CTA + lang text) doesn't fit
   below ~1200px, so we switch to the hamburger menu here instead of at 768 —
   this frees enough width for a comfortably-sized logo at tablet widths. */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; width: 44px; height: 44px; justify-content: center; padding: 0; }
  .nav-inner > div { gap: 8px; }
  .lang-toggle-btn { padding: 5px; min-width: 44px; min-height: 44px; justify-content: center; }
  .lang-toggle-btn .lang-toggle-text { display: none; }
  .nav-inner { height: 100px; }
  .nav-logo-icon { height: 64px; }
  .nav-cta.btn-primary { padding: 10px 16px; font-size: .82rem; }
}

@media (max-width: 768px) {
  .section-pad { padding: 56px 0; }
  .nav-inner { height: 80px; }
  .nav-logo-icon { height: 40px; }
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stat-num { font-size: 1.9rem; }
  .por-que-inner { grid-template-columns: 1fr; gap: 40px; }
  .por-que-stats { grid-template-columns: 1fr 1fr; }
  .oficinas-grid { grid-template-columns: 1fr; }
  /* Footer mobile — columnas más limpias */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-desc { max-width: 100%; }
  /* Servicios grid mobile */
  .servicios-grid { grid-template-columns: 1fr; }
  /* Servicio card — evitar overflow de texto */
  .servicio-card h3 { word-break: break-word; overflow-wrap: break-word; }
  .servicio-card p { word-break: break-word; overflow-wrap: break-word; }
  .servicio-link { word-break: normal; }
}

@media (max-width: 480px) {
  .nav-inner { height: 74px; }
  .nav-logo-icon { height: 32px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: .68rem; }
  .servicios-grid { grid-template-columns: 1fr; }
  .por-que-stats { grid-template-columns: 1fr 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { grid-column: auto; }
  .whatsapp-float .wa-text { display: none; }
  .whatsapp-float { padding: 15px; border-radius: 50%; }
  /* Servicio detail pages */
  .servicio-detail .btn { width: 100%; justify-content: center; text-align: center; }
  /* Section label */
  .section-label { font-size: .72rem; }
  .section-title { font-size: 1.5rem; }
  /* Hero location badge */
  .hero-location-badge { font-size: .68rem; padding: 5px 10px; margin-bottom: 14px; }
  /* Oficina actions */
  .oficina-actions { flex-direction: column; }
  .oficina-actions .btn { width: 100%; justify-content: center; }
}

/* Narrow phones (iPhone SE, small Android ~320-380px): logo + CTA were
   overlapping with lang-toggle/hamburger at full 44px touch-target size */
@media (max-width: 380px) {
  .nav-inner { height: 70px; }
  .nav-logo-icon { height: 26px; }
  .nav-cta.btn-primary { padding: 8px 10px; font-size: .72rem; }
  .nav-inner > div { gap: 4px; }
}

/* Oldest/smallest phones (iPhone SE 1st-gen, ~320-340px) need a touch smaller
   logo than the rest of the ≤380px tier to keep clear of the CTA button. */
@media (max-width: 340px) {
  .nav-inner { height: 64px; }
  .nav-logo-icon { height: 22px; }
}

/* ── Partners / Compañías aseguradoras ─────────────────────── */
.partners-bar {
  background: transparent;
  padding: 36px 0 40px;
}
.partners-sub {
  text-align: center;
  font-size: .88rem;
  color: rgba(255,255,255,.60);
  margin-bottom: 24px;
  padding-left: 70px;
}
.partners-strip {
  background: linear-gradient(135deg, #DDE4EC 0%, #EDF0F5 40%, #E8EEF4 70%, #D8E0EA 100%);
  border-radius: 16px;
  padding: 22px 32px;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 26px;
}
.partners-logos img {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  opacity: .85;
  filter: none;
  transition: opacity .25s ease, transform .25s ease;
}
.partners-logos img:hover {
  opacity: 1;
  transform: scale(1.07);
}
.partners-logos img.logo-geico-mascot {
  height: 130px;
  margin: -49px -10px -49px -20px;
  max-width: 159px;
}
@media (max-width: 768px) {
  .partners-logos { gap: 16px 28px; }
  .partners-logos img { height: 26px; max-width: 90px; }
  .partners-logos img.logo-geico-mascot { height: 164px; margin: -69px 0; max-width: 199px; }
}
@media (max-width: 480px) {
  .partners-logos { gap: 14px 20px; }
  .partners-logos img { height: 22px; max-width: 76px; }
  .partners-logos img.logo-geico-mascot { height: 139px; margin: -58.5px 0; max-width: 169px; }
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 50px;
  padding: 5px 16px 5px 5px;
  font-family: var(--fuente);
  font-weight: 700;
  font-size: .8rem;
  color: #33415c;
  cursor: pointer;
  transition: box-shadow .18s ease, transform .18s ease;
}
.lang-toggle-btn:hover { box-shadow: 0 2px 10px rgba(0,0,0,.18); transform: translateY(-1px); }
.lang-toggle-flag {
  width: 22px; height: 22px;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  background: #eee;
  flex-shrink: 0;
}

/* Floating GEICO mascot — follows scroll on the right side */
.geico-float {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  height: 320px;
  width: auto;
  z-index: var(--z-floating-decoration);
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.4));
}
@media (max-width: 1500px) {
  .geico-float { display: none; }
}
