/*
Theme Name: Elisa Rodríguez · Extranjería
Theme URI: https://www.gestoriacastellon.com/
Author: Elisa Rodríguez
Author URI: https://www.gestoriacastellon.com/
Description: Tema profesional para un despacho especializado en extranjería, nacionalidad y gestoría administrativa.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: elisa-extranjeria
*/

:root {
	--blue: #1457d9;
	--blue-bright: #1457d9;
	--blue-deep: #163a63;
	--blue-ink: #163a63;
	--orange: #df601a;
	--orange-dark: #ba4710;
	--green: #6ea77c;
	--green-pale: #e9f3ec;
	--blue-pale: #eaf3ff;
	--blush: #fff7f3;
	--ink: #252b33;
	--muted: #617083;
	--line: #dbe3f0;
	--soft: #f5f8fc;
	--white: #ffffff;
	--shadow: 0 28px 70px rgba(7, 29, 73, 0.13);
	--shadow-soft: 0 14px 38px rgba(7, 29, 73, 0.075);
	--radius: 28px;
	--radius-small: 14px;
	--shell: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

h1,
h2,
h3,
h4,
p { margin-top: 0; }

h1,
h2,
h3,
h4 {
	color: var(--blue-deep);
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

h1 { font-size: clamp(2.75rem, 5.4vw, 5.25rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.35rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }

.site-shell { width: var(--shell); margin-inline: auto; }
.content-narrow { max-width: 800px; }
.site-main { overflow: hidden; }
.section { padding: 100px 0; }

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	left: 16px;
	top: 16px;
	width: auto;
	z-index: 100000;
	background: var(--white);
	color: var(--blue-deep);
	padding: 12px 18px;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.eyebrow {
	margin-bottom: 18px;
	color: var(--green);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow-light { color: #9ec6ff; }

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 24px;
	border: 2px solid var(--orange);
	border-radius: 999px;
	background: var(--orange);
	box-shadow: 0 10px 22px rgba(223, 96, 26, 0.2);
	color: var(--white);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: 180ms ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-2px);
	border-color: var(--orange-dark);
	background: var(--orange-dark);
	box-shadow: 0 15px 28px rgba(223, 96, 26, 0.25);
	color: var(--white);
}

.button-small { min-height: 43px; padding: 10px 18px; font-size: 0.82rem; }

.button-outline {
	border-color: var(--blue);
	background: transparent;
	box-shadow: none;
	color: var(--blue);
}

.button-outline:hover,
.button-outline:focus-visible { border-color: var(--blue); background: var(--blue); color: var(--white); }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--blue);
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none;
}

.text-link span { font-size: 1.2em; transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: var(--white); }
.text-link-light:hover { color: #cfe2ff; }

/* Cabecera */
.topbar { background: var(--blue-deep); color: #dbe8ff; font-size: 0.75rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #dbe8ff; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }

.site-header {
	position: relative;
	z-index: 50;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid rgba(7, 29, 73, 0.08);
}

.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-branding { flex: 0 0 auto; }
.custom-logo { max-height: 62px; width: auto; }

.brand-link { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-deep); text-decoration: none; }
.brand-link:hover { color: var(--blue-deep); }
.brand-mark {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px 14px 14px 5px;
	border: 1px solid rgba(22,58,99,.12);
	background: var(--white);
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.12em;
	box-shadow: 0 8px 22px rgba(22,58,99,.09);
}
.brand-e { color: var(--blue); }
.brand-r { color: var(--green); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-family: "Montserrat", Arial, sans-serif; font-size: 1rem; letter-spacing: -0.02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-copy small b { color: var(--blue); }

.primary-navigation { display: flex; align-items: center; gap: 24px; }
.primary-navigation .menu { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.primary-navigation .menu a {
	position: relative;
	padding: 12px 0;
	color: var(--blue-deep);
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
}
.primary-navigation .menu a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 6px;
	left: 0;
	height: 2px;
	background: var(--green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}
.primary-navigation .menu a:hover::after,
.primary-navigation .current-menu-item > a::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Inicio: hero */
.hero {
	position: relative;
	padding: 86px 0 94px;
	background:
		linear-gradient(115deg, rgba(0, 102, 255, 0.14), transparent 38%),
		var(--blue);
	color: var(--white);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: linear-gradient(to right, black, transparent 82%);
}

.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 620px; height: 620px; right: -260px; top: -310px; }
.hero-orbit-two { width: 350px; height: 350px; right: -50px; bottom: -220px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); align-items: center; gap: 72px; }
.hero-copy h1 { max-width: 800px; margin-bottom: 26px; color: var(--white); }
.hero-copy h1 span { color: #afd0ff; }
.hero-lead { max-width: 680px; margin-bottom: 34px; color: #e5efff; font-size: clamp(1rem, 1.35vw, 1.17rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 28px 0 0; color: #cfe2ff; font-size: .8rem; font-weight: 600; }
.hero-note span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.13); color: var(--white); }

.route-card {
	position: relative;
	padding: 30px;
	border: 1px solid rgba(255,255,255,.6);
	border-radius: var(--radius);
	background: rgba(255,255,255,.96);
	box-shadow: 0 34px 75px rgba(2, 22, 65, .3);
	color: var(--ink);
}
.route-card::before { content: ""; position: absolute; top: -8px; right: 35px; width: 76px; height: 8px; border-radius: 8px 8px 0 0; background: var(--green); }
.route-card-head { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.route-card-head p { margin: 0; }
.route-card h2 { margin-bottom: 25px; font-size: 1.6rem; }
.route-list { position: relative; margin: 0 0 24px; padding: 0; list-style: none; }
.route-list::before { content: ""; position: absolute; top: 23px; bottom: 23px; left: 19px; width: 1px; background: var(--line); }
.route-list li { position: relative; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 14px; padding: 10px 0; }
.route-list li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--blue); font-size: .69rem; font-weight: 800; }
.route-list strong { display: block; color: var(--blue-deep); font-size: .84rem; line-height: 1.3; }
.route-list small { display: block; margin-top: 3px; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.route-card > a { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); color: var(--blue); font-size: .8rem; font-weight: 800; text-decoration: none; }

.credential-band { border-bottom: 1px solid var(--line); background: var(--white); }
.credential-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.credential-grid p { min-height: 100px; margin: 0; padding: 24px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.credential-grid p:first-child { border-left: 1px solid var(--line); }
.credential-grid strong { color: var(--blue-deep); font-size: 1.02rem; }
.credential-grid span { margin-top: 3px; color: var(--muted); font-size: .72rem; }

/* Secciones comunes */
.section-heading { margin-bottom: 50px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); align-items: end; gap: 70px; }
.split-heading > p { margin: 0 0 8px; color: var(--muted); }
.centered-heading { max-width: 780px; margin-inline: auto; text-align: center; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card {
	position: relative;
	min-height: 285px;
	padding: 27px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	transition: 200ms ease;
}
.service-card::before { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 200ms ease; }
.service-card:hover { transform: translateY(-5px); border-color: #b8cae5; box-shadow: var(--shadow-soft); color: var(--ink); }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured { border-color: var(--blue); background: var(--blue); color: #e8f1ff; }
.service-card.featured h3, .service-card.featured .service-number, .service-card.featured .card-arrow { color: var(--white); }
.service-card.featured::before { background: var(--orange); transform: scaleX(1); }
.service-number { display: block; margin-bottom: 48px; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.service-card h3 { margin-bottom: 13px; font-size: 1.18rem; }
.service-card p { margin-bottom: 35px; color: inherit; font-size: .82rem; line-height: 1.65; opacity: .78; }
.card-arrow { position: absolute; right: 25px; bottom: 21px; color: var(--blue); font-size: 1.4rem; transition: transform 180ms ease; }
.service-card:hover .card-arrow { transform: translateX(4px); }
.service-card-cta { position: absolute; right: 27px; bottom: 25px; left: 27px; display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--line); color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.service-card-cta b { font-size: 1.2rem; transition: transform 180ms ease; }
.service-card:hover .service-card-cta b { transform: translateX(4px); }
.service-card.featured .service-card-cta { border-color: rgba(255,255,255,.22); color: var(--white); }
.section-action { margin-top: 42px; text-align: center; }

.about-teaser { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr); align-items: center; gap: 90px; }
.about-visual { position: relative; min-height: 520px; border-radius: var(--radius); background: linear-gradient(145deg, var(--blue-deep), var(--blue)); overflow: hidden; box-shadow: var(--shadow); }
.about-visual::before { content: ""; position: absolute; width: 410px; height: 410px; right: -170px; top: -160px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); }
.about-visual::after { content: ""; position: absolute; left: 38px; right: 38px; bottom: 104px; height: 1px; background: rgba(255,255,255,.23); }
.about-visual.has-photo { background-position: center; background-size: cover; }
.about-visual.has-photo::before { background: linear-gradient(180deg, rgba(7,29,73,.03), rgba(7,29,73,.28)); border: 0; border-radius: 0; box-shadow: none; inset: 0; width: auto; height: auto; }
.monogram { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -56%); color: rgba(255,255,255,.95); font-family: "Cinzel", Georgia, serif; font-size: clamp(6rem, 13vw, 10rem); letter-spacing: -.08em; }
.about-caption { position: absolute; right: 38px; bottom: 34px; left: 38px; display: flex; justify-content: space-between; align-items: end; color: var(--white); }
.about-caption span { color: #a9c8f8; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.about-caption strong { font-size: .9rem; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; }
.check-list { margin: 28px 0 32px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 9px 0 9px 33px; color: var(--blue-deep); font-size: .9rem; font-weight: 600; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-pale); color: #34714a; font-size: .72rem; }

.resources-teaser { border-top: 1px solid var(--line); background: var(--white); }
.resources-teaser-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.resources-teaser-grid > div:first-child > p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); }
.resource-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.resource-mini-grid a { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); color: var(--ink); text-decoration: none; transition: 180ms ease; }
.resource-mini-grid a:hover { transform: translateY(-4px); border-color: var(--blue); background: var(--white); box-shadow: var(--shadow-soft); color: var(--ink); }
.resource-mini-grid span { display: block; margin-bottom: 65px; color: var(--orange); font-size: .7rem; font-weight: 800; }
.resource-mini-grid strong { display: block; color: var(--blue-deep); font-size: .9rem; line-height: 1.35; }
.resource-mini-grid small { display: block; margin-top: 8px; color: var(--muted); font-size: .7rem; line-height: 1.5; }

.work-method { background: var(--white); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.method-grid article { padding: 36px; border-left: 3px solid var(--line); }
.method-grid article:hover { border-color: var(--orange); }
.method-grid span { display: inline-block; margin-bottom: 52px; color: var(--blue); font-size: .82rem; font-weight: 800; }
.method-grid h3 { margin-bottom: 12px; }
.method-grid p { margin: 0; color: var(--muted); font-size: .88rem; }

.cta-section { position: relative; padding: 86px 0; overflow: hidden; background: var(--blue-deep); color: var(--white); }
.cta-section::after { content: "ER"; position: absolute; right: -35px; bottom: -105px; color: rgba(255,255,255,.035); font-family: "Cinzel", Georgia, serif; font-size: 19rem; line-height: 1; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 110px; }
.cta-inner h2 { margin: 0; color: var(--white); }
.cta-inner > div:last-child p { margin-bottom: 25px; color: #c9d9f5; }
.compact-cta { padding: 72px 0; }

/* Páginas interiores */
.page-hero,
.simple-page-header,
.single-header {
	position: relative;
	padding: 88px 0 80px;
	background: linear-gradient(110deg, var(--blue-deep), var(--blue));
	color: var(--white);
}
.page-hero::before, .simple-page-header::before, .single-header::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 85% 15%, rgba(255,255,255,.11) 0 1px, transparent 2px); background-size: 34px 34px; mask-image: linear-gradient(to left, black, transparent 65%); }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 90px; }
.page-hero h1 { max-width: 790px; margin: 0; color: var(--white); font-size: clamp(2.65rem, 4.9vw, 4.6rem); }
.page-hero-grid > p { margin: 0 0 8px; color: #d6e5ff; font-size: 1rem; }
.service-details { padding-top: 50px; }
.service-index { position: sticky; top: 0; z-index: 20; display: flex; gap: 8px; margin: 0 0 60px; padding: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-soft); scrollbar-width: thin; }
.service-index a { flex: 0 0 auto; padding: 9px 13px; border-radius: 8px; color: var(--blue-deep); font-size: .72rem; font-weight: 700; text-decoration: none; }
.service-index a:hover { background: var(--soft); color: var(--blue); }
.detail-list { display: grid; gap: 22px; }
.detail-card { scroll-margin-top: 100px; display: grid; grid-template-columns: 115px 1fr; gap: 42px; padding: 52px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: 180ms ease; }
.detail-card:hover { border-color: #b8cae5; box-shadow: var(--shadow-soft); }
.detail-number { display: grid; place-items: center; align-self: start; width: 82px; height: 82px; border-radius: 50% 50% 50% 8px; background: var(--soft); color: var(--blue); font-family: "Cinzel", Georgia, serif; font-size: 1.2rem; font-weight: 700; }
.detail-content h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.detail-content > p:not(.eyebrow) { max-width: 780px; color: var(--muted); }
.detail-content ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.detail-content li { position: relative; padding: 15px 15px 15px 38px; border-radius: 10px; background: var(--soft); color: var(--blue-deep); font-size: .78rem; font-weight: 600; line-height: 1.5; }
.detail-content li::before { content: ""; position: absolute; left: 16px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.profile-grid { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); align-items: start; gap: 80px; }
.profile-aside { position: sticky; top: 30px; }
.profile-photo-composition { position: relative; min-height: 535px; margin-bottom: 50px; }
.profile-photo-main { display: grid; place-items: center; width: calc(100% - 62px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: linear-gradient(145deg, var(--blue-deep), var(--blue)); box-shadow: var(--shadow); }
.profile-photo-main > span { color: rgba(255,255,255,.95); font-family: "Cinzel", Georgia, serif; font-size: 6rem; letter-spacing: -.08em; }
.profile-photo-main img, .profile-photo-secondary img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-secondary { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 48%; aspect-ratio: 1 / .86; overflow: hidden; border: 8px solid var(--white); border-radius: 16px; background: var(--green-pale); box-shadow: var(--shadow-soft); }
.profile-photo-secondary > span { color: #376247; font-size: .65rem; font-weight: 700; letter-spacing: .08em; line-height: 1.6; text-align: center; text-transform: uppercase; }
.profile-photo-secondary > span strong { color: var(--blue-deep); font-size: .78rem; }
.profile-card { padding: 40px; border-radius: var(--radius); background: var(--blue-deep); box-shadow: var(--shadow); color: #d8e6ff; }
.profile-card-compact { padding: 30px; }
.profile-monogram { display: grid; place-items: center; width: 110px; height: 110px; margin-bottom: 35px; border: 1px solid rgba(255,255,255,.32); border-radius: 50% 50% 50% 12px; color: var(--white); font-family: "Cinzel", Georgia, serif; font-size: 2rem; }
.profile-card h2 { margin-bottom: 10px; color: var(--white); font-size: 1.8rem; }
.profile-card > p { color: #b8cce9; font-size: .85rem; }
.profile-card dl { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); }
.profile-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; font-size: .72rem; }
.profile-card dt { color: #86a8d8; }
.profile-card dd { margin: 0; color: var(--white); font-weight: 600; text-align: right; }
.prose { font-size: 1.04rem; }
.prose > * + * { margin-top: 1.45em; }
.prose p, .prose li { color: #46536c; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.profile-copy h2 { margin-bottom: 28px; }
.profile-copy blockquote { margin: 38px 0; padding: 28px 32px; border-left: 5px solid var(--orange); background: var(--soft); color: var(--blue-deep); font-size: 1.3rem; font-weight: 600; line-height: 1.55; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 35px; }
.values-grid > div { padding: 24px; border: 1px solid var(--line); border-radius: 13px; }
.values-grid span { display: block; margin-bottom: 22px; color: var(--blue); font-size: .7rem; font-weight: 800; }
.values-grid strong { color: var(--blue-deep); }
.values-grid p { margin: 7px 0 0; font-size: .8rem; }
.credentials-section { background: var(--soft); }
.credential-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.credential-cards article { padding: 35px; border-radius: 16px; background: var(--white); box-shadow: 0 7px 25px rgba(7,29,73,.05); }
.credential-cards span { color: var(--orange); font-family: "Cinzel", Georgia, serif; font-size: 1.8rem; font-weight: 700; }
.credential-cards h3 { margin: 42px 0 12px; }
.credential-cards p { margin: 0; color: var(--muted); font-size: .85rem; }

/* Recursos */
.resources-intro { padding-top: 46px; padding-bottom: 0; }
.resources-note { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 18px; padding: 22px 25px; border: 1px solid #b9d5c0; border-radius: 13px; background: var(--green-pale); }
.resources-note > div { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--white); font-family: Georgia, serif; font-weight: 700; }
.resources-note p { margin: 0; color: #355642; font-size: .8rem; }
.resources-directory { padding-top: 72px; }
.official-resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.official-resource-card { position: relative; display: flex; min-height: 330px; padding: 30px; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; background: var(--white); color: var(--ink); text-decoration: none; transition: 180ms ease; }
.official-resource-card::before { content: ""; position: absolute; top: 0; right: 28px; width: 54px; height: 5px; border-radius: 0 0 5px 5px; background: var(--green); }
.official-resource-card:hover { transform: translateY(-5px); border-color: #b8cae5; box-shadow: var(--shadow-soft); color: var(--ink); }
.resource-type { margin-bottom: 54px; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.official-resource-card h3 { margin-bottom: 13px; }
.official-resource-card p { margin-bottom: 30px; color: var(--muted); font-size: .79rem; }
.official-resource-card > strong { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--blue); font-size: .72rem; }
.electronic-offices { background: var(--soft); }
.office-link-list { max-width: 900px; margin-inline: auto; }
.office-link-list a { display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 22px; padding: 24px 8px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.office-link-list a:first-child { border-top: 1px solid var(--line); }
.office-link-list a > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--blue); font-size: .68rem; font-weight: 800; }
.office-link-list strong { display: block; color: var(--blue-deep); font-size: .9rem; }
.office-link-list small { display: block; margin-top: 4px; color: var(--muted); font-size: .7rem; }
.office-link-list b { color: var(--blue); font-size: 1.15rem; }
.office-link-list a:hover strong { color: var(--blue); }
.guide-resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-resource-grid a { min-height: 285px; padding: 30px; border-radius: 17px; background: var(--blue-deep); color: #dce9ff; text-decoration: none; transition: 180ms ease; }
.guide-resource-grid a:nth-child(2) { background: var(--blue); }
.guide-resource-grid a:nth-child(3) { background: #174f7f; }
.guide-resource-grid a:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--white); }
.guide-resource-grid > a > span { display: block; margin-bottom: 52px; color: #a9c9fa; font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.guide-resource-grid h3 { margin-bottom: 13px; color: var(--white); }
.guide-resource-grid p { color: #c2d2eb; font-size: .79rem; }
.guide-resource-grid strong { display: flex; justify-content: space-between; margin-top: 25px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); color: var(--white); font-size: .72rem; }

/* Contacto */
.contact-section { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 70px; }
.contact-info > p:not(.eyebrow) { color: var(--muted); }
.contact-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 35px 0; }
.contact-boxes > * { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--blue-deep); text-decoration: none; }
.contact-boxes a:hover { border-color: var(--blue); color: var(--blue); }
.contact-boxes span { display: block; margin-bottom: 7px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-boxes strong { display: block; overflow-wrap: anywhere; font-size: .76rem; line-height: 1.5; }
.consultation-note { padding: 22px; border-left: 4px solid var(--green); background: var(--green-pale); }
.consultation-note strong { color: #285c39; }
.consultation-note p { margin: 4px 0 0; color: #3f634c; font-size: .76rem; }
.contact-form-card { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-row { margin-bottom: 19px; }
.form-two-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-form label { display: block; margin-bottom: 7px; color: var(--blue-deep); font-size: .74rem; font-weight: 700; }
.contact-form label > span, .contact-form label b { color: var(--orange); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #cdd8e8;
	border-radius: 9px;
	background: #fbfcfe;
	color: var(--ink);
	font: inherit;
	font-size: .88rem;
}
.contact-form textarea { min-height: 145px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-bright); outline: 3px solid rgba(0,102,255,.11); }
.privacy-check { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; margin: 5px 0 24px; font-weight: 500 !important; line-height: 1.5; }
.privacy-check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--blue); }
.privacy-check span { color: var(--muted) !important; }
.form-submit { width: 100%; cursor: pointer; font-family: inherit; }
.form-small { margin: 12px 0 0; color: var(--muted); font-size: .68rem; text-align: center; }
.honeypot { position: absolute; left: -9999px; }
.form-alert { margin-bottom: 24px; padding: 15px 18px; border-radius: 9px; font-size: .78rem; }
.form-success { border: 1px solid #a9d4b4; background: var(--green-pale); color: #245835; }
.form-error { border: 1px solid #efc4ad; background: #fff1e9; color: #84380f; }

/* Blog */
.blog-section { background: var(--soft); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); transition: 180ms ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.post-card-visual { display: grid; place-items: center; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: rgba(255,255,255,.9); font-family: "Cinzel", Georgia, serif; font-size: 3.4rem; text-decoration: none; }
.post-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.post-card-content { padding: 26px; }
.post-meta { margin-bottom: 12px; color: var(--muted); font-size: .68rem; }
.post-meta a { color: inherit; }
.post-card h2 { margin-bottom: 15px; font-size: 1.24rem; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card-content > p:not(.post-meta) { color: var(--muted); font-size: .82rem; }
.pagination { margin-top: 50px; }
.nav-links { display: flex; justify-content: center; gap: 7px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: .75rem; font-weight: 700; text-decoration: none; }
.nav-links .current, .nav-links a:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
.empty-state { max-width: 650px; margin: auto; padding: 75px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: center; }
.empty-state > span { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 25px; border-radius: 50% 50% 50% 8px; background: var(--blue); color: var(--white); font-family: "Cinzel", Georgia, serif; }
.empty-state p { color: var(--muted); }
.single-header h1, .simple-page-header h1 { position: relative; margin-bottom: 16px; color: var(--white); font-size: clamp(2.4rem, 4.6vw, 4.25rem); }
.single-meta { position: relative; margin: 0; color: #bfd5f7; font-size: .8rem; }
.single-image { max-width: 980px; margin-top: 55px; }
.single-image img { width: 100%; border-radius: var(--radius); }
.post-navigation { padding-bottom: 80px; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: flex; flex-direction: column; max-width: 300px; color: var(--blue-deep); font-size: .88rem; font-weight: 700; text-decoration: none; }
.post-navigation a span { margin-bottom: 5px; color: var(--muted); font-size: .66rem; font-weight: 500; }

.content-section { min-height: 45vh; }
.not-found { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.not-found > div > span { color: #dce7f7; font-family: "Cinzel", Georgia, serif; font-size: 7rem; font-weight: 700; line-height: 1; }
.not-found p { color: var(--muted); }
.not-found .hero-actions { justify-content: center; margin-top: 28px; }

/* Pie */
.site-footer { padding: 76px 0 0; background: #04132f; color: #afc2df; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .55fr .8fr; gap: 80px; padding-bottom: 58px; }
.brand-link-light, .brand-link-light:hover { color: var(--white); }
.brand-link-light .brand-copy small { color: #8da8cf; }
.footer-brand > p { max-width: 430px; margin-top: 25px; color: #95add0; font-size: .8rem; }
.footer-brand .professional-ids { color: #708db7; font-size: .68rem; }
.footer-column h2 { margin-bottom: 22px; color: var(--white); font-size: .9rem; letter-spacing: .02em; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column .menu li, .contact-list li { margin-bottom: 9px; }
.footer-column .menu a, .contact-list a { color: #afc2df; font-size: .76rem; text-decoration: none; }
.footer-column .menu a:hover, .contact-list a:hover { color: var(--white); }
.contact-list li { color: #afc2df; font-size: .76rem; }
.whatsapp-link { display: inline-block; margin-top: 14px; color: #a9d9b5; font-size: .76rem; font-weight: 700; text-decoration: none; }
.whatsapp-link:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom p { margin: 0; color: #6f87aa; font-size: .64rem; }

/* WordPress */
.alignwide { width: min(1000px, 100%); max-width: 1000px; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--muted); font-size: .75rem; }
.sticky { border-color: var(--green); }
.bypostauthor { outline: none; }

/* Actualización visual moderna 1.2 */
.site-header {
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 8px 30px rgba(7, 29, 73, .045);
}

.header-inner { min-height: 82px; }
.primary-navigation .menu a { font-size: .78rem; letter-spacing: -.01em; }
.nav-cta { padding-inline: 21px; }

.hero {
	padding: 96px 0 132px;
	background:
		radial-gradient(circle at 8% 15%, rgba(20, 87, 217, .13), transparent 30%),
		radial-gradient(circle at 86% 72%, rgba(110, 167, 124, .13), transparent 27%),
		linear-gradient(135deg, #fbfdff 0%, #f1f6ff 55%, #e9f1ff 100%);
	color: var(--ink);
}

.hero::before {
	background-image: linear-gradient(rgba(20,87,217,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(20,87,217,.035) 1px, transparent 1px);
	mask-image: linear-gradient(to right, black, transparent 88%);
}

.hero-orbit { border-color: rgba(20,87,217,.12); }
.hero-orbit-one { right: -240px; top: -330px; }
.hero-orbit-two { right: 28%; bottom: -290px; }
.hero-grid { grid-template-columns: minmax(0, 1.13fr) minmax(380px, .87fr); gap: 68px; }
.hero .eyebrow-light { display: inline-flex; width: fit-content; margin-bottom: 25px; padding: 8px 13px; border: 1px solid rgba(110,167,124,.3); border-radius: 999px; background: rgba(255,255,255,.82); color: #4d805d; }
.hero-copy h1 { margin-bottom: 28px; color: var(--blue-deep); font-size: clamp(3rem, 5.35vw, 5.45rem); letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--blue-bright); }
.hero-lead { max-width: 650px; color: #53627c; font-size: clamp(1rem, 1.25vw, 1.12rem); }
.hero .text-link-light { color: var(--blue); }
.hero .text-link-light:hover { color: var(--orange); }
.hero-note { color: #52617a; }
.hero-note span { background: var(--green-pale); color: #34714a; }

.route-card {
	padding: 34px;
	border: 0;
	background: linear-gradient(145deg, #163a63 0%, #0f2b4a 100%);
	box-shadow: 0 35px 75px rgba(6,26,58,.25);
	color: var(--white);
}
.route-card::before { top: 0; right: 38px; height: 6px; border-radius: 0 0 6px 6px; background: var(--green); }
.route-card-head { color: #9fbee9; }
.route-card h2, .route-list strong { color: var(--white); }
.route-list small { color: #a9bfdf; }
.route-list::before { background: rgba(255,255,255,.17); }
.route-list li > span { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #bcd7ff; }
.route-card > a { border-color: rgba(255,255,255,.16); color: var(--white); }

.credential-band { position: relative; z-index: 4; padding-bottom: 58px; border: 0; background: var(--white); }
.credential-grid { margin-top: -42px; overflow: hidden; border: 1px solid rgba(7,29,73,.075); border-radius: 21px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-soft); }
.credential-grid p { min-height: 108px; border-color: rgba(7,29,73,.08); }
.credential-grid p:first-child { border-left: 0; }

.services-overview { padding-top: 80px; background: var(--soft); }
.service-grid { gap: 18px; }
.service-card { min-height: 295px; padding: 30px; border: 1px solid rgba(7,29,73,.06); border-radius: 23px; box-shadow: 0 8px 24px rgba(7,29,73,.035); }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 22px 48px rgba(7,29,73,.11); }
.service-card.featured { background: linear-gradient(145deg, var(--blue), #003685); }
.service-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 42px; border-radius: 50%; background: var(--green-pale); color: #3d7250; }
.service-card.featured .service-number { background: rgba(255,255,255,.13); }

.about-teaser { background: var(--white); }
.about-visual { border-radius: 34px; }
.about-visual::after { right: 42px; left: 42px; }
.about-visual.has-photo { background-position: center 24%; }
.about-copy > p:not(.eyebrow) { font-size: 1.02rem; line-height: 1.8; }

.resources-teaser { background: linear-gradient(180deg, #fbfdff 0%, #f2f6fc 100%); }
.resource-mini-grid a { border-color: rgba(7,29,73,.06); border-radius: 22px; background: rgba(255,255,255,.8); box-shadow: 0 8px 22px rgba(7,29,73,.035); }
.work-method { background: var(--white); }
.method-grid article { border: 0; border-radius: 22px; background: var(--soft); }
.method-grid article:hover { background: #edf3ff; }

.cta-section { background: linear-gradient(120deg, #163a63 0%, #234f7b 72%, #1457d9 100%); }
.cta-section .button { box-shadow: 0 12px 30px rgba(223,96,26,.3); }

.page-hero, .simple-page-header, .single-header { background: linear-gradient(120deg, #163a63 0%, #234f7b 68%, #1457d9 100%); }
.detail-card, .contact-form-card, .post-card, .official-resource-card { border-color: rgba(7,29,73,.07); border-radius: 24px; }

.profile-photo-composition::before { content: ""; position: absolute; top: -18px; left: -18px; width: 110px; height: 110px; border: 1px solid rgba(110,167,124,.42); border-radius: 28px; transform: rotate(-8deg); }
.profile-photo-main { position: relative; border: 10px solid var(--white); border-radius: 34px; background: linear-gradient(150deg, #eaf2ff 0%, #cfe0ff 100%); box-shadow: var(--shadow); }
.profile-photo-main::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(110,167,124,.28); border-radius: 23px; pointer-events: none; }
.profile-photo-main.has-photo::after { inset: 0; border: 0; background: linear-gradient(180deg, transparent 70%, rgba(6,26,58,.18)); }
.profile-photo-main > span, .monogram { background: linear-gradient(90deg, var(--blue) 0 49%, var(--green) 51% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.profile-photo-secondary { border-width: 9px; border-radius: 21px; }
.profile-card-compact { border-radius: 24px; background: linear-gradient(145deg, #163a63, #0f2b4a); }

.services-page-hero { padding-bottom: 104px; }
.services-editorial { position: relative; background: var(--white); }
.services-editorial::before { content: ""; position: absolute; top: -45px; right: 8%; width: 125px; height: 125px; border: 1px solid rgba(110,167,124,.28); border-radius: 42% 58% 63% 37%; transform: rotate(14deg); pointer-events: none; }
.services-editorial-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); align-items: center; gap: 90px; }
.services-editorial-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 1.03rem; }
.service-signature { display: flex; align-items: center; gap: 20px; margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }
.service-signature span { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-signature strong { color: var(--blue-deep); font-size: .84rem; }
.services-editorial-image { position: relative; display: grid; min-height: 465px; place-items: center; overflow: hidden; border: 10px solid var(--white); border-radius: 72px 26px 72px 26px; background: linear-gradient(145deg, #eaf3ff, #d8e9ff 54%, #e8f3eb); box-shadow: var(--shadow); }
.services-editorial-image::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(110,167,124,.34); border-radius: 52px 17px 52px 17px; }
.services-editorial-image::after { content: ""; position: absolute; right: -120px; bottom: -150px; width: 340px; height: 340px; border: 1px solid rgba(20,87,217,.15); border-radius: 50%; box-shadow: 0 0 0 48px rgba(20,87,217,.035), 0 0 0 96px rgba(20,87,217,.025); }
.services-editorial-image.has-photo { background-position: center; background-size: cover; }
.services-editorial-image.has-photo::before { inset: 0; border: 0; border-radius: 0; background: linear-gradient(180deg, transparent 62%, rgba(22,58,99,.25)); }
.editorial-image-art { position: relative; z-index: 1; display: flex; align-items: baseline; font-family: "Montserrat", Arial, sans-serif; font-size: clamp(5rem, 11vw, 9rem); font-weight: 700; letter-spacing: -.15em; }
.editorial-image-art span:first-child { color: var(--blue); }
.editorial-image-art span:last-child { color: var(--green); }
.services-editorial-image > p { position: absolute; z-index: 2; right: 44px; bottom: 35px; left: 44px; margin: 0; color: var(--blue-deep); font-size: .72rem; font-weight: 700; text-align: center; }

.service-directory { background: var(--white); }
.service-directory-soft { background: linear-gradient(180deg, #f8fbff 0%, var(--blue-pale) 100%); }
.service-directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-directory-card { position: relative; display: flex; min-height: 335px; padding: 31px; flex-direction: column; overflow: hidden; border: 1px solid rgba(22,58,99,.1); border-radius: 30px 14px 30px 14px; background: rgba(255,255,255,.95); box-shadow: 0 10px 28px rgba(22,58,99,.045); transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.service-directory-card::before { content: ""; position: absolute; top: -48px; right: -46px; width: 110px; height: 110px; border: 1px solid rgba(110,167,124,.28); border-radius: 50%; }
.service-directory-card:hover { transform: translateY(-7px); border-color: rgba(20,87,217,.28); box-shadow: 0 22px 48px rgba(22,58,99,.11); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 50px; }
.service-card-top > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50% 50% 50% 8px; background: var(--green-pale); color: #3d7250; font-size: .72rem; font-weight: 800; }
.service-card-top small { max-width: 65%; color: var(--green); font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-align: right; }
.service-directory-card h3 { margin-bottom: 14px; font-size: 1.32rem; }
.service-directory-card > p { margin-bottom: 28px; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.service-more { display: flex; align-items: center; justify-content: space-between; min-height: 45px; margin-top: auto; padding: 11px 15px; border: 1px solid rgba(20,87,217,.22); border-radius: 10px; background: #f8fbff; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.service-more b { font-size: 1.1rem; transition: transform 180ms ease; }
.service-more:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
.service-more:hover b { transform: translateX(4px); }
.service-choice-strip { padding: 38px 0; background: var(--blush); border-top: 1px solid #f3e3dc; border-bottom: 1px solid #f3e3dc; }
.service-choice-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.service-choice-inner > div { display: flex; flex-direction: column; }
.service-choice-inner span { color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-choice-inner strong { margin-top: 4px; color: var(--blue-deep); font-family: "Montserrat", Arial, sans-serif; font-size: 1.15rem; }

.service-page-hero { padding: 38px 0 82px; background: linear-gradient(135deg, #fbfdff 0%, #edf5ff 64%, #e7f2ea 100%); }
.service-page-hero-inner { position: relative; }
.service-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 65px; color: var(--muted); font-size: .72rem; }
.service-breadcrumb a { color: var(--blue); text-decoration: none; }
.service-page-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: end; gap: 80px; }
.service-page-heading h1 { max-width: 800px; margin: 0; font-size: clamp(2.8rem, 5.2vw, 5rem); }
.service-page-heading > p { margin: 0 0 9px; color: #53627c; font-size: 1.05rem; }
.service-page-intro { background: var(--white); }
.service-page-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, .84fr); align-items: center; gap: 90px; }
.service-page-copy h2 { max-width: 650px; }
.service-lead { color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.service-for-box { margin: 32px 0; padding: 24px 26px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: var(--green-pale); }
.service-for-box span { color: #3d7250; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-for-box p { margin: 7px 0 0; color: #355642; font-size: .86rem; }
.service-feature-image { position: relative; min-height: 525px; overflow: hidden; border-radius: 72px 24px 72px 24px; background: linear-gradient(145deg, #eaf3ff, #d5e6ff 55%, #e6f1e8); box-shadow: var(--shadow); }
.service-feature-image.has-photo img { width: 100%; height: 525px; object-fit: cover; }
.service-image-art { position: absolute; inset: 0; overflow: hidden; }
.service-image-art::before { content: ""; position: absolute; top: 45px; right: 42px; bottom: 45px; left: 42px; border: 1px solid rgba(110,167,124,.38); border-radius: 49px 15px 49px 15px; }
.service-image-art::after { content: ""; position: absolute; top: -130px; right: -110px; width: 330px; height: 330px; border: 1px solid rgba(20,87,217,.18); border-radius: 50%; box-shadow: 0 0 0 50px rgba(20,87,217,.035), 0 0 0 100px rgba(20,87,217,.025); }
.service-image-number { position: absolute; top: 42px; left: 42px; color: var(--green); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.service-image-monogram { position: absolute; top: 50%; left: 50%; display: flex; transform: translate(-52%, -55%); font-family: "Montserrat", Arial, sans-serif; font-size: clamp(5rem, 10vw, 8rem); letter-spacing: -.15em; }
.service-image-monogram b:first-child { color: var(--blue); }
.service-image-monogram b:last-child { color: var(--green); }
.service-image-caption { position: absolute; right: 42px; bottom: 36px; left: 42px; display: flex; justify-content: space-between; gap: 20px; color: var(--blue-deep); font-size: .68rem; }
.service-image-caption span { color: var(--green); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-includes-section { background: var(--soft); }
.service-includes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-includes-grid article { min-height: 210px; padding: 28px; border: 1px solid rgba(22,58,99,.07); border-radius: 24px 12px 24px 12px; background: var(--white); box-shadow: 0 8px 24px rgba(22,58,99,.035); }
.service-includes-grid span { display: block; margin-bottom: 58px; color: var(--green); font-size: .7rem; font-weight: 800; }
.service-includes-grid h3 { margin: 0; font-size: 1rem; line-height: 1.4; }
.service-process-section { background: var(--white); }
.service-process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.service-process-list { margin: 0; padding: 0; list-style: none; }
.service-process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 0 0 34px; }
.service-process-list li + li { padding-top: 34px; border-top: 1px solid var(--line); }
.service-process-list > li > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50% 50% 50% 9px; background: var(--blue-pale); color: var(--blue); font-size: .72rem; font-weight: 800; }
.service-process-list h3 { margin-bottom: 8px; }
.service-process-list p { margin: 0; color: var(--muted); font-size: .86rem; }
.service-editor-content { padding-top: 0; }
.service-caution { padding: 30px 0; border-top: 1px solid #bfddc7; border-bottom: 1px solid #bfddc7; background: var(--green-pale); }
.service-caution-inner { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 17px; }
.service-caution-inner > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); font-family: Georgia, serif; font-weight: 700; }
.service-caution p { margin: 0; color: #355642; font-size: .82rem; }

.legal-hero { padding: 78px 0 72px; background: linear-gradient(135deg, #fbfdff 0%, #eaf3ff 70%, #edf5ef 100%); }
.legal-hero h1 { margin-bottom: 18px; font-size: clamp(2.75rem, 5vw, 4.7rem); }
.legal-hero p:last-child { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.legal-section { background: var(--white); }
.legal-update { width: fit-content; margin-bottom: 45px; padding: 8px 13px; border-radius: 999px; background: var(--green-pale); color: #3d7250; font-size: .7rem; font-weight: 700; }
.legal-content h2 { margin-top: 2.1em; padding-top: .35em; font-size: clamp(1.45rem, 2.3vw, 2rem); }
.legal-content > h2:first-of-type { margin-top: 0; }
.legal-data { margin: 28px 0 38px; border-top: 1px solid var(--line); }
.legal-data > div { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.legal-data dt { color: var(--muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; }
.legal-data dd { margin: 0; color: var(--blue-deep); font-weight: 600; }
.legal-professional-data, .legal-review-box { margin: 30px 0; padding: 25px 27px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: var(--green-pale); }
.legal-professional-data strong, .legal-review-box strong { color: #2f6040; }
.legal-professional-data p, .legal-review-box p { margin: 6px 0 0; color: #41664e; font-size: .86rem; }
.legal-table-wrap { margin: 30px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.legal-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 17px 19px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--blue-pale); color: var(--blue-deep); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.legal-table td { color: #46536c; font-size: .82rem; }
.legal-table tr:last-child td { border-bottom: 0; }

.site-footer { padding-top: 76px; border-top: 1px solid #c7d9ef; background: #deedff; color: #465d78; }
.footer-grid { grid-template-columns: 1.15fr .48fr .65fr .82fr; gap: 55px; }
.brand-link-light, .brand-link-light:hover { color: var(--blue-deep); }
.brand-link-light .brand-copy small { color: #637995; }
.footer-brand > p { color: #526983; }
.footer-brand .professional-ids { color: #637995; }
.footer-column h2 { color: var(--blue-deep); }
.footer-column .menu a, .footer-column > ul a, .contact-list a, .contact-list li { color: #465d78; }
.footer-column .menu a:hover, .footer-column > ul a:hover, .contact-list a:hover { color: var(--blue); }
.whatsapp-link { color: #3d7250; }
.whatsapp-link:hover { color: var(--blue); }
.footer-bottom { border-top-color: rgba(22,58,99,.15); }
.footer-bottom p { color: #5c718b; }

@media (max-width: 1080px) {
	.primary-navigation .menu { gap: 16px; }
	.primary-navigation { gap: 16px; }
	.hero-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.service-card { min-height: 250px; }
	.split-heading { gap: 45px; }
	.about-grid { gap: 55px; }
	.services-editorial-grid, .service-page-intro-grid { gap: 50px; }
	.service-directory-grid { grid-template-columns: repeat(2, 1fr); }
	.service-includes-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
	:root { --shell: min(100% - 32px, 760px); }
	.section { padding: 78px 0; }
	.topbar-links a:last-child { display: none; }
	.header-inner { min-height: 78px; }
	.menu-toggle { display: flex; width: 45px; height: 42px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; border: 0; border-radius: 8px; background: var(--soft); cursor: pointer; }
	.menu-toggle span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; background: var(--blue-deep); }
	.primary-navigation { display: none; position: fixed; inset: 116px 0 0; padding: 40px 24px; align-items: stretch; flex-direction: column; background: var(--white); overflow-y: auto; }
	.primary-navigation.is-open { display: flex; }
	.primary-navigation .menu { align-items: stretch; flex-direction: column; gap: 0; }
	.primary-navigation .menu a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
	.primary-navigation .menu a::after { display: none; }
	.nav-cta { margin-top: 20px; }
	.hero { padding: 72px 0; }
	.hero-grid, .page-hero-grid, .about-grid, .profile-grid, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
	.hero-grid { gap: 48px; }
	.hero-copy { max-width: 700px; }
	.route-card { max-width: 560px; }
	.credential-grid { grid-template-columns: repeat(2, 1fr); }
	.credential-grid p:nth-child(odd) { border-left: 1px solid var(--line); }
	.credential-grid p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.split-heading { grid-template-columns: 1fr; gap: 22px; }
	.split-heading > p { max-width: 660px; }
	.about-grid { gap: 50px; }
	.about-visual { min-height: 430px; }
	.method-grid { grid-template-columns: 1fr; gap: 5px; }
	.method-grid article { padding: 24px 30px; }
	.method-grid span { margin-bottom: 20px; }
	.cta-inner { gap: 30px; align-items: start; }
	.cta-inner > div:last-child { max-width: 600px; }
	.page-hero { padding: 72px 0; }
	.page-hero-grid { gap: 25px; align-items: start; }
	.services-editorial-grid, .service-page-heading, .service-page-intro-grid, .service-process-grid { grid-template-columns: 1fr; }
	.services-editorial-grid, .service-page-intro-grid, .service-process-grid { gap: 48px; }
	.services-editorial-image { min-height: 420px; }
	.service-page-heading { gap: 25px; }
	.service-page-intro-grid { align-items: start; }
	.service-feature-image { max-width: 580px; width: 100%; min-height: 480px; }
	.service-feature-image.has-photo img { height: 480px; }
	.detail-content ul { grid-template-columns: 1fr; }
	.profile-aside { position: relative; top: 0; max-width: 520px; }
	.resources-teaser-grid { grid-template-columns: 1fr; gap: 45px; }
	.official-resource-grid { grid-template-columns: repeat(2, 1fr); }
	.credential-cards { grid-template-columns: 1fr; }
	.credential-cards h3 { margin-top: 25px; }
	.contact-grid { gap: 45px; }
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
	:root { --shell: min(100% - 26px, 560px); }
	body { font-size: 16px; }
	h1 { font-size: clamp(2.45rem, 12vw, 3.3rem); }
	h2 { font-size: clamp(1.8rem, 8vw, 2.45rem); }
	.section { padding: 65px 0; }
	.topbar-inner { min-height: 34px; }
	.topbar p { max-width: 63%; font-size: .62rem; line-height: 1.3; }
	.topbar-links { gap: 0; }
	.topbar-links a { font-size: .66rem; }
	.brand-mark { width: 41px; height: 41px; }
	.brand-copy strong { font-size: .85rem; }
	.brand-copy small { font-size: .53rem; }
	.primary-navigation { inset: 112px 0 0; }
	.hero { padding: 58px 0 65px; }
	.hero-lead { font-size: 1rem; }
	.hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
	.hero-actions .button { width: 100%; }
	.route-card { padding: 24px; }
	.route-card h2 { font-size: 1.4rem; }
	.credential-grid { width: 100%; grid-template-columns: 1fr 1fr; }
	.credential-grid p { min-height: 88px; padding: 18px 14px; }
	.credential-grid strong { font-size: .86rem; }
	.credential-grid span { font-size: .61rem; }
	.service-grid { grid-template-columns: 1fr; }
	.service-card { min-height: 225px; }
	.service-number { margin-bottom: 34px; }
	.about-visual { min-height: 350px; }
	.about-caption { right: 25px; bottom: 25px; left: 25px; align-items: flex-start; flex-direction: column; gap: 6px; }
	.cta-section { padding: 65px 0; }
	.page-hero { padding: 58px 0 60px; }
	.page-hero h1 { font-size: clamp(2.35rem, 11vw, 3.1rem); }
	.service-details { padding-top: 35px; }
	.service-index { margin-bottom: 35px; border-radius: 10px; }
	.services-editorial::before { display: none; }
	.services-editorial-image { min-height: 340px; border-width: 7px; border-radius: 46px 18px 46px 18px; }
	.services-editorial-image > p { right: 28px; bottom: 24px; left: 28px; }
	.service-signature { align-items: flex-start; flex-direction: column; gap: 7px; }
	.service-directory-grid, .service-includes-grid { grid-template-columns: 1fr; }
	.service-directory-card { min-height: 305px; padding: 26px; }
	.service-choice-inner { align-items: stretch; flex-direction: column; }
	.service-choice-inner .button { width: 100%; }
	.service-page-hero { padding: 28px 0 58px; }
	.service-breadcrumb { margin-bottom: 45px; }
	.service-page-heading h1 { font-size: clamp(2.4rem, 11vw, 3.3rem); }
	.service-feature-image { min-height: 385px; border-radius: 48px 18px 48px 18px; }
	.service-feature-image.has-photo img { height: 385px; }
	.service-image-art::before { top: 28px; right: 25px; bottom: 28px; left: 25px; border-radius: 33px 11px 33px 11px; }
	.service-image-caption { right: 28px; bottom: 25px; left: 28px; align-items: flex-start; flex-direction: column; gap: 4px; }
	.service-includes-grid article { min-height: 175px; }
	.service-includes-grid span { margin-bottom: 38px; }
	.service-process-list li { grid-template-columns: 48px 1fr; gap: 16px; }
	.service-process-list > li > span { width: 44px; height: 44px; }
	.service-caution-inner { grid-template-columns: 1fr; }
	.legal-hero { padding: 58px 0 52px; }
	.legal-data > div { grid-template-columns: 1fr; gap: 4px; }
	.legal-table { min-width: 600px; }
	.detail-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
	.detail-number { width: 58px; height: 58px; font-size: .9rem; }
	.profile-card { padding: 28px; }
	.profile-photo-composition { min-height: 440px; margin-bottom: 42px; }
	.profile-copy blockquote { padding: 23px; font-size: 1.1rem; }
	.values-grid, .contact-boxes, .form-two-columns { grid-template-columns: 1fr; }
	.resource-mini-grid, .official-resource-grid, .guide-resource-grid { grid-template-columns: 1fr; }
	.resource-mini-grid a { min-height: 190px; }
	.resource-mini-grid span { margin-bottom: 40px; }
	.resources-note { grid-template-columns: 1fr; }
	.office-link-list a { grid-template-columns: 38px 1fr 18px; gap: 13px; }
	.contact-form-card { padding: 26px 20px; }
	.posts-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 35px; }
	.footer-brand { grid-column: auto; }
	.footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
	.post-navigation .nav-links { flex-direction: column; gap: 25px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
