/* Consult Edge — colores del logo */
:root {
  --navy: #0B1E3F;
  --navy-2: #13294f;
  --teal: #00C9A7;
  --teal-dark: #00a68a;
  --ink: #1b2a44;
  --muted: #5b6b85;
  --line: #e3e8f0;
  --tint: #f3f7fa;
  --white: #fff;
  --radius: 14px;
  --font-head: "Lexend", system-ui, -apple-system, "Segoe 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: 80px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.accent { color: var(--teal); }
.muted { color: var(--muted); }
.eyebrow {
  font: 600 .8rem/1 var(--font-head);
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--teal-dark); margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: #c9d4e5; max-width: 34em; }
.lead--dark { color: var(--ink); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Botones */
.btn {
  display: inline-block; text-decoration: none;
  font: 600 1rem/1 var(--font-head);
  padding: 15px 26px; border-radius: 999px;
  background: var(--teal); color: var(--navy);
  border: 2px solid var(--teal);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn--small { padding: 10px 18px; font-size: .9rem; }

/* Cabecera */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.nav__brand img { width: 180px; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) { text-decoration: none; font: 500 .95rem var(--font-head); color: var(--navy); }
.nav__links a:not(.btn):hover { color: var(--teal-dark); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(0,201,167,.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px; padding-block: 96px 104px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--teal); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hex { width: 100%; max-width: 420px; margin-left: auto; }
.hex__ring { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 2; }
.hex__ring--2 { stroke: rgba(0,201,167,.18); }
.hex__c { fill: none; stroke: var(--white); stroke-width: 42; stroke-linejoin: miter; }
.hex__bar { fill: var(--teal); }

/* Secciones */
.section { padding-block: 96px; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #c9d4e5; }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head p:last-child { color: var(--muted); }
.section__head--light h2 { color: var(--white); }
.section__head--light .eyebrow { color: var(--teal); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.split p:not(.eyebrow):not(.lead) { color: var(--muted); }
.split .lead--dark { color: var(--ink); }

/* Tarjetas de servicios */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(11,30,63,.35); border-color: transparent; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--navy);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { border-top: 2px solid rgba(255,255,255,.12); padding-top: 24px; }
.steps h3 { color: var(--white); }
.steps p { margin: 0; font-size: .98rem; }
.steps__n { display: block; font: 700 .9rem var(--font-head); color: var(--teal); margin-bottom: 12px; letter-spacing: .08em; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.contact .btn { margin-top: .5rem; }
.contact__card {
  font-style: normal; line-height: 1.8;
  background: var(--tint); border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: 28px 32px;
}
.contact__card strong { display: block; font: 600 1.15rem var(--font-head); color: var(--navy); margin-bottom: 4px; }

/* Pie */
.footer { background: #07152d; color: #8a9ab5; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 32px; }
.footer__inner p { margin: 0; }
.footer img { width: 160px; }

/* Responsive */
@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner, .split, .contact { grid-template-columns: 1fr; }
  .split { gap: 8px; }
  .hero__art { display: none; }
  .hero__inner { padding-block: 72px 80px; }
  .section { padding-block: 72px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .nav__links li:not(:last-child) { display: none; }
  .nav__brand img { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
