/* BLXtreme — site styles. Plain CSS, no build step.
   Brand colors come from the BLXtreme logo system sheet. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --blx-blue: #0004ff;
  --blx-blue-hover: #0003c4;
  --steel: #a9aeb5;
  --graphite: #22262d;
  --deep-blue: #00026a;
  --navy: #0b1224;
  --paper: #f3f4f6;
  --white: #ffffff;
  --muted: #565c66;
  --line: #d9dce1;
  --steel-grad: linear-gradient(115deg, #e9ebee 0%, #b9bec5 28%, #8a9099 52%, #d4d7dc 70%, #6b717a 100%);

  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --max: 1180px;
  --r-sm: 4px;
  --r-md: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--graphite);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blx-blue); text-underline-offset: 3px; }
a:hover { color: var(--blx-blue-hover); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; margin: 0 0 .45em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.55rem; line-height: 1.1; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blx-blue); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em;
  padding: .72em 1.35em; border-radius: var(--r-sm); border: 2px solid transparent;
  text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-blue { background: var(--blx-blue); color: var(--white); }
.btn-blue:hover { background: var(--blx-blue-hover); color: var(--white); }
.btn-line { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-line:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-white { background: var(--white); color: var(--deep-blue); }
.btn-white:hover { background: #e4e6ff; color: var(--deep-blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.brand { display: block; flex: none; }
.brand img { height: 70px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 14px; border-radius: var(--r-sm);
  font-family: var(--head); font-weight: 600; font-size: 1.2rem;
  color: var(--graphite); text-decoration: none;
}
.nav a:hover { background: var(--paper); color: var(--graphite); }
.nav a[aria-current="page"] { color: var(--blx-blue); }
.header-call { font-size: 1.1rem; padding: .55em 1em; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--graphite); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

/* Hero: navy panel + photo split by a brushed-steel diagonal (echoes the logo's X) */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0 47%; background: var(--steel-grad); clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; clip-path: polygon(calc(16% + 18px) 0, 100% 0, 100% 100%, 18px 100%); }
.hero .wrap { position: relative; }
.hero-copy { max-width: 500px; padding: 104px 0 112px; }
.hero h1 { margin-bottom: .35em; }
.hero p { font-size: 1.2rem; color: #cfd5e2; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 26px; font-size: .98rem; color: #9aa3b5; }
.hero-note strong { color: var(--white); font-weight: 600; }

/* Name change notice */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; align-items: center; gap: 22px; padding-top: 22px; padding-bottom: 22px; }
.trust-mark { flex: none; width: 6px; align-self: stretch; border-radius: 3px; background: var(--steel-grad); }
.trust p { margin: 0; font-size: 1.08rem; }
.trust strong { font-weight: 600; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 48px; }

/* Services list (home) */
.svc-layout { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 64px; align-items: start; }
.svc-layout .section-head { position: sticky; top: 130px; margin: 0; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list a {
  display: grid; grid-template-columns: 132px 1fr auto; gap: 24px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--graphite);
}
.svc-list img { width: 132px; height: 96px; object-fit: cover; border-radius: var(--r-sm); }
.svc-list h3 { margin: 0 0 .2em; font-size: 1.6rem; }
.svc-list p { margin: 0; color: var(--muted); font-size: 1rem; }
.svc-list svg { width: 22px; height: 22px; color: var(--steel); transition: color .15s, transform .15s; }
.svc-list a:hover h3 { color: var(--blx-blue); }
.svc-list a:hover svg { color: var(--blx-blue); transform: translateX(3px); }

/* Timeline (real sequence) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 2px; background: var(--steel-grad); }
.timeline li { position: relative; padding: 40px 28px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 3px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 5px solid var(--blx-blue); }
.timeline .when { display: block; font-family: var(--head); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--deep-blue); margin-bottom: 8px; }
.timeline h3 { font-size: 1.3rem; margin-bottom: .3em; }
.timeline p { color: var(--muted); font-size: 1rem; margin: 0; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.photo { border-radius: var(--r-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.caption { font-size: .95rem; color: var(--muted); margin-top: 10px; }
.checks { list-style: none; margin: 0 0 1.2em; padding: 0; }
.checks li { position: relative; padding: 7px 0 7px 32px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 16px; width: 13px; height: 7px;
  border-left: 3px solid var(--blx-blue); border-bottom: 3px solid var(--blx-blue); transform: rotate(-45deg);
}

/* Services page detail rows */
.svc-detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.svc-detail:first-child { padding-top: 0; }
.svc-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-detail:nth-child(even) .svc-img { order: 2; }
.svc-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }

/* Jump links on services page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { padding: 7px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .98rem; }
.jump a:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .3; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--steel-grad); }
.page-hero .wrap { position: relative; padding-top: 80px; padding-bottom: 72px; }
.page-hero p { font-size: 1.2rem; color: #cfd5e2; max-width: 36em; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--navy); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .2s; }
.gallery a:hover img { opacity: .82; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(6, 9, 20, .92); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--r-sm); }
.lightbox-bar { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.lightbox button { border: 0; border-radius: var(--r-sm); background: var(--white); color: var(--graphite); font-family: var(--head); font-weight: 700; font-size: 1.05rem; padding: .5em 1.1em; cursor: pointer; }

/* Callout (about page) */
.callout {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 40px 44px; position: relative; overflow: hidden;
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--steel-grad); }
.callout h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.callout .lede { margin: 0; }
.callout-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-outline { border-color: var(--blx-blue); color: var(--blx-blue); background: var(--white); }
.btn-outline:hover { background: var(--blx-blue); color: var(--white); }

/* Call band */
.call-band { background: var(--deep-blue); color: var(--white); position: relative; overflow: hidden; }
.call-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.call-band h2 { margin-bottom: .2em; }
.call-band p { margin: 0; color: #c9ccf2; font-size: 1.15rem; }
.call-band .big-phone { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--white); text-decoration: none; margin-bottom: 14px; text-align: right; }
.call-band .big-phone:hover { color: #dfe0ff; }
.call-actions { display: flex; flex-direction: column; align-items: flex-end; }
.call-actions .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 36px; }
.contact-card h2 { font-size: 1.7rem; }
.contact-phone { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--blx-blue); text-decoration: none; margin: 4px 0 20px; }
.contact-rows { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-rows li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-rows svg { width: 22px; height: 22px; color: var(--deep-blue); margin-top: 3px; }
.contact-rows .label { display: block; font-size: .92rem; color: var(--muted); }
.contact-rows a { font-weight: 600; word-break: break-word; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-blue); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.steps strong { display: block; font-weight: 600; }
.steps span { color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #aab2c3; font-size: 1rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr; gap: 48px; padding-top: 64px; padding-bottom: 44px; }
.footer-logo img { height: 80px; width: auto; }
.site-footer h3 { color: var(--white); font-size: 1.25rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #e3e7ef; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-phone { display: block; font-family: var(--head); font-weight: 700; font-size: 1.9rem; color: var(--white) !important; line-height: 1.1; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 24px; font-size: .9rem; color: #7f889b; }

.call-bar { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .header-call { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; margin: 0; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 6px 16px 14px; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--blx-blue); padding-left: 16px; }

  .hero-media { position: relative; inset: auto; height: 300px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px)); }
  .hero-media img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 52px)); }
  .hero-copy { padding: 36px 0 64px; max-width: none; }
  .svc-layout, .split, .svc-detail, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-layout .section-head { position: static; }
  .split.flip > :first-child, .svc-detail:nth-child(even) .svc-img { order: 0; }
  .timeline { grid-template-columns: 1fr; row-gap: 32px; }
  .timeline::before { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .call-band .wrap { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; padding: 28px 24px 28px 30px; }
  .callout-actions { flex-direction: row; flex-wrap: wrap; }
  .call-actions { align-items: flex-start; }
  .call-band .big-phone { text-align: left; }
  .call-actions .row { justify-content: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { padding-bottom: 64px; }
  .header-inner { min-height: 68px; }
  .brand img { height: 52px; }
  .hero-media { height: 230px; }
  .section { padding: 64px 0; }
  .trust .wrap { align-items: flex-start; }
  .svc-list a { grid-template-columns: 92px 1fr; gap: 16px; }
  .svc-list img { width: 92px; height: 72px; }
  .svc-list svg { display: none; }
  .svc-list h3 { font-size: 1.35rem; }
  .timeline { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-card { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 60px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--blx-blue); color: var(--white); text-decoration: none;
    font-family: var(--head); font-weight: 700; font-size: 1.3rem;
    box-shadow: 0 -4px 14px rgba(0,0,0,.18);
  }
  .call-bar svg { width: 22px; height: 22px; }
  .call-bar:hover { color: var(--white); background: var(--blx-blue-hover); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
