/* ══════════════════════════════════════════════════════════
   LUNO AI — REDISEÑO v2  (inspirado en layout tipo AuraTek,
   con branding completo Luno AI: dorado sobre negro)
   ══════════════════════════════════════════════════════════ */

/* ─── RESET & VARIABLES ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --yellow:   #FFB800;
  --yellow2:  #FFE234;
  --gold-deep:#d99a00;
  --neon-g:   #34d399;
  --dark:     #050505;
  --dark2:    #0a0a0b;
  --dark3:    #0f0f11;
  --card:     #101012;
  --card2:    #141416;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,184,0,0.16);
  --text:     #edeae4;
  --muted:    #8a8a90;
  --muted2:   #b9b7b2;
  --glow:     rgba(255,184,0,.14);
  --radius:   18px;
}
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 90px; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Atmósfera: halos dorados + grano */
body::before {
  content: ''; position: fixed; inset: -30%;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(34% 30% at 18% 8%,  rgba(255,184,0,.13), transparent 60%),
    radial-gradient(30% 26% at 84% 24%, rgba(255,203,69,.08), transparent 62%),
    radial-gradient(40% 34% at 60% 88%, rgba(255,184,0,.06), transparent 64%);
  filter: blur(24px);
  animation: auroraDrift 30s ease-in-out infinite alternate;
}
body::after {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; z-index: 9999; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes auroraDrift { from { transform: translate(0,0) scale(1);} to { transform: translate(2%,-2%) scale(1.06);} }

::selection { background: var(--yellow); color: #000; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

#particles-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
section { position: relative; z-index: 1; }

/* Encabezados de sección */
.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--yellow);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.sec-title {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.05rem); line-height: 1.12;
}
.sec-title .hl { color: var(--yellow); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-sub { color: var(--muted); font-size: 1.02rem; margin-top: 16px; line-height: 1.75; }
.section-pad { padding: 110px 0; }

/* ─── NAV ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  transition: background .4s, backdrop-filter .4s, border-color .4s, padding .3s, transform .35s ease;
}
/* Se oculta al bajar y reaparece al subir */
nav.nav-hidden { transform: translateY(-100%); }
nav.scrolled {
  background: rgba(8,8,9,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding-top: 12px; padding-bottom: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; z-index: 105; }
.logo img { height: 60px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.nav-center {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 30px; list-style: none;
}
.nav-center a {
  font-size: .86rem; font-weight: 500; color: var(--muted); letter-spacing: .3px;
  position: relative; transition: color .2s;
}
.nav-center a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px;
  background: var(--yellow); transition: width .3s;
}
.nav-center a:hover { color: var(--yellow); }
.nav-center a:hover::after { width: 100%; }
.nav-cta {
  background: var(--yellow); color: #1a1205; padding: 10px 22px; border-radius: 100px;
  font-weight: 700; font-size: .84rem; letter-spacing: .2px;
  transition: box-shadow .3s, transform .2s;
}
.nav-cta:hover { box-shadow: 0 0 22px var(--glow); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 110; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .25s, background .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--yellow); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--yellow); }
.nav-mobile-only { display: none; }

/* ─── BOTONES ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, #FFCB45 0%, #FFB800 100%);
  color: #1a1205; padding: 15px 30px; border-radius: 12px;
  font-weight: 700; font-size: .94rem; border: none; cursor: pointer;
  box-shadow: 0 6px 22px rgba(255,184,0,.26);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.btn-primary::after { content: '→'; transition: transform .25s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(255,184,0,.42); }
.btn-primary:hover::after { transform: translateX(5px); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.16);
  color: var(--text); padding: 14px 28px; border-radius: 12px;
  font-weight: 600; font-size: .94rem; cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color .25s, background .25s, color .25s, transform .25s;
}
.btn-ghost:hover { border-color: var(--border2); background: rgba(255,184,0,.08); color: var(--yellow); transform: translateY(-3px); }

/* ─── HERO ──────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 70px; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(.5) contrast(1.05) saturate(.78);
  z-index: 0;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(5,5,5,.92) 0%, rgba(5,5,5,.7) 42%, rgba(5,5,5,.28) 100%),
    radial-gradient(58% 50% at 22% 44%, rgba(255,184,0,.12), transparent 64%),
    linear-gradient(to bottom, rgba(5,5,5,.55) 0%, transparent 30%, rgba(5,5,5,.9) 100%);
}
.hero-inner { position: relative; z-index: 2; text-align: left; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,184,0,.08); border: 1px solid var(--border2);
  padding: 6px 15px; border-radius: 100px;
  font-size: .7rem; font-weight: 600; color: var(--yellow); letter-spacing: .6px;
  margin-bottom: 30px; animation: fadeUp .7s both;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--neon-g); border-radius: 50%; box-shadow: 0 0 8px var(--neon-g); animation: pulse 2s infinite; }

/* Emblema central animado */
.hero-emblem { position: relative; width: 150px; height: 150px; margin: 0 auto 40px; animation: fadeUp .7s .05s both; }
.emblem-core {
  position: absolute; inset: 28px; border-radius: 22px;
  background: linear-gradient(150deg, #1c1608, #0b0b0d 70%);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 46px rgba(255,184,0,.28), inset 0 0 22px rgba(255,184,0,.12);
  z-index: 3;
}
.emblem-core span {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.1rem;
  color: var(--yellow); text-shadow: 0 0 18px rgba(255,184,0,.6); letter-spacing: 1px;
}
.emblem-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,184,0,.22); z-index: 2;
}
.emblem-ring.r2 { inset: 14px; border-style: dashed; border-color: rgba(255,184,0,.16); animation: spin 22s linear infinite; }
.emblem-ring.r1 { animation: spin 34s linear infinite reverse; }
.emblem-node { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px var(--yellow); z-index: 4; }
.emblem-node.n1 { top: -4px; left: 50%; transform: translateX(-50%); }
.emblem-node.n2 { bottom: -4px; left: 50%; transform: translateX(-50%); background: var(--yellow2); }
.emblem-node.n3 { left: -4px; top: 50%; transform: translateY(-50%); }
.emblem-node.n4 { right: -4px; top: 50%; transform: translateY(-50%); background: var(--neon-g); box-shadow: 0 0 10px var(--neon-g); }
.emblem-glow { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255,184,0,.25), transparent 62%); z-index: 1; animation: breathe 4s ease-in-out infinite; }

.hero-title {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.06;
  max-width: 820px; margin: 0; animation: fadeUp .7s .12s both;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--yellow); position: relative; }
.hero-title .accent::after { content: ''; position: absolute; left: 0; bottom: 4px; width: 100%; height: 3px; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.hero-sub { margin: 26px 0 0; max-width: 560px; color: var(--muted2); font-size: 1.08rem; line-height: 1.8; animation: fadeUp .7s .2s both; }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; animation: fadeUp .7s .28s both; }

/* ─── LOGO / TRUST BAR ──────────────────────────────── */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--dark2); padding: 30px 0; }
.trust-label { text-align: center; font-family: 'Space Grotesk', sans-serif; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee-wrap { overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 54px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-item {
  font-family: 'Space Grotesk', sans-serif; font-size: .95rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); white-space: nowrap;
  display: flex; align-items: center; gap: 14px;
}
.marquee-item .sep { color: var(--yellow); }
.marquee-wrap::before, .marquee-wrap::after { content: ''; position: absolute; top: 0; width: 90px; height: 100%; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--dark2), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--dark2), transparent); }

/* ─── OUTCOMES / STATS ──────────────────────────────── */
#outcomes { background: var(--dark); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.stat-card {
  position: relative; background: linear-gradient(160deg, var(--card2), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 34px; overflow: hidden;
  transition: border-color .35s, transform .35s, box-shadow .35s;
}
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--yellow), transparent); opacity: 0; transition: opacity .35s; }
.stat-card:hover { transform: translateY(-5px); border-color: var(--border2); box-shadow: 0 22px 50px rgba(0,0,0,.5), 0 0 40px rgba(255,184,0,.06); }
.stat-card:hover::before { opacity: 1; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; color: var(--yellow); text-shadow: 0 0 24px rgba(255,184,0,.35); line-height: 1; }
.stat-label { margin-top: 12px; font-weight: 600; font-size: .98rem; }
.stat-desc { margin-top: 8px; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.stat-tag { position: absolute; top: 20px; right: 22px; font-size: .62rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,184,0,.5); border: 1px solid var(--border2); padding: 3px 8px; border-radius: 100px; }

/* ─── SERVICIOS ─────────────────────────────────────── */
#services { background: var(--dark2); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 30px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.svc-card::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); background: radial-gradient(120% 80% at 50% -10%, rgba(255,184,0,.08), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--border2); box-shadow: 0 22px 54px rgba(0,0,0,.5); }
.svc-card:hover::after { opacity: 1; }
.svc-num { position: absolute; top: 20px; right: 24px; font-family: 'Space Grotesk', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,.09); }
.svc-icon { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; background: rgba(255,184,0,.08); border: 1px solid var(--border2); color: var(--yellow); }
.svc-icon svg { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(255,184,0,.4)); }
.svc-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 10px; }
.svc-desc { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.svc-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .68rem; padding: 3px 10px; border: 1px solid var(--border); border-radius: 100px; color: var(--muted); background: rgba(255,255,255,.03); }

/* ─── PROYECTOS / CASOS ─────────────────────────────── */
#projects { background: var(--dark); }
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.proj-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--card); cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.proj-card:hover { transform: translateY(-6px); border-color: var(--border2); box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 46px rgba(255,184,0,.06); }
.proj-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.05fr 1fr; }
.proj-visual { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #0a0a0a, #131313); display: flex; align-items: center; justify-content: center; }
.proj-card.featured .proj-visual { aspect-ratio: auto; min-height: 320px; }
.proj-icon { opacity: .4; color: var(--yellow); transition: opacity .3s, transform .3s; }
.proj-icon svg { width: 80px; height: 80px; }
.proj-card:hover .proj-icon { opacity: .75; transform: scale(1.08); }
.proj-info { padding: 26px 28px; }
.proj-label { font-size: .68rem; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.proj-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 10px; }
.proj-desc { font-size: .86rem; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.proj-stack { display: flex; flex-wrap: wrap; gap: 6px; }
/* carrusel */
.carousel-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.carousel-slide.active { opacity: 1; position: relative; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.6); color: #fff; border: none; cursor: pointer; font-size: 1.6rem; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; z-index: 10; transition: background .2s; }
.carousel-btn:hover { background: var(--yellow); color: #000; }
.carousel-btn.prev { left: 10px; } .carousel-btn.next { right: 10px; }
.carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s; }
.carousel-dot.active { background: var(--yellow); }

/* Bloque CTA hacia la página Nosotros */
.projects-cta { text-align: center; margin-top: 60px; }
.projects-cta h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 12px; }
.projects-cta h3 .hl { color: var(--yellow); }
.projects-cta p { color: var(--muted); font-size: 1rem; max-width: 520px; margin: 0 auto 26px; line-height: 1.6; }
.projects-cta .btn-primary { display: inline-flex; }

/* ─── INDUSTRIAS (TABS) ─────────────────────────────── */
#industries { background: var(--dark2); }
.ind-layout { display: grid; grid-template-columns: 300px 1fr; gap: 22px; margin-top: 8px; }
.ind-tabs { display: flex; flex-direction: column; gap: 8px; }
.ind-tab {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; cursor: pointer; color: var(--muted2); font-size: .92rem; font-weight: 500;
  transition: border-color .25s, background .25s, color .25s;
}
.ind-tab svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: color .25s; }
.ind-tab:hover { border-color: var(--border2); color: var(--text); }
.ind-tab.active { background: rgba(255,184,0,.07); border-color: var(--border2); color: var(--yellow); }
.ind-tab.active svg { color: var(--yellow); }
.ind-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; display: none; animation: fadeIn .4s; }
.ind-panel.active { display: block; }
.ind-panel h3 { font-family: 'Playfair Display', serif; font-size: 1.7rem; margin-bottom: 16px; }
.ind-panel p { color: var(--muted); line-height: 1.85; margin-bottom: 14px; max-width: 640px; }
.ind-panel .ind-points { list-style: none; margin: 20px 0 26px; display: grid; gap: 12px; }
.ind-panel .ind-points li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted2); }
.ind-panel .ind-points li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 8px var(--yellow); margin-top: 7px; flex-shrink: 0; }

/* ─── PROCESO ───────────────────────────────────────── */
#process { background: var(--dark); }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proc-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px; overflow: hidden;
  transition: transform .35s, border-color .35s;
}
.proc-card:hover { transform: translateY(-5px); border-color: var(--border2); }
.proc-num { font-family: 'Space Grotesk', sans-serif; font-size: 3.4rem; font-weight: 700; color: rgba(255,184,0,.1); line-height: 1; margin-bottom: 14px; }
.proc-card:hover .proc-num { color: rgba(255,184,0,.22); }
.proc-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: 10px; }
.proc-desc { font-size: .85rem; color: var(--muted); line-height: 1.7; }

/* ─── CTA BAND ──────────────────────────────────────── */
#cta-band { padding: 90px 0; }
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #FFB800 0%, #FFCB45 45%, #d99a00 100%);
  border-radius: 26px; padding: 60px 56px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-box::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 90% 10%, rgba(255,255,255,.35), transparent 60%); pointer-events: none; }
.cta-box h2 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: #1a1205; line-height: 1.15; position: relative; z-index: 1; }
.cta-box p { color: #3a2c05; margin-top: 12px; font-size: 1rem; position: relative; z-index: 1; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: #120d02; color: var(--yellow); padding: 16px 30px; border-radius: 12px;
  font-weight: 700; font-size: .95rem; transition: transform .25s, box-shadow .25s;
}
.cta-actions .btn-dark:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.cta-actions .cta-note { color: #3a2c05; font-size: .8rem; text-align: center; }

/* ─── FAQ ───────────────────────────────────────────── */
#faq { background: var(--dark2); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: var(--border2); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; color: var(--text); font-family: inherit; font-size: 1rem; font-weight: 500; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.faq-q .plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--yellow); border-radius: 2px; transition: transform .3s; }
.faq-q .plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-q .plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--muted); line-height: 1.8; font-size: .93rem; }

/* ─── CONTACTO ──────────────────────────────────────── */
#contact { background: var(--dark); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-items { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: center; gap: 16px; font-size: .9rem; }
.contact-item-icon { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,184,0,.08); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; color: var(--yellow); flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-text span { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 2px; }
.contact-item-text a { transition: color .25s; }
.contact-item-text a:hover { color: var(--yellow2); }
.social-links { margin-top: 34px; display: flex; gap: 12px; }
.social-link { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: border-color .3s, background .3s, box-shadow .3s; }
.social-link:hover { border-color: var(--yellow); background: rgba(255,184,0,.06); box-shadow: 0 0 16px rgba(255,184,0,.15); }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field-wrap { display: flex; flex-direction: column; gap: 6px; }
.field-wrap label { font-size: .78rem; color: var(--muted); font-weight: 500; }
.field-wrap input, .field-wrap textarea, .field-wrap select {
  background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 9px;
  padding: 13px 15px; color: var(--text); font-size: .9rem; font-family: inherit;
  transition: border-color .3s, box-shadow .3s; outline: none; resize: vertical;
}
.field-wrap input:focus, .field-wrap textarea:focus, .field-wrap select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,184,0,.08); }
.field-wrap textarea { min-height: 120px; }
.field-wrap select option { background: var(--dark2); }
.form-submit { background: var(--yellow); color: #1a1205; border: none; padding: 16px; border-radius: 10px; font-weight: 800; font-size: .95rem; cursor: pointer; transition: box-shadow .3s, transform .2s; margin-top: 6px; }
.form-submit:hover { box-shadow: 0 0 30px rgba(255,184,0,.4); transform: translateY(-2px); }

/* ─── FOOTER ────────────────────────────────────────── */
footer { position: relative; z-index: 1; background: var(--dark); border-top: 1px solid var(--border); padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 58px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: .88rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: .74rem; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-word { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 13vw, 10rem); font-weight: 400; text-align: center; line-height: 1; color: rgba(255,255,255,.04); letter-spacing: 2px; margin: 30px 0 20px; user-select: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); padding-top: 24px; flex-wrap: wrap; }
.footer-copy { font-size: .78rem; color: var(--muted); }
.footer-bottom .social-links { margin: 0; }

/* ─── WHATSAPP FLOTANTE ─────────────────────────────── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #FFCB45, #FFB800); color: #1a1205; box-shadow: 0 8px 26px rgba(255,184,0,.38); animation: waPulse 2.8s ease-in-out infinite; transition: transform .25s, box-shadow .25s; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(255,184,0,.5); }
.wa-float svg { width: 30px; height: 30px; }

/* ─── ANIMACIONES ───────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: translateY(0);} }
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1;} }
@keyframes pulse { 0%,100% { opacity: 1;} 50% { opacity: .5;} }
@keyframes spin { to { transform: rotate(360deg);} }
@keyframes breathe { 0%,100% { transform: scale(.9); opacity: .7;} 50% { transform: scale(1.05); opacity: 1;} }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@keyframes waPulse { 0%,100% { box-shadow: 0 8px 26px rgba(255,184,0,.38), 0 0 0 0 rgba(255,184,0,.3);} 50% { box-shadow: 0 8px 26px rgba(255,184,0,.38), 0 0 0 13px rgba(255,184,0,0);} }
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .emblem-ring, .emblem-glow, .wa-float, body::before { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card.featured { grid-column: span 1; display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ind-layout { grid-template-columns: 1fr; }
  .ind-tabs { flex-direction: row; overflow-x: auto; }
  .ind-tab { white-space: nowrap; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 22px; }
  nav { padding: 14px 22px; }
  .nav-center { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-center.open {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    position: fixed; inset: 0; width: 100vw; height: 100dvh; transform: none; left: 0;
    background: rgba(8,8,9,.94); backdrop-filter: blur(20px); padding: 0 34px; z-index: 90;
  }
  .nav-center.open a { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--text); padding: 15px 2px; border-bottom: 1px solid var(--border); }
  .nav-center.open .nav-mobile-only { display: block; margin-top: 22px; }
  .nav-center.open .nav-mobile-only a { text-align: center; background: linear-gradient(135deg,#FFCB45,#FFB800); color:#1a1205; border-radius: 12px; border: none; font-family: 'Inter',sans-serif; font-size: .95rem; font-weight: 700; }
  body.nav-open { overflow: hidden; }
  .section-pad { padding: 76px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-box { grid-template-columns: 1fr; padding: 44px 30px; text-align: center; }
  .cta-actions { align-items: stretch; }
  .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 100px 0 48px; min-height: 100vh; min-height: 100dvh; align-items: stretch; }
  .hero-inner { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .hero-badge { margin-bottom: 62px; }
  .hero-title { font-size: clamp(2.3rem, 8.5vw, 3.4rem); margin: 0 0 30px; }
  .hero-sub { font-size: 1rem; margin: 0 0 80px; }
  .hero-actions { margin: 0; width: 100%; max-width: 400px; flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; padding-left: 26px; padding-right: 26px; }
  .hero-video { filter: brightness(.55) contrast(1.05) saturate(.8); object-position: 68% center; }
  .hero-veil { background:
    linear-gradient(to bottom, rgba(5,5,5,.82) 0%, rgba(5,5,5,.5) 40%, rgba(5,5,5,.92) 100%),
    radial-gradient(70% 40% at 50% 32%, rgba(255,184,0,.10), transparent 66%); }
}
@media (max-width: 480px) {
  .proc-grid { grid-template-columns: 1fr; }
}
