/* HABS LLC - site styles */
:root {
  --navy: #0A192F;
  --navy-2: #112240;
  --cyan: #00B4D8;
  --cyan-dark: #0090AD;
  --slate: #4A5568;
  --slate-light: #E2E8F0;
  --bg-soft: #F5F8FB;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 25, 47, .08);
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan-dark); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #C5D1E0; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 12px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--cyan); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.lead { font-size: 1.15rem; }

.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--navy);
  padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--slate-light);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); color: var(--cyan-dark); }
.nav a[aria-current="page"] { color: var(--cyan-dark); }
.nav .btn { color: var(--navy); margin-left: 8px; }
.nav .btn:hover { background: var(--navy); color: var(--white); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--slate-light); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: 13px 24px; border-radius: 10px; border: 2px solid transparent;
  background: var(--cyan); color: var(--navy); transition: .2s; font-family: inherit;
}
.btn:hover { background: var(--white); color: var(--navy); transform: translateY(-1px); }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--cyan-dark); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #C5D1E0;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(0, 180, 216, .25), transparent 60%), var(--navy);
  padding: 96px 0 104px;
}
.hero h1 { color: var(--white); max-width: 820px; }
.hero .lead { max-width: 680px; color: #C5D1E0; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(0, 180, 216, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom left, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom left, #000, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero--page { padding: 72px 0 80px; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--slate-light); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--navy);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card--dark { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.card--dark p { color: #AEBCCF; }
.card ul, .check-list { padding: 0; margin: 0; list-style: none; }
.card li, .check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.card li::before, .check-list li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 7px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg) translateY(-50%);
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-size: 2.4rem; color: var(--cyan); line-height: 1.1; }
.stat span { font-size: .95rem; color: #AEBCCF; }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.panel {
  background: var(--navy); border-radius: var(--radius); padding: 34px; color: #C5D1E0; box-shadow: var(--shadow);
}
.panel h3 { color: var(--white); }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(0, 180, 216, .12); color: var(--cyan-dark); padding: 4px 10px; border-radius: 99px; margin-bottom: 14px;
}
.callout {
  border-left: 4px solid var(--cyan); background: var(--bg-soft); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0;
}

/* Service rows */
.service {
  display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--slate-light);
}
.service:last-child { border-bottom: 0; }
.service .num { font-size: 2rem; font-weight: 800; color: var(--cyan); line-height: 1; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 600; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--navy); background: var(--white);
  border: 1px solid #CBD5E0; border-radius: 10px; padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, .nav-toggle:focus-visible {
  outline: 3px solid rgba(0, 180, 216, .45); outline-offset: 2px; border-color: var(--cyan);
}
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #E6F7FB; color: #035B6F; }
.form-status.err { display: block; background: #FDECEC; color: #8A1C1C; }
.schedule-box {
  border: 2px dashed #CBD5E0; border-radius: var(--radius); min-height: 420px;
  display: grid; place-items: center; text-align: center; padding: 30px; background: var(--bg-soft);
}
.calendly-inline-widget { min-width: 280px; height: 700px; }

/* Footer */
.site-footer { background: var(--navy); color: #AEBCCF; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer a { color: #AEBCCF; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer address { font-style: normal; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem;
}

/* Responsive */
@media (max-width: 960px) {
  .grid--3, .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .grid--2 { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--slate-light); padding: 12px 20px 20px;
    display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 72px; }
  .grid--3, .stats, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .btn-row .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
