/* =====================================================
   CLÍNICA DE ESPECIALISTAS ENVIGADO
   Paleta: azul marino · rojo institucional · gris frío · blanco
   Tipografía: Syne (display futurista) + Inter (cuerpo técnico)
   Estilo: formal · moderno · toque futurista
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────── */
:root {
  --navy:        #0b1f3a;
  --navy-deep:   #071428;
  --navy-mid:    #122952;
  --red:         #c0112e;
  --red-dark:    #96001f;
  --red-glow:    rgba(192,17,46,.18);
  --white:       #ffffff;
  --off-white:   #f4f7fb;
  --gray-50:     #f0f3f8;
  --gray-100:    #e4e9f2;
  --gray-200:    #c8d2e4;
  --gray-400:    #7d8eaa;
  --gray-600:    #3d4f6a;
  --text:        #0b1c30;
  --text-soft:   #4f6078;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 3px rgba(11,31,58,.07);
  --shadow-sm: 0 3px 12px rgba(11,31,58,.09);
  --shadow-md: 0 8px 30px rgba(11,31,58,.13);
  --shadow-lg: 0 20px 56px rgba(11,31,58,.18);

  --transition: .28s cubic-bezier(.4,0,.2,1);
  --line: rgba(192,17,46,.55);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;

}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── Tipografía ─────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

/* ── Eyebrow ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
}
.eyebrow.light { color: rgba(255,255,255,.55); }
.eyebrow.light::before { background: rgba(255,255,255,.4); }

/* ── Botones ────────────────────────────────────────── */
.btn-header,
.btn-primary,
.btn-secondary,
.appointment-form button,
.assistant-preview button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-header,
.btn-primary,
.appointment-form button,
.assistant-preview button {
  background: var(--red);
  color: var(--white);
  padding: 11px 24px;
}
.btn-header:hover,
.btn-primary:hover,
.appointment-form button:hover,
.assistant-preview button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--red-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 10px 24px;
  border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--gray-50);
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-100);
}

/* Barra roja superior */
.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--red) 100%);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand img { height: 60px; object-fit: contain; }
.menu { display: flex; align-items: center; gap: 36px; }
.menu a {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--red);
  transition: width var(--transition);
}
.menu a:hover, .menu a.active { color: var(--navy); }
.menu a:hover::after, .menu a.active::after { width: 100%; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: stretch;
  overflow: hidden;
  background: var(--navy-deep);
  position: relative;
}

/* Líneas de cuadrícula futurista */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  padding: 32px 40px 32px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Línea roja vertical izquierda */
.hero-content::before {
  content: '';
  position: absolute;
  left: calc(8% - 18px);
  top: 20%;
  height: 60%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--red) 40%, transparent);
}

.hero-content h1 {
  font-size: clamp(30px, 3vw, 48px);
  color: var(--white);
  max-width: 560px;
  margin-bottom: 18px;
  line-height: 1.06;
}

/* Acento rojo bajo una palabra del h1 */
.hero-content h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-content p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.5);
  max-width: 440px;
  margin-bottom: 20px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(.82) saturate(.9);
}

/* Overlay diagonal futurista sobre la imagen */
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--navy-deep) 0%, transparent 38%);
  z-index: 1;
}

/* Etiqueta "30 años" flotante */
.hero-image::after {
  content: '+30 años';
  position: absolute;
  bottom: 36%;
  left: 14px;
  z-index: 2;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(192,17,46,.85);
  padding: 14px 22px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(6px);
}

/* ── Trust bar ───────────────────────────────────────── */
.trust-section {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.06);
}
.trust-card {
  padding: 13px 20px;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition);
  position: relative;
}
.trust-card:last-child { border-right: none; }
.trust-card:hover { background: rgba(255,255,255,.03); }

/* Acento rojo superior en hover */
.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.trust-card:hover::before { transform: scaleX(1); }

.trust-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}
.trust-card p {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,.32);
  font-weight: 300;
}

/* ── Servicios ───────────────────────────────────────── */
.services-section {
  padding: 16px 8% 14px;
  background: var(--white);
}

.section-title { text-align: center; margin-bottom: 28px; }
.section-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title span::before,
.section-title span::after {
  content: '';
  display: inline-block;
  width: 16px; height: 1.5px;
  background: var(--red);
}
.section-title h2 {
  font-size: clamp(26px, 3vw, 44px);
  color: var(--navy);
}
.section-title p {
  margin: 10px auto 0;
  font-size: 13px;
  color: var(--text-soft);
  max-width: 500px;
  line-height: 1.7;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.services-grid article {
  background: var(--white);
  padding: 14px 16px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.services-grid article::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.services-grid article:hover { background: var(--gray-50); }
.services-grid article:hover::after { transform: scaleX(1); }

.service-icon {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1;
  opacity: .75;
}
.services-grid article h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.services-grid article p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 300;
}

/* ── Agendamiento ────────────────────────────────────── */
.appointment-section { padding: 0 8% 44px; }
.appointment-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px 32px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Cuadrícula futurista de fondo */
.appointment-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
/* Círculo rojo decorativo */
.appointment-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(192,17,46,.14);
  pointer-events: none;
}
.appointment-card h2 {
  font-size: clamp(24px, 2.5vw, 38px);
  color: var(--white);
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.appointment-card p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
  font-weight: 300;
  position: relative; z-index: 1;
}
.appointment-form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  padding: 14px;
  display: grid;
  gap: 7px;
  position: relative; z-index: 1;
}
.appointment-form input,
.appointment-form select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  color: rgba(255,255,255,.32);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  outline: none;
}
.appointment-form select option { background: var(--navy); }
.appointment-form button {
  padding: 12px;
  font-size: 13px;
  border-radius: var(--radius-xs);
  opacity: .45;
  cursor: not-allowed;
}

/* ── Alianzas ────────────────────────────────────────── */
.alliances-section {
  padding: 12px 8%;
  background: var(--off-white);
}
.alliances-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.alliances-grid div {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: var(--transition);
}
.alliances-grid div:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: var(--shadow-sm);
}

/* ── Info ────────────────────────────────────────────── */
.info-section {
  padding: 14px 8%;
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 20px;
}
.why-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-height: 200px;
}
.why-card > div { padding: 32px 32px; }
.why-card h2 {
  font-size: clamp(22px, 2.4vw, 36px);
  color: var(--navy);
  margin-bottom: 14px;
}
.why-card ul { display: flex; flex-direction: column; gap: 13px; }
.why-card li {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
}
.why-card li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(192,17,46,.1);
  border: 1.5px solid var(--red);
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L3.2 5.8L8 1' stroke='%23c0112e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}
.why-card img { width:100%; height:100%; object-fit: cover; }

.assistant-preview {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
/* Cuadrícula futurista */
.assistant-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.assistant-preview h2 {
  font-size: clamp(22px, 2vw, 32px);
  color: var(--white);
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.assistant-preview p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.42);
  font-weight: 300;
  margin-bottom: 26px;
  flex: 1;
  position: relative; z-index: 1;
}
.assistant-preview button {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  width: 100%;
  transition: var(--transition);
  cursor: pointer;
  position: relative; z-index: 1;
}
.assistant-preview button:hover {
  background: rgba(255,255,255,.13);
  transform: none;
  box-shadow: none;
}

/* ── Contacto ────────────────────────────────────────── */
.contact-section {
  margin: 0 8% 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-info { padding: 18px 22px; background: var(--white); }
.contact-info h2 {
  font-size: clamp(22px, 2.4vw, 36px);
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 300;
  padding-left: 14px;
  border-left: 2px solid var(--red);
}
.contact-list strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 3px;
}
.map-placeholder {
  min-height: 160px;
  background: linear-gradient(150deg, var(--gray-50) 0%, var(--off-white) 100%);
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .7;
}
.map-placeholder > div { position: relative; z-index: 1; }
.map-placeholder span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .45;
  margin-bottom: 6px;
}
.map-placeholder p { font-size: 12px; color: var(--gray-400); font-weight: 300; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  padding: 12px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--navy-mid) 100%);
  top: 0;
}
.footer { position: relative; }
.footer p { font-size: 12px; color: rgba(255,255,255,.28); font-weight: 300; }
.footer-financial-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-xs);
  transition: var(--transition);
}
.footer-financial-btn:hover {
  color: var(--white);
  border-color: var(--red);
  background: rgba(192,17,46,.1);
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 34px; height: 34px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.32);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: var(--transition);
}
.socials a:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(192,17,46,.1);
}

/* ── Flotantes ───────────────────────────────────────── */
.floating-actions {
  position: fixed;
  right: 20px; bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 50;
}
.float-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.float-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.whatsapp  { background: #25D366; }
.assistant { background: var(--navy); border: 1px solid rgba(255,255,255,.1); }

/* ── Asistente box ───────────────────────────────────── */
.assistant-box {
  position: fixed;
  right: 80px; bottom: 20px;
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  z-index: 60;
  display: none;
}
.assistant-box.show {
  display: block;
  animation: popIn .22s cubic-bezier(.34,1.56,.64,1);
}
.assistant-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 26px; height: 26px;
  border: 1px solid var(--gray-100);
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-400);
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
}
.assistant-close:hover { background: var(--gray-50); color: var(--navy); }
.assistant-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  padding-right: 30px;
}
.assistant-box p {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 16px;
  font-weight: 300;
}
.assistant-box button {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xs);
  padding: 11px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.assistant-box button:hover { background: var(--red); }

/* ── Modal Nosotros ──────────────────────────────────── */
.modal {
  position: fixed; inset: 0;
  background: rgba(7,20,40,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-content {
  width: min(820px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  position: relative;
  animation: popIn .25s ease;
  border-top: 3px solid var(--red);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 34px; height: 34px;
  border: 1px solid var(--gray-100);
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-400);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray-50); color: var(--navy); }
.modal-content h2 {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 16px;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.modal-grid > div {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 22px;
}
.modal-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.modal-content p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  font-weight: 300;
}
.values {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 22px;
}
.values-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.values-list span {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
  transition: var(--transition);
}
.values-list span:hover { border-color: var(--red); color: var(--red); }

/* ── Modal Financiero ────────────────────────────────── */
.financial-modal {
  position: fixed; inset: 0;
  background: rgba(7,20,40,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 20px;
}
.financial-modal.show { display: flex; }
.financial-modal-content {
  width: min(900px, 100%);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: popIn .25s ease;
  overflow: hidden;
  border-top: 3px solid var(--red);
}
.financial-modal-grid {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 44px;
  align-items: start;
}
.financial-years { display: flex; flex-direction: column; gap: 5px; }
.financial-years button,
.year-btn {
  border: 1px solid var(--gray-100);
  text-align: left;
  padding: 13px 18px;
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--gray-400);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .02em;
}
.financial-years button:hover,
.year-btn:hover { background: var(--gray-50); color: var(--navy); border-color: var(--gray-200); }
.financial-years button.active,
.year-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.financial-detail h2 {
  font-size: clamp(28px, 3vw, 44px);
  color: var(--navy);
  margin-bottom: 14px;
}
.financial-detail p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-soft);
  font-weight: 300;
  margin-bottom: 16px;
}
.financial-link,
.financial-detail a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 13px 30px;
  border-radius: var(--radius-xs);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: var(--transition);
}
.financial-link:hover,
.financial-detail a:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--red-glow);
}

/* ── Animaciones ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes popIn {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .navbar { padding: 0 5%; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 60px 6%; }
  .hero-image { min-height: 320px; }
  .trust-section { grid-template-columns: repeat(2, 1fr); }
  .trust-card { border-bottom: 1px solid rgba(255,255,255,.06); }
  .trust-card:nth-child(2), .trust-card:nth-child(4) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .appointment-card { grid-template-columns: 1fr; gap: 28px; }
  .info-section { grid-template-columns: 1fr; gap: 16px; }
  .contact-section { grid-template-columns: 1fr; }
  .financial-modal-grid { grid-template-columns: 1fr; gap: 28px; }
  .alliances-grid { grid-template-columns: repeat(3, 1fr); }
  .why-card { grid-template-columns: 1fr; }
  .why-card img { height: 220px; }
  .contact-section { margin: 0 5% 60px; }
  .services-section, .alliances-section, .info-section { padding: 60px 6%; }
  .appointment-section { padding: 0 6% 60px; }
}
@media (max-width: 680px) {
  .btn-header { display: none; }
  .hero-content h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .trust-section { grid-template-columns: 1fr; }
  .trust-card { border-right: none; }
  .services-grid, .alliances-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .appointment-card { padding: 28px 22px; }
  .financial-modal-content, .modal-content { padding: 28px 20px; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
  .assistant-box { right: 12px; left: 12px; bottom: 80px; width: auto; }
  .float-btn { width: 42px; height: 42px; }
  .services-section, .alliances-section, .info-section { padding: 52px 5%; }
  .appointment-section { padding: 0 5% 52px; }
  .contact-section { margin: 0 5% 52px; }
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@media (max-width: 680px) {
  .brand img {
    height: 52px;
    max-width: 160px;
  }

  .navbar {
    height: 76px;
  }
}