/* ===========================================================
   ITCREA — Sitio web · Design System (Opción 1 "Estructura")
   =========================================================== */
:root {
  /* brand */
  --noche: #0B1220;
  --noche-2: #0F1A30;
  --noche-3: #16223C;
  --azul: #2563EB;
  --azul-700: #1D4ED8;
  --azul-soft: #3B82F6;
  --cyan: #22D3EE;
  --white: #FFFFFF;
  --gris: #E5E7EB;

  /* ui neutrals */
  --paper: #F6F8FB;
  --paper-2: #EEF2F8;
  --ink: #0B1220;
  --ink-soft: #54607A;
  --ink-faint: #8A93A8;
  --line: #E4E8F0;
  --line-dark: rgba(255,255,255,.10);
  --on-dark: #C3CCDC;
  --on-dark-faint: #7A879E;

  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11,18,32,.05);
  --shadow: 0 18px 44px -30px rgba(11,18,32,.45);
  --shadow-lg: 0 40px 90px -50px rgba(11,18,32,.55);
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--azul); color: #fff; }

.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 118px 0; }
@media (max-width: 760px) { .section { padding: 78px 0; } }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--azul);
  margin: 0 0 18px;
  white-space: nowrap;
}
.eyebrow .blip {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.eyebrow .blip i { background: var(--azul); border-radius: 2px; }
.eyebrow .blip i:nth-child(2) { background: var(--cyan); }
.on-dark .eyebrow { color: var(--cyan); }

.lead { font-size: 19px; color: var(--ink-soft); line-height: 1.65; }
.on-dark .lead { color: var(--on-dark); }
.section-head { max-width: 640px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head .lead { margin-top: 18px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--azul); color: #fff; box-shadow: 0 12px 26px -12px rgba(37,99,235,.7); }
.btn--primary:hover { background: var(--azul-700); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(37,99,235,.8); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--azul); color: var(--azul); transform: translateY(-2px); }
.nav .btn--ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.nav .btn--ghost:hover { color: var(--cyan); border-color: var(--cyan); }
.on-dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.on-dark .btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--light { background: #fff; color: var(--noche); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0,0,0,.5); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }

/* ===================== LOGO ===================== */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 34px; height: 34px; flex: 0 0 34px; }
.logo-mark .blk { fill: var(--ink); }
.logo-mark .accent { fill: var(--cyan); }
.logo-word { font-weight: 800; font-size: 23px; letter-spacing: -.02em; line-height: 1; }
.logo-word .it { color: var(--ink); }
.logo-word .crea { color: var(--azul); }
.logo--on-dark .logo-mark .blk { fill: #fff; }
.logo--on-dark .logo-word .it { color: #fff; }
.logo--on-dark .logo-word .crea { color: var(--cyan); }

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  transition: background .35s var(--ease), box-shadow .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--on-dark);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(11,18,32,.4);
}
.nav.scrolled .logo-mark .blk { fill: var(--ink); }
.nav.scrolled .logo-word .it { color: var(--ink); }
.nav.scrolled .logo-word .crea { color: var(--azul); }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--azul); }
.nav.scrolled .nav-links a::after { background: var(--azul); }
.nav.scrolled .btn--ghost { color: var(--ink); border-color: var(--line); }
.nav.scrolled .btn--ghost:hover { color: var(--azul); border-color: var(--azul); }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  position: relative;
  transition: .3s;
}
.nav-burger span::before, .nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: #fff;
  transition: .3s;
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav.scrolled .nav-burger { border-color: var(--line); }
.nav.scrolled .nav-burger span,
.nav.scrolled .nav-burger span::before,
.nav.scrolled .nav-burger span::after { background: var(--ink); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--noche);
  display: flex;
  flex-direction: column;
  padding: 26px 32px;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; }
.mm-close {
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; }
.mobile-menu nav a {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  letter-spacing: -.02em;
}
.mobile-menu nav a .num {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 700;
  margin-right: 14px;
  vertical-align: middle;
}
.mobile-menu .mm-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: var(--noche);
  color: #fff;
  overflow: hidden;
  padding: 150px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(800px 520px at 78% -8%, rgba(34,211,238,.16), transparent 60%),
    radial-gradient(720px 600px at 5% 110%, rgba(37,99,235,.30), transparent 58%);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--on-dark);
  margin-bottom: 26px;
}
.hero-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34,211,238,.18);
}
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .hero-sub { margin-top: 24px; font-size: 19px; line-height: 1.62; color: var(--on-dark); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 46px; flex-wrap: wrap; }
.hero-meta .hm { font-size: 13px; color: var(--on-dark-faint); }
.hero-meta .hm b { display: block; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .01em; margin-top: 3px; }

/* hero visual */
.hero-visual { position: relative; }
.schematic {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--shadow-lg);
  overflow: hidden;
}
.schematic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15,26,48,.82);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.6);
}
.float-chip .ic {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(37,99,235,.22);
  color: var(--cyan);
}
.float-chip .ic svg { width: 14px; height: 14px; }
.chip-1 { top: 13%; left: 8%; animation: floaty 6s var(--ease) infinite; }
.chip-2 { top: 44%; right: 6%; animation: floaty 7.5s var(--ease) infinite .6s; }
.chip-3 { bottom: 12%; left: 14%; animation: floaty 6.8s var(--ease) infinite 1.1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .chip-1, .chip-2, .chip-3 { animation: none; }
}

/* value strip */
.valuestrip { background: var(--noche-2); border-top: 1px solid var(--line-dark); }
.valuestrip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
}
.valuestrip .vp { display: flex; align-items: center; gap: 12px; color: var(--on-dark); font-weight: 600; font-size: 15px; }
.valuestrip .vp svg { width: 20px; height: 20px; color: var(--cyan); flex: 0 0 20px; }

/* ===================== SERVICES ===================== */
.services { background: var(--paper); }
.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--azul), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(150deg, #EEF3FF, #E6F8FC);
  color: var(--azul);
  border: 1px solid #E1E9F8;
}
.card-ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -.02em; }
.card p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.card .tags span { font-size: 12px; font-weight: 600; color: var(--azul); background: #EEF3FF; border-radius: 7px; padding: 5px 10px; }
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ===================== AGENTES ===================== */
.agents { background: var(--noche); color: #fff; position: relative; overflow: hidden; }
.agents::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 90% 0%, rgba(34,211,238,.12), transparent 60%),
    radial-gradient(620px 460px at 0% 100%, rgba(37,99,235,.22), transparent 60%);
}
.agents .container { position: relative; z-index: 2; }
.agents-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.agents-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.agent-item {
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 24px;
  background: rgba(255,255,255,.025);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.agent-item:hover { transform: translateY(-4px); background: rgba(255,255,255,.05); border-color: rgba(34,211,238,.4); }
.agent-item .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--cyan); font-weight: 500; }
.agent-item h4 { font-size: 18px; margin: 12px 0 8px; }
.agent-item p { font-size: 14px; color: var(--on-dark); line-height: 1.55; }
@media (max-width: 860px) { .agents-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .agents-list { grid-template-columns: 1fr; } }

/* ===================== CASOS ===================== */
.cases { background: #fff; }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 60px;
  background: var(--paper);
}
.metric { padding: 38px 30px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric .val { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; color: var(--azul); line-height: 1; }
.metric .val .u { color: var(--cyan); }
.metric .lab { font-size: 14px; color: var(--ink-soft); margin-top: 12px; font-weight: 500; line-height: 1.4; }
@media (max-width: 820px) {
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: none; }
}

.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.usecase {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s;
  display: flex;
  flex-direction: column;
}
.usecase:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.usecase .uc-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); }
.usecase h3 { font-size: 20px; margin: 14px 0 10px; }
.usecase p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.usecase .uc-result { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: 10px; }
.usecase .uc-result b { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.usecase .uc-result span { font-size: 13.5px; color: var(--ink-soft); }
.cases-note { margin-top: 24px; font-size: 13px; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; }
.cases-note svg { width: 15px; height: 15px; flex: 0 0 15px; }
@media (max-width: 900px) { .usecases { grid-template-columns: 1fr; } }

/* ===================== FAQ ===================== */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.faq-q .pm { position: relative; width: 22px; height: 22px; flex: 0 0 22px; }
.faq-q .pm::before, .faq-q .pm::after {
  content: "";
  position: absolute;
  background: var(--azul);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.faq-q .pm::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq-q .pm::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 4px 26px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; max-width: 640px; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===================== CONTACTO ===================== */
.contact { background: var(--noche); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 460px at 85% 110%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(640px 480px at 0% 0%, rgba(37,99,235,.26), transparent 58%);
}
.contact .container { position: relative; z-index: 2; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact h2 { font-size: clamp(30px, 4vw, 46px); }
.contact .lead { margin-top: 18px; max-width: 440px; }
.channels { display: flex; flex-direction: column; gap: 14px; margin-top: 38px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.03);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.channel:hover { transform: translateX(5px); border-color: rgba(34,211,238,.45); background: rgba(255,255,255,.06); }
.channel .ch-ic {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(34,211,238,.12);
  color: var(--cyan);
}
.channel .ch-ic svg { width: 22px; height: 22px; }
.channel .ch-tx b { display: block; font-size: 16px; font-weight: 700; }
.channel .ch-tx span { font-size: 13.5px; color: var(--on-dark-faint); }
.channel .arrow { margin-left: auto; color: var(--on-dark-faint); transition: transform .3s, color .3s; }
.channel:hover .arrow { transform: translateX(4px); color: var(--cyan); }

.form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(6px);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--on-dark); margin-bottom: 8px; letter-spacing: .02em; }
.form-row input, .form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--line-dark);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color .2s, background .2s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #5e6b84; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--cyan); background: rgba(34,211,238,.05); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row.invalid input, .form-row.invalid textarea { border-color: #f87171; }
.form-row .err { display: none; font-size: 12.5px; color: #fca5a5; margin-top: 6px; }
.form-row.invalid .err { display: block; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .tick {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(34,211,238,.14);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.form-success .tick svg { width: 30px; height: 30px; }
.form-success h4 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--on-dark); font-size: 15px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .form-2 { grid-template-columns: 1fr; }
}

/* ===================== FOOTER ===================== */
.footer { background: #070C16; color: var(--on-dark); padding: 64px 0 34px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.footer .f-about { max-width: 340px; font-size: 14.5px; color: var(--on-dark-faint); margin-top: 18px; line-height: 1.6; }
.footer .f-tag { font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--cyan); margin-top: 18px; font-weight: 600; }
.footer .f-col h5 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; font-weight: 700; }
.footer .f-col a { display: block; font-size: 14.5px; color: var(--on-dark-faint); padding: 7px 0; transition: color .2s; }
.footer .f-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13px;
  color: var(--on-dark-faint);
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  color: var(--on-dark);
  transition: .25s;
}
.footer-bottom .socials a:hover { color: var(--noche); background: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }
.footer-bottom .socials svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer .f-brand { grid-column: 1 / -1; }
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* responsive nav */
@media (max-width: 880px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; }
  .agents-grid { gap: 40px; }
}
