/* ============================================================
   Turbo Pixel SV — Estilos
   ============================================================ */

/* Fuentes locales (sin dependencias externas) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/space-grotesk-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/space-grotesk-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #050b18;
  --bg-2: #071126;
  --surface: rgba(13, 28, 52, .72);
  --surface-solid: #0c1a30;
  --border: rgba(120, 180, 255, .14);
  --border-strong: rgba(60, 200, 255, .45);
  --text: #eaf3ff;
  --muted: #9aabc4;
  --cyan: #21d4fd;
  --blue: #4a8dff;
  --yellow: #ffd23f;
  --green: #25d366;
  --grad: linear-gradient(100deg, #55e6ff 0%, #5590ff 55%, #ffd23f 130%);
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
  --radius: 18px;
  --header-h: 76px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.16; margin: 0 0 16px; letter-spacing: -.03em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); font-weight: 700; }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: rgba(33, 212, 253, .35); color: #fff; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 200; background: var(--cyan); color: #04101c; padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: .94rem; cursor: pointer; white-space: nowrap;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 17px; height: 17px; }
.btn-sm { padding: 10px 16px; font-size: .86rem; }
.btn-lg { padding: 16px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #04121f; box-shadow: 0 10px 30px rgba(33, 212, 253, .22); }
.btn-primary:hover { box-shadow: 0 14px 38px rgba(33, 212, 253, .4); }
.btn-outline { border-color: rgba(85, 200, 255, .4); color: #bfeaff; background: rgba(33, 212, 253, .05); }
.btn-outline:hover { background: rgba(33, 212, 253, .14); border-color: var(--cyan); color: #fff; }
.btn-ghost { border-color: rgba(180, 210, 255, .24); color: var(--text); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(180, 210, 255, .55); background: rgba(255, 255, 255, .09); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; position: relative; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: rgba(33,212,253,.12); border-color: var(--border-strong); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: rgba(5, 11, 24, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(5, 11, 24, .94); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; flex-shrink: 0; padding: 3px 10px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(206,232,255,.92)); box-shadow: 0 4px 18px rgba(33,212,253,.18); }
.brand img { width: 150px; height: auto; }
.nav-desktop { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link { font-size: .88rem; font-weight: 600; color: #b6c6dc; padding: 9px 11px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(33,212,253,.09); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: #c7d8ee; white-space: nowrap; }
.header-phone .icon { width: 16px; height: 16px; color: var(--green); }
.header-phone:hover { color: #fff; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--yellow); color: #172033; font-size: .68rem; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-mobile { position: absolute; top: var(--header-h); left: 0; right: 0; padding: 16px 24px 24px; background: rgba(6, 14, 29, .98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); display: grid; gap: 4px; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.nav-mobile a { padding: 12px 14px; border-radius: 9px; font-weight: 600; color: #c4d4e8; }
.nav-mobile a:hover { background: rgba(33,212,253,.09); color: #fff; }
.nav-mobile a.btn { margin-top: 10px; color: #04121f; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(940px, 100svh); display: flex; align-items: center; padding: calc(var(--header-h) + 70px) 0 90px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 75% 25%, rgba(20, 90, 190, .25), transparent 55%), radial-gradient(ellipse at 15% 75%, rgba(33, 212, 253, .12), transparent 50%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-glow { position: absolute; width: 620px; height: 620px; left: 48%; top: 42%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(33,212,253,.13), transparent 62%); filter: blur(20px); }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
.hero-grid { position: absolute; left: -20%; right: -20%; bottom: -26%; height: 62%; background-image: linear-gradient(rgba(33,212,253,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(33,212,253,.16) 1px, transparent 1px); background-size: 70px 70px; transform: perspective(520px) rotateX(66deg); transform-origin: bottom center; -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 85%); mask-image: linear-gradient(to top, #000 5%, transparent 85%); }
.beam { position: absolute; left: -10%; width: 120%; height: 1px; background: linear-gradient(90deg, transparent, rgba(33,212,253,.5), transparent); filter: blur(1px); animation: beamSweep 9s ease-in-out infinite; }
.beam-1 { top: 24%; transform: rotate(-14deg); }
.beam-2 { top: 52%; transform: rotate(8deg); animation-delay: -3s; background: linear-gradient(90deg, transparent, rgba(255,210,63,.28), transparent); }
.beam-3 { top: 76%; transform: rotate(-22deg); animation-delay: -6s; }
@keyframes beamSweep { 0%, 100% { opacity: .22; translate: 0 -12px; } 50% { opacity: .9; translate: 0 26px; } }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.eyebrow .icon { width: 16px; height: 16px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(33,212,253,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 11px rgba(33,212,253,0); } 100% { box-shadow: 0 0 0 0 rgba(33,212,253,0); } }
.hero h1 { margin-bottom: 22px; letter-spacing: -.045em; }
.hero-lead { font-size: 1.12rem; color: #b8c9e0; max-width: 590px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 22px; color: #aebfd6; font-size: .87rem; margin-bottom: 46px; }
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list .icon { width: 16px; height: 16px; color: var(--yellow); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 28px; border-top: 1px solid var(--border); }
.stat strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; color: #fff; margin-bottom: 8px; }
.stat span { font-size: .75rem; color: var(--muted); line-height: 1.35; display: block; }

/* Hero visual */
.hero-visual { position: relative; padding: 22px; }
.visual-frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(85, 200, 255, .3); background: #081426; box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 60px rgba(33,212,253,.12); transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: transform .5s; }
.hero-visual:hover .visual-frame { transform: perspective(1000px) rotateY(0) rotateX(0); }
.visual-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(1.15) contrast(1.08) brightness(.82); }
.visual-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,11,24,.05), rgba(5,11,24,.75)); pointer-events: none; }
.visual-shine { position: absolute; z-index: 2; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.13) 48%, transparent 60%); transform: translateX(-100%); animation: shine 7s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.visual-overlay { position: absolute; inset: auto 0 0; height: 45%; z-index: 2; background: linear-gradient(transparent, rgba(5,16,34,.9)); }
.visual-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px; background: rgba(6, 18, 36, .8); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); font-size: .78rem; font-weight: 700; box-shadow: 0 10px 25px rgba(0,0,0,.3); }
.visual-badge .icon { width: 15px; height: 15px; color: var(--yellow); }
.badge-top { top: 16px; right: 16px; }
.badge-bottom { bottom: 16px; left: 16px; }
.orbit { position: absolute; left: 50%; top: 50%; width: 118%; aspect-ratio: 1; border: 1px solid rgba(33,212,253,.18); border-radius: 50%; transform: translate(-50%, -50%) rotateX(72deg); pointer-events: none; }
.orbit-2 { width: 92%; border-color: rgba(255,210,63,.14); transform: translate(-50%, -50%) rotateX(72deg) rotate(60deg); }
.orbit-dot { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px 5px var(--cyan); animation: orbitDot 8s linear infinite; }
@keyframes orbitDot { from { transform: rotate(0) translateX(210px) rotate(0); } to { transform: rotate(360deg) translateX(210px) rotate(-360deg); } }
.floating-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(10, 24, 46, .86); border: 1px solid var(--border); backdrop-filter: blur(12px); font-size: .8rem; font-weight: 600; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.floating-chip .icon { width: 16px; height: 16px; color: var(--cyan); }
.chip-1 { left: -18px; bottom: 42%; }
.chip-2 { right: -14px; top: 40%; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 1px solid rgba(160,200,240,.4); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 110px 0; overflow: hidden; }
.section-alt { background: linear-gradient(180deg, #061024, #08142c 50%, #061024); border-block: 1px solid rgba(120,180,255,.08); }
.section-glow { position: absolute; left: 50%; top: 0; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(ellipse at top, rgba(33,212,253,.1), transparent 65%); pointer-events: none; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 54px; }
.section-head-left { text-align: left; margin-left: 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head .btn { margin-top: 12px; }

/* Servicios */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .3s, border-color .3s, background .3s; }
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(33,212,253,.16), transparent 60%); opacity: 0; transition: opacity .3s; }
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.service-card:hover::before { opacity: 1; }
.service-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(140deg, rgba(33,212,253,.2), rgba(74,141,255,.08)); border: 1px solid rgba(33,212,253,.24); color: var(--cyan); margin-bottom: 18px; }
.service-icon .icon { width: 24px; height: 24px; }
.service-card h3 { position: relative; font-size: 1.06rem; margin-bottom: 8px; }
.service-card p { position: relative; font-size: .86rem; color: var(--muted); margin-bottom: 18px; min-height: 42px; }
.service-card a { position: relative; display: inline-flex; align-items: center; gap: 7px; color: #7ee3ff; font-size: .82rem; font-weight: 700; }
.service-card a .icon { width: 15px; height: 15px; transition: transform .25s; }
.service-card a:hover .icon { transform: translateX(4px); }

/* ---------- Portafolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .3s, border-color .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 24px 55px rgba(0,0,0,.4); }
.project-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a162b; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,11,24,.5)); pointer-events: none; }
.project-tag { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 10px; border-radius: 6px; background: rgba(5,14,30,.86); border: 1px solid rgba(33,212,253,.35); color: #9deeff; font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(6px); }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.project-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.project-body p { color: var(--muted); font-size: .84rem; flex: 1; margin-bottom: 16px; }
.project-link { display: inline-flex; align-items: center; gap: 7px; color: #7ee3ff; font-size: .82rem; font-weight: 700; }
.project-link .icon { width: 15px; height: 15px; transition: transform .25s; }
.project-card:hover .project-link .icon { transform: translateX(4px); }

/* ---------- Planes ---------- */
.cycle-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.03); margin-top: 26px; }
.cycle-btn { padding: 9px 18px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: .85rem; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.cycle-btn:hover { color: #fff; }
.cycle-btn.is-active { background: rgba(33,212,253,.16); color: #9deeff; box-shadow: inset 0 0 0 1px rgba(33,212,253,.3); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.mail-grid, .design-grid { grid-template-columns: repeat(3, 1fr); }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(150deg, rgba(20, 40, 72, .8), rgba(9, 20, 38, .9)); border: 1px solid var(--border); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.price-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(33,212,253,.5), transparent); opacity: 0; transition: opacity .3s; }
.price-card:hover { transform: translateY(-6px); border-color: rgba(85,200,255,.38); box-shadow: 0 26px 60px rgba(0,0,0,.4); }
.price-card:hover::after { opacity: 1; }
.price-card.is-featured, .price-card:has(.price-badge) { border-color: rgba(33,212,253,.5); box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 0 50px rgba(33,212,253,.04); }
.price-card.is-featured::after, .price-card:has(.price-badge)::after { opacity: 1; }
.price-badge { position: absolute; top: 0; right: 0; padding: 6px 14px; border-radius: 0 0 0 12px; background: var(--grad); color: #06131f; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.price-card h3 { margin-bottom: 8px; padding-right: 60px; }
.plan-desc { color: var(--muted); font-size: .87rem; min-height: 64px; margin-bottom: 16px; }
.price { display: flex; align-items: baseline; gap: 3px; font-family: 'Space Grotesk', sans-serif; margin-bottom: 2px; }
.price .currency { font-size: 1.5rem; color: #bfeaff; }
.price .price-value { font-size: 3.1rem; font-weight: 700; line-height: 1; color: #fff; letter-spacing: -.05em; }
.price .period { font-size: 1rem; color: var(--muted); margin-left: 3px; }
.price .only { font: 600 .85rem 'Inter', sans-serif; color: var(--muted); margin-right: 6px; }
.price-small .price-value { font-size: 2.5rem; }
.price-note { font-size: .84rem; color: #b6c8de; margin: 8px 0 2px; }
.price-after { font-size: .78rem; color: var(--yellow); margin-bottom: 20px; }
.savings { display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: rgba(255,210,63,.12); border: 1px solid rgba(255,210,63,.25); color: var(--yellow); font-size: .72rem; font-weight: 800; margin-bottom: 10px; }
.add-btn { margin-bottom: 24px; }
.feature-list { display: grid; gap: 12px; font-size: .86rem; color: #c6d5e8; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list .icon { width: 17px; height: 17px; color: var(--cyan); margin-top: 2px; }

/* Comparativa */
.comparison { margin-top: 64px; padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.comparison h3 { font-size: 1.5rem; }
.comparison > p { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .87rem; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
thead th { background: rgba(33,212,253,.07); font-family: 'Space Grotesk', sans-serif; font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255,255,255,.025); }
td:first-child { color: #b9cade; font-weight: 600; }
td .icon { width: 17px; height: 17px; color: var(--cyan); }
.th-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 5px; background: var(--grad); color: #06131f; font-size: .62rem; }

/* ---------- Incluye / equipo ---------- */
.includes { margin-top: 70px; text-align: center; }
.includes-title { display: inline-block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; margin-bottom: 28px; }
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.includes-grid > div { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.025); border: 1px solid var(--border); }
.mini-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(33,212,253,.1); color: var(--cyan); flex-shrink: 0; }
.includes-grid h4 { margin-bottom: 6px; font-size: 1rem; }
.includes-grid p { color: var(--muted); font-size: .86rem; margin: 0; }
.team-block { margin-top: 110px; }
.process-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.feature-panel { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .3s, border-color .3s; }
.feature-panel:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.feature-panel-img { overflow: hidden; aspect-ratio: 16 / 9; }
.feature-panel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature-panel:hover img { transform: scale(1.06); }
.feature-panel-body { padding: 26px; }
.step-num { font-family: 'Space Grotesk', sans-serif; font-size: .8rem; font-weight: 700; color: var(--cyan); letter-spacing: .12em; }
.feature-panel-body h3 { margin: 6px 0 4px; }
.feature-panel-body h4 { font-size: 1rem; color: #dbe9fa; margin-bottom: 10px; }
.feature-panel-body p { color: var(--muted); font-size: .88rem; margin: 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.benefit { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.025); border: 1px solid var(--border); transition: transform .3s, background .3s; }
.benefit:hover { transform: translateY(-5px); background: rgba(33,212,253,.05); }
.benefit-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(33,212,253,.1); border: 1px solid rgba(33,212,253,.18); color: var(--cyan); margin-bottom: 16px; }
.benefit-icon .icon { width: 22px; height: 22px; }
.benefit h4 { margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .87rem; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(var(--cyan), rgba(33,212,253,.05)); }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 20px 24px; border-radius: 14px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.timeline li:hover { background: rgba(255,255,255,.025); border-color: var(--border); }
.timeline-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #0b1c34; border: 1px solid var(--border-strong); color: var(--cyan); font-family: 'Space Grotesk', sans-serif; font-weight: 700; box-shadow: 0 0 0 6px var(--bg); }
.timeline h3 { margin: 5px 0 6px; font-size: 1.1rem; }
.timeline p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--border); overflow: hidden; transition: border-color .25s; }
.faq-list details[open] { border-color: var(--border-strong); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; cursor: pointer; font-weight: 700; font-size: .98rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--cyan); transition: transform .25s; }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); font-size: .91rem; margin: 0; }

/* ---------- CTA ---------- */
.cta-section { position: relative; overflow: hidden; padding: 120px 0; text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(33,212,253,.22), transparent 60%), #060f21; border-top: 1px solid var(--border); }
.cta-rays { position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg at 50% 100%, rgba(33,212,253,.055) 0deg 4deg, transparent 4deg 18deg); mask-image: radial-gradient(circle at 50% 100%, #000, transparent 55%); animation: rays 30s linear infinite; pointer-events: none; }
@keyframes rays { to { transform: rotate(360deg); } }
.cta-inner { position: relative; max-width: 800px; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.cta-inner > p { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto 34px; }
.cta-inner .hero-buttons { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #030813; border-top: 1px solid var(--border); padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; }
.footer-brand img { width: 165px; margin-bottom: 20px; padding: 4px 10px; border-radius: 10px; background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(206,232,255,.9)); }
.footer-brand p { color: var(--muted); font-size: .88rem; max-width: 370px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; font-size: .87rem; color: var(--muted); }
.footer-links li { display: flex; align-items: center; gap: 9px; }
.footer-links .icon { width: 15px; height: 15px; color: var(--cyan); }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; margin-top: 50px; border-top: 1px solid var(--border); font-size: .8rem; color: #70869f; }
.footer-bottom a { color: #9ab4d0; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(140deg, #2fd36c, #12a457); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.35); transition: transform .25s; }
.whatsapp-float:hover { transform: scale(1.08) translateY(-3px); }
.whatsapp-float .icon { width: 27px; height: 27px; }
.whatsapp-float::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(37,211,102,.5); animation: pulse 2.6s infinite; }

/* ---------- Carrito ---------- */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(2, 6, 14, .72); backdrop-filter: blur(4px); }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 151; width: min(430px, 100%); background: #08142a; border-left: 1px solid var(--border-strong); box-shadow: -20px 0 60px rgba(0,0,0,.5); transform: translateX(105%); transition: transform .35s cubic-bezier(.22,1,.36,1); display: flex; flex-direction: column; }
.cart-drawer.is-open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.cart-header h2 { font-size: 1.3rem; margin: 0; }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: grid; align-content: start; gap: 12px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.cart-empty .icon { width: 42px; height: 42px; color: var(--cyan); margin: 0 auto 16px; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.cart-item-name { font-weight: 700; font-size: .9rem; }
.cart-item-price { color: var(--cyan); font-size: .85rem; }
.cart-item button { border: 0; background: transparent; color: #8fa6c1; cursor: pointer; padding: 4px; }
.cart-item button:hover { color: #ff8080; }
.cart-footer { padding: 22px 24px; border-top: 1px solid var(--border); background: rgba(0,0,0,.15); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.05rem; margin-bottom: 8px; }
.cart-total strong { font-family: 'Space Grotesk', sans-serif; color: var(--cyan); font-size: 1.4rem; }
.cart-hint { font-size: .75rem; color: var(--muted); margin-bottom: 16px; }

/* ---------- Notificación ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200; transform: translate(-50%, 20px); background: #0d2340; border: 1px solid rgba(33,212,253,.5); color: #dff5ff; padding: 12px 20px; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.5); font-size: .88rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Split text ---------- */
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(5deg); transform-origin: bottom center; transition: opacity .55s ease, transform .7s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i, 0) * 22ms); }
.is-split-in .split-char { opacity: 1; transform: none; }
.gradient-text .split-char { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in-view { opacity: 1; transform: none; }
.services-grid .reveal:nth-child(2n), .pricing-grid .reveal:nth-child(2n), .benefits-grid .reveal:nth-child(2n) { transition-delay: .08s; }
.services-grid .reveal:nth-child(3n), .pricing-grid .reveal:nth-child(3n), .benefits-grid .reveal:nth-child(3n) { transition-delay: .16s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-phone span { display: none; }
  .hero-inner { gap: 36px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 640px; width: 100%; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .mail-grid, .design-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-grid, .process-cards, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .section-head-left { max-width: 100%; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 700px) {
  :root { --header-h: 68px; }
  .container { width: min(100% - 32px, var(--container)); }
  .brand img { width: 132px; }
  .header-cta { display: none; }
  .header-phone { display: none; }
  .section { padding: 78px 0; }
  .hero { padding-top: calc(var(--header-h) + 54px); padding-bottom: 80px; }
  h1 { font-size: 2.55rem; }
  .hero-lead { font-size: 1rem; }
  .hero-copy { position: relative; }
  .hero-copy::before { content: ''; position: absolute; inset: -24px -16px 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 35% 40%, rgba(4, 10, 22, .96) 0%, rgba(4, 10, 22, .82) 52%, rgba(4, 10, 22, 0) 80%); }
  .hero-buttons .btn { flex: 1 1 100%; }
  .trust-list { gap: 12px 18px; margin-bottom: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .visual-frame { transform: none; }
  .floating-chip { font-size: .7rem; padding: 8px 10px; }
  .chip-1 { left: -4px; }
  .chip-2 { right: -4px; }
  .orbit-dot { display: none; }
  .services-grid, .pricing-grid, .mail-grid, .design-grid, .portfolio-grid, .includes-grid, .process-cards, .benefits-grid { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }
  .comparison { padding: 20px 14px; }
  th, td { padding: 12px 14px; }
  .timeline li { grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 12px; }
  .timeline-num { width: 46px; height: 46px; box-shadow: 0 0 0 4px var(--bg); }
  .timeline::before { left: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 90px 0; }
  .whatsapp-float { right: 12px; bottom: 12px; width: 50px; height: 50px; }
  .whatsapp-float::before { inset: -3px; }
}
@media (max-width: 380px) {
  h1 { font-size: 2.15rem; }
  .stats { gap: 16px 8px; }
  .stat strong { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
