*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --purple: #8B35A8;
  --purple-dark: #6d2085;
  --purple-mid: #b05dd1;
  --purple-pale: rgba(139,53,168,0.08);
  --navy: #1a0a2e;
  --text: #1c1c2e;
  --muted: #64687a;
  --bg: #ffffff;
  --bg-light: #f7f4fb;
  --border: #e8e2f0;
  --focus: #6d2085;
  --error: #b42318;
  --ok: #15803d;
}
html { scroll-behavior: smooth; }
body { font-family: Inter, -apple-system, sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 16px; z-index: 2000; }
.skip-link:focus { left: 8px; top: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; }
.section { padding: 100px 32px; }
.section.light { background: var(--bg-light); }
.eyebrow { color: var(--purple); font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 0.8rem; }
.sec-title { font-family: Sora, sans-serif; font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.8px; color: var(--text); margin-bottom: 1.4rem; }
.sec-title strong { background: linear-gradient(135deg, var(--purple), var(--purple-mid)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sec-desc { color: var(--muted); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1rem; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }

/* NAV */
nav { position: sticky; top: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
nav.scrolled { box-shadow: 0 2px 20px rgba(139,53,168,0.08); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0.5px 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 64px; width: auto; object-fit: contain; }
.nav-links { display: flex; list-style: none; gap: clamp(10px, 1.2vw, 20px); flex-wrap: nowrap; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: clamp(0.76rem, 0.95vw, 0.9rem); white-space: nowrap; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--purple); border-radius: 2px; transition: width 0.3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--purple); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 10px 18px; background: linear-gradient(135deg, var(--purple), var(--purple-mid)); color: #fff; text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 0.85rem; box-shadow: 0 4px 20px rgba(139,53,168,0.3); white-space: nowrap; }
.nav-cta:hover { background: var(--purple-dark); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.ps-lang-selector { position: relative; }
.ps-lang-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 0.88rem; font-weight: 500; color: var(--text); font-family: inherit; }
.ps-lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; min-width: 160px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transform: translateY(-8px); z-index: 1001; }
.ps-lang-dropdown.open { opacity: 1; visibility: visible; transform: none; }
.ps-lang-dropdown a { display: flex; align-items: center; gap: 10px; padding: 11px 16px; text-decoration: none; color: var(--text); font-size: 0.88rem; }
.ps-lang-dropdown a:hover, .ps-lang-dropdown a[aria-current="true"] { background: var(--bg-light); color: var(--purple); font-weight: 600; }

/* HERO */
.hero { min-height: calc(100vh - 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1280px; margin: 0 auto; padding: 80px 32px 80px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.6rem; }
.hero-eyebrow .bar { width: 28px; height: 2px; background: var(--purple); border-radius: 2px; }
.hero h1 { font-family: Sora, sans-serif; font-size: clamp(2.1rem, 3.6vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -1.2px; margin-bottom: 1.4rem; }
.hero h1 strong { background: linear-gradient(135deg, var(--purple), var(--purple-mid)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.1rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-main, .btn-ghost, .btn-submit { padding: 15px 32px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: none; cursor: pointer; font-family: inherit; }
.btn-main { background: var(--purple); color: #fff; box-shadow: 0 6px 20px rgba(139,53,168,0.28); }
.btn-main:hover { background: var(--purple-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-pale); }
.btn-submit { width: 100%; justify-content: center; background: var(--purple); color: #fff; }
.btn-submit:disabled { opacity: 0.65; cursor: wait; }
.hero-visual { position: relative; height: 520px; border-radius: 24px; overflow: hidden; }
.hero-carousel { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-controls { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; z-index: 10; gap: 12px; }
.carousel-indicators { display: flex; gap: 8px; }
.carousel-indicator { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: 0; cursor: pointer; }
.carousel-indicator.active { background: #fff; width: 28px; border-radius: 4px; }
.carousel-pause { background: rgba(26,10,46,0.55); color: #fff; border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer; font-size: 0.78rem; font-weight: 600; }

.stats-strip { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 32px; }
.stats-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-num { font-family: Sora, sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--purple); display: block; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.88rem; color: var(--muted); font-weight: 500; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-title { font-family: Sora, sans-serif; font-size: 2.4rem; font-weight: 800; margin-bottom: 20px; color: var(--navy); }
.about-description { color: var(--muted); line-height: 1.8; font-size: 1.05rem; margin-bottom: 1.2rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.chip { font-size: 0.75rem; font-weight: 700; background: var(--purple-pale); border: 1px solid rgba(176,93,209,0.3); color: var(--purple); padding: 4px 12px; border-radius: 50px; }
.grupo-card { background: linear-gradient(145deg, #1a0a2e 0%, #2d0b4d 100%); color: #fff; border-radius: 24px; padding: 2.4rem; }
.grupo-card h2, .grupo-card h3 { font-family: Sora, sans-serif; margin-bottom: 0.8rem; }
.grupo-card p { color: rgba(255,255,255,0.78); margin-bottom: 1rem; }
.grupo-card a { color: #fff; }

.services-grid, .page-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card, .page-card { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover, .page-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px var(--purple-pale); border-color: var(--purple-mid); }
.service-number { font-family: Sora, sans-serif; font-size: 2rem; font-weight: 800; color: var(--purple); opacity: 0.15; }
.service-card h3, .page-card h2, .page-card h3 { font-family: Sora, sans-serif; font-size: 1.25rem; margin: 0.6rem 0 0.8rem; color: var(--text); }
.benefits-list { list-style: none; }
.benefits-list li { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.55rem; padding-left: 1.1rem; position: relative; }
.benefits-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--purple); border-radius: 50%; }

.models-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; justify-content: center; }
.model-tab { padding: 0.65rem 1.2rem; background: var(--bg); border: 2px solid var(--border); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem; font-family: inherit; }
.model-tab[aria-selected="true"] { background: var(--purple); color: #fff; border-color: var(--purple); }
.etiquetas-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; background: var(--bg); padding: 2rem; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.etiqueta-image-wrapper { aspect-ratio: 1; background: var(--bg-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.etiqueta-image { width: 100%; height: 100%; object-fit: contain; }
.etiqueta-spec-item { display: flex; justify-content: space-between; padding: 0.45rem 0.6rem; background: var(--bg-light); border-radius: 6px; margin-bottom: 0.35rem; font-size: 0.85rem; }

.acessorios-carousel-container { position: relative; margin-top: 2rem; padding: 0 56px; }
.acessorios-carousel { display: flex; gap: 1.2rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 1rem 0; }
.acessorios-carousel::-webkit-scrollbar { display: none; }
.acessorio-item { flex: 0 0 180px; background: var(--bg); border-radius: 12px; padding: 1.2rem; text-align: center; border: 2px solid var(--border); }
.acessorio-item-image { aspect-ratio: 1; background: var(--bg-light); border-radius: 8px; margin-bottom: 0.8rem; overflow: hidden; }
.acessorio-item-image img { width: 100%; height: 100%; object-fit: contain; padding: 0.4rem; }
.carousel-button { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel-button.prev { left: 0; } .carousel-button.next { right: 0; }
.carousel-button:disabled { opacity: 0.3; }

.base-station-grid, .led-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.base-station-card, .led-card { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; }
.led-tag { display: inline-flex; padding: 4px 12px; background: var(--bg-light); border-radius: 50px; font-size: 0.75rem; font-weight: 700; color: var(--purple); }

.clientes-scroller { margin-top: 2rem; position: relative; padding: 0 3rem; }
.clientes-scroll-view { overflow-x: auto; scrollbar-width: none; }
.clientes-logo-grid { display: flex; gap: 1.5rem; }
.cliente-logo-item { background: var(--bg); border-radius: 16px; padding: 2rem; min-height: 140px; flex: 0 0 220px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--border); }
.cliente-logo-item img { width: 100%; height: 80px; object-fit: contain; filter: grayscale(100%); opacity: 0.75; }
.cliente-logo-item:hover img { filter: none; opacity: 1; }
.clientes-scroll-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 999px; border: 2px solid var(--purple); background: var(--bg); color: var(--purple); cursor: pointer; }
#clientes-scroll-prev { left: 0; } #clientes-scroll-next { right: 0; }

.fila-grid, .contact-grid, .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.fila-feature-card, .feature-pill-item { display: flex; gap: 1rem; padding: 1.2rem; background: var(--bg-light); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 1rem; }
.f-icon, .feature-pill-icon { width: 44px; height: 44px; background: var(--purple); color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.form-card { background: var(--bg); border: 1px solid var(--border); border-radius: 24px; padding: 2.4rem; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.45rem; }
.req { color: var(--purple); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; font-size: 0.95rem; font-family: inherit; color: var(--text); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,53,168,0.08); outline: none; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group.invalid input, .form-group.invalid textarea, .form-group.invalid select { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.8rem; margin-top: 0.35rem; display: none; }
.form-group.invalid .field-error { display: block; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.check { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.8rem; }
.check input { margin-top: 3px; }
.check label { flex: 1; }
.check .field-error { flex-basis: 100%; margin-left: 28px; }
.legal-note { font-size: 0.78rem; color: var(--muted); line-height: 1.6; margin: 1rem 0; }
.form-status { margin-top: 1rem; padding: 1rem; border-radius: 12px; display: none; }
.form-status.ok { display: block; background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.25); color: var(--ok); }
.form-status.err { display: block; background: rgba(180,35,24,0.06); border: 1px solid rgba(180,35,24,0.2); color: var(--error); }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-ico { width: 52px; height: 52px; background: var(--purple-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item a { color: var(--text); font-weight: 700; text-decoration: none; font-size: 1.05rem; }

.faq-item { background: var(--bg); border-radius: 16px; border: 1px solid var(--border); margin-bottom: 10px; overflow: hidden; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 1rem; padding: 20px 24px; background: none; border: 0; cursor: pointer; font-family: Sora, sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); text-align: left; }
.faq-item .faq-body { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.open .faq-body { max-height: 240px; }
.faq-item .faq-body p { padding: 0 24px 18px; color: var(--muted); }

.breadcrumbs { padding: 24px 32px 0; max-width: 1280px; margin: 0 auto; font-size: 0.85rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--border); }
.page-hero { padding: 48px 32px 24px; max-width: 1280px; margin: 0 auto; }
.page-hero h1 { font-family: Sora, sans-serif; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; max-width: 800px; }
.prose { max-width: 800px; }
.prose h2 { font-family: Sora, sans-serif; font-size: 1.5rem; margin: 2rem 0 0.8rem; }
.prose p, .prose li { color: var(--muted); line-height: 1.8; margin-bottom: 0.8rem; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.process { display: grid; gap: 1rem; counter-reset: step; }
.process li { list-style: none; padding: 1.2rem 1.2rem 1.2rem 4rem; background: var(--bg-light); border-radius: 14px; position: relative; }
.process li::before { counter-increment: step; content: counter(step); position: absolute; left: 1rem; top: 1.1rem; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }

.cta-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 64px 32px; }
.cta-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { font-family: Sora, sans-serif; font-size: clamp(1.6rem, 2.5vw, 2.3rem); font-weight: 800; }

footer { border-top: 1px solid var(--border); padding: 64px 32px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 40px; border-bottom: 1px solid var(--border); max-width: 1280px; margin: 0 auto; }
.footer-grid h3, .footer-grid h2 { font-family: Sora, sans-serif; font-size: 1.1rem; margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.footer-grid li { margin-bottom: 0.6rem; }
.footer-bottom { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 18px 0 24px; font-size: 0.78rem; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px; }

.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 3000; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem 1.4rem; box-shadow: 0 16px 40px rgba(26,10,46,0.18); max-width: 720px; margin: 0 auto; display: none; }
.cookie-banner.show { display: block; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cookie-actions button { border-radius: 8px; padding: 10px 14px; font-weight: 600; cursor: pointer; font-family: inherit; border: 1px solid var(--border); background: #fff; }
.cookie-actions .accept { background: var(--purple); color: #fff; border-color: var(--purple); }
.sobre-galeria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sobre-galeria-item { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4/3; }
.sobre-galeria-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.sobre-galeria-item img { width: 100%; height: 100%; object-fit: cover; }
.notice { background: var(--bg-light); border: 1px dashed var(--border); border-radius: 16px; padding: 1.4rem; color: var(--muted); }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.error-page h1 { font-family: Sora, sans-serif; font-size: 4rem; color: var(--purple); }

.galeria-home { margin-top: 48px; }
.sec-title.spaced, .spaced { margin-top: 3rem; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.active { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero, .about-section, .etiquetas-container, .fila-grid, .contact-grid, .two-col { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; order: -1; }
  .stats-inner, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding-top: 48px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1.2rem 24px 2rem; gap: 0; border-bottom: 1px solid var(--border); align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 0.85rem 0; }
  .nav-cta { display: none; }
  .form-row, .stats-inner, .footer-grid, .sobre-galeria-grid { grid-template-columns: 1fr; }
  .sobre-galeria-item:first-child { grid-column: span 1; }
  .section, .hero, .page-hero, .breadcrumbs { padding-left: 20px; padding-right: 20px; }
  .logo img { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .carousel-slide { transition: none; }
}
