@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  --red: #ed1b24;
  --red-dark: #c4121a;
  --black: #231f20;
  --black-2: #2c2829;
  --silver: #bcbdc1;
  --silver-dark: #8e8f93;
  --paper: #f4f4f5;
  --card: #ffffff;
  --ink: #231f20;
  --muted: #64656a;
  --line: #dcdde0;
  --line-dark: rgba(188, 189, 193, 0.2);
  --green: #2ea25f;
  --radius: 10px;
  --max: 1160px;
  --header-h: 92px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 1000;
  background: var(--red); color: #fff; padding: 8px 12px;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand-logo { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.005em; }
.brand-text span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 0.88rem; font-weight: 700; }
.nav a:hover { color: var(--red); }
.nav .nav-phone { font-weight: 600; color: var(--muted); padding-left: 26px; border-left: 1px solid var(--line); }
.nav .nav-phone:hover { color: var(--ink); }
.nav-cta {
  background: var(--red); color: #fff !important;
  padding: 11px 18px; border-radius: 6px; white-space: nowrap;
  transition: background-color .15s;
}
.nav-cta:hover { background: var(--red-dark); }

.menu-toggle {
  display: none;
  border: 1px solid var(--line); background: #fff; border-radius: 6px;
  padding: 9px 14px; cursor: pointer;
  font: inherit; font-size: 0.85rem; font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-size: 0.95rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 6px; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { color: #fff; border-color: rgba(188, 189, 193, 0.45); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { color: var(--ink); border-color: var(--silver); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }

/* Shared */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
}
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--red); }

section { padding: clamp(64px, 9vw, 96px) 0; }

.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-head > p:not(.kicker) { color: var(--muted); font-weight: 500; font-size: 1.02rem; }

/* Hero */
.hero {
  background: var(--black);
  color: #fff;
  border-bottom: 4px solid var(--red);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px) 0;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.035em;
  max-width: 14ch; margin-bottom: 22px;
}
.hero .lede { font-size: 1.1rem; font-weight: 500; max-width: 46ch; color: rgba(255, 255, 255, 0.76); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-panel {
  background: var(--black-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-panel h2 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--silver-dark); }
.status.is-open .status-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(46, 162, 95, 0.25); }
.status.is-closed .status-dot { background: var(--red); }

.stat-list { display: grid; }
.stat-list li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.stat-list strong { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; }
.stat-list li > span { color: rgba(255, 255, 255, 0.66); font-size: 0.92rem; padding-left: 20px; }

.panel-phone {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line-dark);
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; text-decoration: none;
}
.panel-phone span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }
.panel-phone:hover { color: var(--red); }

.node { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.node-red { background: var(--red); }
.node-silver { background: var(--silver); }
.node-black { background: #0e0c0d; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); }
.card-red { --accent: var(--red); }
.card-silver { --accent: var(--silver); }
.card-black { --accent: var(--black); }
.card-node { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); margin-bottom: 20px; }
.card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 8px; }
.card > p { color: var(--muted); font-weight: 500; margin-bottom: 20px; }
.card li { padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.94rem; }

/* About */
.about { background: var(--black); color: #fff; }
.about .section-head { margin-bottom: 24px; }
.about .section-head > p:not(.kicker), .about .muted { color: rgba(255, 255, 255, 0.68); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.about-copy p { max-width: 58ch; }
.about-copy p + p { margin-top: 16px; font-size: 0.92rem; }
.coverage-title { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); margin-bottom: 14px; }
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--black-2); border: 1px solid var(--line-dark); border-radius: 8px;
  padding: 13px 16px; font-weight: 700;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why h3 { font-size: 1.04rem; font-weight: 800; margin-bottom: 8px; }
.why h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin-bottom: 14px; }
.why p { color: var(--muted); font-weight: 500; font-size: 0.95rem; }

/* Contact */
.contact { background: #fff; border-top: 1px solid var(--line); }
.contact-split { align-items: start; }
.contact .section-head { margin-bottom: 0; }
.contact .hero-actions { margin-top: 28px; }
.contact-card {
  font-style: normal;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 28px;
}
.detail { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 18px 0; }
.detail + .detail { border-top: 1px solid var(--line); }
.detail dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.detail dd { font-weight: 500; }
.detail a { color: var(--red); font-weight: 800; text-decoration: none; }
.detail a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--black); color: var(--silver); padding: 26px 0; font-size: 0.88rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.site-footer a { color: #fff; font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--red); }

/* 404 */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; align-content: center; justify-items: start; padding-block: 64px; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 16px; }
.notfound p:not(.kicker) { color: var(--muted); font-weight: 500; max-width: 46ch; margin-bottom: 32px; }

/* Responsive */
@media (max-width: 1060px) {
  .nav .nav-phone { display: none; }
  .why { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .brand-logo { width: 48px; height: 48px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .nav-phone { display: block; padding-left: 0; border-left: 0; color: var(--ink); }
  .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0 !important; padding: 14px 18px !important; }

  .hero-grid, .cards, .split { grid-template-columns: 1fr; }
  .hero-grid { padding: 0; }
  .hero { padding: 48px 0 56px; }
}

@media (max-width: 560px) {
  .brand-text strong { font-size: 0.85rem; }
  .brand-text span { font-size: 0.62rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .why, .coverage { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; gap: 2px; }
}
