/* =========================================================
   ICARIS STUDIO — Design system
   Colores y tipografía heredados de la marca:
   negro #000 · rojo #BA1C1C · grises #9CA3AF / #6B7280 / #D1D5DB
   Tipografía: Neue Haas Display / SF Pro (sistema Apple),
   con Inter como respaldo autoalojado para Windows/Android.
   ========================================================= */

@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-semibold.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --bg: #000;
  --bg-elev: #070708;
  --bg-elev-2: #0d0d0f;
  --surface: rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);

  --text: #f5f5f7;
  --text-soft: #d1d5db;
  --text-2: #9ca3af;
  --text-3: #6b7280;

  --red: #ba1c1c;
  --red-hi: #d12a2a;
  --red-soft: rgba(186, 28, 28, .12);
  --red-glow: rgba(186, 28, 28, .38);

  --font: "Neue Haas Display", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Neue Haas Display", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: clamp(28px, 4vw, 40px);
  --header-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.55; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #fff; color: #000; font-size: 14px; transform: translateY(-200%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft), 0 0 14px var(--red-glow); }
.eyebrow.pill { padding: 8px 14px 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); backdrop-filter: blur(10px); letter-spacing: .08em; text-transform: none; font-size: 13.5px; color: var(--text-soft); }
.eyebrow.pill::before { animation: pulse 2.4s ease-in-out infinite; }

.display { font-family: var(--font-display); font-weight: 600; margin: 0; }
.h1 { font-size: clamp(46px, 7.4vw, 104px); letter-spacing: -.048em; line-height: .98; }
.h2 { font-size: clamp(38px, 5.6vw, 80px); letter-spacing: -.042em; line-height: 1; }
.h3 { font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.028em; line-height: 1.12; margin: 0; }
.h4 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--text-2); letter-spacing: -.014em; max-width: 640px; }
.lead strong { color: var(--text); font-weight: 500; }
.grad { background: linear-gradient(90deg, #ffffff 0%, #c9ccd3 45%, #6b7280 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.red-dot { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; letter-spacing: -.012em; white-space: nowrap; cursor: pointer;
  transition: transform .5s var(--ease), background-color .3s, color .3s, box-shadow .4s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #e8e8ed; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -12px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.14); }
.btn-red:hover { background: var(--red-hi); box-shadow: 0 14px 44px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.26); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--text); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link-arrow:hover svg, .card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
}
.site-header.is-scrolled, .menu-open .site-header {
  background: rgba(0, 0, 0, .72); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.brand img { width: 28px; height: 28px; transition: transform 1s var(--ease); }
.brand:hover img { transform: rotate(-90deg); }
.brand span { font-size: 15px; font-weight: 600; letter-spacing: .2em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 14px; font-size: 14px; color: var(--text-2); border-radius: 999px; transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }

.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; }
.menu-toggle span { position: relative; width: 18px; height: 1.5px; background: currentColor; transition: background-color .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.menu-toggle span::before { transform: translateY(-5px); }
.menu-toggle span::after { transform: translateY(5px); }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: rotate(45deg); }
.menu-open .menu-toggle span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 28px) var(--gutter) 40px; background: rgba(0, 0, 0, .96);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  font-family: var(--font-display); font-size: clamp(34px, 9vw, 48px); font-weight: 600; letter-spacing: -.035em;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i) * 45ms);
}
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu .btn { width: 100%; }

@media (max-width: 900px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(96px, 13vw, 176px); }
.section.tight { padding-block: clamp(72px, 9vw, 120px); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 88px); max-width: 860px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.row { max-width: none; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 32px 64px; }
.section-head.row .lead { justify-self: end; }
@media (max-width: 900px) { .section-head.row { grid-template-columns: 1fr; } .section-head.row .lead { justify-self: start; } }

/* ---------- Background ornaments ---------- */
.bg-ornament { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-ornament .glow {
  position: absolute; top: -38%; right: -22%; width: 95vw; height: 95vw; max-width: 1250px; max-height: 1250px;
  background: radial-gradient(closest-side, rgba(186, 28, 28, .30), rgba(186, 28, 28, .09) 45%, transparent 72%);
  animation: drift 20s ease-in-out infinite alternate;
}
.bg-ornament .glow.left { right: auto; left: -30%; top: -20%; opacity: .7; }
.bg-ornament .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 28%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 28%, #000 10%, transparent 72%);
}
.bg-ornament .mark { position: absolute; right: -12vw; top: 6%; width: min(56vw, 760px); opacity: .04; animation: spin 160s linear infinite; }
@media (max-width: 720px) { .bg-ornament .mark { top: auto; bottom: 4%; right: -30vw; width: 90vw; } }
.noise::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 72px); padding-bottom: 56px; overflow: hidden; }
.hero-content { display: grid; gap: 30px; justify-items: start; }
.hero .h1 { max-width: 12.5em; }
.hero .h1 .br { display: block; }
@media (max-width: 720px) { .hero .h1 .br { display: inline; } }
.hero .lead { max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line); }
.stat { padding: 28px 0 0 28px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-num { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num .plus { color: var(--red); margin-right: .04em; }
.stat-label { margin-top: 12px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 32px; }
}

/* ---------- Clients marquee ---------- */
.clients { padding-block: clamp(56px, 7vw, 88px); border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.012), transparent); }
.clients-title { text-align: center; font-size: 14px; color: var(--text-3); margin-bottom: 40px; letter-spacing: .01em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { --gap: clamp(48px, 6.5vw, 96px); display: flex; align-items: center; gap: var(--gap); padding-right: var(--gap); width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: var(--h, 28px); width: auto; opacity: .5; transition: opacity .35s; }
.marquee img:hover { opacity: 1; }

/* ---------- Cards ---------- */
.card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: border-color .4s, transform .7s var(--ease), background-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(186, 28, 28, .16), transparent 45%);
}
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.card:hover { border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.icon-badge { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid var(--line-strong); color: var(--text); }
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.sm { width: 42px; height: 42px; border-radius: 12px; }
.icon-badge.sm svg { width: 20px; height: 20px; }
.icon-badge.red { color: #fff; background: linear-gradient(180deg, #d12a2a, #8f1414); border-color: rgba(255,255,255,.12); box-shadow: 0 10px 30px -12px var(--red-glow); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 44px); min-height: 500px; }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-index { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.service-card .h3 { margin-top: clamp(48px, 6vw, 72px); }
.service-card .desc { color: var(--text-2); margin: 12px 0 28px; font-size: 16px; max-width: 440px; }
.ticks { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: var(--text-soft); }
.ticks li::before { content: "✦"; font-size: 10px; color: var(--red); transform: translateY(-1px); }
.service-card .link-arrow { margin-top: auto; }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } .service-card { min-height: 0; } }

/* 360 */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.split-copy { display: grid; gap: 24px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

.orbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center; }
.orbit svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .rings circle { fill: none; stroke: var(--line-strong); }
.orbit .rings .dash { stroke: rgba(255,255,255,.18); stroke-dasharray: 2 8; transform-origin: center; animation: spin 60s linear infinite; }
.orbit-spinner { position: absolute; inset: 14%; border-radius: 50%; animation: spin 16s linear infinite; }
.orbit-spinner::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px var(--red-soft), 0 0 22px 4px var(--red-glow); }
.orbit-core { position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #1a1a1d, #050505 70%); border: 1px solid var(--line-strong); box-shadow: 0 0 80px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.08); }
.orbit-core img { width: 44%; height: auto; }
.orbit-node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; background: rgba(12,12,14,.85); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); }
.orbit-node svg { width: 16px; height: 16px; color: var(--red-hi); }
.orbit-node:nth-of-type(1) { top: 14%; left: 50%; }
.orbit-node:nth-of-type(2) { top: 50%; left: 86%; }
.orbit-node:nth-of-type(3) { top: 86%; left: 50%; }
.orbit-node:nth-of-type(4) { top: 50%; left: 14%; }
@media (max-width: 520px) { .orbit-node { font-size: 12.5px; padding: 7px 12px 7px 9px; } .orbit-node:nth-of-type(2) { left: 80%; } .orbit-node:nth-of-type(4) { left: 20%; } }

.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.col-item { padding: 32px 28px 0; border-left: 1px solid var(--line); }
.col-item:first-child { padding-left: 0; border-left: 0; }
.col-item .n { font-size: 13px; color: var(--red-hi); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.col-item .h4 { margin: 18px 0 10px; }
.col-item p { color: var(--text-2); font-size: 15.5px; }
.pillars { margin-top: clamp(72px, 9vw, 112px); }
@media (max-width: 900px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .col-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .col-item:nth-child(even) { padding-right: 0; }
}
@media (max-width: 540px) {
  .cols-4 { grid-template-columns: 1fr; row-gap: 0; border-top: 0; }
  .col-item { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 32px 30px 34px; display: flex; flex-direction: column; min-height: 340px; }
.step-head { display: flex; align-items: center; justify-content: space-between; }
.step-n { font-family: var(--font-display); font-size: 72px; font-weight: 500; letter-spacing: -.06em; line-height: .9; background: linear-gradient(180deg, #fff 10%, rgba(255,255,255,.12)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step .h4 { margin: 56px 0 10px; font-size: 22px; }
.step p { color: var(--text-2); font-size: 15.5px; }
.step-bar { position: relative; height: 2px; margin-bottom: 40px; border-radius: 2px; background: var(--line); overflow: hidden; }
.step-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), #ff6b6b); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); transition-delay: calc(var(--d, 0s) + .3s); }
.is-in .step-bar::after, .is-in.step .step-bar::after { transform: scaleX(1); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* FitApp */
.fitapp {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(186, 28, 28, .26), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(186, 28, 28, .08), transparent 70%),
    linear-gradient(180deg, #0c0c0d, #040404);
  padding: clamp(32px, 6vw, 88px);
}
.fitapp-head { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 6vw, 96px); align-items: center; }
.fitapp-copy { display: grid; gap: 24px; justify-items: start; }
.fitapp-copy .h2 { font-size: clamp(56px, 8vw, 112px); }
.fitapp-note { font-size: 13px; color: var(--text-3); max-width: 460px; }
@media (max-width: 960px) { .fitapp-head { grid-template-columns: 1fr; } .phone-wrap { justify-self: center; } }

.phone-wrap { perspective: 1400px; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19.3; border-radius: 50px; padding: 54px 16px 16px;
  background: #0b0b0d; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 7px #161618, 0 0 0 8px rgba(255,255,255,.1), 0 70px 120px -30px rgba(186,28,28,.5), 0 40px 80px -20px rgba(0,0,0,.9);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transition: transform 1.2s var(--ease);
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.phone:hover { transform: none; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.08), transparent 35%); }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.app-brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.app-brand i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #e23a3a, #8f1414); display: grid; place-items: center; font-style: normal; font-size: 11px; }
.app-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #3a3a3f, #1b1b1e); border: 1px solid var(--line-strong); }
.app-hello { padding: 6px 4px 2px; }
.app-hello small { display: block; font-size: 11px; color: var(--text-3); }
.app-hello b { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.app-card { border-radius: 18px; padding: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.app-card.red { background: linear-gradient(140deg, #c42323, #7d1010); border-color: rgba(255,255,255,.12); }
.app-card small { display: block; font-size: 10.5px; color: rgba(255,255,255,.7); letter-spacing: .04em; text-transform: uppercase; }
.app-card b { display: block; font-size: 16px; font-weight: 600; margin-top: 4px; letter-spacing: -.02em; }
.app-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 11px; color: rgba(255,255,255,.75); }
.app-tag { padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-weight: 500; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-ring { display: grid; place-items: center; gap: 6px; text-align: center; }
.app-ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.app-ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.app-ring span { font-size: 10.5px; color: var(--text-2); }
.app-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding-top: 4px; }
.app-bars i { flex: 1; border-radius: 4px; background: rgba(255,255,255,.14); height: var(--v); }
.app-bars i.on { background: linear-gradient(180deg, #ff5a5a, var(--red)); }
.app-days { display: flex; gap: 6px; margin-top: 6px; font-size: 9px; color: var(--text-3); }
.app-days span { flex: 1; text-align: center; }
.app-list { display: grid; gap: 8px; }
.app-item { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.app-item i { width: 30px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; }
.app-item i svg { width: 15px; height: 15px; color: var(--red-hi); }
.app-item div { flex: 1; }
.app-item small { display: block; color: var(--text-3); font-size: 10.5px; text-transform: none; letter-spacing: 0; margin-top: 1px; }
.app-tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 6px 4px; border-top: 1px solid rgba(255,255,255,.07); }
.app-tabbar svg { width: 18px; height: 18px; color: var(--text-3); }
.app-tabbar svg.on { color: #fff; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(56px, 7vw, 88px); border-radius: var(--radius); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.feature { padding: 28px 26px 30px; background: #070708; transition: background-color .35s; }
.feature:hover { background: #0e0e10; }
.feature svg { width: 22px; height: 22px; color: var(--red-hi); margin-bottom: 22px; }
.feature h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 8px; }
.feature p { font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } .phone { width: 270px; } }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
.contact-copy { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 40px); }
.contact-copy .h2 { font-size: clamp(56px, 8vw, 112px); }
.channels { margin-top: 24px; border-top: 1px solid var(--line); }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.channel:hover { padding-inline: 10px; }
.channel .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.channel .v { font-size: 17px; margin-top: 2px; }
.channel svg { width: 18px; height: 18px; color: var(--text-3); transition: color .3s, transform .5s var(--ease); }
.channel:hover svg { color: var(--text); transform: translate(2px, -2px); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact-copy { position: static; } }

.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: clamp(24px, 3.6vw, 44px); }
.field { display: grid; gap: 8px; }
.field.full, .form-foot, .form-status { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13.5px; color: var(--text-2); padding: 0; }
.field label .req { color: var(--red-hi); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 13px; font-size: 16px; outline: none;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #4b5563; }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus { border-color: rgba(209, 42, 42, .75); background: rgba(255,255,255,.055); box-shadow: 0 0 0 4px rgba(186, 28, 28, .16); }
.field textarea { min-height: 150px; resize: vertical; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--text-2); transition: background-color .25s, color .25s, border-color .25s; pointer-events: none; }
.chip:hover span { border-color: rgba(255,255,255,.28); color: var(--text); }
.chip input:checked + span { background: #fff; border-color: #fff; color: #000; }
.chip input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { font-size: 13px; color: var(--text-3); }
.form-status { font-size: 14.5px; color: var(--text-2); min-height: 0; }
.form-status:empty { display: none; }
.form-status.ok { color: #86efac; }
.form-status.err { color: #fca5a5; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ---------- Page hero (internas) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--header-h) + clamp(88px, 13vw, 168px)); padding-bottom: clamp(72px, 9vw, 120px); }
.page-hero .hero-content { gap: 28px; }
.page-hero .h1 { font-size: clamp(44px, 7vw, 96px); max-width: 15ch; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 14px; height: 14px; }

.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.solution { display: flex; align-items: center; gap: 18px; padding: 26px 26px; min-height: 108px; border-radius: var(--radius); }
.solution h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -.018em; margin: 0; line-height: 1.3; }
@media (max-width: 960px) { .solutions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .solutions { grid-template-columns: 1fr; } }

.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack span { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 15.5px; color: var(--text-soft); transition: border-color .3s, color .3s, background-color .3s; }
.stack span:hover { border-color: rgba(255,255,255,.3); color: #fff; background: var(--surface-2); }
.stack-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 80px; align-items: start; }
@media (max-width: 900px) { .stack-wrap { grid-template-columns: 1fr; } }

.cta-band {
  position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 24px; text-align: center;
  padding: clamp(56px, 9vw, 120px) clamp(24px, 6vw, 80px); border-radius: var(--radius-xl); border: 1px solid var(--line);
  background: radial-gradient(70% 110% at 50% 0%, rgba(186, 28, 28, .26), transparent 62%), #060607;
}
.cta-band .h2 { max-width: 16ch; }
.cta-band .lead { max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.more-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more-services a { display: flex; flex-direction: column; gap: 40px; padding: 28px; border-radius: var(--radius); }
.more-services .row { display: flex; justify-content: space-between; align-items: center; }
.more-services .row svg { width: 18px; height: 18px; color: var(--text-3); transition: transform .5s var(--ease), color .3s; }
.more-services a:hover .row svg { transform: translate(3px, -3px); color: #fff; }
.more-services h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 0; }
@media (max-width: 860px) { .more-services { grid-template-columns: 1fr; } }

/* About */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px 96px; }
.story-title { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: grid; gap: 22px; }
.story-body { display: grid; gap: 28px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--text-2); letter-spacing: -.014em; }
.story-body p:first-child { color: var(--text); font-size: clamp(22px, 2vw, 27px); line-height: 1.45; letter-spacing: -.022em; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story-title { position: static; } }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo .card { padding: clamp(32px, 4vw, 56px); display: grid; gap: 20px; align-content: start; min-height: 340px; }
.duo .card p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text-soft); letter-spacing: -.014em; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } .duo .card { min-height: 0; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.notfound .code { font-family: var(--font-display); font-size: clamp(120px, 26vw, 300px); font-weight: 600; letter-spacing: -.07em; line-height: .85; background: linear-gradient(180deg, #fff, rgba(255,255,255,.05)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 48px 40px; }
.footer-brand p { color: var(--text-2); font-size: 15px; max-width: 300px; margin: 22px 0 26px; }
.footer-col h2 { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 6px 0 18px; }
.footer-col a { display: block; width: fit-content; padding: 5px 0; font-size: 15px; color: var(--text-2); transition: color .25s; }
.footer-col a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text-2); transition: color .3s, border-color .3s, background-color .3s, transform .5s var(--ease); }
.socials a:hover { color: #fff; border-color: rgba(255,255,255,.3); background: var(--surface-2); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-mark { margin-top: clamp(56px, 8vw, 96px); font-family: var(--font-display); font-weight: 600; font-size: clamp(80px, 23vw, 330px); letter-spacing: -.065em; line-height: .76; text-align: center; white-space: nowrap; user-select: none; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 82%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: -.06em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); position: relative; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(20,20,22,.8); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 40px -12px rgba(0,0,0,.9); transition: transform .5s var(--ease), background-color .3s, opacity .4s; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--red); }
.wa-float svg { width: 24px; height: 24px; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 6%, 0) scale(1.08); } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--red-soft), 0 0 12px var(--red-glow); } 50% { box-shadow: 0 0 0 7px rgba(186,28,28,.05), 0 0 18px var(--red-glow); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .phone { transform: none; }
}
