/* ============================================================
   Peak Auto Collision — styles.css
   Modern local-autobody look. Palette anchored to the shop
   logo: near-black, brand red, warm off-white, gold accents.
   ============================================================ */

:root {
  --ink: #0d0d0e;
  --graphite: #171719;
  --paper: #f5f4f1;
  --white: #ffffff;
  --red: #d81f26;
  --red-dark: #b3161c;
  --gold: #f2b01e;
  --gray: #6f7177;
  --line-light: #e4e2dd;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #1d1d21;
  --shadow: 0 6px 20px rgba(13, 13, 14, 0.10);
  --shadow-lg: 0 16px 44px rgba(13, 13, 14, 0.20);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --header-h: 78px;
  --header-h-scrolled: 62px;
  --ease: cubic-bezier(0.22, 0.65, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-scrolled) + 14px);
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.stars { color: var(--gold); letter-spacing: 2px; }
.stars-lg { font-size: 1.4rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.98rem;
  font-family: inherit;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s var(--ease), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 8px 20px rgba(216, 31, 38, 0.35); }

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

.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--graphite); box-shadow: var(--shadow); }

/* ============================================================
   Header / navigation
   Transparent over the hero, solid + blurred once scrolled.
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(rgba(13, 13, 14, 0.55), rgba(13, 13, 14, 0));
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(13, 13, 14, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: height 0.3s ease;
}
.site-header.scrolled .nav-inner { height: var(--header-h-scrolled); }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; transition: height 0.3s ease; }
.site-header.scrolled .brand-logo { height: 34px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.nav ul a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 6px 0;
  position: relative;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.22s var(--ease);
}
.nav ul a:hover { text-decoration: none; }
.nav ul a:hover::after { width: 100%; }

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.93rem;
  background: var(--red);
  padding: 10px 16px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.nav-call:hover { background: var(--red-dark); text-decoration: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 72px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(13, 13, 14, 0.92) 0%, rgba(13, 13, 14, 0.72) 45%, rgba(13, 13, 14, 0.42) 100%),
    linear-gradient(rgba(13, 13, 14, 0.25), rgba(13, 13, 14, 0.45));
}
.hero-content {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  max-width: 15em;
  margin-bottom: 18px;
}
.hero .eyebrow { color: var(--gold); }
.hero-sub {
  font-size: clamp(1.02rem, 1.8vw, 1.16rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 0 30px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.business-hours-card {
  max-width: 660px;
  margin-top: 24px;
  padding: 15px;
  background: rgba(13, 13, 14, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.business-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 11px;
  font-size: 1rem;
}
.business-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242, 176, 30, 0.16);
}
.business-status.is-open .business-status-dot {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16);
}
.business-status.is-open strong { color: #86efac; }
.business-status.is-closed .business-status-dot {
  background: #f87171;
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.16);
}
.business-status.is-closed strong { color: #fca5a5; }
.business-status-detail { color: rgba(255, 255, 255, 0.82); }
.business-status-detail::before {
  content: "·";
  margin-right: 7px;
  color: rgba(255, 255, 255, 0.48);
}
.hero-hours {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.hero-hours-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 4px;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.35;
}
.hero-hours-day span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-hours-day strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.83rem;
}
.hero-hours-day.is-today {
  background: rgba(242, 176, 30, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: inset 0 0 18px rgba(242, 176, 30, 0.08);
}
.hero-hours-day.is-today strong { color: var(--white); }
.business-time-zone {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.71rem;
  text-align: right;
}

/* Hero copy fade + rise on load */
.hero-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: heroRise 0.7s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  background: var(--graphite);
  border-top: 1px solid var(--line-dark);
  border-bottom: 3px solid var(--red);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  padding: 6px 8px;
}
.trust-item + .trust-item { border-left: 1px solid var(--line-dark); }
.trust-value {
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.trust-value .stars { font-size: 1.05rem; }
.trust-label {
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   Sections (shared)
   ============================================================ */
.section { padding: 92px 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink h2, .section-ink h3 { color: var(--white); }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 54px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-lead {
  color: var(--gray);
  font-size: 1.05rem;
  margin: 0;
}
.section-ink .section-lead { color: rgba(255, 255, 255, 0.72); }

/* ============================================================
   Featured repair
   ============================================================ */
.featured {
  background: var(--graphite);
  color: var(--white);
}
.featured h2 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.featured-grid {
  display: grid;
  grid-template-columns: 62% 1fr;
  gap: 48px;
  align-items: center;
}
.featured-viewport {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  box-shadow: 0 0 0 1px rgba(216, 31, 38, 0.22), var(--shadow-lg);
  background: var(--ink);
}
.featured-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}
.featured-open:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
#featuredImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
  transform-origin: center center;
}
.featured-hint {
  margin: 12px 2px 0;
  font-size: 0.82rem;
  color: var(--gray);
}
.featured-text p { color: rgba(255, 255, 255, 0.82); margin: 0 0 18px; }
.featured-details {
  list-style: none;
  margin: 6px 0 26px;
  padding: 0;
  border-top: 1px solid var(--line-dark);
}
.featured-details li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.featured-details li span {
  flex: 0 0 64px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 2px;
}

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(216, 31, 38, 0.08);
  color: var(--red);
  margin-bottom: 14px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.service-card p { margin: 0; color: var(--gray); font-size: 0.94rem; }

.services-note {
  text-align: center;
  margin: 40px auto 0;
  max-width: 620px;
  font-size: 1.02rem;
}
.services-note a { font-weight: 800; }

/* ============================================================
   Our Work
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.work-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-open {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--ink);
  cursor: zoom-in;
}
.work-open:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.work-frame {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.work-frame-square { aspect-ratio: 1 / 1; }
.work-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.work-frame-square img { object-fit: contain; }
.work-card:hover .work-frame img { transform: scale(1.03); }
.work-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.work-card figcaption { padding: 16px 18px 18px; }
.work-card figcaption h3 { font-size: 1.05rem; margin-bottom: 4px; }
.work-card figcaption p { margin: 0; color: var(--gray); font-size: 0.92rem; }

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-light);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 430px;
}
.about-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.about-text p { color: #3c3c42; margin: 0 0 16px; }
.about-quote {
  margin: 22px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  border-radius: 8px;
  font-style: italic;
  font-size: 1.06rem;
  color: var(--ink);
}
.about-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
}
.reviews-big {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.reviews-score p { margin: 2px 0 0; color: var(--gray); font-size: 0.98rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reviews-more { margin-top: 20px; }
.reviews-more[hidden] { display: none; }
.review-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review-card .stars { font-size: 0.95rem; margin-bottom: 10px; }
.review-card p {
  margin: 0 0 16px;
  color: #3c3c42;
  font-size: 0.96rem;
}
.review-card cite {
  margin-top: auto;
  font-style: normal;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
}

.reviews-more-wrap { text-align: center; margin-top: 28px; }
.reviews-google { text-align: center; margin: 36px 0 0; }

/* ============================================================
   Contact
   ============================================================ */
.contact-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 24px;
}
.contact-info {
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.contact-info h3 { font-size: 1.4rem; }
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.contact-list li:last-child { border-bottom: none; }
.contact-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 800;
}
.contact-list span { color: rgba(255, 255, 255, 0.9); }
.contact-phone {
  display: inline-block;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  padding: 4px 0;
}
.contact-phone:hover { color: var(--gold); text-decoration: none; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}
.hours-table th,
.hours-table td {
  text-align: left;
  padding: 3px 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}
.hours-table th { font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.hours-table td { text-align: right; }
.hours-table tr.is-today th,
.hours-table tr.is-today td {
  padding-top: 6px;
  padding-bottom: 6px;
  color: var(--white);
  background: rgba(242, 176, 30, 0.15);
  border-top: 1px solid rgba(242, 176, 30, 0.48);
  border-bottom: 1px solid rgba(242, 176, 30, 0.48);
}
.hours-table tr.is-today th {
  padding-left: 9px;
  color: var(--gold);
  border-left: 1px solid rgba(242, 176, 30, 0.48);
  border-radius: 7px 0 0 7px;
}
.hours-table tr.is-today td {
  padding-right: 9px;
  border-right: 1px solid rgba(242, 176, 30, 0.48);
  border-radius: 0 7px 7px 0;
}

.contact-google { color: var(--gold); font-weight: 700; }
.contact-google:hover { color: var(--white); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  min-height: 380px;
  background: var(--graphite);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 44px 0 36px;
  text-align: center;
  border-top: 3px solid var(--red);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 6px; }
.footer-contact { margin: 0; font-size: 0.95rem; }
.footer-contact a { color: var(--gold); font-weight: 600; }
.footer-copy { margin: 0; font-size: 0.84rem; color: rgba(255, 255, 255, 0.45); }
.footer-credit { margin: 14px 0 0; }
.footer-credit a {
  display: inline-block;
  color: var(--white);
  font-size: clamp(1.35rem, 2.7vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  padding: 4px 8px;
}
.footer-credit a:hover { color: var(--gold); text-decoration: underline; }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 56px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: var(--red); border-color: var(--red); }
.lightbox-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ============================================================
   Scroll reveals (activated by JS; html.js gates the hiding
   so content stays visible if JavaScript fails to load)
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 55% 1fr; gap: 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(13, 13, 14, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 24px 20px;
    border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.2s ease, visibility 0s 0.25s;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.25s var(--ease), opacity 0.2s ease;
  }
  .nav ul { flex-direction: column; gap: 0; width: 100%; }
  .nav ul li { border-bottom: 1px solid var(--line-dark); }
  .nav ul a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav ul a::after { display: none; }
  .nav-call { margin-top: 16px; justify-content: center; }

  .featured-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }

  .hero { min-height: 540px; padding: calc(var(--header-h) + 36px) 0 56px; }

  .trust-inner { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust-item:nth-child(3) { border-left: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 54px 0; }

  body { line-height: 1.55; }
  .section-lead { font-size: 1rem; }

  .brand-logo { height: 36px; }
  .site-header.scrolled .brand-logo { height: 30px; }

  .hero { min-height: 0; padding: calc(var(--header-h) + 28px) 0 48px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .business-hours-card { padding: 14px 12px; }
  .business-status { font-size: 0.95rem; }
  .hero-hours { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-hours-day { padding: 6px 3px; }

  .trust-value { font-size: 1.1rem; }

  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 20px; }

  .work-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-big { font-size: 2.9rem; }

  .about-quote { padding: 14px 18px; font-size: 1.02rem; }
  .about-buttons .btn { flex: 1 1 auto; }

  .contact-cta { flex-direction: column; }
  .contact-cta .btn { width: 100%; }
  .contact-info { padding: 26px 22px; }
  .contact-map, .contact-map iframe { min-height: 300px; }

  .featured-hint { display: none; }
}

/* ============================================================
   Reduced motion: strip all nonessential animation
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-anim { opacity: 1; transform: none; }
  html.js .reveal { opacity: 1; transform: none; }
  #featuredImg { transform: none !important; }
}
