/* ============================================================
   AKA Facility Services — site stylesheet
   Fonts: system stack (no external requests = fast loads)
   Palette: navy #16293e / steel #2b6ca3 / amber #f0a53c
   ============================================================ */

:root {
  --navy: #101c2e;
  --navy-deep: #000000;
  --steel: #2f6fc1;
  --steel-dark: #24569a;
  --amber: #3ec6da;
  --amber-dark: #27aec2;
  --ink: #22303f;
  --ink-soft: #52606f;
  --paper: #ffffff;
  --mist: #f3f6f9;
  --line: #dde4ea;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(14, 28, 44, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--steel); }
a:hover { color: var(--steel-dark); }

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  white-space: nowrap;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: #03222b;
}
.btn-primary:hover { background: var(--amber-dark); color: #03222b; }

.btn-secondary {
  background: var(--steel);
  color: #fff;
}
.btn-secondary:hover { background: var(--steel-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--steel-dark);
  border-color: var(--steel);
}
.btn-outline:hover { background: var(--steel); color: #fff; }

/* ---------- Header ---------- */

.site-header {
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}

.brand-mark {
  height: 54px;
  width: auto;
  display: block;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.02rem; }
.brand-text small {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8c6d4;
}

.site-nav { display: flex; gap: 16px; }
.site-nav a {
  color: #dbe5ee;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav .nav-call { display: none; }

.header-cta { display: flex; gap: 16px; align-items: center; }
.header-cta .btn { padding: 9px 16px; font-size: 0.92rem; }

.header-phone {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--amber); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: #fff;
  font-size: 1.2rem;
  padding: 4px 10px;
  cursor: pointer;
}

@media (max-width: 1280px) {
  .brand-text small { display: none; }
}

@media (max-width: 1120px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 14px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 24px; font-size: 1rem; }
  .site-nav .nav-call {
    display: block;
    color: var(--amber);
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 6px;
  }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}

@media (max-width: 540px) {
  .header-cta { display: none; }
  .brand-text strong { font-size: 0.95rem; }
  .brand-mark { height: 44px; }
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(62, 198, 218, 0.22), transparent 60%),
    linear-gradient(160deg, #000, #0d1b33 75%);
  color: #fff;
  padding: 72px 0 64px;
}

.hero h1 { color: #fff; max-width: 760px; }

.hero .lede {
  font-size: 1.18rem;
  color: #c9d6e2;
  max-width: 680px;
  margin-bottom: 1.6em;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  color: #c9d6e2;
  font-size: 0.93rem;
  font-weight: 600;
}
.hero-badges li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 800;
  margin-right: 7px;
}

/* Interior page hero (smaller) */
.hero.hero-sub { padding: 52px 0 44px; }

.breadcrumbs {
  font-size: 0.85rem;
  color: #9fb2c4;
  margin-bottom: 14px;
}
.breadcrumbs a { color: #c9d6e2; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */

.section { padding: 64px 0; }
.section.alt { background: var(--mist); }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head .kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--steel);
  margin-bottom: 8px;
}

/* ---------- Card grids ---------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--ink-soft); font-size: 0.97rem; flex-grow: 1; }

.card .card-link {
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}
.card .card-link::after { content: " →"; }

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--mist);
  color: var(--steel-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card .icon svg { width: 22px; height: 22px; }

.nav-toggle svg { display: block; }

/* ---------- Checklist / feature lists ---------- */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}
.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--steel);
  font-weight: 800;
}

.two-col {
  display: grid;
  gap: 44px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.steps li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-weight: 800;
  margin-bottom: 12px;
}
.steps strong { display: block; color: var(--navy); margin-bottom: 4px; }
.steps p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Reviews ---------- */

.reviews-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.review-card.featured {
  grid-column: 1 / -1;
  border-left: 4px solid var(--amber);
}

.stars {
  color: #efaf1b;
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.review-card blockquote {
  margin: 0 0 16px;
  color: var(--ink);
  flex-grow: 1;
}
.review-card.featured blockquote { font-size: 1.08rem; }

.review-meta { font-size: 0.92rem; }
.review-meta strong { color: var(--navy); display: block; }
.review-meta span { color: var(--ink-soft); }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, #0d1b33, #000);
  color: #fff;
  border-radius: 14px;
  padding: 44px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #c9d6e2; margin: 0; }
.cta-band .hero-actions { flex-shrink: 0; }

/* ---------- Gallery placeholders ---------- */

.gallery-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.gallery-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ph-pair { display: grid; grid-template-columns: 1fr 1fr; }

.ph {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8294a5;
  background:
    repeating-linear-gradient(45deg, #eef2f6, #eef2f6 14px, #e5ebf1 14px, #e5ebf1 28px);
}
.ph.after { background:
    repeating-linear-gradient(45deg, #e8f0e9, #e8f0e9 14px, #dfeae1 14px, #dfeae1 28px);
  color: #5d7a63;
}

.gallery-item figcaption {
  padding: 14px 18px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 34px;
  max-width: 720px;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}
label .req { color: #c0392b; }

input[type="text"], input[type="email"], input[type="tel"],
input[type="file"], select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--steel);
  outline-offset: 1px;
  border-color: var(--steel);
}
textarea { min-height: 120px; resize: vertical; }

.form-note { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #b8c6d4;
  padding: 56px 0 0;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b8c6d4; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-nap strong { color: #fff; display: block; margin-bottom: 6px; }
.footer-nap .tagline { font-size: 0.82rem; margin-bottom: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

/* ---------- Mobile call bar ---------- */

.call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--navy-deep);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
.call-bar .btn { flex: 1; padding: 12px 10px; font-size: 0.95rem; }

@media (max-width: 720px) {
  .call-bar { display: flex; }
  body { padding-bottom: 70px; }
}

/* ---------- Misc ---------- */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pill-list a, .pill-list li > span {
  display: inline-block;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--steel-dark);
}
.pill-list a:hover { background: var(--steel); color: #fff; border-color: var(--steel); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; }

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  padding: 0 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--steel);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 0 18px; color: var(--ink-soft); }
.faq-list details > div p:last-child { margin-bottom: 0; }

.notice {
  background: #fdf6ea;
  border: 1px solid #f0dcb4;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: #7a5b1e;
}
