/* =============================================================
   VADAWEB STUDIO — Shared site styles
   Imports design tokens from ../../colors_and_type.css
   ============================================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-canvas);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none; /* custom cursor */
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: none; }
ul { list-style: none; }

/* ── Custom cursor ──────────────────────────────────────────── */
#cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan-500);
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9999; transform: translate(-50%,-50%);
  transition: transform 0.08s, background 0.2s;
}
#cursor-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(67,197,209,0.6);
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9998; transform: translate(-50%,-50%);
  transition: transform 0.18s cubic-bezier(.22,1,.36,1), width 0.2s, height 0.2s, border-color 0.2s;
}
body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: rgba(81,235,201,0.9); }
body.cursor-hover #cursor-dot  { transform: translate(-50%,-50%) scale(1.6); background: var(--teal-400); }

/* ── Container ──────────────────────────────────────────────── */
.vw-container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ── Type helpers ───────────────────────────────────────────── */
.vw-eyebrow {
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--cyan-500);
}
.vw-label-wide {
  font-family: var(--font-display); font-weight: 400; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.28em; color: var(--fg-3);
}
.vw-grad-text {
  background: var(--gradient-vada);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.vw-display {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(42px, 6.5vw, 92px);
  line-height: 1; letter-spacing: -0.035em; color: var(--fg-1);
  text-wrap: balance;
}
.vw-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.08; letter-spacing: -0.025em; color: var(--fg-1);
  text-wrap: balance;
}
.vw-h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.01em; color: var(--fg-1);
}
.vw-body { font-size: 15px; line-height: 1.65; color: var(--fg-2); text-wrap: pretty; }
.vw-lead { font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }

/* ── Buttons ────────────────────────────────────────────────── */
.vw-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0; white-space: nowrap; border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease-out);
  cursor: none; position: relative; overflow: hidden;
}
.vw-btn::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background 0.2s;
}
.vw-btn:hover::after { background: rgba(255,255,255,0.08); }
.vw-btn:active { transform: scale(0.97); }

.vw-btn-primary {
  background: var(--gradient-vada); color: #031322;
  box-shadow: var(--glow-cyan);
}
.vw-btn-primary:hover { filter: brightness(1.09); box-shadow: 0 0 0 1px rgba(67,197,209,.5), 0 14px 48px -10px rgba(67,197,209,.7); }

.vw-btn-secondary {
  background: transparent; color: var(--fg-1); border-color: var(--stroke-2);
}
.vw-btn-secondary:hover { border-color: var(--cyan-500); color: var(--cyan-400); background: rgba(67,197,209,0.06); }

/* ── THE BIG CTA ────────────────────────────────────────────── */
.vw-btn-mega {
  background: var(--gradient-vada); color: #031322;
  font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 22px; border-radius: var(--r-md);
  border: none; white-space: nowrap; cursor: none;
  position: relative; overflow: hidden;
  animation: mega-pulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(67,197,209,0.7);
}
@keyframes mega-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(67,197,209,0.75), 0 8px 32px -8px rgba(67,197,209,0.55); }
  50%  { box-shadow: 0 0 0 10px rgba(67,197,209,0), 0 14px 48px -6px rgba(81,235,201,0.65); }
  100% { box-shadow: 0 0 0 0 rgba(67,197,209,0.75), 0 8px 32px -8px rgba(67,197,209,0.55); }
}
.vw-btn-mega:hover { filter: brightness(1.12); }
.vw-btn-mega::after {
  content: ""; position: absolute; top: -50%; left: -60%;
  width: 40%; height: 200%; background: rgba(255,255,255,0.22);
  transform: skewX(-20deg);
  animation: mega-sheen 3s ease-in-out infinite;
}
@keyframes mega-sheen {
  0%,100% { left: -60%; opacity: 0; }
  50%      { left: 120%; opacity: 1; }
}
.vw-arrow { font-family: var(--font-display); }

/* ── Nav ────────────────────────────────────────────────────── */
.vw-nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 32px;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.vw-nav-wrap.scrolled {
  background: rgba(5,14,26,0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke-1);
}
.vw-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto;
}
.vw-brand {
  display: flex; align-items: center; gap: 10px;
}
.vw-brand img { width: 30px; }
.vw-brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em; color: var(--fg-1);
}
.vw-nav-links {
  display: flex; align-items: center; gap: 6px;
}
.vw-nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--fg-2); padding: 8px 14px; border-radius: var(--r-md);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  position: relative;
}
.vw-nav-links a::after {
  content: ""; position: absolute; bottom: 5px; left: 50%; right: 50%;
  height: 2px; background: var(--gradient-vada); border-radius: 2px;
  transition: left 0.22s var(--ease-out), right 0.22s var(--ease-out);
}
.vw-nav-links a:hover, .vw-nav-links a.active { color: var(--fg-1); background: rgba(255,255,255,0.04); }
.vw-nav-links a:hover::after, .vw-nav-links a.active::after { left: 14px; right: 14px; }

/* ── Page transitions ───────────────────────────────────────── */
.page-enter { animation: page-in 0.42s var(--ease-out) both; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll reveal — removed (animations via emblem, cursor, typewriter, buttons) ── */
.reveal, .reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 { /* no-op */ }

/* ── Section chrome ─────────────────────────────────────────── */
.vw-section { padding: 110px 0; }
.vw-section-head { margin-bottom: 56px; }
.vw-section-head .vw-eyebrow { margin-bottom: 14px; }

/* ── Cards ──────────────────────────────────────────────────── */
.vw-card {
  background: var(--bg-surface); border: 1px solid var(--stroke-1);
  border-radius: var(--r-xl); padding: 28px;
  box-shadow: var(--shadow-md), var(--shadow-inset);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s;
}
.vw-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow-lg), var(--glow-cyan), var(--shadow-inset);
  border-color: rgba(67,197,209,0.45);
}

/* ── Footer ─────────────────────────────────────────────────── */
.vw-footer {
  margin-top: 0; padding: 72px 0 32px;
  border-top: 1px solid var(--stroke-1);
  background: var(--navy-950);
}
.vw-footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.vw-footer-brand p { font-size: 14px; color: var(--fg-3); line-height: 1.6; margin-top: 14px; max-width: 280px; }
.vw-footer-col-title { font-family: var(--font-display); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--fg-3); margin-bottom: 16px; }
.vw-footer-links { display: flex; flex-direction: column; gap: 10px; }
.vw-footer-links a { font-size: 14px; color: var(--fg-2); transition: color 0.15s; }
.vw-footer-links a:hover { color: var(--cyan-400); }
.vw-footer-contact { display: flex; flex-direction: column; gap: 8px; }
.vw-footer-contact a { font-size: 14px; color: var(--fg-2); transition: color 0.15s; }
.vw-footer-contact a:hover { color: var(--cyan-400); }
.vw-footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--stroke-1);
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3);
}
@media (max-width: 860px) {
  .vw-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .vw-footer-grid { grid-template-columns: 1fr; }
  .vw-footer-base { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Hero (home) ─────────────────────────────────────────────── */
.vw-hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 140px 0 100px;
}
.vw-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 10% -5%, rgba(67,197,209,0.16), transparent 55%),
    radial-gradient(800px 600px at 110% 110%, rgba(25,104,182,0.28), transparent 60%);
}
.vw-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}
.vw-hero-inner { position: relative; }
.vw-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(67,197,209,0.1); border: 1px solid rgba(67,197,209,0.3);
  border-radius: var(--r-pill); padding: 6px 14px; margin-bottom: 32px;
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-400);
}
.vw-hero-tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.vw-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.vw-hero-scroll {
  margin-top: 64px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
}
.vw-scroll-line { width: 40px; height: 1px; background: var(--stroke-2); }
.vw-hero-stats { display: flex; gap: 40px; margin-top: 64px; }
.vw-stat-num { font-family: var(--font-display); font-weight: 800; font-size: 36px; letter-spacing: -0.03em; color: var(--fg-1); }
.vw-stat-num span { background: var(--gradient-vada); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vw-stat-label { font-size: 13px; color: var(--fg-3); margin-top: 2px; }

/* floating shapes */
.vw-float-shape {
  position: absolute; border-radius: 50%; pointer-events: none;
  mix-blend-mode: screen; filter: blur(1px);
}
.vw-float-shape-1 { width: 320px; height: 320px; right: 8%; top: 12%; opacity: 0.55; animation: float1 9s ease-in-out infinite; }
.vw-float-shape-2 { width: 180px; height: 180px; right: 24%; bottom: 20%; opacity: 0.35; animation: float2 7s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-18px) rotate(4deg)} }
@keyframes float2 { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(12px) rotate(-6deg)} }

/* ── Typewriter ──────────────────────────────────────────────── */
/* CLS fix: reserve space for the tallest typewriter phrase so content below never jumps */
.typewriter-wrap { display: inline; }
[data-typewriter] { display: inline-block; min-width: 4ch; }
.typewriter-cursor {
  display: inline-block; width: 3px; height: 0.85em;
  background: var(--cyan-500); margin-left: 3px;
  vertical-align: middle; border-radius: 2px;
  animation: cur-blink 0.9s step-end infinite;
}
@keyframes cur-blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Form ────────────────────────────────────────────────────── */
.vw-form { display: flex; flex-direction: column; gap: 18px; }
.vw-field { display: flex; flex-direction: column; gap: 7px; }
.vw-field label { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-2); }
.vw-input {
  background: rgba(255,255,255,0.03); border: 1px solid var(--stroke-2);
  border-radius: var(--r-md); padding: 14px 16px;
  font-family: var(--font-sans); font-size: 15px; color: var(--fg-1);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}
.vw-input:focus { border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(67,197,209,0.18); }
.vw-input::placeholder { color: var(--fg-4); }
textarea.vw-input { resize: vertical; min-height: 120px; }

/* ── Responsive nav ──────────────────────────────────────────── */
@media (max-width: 760px) {
  .vw-nav-links a:not(:last-child) { display: none; }
  .vw-container { padding: 0 20px; }
}

/* ── Service tile icon ───────────────────────────────────────── */
.vw-service-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: rgba(67,197,209,0.1); border: 1px solid rgba(67,197,209,0.3);
  color: var(--cyan-500); display: grid; place-items: center; margin-bottom: 18px;
  transition: background 0.2s, border-color 0.2s;
}
.vw-card:hover .vw-service-icon { background: rgba(67,197,209,0.18); border-color: rgba(67,197,209,0.55); }

/* ── Logo cloud ──────────────────────────────────────────────── */
.vw-cloud { padding: 40px 0; border-top: 1px solid var(--stroke-1); border-bottom: 1px solid var(--stroke-1); }
.vw-cloud-inner { display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.vw-cloud-mark { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--fg-3); letter-spacing: -0.01em; opacity: 0.7; transition: opacity 0.18s, color 0.18s; }
.vw-cloud-mark:hover { opacity: 1; color: var(--fg-1); }

/* ── Work grid ───────────────────────────────────────────────── */
.vw-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vw-work-card {
  display: block; border-radius: var(--r-xl);
  border: 1px solid var(--stroke-1); overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s, border-color 0.28s;
}
.vw-work-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
  border-color: rgba(67,197,209,0.45);
}
.vw-work-thumb {
  aspect-ratio: 16/10; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.vw-work-mockup {
  position: absolute; left: 32px; right: 32px; top: 28px; bottom: 20px;
  background: rgba(5,14,26,0.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 10px;
}
.vw-work-dots { display: flex; gap: 5px; }
.vw-work-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.vw-work-bars { display: flex; flex-direction: column; gap: 7px; }
.vw-work-bars div { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.12); }
.vw-work-bars div:first-child { width: 45%; background: rgba(67,197,209,0.5); }
.vw-work-bars div:nth-child(2) { width: 72%; }
.vw-work-bars div:nth-child(3) { width: 55%; }
.vw-work-meta { padding: 18px 20px; background: var(--bg-surface); }
.vw-work-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--fg-1); margin-bottom: 4px; }
.vw-work-tag { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
@media (max-width: 760px) { .vw-work-grid { grid-template-columns: 1fr; } }

/* ── Steps ───────────────────────────────────────────────────── */
.vw-steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.vw-step { padding-top: 24px; border-top: 2px solid var(--stroke-1); position: relative; transition: border-color 0.22s; }
.vw-step:hover { border-top-color: var(--cyan-500); }
.vw-step-n { font-family: var(--font-mono); font-size: 11px; color: var(--cyan-500); letter-spacing: 0.1em; margin-bottom: 14px; }
.vw-step-t { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 8px; color: var(--fg-1); }
.vw-step-d { font-size: 14px; color: var(--fg-2); line-height: 1.55; }
@media (max-width: 860px) { .vw-steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vw-steps-grid { grid-template-columns: 1fr; } }

/* ── Quote ───────────────────────────────────────────────────── */
.vw-quote { text-align: center; padding: 80px 0; }
.vw-quote-text { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.6vw, 32px); line-height: 1.35; letter-spacing: -0.01em; color: var(--fg-1); max-width: 800px; margin: 0 auto; text-wrap: balance; }
.vw-quote-mark { color: var(--cyan-500); }
.vw-quote-attrib { display: inline-flex; gap: 12px; align-items: center; margin-top: 28px; }
.vw-quote-av { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-vada); color: #031322; font-family: var(--font-display); font-weight: 800; font-size: 14px; display: grid; place-items: center; flex-shrink: 0; }
.vw-quote-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg-1); text-align: left; }
.vw-quote-role { font-size: 13px; color: var(--fg-3); }

/* ── CTA band ────────────────────────────────────────────────── */
.vw-cta-band {
  padding: 100px 0;
  background: linear-gradient(160deg, rgba(10,21,36,0.6) 0%, rgba(15,29,49,0.6) 100%);
  border-top: 1px solid var(--stroke-1); border-bottom: 1px solid var(--stroke-1);
  text-align: center; position: relative; overflow: hidden;
}
.vw-cta-band-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% 100%, rgba(67,197,209,0.14), transparent 70%);
}

/* ── Contact page ────────────────────────────────────────────── */
.vw-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.vw-contact-detail { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.vw-contact-item { display: flex; flex-direction: column; gap: 3px; }
.vw-contact-item span { font-family: var(--font-mono); font-size: 11px; color: var(--cyan-500); text-transform: uppercase; letter-spacing: 0.12em; }
.vw-contact-item a, .vw-contact-item p { font-size: 16px; color: var(--fg-1); font-weight: 500; }
.vw-contact-item a:hover { color: var(--cyan-400); }

/* ── About / Nosotros ────────────────────────────────────────── */
.vw-team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.vw-team-card { border-radius: var(--r-xl); overflow: hidden; background: var(--bg-surface); border: 1px solid var(--stroke-1); transition: transform 0.28s var(--ease-out), box-shadow 0.28s, border-color 0.28s; }
.vw-team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--glow-cyan); border-color: rgba(67,197,209,0.45); }
.vw-team-avatar { aspect-ratio: 1; background: var(--gradient-vada-soft); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--fg-3); }
.vw-team-info { padding: 18px 20px; }
.vw-team-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--fg-1); }
.vw-team-role { font-size: 13px; color: var(--cyan-500); margin-top: 3px; font-family: var(--font-display); }
@media (max-width: 760px) { .vw-team-grid { grid-template-columns: 1fr 1fr; } .vw-contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── Éxito page ──────────────────────────────────────────────── */
.vw-exito-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vw-exito-card { background: var(--bg-surface); border: 1px solid var(--stroke-1); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-md), var(--shadow-inset); transition: transform 0.28s var(--ease-out), box-shadow 0.28s, border-color 0.28s; }
.vw-exito-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--glow-cyan); border-color: rgba(67,197,209,0.45); }
.vw-exito-metric { font-family: var(--font-display); font-weight: 800; font-size: 52px; letter-spacing: -0.03em; line-height: 1; }
.vw-exito-metric span { background: var(--gradient-vada); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vw-exito-label { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--fg-1); margin-top: 10px; margin-bottom: 8px; }
.vw-exito-desc { font-size: 14px; color: var(--fg-2); line-height: 1.6; }
@media (max-width: 760px) { .vw-exito-grid { grid-template-columns: 1fr; } }

/* ── Page hero variants ──────────────────────────────────────── */
.vw-page-hero {
  padding: 160px 0 90px; position: relative; overflow: hidden;
}
.vw-page-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(67,197,209,0.12), transparent 60%),
    radial-gradient(600px 350px at 100% 100%, rgba(25,104,182,0.2), transparent 60%);
}

/* ── Form success ────────────────────────────────────────────── */
.vw-form-success {
  display: none; flex-direction: column; align-items: center;
  gap: 16px; text-align: center; padding: 48px 32px;
  background: var(--bg-surface); border: 1px solid rgba(41,211,174,0.35);
  border-radius: var(--r-xl);
}
.vw-form-success.show { display: flex; }
.vw-form-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(41,211,174,0.14); color: var(--teal-400);
  border: 1px solid rgba(41,211,174,0.35); display: grid; place-items: center;
}

/* ── Form validation states ──────────────────────────────── */
.vw-input-error {
  border-color: #e05c6e !important;
  box-shadow: 0 0 0 3px rgba(224,92,110,0.18) !important;
}
.vw-field-error {
  font-size: 12px; color: #e05c6e;
  font-family: var(--font-display); margin-top: 2px;
  display: block;
}
.vw-form-global-error {
  padding: 14px 18px;
  background: rgba(224,92,110,0.1); border: 1px solid rgba(224,92,110,0.35);
  border-radius: var(--r-md); color: #e8909a; font-size: 14px;
  line-height: 1.55; display: none;
}
.vw-form-global-error a { color: var(--cyan-400); text-decoration: underline; }

/* ── Mobile hamburger (responsive nav) ──────────────────── */
.vw-nav-mobile-toggle {
  display: none; background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: var(--r-sm); padding: 10px 12px; cursor: pointer;
  color: var(--fg-1); transition: background 0.18s, border-color 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.vw-nav-mobile-toggle:hover,
.vw-nav-mobile-toggle:active { background: rgba(67,197,209,0.15); border-color: var(--cyan-400); color: var(--cyan-300); }
@media (max-width: 760px) {
  .vw-nav-mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .vw-nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(5,14,26,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stroke-1);
    flex-direction: column; padding: 20px 24px 28px; gap: 4px; z-index: 99; }
  .vw-nav-links.open { display: flex; }
  .vw-nav-links a { font-size: 15px; padding: 12px 16px; border-radius: var(--r-md); }
  .vw-nav-links a:not(:last-child) { display: flex; }
}

/* ================================================================
   MOBILE OPTIMISATION — comprehensive responsive pass
   ================================================================ */

/* ── Touch devices: restore cursor & native tap behaviour ─────── */
@media (hover: none) and (pointer: coarse) {
  body   { cursor: auto; }
  button { cursor: pointer; }
  a      { cursor: pointer; }
  #cursor-dot, #cursor-ring { display: none; }
  /* Touch feedback on cards */
  .vw-card:active,
  .vw-work-card:active,
  .vw-exito-card:active { transform: scale(0.98); opacity: 0.92; transition: transform 0.12s, opacity 0.12s; }
  /* Remove hover-only card lift (confusing on touch) */
  .vw-card:hover { transform: none; }
}

@media (max-width: 760px) {
  /* ── Nav ─────────────────────────────────────────────────────── */
  .vw-nav-wrap { padding: 12px 16px; }

  /* ── Hero ────────────────────────────────────────────────────── */
  .vw-hero { padding: 100px 0 64px; min-height: 100svh; }
  .vw-hero-tag { margin-bottom: 22px; font-size: 11px; }
  .vw-hero-ctas {
    flex-direction: column; gap: 12px; margin-top: 28px;
  }
  .vw-hero-ctas .vw-btn {
    width: 100%; justify-content: center; padding: 16px 24px; font-size: 15px;
  }
  .vw-hero-stats {
    gap: 24px; margin-top: 44px; flex-wrap: wrap;
  }
  .vw-stat-num { font-size: 30px; }

  /* ── Services grid (inline style override) ───────────────────── */
  #servicios .vw-container > div[style*="repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  /* ── Sections ────────────────────────────────────────────────── */
  .vw-section { padding: 64px 0; }
  .vw-section-head { margin-bottom: 32px; }
  .vw-page-hero { padding: 110px 0 60px; }

  /* ── Quote ───────────────────────────────────────────────────── */
  .vw-quote { padding: 52px 0; }

  /* ── CTA band ────────────────────────────────────────────────── */
  .vw-cta-band { padding: 64px 0; }
  .vw-cta-band .vw-btn {
    width: 100%; max-width: 320px; justify-content: center;
    padding: 16px 24px; font-size: 15px;
  }

  /* ── Cards ───────────────────────────────────────────────────── */
  .vw-card { padding: 22px; }

  /* ── Contact form ────────────────────────────────────────────── */
  .vw-contact-grid { grid-template-columns: 1fr; gap: 36px; }

  /* ── Typography adjustments ──────────────────────────────────── */
  .vw-h3 { font-size: 18px; }
  .vw-lead { font-size: 16px; }
}

@media (max-width: 480px) {
  /* ── Tightest viewports (small Android, iPhone SE) ───────────── */
  .vw-hero { padding: 88px 0 52px; }
  .vw-display { letter-spacing: -0.03em; font-size: clamp(22px, 6.5vw, 40px); }
  .vw-section { padding: 52px 0; }
  .vw-section-head { margin-bottom: 26px; }

  /* ── Services: 1 column on very small screens ────────────────── */
  #servicios .vw-container > div[style*="repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Stats: 3 in a row compact ───────────────────────────────── */
  .vw-hero-stats { gap: 20px; }
  .vw-stat-num { font-size: 26px; }
  .vw-stat-label { font-size: 12px; }

  /* ── Footer compact ──────────────────────────────────────────── */
  .vw-footer { padding: 52px 0 24px; }
}


/* ── WhatsApp float button ─────────────────────────────── */
.vw-wa-float{position:fixed;bottom:24px;right:24px;z-index:9000;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(37,211,102,.5),0 2px 8px rgba(0,0,0,.3);transition:transform .2s,box-shadow .2s;text-decoration:none}
.vw-wa-float:hover{transform:scale(1.1);box-shadow:0 6px 28px rgba(37,211,102,.65),0 3px 12px rgba(0,0,0,.35)}
.vw-wa-float svg{flex-shrink:0}

/* ── Exit-intent popup ─────────────────────────────────── */
.vw-popup-overlay{position:fixed;inset:0;z-index:9500;background:rgba(4,13,24,.82);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .3s}
.vw-popup-overlay.vw-popup-active{opacity:1;pointer-events:auto}
.vw-popup-box{background:#0a1628;border:1px solid rgba(255,255,255,.13);border-radius:20px;padding:40px 36px;max-width:480px;width:100%;box-shadow:0 24px 64px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.07);position:relative;transform:translateY(20px);transition:transform .3s cubic-bezier(.22,1,.36,1)}
.vw-popup-overlay.vw-popup-active .vw-popup-box{transform:translateY(0)}
.vw-popup-close{position:absolute;top:16px;right:16px;background:rgba(255,255,255,.08);border:none;border-radius:6px;width:32px;height:32px;display:grid;place-items:center;cursor:pointer;color:#a8b8cc;font-size:20px;line-height:1;transition:background .2s,color .2s}
.vw-popup-close:hover{background:rgba(255,255,255,.14);color:#f0f4f8}
.vw-popup-eyebrow{font-family:var(--font-display,'Syne',sans-serif);font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:#2db8c8;margin-bottom:12px}
.vw-popup-title{font-family:var(--font-display,'Syne',sans-serif);font-weight:800;font-size:clamp(20px,2.5vw,26px);line-height:1.15;color:#f0f4f8;margin-bottom:14px;letter-spacing:-.02em}
.vw-popup-body{font-size:15px;color:#a8b8cc;line-height:1.6;margin-bottom:24px}
.vw-popup-cta{display:block;background:linear-gradient(135deg,#51ebc9 0%,#43c5d1 45%,#1968b6 100%);color:#031322;font-family:var(--font-display,'Syne',sans-serif);font-weight:800;font-size:14px;letter-spacing:.04em;padding:14px 24px;border-radius:10px;text-decoration:none;text-align:center;transition:opacity .2s;box-shadow:0 0 0 1px rgba(67,197,209,.25),0 8px 32px -8px rgba(67,197,209,.45)}
.vw-popup-cta:hover{opacity:.9}
.vw-popup-sub{font-size:12px;color:#6d8ea8;text-align:center;margin-top:12px}
@media(max-width:480px){.vw-popup-box{padding:28px 22px}.vw-wa-float{bottom:16px;right:16px}}
