/* Layout - containers, header, footer, grids, page shells (dark navy) */

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 2.5rem, var(--container-wide));
  margin-inline: auto;
}

/* -- Site header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(22, 26, 31, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 100px;
  width: auto;
  max-height: calc(var(--header-h) - 1rem);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  padding: var(--space-2) 0.65rem;
  border-radius: var(--radius-control);
}
.nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--color-ink); }
.nav a.is-active {
  color: var(--color-cyan);
  background: rgba(0, 255, 209, 0.08);
}

.nav__cta {
  margin-left: var(--space-2);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-control);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--color-ink);
  margin: 4px 0;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-3);
    box-shadow: var(--shadow-med);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: var(--space-3) var(--space-4); }
  .nav__cta { margin: var(--space-2) 0 0; }
}

/* -- Footer -- bright cyan/blue band like pre-redesign -- */
.site-footer {
  margin-top: var(--space-9);
  border-top: none;
  background: linear-gradient(135deg, rgba(0, 255, 209, 0.92) 0%, rgba(0, 136, 255, 0.92) 100%);
  padding: var(--space-8) 0 var(--space-6);
  color: #121416;
}
.site-footer .footer-brand__tag,
.site-footer .phone-link,
.site-footer .footer-nav a,
.site-footer .footer-meta,
.site-footer .footer-socials a,
.site-footer h4,
.site-footer .muted,
.site-footer .small {
  color: #121416 !important;
}
.site-footer .footer-quote {
  color: rgba(18, 20, 22, 0.78);
  border-top-color: rgba(18, 20, 22, 0.18);
}
.site-footer .footer-quote cite {
  color: #121416;
  font-weight: 650;
}
.site-footer .footer-meta {
  border-top-color: rgba(18, 20, 22, 0.18);
}
.site-footer .footer-nav a:hover,
.site-footer .phone-link:hover,
.site-footer .footer-socials a:hover {
  color: #000 !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

.footer-brand__tag {
  font-weight: 650;
  margin-bottom: var(--space-2);
}

.footer-quote {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-style: italic;
  font-weight: 450;
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 28em;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.footer-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: var(--space-2);
  color: var(--color-muted);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li { margin-bottom: var(--space-2); }
.footer-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 550;
  font-size: var(--text-sm);
}
.footer-nav a:hover { color: var(--color-cyan); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}
.footer-socials a {
  color: var(--color-muted);
  text-decoration: none;
}
.footer-socials a:hover { color: var(--color-cyan); }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-ink);
  font-weight: 650;
  text-decoration: none;
}
.phone-link:hover { color: var(--color-cyan); }

/* -- Page sections -- Zoho-like breathing room -- */
.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }

.section--surface {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.section--band-alt {
  background: #14181c;
  border-block: 1px solid var(--color-border);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: end;
  margin-bottom: var(--space-7);
}
.section-head--stack {
  grid-template-columns: 1fr;
  max-width: 40rem;
  align-items: start;
}
@media (max-width: 700px) {
  .section-head { grid-template-columns: 1fr; }
}

/* Asymmetric split */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-7);
  align-items: center;
}
.split--flip { grid-template-columns: 0.85fr 1.15fr; }
@media (max-width: 800px) {
  .split, .split--flip { grid-template-columns: 1fr; }
}

.page-hero {
  padding: var(--space-8) 0 var(--space-7);
}
.page-hero h1 { max-width: 16ch; }

.logo-horizontal { height: 100px; width: auto; max-height: calc(var(--header-h) - 1rem); }
.home-hero__mark {
  justify-self: end;
  width: min(280px, 100%);
  opacity: 0.92;
  filter: drop-shadow(0 12px 28px rgba(0, 136, 255, 0.18));
}
.section--gradient {
  background: var(--gradient-brand);
  border-block: none;
  color: #0E1114;
}
.section--gradient h1,
.section--gradient h2,
.section--gradient h3,
.section--gradient h4,
.section--gradient .service-row__label {
  color: #0E1114;
}
.section--gradient .muted,
.section--gradient .service-row p,
.section--gradient .lede {
  color: rgba(14, 17, 20, 0.78);
}
.section--gradient .eyebrow {
  color: #0E1114;
  opacity: 0.75;
}
.section--gradient .service-row,
.section--gradient .service-row:first-child {
  border-color: rgba(14, 17, 20, 0.18);
}
.section--gradient .rule-accent {
  background: linear-gradient(90deg, #0E1114, rgba(14, 17, 20, 0.35));
}


