/* =========================================================
   BV HOUSE REFORMAS — Sistema visual v2
   Portada oscura "técnica" + secciones claras
   ========================================================= */

:root {
  --ink: #07080A;
  --ink-2: #0E1014;
  --ink-3: #161920;
  --line-d: rgba(255,255,255,.09);
  --line-l: rgba(10,12,16,.10);
  --gold: #C8963E;
  --gold-2: #E2B96F;
  --gold-soft: rgba(200,150,62,.12);
  --paper: #F5F3EE;
  --white: #FFFFFF;
  --text: #14161A;
  --muted: #5B616C;
  --muted-d: #9AA1AC;
  --wa: #25D366;
  --f-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --r: 14px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--f-body); background: var(--paper); color: var(--text); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
.gold { color: var(--gold); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 10px 30px rgba(200,150,62,.35); }
.btn-whatsapp { background: var(--wa); color: #04210F; }
.btn-whatsapp:hover { box-shadow: 0 10px 30px rgba(37,211,102,.35); }
.btn-outline { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-line { border: 1px solid var(--line-l); color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Cabecera ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(7,8,10,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-d); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header-logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.header-logo img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.header-logo span { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.header-logo small { display: block; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; color: var(--muted-d); text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a:not(.btn) { color: rgba(255,255,255,.72); font-size: .92rem; font-weight: 500; position: relative; transition: color .2s; }
.nav-menu a:not(.btn):hover, .nav-menu a.active { color: #fff; }
.nav-menu a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--gold); }
.nav-cta { padding: 11px 20px; }
.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.hamburger span { width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Fondo técnico (rejilla) ---------- */
.tech-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tech-bg::before { content: ""; position: absolute; inset: -1px; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); }
.tech-bg::after { content: ""; position: absolute; width: 900px; height: 900px; right: -250px; top: -300px; background: radial-gradient(circle, rgba(200,150,62,.22), transparent 60%); filter: blur(10px); }

/* ---------- HERO portada ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: #fff; display: flex; align-items: center; padding: 120px 0 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: var(--hero-img, url(../assets/img/proyecto-8.jpeg)); background-size: cover; background-position: center; opacity: .14; filter: grayscale(.4) contrast(1.1); will-change: transform; }
.hero .container { position: relative; z-index: 2; }
.hero-top { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted-d); margin-bottom: 34px; }
.hero-top .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.18); margin-right: 8px; vertical-align: 1px; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.8rem); font-weight: 600; max-width: 14ch; letter-spacing: -.035em; }
.hero h1 .gold { background: linear-gradient(90deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.72); max-width: 580px; margin: 26px 0 36px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.telemetry { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-d); border-radius: var(--r); background: rgba(14,16,20,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.telemetry div { padding: 22px 24px; border-left: 1px solid var(--line-d); }
.telemetry div:first-child { border-left: 0; }
.telemetry .mono { color: var(--muted-d); font-size: .68rem; }
.telemetry strong { display: block; font-family: var(--f-head); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 6px; letter-spacing: -.02em; }
.telemetry strong em { font-style: normal; color: var(--gold); }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 160px 0 90px; overflow: hidden; }
.page-hero .hero-bg { opacity: .18; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 16ch; letter-spacing: -.03em; }
.page-hero-text { font-size: 1.1rem; color: rgba(255,255,255,.72); max-width: 640px; margin: 22px 0 34px; }
.breadcrumb { color: var(--muted-d); margin-bottom: 22px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; position: relative; }
.section.dark { background: var(--ink); color: #fff; }
.section.white { background: var(--white); }
.section-header { max-width: 760px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-header h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.section-header p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.dark .section-header p { color: var(--muted-d); }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; }
.service-card { background: var(--white); padding: 38px 32px 34px; display: flex; flex-direction: column; transition: background .3s; position: relative; min-height: 290px; }
.service-card:hover { background: #FBFAF7; }
.service-num { color: var(--muted); }
.service-icon { width: 46px; height: 46px; margin: 26px 0 22px; color: var(--gold); }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .97rem; }
.service-more { margin-top: auto; padding-top: 22px; color: var(--text); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; transition: gap .25s, color .25s; }
a.service-card:hover .service-more { color: var(--gold); gap: 14px; }

/* ---------- Galería ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; }
.gallery-item { position: relative; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--ink-3); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6):nth-last-child(3), .gallery-item:nth-child(6):nth-last-child(2), .gallery-item:nth-child(7):last-child { grid-column: span 2; }
.gallery-grid.g-small .gallery-item { grid-column: auto; grid-row: auto; }
.gallery-grid.g-small { grid-auto-rows: 300px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: .9rem; font-weight: 500; display: flex; justify-content: space-between; align-items: end; }
.gallery-overlay .mono { color: var(--gold-2); font-size: .66rem; }
.gallery-more { margin-top: 30px; color: var(--muted-d); }
.gallery-more a { color: var(--gold-2); }

/* ---------- Antes / Después ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ba { position: relative; aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; user-select: none; background: var(--ink-3); --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 6px; background: rgba(7,8,10,.7); color: #fff; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; }
.ba-caption { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-image { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image .mono { position: absolute; left: 18px; bottom: 18px; background: rgba(7,8,10,.75); color: #fff; padding: 8px 12px; border-radius: 8px; }
.about-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 22px; }
.about-content p { color: var(--muted); margin-bottom: 16px; font-size: 1.04rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.about-feature { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-l); border-radius: 12px; background: var(--white); font-size: .95rem; font-weight: 500; }
.about-feature-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); }
.about-feature-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ---------- Proceso ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-l); }
.step { padding: 30px 26px 10px 0; position: relative; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.step-num { display: block; color: var(--gold); margin-bottom: 14px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-banner { position: relative; background: var(--ink); color: #fff; padding: 110px 0; overflow: hidden; text-align: center; }
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 18ch; margin: 0 auto 18px; }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 34px; font-size: 1.08rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; border-top: 1px solid var(--line-l); }
.section-header.center + .faq-list { margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-l); }
.faq-question { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--f-head); font-size: 1.15rem; font-weight: 500; color: var(--text); }
.faq-question:hover { color: var(--gold); }
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: currentColor; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform .3s; }
.faq-icon::before { width: 16px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 16px; }
.faq-question.active .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-answer.open { max-height: 400px; }
.faq-answer p { padding: 0 40px 26px 0; color: var(--muted); }
.faq-answer a { color: var(--gold); text-decoration: underline; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 22px; }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-l); }
.contact-item-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--ink); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-item-text strong { display: block; font-size: .8rem; font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-item-text span, .contact-item-text a { font-weight: 500; }
.contact-item-text a:hover { color: var(--gold); }
.contact-form { background: var(--white); border: 1px solid var(--line-l); border-radius: 18px; padding: 36px; box-shadow: 0 30px 60px -30px rgba(10,12,16,.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line-l); border-radius: 10px; background: var(--paper); font: inherit; color: var(--text); transition: border-color .2s, background .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 0; border-color: var(--gold); background: #fff; }
.form-group textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-note a { color: var(--gold); }

/* ---------- Texto largo / zonas ---------- */
.page-intro p { font-size: 1.1rem; line-height: 1.85; color: #2B2F36; margin-bottom: 20px; }
.page-intro h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 22px; }
.link-list li { border-bottom: 1px solid var(--line-l); }
.link-list a { display: flex; justify-content: space-between; padding: 18px 0; font-weight: 500; transition: color .2s; }
.link-list a::after { content: "→"; color: var(--gold); }
.link-list a:hover { color: var(--gold); }
.zones-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; }
.zone-card { background: var(--white); padding: 34px; }
.zone-card .service-icon { margin: 0 0 18px; width: 34px; height: 34px; }
.zone-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.zone-card p { color: var(--muted); }
.zones-note { margin-top: 26px; color: var(--muted); }
.zones-note a, .zones-short a { color: var(--gold); font-weight: 600; }
.zones-short { padding: 80px 0; border-top: 1px solid var(--line-l); }
.zones-short h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.zones-short p { color: var(--muted); max-width: 820px; }

/* ---------- Legal ---------- */
.legal-page { padding: 150px 0 90px; background: var(--paper); }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 30px; }
.legal-page h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.legal-page p, .legal-page li { color: #2B2F36; margin-bottom: 10px; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page a { color: var(--gold); }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 90px 0 30px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 2; }
.footer-brand p { margin-top: 18px; max-width: 340px; font-size: .95rem; }
.footer-contact a { color: var(--gold-2); }
.footer-links h4 { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 18px; }
.footer-links a { display: block; padding: 5px 0; font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold-2); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--line-d); border-radius: 10px; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; position: relative; z-index: 2; }
.footer-word { font-family: var(--f-head); font-weight: 700; font-size: clamp(4rem, 16vw, 13rem); letter-spacing: -.05em; line-height: .8; color: rgba(255,255,255,.035); margin-top: 50px; white-space: nowrap; user-select: none; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; z-index: 90; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .25s; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Cookies ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: var(--ink-2); color: rgba(255,255,255,.8); border: 1px solid var(--line-d); border-radius: 14px; padding: 18px 20px; z-index: 200; transform: translateY(160%); transition: transform .5s var(--ease); font-size: .9rem; }
.cookie-banner.show { transform: none; }
.cookie-banner .container { padding: 0; display: flex; align-items: center; gap: 18px; justify-content: space-between; }
.cookie-banner a { color: var(--gold-2); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.cookie-accept { background: var(--gold); color: var(--ink); }
.cookie-reject { border: 1px solid var(--line-d); color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(4,5,6,.95); z-index: 300; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.active { display: flex; }
.lightbox img { max-height: 86vh; max-width: 90vw; border-radius: 10px; transition: opacity .2s; }
.lightbox-close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 2.4rem; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 2rem; line-height: 1; }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }

/* ---------- Animaciones ---------- */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } .hero-top .dot { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-grid .gallery-item:nth-child(n) { grid-column: span 1; }
  .gallery-grid .gallery-item:nth-child(1), .gallery-grid .gallery-item:last-child:nth-child(even) { grid-column: span 2; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-menu { position: fixed; top: 0; right: -100%; width: min(360px, 88vw); height: 100vh; height: 100dvh; background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 40px 34px; transition: right .4s var(--ease); border-left: 1px solid var(--line-d); }
  .nav-menu.open { right: 0; }
  .nav-menu a:not(.btn) { font-size: 1.25rem; color: #fff; }
  .hamburger { display: flex; z-index: 110; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-image { aspect-ratio: 16/11; }
  .telemetry { grid-template-columns: repeat(2, 1fr); }
  .telemetry div:nth-child(3) { border-left: 0; }
  .telemetry div:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .ba-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 110px; }
  .hero-buttons .btn, .cta-buttons .btn { width: 100%; justify-content: center; }
  .telemetry { margin-top: 44px; }
  .telemetry div { padding: 18px; }
  .services-grid, .zones-grid, .steps-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .gallery-grid { grid-auto-rows: 170px; gap: 10px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 70px; }
  .cookie-banner .container { flex-direction: column; align-items: flex-start; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
