/* =====================================================================
   PCA Surveyors, S.C.  Site stylesheet
   Direction A "Película". Brand: Manual de Identidad Corporativa Grupo PCA
   (Montserrat; Azul PCA #0062A9, Azul noche #0B2545, Azul cielo #4FA3E3,
   Gris carbón #2E2E2E). TITAN Command section: TITAN brand manual.
   Mobile first: base styles are for phones, wider screens are added below.
   ===================================================================== */

/* ---------- Fonts (self hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Michroma";
  src: url("../fonts/michroma-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0B2545;
  --navy-deep: #071A33;
  --navy-card: #12345E;
  --pca: #0062A9;
  --sky: #4FA3E3;
  --carbon: #2E2E2E;
  --mist: #F2F5F8;
  --line: #D7E0E9;
  --muted: #5A6470;
  --on-dark: #D5E3F0;
  --on-dark-2: #B9C7D6;
  --titan-navy: #0A1628;
  --titan-blue: #0A7CFF;
  --titan-gray: #3A4556;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1296px;
  --radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: "Montserrat", Arial, sans-serif; font-size: 16px; line-height: 1.6;
  color: var(--carbon); background: #FFFFFF; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
a { color: var(--pca); }
a:hover { color: var(--navy); }
.on-dark a:not(.btn) { color: var(--sky); }
.on-dark a:not(.btn):hover { color: #FFFFFF; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.sr-only { 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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: #FFFFFF; color: var(--navy); padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; }
.section { padding: 72px var(--pad); }
.section--tight { padding-top: 48px; padding-bottom: 48px; }
.bg-white { background: #FFFFFF; }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: #FFFFFF; }
.bg-deep { background: var(--navy-deep); color: #FFFFFF; }
.bg-pca { background: var(--pca); color: #FFFFFF; }
.bg-titan { background: var(--titan-navy); color: #FFFFFF; }
.split { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.split > * { flex: 1 1 320px; min-width: 0; }
.split--top { align-items: flex-start; }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.flush { padding: 0; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .section { padding-top: 110px; padding-bottom: 110px; }
  .section--tight { padding-top: 56px; padding-bottom: 56px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split > .wide { flex-grow: 1.4; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); }
.eyebrow--pca { color: var(--pca); font-weight: 700; }
.h1 { font-size: clamp(38px, 6.2vw, 88px); line-height: 1.03; font-weight: 800; letter-spacing: -0.02em; }
.h1--page { font-size: clamp(36px, 5.4vw, 76px); }
.h2 { font-size: clamp(28px, 3.8vw, 50px); line-height: 1.12; font-weight: 800; color: var(--navy); }
.on-dark .h2, .bg-navy .h2, .bg-deep .h2, .bg-pca .h2, .bg-titan .h2 { color: #FFFFFF; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.on-dark .h3, .bg-navy .h3, .bg-deep .h3 { color: #FFFFFF; }
.lead { font-size: 18px; line-height: 1.65; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.text-on-dark { color: var(--on-dark); }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 44px; } .mt-xl { margin-top: 64px; }
.measure { max-width: 720px; }
.center { text-align: center; }
.center .measure { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .lead { font-size: 19px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 28px;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn--sky { background: var(--sky); color: var(--navy); }
.btn--sky:hover { background: #FFFFFF; color: var(--navy); }
.btn--pca { background: var(--pca); color: #FFFFFF; }
.btn--pca:hover { background: var(--navy); color: #FFFFFF; }
.btn--white { background: #FFFFFF; color: var(--navy); }
.btn--white:hover { background: var(--navy); color: #FFFFFF; }
.btn--ghost { border-color: rgba(255,255,255,.65); color: #FFFFFF; font-weight: 600; }
.btn--ghost:hover { background: #FFFFFF; color: var(--navy); }
.btn--ghost-dark { border-color: var(--navy); color: var(--navy); font-weight: 600; }
.btn--ghost-dark:hover { background: var(--navy); color: #FFFFFF; }
.btn--titan { background: var(--titan-blue); color: #FFFFFF; }
.btn--titan:hover { background: #FFFFFF; color: var(--titan-navy); }
.btn--titan-ghost { border-color: var(--titan-gray); color: #FFFFFF; font-weight: 600; }
.btn--titan-ghost:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
.link-strong { font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--navy); color: #FFFFFF; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-header--overlay { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--pad); }
.brand { display: flex; align-items: center; gap: 22px; }
.brand-logo { width: 150px; height: auto; }
.lloyds-logo { width: 60px; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; background: transparent;
  color: #FFFFFF; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle .bars { width: 18px; height: 12px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
.nav-toggle .bars::before { top: 0; } .nav-toggle .bars span { top: 5px; } .nav-toggle .bars::after { bottom: 0; }
.site-nav { display: none; }
.site-nav.is-open {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy); padding: 12px var(--pad) 28px; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 30px rgba(0,0,0,.25);
}
.site-nav a { color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.site-nav .nav-main a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-nav a[aria-current="page"] { color: var(--sky); }
.nav-main { list-style: none; padding: 0; margin: 0; }
.nav-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; }
.nav-tools .tool { color: #B9D3EA; }
.nav-tools .lang { letter-spacing: .08em; }
@media (min-width: 1240px) {
  .brand-logo { width: 180px; } .lloyds-logo { width: 75px; }
  .header-inner { padding-top: 24px; padding-bottom: 24px; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav-main { display: flex; gap: 20px; }
  .site-nav .nav-main a { padding: 4px 0; border: 0; font-size: 14px; }
  .site-nav a[aria-current="page"] { border-bottom: 2px solid var(--sky); }
  .nav-tools { margin: 0; gap: 18px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.25); flex-wrap: nowrap; }
  .site-nav, .site-nav.is-open { gap: 22px; }
  .nav-tools .tool { font-size: 14px; }
  .nav-tools .btn { min-height: 46px; padding: 12px 22px; font-size: 14px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: flex-end; color: #FFFFFF; background: var(--navy); overflow: hidden; }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,69,.78) 0%, rgba(11,37,69,.72) 45%, rgba(11,37,69,.97) 100%); }
@media (min-width: 900px) { .hero-media::after { background: linear-gradient(90deg, rgba(11,37,69,.6) 0%, rgba(11,37,69,0) 65%), linear-gradient(180deg, rgba(11,37,69,.6) 0%, rgba(11,37,69,.38) 40%, rgba(11,37,69,.97) 100%); } }
.hero .eyebrow { color: #A9D4F5; text-shadow: 0 1px 12px rgba(7,26,51,.8); }
.hero-content { position: relative; width: 100%; padding: 150px var(--pad) 64px; }
.hero .h1 { max-width: 1000px; margin-top: 18px; }
.hero .lead { max-width: 660px; margin-top: 26px; color: var(--on-dark); }
.hero .btn-row { margin-top: 36px; }
.scroll-cue { display: none; align-items: center; gap: 12px; margin-top: 64px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #B9D3EA; }
.scroll-cue::before { content: ""; width: 48px; height: 1px; background: var(--sky); }
@media (min-width: 900px) { .hero-content { padding-bottom: 88px; } .scroll-cue { display: flex; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #FFFFFF; background: var(--navy); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,69,.97) 0%, rgba(11,37,69,.88) 50%, rgba(11,37,69,.6) 100%); }
.page-hero-inner { position: relative; padding: 72px var(--pad) 64px; }
.page-hero .lead { max-width: 720px; margin-top: 24px; color: var(--on-dark); }
.breadcrumb { font-size: 13px; color: #B9D3EA; margin-bottom: 26px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.breadcrumb a { color: #B9D3EA; text-decoration: none; }
.breadcrumb a:hover { color: #FFFFFF; }
@media (min-width: 900px) { .page-hero-inner { padding: 120px var(--pad) 96px; } }

/* ---------- Scenes band ---------- */
.scenes { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.1); }
.scene { padding: 48px var(--pad); border-bottom: 1px solid rgba(255,255,255,.1); }
.scene-num { font-size: 48px; font-weight: 800; color: var(--sky); line-height: 1; }
.scene .h3 { font-size: 24px; margin-top: 22px; color: #FFFFFF; }
.scene p { margin-top: 10px; color: #C9D8E6; font-size: 17px; }
@media (min-width: 900px) {
  .scenes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scene { padding: 64px clamp(20px, 4vw, 56px); border-bottom: 0; border-right: 1px solid rgba(255,255,255,.1); }
  .scene:last-child { border-right: 0; }
  .scene-num { font-size: 56px; }
}

/* ---------- Ruled items ---------- */
.ruled { border-top: 3px solid var(--pca); padding-top: 24px; }
.ruled--sky { border-top-color: var(--sky); }
.ruled .h3 + p, .ruled p + p { margin-top: 10px; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pca); }
.label--dark { color: var(--navy); }

/* ---------- Service tiles (home) ---------- */
.tiles { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--line); border: 2px solid var(--line); }
.tile { display: block; background: #FFFFFF; padding: 30px; color: var(--carbon); text-decoration: none; transition: background .2s; }
.tile:hover { background: #F7FAFD; color: var(--carbon); }
.tile .num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--pca); }
.tile .h3 { margin-top: 14px; }
.tile p { margin-top: 8px; font-size: 15px; }
.tile--cta { background: var(--pca); color: #FFFFFF; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.tile--cta:hover { background: var(--navy); color: #FFFFFF; }
.tile--cta .h3 { color: #FFFFFF; margin: 0; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tile { padding: 36px; } }

/* ---------- Cargo list ---------- */
.cargo-list { display: grid; grid-template-columns: 1fr; gap: 0 40px; }
.cargo-list > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.cargo-list .h3 { font-size: 17px; }
.cargo-list p { margin-top: 6px; font-size: 15px; }
@media (min-width: 640px) { .cargo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cargo-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Figures ---------- */
.figures { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 4px; }
.figures .fig { padding-top: 16px; }
.figures .big { font-size: 32px; font-weight: 800; color: var(--sky); line-height: 1.1; }
.figures .cap { margin-top: 6px; font-size: 14px; color: #C9D8E6; }
@media (min-width: 640px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fig-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-top: 26px; }
.fig-list span { padding: 14px 14px 0 0; border-top: 2px solid var(--sky); font-size: 15px; font-weight: 700; line-height: 1.4; color: #C9D8E6; margin-top: 10px; }

/* ---------- Photo collage ---------- */
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.collage img { width: 100%; height: 160px; object-fit: cover; }
.collage img:first-child { grid-column: span 2; height: 240px; }
@media (min-width: 900px) { .collage img { height: 200px; } .collage img:first-child { height: 340px; } }
.photo { width: 100%; height: 280px; object-fit: cover; }
@media (min-width: 900px) { .photo { height: 400px; } }
.half-photo { display: flex; flex-wrap: wrap; }
.half-photo > .media { flex: 1 1 480px; min-height: 300px; position: relative; }
.half-photo > .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.half-photo > .copy { flex: 1 1 480px; padding: 64px var(--pad); }
@media (min-width: 900px) { .half-photo > .copy { padding: 100px var(--pad); } .half-photo > .media { min-height: 420px; } }

/* ---------- Map + legend ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: #C9D8E6; margin-top: 22px; }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.key-zone { width: 20px; height: 13px; background: var(--pca); }
.key-office { width: 9px; height: 9px; background: #FFFFFF; }
.key-port { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sky); }
.key-hq { width: 10px; height: 10px; background: var(--sky); transform: rotate(45deg); margin: 0 2px; }
.big-figure { font-size: clamp(40px, 5vw, 56px); font-weight: 800; color: var(--sky); line-height: 1; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: 1fr; gap: 18px; font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.45; }
.trust p { border-left: 2px solid var(--pca); padding-left: 16px; }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- TITAN ---------- */
.titan-logo { width: 240px; height: auto; }
.titan-type { font-family: "Michroma", "Montserrat", Arial, sans-serif; font-weight: 400; letter-spacing: .03em; }
.titan-mock { background: #111F35; border: 1px solid #23324A; border-radius: 6px; padding: 24px; color: #FFFFFF; }
.titan-mock .bar { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8A97A8; padding-bottom: 12px; border-bottom: 1px solid #23324A; }
.titan-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #23324A; }
.titan-row:last-child { border-bottom: 0; }
.titan-row p { font-weight: 600; font-size: 15px; }
.titan-row small { display: block; font-size: 12px; color: #8A97A8; font-weight: 400; }
.pill { flex: none; font-size: 11px; font-weight: 700; color: var(--titan-navy); padding: 5px 11px; border-radius: 20px; }
.pill--pending { background: #C8D1DC; } .pill--progress { background: #7CC4FF; } .pill--done { background: #8EE0B0; }
.titan-card { background: #0F1E34; border: 1px solid #1C2A40; padding: 30px; }
.titan-card .rule { display: block; width: 28px; height: 3px; background: var(--titan-blue); }
.titan-card .h3 { color: #FFFFFF; margin-top: 18px; }
.titan-card p { margin-top: 8px; color: #B8C3D1; font-size: 15px; }
.titan-flow { display: grid; grid-template-columns: 1fr; gap: 28px; }
.titan-step .n { width: 38px; height: 38px; border: 2px solid var(--titan-blue); display: flex; align-items: center; justify-content: center; font-family: "Michroma", sans-serif; font-size: 14px; }
.titan-step .h3 { color: #FFFFFF; margin-top: 16px; font-size: 18px; }
.titan-step p { margin-top: 6px; color: #B8C3D1; font-size: 15px; }
@media (min-width: 900px) { .titan-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.screen-frame { background: #111F35; border: 1px solid #23324A; border-radius: 8px; overflow: hidden; }
.screen-frame .chrome { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #0D192C; border-bottom: 1px solid #23324A; font-size: 11px; letter-spacing: .14em; color: #8A97A8; }
.screen-frame .chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--titan-gray); display: inline-block; }
.screen-frame .body { padding: 20px; min-height: 220px; }
.screen-frame figcaption, figure figcaption.cap { margin-top: 12px; font-size: 15px; font-weight: 600; color: #D5DDE7; }
.skel { height: 9px; background: #23324A; border-radius: 3px; margin-top: 10px; }
.skel-img { height: 70px; background: #1C2A40; }

/* ---------- Steps ---------- */
.route { display: grid; grid-template-columns: 1fr; gap: 32px; }
.route-step .dot-line { display: flex; align-items: center; gap: 12px; }
.route-step .dot { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pca); color: #FFFFFF; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.route-step .line { flex: 1; height: 2px; background: #C9D5E1; }
.route-step:last-child .line { display: none; }
.route-step .h3 { margin-top: 20px; }
.route-step p { margin-top: 8px; font-size: 15px; }
@media (min-width: 640px) { .route { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .route--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .route--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.standards { display: grid; grid-template-columns: 1fr; border: 1px solid rgba(255,255,255,.12); }
.standards > div { padding: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.standards .big { font-size: 30px; font-weight: 800; color: var(--sky); line-height: 1.15; margin-top: 12px; }
.standards p { color: var(--on-dark); font-size: 15px; margin-top: 10px; }
@media (min-width: 640px) { .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .standards > div { border-right: 1px solid rgba(255,255,255,.12); } }
@media (min-width: 1100px) { .standards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .standards > div { border-bottom: 0; } }

.numbered { display: grid; grid-template-columns: 1fr; gap: 0 40px; }
.numbered > div { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.numbered .n { flex: none; width: 40px; font-size: 22px; font-weight: 800; color: var(--pca); }
.numbered p { margin-top: 4px; font-size: 15px; }
@media (min-width: 800px) { .numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Case cards ---------- */
.case-card { background: var(--navy-card); padding: 30px; color: #FFFFFF; }
.case-card .h3 { color: #FFFFFF; font-size: 22px; margin-top: 12px; }
.case-card p.text { margin-top: 14px; font-size: 15px; color: var(--on-dark); }
.cases-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case-card { padding: 36px; } }

/* ---------- Services page rows ---------- */
.svc-row { display: flex; flex-wrap: wrap; gap: 20px 56px; }
.svc-row .num { flex: 0 0 auto; font-size: 48px; font-weight: 800; color: var(--pca); line-height: 1; }
.svc-row .copy { flex: 1 1 320px; }
.svc-row .chips { flex: 1.3 1 380px; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.chip { display: inline-block; border: 1px solid #C9D5E1; color: var(--navy); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: var(--radius); }
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip-nav a { display: inline-block; border: 1px solid rgba(255,255,255,.35); color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: var(--radius); }
.chip-nav a:hover { background: #FFFFFF; color: var(--navy); }
@media (min-width: 900px) { .svc-row .num { font-size: 56px; width: 96px; } }

/* ---------- Service detail blocks ---------- */
.detail-cols { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
.detail-cols p.body { margin-top: 10px; font-size: 16px; }
@media (min-width: 800px) { .detail-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.detail .num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--pca); }
.detail .h2 { font-size: clamp(24px, 2.8vw, 36px); margin-top: 10px; }
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; }
.related a { font-weight: 700; font-size: 17px; }

/* ---------- Offices / ports ---------- */
.office-grid { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--line); border: 2px solid var(--line); }
.office-grid > div { background: #FFFFFF; padding: 24px 26px; }
.office-grid p { margin-top: 6px; font-size: 15px; }
@media (min-width: 640px) { .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .office-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Timeline / leaders ---------- */
.year { font-size: clamp(48px, 6vw, 64px); font-weight: 800; color: var(--pca); line-height: 1; }
.timeline-item .rule { height: 2px; background: #C9D5E1; margin: 20px 0; }
.leader { background: #FFFFFF; border: 1px solid var(--line); padding: 30px; }
.leader .role { margin-top: 6px; font-weight: 600; color: var(--pca); }
.leader p.q { margin-top: 14px; font-size: 15px; }

/* ---------- Forms ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: #EEF2F6; border-radius: 4px; }
.tab { font: inherit; font-size: 16px; font-weight: 700; padding: 14px 24px; min-height: 48px; border: 0; border-radius: var(--radius); cursor: pointer; background: transparent; color: var(--navy); }
.tab[aria-selected="true"] { background: var(--pca); color: #FFFFFF; }
.form { display: grid; grid-template-columns: 1fr; gap: 20px 24px; }
.form .full { grid-column: 1 / -1; }
@media (min-width: 640px) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label, .field .legend-label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.req { color: var(--pca); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--carbon); background: #FFFFFF;
  border: 1px solid #A9B9C9; border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(79,163,227,.45); outline-offset: 0; border-color: var(--pca); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field .error { display: none; font-size: 13px; font-weight: 600; color: #B3261E; margin-top: 6px; }
.field.has-error .error { display: block; }
.file-drop { border: 1px dashed #8FA3B8; background: #F7F9FB; padding: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; }
.check label { font-size: 15px; line-height: 1.5; margin: 0; font-weight: 500; color: var(--carbon); }
.notice-short { font-size: 13px; line-height: 1.55; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.side-panel { background: var(--navy); color: #FFFFFF; padding: 32px; }
.side-panel .k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #B9D3EA; margin-top: 20px; }
.side-panel .v { margin-top: 6px; font-size: 16px; }
.urgent { margin-top: 24px; padding: 18px; background: var(--navy-card); border-left: 3px solid var(--sky); font-size: 15px; }
.side-panel ol { padding-left: 20px; color: var(--on-dark); font-size: 15px; }
.side-panel li + li { margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-item { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-item .k { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { margin-top: 8px; font-size: 18px; color: var(--navy); }
.map-box { position: relative; height: 340px; background: #DDE5EC; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Legal ---------- */
.legal-layout { display: flex; flex-wrap: wrap; gap: 40px; }
.legal-toc { flex: 1 1 220px; align-self: flex-start; }
.legal-toc ol { padding-left: 20px; font-size: 14px; line-height: 1.45; }
.legal-toc li + li { margin-top: 8px; }
.legal-toc a { text-decoration: none; }
.legal-body { flex: 3 1 520px; min-width: 0; }
.legal-body section { padding: 24px 0; border-top: 1px solid var(--line); }
.legal-body section p { margin-top: 10px; line-height: 1.75; }
.courtesy { padding: 16px 20px; background: #EEF2F6; border-left: 3px solid var(--pca); font-size: 15px; margin-bottom: 24px; }

/* ---------- Thank you ---------- */
.thanks-card { background: #FFFFFF; border-top: 4px solid var(--pca); padding: 40px; max-width: 760px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-2); font-size: 14px; line-height: 1.7; padding: 56px var(--pad) 36px; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-cols .name { color: #FFFFFF; font-weight: 700; }
.site-footer a { color: var(--sky); }
.site-footer a:hover { color: #FFFFFF; }
.footer-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; font-size: 13px; }
@media (min-width: 800px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Reveal on scroll (only when JS runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Links on dark backgrounds always use sky blue for contrast */
.bg-navy a:not(.btn), .bg-deep a:not(.btn), .side-panel a:not(.btn), .page-hero a:not(.btn) { color: var(--sky); }
.bg-navy a:not(.btn):hover, .bg-deep a:not(.btn):hover, .side-panel a:not(.btn):hover { color: #FFFFFF; }
.page-hero .breadcrumb a { color: #B9D3EA; }
/* TITAN blue (#0A7CFF) with white text meets contrast as large text, so its buttons use 19px */
.btn--titan { font-size: 19px; }
