/* =========================================================
   Company Profile Portal — public site
   Petrol + brass, Spectral / Public Sans
   ========================================================= */
:root {
  --brand: #12343B;
  --brand-2: #1C4A52;
  --accent: #B08D57;
  --paper: #F6F7F5;
  --white: #FFFFFF;
  --stone: #E4E9E7;
  --stone-2: #D3DBD8;
  --text: #22292B;
  --muted: #5B6769;
  --success: #2F6F4E;
  --danger: #A23B2C;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 4px;
  --r-md: 10px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--brand); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 62ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--white { background: var(--white); }
.section--brand { background: var(--brand); color: #DCE5E3; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .5rem 0 0; color: var(--muted); max-width: 56ch; }
.section--brand .section-head p { color: #A9BDBA; }
.link-more { font-weight: 600; font-size: .95rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.link-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-more:hover .icon { transform: translateX(3px); }
.section--brand .link-more { color: #fff; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--sans); padding: 15px 24px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); color: #fff; }
.btn--accent { background: var(--accent); color: #1E1A12; }
.btn--accent:hover { background: #C29F69; color: #1E1A12; }
.btn--ghost { border-color: var(--stone-2); color: var(--brand); background: transparent; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--light:hover { border-color: #fff; color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .9rem; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 245, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--stone); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand); flex: none; }
.brand img { height: 40px; width: auto; }
.brand__mark { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: var(--accent); display: grid; place-items: center; font: 600 1rem/1 var(--serif); }
.brand__name { font: 600 1.2rem/1.1 var(--serif); letter-spacing: -0.01em; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; font-size: .95rem; font-weight: 500; color: var(--text); text-decoration: none; border-radius: var(--r-sm); }
.nav a:hover { color: var(--brand); background: var(--stone); }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--brand); cursor: pointer; }
.icon-btn:hover { background: var(--stone); }
.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); padding: 24px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; margin: 0; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font: 500 1.5rem/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--stone); border-radius: 0; color: var(--brand); }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------------- Search overlay ---------------- */
.search-panel { position: fixed; inset: 0; z-index: 80; background: rgba(18, 52, 59, .55); display: none; padding: 10vh var(--gutter) 0; }
.search-panel.is-open { display: block; }
.search-box { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 80px rgba(10, 30, 34, .35); }
.search-box form { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--stone); }
.search-box input { flex: 1; border: 0; font: 400 1.25rem/1 var(--sans); padding: 22px 0; outline: none; background: transparent; color: var(--text); }
.search-results { max-height: 60vh; overflow-y: auto; }
.search-results .group { padding: 12px 20px 4px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.search-results a { display: flex; gap: 14px; align-items: center; padding: 10px 20px; text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a.is-active { background: var(--paper); }
.search-results img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--r-sm); }
.search-results strong { display: block; font-weight: 600; color: var(--brand); }
.search-results span { font-size: .88rem; color: var(--muted); }
.search-empty { padding: 24px 20px; color: var(--muted); }

/* ---------------- Hero ---------------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__org { font-size: .95rem; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.hero__org::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 24px; max-width: 16ch; }
.hero__text { font-size: 1.2rem; color: var(--muted); max-width: 52ch; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 21 / 8; background: var(--stone); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.register { background: var(--brand); color: #DCE5E3; border-radius: var(--r-md); padding: 28px 28px 12px; position: relative; overflow: hidden; }
.register::after { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(176, 141, 87, .35); pointer-events: none; }
.register__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.register__head h2 { color: #fff; font-size: 1.35rem; margin: 0; }
.register__head span { font-size: .85rem; color: #A9BDBA; }
.register ul { list-style: none; margin: 0; padding: 0; }
.register li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.register a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; text-decoration: none; color: inherit; }
.register a:hover .register__name { color: var(--accent); }
.register__logo { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; overflow: hidden; font: 600 .95rem/1 var(--serif); color: var(--accent); }
.register__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
.register__name { font: 500 1.15rem/1.25 var(--serif); color: #fff; transition: color .2s; }
.register__meta { font-size: .85rem; color: #A9BDBA; }
.register .icon { width: 18px; height: 18px; color: var(--accent); }
.register__foot { display: block; padding: 14px 0; font-size: .9rem; color: #fff; border-top: 1px solid rgba(255,255,255,.12); }

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--stone-2); margin-top: clamp(40px, 6vw, 72px); }
.figure { padding: 26px 24px 28px 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid var(--stone-2); }
.figure strong { display: block; font: 500 clamp(2rem, 3.4vw, 2.8rem)/1 var(--serif); color: var(--brand); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.figure span { font-size: .95rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .figure { padding: 20px 16px 20px 0; }
  .figure + .figure { padding-left: 16px; }
}
@media (max-width: 560px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figure { border-top: 1px solid var(--stone-2); }
}

/* ---------------- Intro split ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split__media { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 66ch; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--brand); font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media { aspect-ratio: 16 / 10; } }

/* ---------------- Company cards ---------------- */
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.company-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s; }
.company-card:hover { border-color: var(--brand); color: inherit; }
.company-card__cover { aspect-ratio: 16 / 9; background: var(--stone); position: relative; }
.company-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.company-card__logo { position: absolute; left: 24px; bottom: -28px; width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 1px solid var(--stone); display: grid; place-items: center; overflow: hidden; }
.company-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.company-card__body { padding: 40px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.company-card h3 { margin-bottom: 6px; }
.company-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.company-card__meta { display: flex; gap: 16px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--stone); padding-top: 14px; margin-top: 8px; flex-wrap: wrap; }
.company-card__meta b { color: var(--text); font-weight: 600; }

/* ---------------- People ---------------- */
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px 24px; }
.person { text-decoration: none; color: inherit; display: block; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--stone); margin-bottom: 16px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.person:hover .person__photo img { transform: scale(1.03); }
.person h3 { font-size: 1.3rem; margin-bottom: 2px; }
.person__role { font-size: .95rem; color: var(--muted); margin: 0; }
.person__org { font-size: .85rem; color: var(--accent); margin-top: 4px; font-weight: 600; }
.section--brand .person h3 { color: #fff; }
.section--brand .person__role { color: #A9BDBA; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; }
.team-grid .person__photo { aspect-ratio: 1; }
.team-grid .person h3 { font-size: 1.1rem; }

.faces { display: flex; flex-wrap: wrap; gap: 0; }
.faces a { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 3px solid var(--white); margin-right: -14px; background: var(--stone); transition: transform .2s; position: relative; }
.faces a:hover { transform: translateY(-4px); z-index: 2; }
.faces img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Project cards ---------------- */
.projects-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.projects-feature__list { display: grid; gap: 24px; align-content: start; }
.project-card { display: block; text-decoration: none; color: inherit; }
.project-card__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-sm); background: var(--stone); margin-bottom: 16px; position: relative; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card__media img { transform: scale(1.03); }
.project-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.project-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.project-card--row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: start; }
.project-card--row .project-card__media { aspect-ratio: 4 / 3; margin: 0; }
.project-card--row h3 { font-size: 1.15rem; }
.project-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--stone); color: var(--brand); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--completed { background: #E2EFE7; color: var(--success); }
.badge--active { background: #E3ECF3; color: #285A80; }
.badge--upcoming { background: #F4ECDD; color: #8A6A33; }
.badge--maintenance { background: #EEE8F3; color: #5E4880; }
.badge--archived { background: var(--stone); color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 24px; }
@media (max-width: 900px) { .projects-feature { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .project-card--row { grid-template-columns: 110px 1fr; } }

/* ---------------- Services ---------------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); border-top: 1px solid var(--stone-2); }
.service { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--stone-2); text-decoration: none; color: inherit; display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.service:hover h3 { color: var(--accent); }
.service__icon { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--stone-2); display: grid; place-items: center; color: var(--brand); }
.service__icon .icon { width: 22px; height: 22px; }
.service h3 { font-size: 1.25rem; margin-bottom: 6px; transition: color .2s; }
.service p { margin: 0; color: var(--muted); font-size: .98rem; }
.service small { display: block; margin-top: 10px; color: var(--accent); font-weight: 600; font-size: .85rem; }
.section--brand .services, .section--brand .service { border-color: rgba(255,255,255,.14); }
.section--brand .service__icon { border-color: rgba(255,255,255,.25); color: var(--accent); }
.section--brand .service p { color: #A9BDBA; }

/* ---------------- Gallery ---------------- */
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; border-radius: var(--r-sm); overflow: hidden; background: var(--stone); position: relative; cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform .5s ease; }
.masonry figure:hover img { transform: scale(1.02); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; font-size: .88rem; color: #fff; background: linear-gradient(transparent, rgba(10, 30, 34, .7)); opacity: 0; transition: opacity .2s; }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; }
.masonry button { all: unset; display: block; cursor: zoom-in; }
.masonry button:focus-visible { outline: 3px solid var(--accent); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.album { text-decoration: none; color: inherit; }
.album__cover { aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--stone); margin-bottom: 12px; }
.album__cover img { width: 100%; height: 100%; object-fit: cover; }
.album h3 { font-size: 1.2rem; margin-bottom: 2px; }
.album span { font-size: .9rem; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 20, 23, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: var(--r-sm); }
.lightbox__caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #DCE5E3; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 60px 12px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 56px; transform: none; } }

/* ---------------- Timeline (real sequence: years) ---------------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; gap: 0; scrollbar-width: thin; padding-bottom: 8px; }
.timeline li { padding: 0 24px 0 0; position: relative; }
.timeline li::before { content: ""; display: block; height: 1px; background: rgba(255,255,255,.25); margin: 0 -24px 18px 0; }
.timeline li::after { content: ""; position: absolute; top: -5px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.timeline .year { font: 500 2rem/1 var(--serif); color: var(--accent); display: block; margin-bottom: 10px; }
.timeline h3 { font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.timeline p { font-size: .92rem; color: #A9BDBA; margin: 0; }

.year-block { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--stone-2); }
.year-block > h2 { font-size: 2.4rem; color: var(--accent); margin: 0; }
.achievement { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 0 0 24px; }
.achievement + .achievement { border-top: 1px solid var(--stone); padding-top: 24px; }
.achievement__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 1px solid var(--stone-2); display: grid; place-items: center; color: var(--brand); }
.achievement h3 { font-size: 1.2rem; margin-bottom: 4px; }
.achievement p { margin: 0; color: var(--muted); }
.achievement small { color: var(--accent); font-weight: 600; }
.achievement img { margin-top: 12px; max-width: 220px; border-radius: var(--r-sm); border: 1px solid var(--stone); }
@media (max-width: 640px) { .year-block { grid-template-columns: 1fr; gap: 12px; } }

/* ---------------- News ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 24px; }
.news-card { text-decoration: none; color: inherit; display: block; }
.news-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; background: var(--stone); margin-bottom: 14px; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card time { font-size: .88rem; color: var(--muted); }
.news-card h3 { font-size: 1.25rem; margin: 6px 0; }
.news-card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------------- Page header & detail pages ---------------- */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--stone); }
.page-head h1 { max-width: 20ch; margin-bottom: 14px; }
.page-head .lead { margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--stone-2); }

.cover { aspect-ratio: 21 / 8; border-radius: var(--r-sm); overflow: hidden; background: var(--stone); margin-top: 32px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .cover { aspect-ratio: 16 / 10; } }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.facts { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--stone); border-radius: var(--r-md); padding: 8px 24px; }
.facts dl { margin: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--stone); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .82rem; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 500; color: var(--text); }
.facts .btn { width: 100%; margin: 12px 0 16px; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .facts { position: static; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li, .chip { font-size: .88rem; padding: 6px 12px; border: 1px solid var(--stone-2); border-radius: 999px; background: var(--white); color: var(--text); text-decoration: none; }
a.chip:hover { border-color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.psr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--stone-2); margin: 40px 0; }
.psr > div { padding: 24px 24px 8px 0; }
.psr > div + div { padding-left: 24px; border-left: 1px solid var(--stone-2); }
.psr h3 { font-size: 1.15rem; color: var(--accent); margin-bottom: 10px; }
.psr p { font-size: .98rem; }
@media (max-width: 800px) { .psr { grid-template-columns: 1fr; } .psr > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--stone-2); } }

.milestones { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--stone-2); }
.milestones li { padding: 0 0 22px 24px; position: relative; }
.milestones li::before { content: ""; position: absolute; left: -6px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.milestones time { font-size: .85rem; color: var(--muted); display: block; }

.block { margin-top: 56px; }
.block > h2 { font-size: 1.6rem; margin-bottom: 20px; }
.video { aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }

.profile { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.profile__photo { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); position: sticky; top: calc(var(--header-h) + 24px); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile h1 { margin-bottom: 6px; }
.profile__role { font-size: 1.2rem; color: var(--muted); margin-bottom: 24px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--stone-2); display: grid; place-items: center; color: var(--brand); }
.socials a:hover { border-color: var(--brand); background: var(--white); }
.socials .icon { width: 18px; height: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--stone); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } .profile__photo { position: static; max-width: 420px; } }

.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--stone); font-size: .9rem; color: var(--muted); }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--stone-2); display: grid; place-items: center; color: var(--brand); background: transparent; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--brand); }
.share .icon { width: 17px; height: 17px; }

/* ---------------- Values / about ---------------- */
.statements { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--stone-2); }
.statements > div { padding: 32px 32px 32px 0; }
.statements > div + div { padding-left: 32px; border-left: 1px solid var(--stone-2); }
.statements p { font: 400 1.45rem/1.4 var(--serif); color: var(--brand); margin: 0; }
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.values h3 { font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.values p { color: #A9BDBA; margin: 0; }
@media (max-width: 760px) { .statements { grid-template-columns: 1fr; } .statements > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--stone-2); } }

/* ---------------- Filters ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--stone); }
.filters label { display: grid; gap: 6px; font-size: .82rem; color: var(--muted); }
.filters select, .filters input { font: 400 .98rem var(--sans); padding: 11px 14px; border: 1px solid var(--stone-2); border-radius: var(--r-sm); background: var(--white); color: var(--text); min-width: 170px; }
.filters input[type="search"] { min-width: 240px; }
.filters .filters__reset { font-size: .9rem; padding: 12px 4px; }
.result-count { color: var(--muted); font-size: .95rem; margin: -16px 0 28px; }

.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--stone-2); border-radius: var(--r-md); color: var(--muted); }
.empty h3 { margin-bottom: 8px; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--stone-2); border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-weight: 500; }
.pager a:hover { border-color: var(--brand); }
.pager .is-current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--stone); }
.contact-list .icon-wrap { width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--stone); display: grid; place-items: center; color: var(--brand); }
.contact-list small { display: block; font-size: .82rem; color: var(--muted); }
.contact-list a { color: var(--text); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.form-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--r-md); padding: clamp(24px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--text); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: 400 1rem/1.5 var(--sans); padding: 12px 14px; border: 1px solid var(--stone-2); border-radius: var(--r-sm); background: var(--paper); color: var(--text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(18, 52, 59, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; border-radius: var(--r-sm); margin-bottom: 20px; font-size: .98rem; }
.notice--success { background: #E2EFE7; color: #1F4A33; }
.notice--error { background: #F7E4E1; color: #6E2419; }
.map { margin-top: 24px; aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--stone); }
.map iframe { width: 100%; height: 100%; border: 0; }
.office-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.office { background: var(--white); border: 1px solid var(--stone); border-radius: var(--r-md); padding: 24px; }
.office h3 { font-size: 1.15rem; }
.office p { font-size: .95rem; color: var(--muted); margin: 0 0 6px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------------- CTA band ---------------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 8px; max-width: 22ch; }
.cta-band p { color: #A9BDBA; margin: 0; max-width: 56ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------------- Footer ---------------- */
.site-footer { background: #0E2A30; color: #A9BDBA; padding: 72px 0 28px; font-size: .95rem; }
.site-footer a { color: #DCE5E3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h2 { font: 600 .95rem/1.3 var(--sans); color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand__mark { background: var(--accent); color: #0E2A30; }
.site-footer .socials a { border-color: rgba(255,255,255,.2); color: #DCE5E3; }
.site-footer .socials a:hover { border-color: #fff; background: transparent; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------- Preview bar & misc ---------------- */
.preview-bar { background: var(--accent); color: #1E1A12; text-align: center; padding: 8px 16px; font-size: .9rem; font-weight: 600; }
.error-page { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.error-page .code { font: 500 clamp(4rem, 12vw, 8rem)/1 var(--serif); color: var(--stone-2); margin-bottom: 16px; }
.error-page p { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }

/* One orchestrated entrance: hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero__intro > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__intro > *:nth-child(2) { animation-delay: .06s; }
  .hero__intro > *:nth-child(3) { animation-delay: .12s; }
  .hero__intro > *:nth-child(4) { animation-delay: .18s; }
  .register { animation: rise .8s .2s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media print {
  .site-header, .site-footer, .share, .search-panel, .filters { display: none !important; }
  body { background: #fff; }
}
.statements h2 { font: 600 1rem/1.3 var(--sans); color: var(--accent); margin-bottom: 12px; letter-spacing: 0; }
