/* =========================================================
   GD Asesorías y Cobranzas — Contact Center & BPO
   Hoja de estilos principal
   ========================================================= */

:root {
  --gd-blue: #005584;        /* azul del logo */
  --gd-navy: #0A2A43;        /* fondos oscuros */
  --gd-navy-2: #10395A;      /* tarjetas sobre fondo oscuro */
  --gd-navy-line: #22507A;
  --gd-ink: #0F172A;
  --gd-text: #334155;
  --gd-muted: #475569;
  --gd-line: #E2E8F0;
  --gd-soft: #F3F6F9;
  --gd-accent: #3CC0D6;      /* acento aqua, análogo al azul GD */
  --gd-accent-ink: #0B7385;  /* acento legible sobre blanco */
  --gd-accent-soft: #E3F5F8;
  --gd-sky: #EAF3F9;
  --gd-ok: #CDEFF4;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1240px;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gd-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gd-blue); text-decoration: none; }
a:hover { color: var(--gd-accent-ink); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--gd-accent); outline-offset: 2px; border-radius: 6px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--gd-soft); }
.section--dark { background: var(--gd-navy); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--gd-accent-ink);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gd-accent); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; color: var(--gd-navy); }
.section--dark .section-head h2 { color: #fff; }
.section-head p { font-size: 18px; color: var(--gd-muted); }
.section--dark .section-head p { color: #CBD5E1; }
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head--split > div { display: flex; flex-direction: column; gap: 12px; max-width: 660px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 16px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--gd-accent); color: var(--gd-navy); }
.btn--accent:hover { background: #66D0E1; color: var(--gd-navy); }
.btn--primary { background: var(--gd-blue); color: #fff; }
.btn--primary:hover { background: var(--gd-navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--ghost { border-color: #CBD5E1; color: var(--gd-navy); background: #fff; }
.btn--ghost:hover { border-color: var(--gd-blue); color: var(--gd-blue); }
.btn--block { width: 100%; }
.btn svg { flex: none; }

/* ---------- Franja superior ---------- */
.topstrip { background: var(--gd-soft); border-bottom: 1px solid var(--gd-line); font-size: 14px; }
.topstrip .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding-top: 9px; padding-bottom: 9px; }
.topstrip span { color: var(--gd-text); }
.topstrip a { font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--gd-line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--gd-navy); }
.brand img { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--gd-blue); }
.brand-text span { font-size: 12px; color: var(--gd-muted); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; padding: 0; display: flex; gap: 26px; }
.main-nav a { color: var(--gd-ink); font-weight: 500; font-size: 15px; padding: 10px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gd-blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { font-size: 14px; font-weight: 600; color: var(--gd-muted); padding: 10px 4px; }
.lang strong { color: var(--gd-blue); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 10px;
  border: 1px solid var(--gd-line); background: #fff; color: var(--gd-navy); cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: #fff; border-bottom: 1px solid var(--gd-line);
    padding: 12px 24px 24px; display: none;
    box-shadow: 0 16px 30px rgba(10, 42, 67, .08);
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--gd-line); }
  .nav-actions { justify-content: space-between; padding-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; background-color: var(--gd-navy);
  background-image: url("../assets/img/oficina-gd.jpg");
  background-image: image-set(url("../assets/img/oficina-gd.webp") type("image/webp"), url("../assets/img/oficina-gd.jpg") type("image/jpeg"));
  background-size: cover; background-position: center right;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,42,67,.96) 0%, rgba(10,42,67,.88) 45%, rgba(10,42,67,.55) 100%);
}
.hero .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 104px; }
.hero-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.hero-copy > p { font-size: 19px; color: #DCE4EE; max-width: 580px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.channels-card {
  flex: 1 1 400px; max-width: 470px; margin-left: auto;
  background: rgba(16, 57, 90, .92); border: 1px solid var(--gd-navy-line); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
}
.channels-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.channels-card header strong { font-family: var(--font-display); font-size: 17px; }
.pill { font-size: 12px; font-weight: 700; color: var(--gd-navy); background: var(--gd-ok); padding: 4px 10px; border-radius: 999px; }
.channels-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; }
.channels-grid li { background: var(--gd-navy); border-radius: 12px; padding: 13px 14px; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.channels-grid svg { color: var(--gd-accent); flex: none; }
.channels-arrow { display: flex; align-items: center; gap: 12px; color: #CBD5E1; }
.channels-arrow::before, .channels-arrow::after { content: ""; flex: 1; height: 1px; background: var(--gd-navy-line); }
.channels-result { background: var(--gd-accent); color: var(--gd-navy); border-radius: 12px; padding: 15px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.channels-result strong { font-family: var(--font-display); font-size: 17px; }
.channels-result span { font-size: 14px; font-weight: 600; }
@media (max-width: 480px) { .channels-grid { grid-template-columns: 1fr; } }

/* ---------- Cifras ---------- */
.stats { background: var(--gd-soft); border-bottom: 1px solid var(--gd-line); }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--gd-blue); line-height: 1.1; }
.stat span { color: var(--gd-muted); }

/* ---------- Tarjetas de servicio ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { border: 1px solid var(--gd-line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 18px 40px rgba(10, 42, 67, .08); transform: translateY(-2px); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gd-blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 21px; font-weight: 800; color: var(--gd-navy); }
.card p { color: var(--gd-muted); }
.card ul { padding-left: 18px; color: var(--gd-text); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 700; }

/* ---------- Proceso ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step { background: #fff; border-radius: 16px; padding: 26px; border-top: 4px solid var(--gd-accent); display: flex; flex-direction: column; gap: 10px; }
.step b { font-family: var(--font-display); color: var(--gd-accent-ink); font-size: 15px; }
.step h3 { font-size: 20px; font-weight: 800; color: var(--gd-navy); }
.step p { color: var(--gd-muted); font-size: 15px; }

/* ---------- Tecnología ---------- */
.tech { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.tech-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; }
.tech-copy h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.tech-copy > p { color: #CBD5E1; font-size: 18px; }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; color: #E2E8F0; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks svg { color: var(--gd-accent); flex: none; }
.tech-grid { flex: 1.4 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; list-style: none; padding: 0; }
.tech-grid li { background: var(--gd-navy-2); border: 1px solid var(--gd-navy-line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.tech-grid strong { font-family: var(--font-display); }
.tech-grid span { font-size: 14px; color: #CBD5E1; }

/* ---------- Clientes ---------- */
.logos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.logo-item { height: 112px; border: 1px solid var(--gd-line); border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 20px 28px; }
.logo-item img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.logo-item img[alt="Natura"] { max-height: 64px; }
.logo-slot { height: 84px; border: 1.5px dashed #CBD5E1; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #64748B; font-size: 14px; }
.center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }

/* ---------- Bloque personas contactadas ---------- */
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.help-card { border: 1px solid var(--gd-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--gd-ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.help-card:hover { border-color: var(--gd-blue); box-shadow: 0 12px 28px rgba(10, 42, 67, .07); color: var(--gd-ink); }
.help-card svg { color: var(--gd-blue); }
.help-card strong { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--gd-navy); }
.help-card span { color: var(--gd-muted); font-size: 15px; }

/* ---------- Contacto y formularios ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.contact-info h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; color: var(--gd-navy); }
.contact-info > p { color: var(--gd-muted); font-size: 18px; }
.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.contact-list li > * { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--gd-line); border-radius: 12px; padding: 15px 18px; color: var(--gd-ink); }
.contact-list svg { color: var(--gd-blue); flex: none; }
.contact-list small { display: block; font-size: 13px; color: var(--gd-muted); }
.contact-list b { font-weight: 700; }

.form { flex: 1 1 460px; background: #fff; border: 1px solid var(--gd-line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form--soft { background: var(--gd-soft); border: 0; }
.form h3 { font-size: 22px; font-weight: 800; color: var(--gd-navy); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gd-ink); }
.field input, .field select, .field textarea {
  min-height: 48px; border: 1px solid #CBD5E1; border-radius: 10px; padding: 0 14px; background: #fff; color: var(--gd-ink); font-weight: 400;
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gd-blue); outline: 3px solid rgba(0, 85, 132, .18); outline-offset: 0; }
.field.has-error input, .field.has-error select { border-color: #B91C1C; }
.field-error { color: #B91C1C; font-weight: 500; font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gd-muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gd-blue); }
.form-note { font-size: 13px; color: var(--gd-muted); }
.form-status { font-size: 15px; font-weight: 600; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.is-ok { display: block; background: #D1FAE5; color: #065F46; }
.form-status.is-error { display: block; background: #FEE2E2; color: #991B1B; }

.dropzone { border: 2px dashed #94A3B8; border-radius: 14px; padding: 26px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--gd-muted); font-weight: 500; cursor: pointer; }
.dropzone svg { color: var(--gd-blue); }
.dropzone.is-drag { border-color: var(--gd-blue); background: #EEF6FB; }
.dropzone input { font-size: 14px; max-width: 100%; }
.dropzone .file-name { color: var(--gd-navy); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #061D30; color: #CBD5E1; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding: 60px 0 36px; }
.footer-brand { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.footer-brand img { width: 150px; height: auto; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col h2 { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #CBD5E1; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 10px; background: var(--gd-navy-2); color: #fff; display: flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--gd-blue); color: #fff; }
.footer-bottom { border-top: 1px solid #1B3A57; padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #94A3B8; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.wa-float:hover { color: #fff; background: #178A45; }

/* ---------- Portal ---------- */
.page-hero { background: var(--gd-navy); color: #fff; }
.page-hero .container { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 800; max-width: 780px; }
.page-hero p { font-size: 18px; color: #CBD5E1; max-width: 720px; }

.notice { background: var(--gd-sky); border-bottom: 1px solid #BCD9EA; }
.notice .container { display: flex; gap: 14px; align-items: flex-start; padding-top: 22px; padding-bottom: 22px; color: var(--gd-navy); font-size: 15px; }
.notice svg { flex: none; margin-top: 2px; color: var(--gd-blue); }

.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split > .split-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 14px; }
.split-copy h2 { font-size: clamp(26px, 3.4vw, 32px); font-weight: 800; color: var(--gd-navy); }
.split-copy p { color: var(--gd-muted); }
.split-copy ul { padding-left: 18px; color: var(--gd-text); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }

.channels-official { flex: 1 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; list-style: none; padding: 0; }
.channels-official li { background: var(--gd-soft); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.channels-official li.wide { grid-column: 1 / -1; }
.channels-official small { font-size: 13px; color: var(--gd-muted); }
.channels-official b { font-weight: 700; }

.result { flex: 1 1 440px; display: flex; flex-direction: column; gap: 12px; }
.result-card { background: #fff; border: 1px solid var(--gd-line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.result-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.result-card h3 { font-size: 20px; font-weight: 800; color: var(--gd-navy); }
.badge-ok { font-size: 13px; font-weight: 700; color: #065F46; background: #D1FAE5; padding: 4px 12px; border-radius: 999px; }
.result-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.result-data div { display: flex; flex-direction: column; gap: 2px; }
.result-data dt { font-size: 13px; color: var(--gd-muted); }
.result-data dd { margin: 0; font-weight: 700; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-label { font-size: 13px; font-weight: 600; color: var(--gd-muted); }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--gd-line); border-radius: 16px; }
.table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; text-align: left; }
.table thead th { background: var(--gd-blue); color: #fff; padding: 14px 18px; font-weight: 700; }
.table tbody tr { border-top: 1px solid var(--gd-line); }
.table th[scope="row"], .table td { padding: 16px 18px; vertical-align: top; }
.table td a { font-weight: 600; }

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.faq details { border: 1px solid var(--gd-line); border-radius: var(--radius); padding: 0 22px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--gd-navy); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--gd-blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--gd-muted); font-size: 15px; padding-bottom: 20px; }

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .form { padding: 24px; }
  .result-data { grid-template-columns: 1fr; }
  .brand img { width: 52px; }
  .brand-text span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .help-card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* Evitar desbordes en pantallas angostas */
.split > *, .contact > *, .hero .container > *, .tech > * { min-width: 0; }
.form { min-width: 0; }
.dropzone input { width: 100%; }
@media (max-width: 520px) {
  .form, .contact-info, .split > .split-copy, .result, .channels-official, .channels-card, .hero-copy, .tech-copy, .tech-grid { flex-basis: 100%; }
}
.main-nav .btn { padding: 12px 20px; color: var(--gd-navy); }
.main-nav .btn--ghost:hover { color: var(--gd-blue); }

/* ---------- Consulta en 3 pasos ---------- */
.consulta { flex: 1 1 460px; }
.stepper { list-style: none; padding: 0; display: flex; gap: 8px; counter-reset: st; }
.stepper li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gd-muted); counter-increment: st; }
.stepper li::before { content: ""; height: 4px; border-radius: 4px; background: var(--gd-line); }
.stepper li.is-done::before, .stepper li[aria-current="step"]::before { background: var(--gd-blue); }
.stepper li[aria-current="step"] { color: var(--gd-navy); }
.consulta form { display: flex; flex-direction: column; gap: 18px; }
.consulta form[hidden] { display: none; }
.phone-list { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.phone-list legend { font-weight: 700; color: var(--gd-ink); margin-bottom: 10px; padding: 0; }
.phone-option { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border: 1.5px solid #CBD5E1; border-radius: 12px; cursor: pointer; background: #fff; }
.phone-option:hover { border-color: var(--gd-blue); }
.phone-option:has(input:checked) { border-color: var(--gd-blue); background: var(--gd-sky); }
.phone-option input { width: 20px; height: 20px; accent-color: var(--gd-blue); flex: none; }
.phone-option b { font-family: var(--font-display); font-size: 18px; letter-spacing: .04em; color: var(--gd-navy); }
.otp-input { font-family: var(--font-display); font-size: 28px !important; font-weight: 700 !important; letter-spacing: .5em; text-align: center; min-height: 60px !important; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--gd-blue); font-weight: 600; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--gd-accent-ink); }
.link-btn:disabled { color: var(--gd-muted); cursor: default; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.cf-turnstile { min-height: 65px; }
.captcha-slot { min-height: 65px; border: 1.5px dashed #CBD5E1; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--gd-muted); }
.result-empty { background: #fff; border: 1px dashed #B8C6D6; border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.result-empty h3 { font-size: 20px; font-weight: 800; color: var(--gd-navy); }
.result-empty ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--gd-text); font-size: 15px; }
.result-empty li { display: flex; gap: 10px; align-items: flex-start; }
.result-empty svg { color: var(--gd-blue); flex: none; margin-top: 3px; }
.result-cases { display: flex; flex-direction: column; gap: 14px; }
.result-cases[hidden], .result-empty[hidden] { display: none; }
.demo-banner { background: var(--gd-accent-soft); color: var(--gd-navy); font-size: 13px; padding: 8px 12px; border-radius: 8px; }

.result-greeting { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 6px; }
.result-greeting h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; color: var(--gd-navy); }
.result-greeting p { font-size: 17px; color: var(--gd-muted); }
.channels-official .txt { font-weight: 500; color: var(--gd-ink); }
.tech-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(60, 192, 214, .14); color: var(--gd-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }

/* ---------- Pagos y trámites por entidad ---------- */
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.info-strip { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-bottom: 28px; }
.info-strip li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--gd-line); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--gd-text); }
.info-strip svg { color: var(--gd-blue); flex: none; margin-top: 2px; }
.tabs { background: #fff; border: 1px solid var(--gd-line); border-radius: var(--radius-lg); overflow: hidden; }
.tab-list { display: flex; overflow-x: auto; border-bottom: 1px solid var(--gd-line); background: var(--gd-soft); }
.tab { flex: 1 0 150px; min-height: 72px; display: flex; align-items: center; justify-content: center; padding: 14px 20px; background: transparent; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.tab img { width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .15s, opacity .15s; }
.tab:hover img { opacity: .9; }
.tab[aria-selected="true"] { background: #fff; border-bottom-color: var(--gd-blue); }
.tab[aria-selected="true"] img { filter: none; opacity: 1; }
.tab-panel { padding: 32px; }
.tab-panel[hidden] { display: none; }
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.panel-col { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; min-width: 0; }
.panel-col > * { max-width: 100%; }
.panel-col h3 { font-size: 22px; font-weight: 800; color: var(--gd-navy); }
.panel-lead { color: var(--gd-text); }
.panel-note { font-size: 14px; color: var(--gd-muted); background: var(--gd-sky); border-radius: 10px; padding: 12px 14px; }
.pay-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.pay-list li { display: flex; align-items: center; gap: 14px; border: 1px solid var(--gd-line); border-radius: 12px; padding: 10px 14px; }
.pay-logo { width: 64px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.pay-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.pay-logo--text { font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--gd-navy); background: var(--gd-soft); border-radius: 8px; text-align: center; line-height: 1.1; }
.pay-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pay-info b { font-weight: 700; }
.pay-info small { font-size: 13px; color: var(--gd-muted); }
.phone-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; width: 100%; }
.phone-grid li { display: flex; flex-direction: column; background: var(--gd-soft); border-radius: 10px; padding: 10px 14px; }
.phone-grid small { font-size: 13px; color: var(--gd-muted); }
.phone-grid a { font-weight: 700; color: var(--gd-navy); }
.facts { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--gd-text); font-size: 15px; }
@media (max-width: 640px) {
  .tab-panel { padding: 22px 18px; }
  .tab { flex-basis: 120px; min-height: 64px; }
  .pay-list li { flex-wrap: wrap; }
  .pay-list .btn--sm { margin-left: auto; }
}
@media (max-width: 640px) {
  .tab-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .tab { border-bottom: 3px solid transparent; }
}
.pay-logos { display: flex; align-items: center; gap: 6px; flex: none; }
.pay-logos .pay-logo { width: 52px; height: 40px; }
.pay-logos .pay-logo:only-child { width: 64px; height: 44px; }
@media (max-width: 640px) {
  .pay-list li { align-items: flex-start; }
  .pay-logos { width: 100%; flex-wrap: wrap; }
  .pay-info { flex-basis: calc(100% - 100px); }
}

/* Estado del pago en la tarjeta de caso */
.result-data .full { grid-column: 1 / -1; }
.case-status { border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.case-status--pending { background: #FFF8E6; color: #6B4E00; border: 1px solid #F3DFA8; }
.case-status--ok { background: #E7F7EF; color: #0F5132; border: 1px solid #B9E4CC; }
.case-note { font-size: 13px; color: var(--gd-muted); border-top: 1px solid var(--gd-line); padding-top: 12px; }
.ref-box { background: var(--gd-sky); border-radius: 12px; padding: 12px 14px; gap: 4px !important; }
.ref-box dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ref-number { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: .04em; color: var(--gd-navy); word-break: break-all; }
.ref-help { font-size: 13px; color: var(--gd-muted); }
.phone-option--test { border-style: dashed; background: var(--gd-soft); }
.phone-option--test b { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; color: var(--gd-accent-ink); }

/* ---------- Reporte de pago ---------- */
.pago-box { flex: 1 1 520px; min-width: 0; }
.field-hint { font-size: 12px; font-weight: 400; color: var(--gd-muted); }
.dropzone-hint { font-size: 12px; color: var(--gd-muted); font-weight: 400; }
.pago-ok { background: #fff; border: 1px solid var(--gd-line); border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.pago-ok[hidden] { display: none; }
.pago-ok:focus { outline: none; }
.pago-ok-icon { width: 60px; height: 60px; border-radius: 50%; background: #E7F7EF; color: #15803D; display: flex; align-items: center; justify-content: center; }
.pago-ok h3 { font-size: 24px; font-weight: 800; color: var(--gd-navy); }
.pago-ok-label { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gd-muted); }
.pago-ok-radicado { font-family: var(--font-display); font-size: 32px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--gd-navy); padding: 10px 24px; border-radius: 12px; }
.pago-ok p { color: var(--gd-text); }
.pago-ok-steps { text-align: left; color: var(--gd-text); font-size: 15px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin: 6px 0 8px; }
.pago-ok .result-actions { justify-content: center; }
[hidden] { display: none !important; }
.pago-ok .pago-ok-radicado { color: #fff; }
.dropzone input[type="file"] { min-height: 0; border: 0; padding: 0; background: transparent; font-size: 13px; color: var(--gd-muted); max-width: 100%; }
.pago-ok .pago-ok-radicado { font-size: clamp(22px, 7vw, 32px); white-space: nowrap; letter-spacing: .04em; }

/* =========================================================
   Páginas internas (servicios, BPO, trabaje con nosotros, política)
   ========================================================= */

/* Submenú de Servicios */
.main-nav .has-sub { position: relative; }
.sub-nav { list-style: none; padding: 8px; margin: 0; position: absolute; top: 100%; left: -16px; min-width: 280px;
  background: #fff; border: 1px solid var(--gd-line); border-radius: 12px; box-shadow: 0 16px 36px rgba(10, 42, 67, .12);
  display: none; flex-direction: column; gap: 0 !important; z-index: 60; }
.sub-nav a { display: block; padding: 10px 12px !important; border-radius: 8px; }
.sub-nav a:hover { background: var(--gd-sky); }
.has-sub:hover > .sub-nav, .has-sub:focus-within > .sub-nav { display: flex; }
.main-nav a[aria-current="page"] { color: var(--gd-blue); font-weight: 700; }
@media (max-width: 1020px) {
  .sub-nav { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .sub-nav a { border-bottom: 0 !important; padding: 10px 0 !important; font-size: 14px; color: var(--gd-muted); }
}

/* Hero interno */
.page-hero--photo { position: relative; background-color: var(--gd-navy);
  background-image: url("../assets/img/oficina-gd.jpg");
  background-image: image-set(url("../assets/img/oficina-gd.webp") type("image/webp"), url("../assets/img/oficina-gd.jpg") type("image/jpeg"));
  background-size: cover; background-position: center right; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,42,67,.96) 0%, rgba(10,42,67,.9) 50%, rgba(10,42,67,.65) 100%); }
.page-hero--photo .container { position: relative; padding-top: 56px; padding-bottom: 72px; }
.page-hero .hero-ctas { margin-top: 10px; }
.breadcrumb { font-size: 14px; color: #B8C6D6; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.breadcrumb a { color: #DCE4EE; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* Bloques de contenido */
.intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.intro-grid h2 { font-size: clamp(26px, 3.2vw, 32px); font-weight: 800; color: var(--gd-navy); margin-bottom: 14px; }
.intro-grid p { color: var(--gd-text); font-size: 17px; }
.intro-grid p + p { margin-top: 12px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.svc-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.svc-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.svc-item { background: #fff; border: 1px solid var(--gd-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.svc-item .card-icon { width: 46px; height: 46px; }
.svc-item h3 { font-size: 19px; font-weight: 800; color: var(--gd-navy); }
.svc-item p { color: var(--gd-muted); font-size: 15px; }
.why-list { flex: 1.2 1 460px; }
.checks--dark { gap: 16px; font-size: 17px; }
.checks--dark li { align-items: flex-start; }
.checks--dark svg { margin-top: 3px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.help-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.compare-card { background: #fff; border: 1px solid var(--gd-line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.compare-card h3 { font-size: 24px; font-weight: 800; color: var(--gd-navy); }
.compare-card p { color: var(--gd-muted); }
.compare-card ul { padding-left: 20px; color: var(--gd-text); display: flex; flex-direction: column; gap: 6px; }
.compare-card--accent { border: 2px solid var(--gd-blue); }
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--gd-line); border-radius: 12px; padding: 14px 16px; color: var(--gd-text); }
.checklist svg { color: var(--gd-blue); flex: none; margin-top: 2px; }

.cta-band { background: var(--gd-blue); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 52px; padding-bottom: 52px; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; }
.cta-band p { color: #DCEAF4; font-size: 17px; margin-top: 6px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mini-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin: 6px 0; }
.mini-steps li { display: flex; gap: 12px; align-items: center; color: var(--gd-text); }
.mini-steps b { width: 30px; height: 30px; border-radius: 50%; background: var(--gd-accent-soft); color: var(--gd-accent-ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); flex: none; }
.note-box { display: flex; gap: 12px; align-items: flex-start; background: var(--gd-sky); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--gd-navy); }
.note-box svg { color: var(--gd-blue); flex: none; margin-top: 2px; }
.split > form.form { flex: 1 1 520px; }
.notfound { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-height: 40vh; }
.notfound h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; color: var(--gd-navy); }

/* Política de datos */
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 100px; background: var(--gd-soft); border-radius: 14px; padding: 20px; font-size: 14px; }
.legal-toc strong { display: block; margin-bottom: 10px; color: var(--gd-navy); font-family: var(--font-display); }
.legal-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-toc a { color: var(--gd-text); }
.legal-toc a:hover { color: var(--gd-blue); }
.legal-body { max-width: 780px; color: var(--gd-text); font-size: 16px; line-height: 1.7; }
.legal-body h2 { font-size: 24px; font-weight: 800; color: var(--gd-navy); margin: 40px 0 12px; scroll-margin-top: 100px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; font-weight: 800; color: var(--gd-navy); margin: 22px 0 8px; }
.legal-body p, .legal-body ul, .legal-body ol { margin: 0 0 12px; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--gd-line); vertical-align: top; }
.legal-body th { background: var(--gd-soft); color: var(--gd-navy); width: 34%; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--gd-muted); margin-bottom: 24px; }
.legal-callout { background: var(--gd-sky); border-left: 0; border-radius: 12px; padding: 16px 18px; margin: 16px 0; color: var(--gd-navy); }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
}
.main-nav .sub-nav { display: none; }
.main-nav .has-sub:hover > .sub-nav, .main-nav .has-sub:focus-within > .sub-nav { display: flex; }
@media (max-width: 1020px) { .main-nav .sub-nav { display: flex; } }
.footer-bottom a { color: #CBD5E1; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }
.footer-col li { color: #CBD5E1; }
.page-hero .eyebrow { color: var(--gd-accent); }

/* ---------- Aviso de Álex (invitación al portal) ---------- */
.promo {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: min(520px, calc(100vw - 32px));
  display: grid; grid-template-columns: 180px minmax(0, 1fr);
  background: #fff; border-radius: 20px; border: 1px solid var(--gd-line);
  box-shadow: 0 24px 60px rgba(10, 42, 67, .28);
  transform: translateY(120%); opacity: 0;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.promo.is-open { transform: translateY(0); opacity: 1; }
.promo-alex { position: relative; display: block; background: var(--gd-sky); border-radius: 19px 0 0 19px; overflow: hidden; }
.promo-alex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.promo-body { padding: 22px 22px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.promo-hola { font-size: 13px; color: var(--gd-accent-ink); font-weight: 600; padding-right: 30px; }
.promo-hola strong { color: var(--gd-blue); }
.promo h2 { font-size: 20px; line-height: 1.25; font-weight: 800; color: var(--gd-navy); }
.promo-body > p#promo-texto { font-size: 14px; color: var(--gd-muted); }
.promo-links { list-style: none; padding: 0; margin: 2px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.promo-links a { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--gd-navy); padding: 8px 10px; border-radius: 10px; background: var(--gd-soft); }
.promo-links a:hover { background: var(--gd-sky); color: var(--gd-blue); }
.promo-links span { width: 22px; height: 22px; border-radius: 50%; background: var(--gd-blue); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.promo-actions .btn { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.promo-no { background: #fff; color: var(--gd-muted) !important; border-color: var(--gd-line) !important; font-weight: 600; }
.promo-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--gd-soft); color: var(--gd-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.promo-close:hover { background: var(--gd-line); color: var(--gd-navy); }
.promo-abierto .wa-float { opacity: 0; pointer-events: none; }

/* Celular: hoja inferior compacta con Álex como avatar */
@media (max-width: 560px) {
  .promo { right: 0; left: 0; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; grid-template-columns: 76px minmax(0, 1fr); align-items: start; }
  .promo-alex { width: 60px; height: 60px; margin: 18px 0 0 16px; border-radius: 50%; overflow: hidden; background: var(--gd-sky); }
  .promo-alex img { object-position: 50% 4%; }
  .promo-body { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)) 4px; gap: 6px; }
  .promo h2 { font-size: 17px; }
  .promo-body > p#promo-texto { display: none; }
  .promo-links a { padding: 7px 9px; font-size: 13.5px; }
  .promo-actions { flex-wrap: nowrap; }
  .promo-actions .btn { flex: 1 1 auto; padding: 10px 10px; font-size: 14px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .promo { transition: none; } }
.field-label .field-hint { display: inline; font-size: 13px; }
