:root {
  --oak-navy: #264057;
  --oak-navy-dark: #162a3c;
  --oak-slate: #5b7c99;
  --oak-paper: #f4f7fa;
  --oak-ink: #111827;
  --oak-text: #374151;
  --oak-muted: #64748b;
  --oak-line: #cbd5e1;
  --oak-accent: #c99042;
  --oak-accent-dark: #8a5a1e;
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--oak-paper);
  color: var(--oak-text);
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 0;
}

h1,
h2,
h3,
h4,
.brand-text {
  font-family: var(--font-heading);
  color: var(--oak-ink);
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(32px, 8vw, 68px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.08;
}

h3,
h4 {
  font-size: 22px;
  line-height: 1.25;
}

p,
li,
a,
button,
input,
textarea {
  font-size: 16px;
}

.site-header {
  background: rgba(22, 42, 60, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  min-height: 74px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, #f8fafc, #dbeafe);
  display: grid;
  place-items: center;
}

.brand-icon svg {
  width: 28px;
  height: 28px;
}

.brand-text {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.desktop-nav {
  display: none !important;
}

.desktop-header-phone {
  display: none !important;
}

.mobile-menu-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-button span,
.mobile-menu-button span::before,
.mobile-menu-button span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  position: relative;
  content: "";
}

.mobile-menu-button span::before {
  position: absolute;
  top: -7px;
}

.mobile-menu-button span::after {
  position: absolute;
  top: 7px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--oak-navy-dark);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a,
.desktop-nav a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.desktop-nav a::after,
.link-ink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--oak-accent);
  transition: width 220ms ease;
}

.desktop-nav a:hover::after,
.link-ink:hover::after {
  width: 100%;
}

.btn-primary,
.btn-outline,
.mobile-menu-phone,
.sticky-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  border: 2px solid transparent;
  padding: 0.8rem 1.15rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.btn-primary {
  color: #ffffff;
  background: var(--oak-accent-dark);
  border-color: var(--oak-accent);
  box-shadow: 8px 8px 0 rgba(17, 24, 39, 0.28);
}

.btn-primary:hover {
  color: #ffffff;
  background: #6f4313;
  transform: translate(-2px, -2px);
}

.btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  color: var(--oak-ink);
  background: #ffffff;
}

.mobile-menu-phone {
  color: #ffffff;
  background: var(--oak-accent-dark);
  border-color: var(--oak-accent);
  width: 100%;
}

.hero-section {
  min-height: calc(100vh - 74px);
  position: relative;
  overflow: hidden;
  background: #162a3c;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(12, 25, 38, 0.94) 0%, rgba(22, 42, 60, 0.82) 45%, rgba(22, 42, 60, 0.42) 100%), url("../images/hero-technician.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: cinematicPan 18s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1,
.hero-section h2,
.hero-section h3 {
  color: #ffffff;
}

.stars {
  color: #f7bd4b;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.rating-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.rating-icons img {
  width: auto;
  height: 45px;
  max-width: 112px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  padding: 0.25rem 0.45rem;
}

.hero-benefits {
  background: rgba(244, 247, 250, 0.88);
  color: var(--oak-text);
  border: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  box-shadow: 14px 14px 0 rgba(201, 144, 66, 0.28);
}

.hero-benefits h2,
.hero-benefits h3,
.hero-benefits strong {
  color: var(--oak-ink);
}

.sticker-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--oak-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 0.45rem 0.85rem;
  box-shadow: -7px 7px 0 rgba(91, 124, 153, 0.22);
}

.paper-section {
  background: var(--oak-paper);
  background-image: linear-gradient(rgba(91, 124, 153, 0.08) 1px, transparent 1px);
  background-size: 100% 34px;
}

.section-accent {
  width: 78px;
  height: 5px;
  background: var(--oak-accent);
  box-shadow: 10px 0 0 var(--oak-navy);
  margin-top: 1rem;
}

.notebook-card {
  background: #ffffff;
  color: var(--oak-text);
  border: 2px solid var(--oak-navy);
  outline: 1px solid rgba(38, 64, 87, 0.38);
  outline-offset: -8px;
  box-shadow: 10px 10px 0 rgba(38, 64, 87, 0.12);
}

.notebook-card h3,
.notebook-card h4,
.notebook-card strong {
  color: var(--oak-ink);
}

.enamel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 2px solid var(--oak-navy);
  background: #ffffff;
  color: var(--oak-navy-dark);
  font-weight: 800;
  padding: 0.55rem 0.85rem;
  box-shadow: 4px 4px 0 rgba(201, 144, 66, 0.4);
}

.two-col-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.image-frame {
  border: 8px solid #ffffff;
  outline: 2px solid var(--oak-navy);
  box-shadow: 14px 14px 0 rgba(38, 64, 87, 0.16);
  width: 100%;
  object-fit: cover;
  min-height: 260px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  position: relative;
  min-height: 100%;
}

.service-card::before {
  content: attr(data-number);
  position: absolute;
  right: 1rem;
  top: 0.7rem;
  color: rgba(38, 64, 87, 0.18);
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--oak-paper);
  border: 2px solid var(--oak-navy);
  color: var(--oak-navy);
}

.icon-box svg {
  width: 32px;
  height: 32px;
}

.dark-band {
  background: var(--oak-navy-dark);
  color: #ffffff;
}

.dark-band h2,
.dark-band h3,
.dark-band strong {
  color: #ffffff;
}

.dark-band .notebook-card {
  background: #ffffff;
  color: var(--oak-text);
}

.dark-band .notebook-card h3,
.dark-band .notebook-card strong {
  color: var(--oak-ink);
}

.process-step {
  border-left: 6px solid var(--oak-accent);
}

.review-track {
  display: flex;
  transition: transform 360ms ease;
}

.review-slide {
  min-width: 100%;
  padding: 0.55rem;
}

.map-frame iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.city-chip,
.zip-chip {
  display: inline-flex;
  margin: 0.25rem;
  padding: 0.45rem 0.7rem;
  background: #ffffff;
  border: 1px solid var(--oak-line);
  color: var(--oak-ink);
  font-weight: 700;
}

.site-footer {
  background: #0f1f2d;
  color: #dbe7f1;
  font-size: 14px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer p,
.site-footer li {
  font-size: 14px;
}

.footer-logo .brand-text {
  color: #ffffff;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: 100%;
  color: #ffffff;
  background: #6f4313;
  border-color: #f7bd4b;
  box-shadow: 0 -10px 28px rgba(15, 31, 45, 0.32);
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
  font-size: 16px;
}

.sticky-call.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 550ms ease, transform 550ms ease;
}

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

@keyframes cinematicPan {
  from {
    background-position: 42% center;
  }
  to {
    background-position: 58% center;
  }
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0 !important;
  }

  .desktop-nav {
    display: flex !important;
  }

  .desktop-header-phone {
    display: inline-flex !important;
  }

  .mobile-menu-button,
  .mobile-menu,
  .sticky-call {
    display: none !important;
  }

  .two-col-block {
    grid-template-columns: minmax(0, 65%) minmax(260px, 35%);
  }

  .two-col-block.image-left {
    grid-template-columns: minmax(260px, 35%) minmax(0, 65%);
  }

  .review-slide {
    min-width: 33.333333%;
  }
}

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

@media (max-width: 767px) {
  h1 {
    font-size: clamp(32px, 11vw, 48px);
  }

  h2 {
    font-size: clamp(26px, 8vw, 32px);
  }

  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}
