/* ============================================================
   IAMANOS.COM — Deep Tech Website
   ============================================================ */

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

:root {
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --blue-glow: rgba(37,99,235,0.35);
  --gold: #f5c842;
  --orange: #f97316;
  --bg: #000000;
  --bg-2: #0a0a0f;
  --bg-card: #0d1117;
  --bg-card-hover: #111827;
  --text: #f0f0f0;
  --text-muted: #8b949e;
  --border: rgba(37,99,235,0.18);
  --border-subtle: rgba(255,255,255,0.06);
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(90deg, var(--blue-light), var(--blue), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-header { text-align: center; margin-bottom: 64px; position: relative; z-index: 2; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px var(--blue-glow);
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 32px var(--blue-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--text);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); background: rgba(37,99,235,0.07); }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(0,0,0,0.97); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px;
}
.nav-logo-img { height: 48px; width: auto; filter: drop-shadow(0 2px 12px rgba(37,99,235,0.5)); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-ai {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.4);
  color: var(--blue-light);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ai:hover { background: rgba(37,99,235,0.22); border-color: var(--blue); }
.btn-ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulseDot 2s infinite; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.nav-mobile { display: none; flex-direction: column; padding: 12px 24px 20px; gap: 16px; border-top: 1px solid var(--border-subtle); }
.nav-mobile a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.nav-mobile.open { display: flex; }
.mobile-cta { color: var(--blue-light) !important; font-weight: 600; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 24px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted); margin-bottom: 36px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .stat-num { font-size: 2.4rem; font-weight: 900; color: var(--blue-light); line-height: 1; }
.hero-stat .stat-sym { font-size: 1.4rem; font-weight: 700; color: var(--blue-light); }
.hero-stat .stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.hero-stat-divider { width: 1px; height: 48px; background: var(--border-subtle); }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll span { font-size: 0.7rem; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--blue), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* ── SECTION DARK ── */
.section-dark { background: var(--bg-2); padding: 100px 0; }

/* ── NORMALIDAD ── */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.split-text h2 em { font-style: normal; color: var(--blue-light); }
.split-text p { color: var(--text-muted); margin-bottom: 24px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { padding-left: 24px; position: relative; color: var(--text-muted); font-size: 0.95rem; }
.check-list li::before { content: '→'; position: absolute; left: 0; color: var(--blue); }

/* Funnel diagram */
.funnel-diagram { display: flex; flex-direction: column; align-items: center; gap: 0; position: relative; }
.funnel-step { position: relative; width: 100%; display: flex; justify-content: flex-end; align-items: center; padding: 12px 0; }
.funnel-label-right { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-muted); text-align: right; }
.funnel-top::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 80%; height: 2px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.funnel-mid::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 55%; height: 2px; background: linear-gradient(90deg, transparent, rgba(37,99,235,0.4), transparent); }
.funnel-bot::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 30%; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.funnel-result { text-align: center; padding: 20px 32px; background: rgba(37,99,235,0.1); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 8px; position: relative; }
.funnel-glow { position: absolute; inset: -1px; border-radius: var(--radius); background: radial-gradient(ellipse, rgba(37,99,235,0.2), transparent); pointer-events: none; animation: funnelGlow 2s ease-in-out infinite; }
@keyframes funnelGlow { 0%,100%{opacity:0.6} 50%{opacity:1} }
.funnel-result span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--blue-light); text-transform: uppercase; }

/* ── MISSION ── */
.section-mission { padding: 100px 0; background: var(--bg); }
.mission-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mission-circles { display: flex; justify-content: center; }
.circle-outer {
  width: 320px; height: 220px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.circle-outer::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px; top: -10px;
  border-radius: 50%;
  border: 1px solid rgba(37,99,235,0.2);
  animation: rotateSlow 20s linear infinite;
}
.circle-outer::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px; top: -40px;
  border-radius: 50%;
  border: 1px dashed rgba(37,99,235,0.1);
}
.circle-center {
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(37,99,235,0.15);
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 0.78rem; font-weight: 700; line-height: 1.3;
  color: var(--blue-light);
  position: relative; z-index: 2;
  animation: breathe 4s ease-in-out infinite;
}
.circle-label-left, .circle-label-right {
  position: absolute; font-size: 0.72rem; font-weight: 600; color: var(--text-muted); width: 80px; line-height: 1.3;
}
.circle-label-left { left: 0; text-align: left; }
.circle-label-right { right: 0; text-align: right; }
@keyframes rotateSlow { to { transform: rotate(360deg); } }
@keyframes breathe { 0%,100%{box-shadow:0 0 0 0 var(--blue-glow)} 50%{box-shadow:0 0 30px 10px var(--blue-glow)} }

.mission-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.mission-quote { font-size: 1.1rem; font-style: italic; color: var(--blue-light); border-left: 3px solid var(--blue); padding-left: 16px; margin: 24px 0; }
.mission-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.mission-points li { font-size: 0.92rem; color: var(--text-muted); }
.mission-points li strong { color: var(--text); }
.origin-tag { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.origin-tag span { font-size: 0.82rem; font-weight: 600; padding: 4px 10px; background: rgba(37,99,235,0.08); border: 1px solid var(--border); border-radius: 20px; color: var(--text-muted); }

/* ── SERVICES ── */
.section-services { padding: 100px 0; background: var(--bg); position: relative; overflow: hidden; }
.services-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; pointer-events: none; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 2; }
.service-card--wide { grid-column: span 1; }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity 0.3s;
}
/* Shimmer highlight follows cursor on tilt */
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(96,165,250,0.09) 0%, transparent 65%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none; z-index: 0;
}
.service-card:hover { border-color: var(--border); box-shadow: 0 24px 64px rgba(0,0,0,0.55); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-icon { width: 48px; height: 48px; color: var(--blue-light); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-card ul li { font-size: 0.82rem; color: var(--text-muted); padding-left: 16px; position: relative; }
.service-card ul li::before { content: '·'; position: absolute; left: 0; color: var(--blue); font-size: 1.2rem; line-height: 1; }
.service-ul-inline { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.service-ul-inline li { background: rgba(37,99,235,0.07); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; font-size: 0.78rem; }
.service-ul-inline li::before { display: none; }
.service-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--blue-light);
  text-decoration: none;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit;
  transition: color 0.2s, transform 0.15s;
}
.service-cta:hover { color: #fff; transform: translateX(3px); }
.hidden { display: none !important; }

/* ── PROCESS ── */
.section-process { padding: 100px 0; }
.process-track { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; margin-top: 16px; }
.process-line { position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--blue), rgba(37,99,235,0.3)); z-index: 0; }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 0 16px; position: relative; z-index: 1; }
.process-node {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: var(--blue-light);
}
.process-node--gold { border-color: var(--gold); color: var(--gold); }
.process-step h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.process-step--highlight h4 { color: var(--gold); }

/* ── CASES ── */
.section-cases { padding: 100px 0; background: var(--bg-2); }
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.case-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(96,165,250,0.09) 0%, transparent 65%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.case-card:hover { border-color: var(--border); box-shadow: 0 20px 56px rgba(0,0,0,0.5); }
.case-card:hover::after { opacity: 1; }
.case-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-light); }
.case-card h3 { font-size: 1.2rem; font-weight: 800; }
.case-challenge, .case-solution { font-size: 0.88rem; color: var(--text-muted); }
.case-challenge strong, .case-solution strong { color: var(--text); }
.case-metric { padding: 20px; background: rgba(37,99,235,0.07); border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.metric-num { font-size: 3.5rem; font-weight: 900; color: var(--blue-light); line-height: 1; }
.metric-sym { font-size: 2rem; font-weight: 900; color: var(--blue-light); }
.metric-label { font-size: 0.8rem; color: var(--text-muted); }
.metric-label-top { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.metric-big { font-size: 2rem; font-weight: 900; color: var(--blue-light); }
.case-card blockquote { font-size: 0.84rem; font-style: italic; color: var(--text-muted); border-left: 2px solid var(--blue); padding-left: 12px; margin-top: auto; }

/* ── GUARANTEE ── */
.section-guarantee { position: relative; padding: 100px 0; background: var(--bg); overflow: hidden; }
.guarantee-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.guarantee-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; max-width: 900px; margin: 0 auto; }
.guarantee-shield svg { width: 100px; height: 120px; filter: drop-shadow(0 0 24px rgba(37,99,235,0.5)); animation: shieldPulse 3s ease-in-out infinite; }
@keyframes shieldPulse { 0%,100%{filter:drop-shadow(0 0 16px rgba(37,99,235,0.4))} 50%{filter:drop-shadow(0 0 40px rgba(37,99,235,0.8))} }
.guarantee-text { flex: 1; }
.guarantee-text h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 16px; }
.guarantee-text p { color: var(--text-muted); margin-bottom: 28px; }

/* ── WHY ── */
.section-why { padding: 100px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.why-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(96,165,250,0.09) 0%, transparent 65%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.why-card:hover { border-color: var(--border); box-shadow: 0 20px 56px rgba(0,0,0,0.5); }
.why-card:hover::after { opacity: 1; }
.why-icon { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--blue-light); }
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ── CONTACT ── */
.section-contact { padding: 100px 0; background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); text-decoration: none; font-size: 0.92rem;
  transition: color 0.2s;
}
.contact-item:hover { color: var(--blue-light); }
.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); }
.social-links { display: flex; gap: 16px; flex-wrap: wrap; }
.social-links a { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-decoration: none; padding: 6px 14px; border: 1px solid var(--border-subtle); border-radius: 20px; transition: border-color 0.2s, color 0.2s; }
.social-links a:hover { border-color: var(--blue); color: var(--blue-light); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 16px;
  font-size: 0.92rem; font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group select { cursor: pointer; appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; }

/* ── FOOTER ── */
.footer { position: relative; background: var(--bg); border-top: 1px solid var(--border-subtle); overflow: hidden; padding-top: 64px; }
.footer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; }
.footer-inner { position: relative; z-index: 2; display: flex; gap: 80px; padding-bottom: 48px; }
.footer-brand { flex: 1; }
.footer-logo { height: 60px; width: auto; margin-bottom: 16px; filter: drop-shadow(0 2px 12px rgba(37,99,235,0.4)); }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.footer-col a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom { position: relative; z-index: 2; border-top: 1px solid var(--border-subtle); padding: 20px 24px; text-align: center; max-width: 1200px; margin: 0 auto; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }

/* ── CHAT WIDGET ── */
.chat-widget {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 32px var(--blue-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: widgetBounce 0.6s ease 3s both;
}
.chat-widget svg { width: 26px; height: 26px; }
.chat-widget:hover { transform: scale(1.1); box-shadow: 0 12px 48px rgba(37,99,235,0.6); }
.chat-widget-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.5);
  animation: widgetPulse 2.5s ease-in-out infinite;
}
.chat-widget-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em;
  position: absolute; bottom: -22px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
  padding: 2px 8px; color: var(--blue-light); white-space: nowrap;
}
@keyframes widgetPulse { 0%,100%{transform:scale(1);opacity:0.6} 50%{transform:scale(1.3);opacity:0} }
@keyframes widgetBounce { from{transform:scale(0.5);opacity:0} to{transform:scale(1);opacity:1} }

/* ══════════════════════════════════════════════════════════
   LOGO GEAR ANIMATION
   ══════════════════════════════════════════════════════════ */

/* Nav logo wrapper — rings live as ::before / ::after */
.nav-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  overflow: visible;
}

/* ① Outer gear ring — 8 teeth (blue / sky / gold alternating) */
.nav-logo::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(
    #2563eb    0deg   22.5deg,
    transparent 22.5deg 45deg,
    #60a5fa    45deg  67.5deg,
    transparent 67.5deg 90deg,
    #f5c842    90deg  112.5deg,
    transparent 112.5deg 135deg,
    #2563eb    135deg 157.5deg,
    transparent 157.5deg 180deg,
    #60a5fa    180deg 202.5deg,
    transparent 202.5deg 225deg,
    #f5c842    225deg 247.5deg,
    transparent 247.5deg 270deg,
    #2563eb    270deg 292.5deg,
    transparent 292.5deg 315deg,
    #60a5fa    315deg 337.5deg,
    transparent 337.5deg 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), white calc(100% - 4px));
  mask:         radial-gradient(farthest-side, transparent calc(100% - 4px), white calc(100% - 4px));
  animation: gearRotateFwd 9s linear infinite, gearRingIntro 2.5s ease 0.2s both;
  pointer-events: none;
  z-index: 10;
}

/* ② Inner counter-rotating ring — 4 arcs */
.nav-logo::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(
    rgba(245,200,66,0.75) 0deg   30deg,
    transparent           30deg  90deg,
    rgba(37,99,235,0.75)  90deg  120deg,
    transparent           120deg 180deg,
    rgba(245,200,66,0.75) 180deg 210deg,
    transparent           210deg 270deg,
    rgba(37,99,235,0.75)  270deg 300deg,
    transparent           300deg 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), white calc(100% - 2.5px));
  mask:         radial-gradient(farthest-side, transparent calc(100% - 2.5px), white calc(100% - 2.5px));
  animation: gearRotateRev 5.5s linear infinite, gearRingIntro 2.5s ease 0.5s both;
  pointer-events: none;
  z-index: 10;
}

@keyframes gearRotateFwd { to { transform: rotate(360deg);  } }
@keyframes gearRotateRev { to { transform: rotate(-360deg); } }

/* Ring fades in from nothing, then settles at 0.45 opacity */
@keyframes gearRingIntro {
  0%   { opacity: 0;   transform: scale(0.4) rotate(-120deg); }
  60%  { opacity: 1;   transform: scale(1.05) rotate(10deg); }
  100% { opacity: 0.45; transform: scale(1) rotate(0deg); }
}

/* Hover: rings fully visible + faster glow */
.nav-logo:hover::before { opacity: 1; animation-duration: 3s, 0s; }
.nav-logo:hover::after  { opacity: 1; animation-duration: 2s, 0s; }
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 16px rgba(37,99,235,0.85)) drop-shadow(0 0 30px rgba(96,165,250,0.4));
}

/* Dramatic entrance for the logo image */
.nav-logo-img {
  animation: logoIntro 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: filter 0.3s;
}

@keyframes logoIntro {
  0% {
    opacity: 0;
    transform: scale(0.25) rotate(-35deg);
    filter: brightness(6) saturate(2) drop-shadow(0 0 50px #2563eb) drop-shadow(0 0 80px #60a5fa);
  }
  45% {
    filter: brightness(2.5) drop-shadow(0 0 28px rgba(37,99,235,0.9));
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 2px 12px rgba(37,99,235,0.5));
  }
}

/* Footer logo – bigger, animated on scroll-into-view (JS adds .gear-visible) */
.footer-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  transition: filter 0.4s, transform 0.4s;
}

.footer-logo-wrap:hover .footer-logo {
  filter: drop-shadow(0 0 20px rgba(37,99,235,0.8)) drop-shadow(0 0 40px rgba(245,200,66,0.3));
  transform: scale(1.08);
}

/* Outer gear ring for footer logo */
.footer-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: conic-gradient(
    #2563eb    0deg   20deg,
    transparent 20deg  45deg,
    #f5c842    45deg  65deg,
    transparent 65deg  90deg,
    #60a5fa    90deg  110deg,
    transparent 110deg 135deg,
    #2563eb    135deg 155deg,
    transparent 155deg 180deg,
    #f5c842    180deg 200deg,
    transparent 200deg 225deg,
    #60a5fa    225deg 245deg,
    transparent 245deg 270deg,
    #2563eb    270deg 290deg,
    transparent 290deg 315deg,
    #f5c842    315deg 335deg,
    transparent 335deg 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), white calc(100% - 5px));
  mask:         radial-gradient(farthest-side, transparent calc(100% - 5px), white calc(100% - 5px));
  animation: gearRotateFwd 14s linear infinite;
  opacity: 0.35;
  pointer-events: none;
}

/* Inner ring for footer logo */
.footer-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: conic-gradient(
    rgba(245,200,66,0.6) 0deg 35deg, transparent 35deg 90deg,
    rgba(37,99,235,0.6)  90deg 125deg, transparent 125deg 180deg,
    rgba(245,200,66,0.6) 180deg 215deg, transparent 215deg 270deg,
    rgba(37,99,235,0.6)  270deg 305deg, transparent 305deg 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), white calc(100% - 3px));
  mask:         radial-gradient(farthest-side, transparent calc(100% - 3px), white calc(100% - 3px));
  animation: gearRotateRev 8s linear infinite;
  opacity: 0.35;
  pointer-events: none;
}

.footer-logo-wrap:hover::before,
.footer-logo-wrap:hover::after {
  opacity: 1;
  animation-duration: 4s, 2.5s;
}

/* ══════════════════════════════════════════════════════════
   SOCIAL MEDIA ICONS — ANIMATED NEON
   ══════════════════════════════════════════════════════════ */

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.social-icon {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  transition:
    transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.3s,
    border-color 0.3s,
    background 0.3s;
  animation: socialFloat 4s ease-in-out infinite;
  overflow: visible;
}
.social-icon:nth-child(2) { animation-delay: 0.6s;  }
.social-icon:nth-child(3) { animation-delay: 1.2s;  }
.social-icon:nth-child(4) { animation-delay: 1.8s;  }
.social-icon:nth-child(5) { animation-delay: 2.4s;  }

@keyframes socialFloat {
  0%,100% { transform: translateY(0);   }
  50%      { transform: translateY(-5px); }
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: rgba(255,255,255,0.6);
  transition: fill 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.social-icon:hover {
  transform: scale(1.25) translateY(-4px) !important;
}
.social-icon:hover svg {
  transform: scale(1.1);
}

/* ── Per-brand hover colours & glows ── */
.social-icon--tiktok:hover {
  background: rgba(254,44,85,0.18);
  border-color: #fe2c55;
  box-shadow: 0 0 18px rgba(254,44,85,0.55), 0 0 40px rgba(254,44,85,0.25);
}
.social-icon--tiktok:hover svg { fill: #fe2c55; }

.social-icon--instagram:hover {
  background: rgba(225,48,108,0.18);
  border-color: #e1306c;
  box-shadow: 0 0 18px rgba(225,48,108,0.55), 0 0 40px rgba(225,48,108,0.25),
              inset 0 0 20px rgba(240,148,51,0.1);
}
.social-icon--instagram:hover svg { fill: #e1306c; }

.social-icon--x:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 18px rgba(255,255,255,0.2), 0 0 36px rgba(255,255,255,0.08);
}
.social-icon--x:hover svg { fill: #ffffff; }

.social-icon--facebook:hover {
  background: rgba(24,119,242,0.18);
  border-color: #1877f2;
  box-shadow: 0 0 18px rgba(24,119,242,0.6), 0 0 40px rgba(24,119,242,0.25);
}
.social-icon--facebook:hover svg { fill: #1877f2; }

.social-icon--youtube:hover {
  background: rgba(255,0,0,0.18);
  border-color: #ff0000;
  box-shadow: 0 0 18px rgba(255,0,0,0.6), 0 0 40px rgba(255,0,0,0.25);
}
.social-icon--youtube:hover svg { fill: #ff0000; }

/* Ambient glow pulse on each icon (subtle, always on) */
.social-icon--tiktok  { box-shadow: 0 0 8px rgba(254,44,85,0.12);  }
.social-icon--instagram { box-shadow: 0 0 8px rgba(225,48,108,0.12); }
.social-icon--facebook  { box-shadow: 0 0 8px rgba(24,119,242,0.12); }
.social-icon--youtube   { box-shadow: 0 0 8px rgba(255,0,0,0.12);    }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card--wide { grid-column: span 1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .funnel-diagram { display: none; }
  .mission-inner { grid-template-columns: 1fr; gap: 40px; }
  .mission-circles { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; gap: 24px; }
  .process-line { display: none; }
  .cases-grid { grid-template-columns: 1fr; }
  .guarantee-inner { flex-direction: column; text-align: center; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 32px; }
  .hero-stats { gap: 20px; }
  .hero-stat-divider { display: none; }
}

/* ══════════════════════════════════════════════════════════
   FUTURISTIC SERVICE MODAL
   ══════════════════════════════════════════════════════════ */

/* ── Overlay wrapper ── */
.svc-modal {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.svc-modal.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Backdrop ── */
.svc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,2,15,0.82);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
}

/* ── Panel ── */
.svc-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 740px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: rgba(2,6,30,0.92);
  border: 1px solid rgba(37,99,235,0.5);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(96,165,250,0.12) inset,
    0 0 80px rgba(37,99,235,0.18),
    0 0 160px rgba(37,99,235,0.08),
    0 40px 100px rgba(0,0,0,0.85);
  transform: scale(0.88) translateY(30px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-modal.open .svc-modal__panel {
  transform: scale(1) translateY(0);
}

/* ── Animated scan line ── */
.svc-modal__scan {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(37,99,235,0.6) 20%,
    rgba(96,165,250,1) 50%,
    rgba(245,200,66,0.7) 70%,
    transparent 100%
  );
  animation: modalScan 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}
@keyframes modalScan {
  0%   { top: 0;    opacity: 1;  }
  80%  { top: 100%; opacity: 0.5; }
  100% { top: 100%; opacity: 0;  }
}

/* ── Subtle grid overlay ── */
.svc-modal__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── Cyberpunk corner brackets ── */
.svc-modal__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 5;
}
.svc-modal__corner::before,
.svc-modal__corner::after {
  content: '';
  position: absolute;
  background: var(--blue-light);
}
.svc-modal__corner::before { width: 2px; height: 100%; top: 0; left: 0; }
.svc-modal__corner::after  { width: 100%; height: 2px; top: 0; left: 0; }
.svc-modal__corner--tl { top: 14px;    left: 14px;   }
.svc-modal__corner--tr { top: 14px;    right: 14px;  transform: scaleX(-1); }
.svc-modal__corner--bl { bottom: 14px; left: 14px;   transform: scaleY(-1); }
.svc-modal__corner--br { bottom: 14px; right: 14px;  transform: scale(-1);  }

/* ── Header ── */
.svc-modal__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 36px 40px 20px;
  background: linear-gradient(160deg,
    rgba(37,99,235,0.12) 0%,
    rgba(2,6,30,0) 60%
  );
}
.svc-modal__num {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(37,99,235,0.5);
  letter-spacing: -0.03em;
  min-width: 56px;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.svc-modal__title-wrap { flex: 1; }
.svc-modal__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid rgba(37,99,235,0.4);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.svc-modal__title {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}
.svc-modal__close {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  margin-top: 2px;
}
.svc-modal__close:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.5);
  color: #ef4444;
}
.svc-modal__close svg { width: 18px; height: 18px; }

/* ── Glowing divider ── */
.svc-modal__divider {
  height: 1px;
  margin: 0 40px;
  background: linear-gradient(90deg,
    transparent,
    rgba(37,99,235,0.6),
    rgba(96,165,250,0.8),
    rgba(245,200,66,0.4),
    transparent
  );
  position: relative;
  z-index: 2;
}

/* ── Scrollable body ── */
.svc-modal__body {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  padding: 28px 40px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37,99,235,0.4) transparent;
}
.svc-modal__body::-webkit-scrollbar { width: 4px; }
.svc-modal__body::-webkit-scrollbar-track { background: transparent; }
.svc-modal__body::-webkit-scrollbar-thumb { background: rgba(37,99,235,0.4); border-radius: 4px; }

.svc-modal__tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 16px;
  line-height: 1.4;
}
.svc-modal__desc {
  font-size: 0.95rem;
  color: rgba(240,240,240,0.8);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ── Bullet points ── */
.svc-modal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.svc-modal__list li {
  position: relative;
  padding: 14px 18px 14px 50px;
  background: rgba(37,99,235,0.07);
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: 10px;
  font-size: 0.9rem;
  color: rgba(240,240,240,0.85);
  line-height: 1.55;
  transition: background 0.2s, border-color 0.2s;
}
.svc-modal__list li:hover {
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.35);
}
.svc-modal__list li::before {
  content: '→';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-light);
  font-weight: 700;
  font-size: 1rem;
}
.svc-modal__list li strong {
  color: #fff;
  font-weight: 700;
}

/* ── Guarantee box ── */
.svc-modal__guarantee {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(245,200,66,0.07);
  border: 1px solid rgba(245,200,66,0.3);
  border-radius: 10px;
  margin-bottom: 4px;
}
.svc-modal__guarantee svg {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.svc-modal__guarantee p {
  font-size: 0.88rem;
  color: rgba(245,200,66,0.9);
  line-height: 1.5;
  font-weight: 500;
}

/* ── Footer CTA ── */
.svc-modal__footer {
  position: relative;
  z-index: 2;
  padding: 20px 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,2,15,0.3);
}
.svc-modal__cta {
  font-size: 0.92rem;
  padding: 14px 26px;
}
.svc-modal__whatsapp-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-left: 4px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .svc-modal__panel { border-radius: 14px; }
  .svc-modal__header { padding: 28px 24px 18px; gap: 14px; }
  .svc-modal__num { font-size: 2rem; min-width: 44px; }
  .svc-modal__divider { margin: 0 24px; }
  .svc-modal__body { padding: 20px 24px; }
  .svc-modal__footer { padding: 16px 24px 24px; }
  .svc-modal__cta { width: 100%; justify-content: center; font-size: 0.85rem; }
  .svc-modal__corner { display: none; }
}

/* ══════════════════════════════════════════════════════════
   NAV ACCESS BUTTON
   ══════════════════════════════════════════════════════════ */

.btn-access {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,200,66,0.08);
  border: 1px solid rgba(245,200,66,0.45);
  color: #f5c842;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.04em;
  transition: background 0.2s, box-shadow 0.25s, border-color 0.2s, color 0.2s;
  animation: accessGlow 3s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes accessGlow {
  0%,100% { box-shadow: 0 0 6px rgba(245,200,66,0.15); }
  50%      { box-shadow: 0 0 20px rgba(245,200,66,0.45), 0 0 40px rgba(245,200,66,0.12); }
}
.btn-access:hover {
  background: rgba(245,200,66,0.16);
  border-color: #f5c842;
  box-shadow: 0 0 28px rgba(245,200,66,0.55), 0 0 56px rgba(245,200,66,0.18);
}
.btn-access.ia-logged {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.5);
  color: #22c55e;
  animation: none;
}
.btn-access.ia-logged:hover {
  background: rgba(34,197,94,0.15);
  box-shadow: 0 0 20px rgba(34,197,94,0.4);
}
.btn-access-icon { display: flex; align-items: center; }
.btn-access-icon svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════════════════════
   LOGIN MODAL — CYBERPUNK SECURE TERMINAL
   ══════════════════════════════════════════════════════════ */

.ia-login-modal {
  position: fixed;
  inset: 0;
  z-index: 9996;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.ia-login-modal.open {
  opacity: 1;
  pointer-events: all;
}

.ia-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,10,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#ia-login-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

/* ── Login panel ── */
.ia-login-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 410px;
  padding: 42px 38px 34px;
  background: rgba(1,4,18,0.97);
  border: 1px solid rgba(37,99,235,0.65);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(96,165,250,0.1) inset,
    0 0 120px rgba(37,99,235,0.28),
    0 0 240px rgba(37,99,235,0.1),
    0 40px 100px rgba(0,0,0,0.95);
  transform: scale(0.82) translateY(50px);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ia-login-modal.open .ia-login-panel {
  transform: scale(1) translateY(0);
}
.ia-login-panel.shake {
  animation: loginShake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes loginShake {
  0%,100% { transform: translateX(0) scale(1); }
  15%     { transform: translateX(-12px) scale(1.01); }
  30%     { transform: translateX(10px) scale(1.01); }
  45%     { transform: translateX(-8px); }
  60%     { transform: translateX(8px); }
  75%     { transform: translateX(-4px); }
}
.ia-login-panel.ia-login-success {
  border-color: rgba(34,197,94,0.8);
  box-shadow: 0 0 60px rgba(34,197,94,0.35), 0 0 120px rgba(34,197,94,0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Scan line */
.ia-login-scan {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1e40af, #60a5fa, #f5c842, transparent);
  animation: modalScan 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* Corners */
.ia-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 5;
}
.ia-corner::before,
.ia-corner::after { content: ''; position: absolute; background: #60a5fa; }
.ia-corner::before { width: 2px; height: 100%; }
.ia-corner::after  { width: 100%; height: 2px; }
.ia-corner--tl { top: 10px; left: 10px; }
.ia-corner--tr { top: 10px; right: 10px; transform: scaleX(-1); }
.ia-corner--bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.ia-corner--br { bottom: 10px; right: 10px; transform: scale(-1); }

/* Logo centered */
.ia-login-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.ia-login-logo { height: 56px !important; width: auto !important; }

/* System label row */
.ia-login-sys-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ia-sys-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-light);
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
}
.ia-sys-version {
  font-size: 0.6rem;
  color: #22c55e;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
}

/* Titles */
.ia-login-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.15;
}
.ia-login-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Form fields */
.ia-field-group { margin-bottom: 20px; }
.ia-field-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-light);
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.ia-field-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1.5px solid rgba(37,99,235,0.4);
  padding-bottom: 8px;
  transition: border-color 0.25s;
}
.ia-field-wrap:focus-within { border-color: #60a5fa; }
.ia-field-wrap svg {
  width: 17px; height: 17px;
  color: rgba(37,99,235,0.7);
  flex-shrink: 0;
  transition: color 0.2s;
}
.ia-field-wrap:focus-within svg { color: #60a5fa; }
.ia-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.04em;
  caret-color: #60a5fa;
}
.ia-input::placeholder { color: rgba(255,255,255,0.18); }

/* Error */
.ia-login-error {
  font-size: 0.72rem;
  color: #ef4444;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.06em;
  min-height: 18px;
  margin-bottom: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}
.ia-login-error.visible { opacity: 1; }

/* Submit button */
.ia-login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.85) 0%, rgba(30,64,175,0.9) 100%);
  border: 1px solid rgba(96,165,250,0.5);
  border-radius: 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, box-shadow 0.25s, transform 0.15s;
  box-shadow: 0 0 24px rgba(37,99,235,0.35);
  text-transform: uppercase;
}
.ia-login-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 0 50px rgba(37,99,235,0.65), 0 0 90px rgba(37,99,235,0.2);
  transform: translateY(-2px);
}
.ia-login-btn:active { transform: translateY(0); }
.ia-login-btn-icon { display: flex; align-items: center; }
.ia-login-btn-icon svg { width: 17px; height: 17px; }

/* Footer note */
.ia-login-footer {
  text-align: center;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.16);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
  margin-top: 18px;
}

/* ══════════════════════════════════════════════════════════
   APP OVERLAY — FULL-SCREEN CHAT APP
   ══════════════════════════════════════════════════════════ */

.ia-app-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: flex;
  flex-direction: column;
  background: #000;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ia-app-overlay.open { transform: translateY(0); }

/* Top bar */
.ia-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 54px;
  background: rgba(1,4,18,1);
  border-bottom: 1px solid rgba(37,99,235,0.4);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 30px rgba(37,99,235,0.18);
}
.ia-app-topbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2563eb, #60a5fa, #f5c842, transparent);
  opacity: 0.6;
}
.ia-app-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ia-app-topbar-info {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.ia-app-topbar-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.ia-app-topbar-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: #22c55e;
  margin-top: 3px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.08em;
}
.ia-app-close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ia-app-close:hover {
  background: rgba(239,68,68,0.14);
  border-color: rgba(239,68,68,0.45);
  color: #ef4444;
}
.ia-app-close svg { width: 13px; height: 13px; }

/* iframe fills remaining space */
.ia-app-iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: #000;
  display: block;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .ia-login-panel { padding: 32px 24px 28px; }
  .ia-login-title { font-size: 1.3rem; }
  .btn-access-text { display: none; }
  .btn-access { padding: 8px 10px; }
}

/* ══════════════════════════════════════════════════════════
   METODOLOGÍA — ANIMATED PROCESS SECTION
   ══════════════════════════════════════════════════════════ */

/* Line sweep animation */
.process-line {
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(37,99,235,0.3));
  overflow: hidden;
}
.process-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(96,165,250,0.9) 40%,
    rgba(245,200,66,0.7) 60%,
    transparent 100%);
  animation: processLineSweep 2.8s ease-in-out infinite;
}
@keyframes processLineSweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

/* Node glow pulse */
@keyframes nodeGlowBlue {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.5), 0 0 12px rgba(37,99,235,0.2); }
  50%     { box-shadow: 0 0 0 10px rgba(37,99,235,0), 0 0 28px rgba(37,99,235,0.6); }
}
@keyframes nodeGlowGold {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,200,66,0.6), 0 0 12px rgba(245,200,66,0.3); }
  50%     { box-shadow: 0 0 0 10px rgba(245,200,66,0), 0 0 32px rgba(245,200,66,0.8); }
}
.process-node {
  animation: nodeGlowBlue 2.5s ease-in-out infinite;
}
.process-node--gold {
  animation: nodeGlowGold 2s ease-in-out infinite;
}

/* Step entrance stagger */
@keyframes processStepIn {
  from { opacity: 0; transform: translateY(32px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.process-step.revealed {
  animation: processStepIn 0.7s cubic-bezier(0.34,1.38,0.64,1) both;
}
.process-step.revealed:nth-child(2) { animation-delay: 0.1s; }
.process-step.revealed:nth-child(3) { animation-delay: 0.22s; }
.process-step.revealed:nth-child(4) { animation-delay: 0.34s; }
.process-step.revealed:nth-child(5) { animation-delay: 0.46s; }

/* Node number count-up visual */
.process-node {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), color 0.3s;
}
.process-node:hover {
  transform: scale(1.25);
}
.process-step--highlight .process-node--gold:hover {
  transform: scale(1.3) rotate(5deg);
}

/* Floating label */
.process-step h4 {
  transition: color 0.3s, transform 0.3s;
}
.process-step:hover h4 {
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Section background tweak */
.section-process {
  position: relative;
  overflow: hidden;
}
.section-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%,
    rgba(37,99,235,0.06) 0%,
    transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   CONTACT SECTION — SOCIAL LINKS (ICON CIRCLES)
   ══════════════════════════════════════════════════════════ */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s, background 0.3s;
  animation: socialFloat 4s ease-in-out infinite;
}
.social-links a:nth-child(2) { animation-delay: 0.5s; }
.social-links a:nth-child(3) { animation-delay: 1s; }
.social-links a:nth-child(4) { animation-delay: 1.5s; }
.social-links a:nth-child(5) { animation-delay: 2s; }
.social-links a svg {
  width: 20px;
  height: 20px;
  fill: rgba(255,255,255,0.55);
  transition: fill 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.social-links a:hover { transform: scale(1.25) translateY(-4px) !important; }
.social-links a:hover svg { transform: scale(1.1); }

.social-links a[aria-label="TikTok"]     { box-shadow: 0 0 8px rgba(254,44,85,0.12); }
.social-links a[aria-label="Instagram"]  { box-shadow: 0 0 8px rgba(225,48,108,0.12); }
.social-links a[aria-label="Facebook"]   { box-shadow: 0 0 8px rgba(24,119,242,0.12); }
.social-links a[aria-label="YouTube"]    { box-shadow: 0 0 8px rgba(255,0,0,0.12); }

.social-links a[aria-label="TikTok"]:hover    { background:rgba(254,44,85,0.18); border-color:#fe2c55; box-shadow:0 0 18px rgba(254,44,85,0.55),0 0 40px rgba(254,44,85,0.25); }
.social-links a[aria-label="TikTok"]:hover svg { fill:#fe2c55; }
.social-links a[aria-label="Instagram"]:hover { background:rgba(225,48,108,0.18); border-color:#e1306c; box-shadow:0 0 18px rgba(225,48,108,0.55),0 0 40px rgba(225,48,108,0.25); }
.social-links a[aria-label="Instagram"]:hover svg { fill:#e1306c; }
.social-links a[aria-label="X"]:hover         { background:rgba(255,255,255,0.12); border-color:rgba(255,255,255,0.6); box-shadow:0 0 18px rgba(255,255,255,0.2); }
.social-links a[aria-label="X"]:hover svg     { fill:#ffffff; }
.social-links a[aria-label="Facebook"]:hover  { background:rgba(24,119,242,0.18); border-color:#1877f2; box-shadow:0 0 18px rgba(24,119,242,0.6),0 0 40px rgba(24,119,242,0.25); }
.social-links a[aria-label="Facebook"]:hover svg { fill:#1877f2; }
.social-links a[aria-label="YouTube"]:hover   { background:rgba(255,0,0,0.18); border-color:#ff0000; box-shadow:0 0 18px rgba(255,0,0,0.6),0 0 40px rgba(255,0,0,0.25); }
.social-links a[aria-label="YouTube"]:hover svg { fill:#ff0000; }

/* ══════════════════════════════════════════════════════════
   CONTACT FORM — FUTURISTIC REDESIGN
   ══════════════════════════════════════════════════════════ */

.contact-form {
  position: relative;
  background: rgba(15,20,40,0.7);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 20px;
  padding: 40px 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}

/* Orbiting ring 1 */
.contact-form::before {
  content: '';
  position: absolute;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  top: -40px;
  left: -40px;
  border-radius: 50%;
  border: 1.5px solid rgba(37,99,235,0.18);
  pointer-events: none;
  animation: formOrbit1 14s linear infinite;
  transform-origin: center center;
}
/* Orbiting ring 2 */
.contact-form::after {
  content: '';
  position: absolute;
  width: calc(100% + 130px);
  height: calc(100% + 130px);
  top: -65px;
  left: -65px;
  border-radius: 50%;
  border: 1px solid rgba(245,200,66,0.1);
  pointer-events: none;
  animation: formOrbit2 20s linear infinite reverse;
  transform-origin: center center;
}
@keyframes formOrbit1 {
  0%   { transform: rotate(0deg) scaleX(1.6) scaleY(0.6); }
  100% { transform: rotate(360deg) scaleX(1.6) scaleY(0.6); }
}
@keyframes formOrbit2 {
  0%   { transform: rotate(0deg) scaleX(1.5) scaleY(0.5); }
  100% { transform: rotate(360deg) scaleX(1.5) scaleY(0.5); }
}

/* Glowing corner accent */
.contact-form .form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(37,99,235,0.9);
  margin-bottom: 8px;
  display: block;
  transition: color 0.3s;
}

.contact-form .form-group:focus-within label {
  color: #60a5fa;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-primary);
  padding: 14px 18px;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
  font-family: inherit;
}
.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.22);
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='rgba(96,165,250,0.7)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.contact-form select option { background: #0d1117; color: #fff; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(37,99,235,0.7);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12), 0 0 20px rgba(37,99,235,0.15);
  background: rgba(37,99,235,0.05);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit button redesign */
.btn-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: submitPulse 3s ease-in-out infinite;
}
@keyframes submitPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.4), 0 4px 24px rgba(37,99,235,0.3); }
  50%     { box-shadow: 0 0 0 8px rgba(37,99,235,0), 0 4px 40px rgba(37,99,235,0.6); }
}
.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-submit:hover { transform: translateY(-2px); }
.btn-submit:hover::before { transform: translateX(100%); }
.btn-submit:active { transform: translateY(0); }

/* Form message */
.form-message {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.4);
  color: #34d399;
}
.form-message.error {
  display: block;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.4);
  color: #f87171;
}

/* ══════════════════════════════════════════════════════════
   WHATSAPP 3D SPHERE BUTTON
   ══════════════════════════════════════════════════════════ */

.wa-sphere-wrap {
  position: fixed;
  bottom: 104px;
  right: 28px;
  z-index: 9002;
  width: 64px;
  height: 64px;
  text-decoration: none;
  perspective: 300px;
  cursor: pointer;
  display: block;
}
.wa-sphere-core {
  width: 64px;
  height: 64px;
  position: relative;
  transform-style: preserve-3d;
  animation: waFloat 3.2s ease-in-out infinite;
}
.wa-sphere-ball {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%,
    #5dea82 0%,
    #25d366 38%,
    #128c7e 72%,
    #064e3b 100%);
  box-shadow:
    0 0 0 0 rgba(37,211,102,0.5),
    0 6px 32px rgba(37,211,102,0.35),
    inset -7px -7px 16px rgba(0,0,0,0.4),
    inset 3px 3px 10px rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: waPulse 2.4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.wa-sphere-wrap:hover .wa-sphere-ball {
  transform: scale(1.12);
}
.wa-sphere-ball svg { flex-shrink: 0; }

/* Orbiting rings */
.wa-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  pointer-events: none;
}
.wa-ring-1 {
  width: 90px;
  height: 90px;
  top: -13px;
  left: -13px;
  animation: waRing1 3.5s linear infinite;
}
.wa-ring-2 {
  width: 108px;
  height: 108px;
  top: -22px;
  left: -22px;
  border-color: rgba(37,211,102,0.18);
  border-width: 1.5px;
  animation: waRing2 6s linear infinite reverse;
}
@keyframes waRing1 {
  0%   { transform: rotateX(72deg) rotateZ(0deg); }
  100% { transform: rotateX(72deg) rotateZ(360deg); }
}
@keyframes waRing2 {
  0%   { transform: rotateX(20deg) rotateZ(0deg); }
  100% { transform: rotateX(20deg) rotateZ(360deg); }
}
@keyframes waFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-9px); }
}
@keyframes waPulse {
  0%,100% {
    box-shadow:
      0 0 0 0 rgba(37,211,102,0.5),
      0 6px 32px rgba(37,211,102,0.35),
      inset -7px -7px 16px rgba(0,0,0,0.4);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(37,211,102,0),
      0 6px 52px rgba(37,211,102,0.65),
      inset -7px -7px 16px rgba(0,0,0,0.4);
  }
}

/* Tooltip */
.wa-tooltip {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7,94,84,0.95);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  transform: translateY(-50%) translateX(6px);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(7,94,84,0.95);
  border-right: 0;
}
.wa-sphere-wrap:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .wa-sphere-wrap { bottom: 90px; right: 16px; }
}

/* ══════════════════════════════════════════════════════════
   CHAT IA SPHERE (blue variant — same structure as WA sphere)
   ══════════════════════════════════════════════════════════ */
.ia-chat-sphere-wrap {
  position: fixed;
  bottom: 184px;
  right: 28px;
  z-index: 9002;
  width: 64px;
  height: 64px;
  text-decoration: none;
  perspective: 300px;
  cursor: pointer;
  display: block;
}
.ia-chat-sphere-ball {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%,
    #93c5fd 0%,
    #3b82f6 38%,
    #1d4ed8 72%,
    #1e3a8a 100%);
  box-shadow:
    0 0 0 0 rgba(59,130,246,0.5),
    0 6px 32px rgba(59,130,246,0.35),
    inset -7px -7px 16px rgba(0,0,0,0.4),
    inset 3px 3px 10px rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: iaChatPulse 2.4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.ia-chat-sphere-wrap:hover .ia-chat-sphere-ball {
  transform: scale(1.12);
}
.ia-chat-sphere-ball svg { flex-shrink: 0; }

/* Orbiting rings */
.ia-chat-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(59,130,246,0.4);
  pointer-events: none;
}
.ia-chat-ring-1 {
  width: 90px;
  height: 90px;
  top: -13px;
  left: -13px;
  animation: waRing1 3.5s linear infinite;
}
.ia-chat-ring-2 {
  width: 108px;
  height: 108px;
  top: -22px;
  left: -22px;
  border-color: rgba(59,130,246,0.18);
  border-width: 1.5px;
  animation: waRing2 6s linear infinite reverse;
}
@keyframes iaChatPulse {
  0%,100% {
    box-shadow:
      0 0 0 0 rgba(59,130,246,0.5),
      0 6px 32px rgba(59,130,246,0.35),
      inset -7px -7px 16px rgba(0,0,0,0.4);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(59,130,246,0),
      0 6px 52px rgba(59,130,246,0.65),
      inset -7px -7px 16px rgba(0,0,0,0.4);
  }
}
/* Chat sphere tooltip — reuses .wa-tooltip with blue bg */
.ia-chat-sphere-wrap .wa-tooltip {
  background: rgba(29,78,216,0.95);
}
.ia-chat-sphere-wrap .wa-tooltip::after {
  border-left-color: rgba(29,78,216,0.95);
}
.ia-chat-sphere-wrap:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 768px) {
  .ia-chat-sphere-wrap { bottom: 170px; right: 16px; }
}

/* ══════════════════════════════════════════════════════════
   SERVICE CARDS — VIBRANT COLOR EXPANSION ON CLICK
   ══════════════════════════════════════════════════════════ */

.service-card {
  transition: transform 0.45s cubic-bezier(0.34,1.2,0.64,1),
              box-shadow 0.45s ease,
              background 0.5s ease,
              border-color 0.4s ease;
}

/* ── Per-card vivid gradients ── */
.service-card[data-theme="1"].active {
  background: linear-gradient(140deg,#1e3a8a 0%,#1d4ed8 55%,#3b82f6 100%);
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96,165,250,.3),0 0 60px rgba(37,99,235,.55),0 20px 60px rgba(0,0,0,.5);
}
.service-card[data-theme="2"].active {
  background: linear-gradient(140deg,#0c4a6e 0%,#0284c7 55%,#38bdf8 100%);
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56,189,248,.3),0 0 60px rgba(2,132,199,.55),0 20px 60px rgba(0,0,0,.5);
}
.service-card[data-theme="3"].active {
  background: linear-gradient(140deg,#064e3b 0%,#059669 55%,#34d399 100%);
  border-color: #34d399;
  box-shadow: 0 0 0 1px rgba(52,211,153,.3),0 0 60px rgba(5,150,105,.55),0 20px 60px rgba(0,0,0,.5);
}
.service-card[data-theme="4"].active {
  background: linear-gradient(140deg,#4c1d95 0%,#7c3aed 55%,#a78bfa 100%);
  border-color: #a78bfa;
  box-shadow: 0 0 0 1px rgba(167,139,250,.3),0 0 60px rgba(124,58,237,.55),0 20px 60px rgba(0,0,0,.5);
}
.service-card[data-theme="5"].active {
  background: linear-gradient(140deg,#78350f 0%,#d97706 55%,#fbbf24 100%);
  border-color: #fbbf24;
  box-shadow: 0 0 0 1px rgba(251,191,36,.3),0 0 60px rgba(217,119,6,.55),0 20px 60px rgba(0,0,0,.5);
}
.service-card[data-theme="6"].active {
  background: linear-gradient(140deg,#7f1d1d 0%,#dc2626 55%,#f87171 100%);
  border-color: #f87171;
  box-shadow: 0 0 0 1px rgba(248,113,113,.3),0 0 60px rgba(220,38,38,.55),0 20px 60px rgba(0,0,0,.5);
}
.service-card[data-theme="7"].active {
  background: linear-gradient(140deg,#831843 0%,#db2777 55%,#f472b6 100%);
  border-color: #f472b6;
  box-shadow: 0 0 0 1px rgba(244,114,182,.3),0 0 60px rgba(219,39,119,.55),0 20px 60px rgba(0,0,0,.5);
}
.service-card[data-theme="8"].active {
  background: linear-gradient(140deg,#3d1a00 0%,#b45309 55%,#f5c842 100%);
  border-color: #f5c842;
  box-shadow: 0 0 0 1px rgba(245,200,66,.3),0 0 60px rgba(245,200,66,.45),0 20px 60px rgba(0,0,0,.5);
}

/* Active state text recolor */
.service-card.active h3,
.service-card.active > p,
.service-card.active > ul li {
  color: rgba(255,255,255,.95) !important;
}
.service-card.active .service-icon svg { stroke: rgba(255,255,255,.9); }
.service-card.active { transform: scale(1.02); z-index: 5; }

/* Detail panel reveal */
@keyframes detailReveal {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.service-card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4,0,0.2,1);
  margin-top: 0;
}
.service-card.active .service-card-detail {
  max-height: 800px;
  margin-top: 18px;
}
.service-card.active .service-card-detail > * {
  animation: detailReveal 0.5s ease both;
}

.service-detail-tagline {
  font-size: .88rem; font-style: italic;
  color: rgba(255,255,255,.85);
  border-left: 3px solid rgba(255,255,255,.45);
  padding-left: 14px; line-height: 1.5;
  margin-bottom: 14px;
  animation-delay: .05s !important;
}
.service-detail-body {
  font-size: .82rem; color: rgba(255,255,255,.82);
  line-height: 1.7; margin-bottom: 14px;
  animation-delay: .12s !important;
}
.service-detail-list {
  list-style: none; padding: 0; margin: 0 0 12px;
  display: flex; flex-direction: column; gap: 7px;
  animation-delay: .18s !important;
}
.service-detail-list li {
  font-size: .8rem; color: rgba(255,255,255,.9);
  padding: 8px 13px; background: rgba(0,0,0,.18);
  border-radius: 8px; border-left: 3px solid rgba(255,255,255,.35);
  line-height: 1.5;
}
.service-detail-guarantee {
  font-size: .78rem; color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px; padding: 10px 14px;
  margin-bottom: 10px;
  animation-delay: .25s !important;
}
.service-close-btn {
  font-size: .78rem; color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px; padding: 6px 14px;
  cursor: pointer; font-family: inherit;
  transition: all .2s;
  animation-delay: .28s !important;
  display: inline-block; margin-top: 4px;
}
.service-close-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.service-card.active .service-cta {
  background: rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.85) !important;
  border-color: rgba(255,255,255,.3) !important;
}

/* ── Nav logo as text (logo image removed) ── */
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #60a5fa 0%, #f5c842 50%, #60a5fa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s linear infinite;
}
