/* ==========================================================================
   Notaría Sara Pedrero · estilos
   Identidad de siempre (azul noche, dorado y petróleo) con lenguaje actual:
   neutros fríos, dorado solo como acento, Manrope + Inter y un toque serif.
   ========================================================================== */

:root {
	--navy: #020124;
	--navy-2: #0c0b3d;
	--indigo: #1b1a6b;
	--gold: #c0a372;
	--gold-soft: #e9dcc4;
	--gold-dark: #8a6d3b;
	--teal: #0f4c64;
	--ink: #16162a;
	--text: #474757;
	--muted: #6c6c7c;
	--soft: #f4f6f9;
	--line: #e4e7ee;
	--white: #fff;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(2, 1, 36, .04), 0 14px 34px -16px rgba(2, 1, 36, .18);
	--container: 1200px;
	--f-head: "Manrope", system-ui, sans-serif;
	--f-body: "Inter", system-ui, sans-serif;
	--f-accent: "Cormorant Garamond", Georgia, serif;
	--header-h: 88px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 16.5px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, iframe, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.section { padding: clamp(72px, 9vw, 116px) 0; position: relative; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #cfd0e2; }
.section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__head .kicker { justify-content: center; }
.section__more { text-align: center; margin: 44px 0 0; }

.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: 12px; top: -60px; z-index: 1000; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 600; border-radius: 8px; }
.skip-link:focus { top: 12px; }
#contenido:focus { outline: none; }

/* Tipografía de sección -------------------------------------------------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 16px; }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.kicker--gold { color: var(--gold); }
.kicker--light { color: #fff; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; color: var(--ink); }
.h2--light { color: #fff; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); }
.lead--light { color: rgba(255, 255, 255, .78); }
.divider { display: block; width: 56px; height: 2px; background: var(--gold); margin: 20px 0 22px; }

/* Botones ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; font-family: var(--f-body); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn .icon { width: 18px; height: 18px; }
.btn--sm { min-height: 42px; padding: 9px 20px; font-size: 14px; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #d2bb92; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--indigo); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--gold-soft); color: var(--navy); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline-navy:hover { background: var(--navy); color: #fff; }

/* Cabecera --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; }
.has-hero .site-header { position: fixed; left: 0; right: 0; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.navbar { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .12); transition: background .3s, box-shadow .3s; }
body:not(.has-hero) .navbar, .site-header.is-scrolled .navbar, .site-header:has(.nav.is-open) .navbar { background: rgba(2, 1, 36, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: transparent; }
.site-header.is-scrolled .navbar { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4); }
.navbar__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .3s; }
.site-header.is-scrolled .navbar__in { min-height: 70px; }
.brand { display: flex; flex-direction: column; align-items: center; color: #fff; text-decoration: none; line-height: 1; order: 0; }
.brand:hover { color: #fff; }
.brand__logo { font-family: var(--f-head); font-weight: 300; font-size: 32px; letter-spacing: .08em; }
.brand__sub { font-size: 10.5px; letter-spacing: .1em; color: rgba(255, 255, 255, .7); margin-top: 6px; }
.brand__img { max-height: 56px; width: auto; }
.nav { order: 1; margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 30px; }
.nav__list a { color: rgba(255, 255, 255, .88); font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav__list a:hover, .nav__list .current-menu-item > a { color: #fff; }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }
.nav__list .menu-cta a { background: var(--gold); color: var(--navy); border-radius: 999px; padding: 10px 22px; font-weight: 600; }
.nav__list .menu-cta a::after { display: none; }
.nav__list .menu-cta a:hover, .nav__list .menu-cta.current-menu-item a { background: #fff; color: var(--navy); }
.nav-phone { order: 2; display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); transition: .2s; }
.nav-phone .icon { width: 17px; height: 17px; color: var(--gold); }
.nav-phone:hover { background: #fff; color: var(--navy); }
.nav-toggle { order: 3; display: none; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; width: 46px; height: 46px; border-radius: 999px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
@media (max-width: 900px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: inline-flex; }
	.nav-phone { margin-left: auto; padding: 0; width: 46px; height: 46px; justify-content: center; }
	.nav-phone span { display: none; }
	.navbar__in { gap: 10px; }
	.nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: var(--navy); padding: 12px 24px 28px; border-radius: 0 0 var(--radius) var(--radius); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list a { display: block; padding: 15px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
	.nav__list .menu-cta a { margin-top: 16px; text-align: center; border: 0; padding: 14px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
}

/* Portada ---------------------------------------------------------------- */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; color: #fff; background: var(--navy); padding: calc(var(--header-h) + 72px) 0 96px; overflow: hidden; }
.hero__bg, .page-hero__bg { position: absolute; inset: 0; }
.hero__bg img, .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg img { transform-origin: 30% 60%; animation: kenburns 24s ease-out both; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2, 1, 36, .92) 0%, rgba(2, 1, 36, .76) 38%, rgba(2, 1, 36, .3) 72%, rgba(2, 1, 36, .5) 100%), linear-gradient(0deg, rgba(2, 1, 36, .55) 0%, rgba(2, 1, 36, 0) 40%); }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero__content { max-width: 660px; }
.hero__title { color: #fff; font-size: clamp(42px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 0 0 12px; }
.hero__subtitle { font-family: var(--f-accent); font-style: italic; font-weight: 600; color: var(--gold); font-size: clamp(26px, 2.8vw, 36px); margin: 0 0 20px; letter-spacing: 0; }
.hero__text { font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .8); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 24px 26px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hero__card-title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 8px; }
.hero__card-list { list-style: none; }
.hero__card-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__card-list li:first-child { border-top: 0; }
.hero__card-town { font-family: var(--f-head); font-weight: 700; font-size: 17px; display: flex; flex-direction: column; line-height: 1.3; letter-spacing: -.01em; }
.hero__card-town small { font-family: var(--f-body); font-weight: 400; font-size: 12.5px; color: rgba(255, 255, 255, .6); letter-spacing: 0; }
.hero__card-list a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .09); transition: .2s; }
.hero__card-list a:hover { background: #fff; color: var(--navy); }
.hero__card-list a .icon { width: 15px; height: 15px; color: var(--gold); }
.hero__card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--gold); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.hero__card-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.hero__card-more:hover { color: #fff; }
.hero__card-more:hover .icon { transform: translateX(4px); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1000px) {
	.hero { min-height: 0; padding: calc(var(--header-h) + 56px) 0 64px; }
	.hero__in { grid-template-columns: 1fr; align-items: start; }
	.hero__bg::after { background: linear-gradient(180deg, rgba(2, 1, 36, .55) 0%, rgba(2, 1, 36, .82) 45%, rgba(2, 1, 36, .95) 100%); }
	.hero__card { max-width: 520px; }
	.hero__scroll { display: none; }
}

/* Cabeceras interiores ---------------------------------------------------- */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: calc(var(--header-h) + 88px) 0 88px; overflow: hidden; }
.page-hero__bg img { animation: kenburns 20s ease-out both; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2, 1, 36, .92) 0%, rgba(2, 1, 36, .7) 50%, rgba(2, 1, 36, .35) 100%); }
.page-hero__in { position: relative; }
.page-hero__title { color: #fff; font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -.03em; line-height: 1.04; font-weight: 800; margin: 0; }
.page-hero__intro { max-width: 620px; color: rgba(255, 255, 255, .8); font-size: 18px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .65); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-head { background: var(--navy); color: #fff; padding: calc(var(--header-h) + 56px) 0 48px; }
.page-head__title { color: #fff; font-size: clamp(32px, 4.2vw, 48px); margin: 0; }
@media (max-width: 700px) { .page-hero { padding: calc(var(--header-h) + 48px) 0 64px; } }

/* Notarías (sedes) -------------------------------------------------------- */
.sedes__head { max-width: 780px; margin-bottom: 44px; }
.sedes__head .lead { margin: 0; }
.sedes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sede { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.sede:hover { border-color: #cfd4df; box-shadow: var(--shadow); transform: translateY(-3px); }
.sede--main { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .78); }
.sede--main:hover { border-color: var(--navy); }
.sede__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.sede__name { font-size: 26px; margin: 0; color: var(--ink); }
.sede--main .sede__name { color: #fff; }
.sede__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--soft); color: var(--teal); }
.sede--main .sede__tag { background: rgba(192, 163, 114, .18); color: var(--gold); }
.sede__phone { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-size: 23px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); text-decoration: none; padding: 4px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.sede--main .sede__phone { color: #fff; border-bottom-color: rgba(255, 255, 255, .12); }
.sede__phone-icon { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: var(--soft); color: var(--teal); flex: none; transition: .2s; }
.sede--main .sede__phone-icon { background: var(--gold); color: var(--navy); }
.sede__phone-icon .icon { width: 20px; height: 20px; }
.sede__phone:hover { color: var(--teal); }
.sede__phone:hover .sede__phone-icon { background: var(--navy); color: var(--gold); }
.sede--main .sede__phone:hover { color: var(--gold); }
.sede--main .sede__phone:hover .sede__phone-icon { background: #fff; }
.sede__data { list-style: none; display: grid; align-content: start; gap: 12px; font-size: 14.5px; line-height: 1.55; flex: 1; }
.sede__data li { display: flex; gap: 12px; align-items: flex-start; }
.sede__data .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--muted); }
.sede--main .sede__data .icon { color: var(--gold); }
.sede__data a { color: inherit; word-break: break-word; }
.sede__map { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; font-size: 14.5px; color: var(--teal); text-decoration: none; }
.sede__map .icon { width: 16px; height: 16px; transition: transform .2s; }
.sede__map:hover .icon { transform: translateX(4px); }
.sede--main .sede__map { color: var(--gold); }
.sede--main .sede__map:hover { color: #fff; }
@media (max-width: 960px) { .sedes__grid { grid-template-columns: 1fr; } }

/* Mapa bajo demanda */
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; }
.map__placeholder { height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; background: var(--soft); }
.map__placeholder > .icon { width: 32px; height: 32px; color: var(--teal); }
.map__placeholder p { margin: 0; }
.map__note { font-size: 12.5px; color: var(--muted); }

/* Ventajas: fila limpia bajo la portada ------------------------------------ */
.values { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.values__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.value { padding: 4px clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; padding-left: 0; }
.value:last-child { padding-right: 0; }
.value__icon { display: inline-flex; color: var(--gold-dark); margin-bottom: 16px; }
.value__icon .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.value__title { font-size: 18px; margin: 0 0 8px; }
.value__text { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 340px; }
@media (max-width: 860px) {
	.values__list { grid-template-columns: 1fr; gap: 28px; }
	.value, .value:first-child, .value:last-child { border-left: 0; padding: 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
	.value__icon { grid-row: span 2; margin: 2px 0 0; }
}

/* Notaría certificada: emblema sereno --------------------------------------- */
.cert__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.cert__media { display: flex; justify-content: center; align-items: center; }
.emblem { position: relative; width: min(380px, 100%); aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #fff 60%, var(--soft) 100%); box-shadow: 0 40px 80px -40px rgba(2, 1, 36, .28); }
.emblem::before, .emblem::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.emblem::before { inset: 0; border: 1px solid var(--gold-soft); }
.emblem::after { inset: 14px; border: 1px solid rgba(192, 163, 114, .35); }
.emblem__logo { position: relative; width: 62%; mix-blend-mode: multiply; transition: transform .6s ease; }
.cert__media:hover .emblem__logo { transform: scale(1.03); }
.checklist { list-style: none; display: grid; gap: 12px; margin: 24px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.checklist .icon { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 1px; }
@media (max-width: 860px) { .cert__grid { grid-template-columns: 1fr; gap: 36px; } .emblem { width: min(280px, 100%); } }

/* Servicios --------------------------------------------------------------- */
.services { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { background: #fff; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: background .3s, color .3s, box-shadow .3s, border-color .3s; }
.service__icon { display: inline-flex; width: 50px; height: 50px; border-radius: 14px; align-items: center; justify-content: center; background: var(--soft); color: var(--navy); margin-bottom: 18px; transition: background .3s, color .3s; }
.service__icon .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.service__title { color: var(--ink); font-size: 17px; margin: 0 0 6px; letter-spacing: -.01em; }
.service__text { font-size: 14.5px; line-height: 1.55; margin: 0; }
.service:hover { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .72); box-shadow: 0 24px 40px -22px rgba(2, 1, 36, .6); }
.service:hover .service__title { color: #fff; }
.service:hover .service__icon { background: rgba(255, 255, 255, .08); color: var(--gold); }
@media (max-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .services { grid-template-columns: repeat(2, 1fr); gap: 12px; } .service { padding: 18px 16px; } .service__icon { width: 42px; height: 42px; margin-bottom: 12px; } .service__icon .icon { width: 22px; height: 22px; } .service__title { font-size: 15px; } .service__text { font-size: 13.5px; } }
@media (max-width: 340px) { .services { grid-template-columns: 1fr; } }

/* Atención personalizada -------------------------------------------------- */
.care { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; background: radial-gradient(120% 140% at 100% 0%, #26247f 0%, var(--indigo) 35%, var(--navy) 100%); border-radius: calc(var(--radius) + 8px); padding: clamp(36px, 6vw, 72px); color: rgba(255, 255, 255, .8); overflow: hidden; position: relative; }
.care::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(192, 163, 114, .25); pointer-events: none; }
.care__text p { font-size: 17px; max-width: 520px; }
.care__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.care__info { margin: 0; display: grid; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 8px 24px; position: relative; z-index: 1; }
.care__row { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.care__row:first-child { border-top: 0; }
.care__info dt { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.care__info dt .icon { width: 16px; height: 16px; }
.care__info dd { margin: 0 0 0 26px; color: #fff; font-size: 15.5px; }
.care__info dd a { color: #fff; }
@media (max-width: 900px) { .care { grid-template-columns: 1fr; } }

/* Compromiso regional (con vídeo) ----------------------------------------- */
.region { background: var(--navy); text-align: center; }
.region__in { max-width: 820px; }
.region .kicker { justify-content: center; }
.has-video { position: relative; overflow: hidden; isolation: isolate; }
.bg-video { position: absolute; inset: 0; z-index: -1; }
.bg-video video { width: 100%; height: 100%; object-fit: cover; opacity: .26; filter: grayscale(.4) contrast(1.05); }
.bg-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 1, 36, .5), rgba(2, 1, 36, .85)); }
.region.has-video { padding: clamp(96px, 12vw, 140px) 0; }

/* Formulario -------------------------------------------------------------- */
.form-section { background: var(--soft); }
.form-section__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.form-section__intro { display: flex; flex-direction: column; align-items: flex-start; }
.form-section__intro > p:not(.kicker) { color: var(--muted); }
.form-section__phones { list-style: none; display: grid; gap: 10px; margin-top: auto; padding-top: 24px; align-self: stretch; }
.form-section__phones a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: .2s; }
.form-section__phones a:hover { border-color: var(--navy); }
.form-section__phones .icon { width: 17px; height: 17px; color: var(--teal); }
.form-section__phones span { flex: 1; }
.form-section__foot { display: flex; align-items: center; gap: 8px; margin: auto 0 0; padding-top: 20px; font-size: 14.5px; color: var(--muted); }
.form-section__foot .icon { width: 17px; height: 17px; color: var(--teal); }
.form-section__form { display: flex; flex-direction: column; }
.form-section__form-title { font-size: 22px; margin: 0 0 16px; }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 8px 0 0; font-size: 15px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { width: 19px; height: 19px; color: var(--teal); flex: none; margin-top: 3px; }
.form { flex: 1; display: flex; flex-direction: column; justify-content: center; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: 1fr 1fr 1.3fr; }
.form__field { display: flex; flex-direction: column; margin-bottom: 16px; }
.form label { font-size: 13.5px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid #d6dae3; border-radius: var(--radius-sm); background: #fbfcfd; color: var(--ink); width: 100%; min-height: 46px; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 76, 100, .15); outline: none; background: #fff; }
.form__check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; }
.form__check input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.form__check label { font-weight: 400; margin: 0; }
.form__legal { font-size: 11.5px; line-height: 1.5; color: var(--muted); margin-bottom: 18px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.form__notice--ok { background: #e8f5ee; color: #1d5e37; border: 1px solid #bfe2cc; }
.form__notice--error { background: #fdeeee; color: #8a1f1f; border: 1px solid #f3c9c9; }
.form .btn { width: 100%; }
@media (max-width: 900px) { .form-section__grid { grid-template-columns: 1fr; } .form { padding: 22px; } }
@media (max-width: 760px) { .form__row--3 { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* Equipo (contacto) */
.team { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; align-self: stretch; }
.team__member { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.team__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--f-head); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.team__name { font-size: 16px; margin: 2px 0 2px; }
.team__role { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

/* Proceso, cifras y preguntas ---------------------------------------------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline__step { padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.timeline__n { display: block; font-family: var(--f-accent); font-style: italic; font-weight: 600; font-size: 40px; line-height: 1; color: var(--gold); margin-bottom: 12px; }
.timeline__title { font-size: 17px; }
.timeline__step p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 1100px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

.stats { padding: clamp(64px, 8vw, 96px) 0; }
.stats__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 8px 12px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; }
.stat__n { display: block; font-family: var(--f-accent); font-style: italic; font-weight: 600; font-size: 56px; line-height: 1.05; color: var(--gold); }
.stat__label { font-size: 14.5px; color: rgba(255, 255, 255, .75); }
@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } .stat { border-left: 0; } }

.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s; }
.faq__item[open] { border-color: #cfd4df; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__q { font-size: 16px; margin: 0; font-weight: 600; letter-spacing: -.01em; }
.faq__a { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Catálogo de servicios ----------------------------------------------------- */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.catalog__cat:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.catalog__cat:last-child:nth-child(3n+1) .catalog__list { display: block; columns: 3; column-gap: 32px; }
.catalog__cat:last-child:nth-child(3n+1) .catalog__list li { margin-bottom: 7px; break-inside: avoid; }
.catalog__cat:last-child:nth-child(3n+2) { grid-column: span 2; }
.catalog__cat { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.catalog__cat:hover { border-color: #cfd4df; box-shadow: var(--shadow); }
.catalog__title { font-size: 17px; color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.catalog__list { list-style: none; display: grid; gap: 7px; font-size: 14.5px; color: var(--muted); }
.catalog__list li { padding-left: 16px; position: relative; }
.catalog__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cta { margin-top: 44px; padding: 32px 36px; border-radius: var(--radius); background: var(--navy); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta__text { font-family: var(--f-head); font-size: 22px; font-weight: 700; color: #fff; margin: 0; letter-spacing: -.01em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--outline-navy { border-color: rgba(255, 255, 255, .4); color: #fff; }
.cta .btn--outline-navy:hover { background: #fff; color: var(--navy); }
@media (max-width: 1000px) { .catalog { grid-template-columns: repeat(2, 1fr); } .catalog__cat:last-child:nth-child(3n+1), .catalog__cat:last-child:nth-child(3n+2) { grid-column: auto; } .catalog__cat:last-child:nth-child(odd) { grid-column: 1 / -1; } .catalog__cat:last-child:nth-child(3n+1) .catalog__list { columns: 2; } }
@media (max-width: 640px) { .catalog { grid-template-columns: 1fr; } .catalog__cat:last-child:nth-child(3n+1) .catalog__list { columns: 1; } }

/* Textos legales ----------------------------------------------------------- */
.prose { font-size: 16px; }
.prose h2 { font-size: 22px; margin-top: 1.8em; }
.prose h3 { font-size: 18px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose a { word-break: break-word; }
.prose__updated { margin-top: 3em; font-size: 13px; color: var(--muted); }


/* Páginas legales ----------------------------------------------------------- */
.page-head__meta { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, .6); }
.legal { background: var(--soft); }
.legal__grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.legal__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: 14.5px; }
.legal__box p { margin: 0 0 12px; }
.legal__box-title { font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin: 0 0 12px !important; }
.legal__nav, .legal__toc-list { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.legal__nav a, .legal__toc-list a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text); text-decoration: none; line-height: 1.4; }
.legal__nav a:hover, .legal__toc-list a:hover { background: var(--soft); color: var(--navy); }
.legal__nav .current-menu-item a { background: var(--navy); color: #fff; }
.legal__toc-list { counter-reset: toc; max-height: 46vh; overflow: auto; }
.legal__toc-list a { font-size: 13.5px; }
.legal__toc-list a::before { counter-increment: toc; content: counter(toc) ". "; color: var(--gold-dark); font-weight: 600; }
.legal__print { margin-top: 4px; }
.legal__body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); font-size: 15.5px; line-height: 1.75; color: var(--text); }
.legal__body > :first-child { margin-top: 0; }
.legal__body .legal__heading { font-family: var(--f-head); font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; margin: 2.2em 0 .8em; padding-top: 1.4em; border-top: 1px solid var(--line); line-height: 1.3; }
.legal__body .legal__heading:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body .legal__heading strong { font-weight: 700; }
.legal__body ul { list-style: none; padding-left: 0; }
.legal__body ul li { position: relative; padding-left: 20px; }
.legal__body ul li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.legal__body table { border-radius: var(--radius-sm); overflow: hidden; }
.legal__body th { background: var(--soft); color: var(--ink); }
@media (max-width: 960px) { .legal__grid { grid-template-columns: 1fr; } .legal__aside { position: static; order: 2; } .legal__toc { display: none; } }

/* Pie ---------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .66); font-size: 14.5px; padding: 80px 0 28px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 48px; padding-bottom: 56px; }
.brand--footer { align-items: flex-start; margin-bottom: 20px; }
.footer__about { max-width: 340px; margin-bottom: 22px; }
.footer__title { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin: 0 0 18px; font-family: var(--f-body); }
.footer__links, .footer__sedes, .footer__contact { list-style: none; display: grid; gap: 10px; }
.footer__sedes { gap: 16px; }
.footer__sedes li { display: grid; gap: 2px; }
.footer__sedes strong { color: #fff; font-weight: 600; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.footer__contact a { word-break: break-word; }
.footer__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__partners { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer__partner > img { height: 64px; width: 64px; object-fit: contain; background: #fff; border-radius: var(--radius-sm); padding: 4px; }
.footer__partner > a { display: flex; align-items: center; justify-content: center; height: 64px; background: #fff; border-radius: var(--radius-sm); padding: 8px 12px; width: auto; }
.footer__partner > a img { height: 48px; width: auto; }
.footer__partner > a { color: var(--navy); font-size: 12px; transition: box-shadow .2s; }
.footer__partner > a:hover { box-shadow: 0 0 0 2px var(--gold); color: var(--navy); }
.footer__kit { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.footer__kit img { height: 40px; width: auto; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 13px; }
.footer__credit { margin: 0; }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__legal a { color: rgba(255, 255, 255, .66); }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; gap: 36px; } .footer__logos, .footer__partners, .footer__kit { justify-content: center; } .footer__kit img { height: 32px; } .footer__bottom { flex-direction: column; text-align: center; } .footer__legal { justify-content: center; } }

/* Flotantes --------------------------------------------------------------- */
.call-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px; text-decoration: none; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 14px 30px -12px rgba(2, 1, 36, .6); }
.call-fab:hover { background: var(--gold); color: var(--navy); }
.call-fab .icon { width: 18px; height: 18px; color: var(--gold); }
.call-fab:hover .icon { color: var(--navy); }
.to-top { position: fixed; right: 18px; bottom: 80px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .25s; box-shadow: var(--shadow); }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top .icon { width: 18px; height: 18px; }

/* Aparición al hacer scroll ------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	.bg-video video { display: none; }
}

/* ==========================================================================
   Impresión: páginas limpias, sin navegación ni fondos oscuros.
   ========================================================================== */
@media print {
	@page { margin: 16mm 14mm; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
	body { font-size: 11pt; color: #000; background: #fff; }
	.site-header, .call-fab, .to-top, .skip-link, .nav-toggle, .form-section, .map, .hero__actions, .section__more, .hero__bg, .page-hero__bg, .bg-video, .hero__scroll, .breadcrumb, .cta__actions, .care__actions, .hero__card-more, .sede__map, .footer__partners, .footer__legal-nav, .footer__brand .btn, .legal__aside { display: none !important; }
	.hero, .page-hero, .page-head, .section--navy, .region, .care, .care__info, .site-footer, .sede, .sede--main, .service, .hero__card, .cta { background: #fff !important; color: #000 !important; box-shadow: none !important; }
	.hero, .page-hero { min-height: 0; padding: 0 0 12pt; display: block; }
	.hero__in { display: block; }
	.hero__card { border: 1px solid #999; margin-top: 10pt; backdrop-filter: none; }
	.hero__card-list a { background: none; color: #000; padding: 0; }
	.page-head { padding: 0 0 8pt; }
	.section, .region.has-video, .stats { padding: 14pt 0 !important; }
	h1, h2, h3, .hero__title, .page-hero__title, .page-head__title, .h2--light, .hero__subtitle, .sede__name, .sede--main .sede__name, .sede__phone, .sede--main .sede__phone, .footer__title, .footer__sedes strong, .stat__n, .cta__text, .hero__card-town, .care__info dd, .care__info dd a { color: #000 !important; }
	.hero__text, .page-hero__intro, .lead--light, .care__text p, .service__text, .feature__text, .site-footer, .stat__label, .sede--main, .hero__card-town small { color: #222 !important; }
	.care, .care__info { border: 1px solid #999; padding: 10pt; display: block; }
	.care::after { display: none; }
	.services, .features__grid, .sedes__grid, .catalog, .timeline, .stats__grid, .team { gap: 8pt; }
	.services { grid-template-columns: repeat(3, 1fr); }
	.service, .sede, .feature, .catalog__cat, .timeline__step, .team__member, .faq__item { border: 1px solid #999 !important; box-shadow: none; break-inside: avoid; }
	.service__icon, .sede__phone-icon, .feature__icon { background: none !important; color: #000 !important; }
	.faq__item:not([open]) .faq__a { display: block; }
	.faq__item summary::after { display: none; }
	.site-footer { padding: 12pt 0 0; border-top: 1px solid #999; }
	.footer__top { grid-template-columns: repeat(3, 1fr); padding-bottom: 8pt; }
	.footer__brand { display: none; }
	.footer__logos { border: 0; padding: 8pt 0; justify-content: center; }
	.footer__kit img { filter: invert(1) grayscale(1); }
	a { color: #000 !important; text-decoration: none; }
	.prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
	h1, h2, h3 { break-after: avoid; }
	.cert__media { background: none; padding: 0; }
	.cert__media img { width: 120px; }
	.legal, .legal__body { background: #fff !important; border: 0 !important; padding: 0 !important; }
	.legal__grid { display: block; }
	.btn { background: none !important; color: #000 !important; border: 1px solid #555 !important; box-shadow: none !important; min-height: 0; padding: 4pt 10pt; }
	.care, .sede, .hero__card { break-inside: avoid; }
}
