@font-face {
  font-family: 'Exo 2';
  src: url('exo-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'PT Sans';
  src: url('pt-regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'PT Sans';
  src: url('pt-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #14243a;
  --navy-deep: #101d30;
  --ink: #17283d;
  --muted: #4d5e72;
  --blue: #314f73;
  --ice: #f0f4f8;
  --line: #dbe3ec;
  --white: #fff;
  --yellow: #ffc300;
  --yellow-light: #ffd43a;
  --title: 'Exo 2', 'PT Sans', Arial, sans-serif;
  --body: 'PT Sans', Arial, sans-serif;
  --wide: 1272px;
  --gutter: clamp(22px, 5.5vw, 84px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 18px/1.5 var(--body); }
img { max-width: 100%; display: block; }
figure, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--title); font-weight: 700; }
h2 { font-size: clamp(35px, 4vw, 56px); line-height: 1.05; letter-spacing: -.039em; }
h3 { font-size: 27px; line-height: 1.16; letter-spacing: -.024em; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 3px solid #2c67a6; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .contact :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--wide)); margin-inline: auto; }
.icons { position: absolute; width: 0; height: 0; pointer-events: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: absolute; z-index: 10; inset: 8px auto auto 8px; transform: translateY(-160%); padding: 8px 14px; color: var(--navy); background: var(--yellow); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: var(--navy-deep); color: var(--white); border-bottom: 1px solid rgb(255 255 255 / 12%); }
.header-inner { display: flex; align-items: center; gap: 30px; justify-content: space-between; min-height: 81px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: clamp(184px, 19vw, 258px); height: auto; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.35vw, 34px); font-size: 16px; color: #e4ebf4; }
.site-nav a, .site-footer nav a { transition: color .15s; }
.site-nav a:hover, .site-footer nav a:hover { color: var(--yellow); }
.header-phone { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: var(--white); font-weight: 700; font-size: 18px; }
.header-phone svg, .contact-phone svg { width: 17px; height: 17px; color: var(--yellow); }
.header-phone:hover { color: var(--yellow); }
.menu-toggle { display: none; }

.hero {
  color: var(--white);
  background: radial-gradient(ellipse at 84% 42%, #314761, transparent 58%), linear-gradient(105deg, #14243a, #1d314b);
  padding: 54px 0 60px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(32px, 4.15vw, 68px); align-items: center; }
.hero-copy { padding: 12px 0; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: .125em; text-transform: uppercase; color: var(--blue); }
.eyebrow > span { width: 24px; height: 3px; background: var(--yellow); border-radius: 2px; flex: none; }
.eyebrow-light { color: #dbe7f3; }
.hero h1 { font-size: clamp(47px, 4.75vw, 72px); line-height: 1.01; letter-spacing: -.041em; text-wrap: balance; }
.hero-lead { max-width: 480px; margin-top: 24px; color: #dbe5f1; font-size: clamp(19px, 1.65vw, 23px); line-height: 1.42; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 31px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 5px; border: 1px solid transparent; font-size: 17px; font-weight: 700; line-height: 1.18; text-align: center; transition: background .16s, border-color .16s, color .16s; }
.button svg { width: 19px; height: 19px; }
.button-primary { background: var(--yellow); color: var(--navy-deep); }
.button-primary:hover { background: var(--yellow-light); }
.button-outline { color: var(--white); border-color: #6f8198; }
.button-outline:hover { background: rgb(255 255 255 / 10%); border-color: #b7c7da; }
.hero-photo { position: relative; overflow: hidden; align-self: stretch; min-height: 389px; border-radius: 7px; isolation: isolate; background: #263c56; border: 1px solid rgb(255 255 255 / 20%); }
.hero-photo > img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: center 49%; position: absolute; inset: 0; }
.hero-photo::after { content: ''; position: absolute; z-index: 1; inset: auto 0 0; height: 29%; background: linear-gradient(transparent, rgb(10 22 37 / 63%)); pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 2; bottom: 19px; left: 19px; right: 19px; color: var(--white); font-size: 14px; }
.hero-photo figcaption a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 4px; background: rgb(16 29 48 / 89%); }
.hero-photo figcaption a:hover { color: var(--yellow); }
.hero-photo figcaption svg { width: 15px; height: 15px; }
.photo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex: none; }

.section { padding-block: clamp(58px, 6.15vw, 94px); }
.routes, .projects { background: var(--ice); }
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 29px; }
.route-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 19px; padding: clamp(23px, 2.5vw, 35px); border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.route-number { width: 43px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 4px; background: var(--yellow); color: var(--navy-deep); font-family: var(--title); font-size: 16px; }
.route-number-blue { background: #e7eef7; color: var(--blue); }
.route-card p { margin: 10px 0 15px; color: var(--muted); }
.route-sub-links { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 13px; font-size: 16px; color: var(--blue); }
.route-sub-links a { text-decoration: underline; text-underline-offset: 4px; }
.route-sub-links a:hover { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; line-height: 1.25; }
.text-link svg, .project-more svg { width: 18px; height: 18px; transition: transform .17s; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover svg, .project-card:hover .project-more svg { transform: translateX(3px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.section-heading > p { max-width: 345px; color: var(--muted); line-height: 1.45; }
.service-grid, .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; gap: 19px; padding: 25px 24px 27px; border: 1px solid var(--line); border-radius: 7px; transition: background .16s, border-color .16s; }
.service-card:hover { background: #f5f8fb; border-color: #a1b1c3; }
.service-card p { margin-top: 9px; color: var(--muted); line-height: 1.42; }
.service-icon { width: 48px; height: 48px; color: var(--blue); stroke-width: 1.6; }
.icon-accent { stroke: #b37900; }
.card-arrow { position: absolute; top: 21px; right: 21px; color: var(--blue); width: 21px; height: 21px; }
.portfolio-link { min-height: 44px; white-space: nowrap; }
.project-card { display: flex; min-width: 0; flex-direction: column; background: var(--white); border-radius: 7px; border: 1px solid var(--line); overflow: hidden; transition: border-color .17s; }
.project-card:hover { border-color: #8fa3ba; }
.project-card figure { aspect-ratio: 4 / 3; overflow: hidden; background: #d9e2ea; }
.project-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.project-card:first-child img { object-position: center 54%; }
.project-card:nth-child(3) img { object-fit: contain; }
.project-content { display: flex; flex: 1; flex-direction: column; padding: 22px 23px 23px; }
.project-type { margin-bottom: 6px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.project-content p:not(.project-type) { margin: 10px 0 17px; color: var(--muted); line-height: 1.42; }
.project-more { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; color: var(--blue); font-weight: 700; font-size: 16px; }

.contact { background: var(--navy); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 30px clamp(38px, 7vw, 105px); }
.contact-intro { max-width: 486px; margin-top: 17px; color: #d7e3f0; font-size: 20px; }
.contact-actions { display: grid; justify-items: start; gap: 10px; }
.contact-actions .button { margin-bottom: 6px; }
.contact-email { color: #dfe9f4; text-decoration: underline; text-underline-offset: 4px; }
.contact-phone { display: inline-flex; gap: 8px; align-items: center; font-size: 21px; font-weight: 700; }
.contact-phone:hover, .contact-email:hover { color: var(--yellow); }
.contact-terms { grid-column: 1 / -1; border-top: 1px solid #435670; padding-top: 17px; color: #cbd7e6; font-size: 14px; }
.site-footer { background: var(--navy-deep); color: #d9e4f1; }
.footer-inner { display: flex; gap: 22px; align-items: center; justify-content: space-between; min-height: 93px; padding-block: 15px; }
.site-footer .brand img { width: 208px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; }
.footer-name { color: #bbccdf; font-size: 15px; }

@media (max-width: 1120px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 16px; }
  .header-phone { font-size: 16px; }
  .hero { padding-block: 43px 49px; }
  .hero-photo { min-height: 362px; }
}
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; gap: 12px 20px; min-height: 72px; padding-block: 14px; }
  .site-nav { order: 4; width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .has-menu .site-nav { display: none; }
  .has-menu .site-nav.is-open { display: flex; }
  .site-nav a { padding-block: 8px; }
  .menu-toggle { display: inline-flex; gap: 8px; align-items: center; padding: 8px 10px; min-height: 42px; border: 1px solid #6e8095; border-radius: 4px; background: transparent; color: var(--white); font-size: 15px; cursor: pointer; }
  .menu-icon { display: grid; gap: 4px; }
  .menu-icon i { width: 14px; height: 1.5px; background: currentColor; }
  .header-phone { margin-left: auto; order: 2; }
  .menu-toggle { order: 3; }
  .hero-grid { gap: 23px; }
  .hero h1 { font-size: clamp(39px, 5.3vw, 56px); }
  .hero-actions { align-items: flex-start; gap: 10px; }
  .hero-photo { min-height: 330px; }
  .service-card, .project-content { padding-inline: 17px; }
  .service-card h3, .project-card h3 { font-size: 23px; }
}
@media (max-width: 740px) {
  .hero { padding-block: 33px 35px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-copy { padding: 0; }
  .hero h1 { text-wrap: initial; max-width: 550px; font-size: clamp(38px, 7.9vw, 55px); }
  .hero-lead { margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-photo { aspect-ratio: 4 / 3; min-height: 0; max-height: 405px; }
  .hero-photo figcaption { bottom: 12px; left: 12px; right: 12px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 13px; }
  .route-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .service-card { display: grid; grid-template-columns: auto minmax(0, 1fr); padding: 18px 43px 18px 16px; gap: 14px; align-items: center; }
  .service-card p { margin-top: 4px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-link { margin-top: 7px; }
  .contact-break { display: none; }
  .footer-inner { flex-wrap: wrap; gap: 14px 22px; }
}
@media (max-width: 510px) {
  .header-inner { gap: 7px; }
  .brand img { width: clamp(127px, 41vw, 180px); }
  .header-phone { justify-content: center; width: 38px; height: 42px; border: 1px solid #6e8095; border-radius: 4px; }
  .header-phone span { display: none; }
  .menu-toggle { padding-inline: 8px; gap: 6px; }
  .site-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
  .has-menu .site-nav.is-open { display: grid; }
  .hero-actions { align-items: stretch; }
  .hero-actions > a { flex: 1 1 145px; padding-inline: 8px; gap: 6px; font-size: 15px; }
  .hero-actions > a > svg { width: 16px; height: 16px; }
  .hero h1 { letter-spacing: -.038em; }
  .hero-photo figcaption { font-size: 13px; }
  .eyebrow { font-size: 12px; letter-spacing: .09em; }
  .route-grid, .project-grid { grid-template-columns: minmax(0, 1fr); }
  .route-card { padding: 19px 17px; gap: 13px; }
  .route-number { width: 35px; font-size: 14px; }
  .route-card h3 { font-size: 24px; }
  .contact-actions .button { width: 100%; }
  .footer-inner nav { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
