/*
Theme Name: WebsCharras
Theme URI: https://webscharras.com
Author: WebsCharras
Description: Tema personalizado para WebsCharras - Agencia de Desarrollo Web & IA en Salamanca
Version: 1.0.0
License: Proprietary
Text Domain: webscharras
*/

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

:root {
  --bg: #080808; --bg2: #0f0f0f; --bg3: #161616;
  --border: rgba(255,255,255,0.08); --border-hover: rgba(255,255,255,0.18);
  --text: #f0ede8; --muted: #7a7570;
  --accent: #00F5FF; --accent-dark: #00C8D4; --red: #ff4d4d;
  --font-display: 'Syne', sans-serif; --font-body: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* NAV */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; background: rgba(8,8,8,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.site-logo { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -0.5px; }
.site-logo span { color: var(--accent); }
.main-nav { display: flex; gap: 32px; list-style: none; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.main-nav a:hover { color: var(--text); }
.nav-cta { background: var(--accent); color: #080808; padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* HERO */
.hero-wrap { max-width: 1100px; margin: 0 auto; }
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 40px 80px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,245,255,0.08); border: 1px solid rgba(0,245,255,0.2); color: var(--accent); font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 100px; margin-bottom: 32px; width: fit-content; }
.hero-badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 { font-family: var(--font-display); font-size: clamp(42px,7vw,88px); font-weight: 800; line-height: 1.0; letter-spacing: -2px; margin-bottom: 28px; max-width: 900px; }
.hero h1 .accent { color: var(--accent); }
.hero h1 .muted { color: var(--muted); }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 560px; line-height: 1.7; margin-bottom: 48px; }
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 72px; }
.btn-primary { background: var(--accent); color: #080808; padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); color: #080808; }
.btn-ghost { color: var(--muted); padding: 14px 28px; border-radius: 10px; font-size: 14px; text-decoration: none; border: 1px solid var(--border); transition: all 0.2s; }
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; padding-top: 48px; border-top: 1px solid var(--border); }
.stat-number { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.stat-number span { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
.urgency { background: rgba(255,77,77,0.06); border: 1px solid rgba(255,77,77,0.15); border-radius: 10px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; max-width: 500px; margin-bottom: 32px; }
.urgency-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; animation: pulse 1.5s infinite; }
.urgency-text { font-size: 13px; color: #ff8080; }
.urgency-text strong { color: var(--red); }

/* SECTIONS */
.section { padding: 100px 40px; }
.section--alt { background: var(--bg2); }
.container { max-width: 1100px; margin: 0 auto; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px,4vw,46px); font-weight: 800; line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 520px; line-height: 1.7; margin-bottom: 64px; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.service-card { background: var(--bg2); padding: 36px 32px; transition: background 0.2s; }
.service-card:hover { background: var(--bg3); }
.service-icon { width: 44px; height: 44px; background: rgba(0,245,255,0.08); border: 1px solid rgba(0,245,255,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 20px; }
.service-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.service-price { font-size: 13px; color: var(--accent); font-weight: 500; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.process-list { display: flex; flex-direction: column; }
.process-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 24px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.process-step:last-child { border-bottom: none; }
.step-num { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--accent); padding-top: 3px; }
.step-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 16px; }
.pricing-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; position: relative; transition: border-color 0.2s; }
.pricing-card:hover { border-color: var(--border-hover); }
.pricing-card.featured { border-color: var(--accent); background: rgba(0,245,255,0.03); }
.featured-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #080808; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 100px; letter-spacing: 0.5px; white-space: nowrap; }
.plan-name { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.plan-price { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--text); letter-spacing: -1px; margin-bottom: 4px; }
.plan-price span { font-size: 18px; font-weight: 400; color: var(--muted); }
.plan-desc { font-size: 13px; color: var(--muted); margin-bottom: 28px; line-height: 1.5; }
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li { font-size: 13px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--accent); font-weight: 600; flex-shrink: 0; }
.plan-cta { display: block; text-align: center; padding: 12px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.plan-cta-ghost { border: 1px solid var(--border); color: var(--text); }
.plan-cta-ghost:hover { border-color: var(--border-hover); }
.plan-cta-filled { background: var(--accent); color: #080808; }
.plan-cta-filled:hover { background: var(--accent-dark); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; color: var(--text); font-family: var(--font-body); font-size: 15px; font-weight: 500; text-align: left; padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color 0.2s; }
.faq-question:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); transition: all 0.2s; }
.faq-item.open .faq-icon { border-color: var(--accent); color: var(--accent); transform: rotate(45deg); }
.faq-answer { font-size: 14px; color: var(--muted); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info p { color: var(--muted); margin-bottom: 40px; font-size: 15px; line-height: 1.7; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail-icon { width: 36px; height: 36px; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-detail-label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.contact-detail-value { font-size: 13px; color: var(--text); font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.form-input,.form-select,.form-textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: var(--font-body); font-size: 14px; padding: 12px 16px; transition: border-color 0.2s; outline: none; width: 100%; }
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color: var(--accent); }
.form-input::placeholder,.form-textarea::placeholder { color: var(--muted); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit { background: var(--accent); color: #080808; border: none; padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.form-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--muted); }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 60px 40px 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 12px; color: var(--muted); }
.social-links { display: flex; gap: 12px; }
.social-link { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; font-size: 13px; transition: all 0.2s; }
.social-link:hover { border-color: var(--border-hover); color: var(--text); }

/* CHATBOT */
.chat-bubble { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 52px; height: 52px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 32px rgba(0,245,255,0.25); transition: transform 0.2s; font-size: 22px; }
.chat-bubble:hover { transform: scale(1.08); }
.chat-window { position: fixed; bottom: 92px; right: 28px; z-index: 200; width: 320px; background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: none; flex-direction: column; box-shadow: 0 24px 64px rgba(0,0,0,0.5); }
.chat-window.open { display: flex; }
.chat-header { background: var(--bg3); border-bottom: 1px solid var(--border); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 34px; height: 34px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.chat-header-name { font-size: 13px; font-weight: 600; color: var(--text); }
.chat-header-status { font-size: 11px; color: var(--accent); display: flex; align-items: center; gap: 5px; }
.chat-header-status::before { content:''; width:5px; height:5px; background:var(--accent); border-radius:50%; display:inline-block; }
.chat-messages { padding: 16px; display: flex; flex-direction: column; gap: 12px; max-height: 260px; overflow-y: auto; }
.chat-msg { font-size: 13px; line-height: 1.5; padding: 10px 14px; border-radius: 10px; max-width: 85%; }
.chat-msg.bot { background: var(--bg3); color: var(--text); align-self: flex-start; }
.chat-msg.user { background: var(--accent); color: #080808; font-weight: 500; align-self: flex-end; border-radius: 10px 10px 2px 10px; }
.chat-quick-replies { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.chat-reply-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: 8px; padding: 8px 12px; font-size: 12px; cursor: pointer; text-align: left; transition: all 0.15s; font-family: var(--font-body); }
.chat-reply-btn:hover { border-color: var(--accent); color: var(--accent); }
.chat-input-row { padding: 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.chat-input { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 13px; padding: 9px 12px; outline: none; font-family: var(--font-body); }
.chat-input:focus { border-color: var(--accent); }
.chat-input::placeholder { color: var(--muted); }
.chat-send { width: 34px; height: 34px; background: var(--accent); border: none; border-radius: 8px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.chat-send:hover { background: var(--accent-dark); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }
.blog-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color 0.2s; }
.blog-card:hover { border-color: var(--border-hover); }
.blog-card-body { padding: 24px; }
.blog-card-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.blog-card-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.blog-card-title a { color: var(--text); text-decoration: none; }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.blog-card-link { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 500; }

/* SINGLE */
.post-header { padding: 120px 40px 60px; max-width: 760px; margin: 0 auto; }
.post-content { max-width: 760px; margin: 0 auto; padding: 0 40px 100px; }
.post-content h2,.post-content h3 { font-family: var(--font-display); color: var(--text); margin: 40px 0 16px; }
.post-content p { color: var(--muted); margin-bottom: 20px; line-height: 1.8; }
.post-content a { color: var(--accent); }
.post-content ul,.post-content ol { color: var(--muted); padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; line-height: 1.7; }
.post-content img { max-width: 100%; border-radius: 12px; margin: 32px 0; }
.post-content blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin: 32px 0; color: var(--muted); font-style: italic; }

/* MOBILE */
@media (max-width: 768px) {
  .site-header { padding: 16px 20px; }
  .main-nav { display: none; }
  .section { padding: 72px 20px; }
  .hero { padding: 100px 20px 64px; }
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .hero-stats { gap: 28px; }
  .process-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 48px 20px 32px; }
  .chat-window { width: calc(100vw - 40px); right: 20px; }
  .post-header,.post-content { padding-left: 20px; padding-right: 20px; }
}

/* ═══════════════════════════════════════════════
   WebsCharras v2.0 — Animaciones & Efectos
═══════════════════════════════════════════════ */

/* ─── CURSOR PERSONALIZADO ─── */
.wc-cursor {
  position: fixed; top: -18px; left: -18px; width: 36px; height: 36px;
  border: 1.5px solid var(--accent); border-radius: 50%; pointer-events: none;
  z-index: 9999; transition: transform 0.1s linear;
  mix-blend-mode: difference;
}
.wc-cursor-dot {
  position: fixed; top: -3px; left: -3px; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%; pointer-events: none;
  z-index: 9999; transition: transform 0.05s linear;
}
.wc-cursor.hover { transform: scale(2.2) !important; border-color: rgba(0,245,255,0.4); }
.wc-cursor-dot.hover { transform: scale(0) !important; }
@media (max-width: 768px) { .wc-cursor, .wc-cursor-dot { display: none; } }

/* ─── GRID BACKGROUND ─── */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* ─── CANVAS HERO ─── */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.6;
}
.hero { position: relative; overflow: hidden; }
.hero > *:not(.hero-canvas) { position: relative; z-index: 1; }

/* ─── SCROLL REVEAL ─── */
.reveal-hidden {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
.reveal-hidden.revealed { opacity: 1; transform: translateY(0); }

/* ─── NAV SCROLLED ─── */
.site-header { transition: padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.site-header.scrolled {
  padding-top: 14px; padding-bottom: 14px;
  border-bottom-color: rgba(0,245,255,0.12);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

/* ─── GLITCH LOGO ─── */
@keyframes glitch1 { 0%,100%{clip-path:inset(0 0 95% 0)} 50%{clip-path:inset(20% 0 60% 0)} }
@keyframes glitch2 { 0%,100%{clip-path:inset(50% 0 30% 0)} 50%{clip-path:inset(80% 0 5% 0)} }
.site-logo { position: relative; display: inline-block; }
.site-logo.glitch::before,
.site-logo.glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  font-family: var(--font-display); font-size: inherit; font-weight: 800;
  letter-spacing: inherit;
}
.site-logo.glitch::before {
  color: #ff00ff; left: 2px;
  animation: glitch1 0.2s steps(1) forwards;
}
.site-logo.glitch::after {
  color: var(--accent); left: -2px;
  animation: glitch2 0.2s steps(1) forwards;
}

/* ─── HERO ENTRADA ─── */
.hero-badge { animation: fadeUp 0.6s 0.1s both; }
.hero-sub    { animation: fadeUp 0.6s 0.5s both; }
.hero-actions { animation: fadeUp 0.6s 0.7s both; }
.hero-stats  { animation: fadeUp 0.6s 0.9s both; }
.urgency     { animation: fadeUp 0.6s 0s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SERVICE CARDS SPOTLIGHT ─── */
.service-card {
  position: relative; overflow: hidden;
  transition: background 0.2s, transform 0.3s cubic-bezier(0.23,1,0.32,1);
}
.service-card::before {
  content: '';
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(400px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(0,245,255,0.07), transparent 60%);
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-4px); }

/* ─── PRICING CARD FEATURED GLOW ─── */
.pricing-card.featured {
  box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(0,245,255,0.1);
  animation: featuredPulse 3s ease-in-out infinite;
}
@keyframes featuredPulse {
  0%,100% { box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(0,245,255,0.1); }
  50%      { box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(0,245,255,0.2), 0 0 40px rgba(0,245,255,0.05); }
}

/* ─── PROCESS STEPS LINE ─── */
.process-list { position: relative; }
.process-list::before {
  content: '';
  position: absolute; left: 20px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.process-step { transition: transform 0.2s; }
.process-step:hover { transform: translateX(4px); }
.step-num {
  position: relative;
  transition: color 0.2s;
}
.step-num::before {
  content: '';
  position: absolute; left: -28px; top: 3px;
  width: 8px; height: 8px;
  background: var(--bg); border: 1px solid var(--accent);
  border-radius: 50%;
  transition: background 0.2s;
}
.process-step:hover .step-num::before { background: var(--accent); }

/* ─── RIPPLE ─── */
.btn-primary, .form-submit, .plan-cta-filled { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0); animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ─── TYPING INDICATOR ─── */
.typing-indicator { display: flex; gap: 4px; align-items: center; padding: 12px 16px !important; }
.typing-indicator span {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: typingBounce 1.2s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

/* ─── FORM SUCCESS ─── */
.form-success {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 48px 32px; gap: 16px;
  border: 1px solid rgba(0,245,255,0.2);
  border-radius: 16px;
  background: rgba(0,245,255,0.03);
  min-height: 300px;
}
.form-success-icon {
  width: 64px; height: 64px;
  background: rgba(0,245,255,0.1);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--accent);
  animation: successPop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes successPop { from{transform:scale(0)} to{transform:scale(1)} }
.form-success h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); }
.form-success p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ─── FORM INPUTS FOCUS MEJORADO ─── */
.form-input, .form-select, .form-textarea {
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,245,255,0.08);
}

/* ─── HERO TITLE GLOW ─── */
.hero h1 .accent {
  text-shadow: 0 0 60px rgba(0,245,255,0.3);
  animation: accentGlow 3s ease-in-out infinite;
}
@keyframes accentGlow {
  0%,100%{text-shadow:0 0 40px rgba(0,245,255,0.2)}
  50%{text-shadow:0 0 80px rgba(0,245,255,0.5), 0 0 120px rgba(0,245,255,0.2)}
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ─── URGENCY BADGE MEJORADO ─── */
.urgency { animation: urgencySlide 0.6s cubic-bezier(0.23,1,0.32,1) both; }
@keyframes urgencySlide { from{opacity:0;transform:translateX(-16px)} to{opacity:1;transform:translateX(0)} }

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ─── NAV ACTIVE STATE ─── */
.main-nav a { position: relative; }
.main-nav a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ─── FOOTER GRADIENT ─── */
.site-footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
  margin-bottom: 0;
}

/* ─── CHAT BUBBLE PULSE ─── */
.chat-bubble::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: chatPulse 2s ease-out infinite;
}
@keyframes chatPulse { 0%{transform:scale(1);opacity:0.6} 100%{transform:scale(1.5);opacity:0} }

/* ─── SECTION DIVIDERS ─── */
.section--alt { position: relative; }
.section--alt::before {
  content: '';
  position: absolute; top: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ─── HERO BADGE SHINE ─── */
.hero-badge {
  position: relative; overflow: hidden;
}
.hero-badge::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,245,255,0.15), transparent);
  animation: badgeShine 3s ease-in-out infinite 1s;
}
@keyframes badgeShine { 0%,100%{left:-100%} 50%{left:150%} }
