/* =========================================================
   Agencia Digital Wave — Hoja de estilos
   Sistema de diseño: color, tipografía, componentes.
   ========================================================= */

:root {
  /* Marca */
  --blue-500: #24566a;
  --blue-400: #4c7c89;
  --blue-700: #173f50;
  --blue-900: #102f3b;
  --navy: #121918;
  --orange: #d7663d;
  --orange-600: #b94d2c;
  --teal: #37695b;
  --ink: #171b19;
  --ink-2: #3f4944;
  --muted: #6e7772;
  --line: #dfe3df;
  --line-2: #edf0ed;
  --bg: #f7f7f4;
  --bg-alt: #eff2ef;
  --bg-warm: #f2eee8;
  --white: #ffffff;

  --grad-brand: linear-gradient(120deg, #173f50 0%, #24566a 100%);
  --grad-hero: linear-gradient(145deg, #14201d 0%, #193a34 100%);

  /* Radios deliberadamente distintos por jerarquía (no todo redondeado igual) */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(7, 28, 51, 0.05), 0 4px 14px rgba(7, 28, 51, 0.05);
  --shadow: 0 10px 30px rgba(7, 28, 51, 0.09);
  --shadow-lg: 0 28px 64px rgba(7, 28, 51, 0.16);

  --container: 1180px;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Bricolage Grotesque", var(--font-body);
  --font-editorial: "Newsreader", Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(24, 99, 220, 0.16); }

.container { width: min(100% - 2.6rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.6rem, 820px); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--blue-700); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: 0.8rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: 0.6;
}
.grad-blue, .grad-orange {
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.grad-blue { background-image: linear-gradient(100deg, #7ad6ff, #2b90ff); }
.grad-orange { background-image: linear-gradient(100deg, #ffc06b, #f7860a); }
.underline-wave {
  background-image: linear-gradient(transparent 62%, rgba(247, 144, 7, 0.35) 62%);
  background-repeat: no-repeat;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600; font-size: 0.98rem; padding: 0.85rem 1.6rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(24, 99, 220, 0.32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(24, 99, 220, 0.42); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: #fff; color: var(--blue-700); transform: translateY(-3px); }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--blue-400); color: var(--blue-700); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--blue-700); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-wa { background: #25d366; color: #06331a; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3); }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(37, 211, 102, 0.4); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; }

/* Enlace con flecha */
.arrow-link {
  font-family: var(--font-head); font-weight: 600; color: var(--blue-700);
  display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s, color 0.2s;
}
.arrow-link:hover { color: var(--orange-600); gap: 0.7rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { display: grid; place-items: center; line-height: 0; filter: drop-shadow(0 6px 14px rgba(24,99,220,0.3)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1rem; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
.brand-text small { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.01em; }

.main-nav ul { display: flex; align-items: center; gap: 0.15rem; }
.main-nav a {
  position: relative; display: inline-block; padding: 0.55rem 0.85rem; border-radius: var(--r-sm);
  font-size: 1.03rem; font-weight: 600; color: var(--ink-2); transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--blue-700); background: var(--bg-alt); }
.main-nav a[aria-current="true"] { color: var(--blue-700); }
.main-nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.28rem;
  height: 2px; border-radius: 2px; background: var(--orange);
}
.main-nav a.nav-cta {
  background: var(--grad-brand); color: #fff; padding-inline: 1.2rem; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(24,99,220,0.28); margin-left: 0.5rem;
}
.main-nav a.nav-cta:hover { transform: translateY(-2px); color: #fff; }
.main-nav a.nav-cta::after { display: none; }
.nav-close { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 8px; border-radius: var(--r-xs);
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform 0.3s, opacity 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; padding: clamp(3.5rem, 9vw, 6.5rem) 0 8.5rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--grad-hero); }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); opacity: 0.5; }
.hero-bg::before {
  width: 520px; height: 520px; top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(3,169,244,0.6), transparent 70%);
  animation: float1 16s ease-in-out infinite;
}
.hero-bg::after {
  width: 420px; height: 420px; bottom: -140px; left: -110px;
  background: radial-gradient(circle, rgba(247,144,7,0.45), transparent 70%);
  animation: float2 18s ease-in-out infinite;
}
/* Retícula sutil sobre el degradado */
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.18; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, #000 20%, transparent 75%);
}
@keyframes float1 { 50% { transform: translate(-40px, 40px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(50px, -30px) scale(1.08); } }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.hero-content { max-width: 620px; }
.hero .eyebrow { color: #a9d8ff; }
.hero .eyebrow::before { background: var(--orange); opacity: 1; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; color: #fff; letter-spacing: -0.035em; }
.hero h1 .h1-kicker { display: flex; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; color: #a9d8ff; margin-bottom: 0.9rem; }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgba(255,255,255,0.88); margin-top: 1.2rem; max-width: 560px; }
.hero .lead strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 2.2rem;
  font-weight: 600; color: #c9e4ff; font-size: 0.9rem;
}
.hero-badges li { display: flex; align-items: center; gap: 0.45rem; }
.hero-badges svg { color: var(--teal); }

/* Panel visual del hero (mockup de navegador) */
.hero-visual { position: relative; }
.browser {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-lg); padding: 0.85rem; backdrop-filter: blur(6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35); transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
}
.browser-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0 0.2rem 0.7rem; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.browser-bar i:first-child { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url {
  margin-left: 0.5rem; flex: 1; font-family: var(--font-mono); font-size: 0.72rem;
  color: rgba(255,255,255,0.75); background: rgba(0,0,0,0.22); border-radius: 999px; padding: 0.2rem 0.7rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-screen { background: #fff; border-radius: var(--r-md); padding: 1.1rem; color: var(--ink); }
.bs-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.bs-dot { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand); flex: 0 0 auto; }
.bs-lines { flex: 1; display: grid; gap: 0.35rem; }
.bs-line { height: 8px; border-radius: 4px; background: var(--line-2); }
.bs-line.w70 { width: 70%; } .bs-line.w45 { width: 45%; } .bs-line.w90 { width: 90%; }
.bs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-bottom: 0.9rem; }
.bs-card { height: 52px; border-radius: var(--r-sm); background: var(--bg-alt); border: 1px solid var(--line-2); }
.bs-card:nth-child(2) { background: linear-gradient(135deg, rgba(3,169,244,0.16), rgba(24,99,220,0.16)); }
.bs-chart { display: flex; align-items: flex-end; gap: 0.4rem; height: 74px; }
.bs-chart span { flex: 1; border-radius: 5px 5px 2px 2px; background: rgba(24,99,220,0.18); }
.bs-chart span:nth-child(2) { background: rgba(24,99,220,0.32); }
.bs-chart span:nth-child(3) { background: rgba(24,99,220,0.5); }
.bs-chart span:nth-child(4) { background: var(--orange); }
.bs-chart span:nth-child(5) { background: var(--blue-500); }

.hero-float {
  position: absolute; background: #fff; color: var(--ink); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.86rem; font-weight: 700; font-family: var(--font-head);
}
.hero-float small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: 0.74rem; }
.hero-float--a { left: -22px; top: 18%; }
.hero-float--b { right: -14px; bottom: 12%; }
.hero-float .hf-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.hero-float--a .hf-icon { background: var(--teal); }
.hero-float--b .hf-icon { background: var(--orange); }

.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0; line-height: 0; }
.hero-waves svg { width: 100%; height: clamp(60px, 9vw, 120px); display: block; }
.hero-waves path { fill: var(--bg); }

/* ---------- Stats ---------- */
.stats { margin-top: -3.5rem; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 2rem 1.5rem; box-shadow: var(--shadow);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -0.6rem; top: 12%; bottom: 12%; width: 1px; background: var(--line);
}
.stat-num { font-family: var(--font-head); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--blue-700); letter-spacing: -0.04em; }
.stat-suffix { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--orange); }
.stat-label { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.75rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-warm { background: var(--bg-warm); }
.section-head { max-width: 700px; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.section-head p { color: var(--muted); margin-top: 0.9rem; font-size: 1.06rem; }
.section-head--split { display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: end; max-width: none; }

/* ---------- Tarjetas / Servicios ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.9rem 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--grad-brand); opacity: 0; transition: opacity 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { opacity: 1; }
.service-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.service-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(3,169,244,0.14), rgba(24,99,220,0.14)); color: var(--blue-700);
  transition: background 0.3s, color 0.3s;
}
.card:hover .service-icon { background: var(--grad-brand); color: #fff; }
.service-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; }
.service h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.service p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1rem; }
.service .arrow-link { font-size: 0.93rem; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }
.about-card {
  background: var(--grad-hero); color: #fff; border-radius: var(--r-xl);
  padding: 2.5rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -90px;
  background: radial-gradient(circle, rgba(247,144,7,0.42), transparent 70%); border-radius: 50%;
}
.about-wave { width: 60px; height: 60px; margin-bottom: 1.4rem; position: relative; z-index: 1; }
.about-quote { font-family: var(--font-head); font-size: 1.26rem; font-weight: 600; line-height: 1.45; position: relative; z-index: 1; letter-spacing: -0.02em; }
.about-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin-top: 2rem; position: relative; z-index: 1; }
.about-mini strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.about-mini span { font-size: 0.84rem; color: rgba(255,255,255,0.78); }

.about-content h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 1rem; }
.about-content > p { color: var(--ink-2); margin-bottom: 1rem; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.8rem 0; }
.mv-item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue-500); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1.15rem 1.3rem; }
.mv-item:last-child { border-left-color: var(--orange); }
.mv-item h3 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--blue-700); }
.mv-item:last-child h3 { color: var(--orange-600); }
.mv-item p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Proyectos ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.project {
  display: flex; gap: 1.4rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-logo {
  flex: 0 0 92px; width: 92px; height: 92px; border-radius: var(--r-md); overflow: hidden;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 8px;
}
.project-logo img { width: 100%; height: 100%; object-fit: contain; }
.project-body { display: flex; flex-direction: column; align-items: flex-start; }
.tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-700); background: rgba(24,99,220,0.09); padding: 0.22rem 0.65rem; border-radius: var(--r-xs); margin-bottom: 0.6rem;
}
.project-body h3 { font-size: 1.14rem; margin-bottom: 0.4rem; }
.project-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0.9rem; }
.project-link { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--blue-700); display: inline-flex; align-items: center; gap: 0.35rem; transition: gap 0.2s, color 0.2s; }
.project-link:hover { color: var(--orange-600); gap: 0.6rem; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.9rem 1.5rem; position: relative; box-shadow: var(--shadow-sm); }
.step-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: transparent; -webkit-text-stroke: 2px var(--blue-400); display: block; margin-bottom: 0.5rem; }
.step h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 auto; font-size: 1.5rem; line-height: 1; color: var(--blue-500); transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--blue-700); }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--ink-2); font-size: 0.98rem; }
.faq-answer a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-brand); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background: radial-gradient(circle at 85% 20%, rgba(247,144,7,0.45), transparent 55%);
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2.5rem, 6vw, 3.8rem) 0; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.cta-inner p { color: rgba(255,255,255,0.9); margin-top: 0.4rem; }
.cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: 0.8rem; }
.contact-info > p { color: var(--muted); margin-bottom: 1.8rem; }
.contact-list { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.ci-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--bg-alt); color: var(--blue-700); }
.ci-label { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-list a { font-weight: 600; }
.contact-list a:hover { color: var(--blue-700); }

.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--bg-alt); color: var(--blue-700); transition: transform 0.25s, background 0.25s, color 0.25s;
}
.socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: 0.86rem; margin-bottom: 0.35rem; }
.field .req { color: var(--orange-600); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 0.96rem; padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fcfdff; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(3,169,244,0.14); }
.field textarea { resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e23b3b; }
.field-error { display: block; color: #d32f2f; font-size: 0.82rem; margin-top: 0.3rem; min-height: 0; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-legal { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; text-align: center; }
.form-note { margin-top: 0.8rem; font-size: 0.92rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: #0a8f66; font-weight: 700; }
.form-note.err { color: #d32f2f; font-weight: 700; }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; color: #fff; background: var(--grad-hero); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; width: 460px; height: 460px; top: -180px; right: -120px; z-index: -1;
  background: radial-gradient(circle, rgba(3,169,244,0.55), transparent 70%); border-radius: 50%; filter: blur(8px);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,0.88); font-size: clamp(1rem, 1.7vw, 1.15rem); margin-top: 1.1rem; max-width: 62ch; }
.page-hero .eyebrow { color: #a9d8ff; }
.page-hero .eyebrow::before { background: var(--orange); opacity: 1; }
.page-hero .hero-actions { margin-top: 1.8rem; }

.breadcrumbs { font-size: 0.85rem; margin-bottom: 1.2rem; color: rgba(255,255,255,0.7); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.breadcrumbs a { color: rgba(255,255,255,0.9); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.45rem; opacity: 0.55; }
.breadcrumbs [aria-current="page"] { color: rgba(255,255,255,0.7); }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); margin: 2.4rem 0 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.6rem 0 0.5rem; }
.prose p { color: var(--ink-2); margin-bottom: 1rem; }
.prose a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

.checklist { display: grid; gap: 0.7rem; margin: 1.2rem 0 1.6rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-2); }
.checklist li > span { flex: 1; }
.checklist li::before {
  content: "✓"; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(0, 191, 135, 0.14); color: #0a8f66; font-size: 0.78rem; font-weight: 700;
  display: grid; place-items: center;
}
.mini-steps { counter-reset: ms; display: grid; gap: 0.9rem; margin: 1.2rem 0 1.6rem; }
.mini-steps li { counter-increment: ms; display: flex; gap: 0.85rem; align-items: flex-start; color: var(--ink-2); }
.mini-steps li > span { flex: 1; }
.mini-steps li::before {
  content: counter(ms); flex: 0 0 26px; width: 26px; height: 26px; border-radius: var(--r-xs);
  background: var(--grad-brand); color: #fff; font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  display: grid; place-items: center;
}

.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.aside-card + .aside-card { margin-top: 1.2rem; }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 0.7rem; }
.aside-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 1rem; }
.aside-links { display: grid; gap: 0.35rem; }
.aside-links a { display: block; padding: 0.5rem 0.7rem; border-radius: var(--r-sm); font-size: 0.93rem; font-weight: 600; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.aside-links a:hover { background: var(--bg-alt); color: var(--blue-700); }
.aside-links a[aria-current="page"] { background: rgba(24,99,220,0.08); color: var(--blue-700); }
.aside-sticky { position: sticky; top: 92px; }

/* Página 404 */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.error-code { font-family: var(--font-head); font-size: clamp(4rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.brand--footer .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 1rem; font-size: 0.93rem; max-width: 320px; }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.footer-socials a { width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(255,255,255,0.07); color: #fff; transition: background 0.25s; }
.footer-socials a:hover { background: var(--blue-500); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: -0.01em; }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.12); padding: 1.3rem 0; font-size: 0.86rem;
}
.footer-tag { color: rgba(255,255,255,0.55); }

/* ---------- Botones flotantes ---------- */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 0.6rem; justify-items: center; }
.to-top {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--blue-700); font-size: 1.2rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.25s, color 0.25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-700); color: #fff; }
.fab-wa {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
  transition: transform 0.25s var(--ease);
}
.fab-wa:hover { transform: scale(1.07); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 520px; }
  .browser { transform: none; }
  .hero-float--a { left: -10px; }
  .hero-float--b { right: -6px; }
  .page-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .aside-sticky { position: static; }
}

@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .stat:nth-child(3)::before { display: none; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; left: auto; bottom: auto;
    width: min(84vw, 340px); height: 100vh; height: 100dvh; background: #fff;
    flex-direction: column; padding: 5rem 1.4rem 2rem; box-shadow: var(--shadow-lg);
    overflow-y: auto; transform: translateX(105%); transition: transform 0.35s var(--ease); z-index: 200;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .main-nav a { padding: 0.85rem 1rem; border-radius: var(--r-sm); font-size: 1rem; }
  .main-nav a[aria-current="true"]::after { display: none; }
  .main-nav a[aria-current="true"] { background: var(--bg-alt); }
  .main-nav a.nav-cta { text-align: center; margin: 0.6rem 0 0; }
  .nav-close { display: block; position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--ink); }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(7,28,51,0.5); z-index: 150; }
  body.nav-open .site-header { z-index: 300; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards-grid, .steps, .projects-grid, .mv, .about-mini, .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stat { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .project { flex-direction: column; }
  .project-logo { width: 76px; height: 76px; flex-basis: 76px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding-bottom: 6.5rem; }
  .hero-float { display: none; }
  .contact-form { padding: 1.5rem; }
}

/* ---------- Impresión ---------- */
@media print {
  .site-header, .fab-stack, .cta-band, .contact-form, .hero-waves { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Dirección 2026 · Creative Atelier
   Una capa editorial sobria que sustituye la estética SaaS.
   ========================================================= */
.site-header { background: rgba(247,247,244,.94); }
.brand-mark { filter: none; }
.brand-mark img { width:clamp(180px,20vw,250px); height:auto; }
.nav-wrap { min-height:78px; }
.about-wave img { width:min(100%,300px); height:auto; filter:brightness(0) invert(1); }
.brand--footer .brand-mark img { filter:brightness(0) invert(1); opacity:.96; }
.main-nav a { border-radius: 0; font-weight: 500; }
.main-nav a:hover { background: transparent; }
.main-nav a.nav-cta { background: var(--ink); border-radius: 2px; box-shadow: none; }

.hero { min-height: 720px; display: grid; align-items: center; padding: clamp(5rem,10vw,9rem) 0; }
.hero-bg { background: #f7f7f4; }
.hero-bg::before, .hero-bg::after, .hero-grid, .hero-waves { display: none; }
.hero-inner { grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); gap: clamp(3rem,7vw,7rem); }
.hero .eyebrow { color: var(--blue-700); }
.hero .eyebrow { font-size:1rem; font-weight:700; opacity:1; }
.hero .eyebrow::before { background: var(--orange); }
.hero h1 { color: var(--ink); font-size: clamp(3.5rem,7.2vw,6.9rem); line-height: .91; letter-spacing: -.065em; font-weight: 600; max-width: 11ch; }
.hero h1 em { font-family: var(--font-editorial); font-weight: 400; color: var(--orange-600); }
.hero .lead { color: var(--ink-2); max-width: 48ch; font-size: 1.15rem; }
.section-head > div > p, .section-head > p, .stat-label, .project p, .step p { color:#4f5a54; }
.hero .lead strong { color: var(--ink); }
.hero-badges { color: var(--muted); font-weight: 500; }
.hero-badges svg { color: var(--teal); }
.hero .btn-primary { background: var(--ink); box-shadow: none; }
.hero .btn-wa { background: transparent; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; }
.hero .btn:hover { transform: translateY(-1px); box-shadow: none; }

.studio-board { min-height: 520px; background: #173f50; color: #f7f7f4; padding: clamp(2rem,4vw,3.5rem); position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.studio-board::before { content:""; position:absolute; inset:18px; border:1px solid rgba(255,255,255,.22); pointer-events:none; }
.studio-board::after { content:""; position:absolute; width:230px; height:230px; right:-70px; top:80px; border:1px solid rgba(255,255,255,.28); border-radius:50%; }
.studio-board__folio { font-family:var(--font-body); font-size:.9rem; letter-spacing:.08em; position:relative; z-index:1; }
.studio-board__words { display:grid; position:relative; z-index:1; }
.studio-board__words span { font-family:var(--font-head); font-size:clamp(2.5rem,4.8vw,4.9rem); line-height:.92; letter-spacing:-.06em; }
.studio-board__words span:nth-child(2) { font-family:var(--font-editorial); font-style:italic; color:#d8b38e; margin-left:12%; }
.studio-board__note { max-width:31ch; font-size:1.1rem; line-height:1.5; color:rgba(255,255,255,.82); position:relative; z-index:1; }
.studio-board__seal { position:absolute; right:2.5rem; bottom:2.5rem; width:78px; height:78px; border:1px solid rgba(255,255,255,.5); border-radius:50%; display:grid; place-content:center; text-align:center; font-family:var(--font-head); font-size:.75rem; letter-spacing:.08em; line-height:1.1; }
.studio-board__seal small { font-size:.55rem; opacity:.65; }

.stats { margin-top:0; }
.stats-grid { border-width:1px 0; border-radius:0; box-shadow:none; background:transparent; }
.stat { text-align:left; }
.stat-num { color:var(--ink); font-weight:600; }
.stat-suffix { color:var(--orange-600); }
.section { padding-block:clamp(5rem,9vw,9rem); }
.section-alt { background:#eff2ef; }
.section-head h2 { font-size:clamp(2.5rem,5vw,5rem); line-height:.98; letter-spacing:-.055em; font-weight:600; max-width:13ch; }
.section-head p { max-width:56ch; }
.eyebrow { color:var(--orange-600); }
.card, .project, .step, .faq-item, .contact-form, .about-card { border-radius:0; box-shadow:none; }
.card:hover, .project:hover { transform:none; box-shadow:none; border-color:var(--ink); }
.service-icon { border-radius:0; background:transparent; color:var(--blue-700); }
.service-icon { display:none; }
.service-head { min-height:0; margin-bottom:1.5rem; justify-content:flex-end; }
.service-num {
  font-family:var(--font-editorial);
  font-style:italic;
  font-size:2rem;
  line-height:1;
  color:var(--orange-600);
}
.service h3 { font-size:clamp(1.5rem,2.2vw,2rem); }
.hero-badges svg { display:none; }
.hero-badges { gap:0; border-top:1px solid var(--line); padding-top:1.1rem; }
.hero-badges li { padding-right:1.25rem; margin-right:1.25rem; border-right:1px solid var(--line); }
.hero-badges li:last-child { border-right:0; margin-right:0; padding-right:0; }
.about-mini { gap:0; border-top:1px solid rgba(255,255,255,.22); }
.about-mini > div { border-radius:0; background:transparent; padding:1.2rem .8rem 0 0; }
.ci-icon { width:52px; height:52px; flex-basis:52px; border-radius:0; }
.ci-icon svg { width:24px; height:24px; }
.project { background:transparent; border-width:1px 0 0; }
.projects-grid { gap:0 2.5rem; }
.project-logo { border-radius:0; background:#fff; }
.about-card { background:var(--ink); }
.cta-band { background:var(--blue-700); }
.cta-band::after { display:none; }
.btn { border-radius:2px; box-shadow:none; }
.btn-primary { background:var(--ink); box-shadow:none; }
.site-footer { background:#121918; }
.tag, .service-num, .ci-label, .stat-label, .step p, .footer-bottom, .footer-tag,
.project-link, .arrow-link, .field label, .form-legal {
  font-size: max(.95rem, 15px);
}
.service p, .project p, .step p, .faq-answer, .footer-brand p, .footer-col a {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width:1040px) {
  .hero { min-height:auto; }
  .hero-inner { grid-template-columns:1fr; }
  .hero-content { max-width:850px; }
  .hero h1 { max-width:12ch; }
  .hero-visual { max-width:680px; }
}
@media (max-width:620px) {
  body { font-size:17px; }
  .hero { padding:4rem 0; }
  .hero h1 { font-size:clamp(3.15rem,15vw,4.7rem); }
  .studio-board { min-height:420px; }
  .studio-board__seal { right:1.8rem; bottom:1.8rem; }
  .stats-grid { padding-inline:0; }
}

/* Dirección seleccionada · C / Lujo tecnológico */
.hero {
  min-height:780px;
  color:#fff;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 30%,rgba(43,119,190,.18),transparent 32%),
    linear-gradient(135deg,#040a12 0%,#071525 52%,#0a2135 100%);
}
.hero::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  opacity:.28;
  background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(90deg,transparent 0%,#000 55%,#000 100%);
}
.hero > .hero-bg,
.hero > .hero-grid { display:none; }
.hero-inner { grid-template-columns:minmax(0,.88fr) minmax(480px,1.12fr); gap:clamp(3rem,6vw,7rem); align-items:center; }
.hero-content { max-width:680px; position:relative; z-index:2; }
.hero-visual { display:block; position:relative; z-index:1; }
.hero h1 { color:#fff; max-width:9.7ch; font-size:clamp(4rem,6.6vw,6.8rem); }
.hero h1 em { color:#78b8f5; font-family:var(--font-editorial); font-style:italic; font-weight:400; }
.hero .eyebrow { color:#75b8ff; }
.hero .eyebrow::before { background:#75b8ff; }
.hero .lead { color:rgba(255,255,255,.86); }
.hero .lead strong { color:#fff; }
.hero-badges { color:rgba(255,255,255,.72); border-top-color:rgba(255,255,255,.25); }
.hero-badges li { border-right-color:rgba(255,255,255,.25); }
.hero .btn-primary { background:#1f6feb; color:#fff; }
.hero .btn-wa { color:#fff; border-color:rgba(255,255,255,.62); background:rgba(5,18,36,.24); }
.luxury-frame { position:relative; margin:0; padding:14px; background:linear-gradient(135deg,rgba(255,255,255,.24),rgba(255,255,255,.035)); border:1px solid rgba(175,213,246,.42); box-shadow:0 44px 100px rgba(0,0,0,.46),inset 0 1px rgba(255,255,255,.22); }
.luxury-frame::before { content:""; position:absolute; width:52%; height:35%; top:-10%; right:-9%; background:#2088ee; filter:blur(90px); opacity:.24; pointer-events:none; }
.luxury-frame img { display:block; width:100%; height:clamp(480px,61vh,660px); object-fit:cover; object-position:center; filter:saturate(.82) contrast(1.08); }
.luxury-frame figcaption { position:absolute; left:14px; right:14px; bottom:14px; padding:1.1rem 1.25rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; color:#dceafa; background:linear-gradient(90deg,rgba(3,10,20,.9),rgba(3,10,20,.46)); backdrop-filter:blur(16px); border-top:1px solid rgba(255,255,255,.2); font-size:.9rem; letter-spacing:.04em; }
.luxury-frame figcaption strong { color:#fff; font-weight:500; }
.site-header { background:rgba(4,10,18,.9); border-bottom-color:rgba(255,255,255,.12); backdrop-filter:blur(18px); }
.site-header .brand {
  position:relative;
  padding:.25rem 0;
}
.site-header .brand-mark {
  position:relative;
  filter:none;
}
.site-header .brand-mark::after {
  content:"";
  position:absolute;
  left:30%;
  right:3%;
  bottom:-7px;
  height:1px;
  background:linear-gradient(90deg,rgba(74,156,235,.78),transparent);
  transform:scaleX(.22);
  transform-origin:left;
  opacity:0;
  transition:transform .5s var(--ease),opacity .35s;
}
.site-header .brand-mark img {
  width:clamp(174px,16vw,214px);
  height:auto;
  filter:brightness(0) invert(1);
  opacity:.94;
  transition:opacity .3s,transform .5s var(--ease),filter .3s;
}
.site-header .brand:hover .brand-mark img {
  opacity:1;
  transform:translateY(-2px);
  filter:brightness(0) invert(1) drop-shadow(0 8px 18px rgba(57,143,225,.22));
}
.site-header .brand:hover .brand-mark::after {
  transform:scaleX(1);
  opacity:1;
}
.brand--footer .brand-mark img {
  width:min(220px,100%);
  filter:brightness(0) invert(1);
  opacity:.9;
}
.site-header .main-nav a { color:rgba(255,255,255,.8); }
.site-header .main-nav a:hover { color:#fff; }
.site-header .main-nav a.nav-cta { color:#fff; background:#1f6feb; }
.nav-toggle span { background:#fff; }
.stats { background:#06111e; color:#fff; }
.stats-grid { border-color:rgba(255,255,255,.16); }
.stats .stat-num { color:#fff; }
.stats .stat-label { color:rgba(255,255,255,.65); }
.stats .stat + .stat::before { background:rgba(255,255,255,.15); }
.cards-grid .service { padding:2.2rem 2rem 2rem; background:#fff; border-color:#d5dde5; }
.cards-grid .service:nth-child(even) { background:#f3f7fa; }
.cards-grid .service-num { color:#1f6feb; font-family:var(--font-body); font-style:normal; font-weight:600; }
.cards-grid .service h3 { letter-spacing:-.035em; }
@media (max-width:760px) {
  .site-header .brand-mark img { width:172px; }
  .hero { min-height:auto; padding-top:3.5rem; }
  .hero::before { mask-image:none; opacity:.16; }
  .hero-inner { grid-template-columns:1fr; }
  .hero h1 { font-size:clamp(3.3rem,14vw,5rem); max-width:10ch; }
  .hero-visual { margin-top:1rem; }
  .luxury-frame img { height:440px; }
  .luxury-frame figcaption { align-items:flex-start; flex-direction:column; }
}
