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

:root {
  --ink: #121417;
  --ink-soft: #2a3038;
  --muted: #4d5662;
  --paper: #f6f7f8;
  --surface: #ffffff;
  --line: #d5d9df;
  --accent: #1a3a52;
  --warn: #6b4f12;
  --warn-bg: #f3ecdc;
  --danger: #7a2222;
  --white: #ffffff;
  --hero-bg: #121820;
  --font-display: "IBM Plex Serif", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 68rem;
  --radius: 2px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

.page {
  overflow-x: clip;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  color: var(--white);
  isolation: isolate;
  min-height: clamp(20rem, 44vh, 27rem);
  background: var(--hero-bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--hero-bg);
  background-image:
    linear-gradient(105deg, rgba(10, 14, 20, 0.92) 0%, rgba(10, 14, 20, 0.78) 55%, rgba(10, 14, 20, 0.55) 100%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=2000&q=80");
  background-size: auto, 48px 48px, 48px 48px, cover;
  background-position: center;
}

.hero-content {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: clamp(2rem, 4.5vh, 2.75rem) 0;
  border-left: 3px solid #c5d0da;
  padding-left: clamp(1rem, 2vw, 1.5rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 0.65rem;
}

.hero-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  color: #d7dee6;
}

.hero-support {
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #e4e9ef;
  margin-bottom: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-primary {
  background: var(--white);
  color: var(--ink);
}

.btn-primary:hover {
  background: #e9eef3;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}

.main {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 1.75rem 0 3rem;
  display: grid;
  gap: 0;
  position: relative;
  z-index: 1;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 0.5rem;
}

.strip-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
}

.strip-item + .strip-item {
  border-left: 1px solid var(--line);
}

.strip-icon {
  color: var(--accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.strip-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

.contact-link:hover {
  border-bottom-color: var(--accent);
}

.block {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.block-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.block-lead {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 1.15rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.priority-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.priority-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.priority-index {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  padding-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.house-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.house-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.85rem 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 500;
}

.house-list li:nth-child(odd) {
  padding-right: 1.25rem;
}

.house-list li:nth-child(even) {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.house-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.schedule-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.schedule-cell {
  padding: 1rem 1rem;
}

.schedule-cell + .schedule-cell {
  border-left: 1px solid var(--line);
}

.schedule-day {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.schedule-time {
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.schedule-note {
  margin-top: 0.85rem;
  padding: 0.75rem 0.95rem;
  background: var(--warn-bg);
  border-left: 3px solid var(--warn);
  color: var(--warn);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  padding: 1.15rem 1.25rem 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.service:nth-child(odd) {
  padding-right: 1.5rem;
}

.service:nth-child(even) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.service-emergency .service-name,
.service-emergency .service-phone {
  color: var(--danger);
}

.service-name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.service-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 0.55rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}

.service-phone:hover {
  color: var(--accent);
}

.service-hours {
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.gis-list {
  display: grid;
  gap: 0;
  margin-bottom: 1.15rem;
  border-top: 1px solid var(--line);
}

.gis-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.gis-index {
  width: 1.7rem;
  height: 1.7rem;
  display: inline-grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.cta {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: 1.35rem 1.4rem;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}

.cta-text {
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
  color: #edf2f6;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--ink);
}

.footer {
  text-align: center;
  padding: 1.75rem 1.25rem 2.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .strip,
  .house-list,
  .schedule-row,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .strip-item + .strip-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .house-list li:nth-child(odd),
  .house-list li:nth-child(even),
  .service:nth-child(odd),
  .service:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .schedule-cell + .schedule-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 0;
  }

  .hero-content {
    width: min(100% - 1.5rem, var(--max));
    padding: 1.75rem 0 1.75rem 1rem;
  }

  .main {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero-brand {
    max-width: none;
  }

  body {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn {
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
