/**
 * @file estudio-diaz.css
 * @description Sistema de diseño completo para el portal inmersivo Estudio Díaz.
 *              Paleta extraída de la identidad visual real del cliente.
 * @author Innectia Engineering Division (https://innectia.com)
 * @version 1.0.0
 */

/* ═══════════════════════════════════════════
   0. CUSTOM PROPERTIES — IDENTIDAD DE MARCA
   ═══════════════════════════════════════════ */
:root {
  --bg: #08090E;
  --panel: #0F1219;
  --panel-2: #161B26;
  --line: rgba(237,239,245,0.08);
  --line-strong: rgba(237,239,245,0.18);
  --text: #EDEFF5;
  --muted: #8B93A6;
  --primary: #1A1E2E;
  --accent: #D4781F;
  --accent-glow: rgba(212,120,31,0.35);
  --accent-deep: #A85C15;
  --accent-light: #E8933F;
  --alert: #E4432B;
  --conversion: #25D366;
  --conversion-glow: rgba(37,211,102,0.30);
  --header-h: 72px;
  --footer-h: 76px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition-smooth: cubic-bezier(.16,.84,.24,1);
  --font-display: 'Inter Tight', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ═══════════════════════════════════════════
   1. RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html, body {
  height:100%; overflow:hidden;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration:none; transition: color .3s; }
a:hover { color: var(--accent-light); }
img { max-width:100%; display:block; }

/* Cursor personalizado */
html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 3l7 18 2.5-7.5L20 11z' fill='%23EDEFF5' stroke='%23D4781F' stroke-width='1'/%3E%3C/svg%3E") 3 3, auto; }
a, button, [role="button"], .clickable, .nav-link, .concierge-toggle, .chip {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='10' fill='none' stroke='%23D4781F' stroke-width='2'/%3E%3Ccircle cx='14' cy='14' r='3' fill='%23D4781F'/%3E%3C/svg%3E") 14 14, pointer;
}

/* ═══════════════════════════════════════════
   2. HEADER
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed; top:0; left:0; width:100%; height: var(--header-h);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 48px);
  background: rgba(8,9,14,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .4s;
}
.header-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(16px, 1.4vw, 22px); letter-spacing: -0.02em;
  color: var(--text);
}
.header-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #fff;
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); transform: scale(1); }
  50% { box-shadow: 0 0 20px 4px var(--accent-glow); transform: scale(1.04); }
}
.header-nav { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 28px); }
.nav-link {
  font-size: clamp(11px, 0.85vw, 14px); font-weight: 500;
  color: var(--muted); transition: color .3s;
  text-transform: uppercase; letter-spacing: 0.06em;
  position: relative; padding: 4px 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left:0; width:0; height: 2px;
  background: var(--accent); transition: width .3s var(--transition-smooth);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--conversion);
  color: #fff !important;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 0 0 var(--conversion-glow);
  animation: navCtaPulse 2.2s ease-in-out infinite;
  transition: transform .3s, filter .3s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { color: #fff !important; transform: translateY(-1px); filter: brightness(1.12); }
.nav-cta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  animation: proofBlink 1.4s ease-in-out infinite;
}
@keyframes navCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--conversion-glow); }
  50% { box-shadow: 0 0 18px 4px var(--conversion-glow); }
}

/* Language selector */
.lang-selector {
  display: flex; gap: 4px;
  margin-left: 12px; padding-left: 12px;
  border-left: 1px solid var(--line);
}
.lang-btn {
  background: none; border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 11px; font-weight: 600;
  padding: 4px 8px; border-radius: 4px;
  transition: all .3s; text-transform: uppercase;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* Mobile menu */
.menu-toggle {
  display: none; background: none; border: none;
  width: 36px; height: 36px; position: relative;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  position: absolute; left: 7px; transition: all .3s;
}
.menu-toggle span:nth-child(1) { top: 10px; }
.menu-toggle span:nth-child(2) { top: 17px; }
.menu-toggle span:nth-child(3) { top: 24px; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .header-nav {
    position: fixed; top: var(--header-h); left:0; width:100%;
    flex-direction: column; background: rgba(8,9,14,0.96);
    backdrop-filter: blur(20px); padding: 24px;
    transform: translateY(-120%); transition: transform .4s var(--transition-smooth);
    gap: 16px; border-bottom: 1px solid var(--line);
  }
  .header-nav.open { transform: translateY(0); }
  .nav-link { font-size: 14px; }
  .nav-cta { margin-top: 8px; }
  .lang-selector { margin-left:0; padding-left:0; border-left:none; margin-top: 8px; }
}

/* ═══════════════════════════════════════════
   3. PAGER SYSTEM — ZERO SCROLL
   ═══════════════════════════════════════════ */
.pager-viewport {
  position: relative; overflow: hidden;
  height: calc(100vh - var(--header-h));
  top: var(--header-h);
}
.pager-track {
  transition: transform .85s var(--transition-smooth);
  will-change: transform;
}
.screen {
  height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; position: relative; overflow: hidden;
  padding: 0 clamp(20px, 5vw, 80px);
  padding-bottom: var(--footer-h);
}

/* Video backgrounds */
.screen-video-bg {
  position: absolute; top:0; left:0; width:100%; height:100%;
  object-fit: cover; z-index: 0;
  transform: scale(1.18);
  filter: blur(1.6px) brightness(0.7) saturate(0.95) contrast(1.04);
}
.screen-overlay {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background:
    linear-gradient(180deg, rgba(8,9,14,0.82) 0%, rgba(8,9,14,0.62) 38%, rgba(8,9,14,0.66) 55%, rgba(8,9,14,0.84) 100%),
    radial-gradient(ellipse 72% 48% at 50% 52%, rgba(8,9,14,0.22) 0%, transparent 72%);
  z-index: 1;
}
.screen-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px;
  margin: 0 auto;
}

/* Scan lines overlay */
.screen::before {
  content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px);
  z-index: 1; pointer-events: none;
}

/* ═══════════════════════════════════════════
   4. NAVIGATION CONTROLS
   ═══════════════════════════════════════════ */
.pager-arrows {
  position: fixed; right: clamp(16px, 2vw, 32px);
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px;
  z-index: 900;
}
.pager-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(15,18,25,0.7); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 18px; transition: all .3s;
}
.pager-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.pager-arrow:disabled { opacity: 0.3; pointer-events: none; }

.pager-counter {
  position: fixed; right: clamp(16px, 2vw, 32px); bottom: calc(var(--footer-h) + 20px);
  z-index: 900; font-family: var(--font-mono); font-size: 12px;
  color: var(--muted); letter-spacing: 0.1em;
}

/* Dot indicators */
.pager-dots {
  position: fixed; left: clamp(16px, 2vw, 32px);
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
  z-index: 900;
}
.pager-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-strong); border: none;
  transition: all .4s; position: relative;
}
.pager-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

@media (max-width: 768px) {
  .pager-dots, .pager-arrows { display: none; }
}

/* ═══════════════════════════════════════════
   5. TYPOGRAPHY SYSTEM
   ═══════════════════════════════════════════ */
.eyebrow {
  font-family: var(--font-mono); font-size: clamp(10px, 0.8vw, 13px);
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 56px); line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 20px;
  max-width: 720px;
}
.section-subtitle {
  font-size: clamp(15px, 1.2vw, 19px); line-height: 1.6;
  color: var(--muted); max-width: 580px; margin-bottom: 32px;
}

/* ═══════════════════════════════════════════
   6. HERO SECTION
   ═══════════════════════════════════════════ */
.hero-content { text-align: left; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: var(--radius);
  background: var(--conversion); color: #fff;
  font-weight: 700; font-size: clamp(14px, 1vw, 16px);
  border: none; transition: all .3s;
  box-shadow: 0 0 0 0 var(--conversion-glow);
  animation: ctaGlow 2.5s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--conversion-glow); }
  50% { box-shadow: 0 0 24px 6px var(--conversion-glow); }
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.15); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: var(--radius);
  background: transparent; color: var(--text);
  font-weight: 600; font-size: clamp(14px, 1vw, 16px);
  border: 1px solid var(--line-strong); transition: all .3s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-proof {
  font-family: var(--font-mono); font-size: clamp(10px, 0.75vw, 12px);
  color: var(--muted); letter-spacing: 0.08em;
  padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
}
.hero-proof::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--conversion);
  animation: proofBlink 2s ease-in-out infinite;
}
@keyframes proofBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ═══════════════════════════════════════════
   7. SERVICES GRID
   ═══════════════════════════════════════════ */
.screen[data-slide="1"] .screen-content {
  max-width: 1280px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.screen[data-slide="1"] .eyebrow { margin-bottom: 8px; }
.screen[data-slide="1"] .section-title {
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 42px);
  max-width: none;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 0.9vw, 12px); margin-top: 10px; width: 100%;
  overflow: visible;
}
.service-subs {
  list-style: none; display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 8px;
}
.service-subs li {
  font-size: 10px; line-height: 1.2; color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 2px 6px;
}
.service-card {
  background: rgba(15,18,25,0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(10px, 1vw, 16px);
  transition: all .4s var(--transition-smooth);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top:0; left:0; width:100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.service-card:hover::before { opacity: 1; }
.service-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(13px, 0.95vw, 16px); margin-bottom: 6px;
  color: var(--text);
}
.service-card p {
  font-size: clamp(11px, 0.8vw, 13px); line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(212,120,31,0.12); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 8px; color: var(--accent); font-size: 14px;
  animation: iconFloat 4s ease-in-out infinite;
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ═══════════════════════════════════════════
   8. METHODOLOGY STEPS
   ═══════════════════════════════════════════ */
.method-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; margin-top: 32px; width: 100%;
}
.method-step {
  text-align: center; padding: clamp(20px, 2vw, 32px);
  background: rgba(15,18,25,0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .4s;
  position: relative;
}
.method-step:hover { border-color: var(--accent-deep); }
.method-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 3.5vw, 56px); color: var(--accent);
  opacity: 0.2; line-height: 1; margin-bottom: 8px;
}
.method-step h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(15px, 1.1vw, 18px); margin-bottom: 10px;
}
.method-step p {
  font-size: clamp(12px, 0.85vw, 14px); line-height: 1.55;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   9. ABOUT SECTION
   ═══════════════════════════════════════════ */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px);
  align-items: center; width: 100%;
}
.about-text p {
  font-size: clamp(14px, 1vw, 17px); line-height: 1.7;
  color: var(--muted); margin-bottom: 24px;
}
.about-values { display: flex; flex-direction: column; gap: 12px; }
.about-value {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(13px, 0.95vw, 15px); font-weight: 600;
  color: var(--text);
}
.about-value::before {
  content: '◆'; color: var(--accent); font-size: 10px;
}
.about-image-frame {
  aspect-ratio: 3/4; border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  overflow: hidden; position: relative;
  background: var(--panel);
}
.about-image-frame img { width:100%; height:100%; object-fit:cover; object-position: 50% 18%; display:block; }
.about-photo-caption {
  position: absolute; left:0; right:0; bottom:0; z-index: 2;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(8,9,14,0.82));
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(14px, 1.1vw, 18px); color: var(--text);
  text-align: center;
}
.about-image-frame img.is-missing { display: none; }
.about-photo-fallback {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  text-align:center; color:var(--muted); font-size:13px;
}
.about-image-frame img:not(.is-missing) + .about-photo-fallback { display: none; }
.about-photo-fallback-icon { font-size:64px; margin-bottom:12px; opacity:0.3; }
.about-photo-fallback-name {
  font-family: var(--font-display); font-weight:800; font-size:24px;
  color: var(--accent); margin-bottom:4px;
}
.about-photo-fallback-reg {
  margin-top:8px; font-family: var(--font-mono); font-size:11px;
}
.about-image-frame::after {
  content: ''; position: absolute; inset:0;
  border: 1px solid rgba(212,120,31,0.15);
  border-radius: var(--radius);
  animation: frameGlow 4s ease-in-out infinite;
}
@keyframes frameGlow {
  0%, 100% { box-shadow: inset 0 0 30px rgba(212,120,31,0); }
  50% { box-shadow: inset 0 0 30px rgba(212,120,31,0.08); }
}
@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-image-frame { max-width: 300px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════
   10. FAQ SECTION
   ═══════════════════════════════════════════ */
.faq-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px; margin-top: 24px; width: 100%;
}
.faq-item {
  background: rgba(15,18,25,0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 1.5vw, 24px);
  transition: border-color .3s;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item h3 {
  font-size: clamp(14px, 1vw, 16px); font-weight: 700;
  margin-bottom: 10px; color: var(--accent-light);
}
.faq-item p {
  font-size: clamp(12px, 0.85vw, 14px); line-height: 1.6;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   11. CONTACT SECTION
   ═══════════════════════════════════════════ */
.contact-content { text-align: center; }
.contact-content .section-title,
.contact-content .section-subtitle { max-width: 640px; margin-left: auto; margin-right: auto; }
.contact-channels {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; margin-top: 24px;
}
.contact-channel {
  display: flex; align-items: center; gap: 10px;
  font-size: clamp(13px, 0.9vw, 15px); color: var(--muted);
}
.contact-channel-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(212,120,31,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 14px;
}

/* ═══════════════════════════════════════════
   12. PIE DEL SITIO — ESTUDIO DÍAZ + INNECTIA
   ═══════════════════════════════════════════ */
.site-footer-fixed{
  position:fixed; left:50%; bottom:0; transform:translateX(-50%);
  z-index:70; width:min(720px, calc(100vw - 20px));
  text-align:center; padding:8px 14px 10px;
  background:rgba(8,9,14,.88);
  border-top:1px solid rgba(212,120,31,.18);
  font-size:10.5px; line-height:1.45;
  color:#8B93A6;
  font-family:Inter,sans-serif;
  pointer-events:none;
}
.site-footer-fixed p{margin:0;}
.site-footer-fixed a{pointer-events:auto;}
/* INNECTIA — no cambiar colores ni markup */
.innectia-mark{
  display:inline-flex; align-items:baseline; gap:0;
  text-decoration:none; font-weight:800; letter-spacing:.04em;
  font-family:Inter,sans-serif; margin-left:4px; font-size:12px;
}
.innectia-mark span{
  display:inline-block;
  animation:innectiaLetter 2.8s ease-in-out infinite;
  animation-delay:calc(var(--i) * .11s);
}
@keyframes innectiaLetter{
  0%,100%{color:#C8FF3C; transform:translateY(0) scale(1);}
  25%{color:#214EFA; transform:translateY(-2px) scale(1.06);}
  50%{color:#FF5E5B; transform:translateY(0) scale(1);}
  75%{color:#D6C28C; transform:translateY(-1px) scale(1.04);}
}
@media (prefers-reduced-motion: reduce){
  .innectia-mark span{animation:none !important; color:#C8FF3C;}
}

/* ═══════════════════════════════════════════
   13. CONCIERGE WIDGET
   ═══════════════════════════════════════════ */
.concierge-toggle {
  position: fixed; bottom: calc(var(--footer-h) + 20px); right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border: none; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: all .4s;
  animation: conciergeAttention 3s ease-in-out infinite;
}
@keyframes conciergeAttention {
  0%, 100% { box-shadow: 0 4px 24px var(--accent-glow); transform: scale(1); }
  50% { box-shadow: 0 4px 36px var(--accent-glow), 0 0 0 8px rgba(212,120,31,0.1); transform: scale(1.05); }
}
.concierge-toggle:hover { transform: scale(1.1); }
.concierge-toggle .badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--alert); font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: badgePop .5s var(--transition-smooth);
}
@keyframes badgePop { from { transform: scale(0); } to { transform: scale(1); } }

.concierge-panel {
  position: fixed;
  bottom: calc(var(--footer-h) + 90px); right: 24px;
  width: min(400px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - var(--header-h) - var(--footer-h) - 120px));
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  z-index: 10001;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.95);
  opacity: 0; pointer-events: none;
  transition: all .4s var(--transition-smooth);
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
}
.concierge-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1; pointer-events: all;
}
.concierge-header {
  padding: 16px 20px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.concierge-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff; font-weight: 700;
  position: relative;
}
.concierge-avatar .status-dot {
  position: absolute; bottom: 0; right: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--conversion);
  border: 2px solid var(--panel-2);
}
.concierge-header-info h4 {
  font-size: 14px; font-weight: 700; color: var(--text);
}
.concierge-header-info p {
  font-size: 11px; color: var(--muted);
  font-family: var(--font-mono);
}
.concierge-close {
  margin-left: auto; background: none; border: none;
  color: var(--muted); font-size: 20px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all .3s;
}
.concierge-close:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.concierge-messages {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  scroll-behavior: smooth;
}
.concierge-messages::-webkit-scrollbar { width: 4px; }
.concierge-messages::-webkit-scrollbar-track { background: transparent; }
.concierge-messages::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 2px; }

.msg {
  max-width: 85%; padding: 12px 16px;
  border-radius: 12px; font-size: 14px; line-height: 1.5;
  animation: msgAppear .4s var(--transition-smooth);
}
@keyframes msgAppear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg-bot {
  align-self: flex-start;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.msg-user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.concierge-chips {
  padding: 12px 20px 16px;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.chip {
  display: block; width: 100%;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: rgba(212,120,31,0.08);
  border: 1px solid rgba(212,120,31,0.25);
  color: var(--accent-light); font-size: 13px; font-weight: 500;
  text-align: left; transition: all .3s;
}
.chip:hover {
  background: rgba(212,120,31,0.18);
  border-color: var(--accent);
  transform: translateX(4px);
}

/* Typing indicator */
.typing-indicator {
  display: flex; gap: 4px; padding: 12px 16px;
  align-self: flex-start;
}
.typing-indicator span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* Proactive bubble */
.concierge-proactive {
  position: fixed;
  bottom: calc(var(--footer-h) + 88px); right: 92px;
  max-width: 260px; padding: 12px 16px;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px; border-bottom-right-radius: 4px;
  font-size: 13px; line-height: 1.5; color: var(--text);
  z-index: 10000;
  animation: proactivePop .5s var(--transition-smooth);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
@keyframes proactivePop {
  from { opacity: 0; transform: translateY(8px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.proactive-close {
  position: absolute; top: 4px; right: 8px;
  background: none; border: none; color: var(--muted);
  font-size: 14px;
}

/* ═══════════════════════════════════════════
   14. ANIMATIONS — REVEAL SYSTEM
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--transition-smooth), transform .7s var(--transition-smooth);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ═══════════════════════════════════════════
   15. CURSOR EFFECTS
   ═══════════════════════════════════════════ */
.cursor-trail {
  position: fixed; pointer-events: none; z-index: 99999;
  font-family: var(--font-display); font-size: 10px; font-weight: 800;
  color: var(--accent); opacity: 0.5;
  animation: trailFade .8s forwards;
}
@keyframes trailFade {
  to { opacity: 0; transform: translateY(-16px); }
}
.click-burst {
  position: fixed; pointer-events: none; z-index: 99999;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--accent);
  animation: burstExpand .5s forwards;
}
@keyframes burstExpand {
  to { width: 80px; height: 80px; opacity: 0; margin-top: -20px; margin-left: -20px; }
}

/* ═══════════════════════════════════════════
   16. FULLSCREEN CONCIERGE (atencion-online)
   ═══════════════════════════════════════════ */
.concierge-fullscreen {
  width: 100vw; height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
  padding-bottom: 80px;
}
.concierge-fullscreen .concierge-header {
  height: var(--header-h);
  padding: 0 24px;
}
.concierge-fullscreen .concierge-messages {
  flex: 1; padding: 24px;
  max-width: 680px; width: 100%; margin: 0 auto;
}
.concierge-fullscreen .concierge-chips {
  max-width: 680px; width: 100%; margin: 0 auto;
  padding: 16px 24px 24px;
}

/* ═══════════════════════════════════════════
   17. RESPONSIVE FINE-TUNING
   ═══════════════════════════════════════════ */
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .services-grid {
    grid-template-columns: 1fr;
    max-height: 62vh;
    overflow-y: auto;
  }
  .method-steps { grid-template-columns: 1fr 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .contact-channels { flex-direction: column; align-items: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
