/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ── VARIABLES ──────────────────────────────────── */
:root {
  --ink:    #15376b;
  --paper:  #f4f5f7;
  --paper2: #e3e5e8;
  --dark:   #0d1f33;
  --rust:   #c8202c;
  --ochre:  #4a90d9;
  --grey:   #6e7479;
  --rule:   rgba(21,55,107,0.15);
  --f-head: 'Archivo', system-ui, sans-serif;
  --f-body: 'Inter Tight', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ── BASE ───────────────────────────────────────── */
body {
  font-family: var(--f-body);
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; letter-spacing: -0.02em; }
em { font-style: italic; color: var(--rust); }

/* ── ANIMATION ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.fade-in { opacity: 0; }
.fade-in.visible { animation: fadeUp 0.65s ease forwards; }

/* ── NAV ────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 5%;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
  font-family: var(--f-head); font-style: italic; font-weight: 800;
  font-size: 18px; letter-spacing: -0.03em; color: var(--ink);
  line-height: 1.1;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--ink); padding: 8px 14px; opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--rust); }
.nav-phone {
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  color: var(--ink); white-space: nowrap; letter-spacing: 0.04em;
  padding: 8px 12px; border: 1.5px solid var(--rule);
  transition: border-color 0.2s;
}
.nav-phone:hover { border-color: var(--ink); }
.nav-cta {
  background: var(--rust); color: #fff;
  padding: 10px 20px; font-family: var(--f-mono);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  white-space: nowrap; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

/* ── BUTTONS ────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rust); color: #fff;
  padding: 15px 28px; font-family: var(--f-mono);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 14px 28px; font-family: var(--f-mono);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 14px 28px; font-family: var(--f-mono);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: all 0.2s;
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-call {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rust); color: #fff;
  padding: 16px 32px; font-family: var(--f-mono);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: opacity 0.2s;
}
.btn-call:hover { opacity: 0.88; }
.btn-call svg { flex-shrink: 0; }

/* ── TRUST BAR ──────────────────────────────────── */
.trust-bar { background: var(--ink); overflow: hidden; }
.trust-track {
  display: flex; white-space: nowrap; width: max-content;
  animation: marquee 40s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }
.trust-item {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  color: rgba(244,245,247,0.75); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 36px; border-right: 1px solid rgba(255,255,255,0.1); flex-shrink: 0;
}

/* ── SECTION LABEL ──────────────────────────────── */
.sec-label {
  font-family: var(--f-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.45; margin-bottom: 14px;
}
.sec-label.light { color: #fff; opacity: 0.45; }

/* ── PAGE HERO (services + contact) ─────────────── */
.page-hero {
  padding: 88px 5% 96px;
  border-bottom: 1.5px solid var(--ink);
}
.page-hero-label {
  font-family: var(--f-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust);
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.page-hero-label::before { content: ''; width: 28px; height: 1px; background: var(--rust); }
.page-hero h1 {
  font-size: clamp(52px, 9vw, 110px);
  line-height: 0.89; margin-bottom: 32px;
}
.page-hero-sub {
  font-size: 17px; color: var(--ink); opacity: 0.68;
  max-width: 540px; line-height: 1.65;
}

/* ── FOOTER ─────────────────────────────────────── */
footer { background: var(--dark); color: var(--paper); padding: 64px 5% 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px;
}
.footer-brand-name {
  font-family: var(--f-head); font-size: 20px; font-weight: 800;
  font-style: italic; letter-spacing: -0.02em; color: #fff;
  display: block; margin-bottom: 14px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; opacity: 0.55; margin-bottom: 20px; max-width: 260px; }
.footer-nap {
  font-family: var(--f-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; opacity: 0.5; line-height: 2;
  overflow-wrap: anywhere;
}
.footer-nap a { color: inherit; }
.footer-nap a:hover { opacity: 1; color: #fff; }
.footer-col h5 {
  font-family: var(--f-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.4; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; opacity: 0.6; transition: opacity 0.2s; }
.footer-col ul a:hover { opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.35;
}

/* ── STRUCTURED CONTENT PAGES ───────────────────── */
.content-section {
  padding: 80px 5%;
  border-bottom: 1.5px solid var(--rule);
}
.content-section.alt { background: var(--paper2); }
.content-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 64px;
  align-items: start;
}
.section-kicker {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
}
.lead {
  font-size: 18px;
  line-height: 1.75;
  opacity: 0.75;
  max-width: 720px;
}
.body-copy {
  display: grid;
  gap: 18px;
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.76;
}
.article-copy {
  display: grid;
  gap: 20px;
  max-width: 900px;
  font-size: 17px;
  line-height: 1.78;
  color: rgba(21,55,107,0.78);
}
.article-copy h3 {
  margin-top: 18px;
  color: var(--ink);
}
.article-copy ul,
.article-copy ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}
.article-copy li {
  padding-left: 4px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 56px;
  align-items: start;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 8px 0 10px;
  border: 1.5px solid var(--rule);
}
.info-table th,
.info-table td {
  border-bottom: 1.5px solid var(--rule);
  padding: 14px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}
.info-table th {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  background: var(--paper2);
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list details {
  border: 1.5px solid var(--rule);
  background: #fff;
  padding: 18px 20px;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--f-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.faq-list p {
  margin-top: 12px;
  color: rgba(21,55,107,0.72);
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}
.feature-card {
  background: #fff;
  border: 1.5px solid var(--rule);
  padding: 28px;
  min-height: 210px;
}
.feature-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.68;
}
.text-list {
  list-style: none;
  border-top: 1.5px solid var(--rule);
}
.text-list li {
  padding: 14px 0;
  border-bottom: 1.5px solid var(--rule);
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
}
.text-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--rust);
  flex: 0 0 auto;
}
.side-panel {
  background: var(--dark);
  color: #fff;
  padding: 32px;
}
.side-panel h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 14px;
}
.side-panel p,
.side-panel li {
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  line-height: 1.7;
}
.side-panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.link-tile {
  border: 1.5px solid var(--rule);
  background: #fff;
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 0;
}
.link-tile:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.link-tile span {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 8px;
}
.link-tile strong {
  display: block;
  font-family: var(--f-head);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.link-tile p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.68;
}
.cta-band {
  padding: 72px 5%;
  background: var(--rust);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 14px;
}
.cta-band h2 em { color: rgba(255,255,255,0.72); }
.cta-band p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,0.76);
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--rust);
  padding: 15px 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  padding: 14px 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── RESPONSIVE SHARED ──────────────────────────── */
@media (max-width: 900px) {
  nav {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 10px 4%;
  }
  .nav-toggle {
    display: inline-flex;
    order: 4;
  }
  .nav-links {
    order: 5;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 4% 10px;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1.5px solid var(--ink);
  }
  nav.nav-open .nav-links { display: flex; }
  nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links a {
    display: block;
    min-height: 44px;
    padding: 13px 0;
    font-size: 11px;
    border-bottom: 1px solid var(--rule);
  }
  .nav-phone { display: none; }
  .nav-cta { padding: 9px 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split-grid, .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid, .link-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  h2 { font-size: clamp(1.85rem, 10vw, 2.55rem); }
  h3 { font-size: clamp(1.25rem, 7vw, 1.65rem); }
  nav {
    padding: 10px 4% 8px;
    align-items: center;
  }
  .nav-logo { max-width: calc(100% - 174px); }
  .nav-logo img {
    max-width: 100%;
    height: auto;
    max-height: 34px;
    object-fit: contain;
  }
  .nav-logo-text { font-size: 16px; }
  .nav-cta {
    min-height: 42px;
    padding: 11px 12px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 52px 4% 56px; }
  .page-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
    line-height: 0.94;
    margin-bottom: 24px;
  }
  .page-hero-sub { font-size: 16px; }
  .content-section { padding: 56px 4%; }
  .feature-grid, .link-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .side-panel { padding: 24px; }
  .faq-list details { padding: 16px; }
  .faq-list summary { font-size: 18px; line-height: 1.15; }
  .text-list li { align-items: flex-start; }
  .info-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .info-table th,
  .info-table td { padding: 12px 10px; }
  .cta-band { padding: 56px 4%; }
  .cta-actions,
  .btn-primary,
  .btn-outline,
  .btn-call,
  .btn-white,
  .btn-outline-white {
    width: 100%;
  }
  .cta-actions a,
  .btn-primary,
  .btn-outline,
  .btn-call,
  .btn-white,
  .btn-outline-white {
    justify-content: center;
    text-align: center;
  }
}
