/* Foundation First TX — mobile-first local-service styles */
:root {
  --navy: #0f2c4c;
  --navy-dark: #0a1f36;
  --teal: #1a6b6b;
  --teal-light: #e8f4f4;
  --sand: #f7f4ef;
  --cream: #fffdf9;
  --accent: #c45c26;
  --accent-hover: #a34a1c;
  --text: #1c2430;
  --muted: #5a6575;
  --border: #d8dde6;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(15, 44, 76, 0.08);
  --radius: 8px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Top bar / phone CTA */
.topbar {
  background: var(--navy-dark);
  color: #d0d8e4;
  font-size: 0.9rem;
  padding: 0.45rem 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a.phone-placeholder { opacity: 0.9; cursor: default; }
.topbar .brand-note { font-size: 0.8rem; color: #9aa8ba; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy), var(--teal));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-text span { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--sand);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--teal-light); }

.site-nav {
  width: 100%;
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--teal-light);
  color: var(--teal);
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #163a5c 55%, var(--teal) 100%);
  color: #fff;
  padding: 2.25rem 0 2.5rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero .lede {
  margin: 0 0 1.25rem;
  font-size: 1.08rem;
  max-width: 42rem;
  color: #e4ecf5;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.88rem;
  color: #c5d3e4;
  margin-top: 0.5rem;
}
.trust-strip span::before {
  content: "✓ ";
  color: #7dcea0;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; border-color: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-disabled,
a.btn-disabled {
  background: #6b7788;
  border-color: #6b7788;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.92;
  pointer-events: none;
}

/* Content */
main { padding-bottom: 2.5rem; }

.section {
  padding: 2.25rem 0;
}
.section-alt { background: var(--sand); }
.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.section h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.15rem;
  color: var(--navy);
}
.section p { margin: 0 0 1rem; }
.section ul, .section ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}
.section li { margin-bottom: 0.4rem; }

.prose { max-width: 48rem; }
.prose > :last-child { margin-bottom: 0; }

.notice {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
  font-size: 0.98rem;
}
.notice strong { color: var(--navy); }

.disclaimer-box {
  background: #fff8f0;
  border: 1px solid #f0d9c2;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 1.5rem 0 0;
}

/* Cards / grids */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.card p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.card a { font-weight: 700; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.area-grid .card { transition: border-color 0.15s, transform 0.15s; }
.area-grid .card:hover { border-color: var(--teal); transform: translateY(-2px); }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #e8eef6;
  padding: 2rem 0;
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.45rem;
}
.cta-band p { margin: 0 0 1.15rem; max-width: 36rem; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Map */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 1.25rem 0;
  aspect-ratio: 16 / 10;
  background: #e8eef2;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  max-width: 32rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 650;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  background: var(--cream);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Blog list */
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}
.blog-list li span.coming {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: #fff0e8;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 1rem 0 0;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 0.35rem; color: var(--border); }

/* Page hero (inner) */
.page-hero {
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0 1.75rem;
}
.page-hero h1 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.page-hero .lede {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #aeb9c9;
  padding: 2.25rem 0 1.5rem;
  font-size: 0.92rem;
}
.site-footer a { color: #d7e0eb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
}
.site-footer h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-brand strong { color: #fff; display: block; margin-bottom: 0.35rem; font-size: 1.05rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.15rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8a97a8;
}
.footer-legal p { margin: 0 0 0.5rem; }

/* Cost table */
.cost-table-wrap { overflow-x: auto; margin: 1.25rem 0; }
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cost-table th,
.cost-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.cost-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 650;
}
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Desktop */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    width: auto;
  }
  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.15rem;
    padding: 0;
  }
  .site-nav a { padding: 0.4rem 0.55rem; font-size: 0.9rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero { padding: 3rem 0 3.25rem; }
  .two-col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}

/* Website Landlord: prominent CallRail / phone CTA */
.phone-bar {
  background: #c45c26;
  color: #fff;
  text-align: center;
  padding: 0.65rem 1rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.phone-bar a {
  color: #fff;
  text-decoration: none;
}
.phone-bar .sub {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  opacity: 0.95;
  margin-top: 0.15rem;
}
.phone-inline {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.75rem 0 1rem;
}
.phone-inline a { color: var(--navy); text-decoration: none; border-bottom: 2px dashed var(--border); }
.sticky-call {
  display: none;
}
@media (max-width: 767px) {
  .sticky-call {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--accent);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
    text-align: center;
  }
  .sticky-call a {
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
  }
  .sticky-call .sub { display: block; font-size: 0.75rem; font-weight: 500; opacity: 0.95; }
  body { padding-bottom: 4.25rem; }
}

/* Slightly simpler cards for function-first look */
.card { box-shadow: none; }
.hero { background: var(--navy); }
