/* ============================================================
   decivus.ai — sistema visual
   Dark futurista / azul. Display: Space Grotesk · Texto: Manrope
   ============================================================ */

:root {
  --bg:        #06070b;
  --bg-2:      #0a0c12;
  --surface:   #0f121b;
  --surface-2: #141826;
  --line:      rgba(255,255,255,0.08);
  --line-soft: rgba(255,255,255,0.05);

  --text:      #eaecf2;
  --text-2:    #aab1c1;
  --text-3:    #707888;

  --accent:    #3b82f6;
  --accent-2:  #60a5fa;
  --accent-3:  #1d4ed8;
  --glow:      rgba(59,130,246,0.55);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---- typography helpers ---- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.section-head p { color: var(--text-2); font-size: clamp(16px,1.6vw,19px); margin-top: 18px; max-width: 620px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 500; font-size: 15px; letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
  white-space: nowrap;
}
.btn .arrow {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  transition: transform .4s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--glow);
}
.btn-primary .arrow { background: rgba(255,255,255,0.18); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 44px -10px var(--glow); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* ============================================================
   Header / Nav
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(6,7,11,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.header.scrolled .nav { height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.logo .mark {
  position: relative; width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(145deg, var(--accent-2), var(--accent-3));
  display: grid; place-items: center;
  box-shadow: 0 0 22px -4px var(--glow);
}
.logo .mark::before {
  content: ""; position: absolute; inset: 0; border-radius: 8px;
  background: linear-gradient(145deg, transparent 40%, rgba(255,255,255,0.4));
  mix-blend-mode: overlay;
}
.logo .mark span {
  font-size: 16px; font-weight: 700; color: #fff; line-height: 1; transform: translateY(-0.5px);
}
.logo b { font-weight: 700; }
.logo .dim { color: var(--accent-2); }

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 15px; color: var(--text-2); position: relative; transition: color .25s; font-weight: 500;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 12px 22px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 84px 0 auto 0; z-index: 99;
  background: rgba(8,9,14,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 24px var(--pad) 36px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 0; font-family: var(--font-display); font-size: 19px; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 22px; justify-content: center; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 60px;
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-glow {
  position: absolute; z-index: 1; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  top: -10%; right: -15%;
  background: radial-gradient(circle, rgba(59,130,246,0.22), transparent 62%);
  filter: blur(20px);
}
.hero-grid-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,7,11,0.2) 0%, rgba(6,7,11,0) 30%, rgba(6,7,11,0.85) 92%, var(--bg) 100%);
}
/* giant background wordmark */
.hero-watermark {
  position: absolute; z-index: 1; pointer-events: none; user-select: none;
  right: clamp(-40px, -2vw, 0px); bottom: 4%;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(120px, 26vw, 420px); line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(96,165,250,0.14);
  opacity: 0.9;
}

.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-content { max-width: 880px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 6.6vw, 84px);
  line-height: 1.0; letter-spacing: -0.03em;
  margin-top: 26px;
}
.hero h1 .grad {
  background: linear-gradient(110deg, var(--accent-2), #a5c8ff 50%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead {
  color: var(--text-2); font-size: clamp(17px, 2vw, 21px);
  max-width: 600px; margin-top: 28px; line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* reveal animation primitives */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- stats strip ---- */
.stats {
  position: relative; z-index: 3;
  margin-top: clamp(48px, 7vw, 90px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.stat { padding: 30px clamp(18px,2.4vw,34px); border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px,4.6vw,54px); letter-spacing: -0.02em; line-height: 1; }
.stat .num .plus { color: var(--accent-2); }
.stat .label { color: var(--text-3); font-size: 14px; margin-top: 12px; letter-spacing: 0.01em; }

/* ============================================================
   Logos / trust marquee
   ============================================================ */
.marquee-band { border-block: 1px solid var(--line-soft); padding-block: 30px; background: var(--bg-2); }
.marquee-label { text-align: center; color: var(--text-3); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 24px; font-family: var(--font-display); }
.marquee { display: flex; 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 { display: flex; gap: 56px; padding-right: 56px; flex-shrink: 0; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--text-3); white-space: nowrap; transition: color .3s; }
.marquee-track span:hover { color: var(--text); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   Services
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  position: relative; padding: 32px 28px 30px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface), rgba(15,18,27,0.5));
  overflow: hidden; transition: transform .45s var(--ease), border-color .4s, background .4s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r);
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(59,130,246,0.16), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.svc:hover { transform: translateY(-6px); border-color: rgba(96,165,250,0.4); }
.svc:hover::before { opacity: 1; }
.svc .ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(59,130,246,0.12); border: 1px solid rgba(96,165,250,0.25);
  color: var(--accent-2); margin-bottom: 22px; position: relative; z-index: 2;
}
.svc .ico svg { width: 24px; height: 24px; }
.svc .idx { position: absolute; top: 24px; right: 26px; font-family: var(--font-display); font-size: 13px; color: var(--text-3); z-index: 2; }
.svc h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; position: relative; z-index: 2; }
.svc p { color: var(--text-2); font-size: 15px; margin-top: 12px; position: relative; z-index: 2; line-height: 1.55; }

/* ============================================================
   Differentials
   ============================================================ */
.diff-band { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.diff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.diff {
  padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); transition: transform .4s var(--ease), border-color .4s;
}
.diff:hover { transform: translateY(-5px); border-color: rgba(96,165,250,0.35); }
.diff .dot { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 22px -6px var(--glow); margin-bottom: 20px; }
.diff .dot svg { width: 19px; height: 19px; }
.diff h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.diff p { color: var(--text-2); font-size: 14.5px; margin-top: 10px; line-height: 1.55; }

/* ============================================================
   LocalDC infra
   ============================================================ */
.infra { position: relative; overflow: hidden; }
.infra-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-xl);
  background:
    radial-gradient(700px circle at 80% -10%, rgba(59,130,246,0.16), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(36px, 5vw, 72px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px,5vw,64px); align-items: center;
  overflow: hidden;
}
.infra-card > * { min-width: 0; }
.contact-grid > * { min-width: 0; }
.rack-viz, .form-card { max-width: 100%; }
.infra-card .eyebrow { color: var(--accent-2); }
.infra-card h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px,3.6vw,46px); line-height: 1.06; letter-spacing: -0.02em; margin-top: 18px; overflow-wrap: break-word; }
.infra-card p { color: var(--text-2); margin-top: 20px; font-size: 17px; max-width: 520px; overflow-wrap: break-word; }
.infra-points { display: grid; gap: 14px; margin-top: 30px; }
.infra-points li { list-style: none; display: flex; gap: 13px; align-items: flex-start; color: var(--text); font-size: 15.5px; }
.infra-points .chk { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(59,130,246,0.15); border: 1px solid rgba(96,165,250,0.4); display: grid; place-items: center; color: var(--accent-2); margin-top: 1px; }
.infra-points .chk svg { width: 12px; height: 12px; }
.infra-card .btn { margin-top: 34px; }

/* partner tab + logo in console header */
.infra-visual { position: relative; padding-top: 16px; }
.infra-tab {
  position: absolute; top: 0; left: 26px; z-index: 6;
  font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2);
  background: linear-gradient(180deg, #11151f, #0c1018);
  border: 1px solid var(--line); border-bottom: none;
  padding: 7px 16px; border-radius: 10px 10px 0 0;
}
.dc-brand { display: inline-flex; align-items: center; }
.dc-logo { height: 26px; width: auto; opacity: 0.95; transition: opacity .3s var(--ease); }
.dc-brand:hover .dc-logo { opacity: 1; }

/* visual: LocalDC live monitoring console */
.rack-viz {
  position: relative; border-radius: var(--r-lg); border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(59,130,246,0.14), transparent 55%),
    linear-gradient(170deg, #0c1018, #070a10);
  overflow: hidden; padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 30px 60px -30px rgba(0,0,0,0.8);
  font-family: var(--font-display);
}
/* faint grid + scanline */
.rack-viz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(96,165,250,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(circle at 50% 30%, #000, transparent 80%);
}
.rack-viz::after {
  content: ""; position: absolute; left: 0; right: 0; height: 90px; pointer-events: none; z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(96,165,250,0.10), transparent);
  animation: dc-scan 5s linear infinite;
}
@keyframes dc-scan { 0%{ top: -90px; } 100%{ top: 105%; } }

.dc-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dc-id { display: flex; align-items: center; gap: 10px; }
.dc-id .beacon { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px rgba(52,211,153,.8); }
.dc-id .beacon::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:1px solid rgba(52,211,153,.6); animation: dc-ping 2s ease-out infinite; }
@keyframes dc-ping { 0%{ transform: scale(.6); opacity:1; } 100%{ transform: scale(2.2); opacity:0; } }
.dc-id .t { line-height: 1.1; }
.dc-id .t b { font-size: 14px; color: var(--text); font-weight: 600; letter-spacing: .01em; }
.dc-id .t span { display: block; font-size: 11px; color: var(--text-3); letter-spacing: .08em; }
.dc-pill { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6ee7b7; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.35); padding: 5px 11px; border-radius: 100px; font-weight: 600; }

.dc-units { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 9px; }
.dc-unit {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 11px;
  height: 38px; padding: 0 12px; border-radius: 9px;
  background: linear-gradient(90deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid var(--line-soft);
}
.dc-unit .led { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 9px var(--glow); animation: blink 2.4s infinite; flex-shrink: 0; }
.dc-unit .led.g { background: #34d399; box-shadow: 0 0 9px rgba(52,211,153,.7); }
.dc-unit .led.a { background: #fbbf24; box-shadow: 0 0 9px rgba(251,191,36,.7); }
.dc-unit:nth-child(2) .led { animation-delay: .4s; }
.dc-unit:nth-child(3) .led { animation-delay: .8s; }
.dc-unit:nth-child(4) .led { animation-delay: 1.2s; }
.dc-unit:nth-child(5) .led { animation-delay: 1.6s; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.dc-unit .name { font-size: 12px; color: var(--text-2); letter-spacing: .04em; width: 56px; }
.dc-load { position: relative; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.07); overflow: hidden; }
.dc-load .fill { position: absolute; inset: 0 auto 0 0; width: 50%; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-3), var(--accent-2)); box-shadow: 0 0 10px -2px var(--glow);
  transition: width 1.1s var(--ease); }
.dc-load .fill::after { content:""; position:absolute; right:0; top:0; bottom:0; width:14px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5)); }
.dc-unit .pct { font-size: 11.5px; color: var(--text); width: 34px; text-align: right; font-variant-numeric: tabular-nums; }

.dc-metrics { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 2px; }
.dc-metric { padding: 12px 13px; border-radius: 11px; background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft); }
.dc-metric .k { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.dc-metric .v { font-size: 19px; font-weight: 600; color: var(--text); margin-top: 5px; font-variant-numeric: tabular-nums; line-height: 1; }
.dc-metric .v small { font-size: 11px; color: var(--text-3); font-weight: 500; margin-left: 1px; }
.dc-spark { display: flex; align-items: flex-end; gap: 2px; height: 16px; margin-top: 8px; }
.dc-spark i { flex: 1; background: rgba(96,165,250,0.5); border-radius: 1px; animation: dc-bar 1.4s ease-in-out infinite; }
@keyframes dc-bar { 0%,100%{ height: 30%; opacity:.5; } 50%{ height: 100%; opacity:1; } }

/* ============================================================
   Stack de IA (capability grid + stats)
   ============================================================ */
.ia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ia-stats { margin-top: 28px; }
@media (max-width: 980px) { .ia-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ia-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Tech stack
   ============================================================ */
.stack-rows { display: flex; flex-direction: column; gap: 18px; }
.stack-row { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.stack-track { display: flex; gap: 14px; padding-right: 14px; flex-shrink: 0; animation: scroll-x 40s linear infinite; }
.stack-row.rev .stack-track { animation-duration: 48s; animation-direction: reverse; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 13px 22px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--surface); font-family: var(--font-display); font-weight: 500; font-size: 15.5px; color: var(--text-2);
  transition: color .3s, border-color .3s, background .3s;
}
.chip:hover { color: var(--text); border-color: rgba(96,165,250,0.4); background: var(--surface-2); }
.chip .d { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.chip img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; opacity: 0.92; transition: opacity .3s; }
.chip:hover img { opacity: 1; }

/* ============================================================
   Contact
   ============================================================ */
.contact-band { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px,6vw,80px); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { align-items: start; } }
.contact-info h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px,4.2vw,50px); line-height: 1.04; letter-spacing: -0.02em; margin-top: 18px; }
.contact-info > p { color: var(--text-2); margin-top: 20px; font-size: 18px; max-width: 440px; }
.contact-list { display: grid; gap: 12px; margin-top: 38px; }
.cline { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .3s, transform .3s, background .3s; }
.cline:hover { border-color: rgba(96,165,250,0.4); transform: translateX(4px); background: var(--surface-2); }
.cline .ci { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: rgba(59,130,246,0.12); border: 1px solid rgba(96,165,250,0.25); color: var(--accent-2); }
.cline .ci svg { width: 20px; height: 20px; }
.cline .ct { display: flex; flex-direction: column; line-height: 1.3; }
.cline .ct .k { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; }
.cline .ct .v { font-family: var(--font-display); font-weight: 500; font-size: 16.5px; color: var(--text); }

.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: clamp(26px,3.6vw,44px); position: relative; overflow: hidden; }
.form-card::before { content:""; position:absolute; top:-40%; right:-30%; width:60%; height:80%; background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 65%); pointer-events:none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; position: relative; z-index: 2; }
.field label { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.field label .req { color: var(--accent-2); }
.field input, .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; color: var(--text); font-family: var(--font-body); font-size: 15.5px;
  transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.18); }
.field.invalid input, .field.invalid textarea { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--text-3); margin-top: 16px; text-align: center; position: relative; z-index: 2; }
.form-success {
  position: absolute; inset: 0; z-index: 5; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px;
  background: var(--surface); padding: 40px;
}
.form-success.show { display: flex; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity:0; transform: scale(.97);} to {opacity:1; transform:none;} }
.form-success .big { width: 64px; height: 64px; border-radius: 50%; background: rgba(52,211,153,0.15); border: 1px solid rgba(52,211,153,0.4); display: grid; place-items: center; color: #34d399; }
.form-success h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.form-success p { color: var(--text-2); max-width: 340px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--line-soft); padding-block: clamp(56px,7vw,80px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-soft); }
.footer-brand p { color: var(--text-3); font-size: 15px; margin-top: 20px; max-width: 280px; }
.footer-col h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-2); font-size: 15px; padding: 7px 0; transition: color .25s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; flex-wrap: wrap; }
.footer-bottom small { color: var(--text-3); font-size: 13.5px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-2); transition: all .3s var(--ease); }
.socials a:hover { color: #fff; border-color: var(--accent); background: var(--accent); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

/* ============================================================
   Floating WhatsApp
   ============================================================ */
.wa-float { position: fixed; right: clamp(16px,3vw,30px); bottom: clamp(16px,3vw,30px); z-index: 90; display: flex; align-items: center; gap: 0; }
.wa-float a { display: flex; align-items: center; gap: 12px; background: #25d366; color: #04331a; padding: 14px; border-radius: 100px; box-shadow: 0 10px 34px -8px rgba(37,211,102,0.6); transition: transform .35s var(--ease), box-shadow .35s; font-family: var(--font-display); font-weight: 600; font-size: 15px; overflow: hidden; }
.wa-float a svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-float a .wa-text { max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .4s var(--ease), opacity .3s, margin .4s; }
.wa-float a:hover { transform: translateY(-3px); box-shadow: 0 16px 44px -8px rgba(37,211,102,0.7); }
.wa-float a:hover .wa-text { max-width: 180px; opacity: 1; margin-right: 8px; }
.wa-pulse { position: absolute; right: 0; bottom: 0; width: 56px; height: 56px; border-radius: 50%; background: #25d366; opacity: .5; animation: pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pulse { 0%{transform:scale(1);opacity:.5;} 100%{transform:scale(1.9);opacity:0;} }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .infra-card { grid-template-columns: 1fr; padding: clamp(28px,5vw,48px); }
  .rack-viz { max-width: 460px; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 110px; }
  .infra-card { padding: 24px 20px; border-radius: 22px; }
  .infra-card h2 { font-size: clamp(23px, 6.4vw, 30px); line-height: 1.1; }
  .infra-card p { font-size: 15.5px; }
  .infra-points li { font-size: 14.5px; }
  .infra-card .eyebrow { font-size: 11px; }
  .rack-viz { padding: 16px; }
  .dc-metrics { gap: 7px; }
  .dc-metric { padding: 11px 10px; }
  .dc-metric .v { font-size: 17px; }
  .dc-logo { height: 22px; }
  .dc-pill { font-size: 9.5px; padding: 4px 9px; }
  .infra-tab { left: 16px; font-size: 9.5px; padding: 6px 12px; }
}
