/* layout.css — header / footer / sections / hero (professional service site) */

/* ===== EMERGENCY BAR (above header) ===== */
.emerg-bar {
  background: var(--bg-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
}

.emerg-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--emerg-bar-h);
  flex-wrap: wrap;
}

.emerg-bar__left,
.emerg-bar__right {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  font-weight: 500;
}

.emerg-bar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: rgba(255, 255, 255, 0.78);
}

.emerg-bar__item .icon {
  width: 14px;
  height: 14px;
  color: var(--acc);
}

.emerg-bar a {
  color: #fff;
  font-weight: 600;
}

.emerg-bar a:hover { color: var(--acc); }

@media (max-width: 640px) {
  .emerg-bar__right { display: none; }
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 10px rgba(15, 41, 66, 0.04);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover { color: var(--primary); }

.brand__logo {
  width: 56px;
  height: 56px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.brand__logo--inv {
  background: #fff;
  border-radius: var(--r-md);
  padding: 4px;
}

.brand__name { display: flex; flex-direction: column; line-height: 1.15; gap: 2px; }
.brand__name-main { font-size: 1.125rem; font-weight: 700; }
.brand__name-sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
}

/* Nav */
.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: var(--s-2) var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--bg-soft);
  color: var(--primary);
}

/* Header phone CTA — big, orange, hard to miss */
.header-cta {
  display: none;
  align-items: center;
  gap: var(--s-3);
}

.header-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
  background: var(--acc);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-body);
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.header-cta__phone:hover {
  background: var(--acc-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.header-cta__phone:active { transform: translateY(0); }

.header-cta__phone .icon {
  width: 18px;
  height: 18px;
}

.header-cta__phone .num {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Mobile menu toggle */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
}

.menu-toggle:hover { background: var(--bg-soft); }

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform var(--t-med) var(--ease);
  z-index: 40;
  overflow-y: auto;
  padding: var(--s-4);
}

.mobile-menu[data-open="true"] { transform: translateY(0); }

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-3);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-md);
}

.mobile-menu__list a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

.mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  margin-top: var(--s-4);
  background: var(--acc);
  color: #fff;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.mobile-menu__phone .lbl {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
}

.mobile-menu__phone .num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 2px;
}

.mobile-menu__phone .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (min-width: 980px) {
  .site-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* ===== MAIN ===== */
main { display: block; }

/* ===== SECTIONS ===== */
.section {
  padding-block: var(--s-16);
}

.section--tight { padding-block: var(--s-10); }
.section--loose { padding-block: var(--s-24); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: rgba(255, 255, 255, 0.85); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: #fff; }
.section--dark a:hover { color: var(--acc); }
.section--dark .text-muted { color: rgba(255, 255, 255, 0.65); }
.section--dark .eyebrow { color: var(--acc); }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-10);
  max-width: var(--max-w-narrow);
}

.section__head--center {
  text-align: center;
  margin-inline: auto;
}

.section__head .eyebrow { margin-bottom: var(--s-1); }

.section__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  max-width: 24ch;
}

.section__head--center .section__title { margin-inline: auto; }

.section__lede {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-snug);
  color: var(--text-muted);
  max-width: 56ch;
}

.section__head--center .section__lede { margin-inline: auto; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding-block: var(--s-12) var(--s-16);
  background:
    radial-gradient(1100px 600px at 100% 0%, rgba(27, 58, 92, 0.08), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(234, 88, 12, 0.05), transparent 50%),
    var(--bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
  align-items: center;
}

.hero__copy { display: flex; flex-direction: column; gap: var(--s-4); }

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
}

.hero__title em {
  font-style: normal;
  color: var(--primary);
  position: relative;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.2em;
  background: rgba(234, 88, 12, 0.18);
  border-radius: 2px;
  z-index: -1;
}

.hero__lede {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-snug);
  color: var(--text);
  max-width: 50ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.hero__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-top: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}

.hero__trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--text);
}

.hero__trust-item .icon {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero__trust-item strong {
  color: var(--ink);
  display: block;
  font-weight: 600;
  margin-bottom: 1px;
}

.hero__trust-item span {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

/* Hero visual card (right side) */
.hero__visual {
  position: relative;
}

.hero__card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.hero__card-header {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}

.hero__card-pulse {
  width: 12px;
  height: 12px;
  background: var(--success);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.hero__card-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--success);
  opacity: 0.4;
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero__card-header h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.hero__card-header span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.hero__call {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-3);
}

.hero__call-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: var(--tr-widest);
  text-transform: uppercase;
  font-weight: 600;
}

.hero__call-num {
  font-family: var(--font-mono);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.hero__call-num:hover { color: var(--acc); }

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.hero__metric {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.hero__metric dt {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  font-weight: 600;
}

.hero__metric dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.hero__photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
  margin-bottom: var(--s-4);
  box-shadow: var(--shadow-lg);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero { padding-block: var(--s-16) var(--s-20); }
  .hero__grid {
    grid-template-columns: 0.95fr 1.4fr;
    gap: var(--s-10);
  }
  .hero__trust { grid-template-columns: 1fr 1fr; }
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  padding-block: var(--s-6);
}

.trust-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-sm);
}

.trust-strip__item .icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-strip__item strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: var(--fs-body);
  margin-bottom: 1px;
}

.trust-strip__item span {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  line-height: 1.4;
}

@media (min-width: 720px) {
  .trust-strip__inner { grid-template-columns: repeat(4, 1fr); }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding-block: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}

.breadcrumbs a {
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumbs a:hover { color: var(--acc); }

.breadcrumbs__sep {
  color: var(--line-strong);
}

.breadcrumbs__current { color: var(--ink); font-weight: 500; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: #fff;
  padding-block: var(--s-16);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
}

.cta-section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 22ch;
}

.cta-section__sub {
  margin-top: var(--s-3);
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 50ch;
}

.cta-section__action {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.cta-section__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-5) var(--s-6);
  background: var(--acc);
  color: #fff;
  font-family: var(--font-mono);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  letter-spacing: -0.01em;
  width: fit-content;
}

.cta-section__phone:hover {
  background: var(--acc-hover);
  transform: translateY(-1px);
  color: #fff;
}

.cta-section__phone .icon {
  width: 28px;
  height: 28px;
}

.cta-section__hours {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}

.cta-section__hours strong { color: #fff; font-weight: 600; }

@media (min-width: 760px) {
  .cta-section__inner {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.75);
  padding-block: var(--s-12) var(--s-6);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover { color: var(--acc); }

.footer__top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 32ch;
}

.footer__brand-row {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}

.footer__brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.footer__brand p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}

.footer__col h3 {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: var(--tr-widest);
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.footer__col li {
  font-size: var(--fs-sm);
}

.footer__contact dl {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin: 0;
}

.footer__contact dt {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: var(--tr-widest);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.footer__contact dd {
  margin: 0;
  font-size: var(--fs-sm);
  color: #fff;
}

.footer__contact dd a { font-weight: 500; }

.footer__phone {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-6) var(--gutter) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-10); }
  .footer__cols { display: contents; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
