/* =========================================================
   FEXAGENCIE · style.css
   Identidad: Escudo Global Premium
   ========================================================= */
:root {
  --navy-900: #08101E;
  --navy-800: #0B2E59;
  --blue-600: #144D91;
  --cyan-400: #26B5DD;
  --gold-500: #D4AF37;
  --gold-300: #EBD27A;
  --silver-200: #D7DCE2;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --ink: #0E1A2B;
  --muted: #5A6B80;
  --line: #E3E8EF;
  --ok: #1FA971;
  --warn: #D9822B;

  --grad-hero: radial-gradient(1200px 600px at 85% -10%, rgba(38,181,221,.22), transparent 60%),
               radial-gradient(900px 500px at -10% 110%, rgba(212,175,55,.14), transparent 55%),
               linear-gradient(160deg, #0B2E59 0%, #08101E 70%);
  --grad-gold: linear-gradient(135deg, #F1D77A 0%, #D4AF37 50%, #A9861F 100%);

  --ff-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(8,16,30,.06);
  --shadow: 0 18px 40px -18px rgba(8,16,30,.28);
  --shadow-lg: 0 30px 70px -25px rgba(8,16,30,.45);
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-body); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--grad-hero); color: var(--white); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.section-dark .eyebrow { color: var(--cyan-400); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

/* ── Botones ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--grad-gold); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(212,175,55,.7); }
.btn-gold:hover { box-shadow: 0 16px 30px -12px rgba(212,175,55,.85); }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); }
.btn-outline { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-ghost { border-color: var(--line); color: var(--navy-800); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-wa { background: #1FAF5A; color: var(--white); }
.btn-wa:hover { background: #17964C; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--blue-600); font-weight: 700; cursor: pointer; }
.link-btn:hover { color: var(--navy-800); text-decoration: underline; }

/* ── Header (claro, para respetar el logo) ───────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(8,16,30,.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-800); flex: none; }
.brand img { width: auto; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.brand-name { font-family: var(--ff-head); font-weight: 400; font-size: 1.35rem; letter-spacing: .01em; color: #1E8FD6; }
.brand-name b { font-weight: 800; color: var(--navy-800); }
.brand-tag { font-size: .6rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--navy-800); text-decoration: none; font-size: .88rem; font-weight: 500; white-space: nowrap;
  padding: 8px 10px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-600); background: #EEF4FB; }
.nav .nav-solutions { margin-left: 6px; color: var(--blue-600); font-weight: 700; border: 1.5px solid #C9DAEE; }
.nav .nav-solutions:hover, .nav .nav-solutions[aria-current="page"] { background: #EEF4FB; border-color: var(--blue-600); }
.nav .nav-cta { margin-left: 6px; color: var(--white); background: var(--blue-600); font-weight: 700; padding: 10px 18px; }
.nav .nav-cta:hover { color: var(--white); background: var(--navy-800); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transform: translateX(-50%); transition: .25s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 1260px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 24px 16px 40px; background: var(--white); overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { font-size: 1.1rem; padding: 14px 16px; border-radius: 12px; }
  .nav .nav-solutions { margin: 12px 0 0; text-align: center; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 420px) {
  .brand img { height: 40px; }
  .brand-name { font-size: 1.15rem; }
  .brand-tag { font-size: .55rem; letter-spacing: .1em; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--grad-hero);
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 8vw, 104px);
}
/* Para usar la foto del hero: añade assets/hero-bogota.jpg y la clase .has-photo al <section> */
.hero.has-photo {
  background: linear-gradient(100deg, rgba(8,16,30,.94) 0%, rgba(11,46,89,.82) 45%, rgba(11,46,89,.35) 100%),
              url("assets/hero-bogota.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero-globe { position: absolute; right: -180px; top: 50%; width: 720px; transform: translateY(-50%); opacity: .14; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; margin-bottom: 20px; }
.hero h1 .accent { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.8); max-width: 580px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: .92rem; color: rgba(255,255,255,.78); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); margin-bottom: 22px;
}
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--silver-200); }
.status-pill.is-open::before { background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.22); }
.status-pill.is-closed::before { background: #F59E0B; }

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 26px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.hero-card-head h2 { font-size: 1.1rem; margin: 0; }
.hero-card-head small { color: rgba(255,255,255,.6); font-size: .78rem; text-align: right; }
.hero-rates { list-style: none; margin: 0 0 18px; padding: 0; }
.hero-rates li {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; gap: 10px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-rates li:last-child { border-bottom: 0; }
.hr-cur { display: flex; align-items: center; gap: 12px; }
.hr-cur strong { display: block; font-family: var(--ff-head); font-size: 1.05rem; }
.hr-cur small { display: block; font-size: .75rem; color: rgba(255,255,255,.6); }
.hr-val { text-align: right; font-family: var(--ff-head); font-weight: 700; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.hr-val small { display: block; font-family: var(--ff-body); font-weight: 500; font-size: .7rem; color: var(--gold-300); text-transform: uppercase; letter-spacing: .08em; }
.hero-card .note { font-size: .78rem; color: rgba(255,255,255,.6); margin: 12px 0 0; }
.flag { width: 28px; height: 21px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; background: var(--silver-200); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-globe { width: 520px; right: -220px; top: 30%; }
}

/* ── Cinta de tasas ──────────────────────────────────── */
.ticker { background: var(--navy-900); color: var(--white); border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.ticker-track { display: flex; gap: 40px; width: max-content; padding: 14px 0; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tick b { color: var(--gold-300); font-family: var(--ff-head); }
.tick .flag { width: 22px; height: 16px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Divisas ─────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.tier-block.featured { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--white); border-color: transparent; box-shadow: var(--shadow); }
.tier-block h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.tier-block > p { color: var(--muted); font-size: .95rem; }
.tier-block.featured > p { color: rgba(255,255,255,.72); }
.badge { font-family: var(--ff-body); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--grad-gold); color: var(--navy-900); }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; text-align: left; transition: .2s;
}
.chip span { display: flex; flex-direction: column; font-size: .74rem; color: var(--muted); line-height: 1.25; }
.chip b { font-family: var(--ff-head); font-size: .95rem; color: var(--navy-800); }
.chip:hover { border-color: var(--blue-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.featured .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.featured .chip span { color: rgba(255,255,255,.65); }
.featured .chip b { color: var(--white); }
.featured .chip:hover { border-color: var(--gold-500); }
.more-fx { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 24px; padding: 18px 22px; background: var(--white); border: 1.5px dashed #B9C6D6; border-radius: var(--radius); }
.more-fx > svg { width: 30px; height: 30px; color: var(--blue-600); flex: none; }
.more-fx > div { flex: 1 1 260px; min-width: 0; display: grid; gap: 2px; }
.more-fx strong { color: var(--navy-800); }
.more-fx span { color: var(--muted); font-size: .95rem; }
.hr-val.ask { font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.7); font-style: italic; }
.rate-card dd.ask { font-size: 1.05rem; font-weight: 600; color: var(--muted); font-style: italic; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; } }

/* ── Tasas ───────────────────────────────────────────── */
.rate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.rate-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.rate-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-gold); }
.rate-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rate-card header .flag { width: 40px; height: 30px; border-radius: 6px; }
.rate-card h3 { margin: 0; font-size: 1.35rem; color: var(--navy-800); }
.rate-card header p { margin: 0; color: var(--muted); font-size: .88rem; }
.rate-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.rate-card dl div { background: var(--paper); border-radius: var(--radius-sm); padding: 12px 14px; }
.rate-card dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.rate-card dd { margin: 4px 0 0; font-family: var(--ff-head); font-weight: 800; font-size: 1.4rem; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.rate-card dd small { font-size: .7rem; color: var(--muted); font-weight: 600; }

.rates-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.tab { border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; transition: .2s; }
.tab.is-active { background: var(--navy-800); color: var(--white); }
.search { position: relative; }
.search input { width: 260px; max-width: 100%; padding: 11px 16px 11px 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }
.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.rate-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rate-table th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.rate-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-table tbody tr:hover { background: #FAFBFD; }
.rate-table td:nth-child(2), .rate-table td:nth-child(3), .rate-table th:nth-child(2), .rate-table th:nth-child(3) { text-align: right; }
.rate-table td:last-child { text-align: right; }
.cur { display: flex; align-items: center; gap: 12px; }
.cur b { display: block; font-family: var(--ff-head); color: var(--navy-800); }
.cur small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.tier { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tier-principal { background: #FBF3D9; color: #7A5F12; }
.tier-frecuente { background: #E2F4FA; color: #0E6C87; }
.tier-especial { background: #ECEFF4; color: #4A5A70; }
.ask-link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; cursor: pointer; }
.ask-link::after { content: " ↗"; font-size: .8em; }
.ask-link:hover { color: #1FAF5A; text-decoration-style: solid; }
.result .ask-link { color: var(--white); }
.rate-table td.ask { color: var(--muted); font-weight: 500; font-style: italic; }
a.chip { text-decoration: none; }
.empty { text-align: center; color: var(--muted); padding: 30px !important; font-weight: 500 !important; }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.disclaimer svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; margin-top: 2px; }

@media (max-width: 900px) { .rate-cards { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .rate-table thead { display: none; }
  .rate-table, .rate-table tbody, .rate-table tr, .rate-table td { display: block; width: 100%; }
  .rate-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 16px; border-bottom: 1px solid var(--line); }
  .rate-table td { border: 0; padding: 2px 0; text-align: left !important; }
  .rate-table td:first-child { grid-column: 1 / -1; margin-bottom: 8px; }
  .rate-table td[data-label]::before { content: attr(data-label); display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .search input { width: 100%; }
  .search, .rates-toolbar .tabs { width: 100%; }
}

/* ── Convertidor ─────────────────────────────────────── */
.converter-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.converter-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.converter-points li { display: flex; gap: 12px; color: rgba(255,255,255,.82); }
.converter-points svg { width: 22px; height: 22px; color: var(--gold-500); flex: none; margin-top: 1px; }
.converter {
  background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.2);
}
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; background: var(--paper); border-radius: 14px; margin-bottom: 22px; }
.seg button { border: 0; background: none; padding: 12px 10px; border-radius: 10px; font-weight: 700; font-size: .92rem; color: var(--muted); cursor: pointer; transition: .2s; }
.seg button.is-active { background: var(--navy-800); color: var(--white); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > label, .field-label { font-size: .82rem; font-weight: 700; color: var(--navy-800); letter-spacing: .02em; }
.input-group { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s; background: var(--white); }
.input-group:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(20,77,145,.1); }
.input-group input { flex: 1; min-width: 0; border: 0; padding: 14px 16px; font-size: 1.3rem; font-weight: 700; font-family: var(--ff-head); outline: none; font-variant-numeric: tabular-nums; background: transparent; }
.input-group .unit { display: grid; place-items: center; padding: 0 16px; background: var(--paper); font-weight: 800; color: var(--navy-800); font-family: var(--ff-head); }
.select, .field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  transition: border-color .2s;
}
.select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(20,77,145,.1); }
.mini-seg { display: inline-flex; gap: 6px; }
.mini-seg button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--muted); }
.mini-seg button.is-active { border-color: var(--blue-600); color: var(--blue-600); background: #EEF4FB; }
.field-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.result {
  margin: 6px 0 18px; padding: 20px 22px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: var(--white);
}
.result small { display: block; font-size: .8rem; color: rgba(255,255,255,.75); }
.result output { display: block; font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-variant-numeric: tabular-nums; margin-top: 2px; word-break: break-word; }
.result p { margin: 8px 0 0; font-size: .8rem; color: rgba(255,255,255,.72); }
@media (max-width: 900px) { .converter-grid { grid-template-columns: 1fr; } }

/* ── Reservas ────────────────────────────────────────── */
.reserva-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.reserva-grid > * { min-width: 0; }
.reserva-steps { list-style: none; counter-reset: rs; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.reserva-steps li { counter-increment: rs; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.reserva-steps li::before { content: counter(rs); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: var(--navy-900); font-family: var(--ff-head); font-weight: 800; }
.reserva-steps b { color: var(--navy-800); }
.reserva-steps span { color: var(--muted); font-size: .95rem; }
.reserva-id { display: flex; gap: 10px; align-items: center; margin: 0; padding: 14px 16px; border-radius: 14px; background: #EEF4FB; color: var(--navy-800); font-weight: 600; font-size: .92rem; }
.reserva-id svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; }
.denoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.denom { display: grid; gap: 8px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); }
.denom label { display: flex; align-items: baseline; gap: 6px; }
.denom .bill { font-family: var(--ff-head); font-weight: 800; font-size: 1.15rem; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.denom small { color: var(--muted); font-weight: 600; font-size: .75rem; }
.stepper { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 4px; }
.stepper button { height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--navy-800); font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.stepper button:hover { border-color: var(--blue-600); color: var(--blue-600); }
.stepper input { width: 100%; min-width: 0; height: 34px; text-align: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.res-summary { margin: 4px 0 18px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: var(--white); }
.res-summary small { display: block; font-size: .78rem; color: rgba(255,255,255,.75); }
.res-summary strong { display: block; font-family: var(--ff-head); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.res-summary p { margin: 4px 0 0; font-size: .8rem; color: rgba(255,255,255,.75); }
.small-note.res-day { margin: -6px 0 18px; }
.res-day::first-letter { text-transform: uppercase; }
.form-error { color: #B42318; font-weight: 600; font-size: .9rem; margin: 0 0 10px; min-height: 1em; }
.form-error:empty { display: none; }
.conv-reserve { display: block; margin: 14px auto 0; text-align: center; }
@media (max-width: 900px) { .reserva-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .denoms { grid-template-columns: 1fr 1fr; } }

/* ── Reseñas ─────────────────────────────────────────── */
.rating-summary { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; }
.rating-summary strong { font-family: var(--ff-head); font-size: 2rem; color: var(--navy-800); }
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: 1.05rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.review-card blockquote { margin: 0; color: var(--ink); flex: 1; }
.review-card figcaption { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); }
.review-card figcaption strong { color: var(--navy-800); }
.review-invite {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.review-invite .g-mark { width: 64px; height: 64px; border-radius: 18px; background: var(--paper); display: grid; place-items: center; }
.review-invite .g-mark svg { width: 34px; height: 34px; }
.review-invite h3 { margin-bottom: 6px; }
.review-invite p { margin: 0; color: var(--muted); }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-invite { grid-template-columns: 1fr; text-align: left; }
}

/* ── Horarios + Ubicación ────────────────────────────── */
.visit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.card h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 22px; height: 22px; color: var(--blue-600); }
.hours-list { list-style: none; padding: 0; margin: 16px 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.hours-list li:nth-child(odd) { background: var(--paper); }
.hours-list li.is-today { background: #EEF4FB; color: var(--navy-800); font-weight: 700; box-shadow: inset 3px 0 0 var(--blue-600); }
.status-inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: var(--paper); }
.status-inline::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--silver-200); }
.status-inline.is-open { color: #12784F; background: #E4F6EE; }
.status-inline.is-open::before { background: var(--ok); }
.status-inline.is-closed { color: #9A5B16; background: #FCF0E3; }
.status-inline.is-closed::before { background: var(--warn); }
.small-note { font-size: .85rem; color: var(--muted); margin: 0; }
.map-card { padding: 0; overflow: hidden; display: grid; grid-template-rows: 1fr auto; min-height: 420px; }
.map-card iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: saturate(.9); }
.map-info { padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.map-info address { font-style: normal; }
.map-info address strong { display: block; font-family: var(--ff-head); color: var(--navy-800); }
.map-info address span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }

/* ── Redes ───────────────────────────────────────────── */
.social-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.social-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.social-band p { margin: 0; color: rgba(255,255,255,.75); }
.social-list { display: flex; flex-wrap: wrap; gap: 12px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--white); font-weight: 600; transition: .2s; }
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { background: var(--white); color: var(--navy-800); transform: translateY(-2px); }
.footer .social-link { padding: 10px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--navy-800); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ── Contacto ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; background: var(--white);
  border: 1px solid var(--line); text-decoration: none; transition: .2s;
}
.contact-list a:hover { border-color: var(--blue-600); transform: translateX(4px); }
.contact-list .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #EEF4FB; color: var(--blue-600); flex: none; }
.contact-list .ic.wa { background: #E4F6EE; color: #1FAF5A; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list strong { color: var(--navy-800); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ── CTA final ───────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 64px);
  background: var(--grad-hero); color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ── Soluciones financieras ──────────────────────────── */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(56px, 7vw, 88px); }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: .25s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: var(--white); margin-bottom: 18px; }
.service-card .ic svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.18rem; color: var(--navy-800); }
.service-card p { color: var(--muted); flex: 1; }
.service-card ul { padding-left: 18px; margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--ff-head); font-weight: 800; font-size: 1.8rem; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: rgba(255,255,255,.72); margin: 0; font-size: .94rem; }
.notice { display: flex; gap: 14px; padding: 20px 22px; border-radius: 16px; background: #FBF7E8; border: 1px solid #EFE0A8; color: #5C4B12; font-size: .92rem; }
.notice svg { width: 22px; height: 22px; flex: none; color: #A9861F; }
.services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .services-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr 1fr; } .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services-grid, .services-grid.cols-4, .steps { grid-template-columns: 1fr; } }

.page-slogan { font-family: var(--ff-head); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: .04em; color: var(--cyan-400); margin: 0 0 12px; }
.partner-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(212,175,55,.45); color: rgba(255,255,255,.85); margin-bottom: 22px; }
.partner-pill b { color: var(--gold-300); }
.eta { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 32px 0 0; color: var(--navy-800); }
.eta .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-gold); color: var(--navy-900); }
.eta .ic svg { width: 20px; height: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.feature .ic, .split-card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(38,181,221,.15); color: var(--cyan-400); margin-bottom: 16px; }
.feature .ic svg, .split-card .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; }
.feature p { margin: 0; color: rgba(255,255,255,.72); }
.feature.light { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.feature.light h3 { color: var(--navy-800); }
.feature.light p { color: var(--muted); }
.feature.light .ic { background: #EEF4FB; color: var(--blue-600); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.split-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-gold); }
.split-card .ic { background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: var(--white); }
.split-card h3 { font-size: 1.35rem; color: var(--navy-800); }
.split-card > p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); font-size: .95rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #E2F4FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23144D91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.check-list b { color: var(--navy-800); }
.notice a { color: inherit; font-weight: 700; }
@media (max-width: 900px) { .feature-grid, .split-grid { grid-template-columns: 1fr; } }

/* ── Clientes ────────────────────────────────────────── */
.clients-empty { max-width: 640px; margin: 0 auto; text-align: center; background: var(--white); border: 1px dashed #B9C6D6; border-radius: 22px; padding: clamp(28px, 4vw, 44px); }
.clients-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.clients-slots span { height: 54px; border-radius: 12px; background: repeating-linear-gradient(135deg, var(--paper) 0 10px, #EDF1F6 10px 20px); }
.clients-empty h3 { color: var(--navy-800); font-size: 1.2rem; }
.clients-empty p { color: var(--muted); }
.clients-grid { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.clients-grid li { display: grid; flex: 0 1 230px; min-width: 0; }
.clients-grid li > a { display: grid; text-decoration: none; border-radius: 16px; }
.partner-card { display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 150px; padding: 20px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.clients-grid a:hover .partner-card { border-color: var(--blue-600); box-shadow: var(--shadow-sm); }
.partner-card img { height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.clients-grid a:hover .partner-card img { filter: none; opacity: 1; }
.logo-slot { display: grid; place-items: center; align-content: center; gap: 4px; width: 100%; max-width: 180px; height: 64px; border: 1.5px dashed #B9C6D6; border-radius: 12px; background: var(--paper); color: #8A9AB0; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.logo-slot svg { width: 22px; height: 22px; }
.client-name { font-family: var(--ff-head); font-weight: 700; font-size: .95rem; color: var(--navy-800); text-align: center; }
@media (max-width: 480px) { .clients-slots { grid-template-columns: repeat(2, 1fr); } }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-300); }
.footer-logo { display: inline-block; background: var(--white); border-radius: 18px; padding: 16px 20px; margin-bottom: 18px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.footer-logo img { width: 190px; height: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── WhatsApp flotante ───────────────────────────────── */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #1FAF5A; color: var(--white); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,175,90,.7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FAF5A; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }

/* ── Animación de entrada ────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
