/*
Theme Name: JP Trans
Theme URI: https://transportesjuliopuig.es/
Author: Transportes Julio Puig
Description: Tema ligero y editorial para Transportes Julio Puig. Gutenberg, rendimiento, accesibilidad y SEO sin page builder.
Version: 1.0.7
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: jp-trans
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--blue: #0542a1;
	--blue-dark: #032f76;
	--blue-deep: #061a36;
	--red: #cf0913;
	--red-dark: #a90810;
	--ink: #172132;
	--muted: #596579;
	--line: #d8dee8;
	--soft: #f2f5f9;
	--white: #fff;
	--container: 1240px;
	--narrow: 780px;
	--header-height: 84px;
	--space-1: clamp(0.7rem, 1vw, 0.9rem);
	--space-2: clamp(1rem, 1.6vw, 1.5rem);
	--space-3: clamp(1.5rem, 2.8vw, 2.5rem);
	--space-4: clamp(2.5rem, 5vw, 5rem);
	--space-5: clamp(4.5rem, 8vw, 8rem);
	--font-sans: Arial, Helvetica, sans-serif;
	--font-display: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin-top: 0; }
h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.03;
}
h1 { font-size: clamp(2.75rem, 6vw, 6.6rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid #f6b900; outline-offset: 3px; }

.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-5); }
.section--soft { background: var(--soft); }
.section--ink { background: var(--blue-deep); color: var(--white); }
.section--ink p { color: #d6dfec; }
.section-heading { max-width: 36rem; }
.section-heading--wide { max-width: 52rem; margin-bottom: var(--space-4); }
.section-heading > p:not(.section-kicker) { color: var(--muted); font-size: 1.08rem; }
.section--ink .section-heading > p:not(.section-kicker) { color: #b9c6d9; }
.section-kicker {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1rem;
	color: var(--blue);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.2;
	text-transform: uppercase;
}
.section-kicker::before { width: 4px; height: 1.65rem; background: var(--red); content: ""; }
.section-kicker--light { color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0.85rem 1.3rem;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.055em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-2px); text-decoration: none; }
.button--primary { background: var(--red); color: var(--white); }
.button--primary:hover { background: var(--red-dark); }
.button--secondary { border-color: var(--blue); background: transparent; color: var(--blue); }
.button--secondary:hover { background: var(--blue); color: var(--white); }
.button--light { background: var(--white); color: var(--blue-deep); }
.button--light:hover { background: #edf2f9; }
.button--outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.button--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link::after { content: " →"; color: var(--red); }
.text-link--light { color: var(--white); }
.skip-link, .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	z-index: 10000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--white);
	color: var(--blue);
}

/* Header */
.utility-bar { background: var(--blue-deep); color: #dce5f3; font-size: 0.78rem; }
.utility-bar__inner { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-bar p { margin: 0; text-transform: uppercase; letter-spacing: 0.075em; }
.utility-bar__contact { display: flex; gap: 1.4rem; }
.utility-bar a { text-decoration: none; }
.utility-bar a:hover { color: var(--white); }
.site-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid var(--line);
	background: rgba(255,255,255,.98);
}
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 8px 28px rgba(6,26,54,.08); }
.site-header__inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 2rem; }
.site-brand { display: inline-flex; width: 130px; align-items: center; flex: 0 0 auto; text-decoration: none; }
.site-brand picture { display: flex; width: 100%; align-items: center; }
.site-brand img { width: auto; max-width: 100%; height: 76px; object-fit: contain; object-position: left center; }
.site-navigation { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.8rem); }
.site-navigation .menu { display: flex; margin: 0; padding: 0; align-items: center; gap: clamp(0.8rem, 1.5vw, 1.45rem); list-style: none; }
.site-navigation .menu a { position: relative; color: #263449; font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.site-navigation .menu a::after { position: absolute; right: 0; bottom: -0.55rem; left: 0; height: 2px; background: var(--red); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.site-navigation .menu a:hover::after, .site-navigation .current-menu-item > a::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 0.7rem 1rem; white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px 9px; border: 0; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 27px; height: 2px; margin: 5px 0; background: var(--blue-deep); transition: transform 160ms ease, opacity 160ms ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Home hero */
.home-hero { overflow: hidden; background: var(--blue-deep); color: var(--white); }
.home-hero__grid { display: grid; min-height: min(760px, calc(100svh - 120px)); grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); }
.home-hero__copy { display: flex; min-width: 0; max-width: 700px; padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 3vw, 3rem) clamp(4rem, 7vw, 6rem) 0; flex-direction: column; justify-content: center; }
.home-hero h1 { margin-bottom: 1.6rem; }
.home-hero h1 { font-size: clamp(3.2rem, 4.5vw, 5.15rem); line-height: .99; overflow-wrap: normal; }
.home-hero h1 em, .page-hero h1 em { color: #a8c8f6; font-style: normal; }
.home-hero__lead { max-width: 590px; margin-bottom: 2rem; color: #e1e8f2; font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.55; }
.home-hero__note { max-width: 530px; margin-top: 1.8rem; color: #afbdd1; font-size: .88rem; }
.home-hero__proof { display: flex; max-width: 590px; margin: 0 0 1.9rem; padding: 0; flex-wrap: wrap; gap: .55rem 1.25rem; list-style: none; }
.home-hero__proof li { position: relative; padding-left: .8rem; color: #dbe6f5; font-size: .78rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.home-hero__proof li::before { position: absolute; top: .42em; left: 0; width: 4px; height: 4px; background: var(--red); content: ""; }
.home-hero__media { position: relative; min-height: 580px; margin-right: calc((100vw - min(100vw - 2.5rem, var(--container))) / -2); overflow: hidden; }
.home-hero__picture, .home-hero__picture img { width: 100%; height: 100%; }
.home-hero__picture img { object-fit: cover; object-position: 46% center; }
.home-hero__media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,26,54,.38), transparent 42%), linear-gradient(0deg, rgba(6,26,54,.38), transparent 38%); content: ""; pointer-events: none; }
.trans-rail {
	display: flex;
	width: 62px;
	height: 210px;
	align-items: center;
	justify-content: center;
	background: var(--red);
	color: var(--white);
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: .25em;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}
.trans-rail--hero { position: absolute; z-index: 2; top: 0; right: clamp(1.5rem, 4vw, 4rem); height: 245px; }
.home-hero__caption { position: absolute; z-index: 2; right: clamp(1.5rem, 4vw, 4rem); bottom: 2rem; left: 2rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.home-hero__caption strong { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.home-hero__caption span { color: #d2dbea; font-size: .78rem; }
.fact-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.fact-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact-strip__grid > div { display: flex; min-height: 112px; padding: 1.5rem 2rem; border-right: 1px solid var(--line); flex-direction: column; justify-content: center; }
.fact-strip__grid > div:first-child { border-left: 1px solid var(--line); }
.fact-strip strong { color: var(--blue); font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1; }
.fact-strip span { margin-top: .4rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

/* Editorial components */
.editorial-intro { display: grid; margin-bottom: var(--space-4); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.editorial-intro h2 { margin-bottom: 0; }
.editorial-intro__copy { padding-top: .4rem; font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.editorial-intro__copy p { color: #3f4c60; }
.operations-board { display: grid; border-top: 5px solid var(--blue); background: var(--soft); grid-template-columns: 1.2fr .8fr; }
.operations-board__lead { padding: clamp(2rem, 5vw, 4.5rem); }
.operations-board__lead h3 { max-width: 680px; margin-bottom: 1.2rem; color: var(--blue-deep); font-size: clamp(1.8rem, 3vw, 3rem); }
.cargo-list { display: flex; margin: 2rem 0 0; padding: 0; flex-wrap: wrap; gap: .55rem; list-style: none; }
.cargo-list li, .cargo-band span { padding: .45rem .75rem; border-left: 3px solid var(--red); background: var(--white); color: var(--blue-deep); font-size: .82rem; font-weight: 800; }
.data-list { margin: 0; padding: 0; background: var(--blue); color: var(--white); list-style: none; }
.data-list li { display: grid; min-height: 104px; padding: 1.25rem 1.6rem; border-bottom: 1px solid rgba(255,255,255,.17); grid-template-columns: 56px 1fr; align-items: center; }
.data-list li:last-child { border-bottom: 0; }
.data-list > li > span { color: #cfe1ff; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }
.data-list strong { font-size: 1.1rem; }
.data-list p { margin: .2rem 0 0; color: #d6e3f7; font-size: .86rem; }
.photo-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 280px 280px; gap: 1rem; }
.photo-grid figure, .gallery-grid figure { position: relative; margin: 0; overflow: hidden; background: #0d2746; }
.photo-grid__large { grid-row: span 2; }
.photo-grid picture, .photo-grid img, .gallery-grid picture, .gallery-grid img { width: 100%; height: 100%; }
.photo-grid img, .gallery-grid img { object-fit: cover; transition: transform 450ms ease; }
.photo-grid figure:hover img, .gallery-grid figure:hover img { transform: scale(1.025); }
.photo-grid figcaption, .gallery-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 2.2rem 1.2rem 1rem; background: linear-gradient(transparent, rgba(3,17,35,.86)); color: var(--white); font-size: .82rem; font-weight: 700; }
.section-action { margin-top: 2rem; text-align: right; }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; padding: 1.7rem 0; border-top: 1px solid var(--line); grid-template-columns: 70px 1fr; }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.section--ink .process-list li { border-color: rgba(255,255,255,.18); }
.process-list h3 { margin-bottom: .45rem; }
.process-list p { margin: 0; color: var(--muted); }
.coverage-panel { display: grid; padding: clamp(2rem, 5vw, 4.5rem); border-left: 6px solid var(--red); background: var(--white); grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.coverage-panel h2 { margin-bottom: 1.3rem; }
.coverage-panel p { max-width: 650px; color: var(--muted); }
.coverage-panel .button { margin-top: .8rem; }
.route-graphic { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.route-graphic > div { display: flex; min-width: 105px; flex-direction: column; }
.route-graphic > div:last-child { text-align: right; }
.route-graphic strong { color: var(--blue); font-family: var(--font-display); font-size: 1.5rem; }
.route-graphic span { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.route-graphic i { position: relative; height: 2px; margin: 0 1rem; background: var(--line); }
.route-graphic i::before, .route-graphic i::after { position: absolute; top: 50%; width: 10px; height: 10px; border: 3px solid var(--red); border-radius: 50%; background: var(--white); content: ""; transform: translateY(-50%); }
.route-graphic i::before { left: 0; }
.route-graphic i::after { right: 0; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.faq-layout .section-heading { position: sticky; top: calc(var(--header-height) + 2rem); }
.faq-layout .button { margin-top: 1rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 1.45rem 3rem 1.45rem 0; color: var(--blue-deep); font-weight: 800; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span::before, .faq-item summary span::after { position: absolute; top: 50%; right: .25rem; width: 16px; height: 2px; background: var(--red); content: ""; transition: transform 160ms ease; }
.faq-item summary span::after { transform: rotate(90deg); }
.faq-item[open] summary span::after { transform: rotate(0); }
.faq-item div { padding: 0 3rem 1.4rem 0; }
.faq-item p { color: var(--muted); }
.cta-band { background: var(--blue); color: var(--white); }
.cta-band__inner { display: grid; min-height: 300px; padding-block: var(--space-4); grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.cta-band h2 { margin-bottom: .7rem; }
.cta-band p:not(.section-kicker) { max-width: 680px; color: #dce8fa; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; background: var(--soft); }
.page-hero::before { position: absolute; top: 0; bottom: 0; left: max(1.25rem, calc((100vw - var(--container)) / 2)); width: 5px; background: var(--red); content: ""; }
.page-hero__grid { display: grid; min-height: 500px; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); align-items: stretch; }
.page-hero__copy { display: flex; max-width: 820px; padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem) clamp(3.5rem, 6vw, 5.5rem) clamp(1.8rem, 4vw, 4rem); flex-direction: column; justify-content: center; }
.breadcrumb { display: flex; margin-bottom: 1.8rem; flex-wrap: wrap; gap: .5rem; color: #566377; font-size: .73rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero__copy h1 { margin-bottom: 1.5rem; font-size: clamp(2.7rem, 4.35vw, 4.55rem); overflow-wrap: normal; }
.page-hero__intro { max-width: 680px; color: #46556a; font-size: clamp(1.05rem, 1.5vw, 1.27rem); }
.page-hero__actions { margin-top: 1.75rem; }
.page-hero__media { position: relative; min-height: 500px; margin-right: calc((100vw - min(100vw - 2.5rem, var(--container))) / -2); }
.page-hero__picture, .page-hero__picture img { width: 100%; height: 100%; }
.page-hero__picture img { object-fit: cover; }
.page-hero__media .trans-rail { position: absolute; top: 0; right: clamp(1.5rem, 4vw, 4rem); }
.coverage-hero .page-hero__picture img { object-position: center; }
.cargo-band { display: flex; margin-top: 1.5rem; padding: 1.2rem; flex-wrap: wrap; gap: .8rem; background: var(--blue-deep); }
.cargo-band span { background: transparent; color: var(--white); }
.caution-box { display: grid; margin-top: 1.5rem; padding: 1.5rem 2rem; border: 1px solid #efb8bc; border-left: 5px solid var(--red); grid-template-columns: 180px 1fr; gap: 1.5rem; }
.caution-box strong { color: var(--red); text-transform: uppercase; letter-spacing: .07em; }
.caution-box p { margin: 0; color: var(--muted); }
.requirement-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.requirement-grid article { min-height: 220px; padding: 2rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.requirement-grid article:nth-child(3n+1) { border-left: 1px solid var(--line); }
.requirement-grid article:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
.requirement-grid span, .feature-lines > article > span { color: var(--red); font-family: var(--font-display); font-size: .95rem; font-weight: 800; }
.requirement-grid h3 { margin-top: 2.2rem; }
.requirement-grid p, .feature-lines p { color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); }
.timeline article { position: relative; padding: 2.1rem; border-top: 4px solid var(--blue); background: var(--soft); }
.timeline article + article { border-left: 1px solid var(--white); }
.timeline span { color: var(--red); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.timeline h3 { margin-top: 2.5rem; }
.timeline p { color: var(--muted); }
.media-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.media-split figure { margin: 0; }
.media-split figure picture, .media-split figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-split figcaption { padding-top: .65rem; color: var(--muted); font-size: .8rem; }
.principle-list { margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.principle-list li { display: flex; padding: 1.25rem 0; border-bottom: 1px solid var(--line); flex-direction: column; }
.principle-list span { color: var(--muted); }
.feature-lines { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-lines article { padding: 2.2rem; border-top: 4px solid var(--blue); background: var(--soft); }
.feature-lines article + article { border-left: 1px solid var(--white); }
.feature-lines h3 { margin-top: 2.2rem; }
.gallery-grid { display: grid; grid-auto-rows: 320px; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.gallery-grid figure:nth-child(1), .gallery-grid figure:nth-child(4) { grid-column: span 2; }
.coverage-route { display: grid; min-height: 175px; margin-top: 2rem; padding: 2rem; border-left: 6px solid var(--red); background: var(--blue-deep); color: var(--white); grid-template-columns: auto 1fr auto; align-items: center; }
.coverage-route > div { display: flex; flex-direction: column; }
.coverage-route > div:last-child { text-align: right; }
.coverage-route strong { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 4rem); }
.coverage-route span { color: #c6d1e2; font-size: .82rem; }
.coverage-route i { height: 2px; margin: 0 2rem; background: repeating-linear-gradient(90deg, #6188bd 0 8px, transparent 8px 18px); }

/* Forms and contact */
.form-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.form-sidebar { position: sticky; top: calc(var(--header-height) + 2rem); }
.form-sidebar h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.check-list { margin: 2rem 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.check-list li { position: relative; padding: .85rem 0 .85rem 1.8rem; border-bottom: 1px solid var(--line); }
.check-list li::before { position: absolute; top: 1.25rem; left: .1rem; width: 8px; height: 8px; background: var(--red); content: ""; }
.direct-contact { display: flex; margin-top: 2rem; padding: 1.4rem; border-left: 4px solid var(--red); background: var(--blue-deep); color: var(--white); flex-direction: column; gap: .35rem; }
.direct-contact a { color: #d7e5f8; }
.site-form { position: relative; padding: clamp(1.5rem, 4vw, 3.5rem); border-top: 5px solid var(--blue); background: var(--white); }
.form-heading { margin-bottom: 2.2rem; }
.form-heading h2 { margin-bottom: .8rem; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.form-heading p:not(.section-kicker) { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field > span { color: var(--ink); font-size: .83rem; font-weight: 800; }
.field input, .field textarea, .field select {
	width: 100%;
	border: 1px solid #7b8798;
	border-radius: 0;
	background: #fbfcfe;
	color: var(--ink);
	outline: 0;
}

@media (max-width: 900px) {
	.coverage-hero .page-hero__media { min-height: 0; aspect-ratio: 3 / 2; }
}
.field input, .field select { min-height: 52px; padding: .7rem .85rem; }
.field textarea { min-height: 110px; padding: .8rem .85rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(5,66,161,.13); }
.privacy-field { display: flex; gap: .75rem; align-items: flex-start; color: var(--muted); font-size: .86rem; }
.privacy-field input { width: 19px; height: 19px; margin-top: .18rem; accent-color: var(--blue); }
.form-submit { display: flex; align-items: center; gap: 1rem; }
.form-submit p { margin: 0; color: var(--muted); font-size: .78rem; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin-bottom: 1rem; padding: 1rem 1.2rem; border-left: 5px solid; background: var(--white); }
.form-notice--success { border-color: #187448; color: #124f34; }
.form-notice--error { border-color: var(--red); color: #811019; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); }
.contact-details address { margin: 1.5rem 0 2.5rem; color: var(--muted); font-size: 1.08rem; }
.contact-details dl { margin: 0; border-top: 1px solid var(--line); }
.contact-details dl > div { display: grid; padding: 1rem 0; border-bottom: 1px solid var(--line); grid-template-columns: 140px 1fr; gap: 1rem; }
.contact-details dt { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.contact-details dd { margin: 0; }
.contact-details dd a { color: var(--blue); font-weight: 800; }
.map-consent { display: grid; min-height: 480px; padding: clamp(2rem, 5vw, 4rem); background: var(--blue-deep); color: var(--white); place-items: center; text-align: center; }
.map-consent p { max-width: 520px; color: #c7d3e3; }
.map-consent iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }
.form-layout--contact .site-form { border-top-color: var(--red); }

/* Guides, careers, legal */
.guide-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(3rem, 8vw, 8rem); }
.guide-layout > aside { position: sticky; top: calc(var(--header-height) + 2rem); align-self: start; }
.guide-layout > aside > p:not(.section-kicker) { color: var(--muted); }
.guide-steps { margin: 0; padding: 0; list-style: none; }
.guide-steps li { display: grid; padding: 2rem 0; border-top: 1px solid var(--line); grid-template-columns: 72px 1fr; }
.guide-steps li:last-child { border-bottom: 1px solid var(--line); }
.guide-steps > li > span { color: var(--red); font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; }
.guide-steps h2 { margin-bottom: .8rem; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.guide-steps p { color: var(--muted); }
.checklist-panel { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(2rem, 6vw, 6rem); }
.check-list--columns { display: grid; margin: 0; grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
.career-grid { display: grid; grid-template-columns: 1fr 1fr; }
.career-grid > div { padding: clamp(2rem, 6vw, 5rem); }
.career-grid > div:first-child { border: 1px solid var(--line); }
.career-action { position: relative; overflow: hidden; background: var(--blue); color: var(--white); }
.career-action .trans-rail { position: absolute; top: 0; right: 2rem; height: 185px; }
.career-action h2, .career-action p { max-width: 440px; }
.career-action p { color: #d8e4f5; }
.career-action .button { margin: 1rem 0; }
.career-action .fine-print { color: #b8c9df; font-size: .78rem; }
.prose { max-width: var(--narrow); }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: #3f4c60; }
.prose a { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: .75rem; border: 1px solid var(--line); text-align: left; }
.legal-copy { max-width: 900px; }
.legal-updated { padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: .86rem; }
.narrow-copy { max-width: 820px; }
.editor-section { padding-top: 0; }
.not-found { display: grid; min-height: 65vh; padding-block: var(--space-5); place-items: center; text-align: center; }
.not-found .container { max-width: 680px; }
.not-found__code { margin: 0; color: #dce4ef; font-family: var(--font-display); font-size: clamp(7rem, 22vw, 16rem); font-weight: 900; letter-spacing: -.08em; line-height: .7; }
.not-found .section-kicker { justify-content: center; margin-top: 2rem; }
.not-found .button-row { justify-content: center; }

/* Footer */
.site-footer { padding-top: var(--space-4); background: #050f20; color: #c5d0df; }
.site-footer__grid { display: grid; padding-bottom: var(--space-4); grid-template-columns: 1.35fr .7fr .8fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.site-footer__brand > p { max-width: 330px; }
.site-brand--footer { width: 150px; padding: .55rem; background: var(--white); }
.site-brand--footer img { width: 100%; height: auto; }
.site-footer h2 { margin: 0 0 1.2rem; color: var(--white); font-family: var(--font-sans); font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; }
.site-footer__grid > div:not(.site-footer__brand) { display: flex; flex-direction: column; gap: .65rem; }
.site-footer a { color: #c5d0df; font-size: .86rem; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-note { color: #7f91a8; font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.site-footer__contact address { color: #8fa0b7; font-size: .82rem; }
.site-footer__bottom { display: flex; min-height: 70px; border-top: 1px solid #253145; align-items: center; justify-content: space-between; gap: 1rem; font-size: .76rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom > div { display: flex; gap: 1.3rem; }
.mobile-actions { display: none; }

/* WordPress editor output */
.alignwide { max-width: var(--container); margin-right: auto; margin-left: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { height: auto; }

@media (max-width: 1080px) {
	.utility-bar__contact a:last-child { display: none; }
	.site-header__inner { min-height: 74px; }
	.site-brand { width: 116px; }
	.site-brand img { height: 68px; }
	.site-navigation { gap: .8rem; }
	.site-navigation .menu { gap: .82rem; }
	.site-navigation .menu a { font-size: .77rem; }
	.nav-cta { font-size: .73rem; }
	.home-hero__grid { grid-template-columns: 1fr 1fr; }
	.home-hero__copy { padding-right: 1.5rem; }
	.page-hero__grid { grid-template-columns: 1fr .8fr; }
	.requirement-grid { grid-template-columns: repeat(2, 1fr); }
	.requirement-grid article:nth-child(3n+1) { border-left: 0; }
	.requirement-grid article:nth-child(2n+1) { border-left: 1px solid var(--line); }
	.requirement-grid article:nth-last-child(-n+3) { border-bottom: 0; }
	.requirement-grid article:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
	.site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
	.site-footer__contact { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
	:root { --header-height: 72px; }
	.container.home-hero__grid, .container.page-hero__grid { width: 100%; max-width: none; margin-inline: 0; }
	.utility-bar { display: none; }
	.site-header.is-sticky { top: 0; }
	.menu-toggle { display: block; }
	.site-navigation {
		position: fixed;
		z-index: 90;
		top: var(--header-height);
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		padding: 2rem 1.25rem 7rem;
		background: var(--white);
		flex-direction: column;
		align-items: stretch;
		overflow-y: auto;
		opacity: 0;
		pointer-events: none;
		transform: translateY(-12px);
		transition: opacity 160ms ease, transform 160ms ease;
		visibility: hidden;
	}
	.site-navigation.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
	.site-navigation .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-navigation .menu li { border-bottom: 1px solid var(--line); }
	.site-navigation .menu a { display: block; padding: 1rem .2rem; font-family: var(--font-display); font-size: 1.3rem; }
	.site-navigation .menu a::after { display: none; }
	.nav-cta { margin-top: 1rem; }
	.home-hero__grid { width: 100%; grid-template-columns: 1fr; }
	.home-hero__copy { width: min(calc(100% - 2.5rem), var(--container)); min-height: 570px; margin-inline: auto; padding: 5rem 0 4rem; }
	.home-hero h1 { font-size: clamp(3rem, 7vw, 4rem); }
	.home-hero__media { min-height: 68vw; margin-right: 0; }
	.home-hero__caption { right: 1.25rem; left: 1.25rem; }
	.fact-strip__grid { grid-template-columns: repeat(2, 1fr); }
	.fact-strip__grid > div:nth-child(3) { border-left: 1px solid var(--line); }
	.fact-strip__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.editorial-intro, .process-layout, .faq-layout, .coverage-panel, .form-layout, .contact-grid, .guide-layout, .checklist-panel, .media-split { grid-template-columns: 1fr; gap: 2.5rem; }
	.operations-board { grid-template-columns: 1fr; }
	.data-list { display: grid; grid-template-columns: repeat(2, 1fr); }
	.data-list li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.17); }
	.photo-grid { grid-template-rows: 350px 250px; }
	.process-layout .section-heading, .faq-layout .section-heading, .form-sidebar, .guide-layout > aside { position: static; }
	.page-hero__grid { width: 100%; grid-template-columns: 1fr; }
	.page-hero__copy { width: min(calc(100% - 2.5rem), var(--container)); min-height: 430px; margin-inline: auto; padding: 4rem 1.6rem; }
	.page-hero__copy h1 { font-size: clamp(2.7rem, 7vw, 4rem); }
	.page-hero::before { left: 0; }
	.page-hero__media { min-height: 58vw; margin-right: 0; }
	.timeline, .feature-lines { grid-template-columns: 1fr; }
	.timeline article + article, .feature-lines article + article { border-top-color: var(--red); border-left: 0; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid figure:nth-child(1), .gallery-grid figure:nth-child(4) { grid-column: auto; }
	.form-layout--contact .form-sidebar { max-width: 650px; }
	.career-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__contact { grid-column: auto; }
}

@media (max-width: 600px) {
	:root { --space-5: 4.25rem; }
	.container { width: min(calc(100% - 2rem), var(--container)); }
	body { padding-bottom: 64px; }
	h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
	.home-hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.15rem); }
	h2 { font-size: clamp(2rem, 10vw, 3rem); }
	.site-brand { width: 105px; }
	.site-brand img { height: 62px; }
	.home-hero__copy { width: min(calc(100% - 2rem), var(--container)); min-height: 520px; padding: 4rem 0 3.5rem; }
	.home-hero__media { min-height: 105vw; }
	.home-hero__caption { flex-direction: column; align-items: flex-start; gap: .1rem; }
	.home-hero__proof { gap: .45rem .85rem; }
	.home-hero__proof li { font-size: .69rem; }
	.trans-rail { width: 50px; height: 170px; }
	.trans-rail--hero { right: 1rem; height: 190px; }
	.fact-strip__grid > div { min-height: 100px; padding: 1.2rem; }
	.fact-strip strong { font-size: 1.65rem; }
	.fact-strip span { font-size: .65rem; }
	.operations-board__lead { padding: 2rem 1.25rem; }
	.data-list { grid-template-columns: 1fr; }
	.data-list li:nth-child(odd) { border-right: 0; }
	.photo-grid { display: flex; flex-direction: column; }
	.photo-grid figure { height: 310px; }
	.process-list li, .guide-steps li { grid-template-columns: 50px 1fr; }
	.coverage-panel { padding: 2rem 1.25rem; }
	.route-graphic { grid-template-columns: 1fr; gap: 1rem; }
	.route-graphic > div:last-child { text-align: left; }
	.route-graphic i { width: 2px; height: 50px; margin: 0 0 0 5px; }
	.route-graphic i::before, .route-graphic i::after { left: 50%; right: auto; transform: translate(-50%, 0); }
	.route-graphic i::before { top: 0; }
	.route-graphic i::after { top: auto; bottom: 0; }
	.cta-band__inner { grid-template-columns: 1fr; gap: 1.5rem; }
	.cta-band__actions { align-items: flex-start; }
	.page-hero__copy { width: min(calc(100% - 2rem), var(--container)); min-height: 400px; padding: 3.5rem .75rem; }
	.page-hero__copy h1 { font-size: clamp(2.25rem, 10.5vw, 3.35rem); overflow-wrap: anywhere; }
	.page-hero__media { min-height: 88vw; }
	.page-hero__media .trans-rail { right: 1rem; }
	.caution-box { grid-template-columns: 1fr; gap: .5rem; }
	.requirement-grid { grid-template-columns: 1fr; }
	.requirement-grid article, .requirement-grid article:nth-child(2n+1) { border-right: 1px solid var(--line); border-bottom: 0; border-left: 1px solid var(--line); }
	.requirement-grid article:last-child { border-bottom: 1px solid var(--line); }
	.gallery-grid { display: flex; flex-direction: column; }
	.gallery-grid figure { height: 300px; }
	.coverage-route { grid-template-columns: 1fr; gap: 1rem; }
	.coverage-route > div:last-child { text-align: left; }
	.coverage-route i { width: 2px; height: 50px; margin: 0 0 0 5px; }
	.form-grid { grid-template-columns: 1fr; }
	.field--full { grid-column: auto; }
	.form-submit { align-items: flex-start; flex-direction: column; }
	.contact-details dl > div { grid-template-columns: 1fr; gap: .25rem; }
	.map-consent, .map-consent iframe { min-height: 400px; }
	.check-list--columns { grid-template-columns: 1fr; }
	.career-grid > div { padding: 2rem 1.25rem; }
	.career-action .trans-rail { right: 1rem; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__brand { grid-column: auto; }
	.site-footer__bottom { padding-block: 1.2rem; align-items: flex-start; flex-direction: column; }
	.mobile-actions { position: fixed; z-index: 200; right: 0; bottom: 0; left: 0; display: grid; min-height: 64px; border-top: 1px solid #d6dde8; background: var(--white); grid-template-columns: repeat(3, 1fr); box-shadow: 0 -8px 24px rgba(6,26,54,.11); }
	.mobile-actions a { display: grid; border-right: 1px solid var(--line); color: var(--blue-deep); font-size: .71rem; font-weight: 800; place-items: center; text-decoration: none; text-transform: uppercase; }
	.mobile-actions a:last-child { border-right: 0; background: var(--red); color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
	.utility-bar, .site-header, .site-footer, .mobile-actions, .cta-band, .button { display: none !important; }
	body { padding: 0; color: #000; }
	.section, .page-hero__copy { padding: 2rem 0; }
}

/* Coverage uses a documentary 3:2 photograph: preserve the complete real facility. */
@media (min-width: 1101px) {
	.coverage-hero .page-hero__grid { min-height: 0; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; }
	.coverage-hero .page-hero__copy { padding-block: 3rem; }
	.coverage-hero .page-hero__copy h1 { font-size: clamp(2.8rem, 3.25vw, 3.5rem); }
	.coverage-hero .page-hero__media { min-height: 0; aspect-ratio: 3 / 2; align-self: center; }
}

@media (max-width: 1100px) {
	.coverage-hero .page-hero__grid { width: 100%; max-width: none; margin-inline: 0; grid-template-columns: 1fr; }
	.coverage-hero .page-hero__copy { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
	.coverage-hero .page-hero__media { min-height: 0; margin-right: 0; aspect-ratio: 3 / 2; }
}


.process-list > li > span { color: #0a4fa6; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }
.section--ink .process-list > li > span { color: #cfe1ff; }
[hidden] { display: none !important; }

.form-details {
	padding: 0;
	border: 1px solid #a7b2c1;
	background: #f7f9fc;
}
.form-details summary {
	padding: 1rem 1.1rem;
	color: var(--ink);
	cursor: pointer;
	font-weight: 800;
}
.form-details[open] summary { border-bottom: 1px solid #c7d0dc; }
.form-details__grid {
	display: grid;
	padding: 1.1rem;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.2rem;
}

.consent-banner {
	position: fixed;
	z-index: 9999;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	display: flex;
	max-width: 1120px;
	margin: 0 auto;
	padding: 1rem 1.2rem;
	border: 1px solid #8290a3;
	background: #fff;
	box-shadow: 0 14px 45px rgba(5, 22, 45, .22);
	gap: 1.5rem;
	align-items: center;
	justify-content: space-between;
}
.consent-banner strong { color: var(--ink); }
.consent-banner p { max-width: 720px; margin: .3rem 0; color: #36445a; font-size: .9rem; }
.consent-banner a { color: var(--blue-deep); font-size: .86rem; font-weight: 800; }
.consent-banner__actions { display: flex; flex: 0 0 auto; gap: .65rem; }
.consent-banner [data-consent-reject] { border-color: #506077; background: #fff; color: #26364d; }
.consent-manage {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: .2em;
}

@media (max-width: 700px) {
	.form-details__grid { grid-template-columns: 1fr; }
	.consent-banner { right: .6rem; bottom: .6rem; left: .6rem; display: block; }
	.consent-banner__actions { margin-top: .85rem; }
	.consent-banner__actions .button { flex: 1; padding-inline: .75rem; }
}
