:root {
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --limestone: #F9F5EE;
  --red: #A44D53;
  --red-dark: #7F343A;
  --brass: #9E7F49;
  --ink: #111827;
  --espresso: #1C1715;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--limestone);
  color: #2E2A27;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.7rem, 7vw, 4.65rem); }
h2 { font-size: clamp(2.15rem, 5vw, 3.2rem); }
h3, h4 { font-size: 1.45rem; }
p, li, td, th, a, button { font-size: 1rem; }

.site-shell { overflow: clip; }

.container-wide {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.section-pad { padding: 72px 0; }

.topbar {
  background: var(--espresso);
  color: #fff;
  font-size: 14px;
}

.topbar a { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 245, 238, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(158, 127, 73, 0.25);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--espresso);
  color: #fff;
  border: 2px solid var(--brass);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.nav-link {
  color: #2E2A27;
  font-weight: 700;
  text-decoration: none;
  padding: 18px 8px;
  font-size: 16px;
}

.nav-link:hover { color: var(--red); }

.desktop-only-phone { display: none !important; }
.desktop-nav { display: none !important; }
.mobile-menu-toggle { display: inline-flex !important; }

@media (min-width: 768px) {
  .desktop-only-phone { display: inline-flex !important; }
  .desktop-nav { display: flex !important; }
  .mobile-menu-toggle { display: none !important; }
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  margin: 5px 0;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 74px 0 auto 0;
  background: var(--limestone);
  border-bottom: 1px solid rgba(158, 127, 73, 0.35);
  z-index: 45;
  padding: 24px;
  box-shadow: 0 22px 50px rgba(28, 23, 21, 0.16);
}

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

@media (min-width: 768px) {
  .mobile-panel { display: none !important; }
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  background: var(--red);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--red);
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: pulseGlow 2.3s ease-in-out infinite;
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 760px;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(28, 23, 21, 0.95) 0%, rgba(28, 23, 21, 0.76) 44%, rgba(28, 23, 21, 0.2) 100%), url('../images/hero-technician.jpg');
  background-size: cover;
  background-position: center;
}

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

.hero-card {
  background: rgba(249, 245, 238, 0.13);
  border: 1px solid rgba(249, 245, 238, 0.32);
  color: #fff;
  backdrop-filter: blur(14px);
}

.stars { color: #D9B661; letter-spacing: 0.16em; font-size: 1.2rem; }

.gallery-badge {
  height: 48px;
  width: auto;
  object-fit: contain;
  background: rgba(255,255,255,0.94);
  padding: 6px 10px;
  border: 1px solid rgba(158, 127, 73, 0.45);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--brass);
}

.accent-rule {
  width: 82px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--brass));
  margin-top: 18px;
}

.arch-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(158, 127, 73, 0.28);
  box-shadow: 0 28px 60px rgba(28, 23, 21, 0.08);
}

.arch-image {
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  border: 1px solid rgba(158, 127, 73, 0.45);
}

.arch-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mask-reveal {
  animation: maskReveal 900ms cubic-bezier(.2,.8,.2,1) both;
}

.icon-tile {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--limestone);
  border: 1px solid rgba(158, 127, 73, 0.45);
  color: var(--red);
  flex: 0 0 auto;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(158, 127, 73, 0.3);
  padding: 28px;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(28, 23, 21, 0.09);
}

.service-card ul { padding-left: 1.15rem; margin-top: 1rem; }
.service-card li { margin-bottom: 0.65rem; }

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .split-section { grid-template-columns: 65% 35%; }
  .split-section.image-left { grid-template-columns: 35% 65%; }
}

.reviews-window { overflow: hidden; }

.reviews-track {
  display: flex;
  transition: transform 420ms ease;
}

.review-slide {
  min-width: 100%;
  padding: 10px;
}

@media (min-width: 900px) {
  .review-slide { min-width: 33.3333%; }
}

.review-card {
  background: #fff;
  color: #2E2A27;
  border: 1px solid rgba(158, 127, 73, 0.3);
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid rgba(158, 127, 73, 0.28);
}

.models-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.models-table th, .models-table td { padding: 18px; border-bottom: 1px solid rgba(158, 127, 73, 0.22); vertical-align: top; text-align: left; }
.models-table th { background: var(--espresso); color: #fff; }

.faq-item {
  background: #fff;
  border: 1px solid rgba(158, 127, 73, 0.28);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 900;
  color: var(--ink);
}

.faq-item p { padding: 0 24px 22px; margin: 0; color: #2E2A27; }

.footer {
  background: var(--espresso);
  color: #F9F5EE;
  font-size: 14px;
}

.footer a, .footer p, .footer li { color: #F9F5EE; font-size: 14px; }
.footer h3 { color: #fff; }

.sticky-call-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(28, 23, 21, 0.92);
  transform: translateY(110%);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.sticky-call-mobile a {
  width: 100%;
  min-height: 52px;
}

@media (max-width: 767.98px) {
  .sticky-call-mobile { display: block !important; }
  h1 { font-size: clamp(2.45rem, 11vw, 3rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.35rem); }
  .section-pad { padding: 54px 0; }
  .hero { min-height: 820px; background-position: center; }
  .topbar { display: none; }
  .logo-text { font-size: 24px; }
  .gallery-badge { height: 42px; padding: 5px 8px; }
  body { padding-bottom: 76px; }
}

@media (min-width: 768px) {
  .sticky-call-mobile { display: none !important; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0; transform: scale(0.98); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

@keyframes maskReveal {
  from { clip-path: inset(0 0 100% 0); opacity: 0.4; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
footer .logo-text {
  color: #fff;
}