/* ==========================================================================
   XAG PY · design system del sitio (kit de marca v1, octubre 2026)
   Colores y tipografías: Core caltech "XAG PY/01 - Marca (kit de identidad)".
   Poppins = línea clara y texto. Barlow Condensed = reemplazo web de Bahnschrift
   (línea hangar, títulos y números). Máximo dos familias.
   Los componentes (nav, footer, wa-float, cookies) no dependen de body.xag para
   funcionar también en fp/cursos.php, que tiene su propio <head>.
   ========================================================================== */

:root {
  --rojo: #C81E24;
  --rojo-hover: #A9161C;
  --rojo-72: rgba(200, 30, 36, .72);
  --negro: #0D0D0D;
  --negro-2: #161616;
  --grafito: #3D3C38;
  --gris: #9A9A9A;
  --gris-claro: #F4F4F4;
  --borde: #E3E3E3;
  --blanco: #FFFFFF;
  --cielo: #7CB0DE;
  --horizonte: #BED5E9;
  --aviso: #F1D0D0;

  --f-texto: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --f-hangar: 'Barlow Condensed', 'Bahnschrift', 'Arial Narrow', sans-serif;

  --ancho: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radio: 18px;
  --nav-h: 72px;
}

/* ---------- base (solo páginas con inc/head.php). :where() = especificidad 0,
   para no pisar el CSS propio de cada página (p150.css, formularios) ---------- */
body.xag { margin: 0; background: var(--blanco); color: var(--grafito); font-family: var(--f-texto); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
:where(body.xag) *, :where(body.xag) *::before, :where(body.xag) *::after { box-sizing: border-box; }
:where(body.xag) img, :where(body.xag) video { max-width: 100%; display: block; }
:where(body.xag) a { color: inherit; }
:where(body.xag) h1, :where(body.xag) h2, :where(body.xag) h3, :where(body.xag) h4, :where(body.xag) p, :where(body.xag) ul, :where(body.xag) figure { margin: 0; }
:where(body.xag) ul { padding: 0; list-style: none; }
:where(body.xag) :focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); }
.rojo { color: var(--rojo); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografía ---------- */
.eyebrow { font-family: var(--f-hangar); font-weight: 300; font-size: .95rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gris); }
.eyebrow--rojo { color: var(--rojo); font-weight: 600; letter-spacing: .24em; }
.h-hangar { font-family: var(--f-hangar); font-weight: 300; text-transform: uppercase; line-height: .95; letter-spacing: .01em; color: var(--blanco); }
.h-hangar b, .h-hangar strong { font-weight: 700; }
.h-campo { font-family: var(--f-texto); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; }
.h-sec { font-family: var(--f-hangar); font-weight: 600; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: .005em; color: var(--negro); }
.h-sec--blanco { color: var(--blanco); }
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--grafito); max-width: 62ch; }
.lead--claro { color: rgba(255, 255, 255, .78); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font-family: var(--f-texto); font-style: italic; font-weight: 600; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--red { background: var(--rojo); color: var(--blanco) !important; }
.btn--red:hover { background: var(--rojo-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--blanco) !important; background: transparent; }
.btn--ghost:hover { background: var(--blanco); color: var(--negro) !important; }
.btn--dark { background: var(--negro); color: var(--blanco) !important; }
.btn--dark:hover { background: #2a2a2a; }
.btn--line { border-color: var(--negro); color: var(--negro) !important; }
.btn--line:hover { background: var(--negro); color: var(--blanco) !important; }
.btn--wa { background: #1FAF54; color: var(--blanco) !important; }
.btn--wa:hover { background: #178F44; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .78rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- reveal ---------- */
.rev { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rev--on { opacity: 1; transform: none; }
.rev.d1 { transition-delay: .08s; } .rev.d2 { transition-delay: .16s; } .rev.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rev { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); background: rgba(13, 13, 13, .94); font-family: var(--f-texto); transition: background .3s, box-shadow .3s; box-sizing: border-box; }
body.xag-hero .nav:not(.nav--scrolled):not(.nav--open) { background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.nav--scrolled { background: rgba(13, 13, 13, .94); box-shadow: 0 1px 0 rgba(255,255,255,.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 34px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 8px 14px; color: rgba(255,255,255,.86); text-decoration: none; font-size: .86rem; font-weight: 500; border-radius: 6px; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--blanco); }
.nav__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rojo); border-radius: 0; }
.nav__links .nav__cta-item { margin-left: 10px; }
.nav__links .nav__cta-item a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; color: var(--blanco); box-shadow: none; border-radius: 999px; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; z-index: 1002; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--blanco); transition: transform .3s, opacity .3s; }
.nav__toggle span + span { margin-top: 6px; }
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav__backdrop { display: none; }

@media (max-width: 1020px) {
  .nav { height: 64px; }
  .nav__logo img { height: 30px; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; top: 0; right: 0; width: min(84vw, 340px); height: 100vh; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; padding: 80px 28px 28px; background: var(--negro); transform: translateX(100%); transition: transform .35s ease; z-index: 1001; }
  .nav--open .nav__links { transform: none; }
  .nav__links a { font-size: 1.05rem; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--rojo); padding-left: 14px; }
  .nav__links .nav__cta-item { margin: 18px 0 0; }
  .nav__links .nav__cta-item a { min-height: 50px; border-bottom: 0; font-size: .9rem; }
  .nav__backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 1000; }
  .nav--open .nav__backdrop { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.sec--negro { background: var(--negro); color: rgba(255,255,255,.8); }
.sec--gris { background: var(--gris-claro); }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec__head--centro { text-align: center; justify-items: center; }

/* ---------- hero hangar ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--negro); color: var(--blanco); overflow: hidden; display: flex; align-items: flex-end; }
.hero__foto { position: absolute; inset: 0; display: flex; justify-content: center; }
.hero__foto picture { display: block; height: 100%; }
.hero__foto img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.hero__foto::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--negro) 0%, rgba(13,13,13,0) 28%, rgba(13,13,13,0) 72%, var(--negro) 100%),
  linear-gradient(0deg, var(--negro) 2%, rgba(13,13,13,.15) 38%, rgba(13,13,13,0) 60%, rgba(13,13,13,.45) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 9vh, 96px); padding-top: 120px; }
.hero__titulo { font-size: clamp(3.4rem, 10vw, 8.6rem); margin: 14px 0 22px; text-shadow: 0 0 6px rgba(0,0,0,.6); }
.hero__bajada { max-width: 40ch; color: rgba(255,255,255,.8); margin-bottom: 30px; font-size: clamp(1rem, 1.4vw, 1.15rem); }
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero__foto picture, .hero__foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero__foto img { object-fit: cover; object-position: 78% 62%; }
  .hero__foto::after { background:
    linear-gradient(90deg, rgba(13,13,13,.72) 0%, rgba(13,13,13,.38) 34%, rgba(13,13,13,0) 58%),
    linear-gradient(0deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,0) 24%, rgba(13,13,13,0) 84%, rgba(13,13,13,.45) 100%); }
  .hero__inner { padding-bottom: 0; padding-top: var(--nav-h); }
  .hero__inner > * { max-width: 600px; }
  .hero__inner > .hero__titulo { max-width: none; font-size: clamp(4rem, 7.4vw, 7.4rem); }
}
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; }
  .hero__foto { position: relative; inset: auto; height: min(118vw, 520px); }
  .hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
  .hero__foto::after { background: linear-gradient(0deg, var(--negro) 0%, rgba(13,13,13,0) 35%, rgba(13,13,13,0) 78%, rgba(13,13,13,.6) 100%); }
  .hero__inner { margin-top: -48px; padding-top: 0; padding-bottom: 48px; }
  .hero__titulo { margin-top: 10px; }
  .hero__scroll { display: none; }
}
.hero__scroll { position: absolute; right: var(--gutter); bottom: 34px; z-index: 2; width: 1px; height: 64px; background: linear-gradient(var(--rojo), transparent); }

/* ---------- franja lanzamiento ---------- */
.lanz { background: var(--rojo); color: var(--blanco); }
.lanz__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 18px; padding-bottom: 18px; }
.lanz__txt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-style: italic; }
.lanz__tag { font-family: var(--f-hangar); font-weight: 700; font-style: normal; letter-spacing: .2em; text-transform: uppercase; font-size: .95rem; }
.lanz__dato { font-weight: 800; text-transform: uppercase; }
.lanz__sep { width: 2px; height: 22px; background: rgba(255,255,255,.7); }
.lanz .btn--ghost { min-height: 44px; }

/* ---------- tarjetas de drones ---------- */
.drones { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.drone { position: relative; display: flex; flex-direction: column; border-radius: var(--radio); overflow: hidden; background: var(--gris-claro); border: 1px solid var(--borde); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.drone:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.12); }
.drone__img { aspect-ratio: 16 / 10; background: linear-gradient(180deg, #fff, #ECECEC); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.drone__img img { width: 100%; height: 100%; object-fit: cover; }
.drone__img--contain img { object-fit: contain; padding: 6% 8%; }
.drone__body { padding: 26px 28px 30px; display: grid; gap: 14px; }
.drone__nombre { font-family: var(--f-hangar); font-weight: 700; font-size: 2.1rem; text-transform: uppercase; line-height: 1; color: var(--negro); }
.drone__desc { font-size: .95rem; }
.drone__cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--borde); padding-top: 16px; }
.drone__cifras b { display: block; font-family: var(--f-hangar); font-weight: 600; font-size: 1.6rem; line-height: 1; color: var(--negro); }
.drone__cifras span { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #6f6f6f; }
.drone__mas { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-style: italic; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; color: var(--rojo); }
.drone__badge { position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--rojo); color: var(--blanco); font-family: var(--f-hangar); font-weight: 700; letter-spacing: .18em; font-size: .85rem; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; }
.drone--max { background: var(--negro); border-color: var(--negro); color: rgba(255,255,255,.78); }
.drone--max .drone__img { background: radial-gradient(ellipse at 50% 60%, #2a2a2a, var(--negro) 70%); }
.drone--max .drone__nombre, .drone--max .drone__cifras b { color: var(--blanco); }
.drone--max .drone__cifras { border-color: rgba(255,255,255,.12); }
.drone--max .drone__cifras span { color: var(--gris); }
.drone__logo { height: 42px; width: auto; }

/* ---------- cifras (banda negra) ---------- */
.cifras { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.cifra { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.cifra:last-child { border-right: 0; }
.cifra b { display: block; font-family: var(--f-hangar); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; color: var(--blanco); }
.cifra b small { font-size: .45em; font-weight: 400; margin-left: 4px; color: var(--gris); }
.cifra span { display: block; margin-top: 8px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }

/* ---------- campo claro ---------- */
.campo { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cielo) 0%, var(--horizonte) 100%); padding: clamp(56px, 8vw, 110px) 0; }
.campo__foto { position: absolute; inset: 0; }
@media (min-width: 900px) { .campo__foto { left: 24%; right: -8%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); } }
.campo__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.campo__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(124,176,222,.35), rgba(124,176,222,0) 40%); }
@media (max-width: 899px) { .campo__foto::after { background: rgba(124,176,222,.35); } }
.vidrio { position: relative; z-index: 2; max-width: 560px; padding: clamp(28px, 4vw, 48px); border-radius: 44px; background: rgba(255,255,255,.12); border: 3px solid rgba(255,255,255,.9); color: var(--blanco); text-shadow: 0 0 6px rgba(0,0,0,.6); display: grid; gap: 16px; }
.vidrio .h-campo { font-size: clamp(2rem, 4vw, 3.1rem); }
.vidrio p { font-size: 1.02rem; }
.vidrio .btn { text-shadow: none; }
.pastilla { display: inline-flex; align-items: center; min-height: 62px; padding: 0 30px; border-radius: 999px; background: var(--rojo-72); color: var(--blanco) !important; font-style: italic; text-transform: uppercase; font-weight: 600; letter-spacing: .03em; text-decoration: none; text-shadow: none; transition: background .2s; justify-self: start; }
.pastilla:hover { background: var(--rojo); }

/* ---------- servicio ---------- */
.servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.servicio { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); padding: 30px 28px; display: grid; gap: 12px; align-content: start; }
.servicio__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--negro); color: var(--blanco); display: grid; place-items: center; }
.servicio__ico svg { width: 24px; height: 24px; }
.servicio h3 { font-family: var(--f-hangar); font-weight: 600; font-size: 1.6rem; text-transform: uppercase; line-height: 1; color: var(--negro); }
.servicio p { font-size: .95rem; }
.servicio a.link { font-weight: 600; font-style: italic; text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; color: var(--rojo); text-decoration: none; margin-top: 4px; }
.servicio a.link:hover { text-decoration: underline; }

/* ---------- capacitación (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__foto { border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 3; }
.split__foto img { width: 100%; height: 100%; object-fit: cover; }
.split__txt { display: grid; gap: 18px; }
.check { display: grid; gap: 10px; }
.check li { position: relative; padding-left: 28px; }
.check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--rojo); }

/* ---------- cta final hangar ---------- */
.cta { background: radial-gradient(ellipse 70% 55% at 50% 115%, rgba(255,255,255,.13), rgba(255,255,255,0) 70%), var(--negro); color: var(--blanco); text-align: center; padding: clamp(72px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.cta .wrap { position: relative; display: grid; justify-items: center; gap: 20px; }
.cta__titulo { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.cta .btn-row { justify-content: center; }

/* ---------- hero de página interna ---------- */
.ph { background: var(--negro); color: var(--blanco); padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 7vw, 84px); position: relative; overflow: hidden; }
.ph::after { content: ""; position: absolute; right: -10%; bottom: -60%; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(200,30,36,.22), rgba(200,30,36,0) 60%); pointer-events: none; }
.ph .wrap { position: relative; z-index: 1; display: grid; gap: 16px; }
.ph__titulo { font-size: clamp(3rem, 8vw, 6rem); }

/* ==========================================================================
   FOOTER, WHATSAPP, COOKIES (componentes autónomos)
   ========================================================================== */
.footer { background: var(--negro); color: var(--gris); font-family: var(--f-texto); font-size: .92rem; line-height: 1.6; box-sizing: border-box; }
.footer *, .footer *::before, .footer *::after { box-sizing: border-box; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: var(--blanco); text-decoration: underline; }
.footer__lema { border-bottom: 1px solid rgba(255,255,255,.08); padding: 44px var(--gutter); text-align: center; }
.footer__lema-txt { margin: 0; font-family: var(--f-hangar); font-weight: 300; text-transform: uppercase; color: var(--blanco); font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1; }
.footer__lema-txt span { color: var(--rojo); font-weight: 700; }
.footer__main { max-width: var(--ancho); margin: 0 auto; padding: 56px var(--gutter) 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: 40px; }
.footer__logo { width: 180px; height: auto; display: block; margin-bottom: 14px; }
.footer__firma { margin: 0 0 10px; font-family: var(--f-hangar); letter-spacing: .24em; text-transform: uppercase; font-size: .85rem; color: var(--blanco); }
.footer__desc { margin: 0 0 20px; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--blanco); transition: background .2s; }
.footer__social a:hover { background: var(--rojo); text-decoration: none; }
.footer h4 { margin: 0 0 16px; font-family: var(--f-hangar); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .9rem; color: var(--blanco); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__rot { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #6b6b6b; }
.footer__bottom { max-width: var(--ancho); margin: 0 auto; padding: 20px var(--gutter) 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer__bottom p { margin: 0; }
@media (max-width: 1020px) { .footer__main { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__main { grid-template-columns: 1fr; gap: 32px; } .footer__bottom { padding-bottom: 96px; } }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; background: #1FAF54; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.28); transition: transform .2s; font-family: var(--f-texto); }
.wa-float:hover { transform: scale(1.06); }
.wa-float__tip { position: absolute; right: 70px; white-space: nowrap; background: var(--blanco); color: var(--negro); font-size: .82rem; font-weight: 500; padding: 8px 14px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transition: opacity .2s; }
.wa-float:hover .wa-float__tip { opacity: 1; visibility: visible; }
@media (max-width: 640px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } .wa-float__tip { display: none; } }

.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000; background: var(--negro-2); color: #ddd; font-family: var(--f-texto); padding: 18px var(--gutter); box-shadow: 0 -6px 24px rgba(0,0,0,.3); transform: translateY(110%); transition: transform .4s ease; box-sizing: border-box; }
.cookie-banner.show { transform: none; }
.cookie-banner__inner { max-width: var(--ancho); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; }
.cookie-banner__text { flex: 1; min-width: 240px; font-size: .86rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-btn { border: 0; border-radius: 999px; padding: 10px 18px; font: 600 .82rem var(--f-texto); cursor: pointer; }
.cookie-btn--accept { background: var(--rojo); color: #fff; }
.cookie-btn--accept:hover { background: var(--rojo-hover); }
.cookie-btn--reject { background: #333; color: #ddd; }
.cookie-btn--reject:hover { background: #444; }
.cookie-btn--custom { background: transparent; color: #aaa; text-decoration: underline; }
.cookie-prefs { width: 100%; display: none; gap: 10px; padding-top: 14px; border-top: 1px solid #333; }
.cookie-prefs.show { display: grid; }
.cookie-prefs__row { display: flex; align-items: center; gap: 10px; font-size: .84rem; cursor: pointer; }
.cookie-prefs__row input { width: 16px; height: 16px; accent-color: var(--rojo); }
.cookie-prefs__row--locked { opacity: .6; cursor: default; }
.cookie-prefs .cookie-btn { justify-self: start; }
@media (max-width: 640px) { .cookie-banner__actions { width: 100%; } .cookie-btn--accept, .cookie-btn--reject { flex: 1; } }

/* ==========================================================================
   RESPONSIVE de secciones
   ========================================================================== */
@media (max-width: 960px) {
  .drones { grid-template-columns: 1fr; }
  .servicios { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cifras { grid-template-columns: repeat(2, 1fr); }
  .cifra:nth-child(2) { border-right: 0; }
  .cifra:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 560px) {
  .btn-row .btn { width: 100%; }
  .drone__cifras b { font-size: 1.35rem; }
  .lanz__sep { display: none; }
  .vidrio { border-radius: 28px; }
}

/* ==========================================================================
   NOSOTROS
   ========================================================================== */
.servicios--4 { grid-template-columns: repeat(4, 1fr); }
.nos-rasgos { grid-template-columns: repeat(3, 1fr); }
.nos-rasgos .cifra { padding: 36px 28px; text-align: left; }
.nos-rasgos .cifra b { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.nos-rasgos .cifra span { letter-spacing: .02em; text-transform: none; font-size: .95rem; color: rgba(255,255,255,.7); }
@media (max-width: 1100px) { .servicios--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .nos-rasgos { grid-template-columns: 1fr; }
  .nos-rasgos .cifra { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nos-rasgos .cifra:last-child { border-bottom: 0; }
}
@media (max-width: 640px) { .servicios--4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACTO (interesados.php)
   ========================================================================== */
.lead-sec { padding-top: clamp(40px, 6vw, 72px); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.lead-card { background: var(--blanco); border-radius: var(--radio); padding: clamp(24px, 4vw, 44px); box-shadow: 0 14px 40px rgba(0,0,0,.07); display: grid; gap: 18px; }
.lead-form { display: grid; gap: 18px; }
.lead-form__group { display: grid; gap: 6px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { font-size: .82rem; font-weight: 600; color: var(--grafito); }
.lead-form__opc { font-weight: 400; color: #888; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #D2D2D6; border-radius: 10px; font: 400 .95rem var(--f-texto); color: var(--negro); background: var(--blanco); transition: border-color .2s, box-shadow .2s; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--rojo); box-shadow: 0 0 0 3px rgba(200,30,36,.12); }
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form__hp { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; opacity: 0; }
.lead-form__submit { width: 100%; margin-top: 4px; }
.lead-form__submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.lead-msg { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; font-size: .92rem; }
.lead-msg ul { display: grid; gap: 4px; }
.lead-msg--error { background: #FBEAEA; color: #9E1A1F; border: 1px solid var(--aviso); }
.lead-msg--ok { background: #E9F7EF; color: #1D6B3A; border: 1px solid #B6E2C6; }
.lead-msg svg { flex: none; }
.lead-card > .btn { justify-self: start; }
.lead-aside { background: var(--negro); color: rgba(255,255,255,.8); border-radius: var(--radio); padding: 32px 28px; display: grid; gap: 18px; }
.lead-aside__titulo { font-family: var(--f-hangar); font-weight: 600; text-transform: uppercase; font-size: 1.8rem; line-height: 1; color: var(--blanco); }
.lead-canales { display: grid; gap: 16px; }
.lead-canales li { display: grid; gap: 2px; }
.lead-canales span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.lead-canales a { color: var(--blanco); text-decoration: none; font-weight: 500; }
.lead-canales a:hover { text-decoration: underline; }
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lead-form__row { grid-template-columns: 1fr; } }
