@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --midnight: #0c1222;
  --cobalt: #1e40af;
  --copper: #b45309;
  --copper-light: #d97706;
  --mint: #14b8a6;
  --fog: #eef2f6;
  --white: #fff;
  --ink: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --max: 1180px;
  --radius: 12px;
  --shadow: 0 18px 44px rgba(12, 18, 34, 0.1);
  --font-ui: 'Manrope', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-ui); color: var(--ink); background: var(--fog); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { color: var(--copper); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: var(--copper); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 0; }

.top-bar {
  background: var(--midnight);
  color: #cbd5e1;
  font-size: .76rem;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.tasa-bcv { color: var(--mint); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 14px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; text-decoration: none !important; }
.logo-mark svg { width: 44px; height: 44px; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; }
.logo-text span { font-size: .68rem; font-weight: 700; color: var(--copper); letter-spacing: .12em; text-transform: uppercase; }

.nav-panel { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-panel a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .86rem; color: var(--ink); }
.nav-panel a:hover, .nav-panel a.active { background: var(--fog); color: var(--cobalt); }
.nav-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 12px; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: .88rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s;
}
.btn-copper { background: var(--copper); color: #fff; border-color: var(--copper); }
.btn-copper:hover { background: #92400e; color: #fff; transform: translateY(-2px); }
.btn-midnight { background: var(--midnight); color: #fff; }
.btn-midnight:hover { background: #1a2332; color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-block { width: 100%; margin-top: 12px; }

.hero-split {
  position: relative;
  background: linear-gradient(135deg, var(--midnight) 55%, var(--cobalt) 100%);
  color: #e2e8f0;
  padding: 64px 20px 72px;
  overflow: hidden;
}
.hero-split::after {
  content: "";
  position: absolute;
  right: -10%; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(160deg, transparent 30%, rgba(20,184,166,.12) 100%);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mint); margin-bottom: 12px;
}
.hero-split h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08; margin-bottom: 16px; font-weight: 700;
}
.hero-split h1 em { color: var(--copper-light); font-style: italic; }
.hero-split .lead { font-size: 1.02rem; opacity: .92; max-width: 54ch; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.disclaimer-inline { font-size: .75rem; opacity: .75; max-width: 52ch; }
.hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.15); }
.hero-kpi {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px;
}
.kpi-cell {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 14px; text-align: center;
}
.kpi-cell strong { display: block; font-size: 1.4rem; color: var(--mint); font-weight: 800; }
.kpi-cell span { font-size: .7rem; opacity: .85; }

.kpi-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 20px;
}
.kpi-strip-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; text-align: center;
}
.kpi-strip strong { font-size: 1.5rem; color: var(--cobalt); font-weight: 800; display: block; }
.kpi-strip span { font-size: .78rem; color: var(--muted); font-weight: 600; }

.section { padding: 56px 20px; max-width: var(--max); margin: 0 auto; }
.section-head { margin-bottom: 32px; }
.section-head.center { text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--midnight);
  margin-bottom: 8px;
}
.section-head p { color: var(--muted); max-width: 60ch; }
.section-head.center p { margin: 0 auto; }

.nosotros-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--copper);
}
.nosotros-block p { color: var(--muted); margin-bottom: 12px; font-size: .95rem; }
.nosotros-block .lead-n { font-size: 1.05rem; color: var(--ink); font-weight: 600; margin-bottom: 14px; }

.process-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.process-step {
  background: var(--white); border-radius: var(--radius); padding: 22px 18px;
  border-top: 4px solid var(--mint); box-shadow: var(--shadow);
}
.process-step .num { font-size: 2rem; font-weight: 800; color: var(--cobalt); opacity: .35; line-height: 1; }
.process-step h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 8px 0 6px; color: var(--midnight); }
.process-step p { font-size: .85rem; color: var(--muted); }

.grid-servicios, #catalogoGrid, #destacadosGrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px;
}

.svc-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: .25s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(12,18,34,.12); }
.svc-card-link { color: inherit; display: block; }
.svc-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--fog); }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge-top {
  position: absolute; top: 10px; right: 10px;
  background: var(--copper); color: #fff; font-size: .65rem; font-weight: 800;
  padding: 5px 9px; border-radius: 6px;
}
.svc-card-body { padding: 18px 20px 22px; }
.svc-card-body .sku { font-size: .7rem; font-weight: 800; color: var(--copper); letter-spacing: .06em; text-transform: uppercase; }
.svc-card-body h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 6px 0 8px; color: var(--midnight); }
.svc-card-body p { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.modalidad-tag { display: inline-block; font-size: .72rem; font-weight: 700; background: var(--fog); padding: 4px 10px; border-radius: 999px; color: var(--cobalt); margin-bottom: 8px; }
.feat-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.feat-list li { font-size: .7rem; font-weight: 700; background: var(--fog); padding: 4px 8px; border-radius: 4px; color: var(--ink); }

.card-precio { margin-top: 8px; }
.precio-label { font-size: .65rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.precio-row { display: flex; align-items: baseline; gap: 6px; }
.card-precio .usd { font-size: 1.5rem; font-weight: 800; color: var(--cobalt); }
.usd-tag { font-size: .72rem; font-weight: 700; color: var(--muted); }
.bs-ref { display: block; font-size: .8rem; color: var(--ink); font-weight: 600; }
.precio-nota { display: block; font-size: .68rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0 20px 56px; max-width: var(--max); margin: 0 auto; }
.benefit {
  background: var(--white); padding: 22px; border-radius: var(--radius);
  border-bottom: 3px solid var(--mint); box-shadow: var(--shadow);
}
.benefit h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--midnight); margin-bottom: 6px; }
.benefit p { font-size: .86rem; color: var(--muted); }

.contact-block { background: var(--midnight); color: #cbd5e1; padding: 48px 20px; }
.contact-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-inner h2 { font-family: var(--font-display); font-size: 1.8rem; color: #fff; margin-bottom: 16px; }
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 10px; font-size: .92rem; }
.contact-list a { color: var(--mint); font-weight: 600; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 2px solid rgba(255,255,255,.12); }
.map-wrap iframe { width: 100%; height: 260px; border: 0; }

.site-footer { background: #070b14; color: #94a3b8; padding: 36px 20px 24px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
.footer-inner h4 { color: #fff; font-family: var(--font-display); margin-bottom: 10px; }
.footer-inner ul { list-style: none; }
.footer-inner li { margin-bottom: 6px; font-size: .85rem; }
.footer-inner a { color: #cbd5e1; }
.footer-bottom { max-width: var(--max); margin: 20px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: .78rem; text-align: center; }
.footer-legal { font-size: .75rem; color: #64748b; margin-top: 6px; }

.legal-page { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
.legal-page h1 { font-family: var(--font-display); color: var(--midnight); margin-bottom: 8px; }
.legal-page .fecha { color: var(--muted); font-size: .88rem; margin-bottom: 24px; }
.legal-page h2 { font-family: var(--font-display); color: var(--copper); margin: 24px 0 10px; }
.legal-page p, .legal-page li { margin-bottom: 10px; font-size: .94rem; }

.img-ref-note { font-size: .72rem; color: var(--muted); margin-top: 8px; text-align: center; }
.noscript-servicios {
  max-width: var(--max); margin: 16px auto 0; padding: 16px 24px;
  background: var(--white); border-radius: var(--radius); list-style: none;
  font-size: .88rem; line-height: 1.7;
}
.noscript-servicios li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.noscript-servicios li:last-child { border-bottom: none; }

.catalog-hero {
  background: linear-gradient(135deg, var(--midnight), var(--cobalt));
  color: #fff; padding: 48px 20px; text-align: center;
}
.catalog-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.filter-bar {
  max-width: var(--max); margin: -18px auto 28px; padding: 0 20px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.chip {
  border: 2px solid var(--line); background: var(--white);
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .78rem;
  cursor: pointer; color: var(--ink);
}
.chip.active, .chip:hover { border-color: var(--cobalt); background: var(--cobalt); color: #fff; }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--midnight); color: #e2e8f0; padding: 16px 20px;
  z-index: 5000; transform: translateY(110%); transition: .35s;
  box-shadow: 0 -8px 30px rgba(0,0,0,.2);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.cookie-inner p { font-size: .85rem; flex: 1; min-width: 220px; }
.cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(20px); transition: .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-inner, .contact-inner, .process-row { grid-template-columns: 1fr; }
  .hero-kpi { grid-template-columns: 1fr; }
  .nav-panel {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-panel.open { display: flex; }
  .nav-btn { display: block; margin-left: auto; }
  .site-header .header-inner { position: relative; flex-wrap: wrap; }
  .header-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
