/*
Theme Name: AXXIS Logistics
Author: AXXIS Logistics
Description: Tema one-page liviano para AXXIS Logistics (logística y coordinación de eventos corporativos, Bogotá, Colombia). Sin constructores visuales. Incluye gestor de solicitudes (Enquiries), origen de leads, WhatsApp, SEO local y textos editables desde Apariencia → Personalizar.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axxis
*/

/* ==========================================================================
   Fuentes (Google Fonts, alojadas en el tema: Bebas Neue + Poppins, OFL)
   ========================================================================== */
@font-face { font-family: "Bebas Neue"; src: url("assets/fonts/BebasNeue-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* ==========================================================================
   Tokens (paleta oficial del Manual de Identidad)
   ========================================================================== */
:root {
	--graphite: #333840;   /* Grafito AXXIS */
	--lime: #CCD626;       /* Lima AXXIS */
	--gray: #848484;       /* Gris descriptor */
	--white: #FFFFFF;      /* Blanco */

	/* Derivados para legibilidad e interacción */
	--graphite-2: #2a2e35;
	--graphite-3: #3d434c;
	--ink-2: #585d65;
	--on-dark: #c9ccd1;
	--line: #e2e4e7;
	--line-dark: rgba(255, 255, 255, .14);
	--tint: #f4f5f6;
	--lime-hover: #b9c31c;
	--error: #b42318;

	--f-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
	--f-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--wrap: 1200px;
	--gutter: 24px;
	--hdr: 72px;
	--radius: 3px;
	--shadow: 0 18px 40px -18px rgba(20, 23, 28, .35);
	--focus: var(--graphite);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--white); color: var(--graphite); font-family: var(--f-body); font-size: 16px; line-height: 1.65; font-weight: 400; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sec-dark, .hero, .site-header, .site-footer, .contact-info, .mbar, .svc-dialog { --focus: var(--lime); }
[hidden] { display: none !important; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--graphite); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.ico { width: 20px; height: 20px; flex: none; }

/* Títulos */
.h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 4.4vw, 60px); letter-spacing: .01em; text-transform: uppercase; margin-bottom: 18px; }
.h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); text-transform: uppercase; }

/* Etiqueta numerada de sección (estilo manual: 01 | Texto) */
.sec-label { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.sec-num { display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 8px; background: var(--lime); color: var(--graphite); font-family: var(--f-display); font-size: 21px; letter-spacing: .04em; line-height: 1; }
.sec-num::before { content: attr(data-d); }
.sec-txt { position: relative; padding-left: 14px; }
.sec-txt::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 16px; transform: translateY(-50%); background: var(--lime); }
.sec-light .sec-txt::before { background: var(--gray); }

/* Fila de X lima */
.xrow { display: inline-flex; gap: 6px; color: var(--lime); }
.xrow .ico { width: 26px; height: 26px; }

/* ==========================================================================
   Botones
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--f-body); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: .01em; text-decoration: none; text-align: center; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.btn .ico { width: 20px; height: 20px; }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn .ico-arrow { transition: transform .18s; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-lime { background: var(--lime); color: var(--graphite); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-dark { background: var(--graphite); color: var(--white); }
.btn-dark:hover { background: var(--graphite-2); }
.btn-dark .ico-arrow { color: var(--lime); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--graphite); }
.btn-ghost .ico-wa { color: var(--lime); }
.btn-ghost:hover .ico-wa { color: var(--graphite); }
.btn-wa { background: var(--graphite); color: var(--white); }
.btn-wa .ico-wa { color: var(--lime); }
.btn-wa:hover { background: var(--graphite-2); }
.sec-dark .btn-wa, .contact-info .btn-wa { background: var(--white); color: var(--graphite); }
.sec-dark .btn-wa .ico-wa, .contact-info .btn-wa .ico-wa { color: var(--graphite); }
.sec-dark .btn-wa:hover, .contact-info .btn-wa:hover { background: var(--lime); }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--graphite); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.hdr { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--white); border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--lime); }
.nav .nav-mob { display: none; }
.nav .nav-wa a .ico { color: var(--lime); width: 18px; height: 18px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; background: transparent; border: 0; color: var(--white); padding: 12px; }
.menu-btn .ico { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--graphite); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(115deg, transparent 0 62%, rgba(255,255,255,.035) 62% 70%, transparent 70%),
		linear-gradient(115deg, transparent 0 8%, rgba(0,0,0,.18) 8% 26%, transparent 26%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; min-height: min(calc(100vh - var(--hdr)), 780px); padding-top: 64px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--lime); }
.hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 6.2vw, 88px); line-height: .94; letter-spacing: .005em; text-transform: uppercase; margin-bottom: 22px; }
.lead { max-width: 560px; font-size: 17px; font-weight: 300; color: var(--on-dark); margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line-dark); padding-top: 22px; }
.hero-facts li { padding: 0 26px; border-left: 1px solid var(--line-dark); }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { display: block; white-space: nowrap; font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: .02em; color: var(--white); }
.hero-facts li:first-child strong { color: var(--lime); }
.hero-facts span { display: block; margin-top: 6px; font-size: 13px; color: var(--on-dark); line-height: 1.4; }
.hero-media { position: relative; align-self: stretch; min-height: 460px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero-stripe { position: absolute; top: 0; bottom: 0; left: -2%; width: 26%; background: var(--lime); clip-path: polygon(85% 0, 100% 0, 15% 100%, 0 100%); }
.hero-media .xrow { position: absolute; right: 18px; bottom: 18px; }

/* ==========================================================================
   Secciones
   ========================================================================== */
.sec { padding: 104px 0; }
.sec-light { background: var(--white); }
.sec-dark { background: var(--graphite); color: var(--white); }
.sec-dark p { color: var(--on-dark); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head p { font-size: 17px; }
.mob-hint { display: none; }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about-media { position: relative; padding: 0 0 28px 28px; }
.about-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.block-lime { position: absolute; left: 0; bottom: 0; width: 46%; height: 62%; background: var(--lime); }
.about-copy > p { color: var(--ink-2); font-size: 16.5px; }
.stat { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin: 30px 0; padding: 22px 26px; background: var(--graphite); color: var(--white); border-left: 6px solid var(--lime); }
.stat strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 3.6vw, 50px); line-height: 1; color: var(--lime); white-space: nowrap; }
.stat span { font-size: 14.5px; color: var(--on-dark); line-height: 1.5; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillars li { border-top: 3px solid var(--graphite); padding-top: 14px; }
.pillars b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 26px; letter-spacing: .04em; line-height: 1; margin-bottom: 8px; }
.pillars span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* Servicios */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; background: var(--white); color: var(--graphite); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(0,0,0,.8); }
.svc-img { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite-3); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .5s; }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 20px 18px; }
.svc-n { position: absolute; top: -18px; left: 20px; display: grid; place-items: center; width: 40px; height: 36px; background: var(--lime); color: var(--graphite); font-family: var(--f-display); font-size: 22px; line-height: 1; }
.svc-title { font-family: var(--f-display); font-weight: 400; font-size: 25px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; margin: 8px 0 10px; }
.svc-short { font-size: 14px; line-height: 1.55; color: var(--ink-2) !important; margin-bottom: 16px; }
.svc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gray); }
.svc-more { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 0; background: none; border: 0; border-bottom: 2px solid var(--lime); font-size: 14px; font-weight: 600; color: var(--graphite); }
.svc-more::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta abre el detalle */
.svc-extra { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 26px 30px; border: 1px solid var(--line-dark); border-left: 6px solid var(--lime); }
.svc-extra p { margin: 0; color: var(--white) !important; font-size: 16px; }

/* Buscador por necesidad */
.sec-finder { background: var(--tint); }
.finder { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; }
.finder-opts { display: grid; gap: 10px; }
.finder-opt { display: block; width: 100%; text-align: left; padding: 16px 20px 16px 22px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: var(--radius); transition: background .18s, border-color .18s, color .18s; }
.finder-opt:hover { border-left-color: var(--lime); }
.finder-opt.on { background: var(--graphite); color: var(--white); border-color: var(--graphite); border-left-color: var(--lime); }
.fo-label { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.fo-hint { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.finder-opt.on .fo-hint { color: var(--on-dark); }
.finder-panel { background: var(--white); border: 1px solid var(--line); padding: 30px; border-radius: var(--radius); }
.js .finder-panel:not(.on) { display: none; }
.fp-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fp-who { font-family: var(--f-display); font-size: 32px; line-height: 1.02; text-transform: uppercase; margin-bottom: 22px; }
.fp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 26px; }
.fp-svc { position: static; display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; width: 100%; min-height: 76px; padding: 0; background: var(--tint); border: 0; border-bottom: 0; text-align: left; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--graphite); }
.fp-svc::after { display: none; }
.fp-svc img { width: 76px; height: 76px; object-fit: cover; }
.fp-svc span { padding-right: 12px; }
.fp-svc:hover { background: var(--lime); }

/* Por qué */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-bottom: 80px; }
.why-grid li { background: var(--graphite); padding: 32px 28px; }
.why-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; background: var(--lime); color: var(--graphite); }
.why-ico .ico { width: 24px; height: 24px; }
.why-grid h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; color: var(--white); }
.why-grid p { margin: 0; font-size: 14.5px; }
.steps-title { margin-bottom: 28px; color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding-top: 26px; border-top: 2px solid var(--line-dark); }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--lime); }
.step-n { display: block; font-family: var(--f-display); font-size: 54px; line-height: .9; color: var(--lime); margin-bottom: 10px; }
.steps b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--white); }
.steps span:not(.step-n) { display: block; font-size: 14.5px; color: var(--on-dark); line-height: 1.55; }

/* Frase de marca */
.band { position: relative; background: var(--lime); color: var(--graphite); overflow: hidden; }
.band::before, .band::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; background: var(--graphite); transform: skewX(-24deg); }
.band::before { right: 120px; opacity: .08; }
.band::after { right: -40px; }
.band-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; padding-right: 160px; }
.band-txt { margin: 0; max-width: 760px; font-family: var(--f-display); font-size: clamp(36px, 4.2vw, 58px); line-height: 1; text-transform: uppercase; }

/* Preguntas */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--hdr) + 32px); }
.faq-side p { color: var(--ink-2); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; font-weight: 600; font-size: 17px; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; background: var(--tint); transition: background .2s; }
.faq-ico .ico { width: 18px; height: 18px; }
details[open] .faq-ico { background: var(--lime); }
details[open] .faq-ico .ico { transform: rotate(45deg); }
.faq-ico .ico { transition: transform .2s; }
.faq-list details p { margin: 0 0 22px; padding-right: 52px; color: var(--ink-2); }

/* Contacto */
.sec-contact { background: var(--tint); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 0; align-items: stretch; box-shadow: var(--shadow); }
.contact-info { position: relative; background: var(--graphite); color: var(--white); padding: 48px 40px; }
.contact-info p { color: var(--on-dark); }
.contact-wa { margin: 10px 0 30px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-dark); font-size: 15px; }
.contact-list .ico { color: var(--lime); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.contact-info { display: flex; flex-direction: column; }
.contact-info .xrow { margin-top: auto; padding-top: 28px; }
.next { margin-top: 28px; padding: 22px 22px 8px; background: rgba(255,255,255,.05); border-left: 4px solid var(--lime); }
.next-h { margin: 0 0 12px !important; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white) !important; }
.next li { display: flex; gap: 12px; align-items: baseline; margin-bottom: 14px; font-size: 14.5px; color: var(--white); }
.next li span { font-family: var(--f-display); font-size: 24px; line-height: 1; color: var(--lime); min-width: 14px; }
.hours { font-size: 14px; }
.form-card { background: var(--white); padding: 44px 44px 36px; }

/* Formulario */
.lead-form fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.lead-form legend { padding: 0; margin: 0 0 14px; font-family: var(--f-display); font-size: 24px; letter-spacing: .03em; text-transform: uppercase; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.req { color: var(--error); }
.opt { font-weight: 400; color: var(--ink-2); font-size: 13px; text-transform: none; font-family: var(--f-body); letter-spacing: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { display: block; width: 100%; min-height: 50px; padding: 12px 14px; background: var(--white); border: 1.5px solid #c9ccd1; border-radius: var(--radius); font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 112px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%), linear-gradient(135deg, var(--graphite) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(204, 214, 38, .7); }
.field input::placeholder, .field textarea::placeholder { color: #8a8f96; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.err { margin: 6px 0 0; font-size: 13px; color: var(--error); min-height: 0; }
.err:empty { display: none; }
.form-alert { margin-bottom: 18px; padding: 12px 16px; background: #fdecea; border-left: 4px solid var(--error); color: #7a1a12; font-size: 14px; }
.chips { margin-bottom: 18px !important; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; background: var(--tint); border: 1.5px solid var(--line); border-radius: 40px; font-size: 13.5px; font-weight: 500; line-height: 1.3; transition: background .15s, color .15s, border-color .15s; }
.chip span::before { content: ""; width: 14px; height: 14px; flex: none; border: 1.5px solid var(--gray); border-radius: 50%; }
.chip input:checked + span { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.chip input:checked + span::before { background: var(--lime); border-color: var(--lime); }
.chip input:focus-visible + span { outline: 3px solid var(--graphite); outline-offset: 2px; }
.check { display: grid !important; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 400 !important; font-size: 13.5px !important; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--graphite); }
.check a { color: var(--graphite); font-weight: 600; }
.consent { margin: 6px 0 22px; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button[disabled] { opacity: .7; cursor: progress; }
.form-ok { text-align: center; padding: 48px 12px; }
.form-ok:focus { outline: none; }
.ok-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; background: var(--lime); color: var(--graphite); }
.ok-ico .ico { width: 36px; height: 36px; }
.form-ok h3 { font-family: var(--f-display); font-weight: 400; font-size: 40px; text-transform: uppercase; margin-bottom: 12px; }
.form-ok p { color: var(--ink-2); max-width: 460px; margin: 0 auto 24px; }

/* Ventana de detalle de servicio */
.svc-dialog { width: min(920px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--graphite); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); overflow: auto; }
.svc-dialog::backdrop { background: rgba(26, 29, 34, .78); }
.sd-in { position: relative; display: grid; grid-template-columns: 5fr 7fr; }
.sd-img { margin: 0; background: var(--graphite); }
.sd-img img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.sd-body { padding: 40px 36px 34px; }
.sd-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1; text-transform: uppercase; margin-bottom: 18px; padding-left: 16px; border-left: 5px solid var(--lime); }
.sd-text p { color: var(--ink-2); font-size: 15px; }
.sd-text .svc-for { color: var(--graphite); background: var(--tint); padding: 12px 14px; font-size: 14px; }
.sd-price { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.sd-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sd-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; background: var(--graphite); color: var(--white); border: 0; border-radius: 50%; }

/* Páginas internas */
.page-main { padding: 72px 0 96px; }
.entry-content { color: var(--ink-2); }
.entry-content h2 { font-family: var(--f-display); font-weight: 400; font-size: 30px; text-transform: uppercase; color: var(--graphite); margin: 36px 0 12px; }
.entry-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.entry-content a { color: var(--graphite); text-decoration-color: var(--lime); text-decoration-thickness: 2px; }

/* ==========================================================================
   Pie de página
   ========================================================================== */
.site-footer { background: var(--graphite-2); color: var(--on-dark); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 48px; padding-top: 64px; padding-bottom: 44px; }
.foot-brand img { width: 170px; height: auto; margin-bottom: 18px; }
.foot-tag { max-width: 320px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.foot-h { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.foot-nav li, .foot-contact li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.foot-contact a, .foot-contact span { display: inline-flex; align-items: center; gap: 10px; word-break: break-word; }
.foot-contact .ico { color: var(--lime); width: 18px; height: 18px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-dark); }
.social .ico { width: 20px; height: 20px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.foot-legal p { margin: 0; }
.legal-menu { display: inline-flex; gap: 18px; margin-left: 18px; }

/* Barra fija del celular (oculta en escritorio) */
.mbar { display: none; }
.mbar .l-short { display: none; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1180px) {
	.svc-grid { grid-template-columns: repeat(3, 1fr); }
	.nav a { padding: 10px 8px; font-size: 13.5px; }
	.hdr { gap: 16px; }
}
@media (max-width: 1020px) {
	.nav .nav-wa { display: none; }
	.hero-facts { grid-template-columns: 1fr 1fr 1fr; }
	.hero-facts li { padding: 0 14px; }
	.why-grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.form-card { padding: 36px 28px; }
	.contact-info { padding: 40px 28px; }
}

/* ==========================================================================
   Celular: diseño propio (no es la versión de escritorio encogida)
   ========================================================================== */
@media (max-width: 860px) {
	:root { --gutter: 16px; --hdr: 60px; }
	body { font-size: 15.5px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	.sec { padding: 64px 0; }
	.h2 { font-size: clamp(36px, 10vw, 46px); margin-bottom: 14px; }
	.sec-head { margin-bottom: 28px; }
	.sec-head p { font-size: 15.5px; }
	.sec-num::before { content: attr(data-m); }

	/* Orden de secciones pensado para el celular */
	.home { display: flex; flex-direction: column; }
	.hero { order: 0; }
	#necesidad { order: 1; }
	#servicios { order: 2; }
	#nosotros { order: 3; }
	#por-que { order: 4; }
	.band { order: 5; }
	#preguntas { order: 6; }
	#contacto { order: 7; }

	/* Cabecera y menú */
	.brand img { width: 140px; }
	.hdr-cta { display: none; }
	.menu-btn { display: block; margin-right: -12px; }
	.nav { position: fixed; inset: var(--hdr) 0 0 0; z-index: 99; margin: 0; padding: 24px var(--gutter) 120px; background: var(--graphite); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
	.nav.open { transform: none; visibility: visible; transition: transform .25s ease; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav a { display: flex; padding: 16px 0; font-family: var(--f-display); font-size: 34px; font-weight: 400; letter-spacing: .02em; border-bottom: 1px solid var(--line-dark); }
	.nav .nav-wa, .nav .nav-mob { display: block; }
	.nav .nav-wa a { font-family: var(--f-body); font-size: 17px; font-weight: 600; color: var(--lime); border-bottom: 0; padding-top: 24px; }
	body.menu-open { overflow: hidden; }

	/* Hero móvil: texto y botones primero, al alcance del pulgar */
	.hero-bg { display: none; }
	.hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding: 0; }
	.hero-grid > * { min-width: 0; }
	.hero-copy { padding: 22px var(--gutter) 28px; }
	.eyebrow { font-size: 11.5px; letter-spacing: .12em; margin-bottom: 16px; }
	.eyebrow::before { width: 22px; }
	.hero h1 { font-size: clamp(44px, 12.4vw, 56px); margin-bottom: 16px; }
	.lead { font-size: 15px; line-height: 1.55; margin-bottom: 22px; }
	.hero-ctas { flex-direction: column; gap: 12px; margin-bottom: 26px; }
	.hero-ctas .btn { width: 100%; }
	.hero-facts { grid-template-columns: 1fr 1fr; gap: 16px 0; padding-top: 18px; }
	.hero-facts li { padding: 0 12px; }
	.hero-facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
	.hero-facts li:first-child { grid-column: 1 / -1; padding: 14px 16px; background: rgba(255,255,255,.06); border-left: 4px solid var(--lime); }
	.hero-facts li:nth-child(2) { padding-left: 0; border-left: 0; }
	.hero-facts li:nth-child(3) { border-left: 1px solid var(--line-dark); padding-left: 14px; }
	.hero-facts strong { font-size: 25px; white-space: normal; }
	.hero-facts li:first-child strong { white-space: nowrap; }
	.hero-facts span { font-size: 12.5px; }
	.hero-media { order: -1; min-height: 0; height: 150px; margin: 0; overflow: hidden; }
	.hero-media img { clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); object-position: center 22%; }
	.hero-stripe { left: auto; right: -6%; top: auto; bottom: -4%; width: 120%; height: 34px; clip-path: polygon(0 76%, 100% 0, 100% 30%, 0 100%); }
	.hero-media .xrow { right: 12px; bottom: auto; top: 12px; }
	.hero-media .xrow .ico { width: 18px; height: 18px; }

	/* Buscador móvil: acordeón, el resultado aparece justo bajo la opción */
	.finder { grid-template-columns: 1fr; gap: 0; }
	.finder-opts { gap: 8px; }
	.finder-opt { padding: 14px 44px 14px 16px; position: relative; min-height: 56px; }
	.finder-opt::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
	.finder-opt.on::after { transform: translateY(-30%) rotate(-135deg); color: var(--lime); }
	.fo-label { font-size: 15px; }
	.fo-hint { display: none; }
	.finder-out { display: none; }
	.finder-opts .finder-panel { margin: -4px 0 6px; padding: 20px 16px; border-top: 0; }
	.fp-who { display: none; }
	.fp-list { grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
	.fp-svc { grid-template-columns: 60px 1fr; min-height: 60px; }
	.fp-svc img { width: 60px; height: 60px; }
	.finder-panel .btn { width: 100%; }
	html:not(.js) .finder-out { display: block; margin-top: 16px; }

	/* Servicios móvil: mosaico de 2 columnas, toque = detalle */
	.mob-hint { display: block; font-size: 13.5px !important; color: var(--lime) !important; margin: 0; }
	.svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.svc { aspect-ratio: 4 / 5; }
	.svc:hover { transform: none; box-shadow: none; }
	.svc-img { position: absolute; inset: 0; aspect-ratio: auto; }
	.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,46,53,0) 30%, rgba(42,46,53,.92) 100%); }
	.svc-body { position: absolute; inset: auto 0 0 0; padding: 12px; background: transparent; }
	.svc-n { position: static; width: 32px; height: 28px; font-size: 18px; margin-bottom: 8px; }
	.svc-title { color: var(--white); font-size: 19px; line-height: 1; margin: 0; }
	.svc-short, .svc-foot .price { display: none; }
	.svc-foot { margin: 0; padding: 0; border: 0; }
	.svc-more { position: static; min-height: 0; padding: 0; border: 0; font-size: 0; }
	.finder .fp-svc { font-size: 14px; min-height: 60px; }
	.svc-extra { flex-direction: column; align-items: stretch; padding: 20px; margin-top: 24px; }
	.svc-extra .btn { width: 100%; }

	/* Nosotros móvil */
	.about-grid { grid-template-columns: 1fr; gap: 28px; }
	.about-media { order: 2; padding: 0 0 16px 16px; }
	.about-media img { aspect-ratio: 16 / 11; }
	.stat { grid-template-columns: 1fr; gap: 6px; padding: 18px 18px; margin: 22px 0; }
	.pillars { grid-template-columns: 1fr; gap: 14px; }
	.pillars li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }
	.pillars b { font-size: 24px; margin: 0; }

	/* Por qué móvil */
	.why-grid { grid-template-columns: 1fr; margin-bottom: 52px; }
	.why-grid li { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; padding: 20px 16px; }
	.why-ico { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
	.why-grid h3 { font-size: 16.5px; margin-bottom: 4px; }
	.why-grid p { font-size: 14px; }
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 0 12px; padding: 18px 0; border-top: 0; border-left: 2px solid var(--line-dark); padding-left: 16px; }
	.steps li::before { top: 0; left: -2px; width: 2px; height: 44px; }
	.step-n { grid-row: span 2; font-size: 44px; margin: 0; }

	/* Frase móvil */
	.band::before { display: none; }
	.band::after { width: 44px; right: -26px; }
	.band-in { flex-direction: column; align-items: stretch; padding: 48px 44px 48px var(--gutter); }
	.band-txt { font-size: 38px; }
	.band .btn { width: 100%; }

	/* Preguntas móvil */
	.faq-grid { grid-template-columns: 1fr; gap: 24px; }
	.faq-side { position: static; }
	.faq-side .btn { display: none; }
	.faq-list summary { font-size: 15.5px; padding: 18px 0; }
	.faq-list details p { padding-right: 0; }

	/* Contacto móvil */
	.sec-contact { padding: 0 0 48px; background: var(--white); }
	.contact-grid { grid-template-columns: 1fr; box-shadow: none; }
	.contact-info { margin: 0 calc(var(--gutter) * -1); padding: 52px var(--gutter) 32px; }
	.contact-wa { width: 100%; margin: 6px 0 20px; }
	.contact-info .xrow, .contact-info .next { display: none; }
	.form-card { padding: 28px 0 0; }
	.row2 { grid-template-columns: 1fr; }
	.lead-form legend { font-size: 22px; }

	/* Pie móvil */
	.foot-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 28px; }
	.foot-nav { display: none; }
	.foot-legal { flex-direction: column; padding-bottom: 28px; }
	.legal-menu { margin: 8px 0 0; }

	/* Ventana de servicio como hoja inferior */
	.svc-dialog { width: 100%; max-width: 100%; max-height: 88vh; margin: auto 0 0; border-radius: 14px 14px 0 0; }
	.sd-in { grid-template-columns: 1fr; }
	.sd-img img { height: 180px; min-height: 0; }
	.sd-body { padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
	.sd-ctas .btn { flex: 1 1 100%; }

	/* Barra fija inferior */
	.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -8px 24px -8px rgba(20,23,28,.28); transition: transform .2s ease; }
	.mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius); font-weight: 600; font-size: 15px; text-decoration: none; }
	.mbar-wa { background: var(--graphite); color: var(--white); }
	.mbar-wa .ico { color: var(--lime); width: 22px; height: 22px; }
	.mbar-cta { background: var(--lime); color: var(--graphite); }
	.mbar.is-hidden { transform: translateY(110%); }
}

@media (max-width: 360px) {
	.hero h1 { font-size: 40px; }
	.svc-title { font-size: 17px; }
	.mbar { grid-template-columns: 1fr 1.2fr; }
	.mbar a { font-size: 14px; }
	.mbar .l-long { display: none; }
	.mbar .l-short { display: inline; }
}

/* Impresión */
@media print { .site-header, .mbar, .hero-media, .svc-dialog, .lead-form { display: none !important; } body { padding: 0; } }
