/* ==========================================================================
   REST911 – estilos del tema
   Paleta: azul marino #00286C · lima #C4D600 · rojo emergencia #E1251B
   ========================================================================== */

:root {
	--navy: #00286C;
	--navy-900: #00163F;
	--navy-800: #001E55;
	--navy-600: #1A3F80;
	--lime: #C4D600;
	--lime-600: #A8B800;
	--lime-100: #F4F8CC;
	--red: #E1251B;
	--red-700: #B81B13;
	--ink: #0B1630;
	--muted: #56627C;
	--mist: #F2F5FA;
	--line: #DDE3EE;
	--white: #FFFFFF;

	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(0, 22, 63, .06), 0 8px 24px rgba(0, 22, 63, .08);
	--shadow-lg: 0 24px 60px rgba(0, 22, 63, .22);
	--container: 1200px;
	--gutter: 24px;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	overflow-x: clip;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-600); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: inherit; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--lime); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.icon { flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { display: flex; width: 100%; }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { background: #D3E41A; color: var(--navy); box-shadow: 0 8px 20px rgba(196, 214, 0, .35); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-600); color: var(--white); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-700); color: var(--white); box-shadow: 0 8px 20px rgba(225, 37, 27, .35); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }

/* ---------- Utilidades ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	color: var(--navy-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--lime); }
.eyebrow--lime { color: var(--lime); }
.eyebrow:has(.pulse)::before { display: none; }
.hl { background: linear-gradient(transparent 62%, var(--lime) 62%); padding: 0 4px; }

.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--red); position: relative; flex-shrink: 0; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.8s ease-out infinite; }
.pulse--lime { background: var(--lime); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }

.checks { list-style: none; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.checks .icon { color: var(--navy); background: var(--lime); border-radius: 50%; padding: 2px; width: 20px; height: 20px; margin-top: 2px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .8); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--lime); }
.topbar__emergency { display: inline-flex; align-items: center; gap: 10px; }
.topbar__emergency strong { color: var(--white); font-weight: 800; letter-spacing: .02em; }
.topbar__links { display: flex; gap: 22px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand .custom-logo { max-height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__mark { font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.brand__mark b { color: var(--navy); background: var(--lime); padding: 0 6px; border-radius: 6px; margin-left: 2px; }
.brand__mark--light { color: var(--white); }
.brand__sub { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav .menu { list-style: none; display: flex; gap: 4px; align-items: center; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a { display: block; padding: 26px 12px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; }
.primary-nav .menu > li > a:hover,
.primary-nav .menu > .current-menu-item > a { color: var(--navy); }
.primary-nav .menu > li > a::after { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--lime); transform: scaleX(0); transition: transform .2s ease; margin-top: 4px; }
.primary-nav .menu > li:hover > a::after,
.primary-nav .menu > .current-menu-item > a::after { transform: scaleX(1); }
.primary-nav .menu > .has-mega > a,
.primary-nav .menu > .menu-item-has-children > a { padding-right: 26px; }
.primary-nav .has-mega > a::before,
.primary-nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 8px; top: 33px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.primary-nav__cta { display: flex; gap: 10px; }

/* Submenú clásico */
.primary-nav .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.primary-nav .sub-menu a:hover { background: var(--mist); color: var(--navy); }

/* Mega menú de servicios */
.mega { position: absolute; top: 100%; left: 50%; width: min(1060px, 94vw); transform: translate(-42%, 8px); opacity: 0; visibility: hidden; transition: .18s ease; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: translate(-42%, 0); }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 250px; gap: 8px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 14px; border: 1px solid var(--line); }
.mega__col { padding: 12px; }
.mega__title { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 10px; }
.mega__list { list-style: none; display: grid; gap: 2px; }
.mega__list a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega__list a:hover { background: var(--mist); }
.mega__list strong { display: block; font-size: .93rem; font-weight: 700; line-height: 1.3; }
.mega__list small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.mega__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--mist); color: var(--navy); flex-shrink: 0; }
.mega__list a:hover .mega__icon { background: var(--lime); }
.mega__aside { background: var(--navy); color: rgba(255, 255, 255, .8); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; font-size: .88rem; background-image: radial-gradient(circle at 100% 0, rgba(196, 214, 0, .25), transparent 55%); }
.mega__aside p { margin: 0; }
.mega__aside-kicker { color: var(--lime); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.mega__aside-phone { color: var(--white); font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.mega__aside .btn { margin-top: 14px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(196, 214, 0, .16), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(26, 63, 128, .9), transparent 70%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='200' viewBox='0 0 1200 200'%3E%3Cpath d='M0 120h360l30-60 40 120 40-150 36 120 24-30h670' fill='none' stroke='%23C4D600' stroke-opacity='.18' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") center 78% / 1400px auto no-repeat;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero h1 { color: var(--white); margin-bottom: 20px; max-width: 14ch; }
.hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--lime); }
.hero__side { position: relative; }
.hero__photo { border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--shadow-lg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo + .picker { position: relative; margin: -140px -24px 0 24px; }

/* Selector "¿Qué necesitas?" */
.picker { background: var(--white); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); }
.picker__title { font-weight: 800; font-size: 1.1rem; margin: 2px 6px 12px; color: var(--navy); }
.picker__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background-color .15s ease; }
.picker__item + .picker__item { margin-top: 2px; }
.picker__item:hover { background: var(--mist); color: var(--ink); }
.picker__item strong { display: block; font-size: .98rem; }
.picker__item small { display: block; color: var(--muted); font-size: .82rem; }
.picker__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--navy); flex-shrink: 0; }
.picker__item:hover .picker__icon { background: var(--lime); }
.picker__arrow { margin-left: auto; color: var(--muted); transition: transform .15s ease; }
.picker__item:hover .picker__arrow { transform: translateX(3px); color: var(--navy); }
.picker__item--urgent { background: #FDECEB; }
.picker__item--urgent:hover { background: #FBDDDB; }
.picker__item--urgent .picker__icon { background: var(--red); color: var(--white); }
.picker__item--urgent small { color: var(--red-700); font-weight: 800; font-size: .92rem; }

/* ---------- Cifras ---------- */
.stats { background: var(--white); position: relative; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: 20px; box-shadow: var(--shadow); margin-top: -44px; border: 1px solid var(--line); }
.stat { padding: 26px 24px; display: flex; flex-direction: column; gap: 2px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-size: 2.1rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--navy .section-head p { color: rgba(255, 255, 255, .75); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head--split > div { max-width: 760px; }
.section-head--split h2 { margin-bottom: 0; }

/* Tabs */
.tabs { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 5px; gap: 4px; flex-shrink: 0; }
.tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .93rem; color: var(--muted); padding: 11px 20px; border-radius: 999px; cursor: pointer; }
.tab:hover { color: var(--navy); }
.tab.is-active { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.tabpanel[hidden] { display: none; }
.tabpanel.is-active { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Tarjetas de servicio */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--lime); margin-bottom: 20px; }
.svc-card--empresas .svc-card__icon { background: var(--lime); color: var(--navy); }
.svc-card__title { font-size: 1.25rem; margin-bottom: 6px; }
.svc-card__title a { color: var(--ink); text-decoration: none; }
.svc-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-card__tagline { color: var(--muted); font-size: .95rem; }
.svc-card .checks { margin: 6px 0 22px; }
.svc-card .checks li { font-size: .9rem; }
.svc-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .93rem; color: var(--navy); }
.svc-card:hover .svc-card__more .icon { transform: translateX(3px); }
.svc-card__more .icon { transition: transform .15s ease; }
.svc-card__wa { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: #128C4A; text-decoration: none; padding: 7px 12px; border-radius: 999px; background: #E8F7EE; }
.svc-card__wa:hover { background: #D3F0DF; color: #0E7A3F; }
.svc-band { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--lime-100); border: 1px solid #E3EC99; border-radius: 20px; padding: 24px 28px; }
.svc-band p { margin: 0; max-width: 620px; }
.svc-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Pasos */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.step__num { display: inline-block; font-size: .85rem; font-weight: 800; color: var(--navy); background: var(--lime); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
.step h3 { color: var(--white); }
.step p { color: rgba(255, 255, 255, .75); font-size: .95rem; margin: 0; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; }
.plan--featured { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan__badge { position: absolute; top: -13px; left: 28px; background: var(--lime); color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan:not(.plan--featured) .plan__badge { background: var(--navy); color: var(--white); }
.plan__name { font-size: 1.3rem; margin-bottom: 14px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan--featured .plan__price { border-color: rgba(255, 255, 255, .15); }
.plan__price small { width: 100%; color: var(--muted); font-size: .85rem; }
.plan__price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--navy); }
.plan__price span { color: var(--muted); }
.plan--featured .plan__price strong { color: var(--lime); }
.plan--featured .plan__price small, .plan--featured .plan__price span { color: rgba(255, 255, 255, .7); }
.plan .checks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; color: var(--muted); font-size: .85rem; max-width: 760px; margin: 32px auto 0; }

/* Por qué */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why__copy p { color: var(--muted); }
.why__grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why__grid li { padding: 26px; border-radius: 20px; background: var(--mist); }
.why__grid .icon { color: var(--navy); margin-bottom: 14px; }
.why__grid h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why__grid p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Cobertura */
.coverage { display: grid; grid-template-columns: auto 1fr; gap: 12px 48px; align-items: center; }
.coverage h2 { font-size: 1.6rem; margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .93rem; }
.chips .icon { color: var(--navy); }
.coverage__note { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; margin: 6px 0 0; }

/* Clientes */
.clients__title { text-align: center; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 26px; }
.clients__logos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; }
.clients__logos img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.clients__logos img:hover { filter: none; opacity: 1; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s; }
.faq__item[open] { border-color: var(--navy); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--navy); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contacto */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.contact__list li { display: flex; gap: 14px; align-items: center; background: var(--white); padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; }
.contact__list a { font-weight: 800; color: var(--navy); text-decoration: none; font-size: 1.05rem; }
.contact__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--navy); flex-shrink: 0; }
.contact__icon--red { background: var(--red); color: var(--white); }
.contact__form { background: var(--white); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); min-height: 560px; }
.contact__form iframe { width: 100%; min-height: 620px; border: 0; border-radius: 14px; display: block; }
.contact__form--inline { box-shadow: none; border: 1px solid var(--line); }

/* ---------- Page hero (interiores) ---------- */
.page-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0, rgba(196, 214, 0, .18), transparent 60%); pointer-events: none; }
.page-hero__inner { position: relative; padding-top: 56px; padding-bottom: 72px; }
.page-hero--compact .page-hero__inner { padding-bottom: 48px; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .82); max-width: 62ch; }
.page-hero__grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.page-hero__icon { width: 220px; height: 220px; border-radius: 48px; display: grid; place-items: center; background: rgba(196, 214, 0, .12); color: var(--lime); border: 1px solid rgba(196, 214, 0, .3); }
.page-hero .hero__actions { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 28px; }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }

.hl-strip { background: var(--lime); color: var(--navy); }
.hl-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 36px; padding: 18px 0; }
.hl-strip li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }

/* Ficha servicio */
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.svc-main > .block-title { margin-top: 56px; font-size: 1.6rem; }
.svc-thumb { margin: 0 0 28px; border-radius: 20px; overflow: hidden; }
.include-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.include { display: flex; gap: 14px; padding: 20px; border-radius: 16px; background: var(--mist); }
.include h3 { font-size: 1rem; margin-bottom: 4px; }
.include p { margin: 0; color: var(--muted); font-size: .92rem; }
.include__check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--navy); flex-shrink: 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { display: flex; gap: 18px; position: relative; padding-bottom: 24px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.timeline__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--lime); font-weight: 800; flex-shrink: 0; }
.timeline h3 { font-size: 1.05rem; margin: 8px 0 4px; }
.timeline p { margin: 0; color: var(--muted); }
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; background: var(--lime-100); border-radius: 16px; padding: 18px 20px; }
.note .icon { color: var(--navy); margin-top: 2px; }
.note p { margin: 0; }

.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.quote-card { background: var(--navy); color: var(--white); border-radius: 22px; padding: 26px; display: grid; gap: 10px; background-image: radial-gradient(circle at 100% 0, rgba(196, 214, 0, .22), transparent 55%); }
.quote-card p { margin: 0; }
.quote-card__kicker { color: var(--lime); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.quote-card__title { font-size: 1.3rem; font-weight: 800; line-height: 1.2; margin-bottom: 8px !important; }
.quote-card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .15); width: 100%; margin: 8px 0; }
.quote-card__small { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.quote-card__phone { color: var(--white); font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.quote-card__phone:hover { color: var(--lime); }
.mini-plan { border: 1px solid var(--line); border-radius: 18px; padding: 20px; font-size: .93rem; }
.mini-plan a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

/* Contenido editorial */
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--lime); color: var(--muted); }
.prose img { border-radius: 14px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.post-card__body { padding: 22px; }
.post-card__meta { color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
.post-card__title { font-size: 1.2rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-cta { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--mist); padding: 22px 24px; border-radius: 18px; }
.post-cta p { margin: 0; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: .93rem; }
.footer-emergency { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-emergency__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.footer-emergency .eyebrow { margin-bottom: 6px; }
.footer-emergency__title { color: var(--white); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; margin: 0; letter-spacing: -.02em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-col--brand p { margin-top: 16px; max-width: 34ch; }
.footer-logo .custom-logo { max-height: 50px; width: auto; filter: brightness(0) invert(1); }
.footer-title { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-contact { list-style: none; display: grid; gap: 16px; }
.footer-contact li { display: grid; gap: 2px; }
.footer-contact span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }
.footer-contact a { color: var(--white); font-weight: 700; }
.footer-contact small { color: rgba(255, 255, 255, .5); }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.social a { display: inline-block; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: .82rem; font-weight: 600; }
.social a:hover { border-color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-menu { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom--landing { background: var(--navy-900); color: rgba(255, 255, 255, .7); }
.footer-bottom--landing a { color: rgba(255, 255, 255, .8); }

/* Flotantes */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: var(--white); box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: var(--white); }
.mobile-bar { display: none; }

/* ---------- Bloques del editor (Gutenberg) ---------- */
.wp-block-button__link { background: var(--navy); color: var(--white); border-radius: 999px; padding: 12px 24px; font-weight: 700; text-decoration: none; }
.wp-block-button__link:hover { background: var(--navy-600); color: var(--white); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.alignwide { max-width: var(--container); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.has-navy-background-color { background-color: var(--navy); } .has-navy-color { color: var(--navy); }
.has-lime-background-color { background-color: var(--lime); } .has-lime-color { color: var(--lime); }
.has-red-background-color { background-color: var(--red); } .has-red-color { color: var(--red); }
.has-mist-background-color { background-color: var(--mist); }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--line); padding: 10px 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.primary-nav .menu > li > a { padding-left: 9px; padding-right: 9px; font-size: .9rem; }
	.primary-nav__cta .btn--ghost { display: none; }
	.svc-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	:root { --header-h: 66px; }
	.topbar__links { display: none; }
	.topbar__inner { justify-content: center; }
	.nav-toggle { display: inline-flex; }
	.site-header { backdrop-filter: none; background: var(--white); }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.primary-nav {
		position: fixed; inset: var(--nav-top, 106px) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 20px;
		background: var(--white); padding: 16px var(--gutter) 120px; overflow-y: auto;
		opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.nav-open .primary-nav { opacity: 1; transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a { padding: 16px 4px; font-size: 1.05rem; }
	.primary-nav .menu > li > a::after { display: none; }
	.primary-nav .has-mega > a::before, .primary-nav .menu-item-has-children > a::before { top: 24px; right: 10px; }
	.primary-nav .sub-menu, .mega { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; display: none; }
	.has-mega.is-open > .mega, .menu-item-has-children.is-open > .sub-menu { display: block; transform: none; }
	.has-mega:hover > .mega { transform: none; }
	.mega__inner { grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 12px; }
	.mega__col { padding: 4px 0; }
	.mega__aside { display: none; }
	.primary-nav__cta { flex-direction: column; }
	.primary-nav__cta .btn--ghost { display: inline-flex; }

	.hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 88px; }
	.hero h1 { max-width: none; }
	.hero__photo + .picker { margin: -100px 16px 0; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.section { padding: 72px 0; }
	.section-head--split { flex-direction: column; align-items: flex-start; }
	.plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
	.plan--featured { transform: none; }
	.why, .faq-wrap, .contact, .svc-layout { grid-template-columns: 1fr; gap: 40px; }
	.faq-wrap .section-head { position: static; }
	.svc-aside { position: static; }
	.coverage { grid-template-columns: 1fr; }
	.page-hero__grid { grid-template-columns: 1fr; }
	.page-hero__icon { display: none; }
	.svc-band { flex-direction: column; align-items: flex-start; }
	.footer-emergency__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.svc-grid, .post-grid, .steps, .why__grid, .include-grid { grid-template-columns: 1fr; }
	.tabs { width: 100%; }
	.tab { flex: 1; justify-content: center; padding: 11px 10px; font-size: .86rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.picker { padding: 14px; }
	.stat { padding: 20px 16px; }
	.stat strong { font-size: 1.7rem; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.hl-strip ul { flex-direction: column; }
	.post-cta { flex-direction: column; align-items: flex-start; }
	.hide-sm { display: none; }
	.contact__form iframe { min-height: 700px; }

	.wa-float { display: none; }
	.has-mobile-bar { padding-bottom: 68px; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; box-shadow: 0 -6px 20px rgba(0, 22, 63, .15); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 800; text-decoration: none; color: var(--white); }
	.mobile-bar__call { background: var(--red); }
	.mobile-bar__wa { background: #1EA952; }
}

/* ==========================================================================
   Páginas nativas: Nosotros, Planes, Atención al cliente, Derechos
   ========================================================================== */
.center-cta { text-align: center; margin: 40px 0 0; }
.steps--values { grid-template-columns: repeat(3, 1fr); }

.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cta-split__card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.cta-split__card h3 { font-size: 1.4rem; }
.cta-split__card p { color: var(--muted); }
.cta-split__card--navy { background: var(--navy); color: var(--white); border-color: var(--navy); background-image: radial-gradient(circle at 100% 0, rgba(196, 214, 0, .2), transparent 55%); }
.cta-split__card--navy p { color: rgba(255, 255, 255, .78); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); font-size: 1rem; }
.compare thead th:nth-child(2) { background: var(--navy-600); }
.compare thead small { display: block; color: var(--lime); font-weight: 700; font-size: .85rem; margin-top: 2px; }
.compare tbody th { font-weight: 700; width: 30%; }
.compare tbody tr:nth-child(even) { background: var(--mist); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.channels { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -84px; position: relative; z-index: 2; }
.channel { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.channel small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.channel a { display: block; font-weight: 800; color: var(--navy); text-decoration: none; font-size: 1.02rem; }
.channel .channel__mail { font-weight: 600; font-size: .88rem; color: var(--navy-600); }
.channel p { margin: 6px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.channel--red { border-color: #F6C3C0; background: #FFF7F6; }
.channel--red a { color: var(--red-700); }

.sac { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: start; }
.sac__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.tabs--stack { display: grid; border-radius: 18px; width: 100%; margin: 8px 0 28px; }
.tabs--stack .tab { border-radius: 14px; justify-content: flex-start; padding: 14px 18px; }
.timeline--compact li { padding-bottom: 14px; align-items: center; }
.timeline--compact li:not(:last-child)::before { top: 40px; }
.timeline--compact h3 { margin: 0; font-size: .95rem; font-weight: 600; }
.form-card { background: var(--white); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.form-card > h3 { font-size: 1.35rem; }
.form-card > p { color: var(--muted); }
.form-card--flat { box-shadow: none; padding: 24px; }
.note-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note-row .note { margin-top: 0; }

/* Formulario nativo */
.r911-form { margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.field { margin: 0; display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
	border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(0, 40, 108, .12); }
.field input[type=file] { font-size: .9rem; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.field--check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; }
.form-msg p { margin: 0; }
.form-msg--ok { background: var(--lime-100); color: var(--navy); }
.form-msg--ok .icon { background: var(--lime); border-radius: 50%; padding: 3px; }
.form-msg--error { background: #FDECEB; color: var(--red-700); }

/* Derechos y deberes */
.rights { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.rights h2 { display: flex; align-items: center; gap: 14px; font-size: 1.7rem; }
.rights__badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--navy); }
.rights__badge--navy { background: var(--navy); color: var(--lime); }
.rights__list { list-style: none; display: grid; gap: 10px; }
.rights__list li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--mist); }
.rights__list .icon { color: var(--navy); background: var(--lime); border-radius: 50%; padding: 2px; width: 22px; height: 22px; margin-top: 2px; }
.rights__list strong { display: block; }
.rights__list p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }
.rights__col--duties .note { margin-top: 20px; }
.rights__extra { margin-top: 48px; }

@media (max-width: 1100px) {
	.channels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.steps--values { grid-template-columns: 1fr 1fr; }
	.cta-split, .sac, .rights, .note-row { grid-template-columns: 1fr; }
	.sac__intro { position: static; }
}
@media (max-width: 640px) {
	.channels { grid-template-columns: 1fr; margin-top: -60px; }
	.steps--values { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.form-card { padding: 22px 18px; }
	.cta-split__card { padding: 24px; }
}
