/* Blackwater Facilities Group */
:root {
  --navy: #011332;
  --navy-2: #0a2250;
  --blue: #185CAC;
  --blue-light: #e8f0fa;
  --aqua: #4fb3e6;
  --ink: #16213a;
  --muted: #56617a;
  --line: #dde3ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(1, 19, 50, 0.08);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #cfd8ea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--aqua); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(24, 92, 172, .35); }
.btn--primary:hover { background: #134d92; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--navy); color: #b9c6de; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.brand-name small { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; padding: 10px 14px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--blue-light); }
.nav .btn { color: #fff; padding: 11px 20px; margin-left: 8px; }
.nav .btn:hover { background: #134d92; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .nav a { display: block; padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .topbar .hide-xs { display: none; }
  .contact-list a { word-break: break-all; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #cfd8ea;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(79,179,230,.25), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(24,92,172,.45), transparent 60%),
    var(--navy);
  padding: 96px 0 104px;
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: #c3cfe6; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 28px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011332' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; }
.page-hero { padding: 72px 0 80px; }
.page-hero h1 { max-width: 22ch; }
.crumbs { font-size: .88rem; margin-bottom: 14px; color: #93a4c4; }
.crumbs a { color: #c3cfe6; text-decoration: none; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 64px 0 88px; }
}

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 60px 0; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--blue-light); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.service-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-card .art { height: 190px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: grid; place-items: center; color: rgba(255,255,255,.9); }
.service-card .art svg { width: 84px; height: 84px; }
.service-card .art.grounds { background: linear-gradient(135deg, #0a2a3a, #1f7a8c); }
.service-card .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.service-card ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.panel { background: var(--bg-soft); border-radius: 20px; padding: 36px; border: 1px solid var(--line); }
.panel .ticks li::before { background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.section--navy .step p { color: #b9c6de; }

/* Tags / areas */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; color: var(--navy); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--navy-2)); color: #d7e3f5;
  border-radius: 24px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 52ch; }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; } }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(24,92,172,.12); }
.form textarea { min-height: 140px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; margin: 0; }
.checks input { width: auto; accent-color: var(--blue); }
.form .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.hidden { display: none; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-list .icon { margin: 0; width: 44px; height: 44px; flex: none; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { text-decoration: none; font-weight: 600; }

/* Footer */
.footer { background: var(--navy); color: #9fb0cf; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #d4ddef; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-name small { color: var(--aqua); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 -4px 20px rgba(1,19,50,.15); }
  .callbar a { padding: 15px; text-align: center; font-weight: 700; text-decoration: none; color: #fff; background: var(--navy); }
  .callbar a + a { background: var(--blue); }
  body { padding-bottom: 54px; }
}

.split > *, .grid > * { min-width: 0; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
