/* ============================================================
   Banglobal — Hoja de estilos única (HTML + CSS puro)
   Reconstruida desde el sitio original (React) para que sea
   legible y editable. No requiere JavaScript.
   ============================================================ */

/* ---- Fuentes de marca (TTF variables) ---- */
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Tokens de color
   ============================================================ */
:root {
  /* Azules de marca */
  --bg-ink:        #03173C; /* header / footer / sidebar */
  --bg-navy:       #0E2B62; /* overlays del hero, tinta principal */
  --bg-navy-700:   #21468D;
  --bg-blue-600:   #305BAC; /* paneles secundarios */
  --bg-blue-500:   #6095ED; /* azul aciano — acento */
  --bg-blue-300:   #8CB7FF; /* acento brillante sobre oscuro */
  --bg-blue-100:   #D9E2F0; /* fondo de página */
  --bg-blue-050:   #E6F0FF; /* superficies con tinte */
  --bg-mist:       #F5F9FC; /* inputs / superficie tenue */

  --white:  #FFFFFF;
  --black:  #000000;
  --gray-500: #848484;
  --gray-600: #6D6D6D;
  --gray-300: #CDCDCD;
  --gray-200: #E6E6E6;
  --gold:   #EBCF3E;

  /* Aliases semánticos */
  --surface-page:  var(--bg-blue-100);
  --surface-card:  var(--white);
  --surface-tint:  var(--bg-blue-050);
  --surface-input: var(--bg-mist);
  --surface-ink:   var(--bg-ink);
  --surface-navy:  var(--bg-navy);
  --surface-panel: var(--bg-blue-600);

  --text-strong: var(--bg-navy);
  --text-body:   #2A3344;
  --text-muted:  var(--gray-600);
  --text-caption:var(--gray-500);
  --text-on-dark:var(--white);
  --text-accent: var(--bg-blue-500);
  --text-accent-bright: var(--bg-blue-300);

  --border-subtle: var(--gray-200);
  --border-strong: var(--gray-300);
  --rule-on-dark:  rgba(255,255,255,0.5);

  --brand:       var(--bg-blue-500);
  --brand-ink:   var(--bg-navy);
  --brand-hover: #4F82D6;
  --focus-ring:  rgba(96,149,237,0.45);
  --hero-overlay: rgba(14,43,98,0.88);

  /* Tipografía */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui:      "Montserrat", "Inter", -apple-system, sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Espaciado y layout */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 19px;
  --radius-pill: 999px;
  --radius-signature: 36px 36px 111px 36px;
  --radius-signature-flip: 36px 36px 36px 111px;

  --header-h: 80px;
  --gutter: 53px;

  --shadow-header: 0 4px 7.9px 0 rgba(0,0,0,0.25);
  --shadow-card:   0 8px 24px -10px rgba(14,43,98,0.20);
  --shadow-raise:  0 14px 40px -16px rgba(3,23,60,0.30);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 400ms;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Navegación deshabilitada: todos los enlaces quedan anulados.
   (El menú/drawer sigue funcionando porque usa <label>, no <a>.) */
a { pointer-events: none; cursor: default; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(var(--gutter), (100% - 1400px) / 2);
  color: var(--white);
  transition: background var(--dur-fast) var(--ease-std),
              box-shadow var(--dur-fast) var(--ease-std),
              height var(--dur-fast) var(--ease-std);
}
.header.is-scrolled {
  height: 60px;
  background: var(--surface-ink);
  box-shadow: var(--shadow-header);
}
.header__logo { display: inline-flex; text-decoration: none; }
.header__logo svg {
  width: 193px;
  height: auto;
  transition: width var(--dur-fast) var(--ease-std);
}
.header.is-scrolled .header__logo svg { width: 160px; }
.header__nav { display: flex; align-items: center; gap: 36px; }
.header__link {
  font-family: var(--font-ui);
  font-weight: var(--fw-medium);
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-std);
}
.header__link:hover { color: #fff; }
.header__link.is-active { color: var(--text-accent-bright); }

.lang {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.lang b { color: var(--text-accent); }
.lang .dim { opacity: 0.5; }

/* Botón de menú (icono hamburguesa) — abre el sidebar vía checkbox */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  color: var(--white);
}

/* ============================================================
   Iconos (SVG inline en el HTML; sólo color por currentColor)
   ============================================================ */
.icon { display: block; flex: 0 0 auto; }

/* ============================================================
   Botones
   ============================================================ */
.btn {
  font-family: var(--font-ui);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 16px;
  transition: background var(--dur-base) var(--ease-std),
              color var(--dur-base) var(--ease-std),
              border-color var(--dur-base) var(--ease-std),
              transform var(--dur-fast) var(--ease-std),
              filter var(--dur-fast) var(--ease-std);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--lg { padding: 18px 40px; font-size: 20px; }
.btn--full { width: 100%; }

.btn--primary { background: var(--brand-ink); color: var(--white); }
.btn--accent  { background: var(--brand); color: var(--white); }
.btn--ondark  { background: var(--white); color: var(--brand-ink); }
.btn--outline { background: transparent; color: var(--brand-ink); border-color: var(--border-strong); }
.btn--ghost   { background: transparent; color: var(--brand-ink); }
.btn--ghost-light { background: transparent; color: #fff; }

/* ============================================================
   Etiqueta de sección (eyebrow) y encabezados
   ============================================================ */
.section-label {
  font-family: var(--font-ui);
  font-weight: var(--fw-extrabold);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
}
.section-label--ondark { color: var(--white); }
.section-label--accent { color: var(--text-accent); }

.section-heading { display: flex; flex-direction: column; gap: 18px; }
.section-heading__row { display: flex; gap: 28px; }
.section-heading__rule {
  width: 1px;
  align-self: stretch;
  background: var(--border-strong);
  flex: 0 0 auto;
}
.section-heading__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: 30px;
  line-height: 1.2;
  color: var(--text-strong);
}

/* ============================================================
   Badges / tags
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-weight: var(--fw-semibold);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.badge--outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  color: var(--text-body);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.card--signature {
  border-radius: var(--radius-signature);
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}
.card--signature-flip {
  border-radius: var(--radius-signature-flip);
}

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap { max-width: 1400px; margin: 0 auto; }

/* ============================================================
   HOME — Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;       /* fallback para navegadores sin svh */
  min-height: 100svh;      /* descuenta la barra del navegador en móvil */
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(rgba(14,43,98,0.6), rgba(14,43,98,0.6)),
    url("../assets/img-finance-hero.jpg") center/cover;
  padding: 0 max(var(--gutter), (100% - 1400px) / 2) 80px;
}
.hero__inner {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero__title-lead { font-weight: 800; }
.hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   HOME — Quienes somos
   ============================================================ */
.about {
  background: var(--surface-ink);
  color: #fff;
  padding: 96px var(--gutter);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__col { display: flex; flex-direction: column; gap: 22px; }
.about__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: 40px;
  color: #fff;
}
.about__text {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}
.about__text b { color: #fff; }
.about--light { background: #D9E2F0; color: var(--text-body); }
.about--light .about__title { color: var(--text-strong); }
.about--light .about__text { color: var(--text-body); }
.about--light .about__text b { color: var(--text-strong); }
.about--light .about__media { height: 545px; }
.about__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.about__media { height: 380px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   HOME — Servicios / Líneas de negocio
   ============================================================ */
.services {
  background: var(--surface-page);
  padding: 96px var(--gutter);
}
.services__inner { display: flex; flex-direction: column; gap: 44px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-std),
              box-shadow var(--dur-base) var(--ease-std);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-raise);
}
.service-card__num {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: 22px;
  color: var(--text-accent);
}
.service-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: 20px;
  line-height: 1.25;
  color: var(--text-strong);
}
.service-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}
.service-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-ink);
  font-family: var(--font-ui);
  font-weight: var(--fw-semibold);
  font-size: 14px;
}

/* ============================================================
   SERVICE — vista de detalle de una línea de negocio
   ============================================================ */
.svc-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("../assets/img-finance-hero.jpg") center/cover;
  background-blend-mode: multiply;
  padding: 0 var(--gutter) 70px;
}
.svc-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
}
.svc-hero__row { display: flex; gap: 24px; }
.svc-hero__rule {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.5);
}
.svc-hero__title {
  margin: 0;
  white-space: pre-line;
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  font-size: 35px;
  line-height: 1.1;
  color: var(--text-accent-bright);
}
.svc-split { display: grid; grid-template-columns: 1fr 1fr; }
.svc-split__left  { background: var(--surface-page); padding: 72px var(--gutter); }
.svc-split__right { background: var(--surface-panel); color: #fff; padding: 72px var(--gutter); }
.svc-split h2 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: 30px;
}
.svc-split__left h2  { color: var(--text-strong); }
.svc-split__right h2 { color: #fff; }
.svc-split p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.6; }
.svc-split__left p  { color: var(--text-body); }
.svc-split__right p { color: rgba(255,255,255,0.85); }
.svc-split__actions { margin-top: 32px; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-hero {
  background: var(--bg-navy);
  color: #fff;
  padding: 120px var(--gutter) 90px;
}
.contact-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
}
.contact-hero__row { display: flex; gap: 24px; }
.contact-hero__rule { width: 1px; align-self: stretch; background: rgba(255,255,255,0.5); }
.contact-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  font-size: 34px;
  line-height: 1.2;
  color: #fff;
}
.contact-hero__title b { font-weight: var(--fw-bold); }

.contact-split { display: grid; grid-template-columns: 1fr 1fr; }
.contact-info {
  background: var(--surface-tint);
  padding: 64px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-info__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: 26px;
  color: var(--text-strong);
}
.contact-info__lead {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}
.info-rows { display: flex; flex-direction: column; gap: 20px; }
.info-row { display: flex; align-items: center; gap: 16px; }
.info-row__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.info-row__label { font-family: var(--font-ui); font-size: 14px; color: var(--text-muted); }
.info-row__value { font-family: var(--font-ui); font-weight: var(--fw-semibold); font-size: 16px; color: var(--text-strong); }

.contact-social__label {
  display: block;
  font-family: var(--font-ui);
  font-weight: var(--fw-semibold);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.contact-social__links { display: flex; gap: 12px; }
.social-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-form-panel { background: var(--bg-blue-050); padding: 64px var(--gutter); }
.contact-form-panel h2 {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: 26px;
  color: var(--text-strong);
}
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: flex; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.field > label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
}
.field input,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-strong);
  background: var(--surface-input);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  outline: none;
  transition: border-color var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}
.field textarea { padding: 16px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface-ink);
  color: var(--white);
  padding: 53px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__cols { display: flex; gap: 120px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 14px; min-width: 180px; }
.footer__col-title {
  font-family: var(--font-ui);
  font-weight: var(--fw-semibold);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-accent-bright);
}
.footer__link {
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  max-width: 230px;
  transition: color var(--dur-fast) var(--ease-std);
}
.footer__link:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer__social { display: flex; gap: 16px; }
.footer__social a { color: #fff; display: inline-flex; }
.footer__copy { font-family: var(--font-ui); font-size: 11px; color: rgba(255,255,255,0.7); }

/* ============================================================
   SIDEBAR — menú deslizable (sólo CSS, vía checkbox oculto)
   ============================================================ */
.menu-toggle { display: none; }            /* checkbox oculto */
.sidebar {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.sidebar__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,23,60,0.55);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-std);
}
.sidebar__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 550px;
  max-width: 90vw;
  background: var(--surface-ink);
  box-shadow: var(--shadow-raise);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 28px 48px;
  overflow-y: auto;
}
/* Al marcar el checkbox, el sidebar aparece */
.menu-toggle:checked ~ .sidebar { pointer-events: auto; }
.menu-toggle:checked ~ .sidebar .sidebar__overlay { opacity: 1; }
.menu-toggle:checked ~ .sidebar .sidebar__panel { transform: translateX(0); }

.sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
}
.sidebar__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
}
.sidebar__nav { display: flex; flex-direction: column; margin-top: 56px; }
.sidebar__group {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.sidebar__link {
  text-align: left;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  font-size: 25px;
  color: #fff;
  padding: 8px 0;
  transition: color var(--dur-fast) var(--ease-std);
}
.sidebar__link:hover { color: var(--text-accent-bright); }

/* Dropdown: el título (summary) despliega/oculta sus subítems */
.sidebar__nav summary {
  list-style: none;
  cursor: pointer;
}
.sidebar__nav summary::-webkit-details-marker { display: none; }
summary.sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
summary.sidebar__link::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);   /* chevron hacia abajo */
  transition: transform var(--dur-fast) var(--ease-std);
}
.sidebar__group[open] > summary.sidebar__link::after {
  transform: translateY(2px) rotate(-135deg);   /* chevron hacia arriba */
}
/* Animación de despliegue de los subítems */
.sidebar__group[open] > .sidebar__sublink {
  animation: sidebar-reveal var(--dur-base) var(--ease-out) both;
}
@keyframes sidebar-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sidebar__sublink {
  display: block;
  text-align: left;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  font-size: 18px;
  color: var(--text-accent);
  padding: 7px 0 7px 36px;
  transition: color var(--dur-fast) var(--ease-std);
}
.sidebar__sublink:hover { color: var(--text-accent-bright); }
.sidebar__social { margin-top: auto; display: flex; gap: 14px; justify-content: flex-end; }
.sidebar__social a { color: #fff; display: inline-flex; }

/* ============================================================
   Responsive
   ============================================================ */
/* ---- Tablet / mobile (≤ 900px) ---- */
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .header__nav { gap: 14px; }
  .header__link { display: none; }            /* en móvil sólo queda el menú */

  /* Grids a una columna */
  .about__grid,
  .services__grid,
  .svc-split,
  .contact-split { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding-bottom: 56px; }
  .hero__title { font-size: 44px; }

  /* Secciones "about" (Quienes somos / Trayectoria / Misión) */
  .about { padding: 64px var(--gutter); }
  .about__grid { gap: 36px; }
  .about__title { font-size: 30px; }
  .about__media { height: 320px; }
  .about--light .about__media { height: 360px; }

  /* Servicios / detalle de línea / contacto */
  .services { padding: 64px var(--gutter); }
  .svc-split__left,
  .svc-split__right { padding: 56px var(--gutter); }
  .svc-hero__title { font-size: 30px; }
  .contact-hero { padding: 104px var(--gutter) 64px; }
  .contact-info,
  .contact-form-panel { padding: 48px var(--gutter); }
  .form__row { flex-direction: column; }

  /* Footer */
  .footer__top { gap: 32px; }
  .footer__cols { gap: 48px; }
}

/* ---- Teléfonos (≤ 560px) ---- */
@media (max-width: 560px) {
  :root { --gutter: 20px; }

  .header__logo svg,
  .header.is-scrolled .header__logo svg { width: 150px; height: auto; }

  .hero {
    background:
      linear-gradient(rgba(14,43,98,0.6), rgba(14,43,98,0.6)),
      url("../assets/img-finance-hero-mobile.jpg") center/cover;
  }
  .hero__title { font-size: 30px; }

  .about__title { font-size: 26px; }
  .about__media { height: 240px; }
  .about--light .about__media { height: 280px; }

  .svc-hero__title { font-size: 26px; }
  .contact-hero__title { font-size: 26px; }

  /* Drawer del menú */
  .sidebar__panel { width: 100%; max-width: 100%; padding: 24px; }
  .sidebar__link { font-size: 22px; }
  .sidebar__sublink { font-size: 16px; padding-left: 24px; }

  /* Footer apilado y centrado */
  .footer { text-align: center; }
  .footer__top { justify-content: center; align-items: center; }
  .footer__cols { gap: 32px; justify-content: center; }
  .footer__col { align-items: center; min-width: 0; }
  .footer__link { max-width: none; }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .footer__social { justify-content: center; }
}
