/* =====================================================================
   TayantPay Technologies — corporate design system
   Navy + brand amber on white. Flat surfaces, rules, photography.
   ===================================================================== */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --navy-3: #1C4380;
  --navy-deep: #071A33;
  --amber: #F39200;
  --amber-dark: #C97700;
  --amber-tint: #FFF4E3;
  --ink: #16202E;
  --text: #3A4657;
  --muted: #6B7684;
  --line: #DDE2E8;
  --line-2: #C9D0D8;
  --bg: #FFFFFF;
  --bg-2: #F4F6F8;
  --bg-3: #E9EDF1;
  --ok: #1E7F4F;
  --ok-tint: #E4F3EA;
  --warn: #A9600B;
  --warn-tint: #FBEEDB;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1220px;
  --gutter: clamp(18px, 4vw, 32px);
  --section: clamp(60px, 7vw, 96px);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; }
address { font-style: normal; }
.ico { width: 1.05em; height: 1.05em; flex: none; vertical-align: -.16em; }
.ico--chev { width: .85em; height: .85em; margin-left: .3em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; z-index: 1000; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--grey { background: var(--bg-2); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.kicker { font-family: var(--display); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-dark); margin: 0 0 12px; }
.section--navy .kicker { color: var(--amber); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section--navy .section-head p { color: rgba(255, 255, 255, .72); }
.section-head .more { flex: none; white-space: nowrap; }
@media (max-width: 720px) { .section-head { flex-direction: column; align-items: flex-start; gap: 12px; } }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 64ch; }

.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--navy); }
.more .ico { color: var(--amber); transition: transform .2s; }
.more:hover .ico { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: .92rem;
  padding: 12px 22px; border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: var(--amber-dark); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; }
.utility { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 20px; }
.utility__tag { margin: 0; white-space: nowrap; }
.utility__links { display: flex; gap: 22px; }
.utility__links a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.utility__links a:hover { color: #fff; }
.utility__links .ico { color: var(--amber); }
@media (max-width: 900px) { .utility__tag { display: none; } .utility__links { width: 100%; justify-content: space-between; gap: 12px; } .utility__links li:nth-child(3), .utility__links li:nth-child(4) { display: none; } }

.masthead { border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled .masthead { box-shadow: 0 6px 20px -14px rgba(11, 37, 69, .35); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.02em; color: var(--navy); }
.brand__sub { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__sub { color: rgba(255, 255, 255, .6); }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; }
.nav__list > li > a { display: inline-flex; align-items: center; padding: 10px 13px; font-family: var(--display); font-weight: 500; font-size: .95rem; color: var(--ink); border-bottom: 2px solid transparent; }
.nav__list > li > a:hover, .nav__list > li > a.is-active { color: var(--navy); border-bottom-color: var(--amber); }
.menu {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--amber);
  box-shadow: 0 18px 40px -18px rgba(11, 37, 69, .35); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .18s, visibility 0s .18s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu--wide { width: 720px; left: 50%; transform: translate(-50%, 6px); }
.has-menu:hover .menu--wide, .has-menu:focus-within .menu--wide { transform: translate(-50%, 0); }
.menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu__link { display: block; padding: 10px 12px; font-size: .95rem; color: var(--ink); border-radius: var(--radius); }
.menu__link:hover { background: var(--bg-2); color: var(--navy); }
.menu__item { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--radius); align-items: flex-start; }
.menu__item:hover { background: var(--bg-2); }
.menu__item svg { width: 22px; height: 22px; color: var(--amber-dark); flex: none; margin-top: 2px; }
.menu__item b { display: block; font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--ink); }
.menu__item small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.menu__all { display: flex; align-items: center; gap: 8px; margin: 6px 4px 2px; padding: 10px 12px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--navy); }
.menu__all .ico { color: var(--amber); }

.masthead__actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: flex; }
  .masthead__actions .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 120px); overflow: auto; box-shadow: 0 24px 40px -20px rgba(11, 37, 69, .4); }
  body.nav-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav__list > li > a { display: flex; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__list > li > a.is-active { border-bottom-color: var(--line); color: var(--amber-dark); }
  .menu, .menu--wide { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px 12px; }
  .menu__cols { grid-template-columns: 1fr; }
  .menu__item small { display: none; }
  .menu__all { display: none; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 560px; background: var(--navy); color: #fff; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 72px) clamp(48px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.hero .kicker { color: var(--amber); }
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: 20px; }
.hero__lede { font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 52ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .9rem; color: rgba(255, 255, 255, .7); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .ico { color: var(--amber); }
.hero__media { position: relative; overflow: hidden; min-height: 360px; background: var(--navy-2); }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy); color: #fff; font-family: var(--display); font-size: .82rem; font-weight: 500; padding: 10px 16px; border-left: 3px solid var(--amber); }
.hero__dots { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 6px; }
.hero__dots button { width: 26px; height: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; }
.hero__dots button.is-on { background: var(--amber); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; min-height: 0; } .hero__copy { padding: 44px var(--gutter); } .hero__media { min-height: 280px; order: -1; } }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; }
.stat { padding: 26px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--display); font-weight: 700; font-size: 2.2rem; color: var(--navy); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat__num span { color: var(--amber); }
.stat__label { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .tiles, .tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiles, .tiles--4, .tiles--2 { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: var(--navy); box-shadow: 0 14px 30px -20px rgba(11, 37, 69, .45); }
.tile__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover .tile__media img { transform: scale(1.03); }
.tile__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tile__body h3 { margin: 0; font-size: 1.12rem; }
.tile__body p { margin: 0; font-size: .95rem; color: var(--muted); }
.tile__more { margin-top: auto; padding-top: 10px; }

/* icon list */
.iconlist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 28px; }
.iconlist--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .iconlist, .iconlist--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .iconlist, .iconlist--3 { grid-template-columns: 1fr; } }
.iconlist__item { display: flex; gap: 14px; align-items: flex-start; padding-top: 18px; border-top: 2px solid var(--line); }
.iconlist__item svg { width: 26px; height: 26px; color: var(--amber-dark); flex: none; margin-top: 2px; }
.iconlist__item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.iconlist__item p { margin: 0; font-size: .93rem; color: var(--muted); }
.section--navy .iconlist__item { border-top-color: rgba(255, 255, 255, .18); }
.section--navy .iconlist__item svg { color: var(--amber); }
.section--navy .iconlist__item p { color: rgba(255, 255, 255, .7); }
a.iconlist__item:hover h3 { color: var(--amber-dark); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 10px; margin: 18px 0; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
@media (max-width: 700px) { .checklist--2 { grid-template-columns: 1fr; } }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; }
.checklist .ico { color: var(--amber-dark); margin-top: 6px; width: .9em; height: .9em; }
.section--navy .checklist .ico { color: var(--amber); }

/* ---------- Projects ---------- */
.project { display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--line); background: #fff; overflow: hidden; transition: border-color .2s; }
.project:hover { border-color: var(--navy); }
.project + .project { margin-top: 18px; }
.project__media { aspect-ratio: 4 / 3; overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding: 26px 30px; display: flex; flex-direction: column; gap: 8px; }
.project__client { font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-dark); }
.project__body h3 { margin: 0; font-size: 1.25rem; }
.project__body p { margin: 0; color: var(--muted); }
.project__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: .82rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text); font-size: .8rem; }
.chip--done { border-color: var(--ok); color: var(--ok); background: var(--ok-tint); }
.chip--live { border-color: var(--amber-dark); color: var(--amber-dark); background: var(--amber-tint); }
@media (max-width: 760px) { .project { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */
.marks { display: flex; flex-wrap: wrap; gap: 12px; }
.mark { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 12px 22px; border: 1px solid var(--line); background: #fff; font-family: var(--display); font-weight: 700; font-size: .98rem; letter-spacing: .02em; color: #55606E; text-transform: uppercase; }
.partner-group { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); align-items: center; }
.partner-group:last-of-type { border-bottom: 1px solid var(--line); }
.partner-group h3 { margin: 0; font-size: 1rem; color: var(--navy); }
@media (max-width: 760px) { .partner-group { grid-template-columns: 1fr; gap: 12px; } }
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.client { padding: 22px 24px; border: 1px solid var(--line); background: #fff; }
.client b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--navy); }
.client span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .clients { grid-template-columns: 1fr; } }

/* ---------- Page head (inner pages) ---------- */
.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0; }
.page-head--image { padding: 0; background: var(--navy); color: #fff; border: 0; }
.page-head__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.page-head__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px) clamp(40px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.page-head--image h1 { color: #fff; }
.page-head--image .lede { color: rgba(255, 255, 255, .78); }
.page-head--image .kicker { color: var(--amber); }
.page-head__media { overflow: hidden; min-height: 260px; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-head__grid { grid-template-columns: 1fr; } .page-head__copy { padding: 40px var(--gutter); } .page-head__media { order: -1; max-height: 300px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.page-head--image .crumbs { color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--amber-dark); }
.page-head--image .crumbs a:hover { color: #fff; }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin: 0; }

/* ---------- Detail page blocks ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--amber); }
.fact b { display: block; font-family: var(--display); font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.fact span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr !important; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a.chip:hover { border-color: var(--navy); color: var(--navy); }
.aside-box { background: var(--bg-2); border: 1px solid var(--line); padding: 24px 26px; }
.aside-box h3 { font-size: 1rem; margin-bottom: 12px; }
.aside-box ul { display: grid; gap: 0; }
.aside-box li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
.aside-box li:last-child a { border-bottom: 0; }
.aside-box li a:hover { color: var(--amber-dark); }
.aside-box .ico { color: var(--amber); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber-dark); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--text); max-width: 70ch; }
.faq a { color: var(--navy); font-weight: 600; }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--amber); line-height: 1; }
.numbered b { display: block; font-family: var(--display); color: var(--ink); margin-bottom: 4px; }
.numbered span { color: var(--muted); font-size: .95rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
table.data th, table.data td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--display); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); font-weight: 600; }
table.data tr:last-child td { border-bottom: 0; }
table.data td b { display: block; font-family: var(--display); font-weight: 600; color: var(--ink); }
table.data td small { color: var(--muted); }
table.data code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; background: var(--bg-2); padding: 2px 6px; }
.dl { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.dl .ico { color: var(--amber); }
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cert { display: block; border: 1px solid var(--line); background: #fff; }
.cert:hover { border-color: var(--navy); }
.cert img { aspect-ratio: 1 / 1.35; object-fit: cover; object-position: top; width: 100%; }
.cert span { display: block; padding: 10px 12px; font-family: var(--display); font-size: .82rem; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.gallery figcaption { font-size: .88rem; color: var(--muted); padding-top: 8px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info { background: var(--navy); color: #fff; padding: 32px; }
.info h3 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.info ul { display: grid; gap: 18px; }
.info li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.info .ico { color: var(--amber); width: 20px; height: 20px; margin-top: 3px; }
.info b { display: block; font-family: var(--display); font-size: .9rem; }
.info span, .info a { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.info a:hover { color: #fff; }
.form { border: 1px solid var(--line); background: #fff; padding: clamp(24px, 3vw, 36px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--display); font-weight: 600; font-size: .86rem; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 37, 69, .12); }
.field textarea { min-height: 150px; resize: vertical; }
.form__note { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.form__status { margin-top: 14px; padding: 12px 14px; font-size: .95rem; display: none; border-radius: var(--radius); }
.form__status.ok { display: block; background: var(--ok-tint); color: var(--ok); }
.form__status.err { display: block; background: #FDE8E8; color: #9B1C1C; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.map { border: 1px solid var(--line); aspect-ratio: 16 / 6; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- CTA + footer ---------- */
.cta { background: var(--navy-2); color: #fff; padding: clamp(44px, 5vw, 64px) 0; border-top: 4px solid var(--amber); }
.cta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cta h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta p { margin: 0; color: rgba(255, 255, 255, .75); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } .cta__actions { justify-content: flex-start; } }
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 60px 0 28px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__about p { margin: 18px 0 16px; max-width: 42ch; }
.footer__about address { line-height: 1.7; }
.footer__about a:hover { color: #fff; }
.footer__col h3 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 9px; }
.footer__col a:hover { color: var(--amber); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 18px; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose a { color: var(--navy); font-weight: 600; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .yr { font-family: var(--display); font-weight: 700; color: var(--amber-dark); }
.timeline b { display: block; color: var(--ink); font-family: var(--display); }
.timeline span { color: var(--muted); font-size: .95rem; }
.big-404 { font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); color: var(--bg-3); line-height: 1; }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } .tile__media img { transition: none; } }
