/*
Theme Name: FixADent Spokane
Theme URI: https://pdrspokane.com/
Author: FixADent
Description: Static FixADent paintless dent repair website converted to a simple WordPress theme.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fixadent-spokane
*/

:root {
  --black: #07090d;
  --panel: rgba(8, 10, 14, 0.84);
  --line: rgba(255, 255, 255, 0.16);
  --muted: #c7c7c7;
  --white: #ffffff;
  --gold: #f8b82e;
  --gold-dark: #d99813;
  --red: #e32620;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background: var(--black);
  font-family: "Inter", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.site-header {
  position: absolute;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 6, 9, 0.96), rgba(4, 6, 9, 0.7));
  backdrop-filter: blur(8px);
}

.top-bar,
.nav,
.hero-content {
  width: min(100% - 2rem, 112rem);
  margin-inline: auto;
}

.top-bar {
  display: flex;
  min-height: 4.65rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.top-bar p,
.top-bar > a,
.phone-link,
.top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.top-bar svg,
.phone-link {
  color: var(--gold);
}

.top-bar span::before {
  content: "•";
  margin-inline: 0.35rem 0.5rem;
}

.top-actions {
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.phone-link {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
  color: var(--white);
  font-size: clamp(0.86rem, 1vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0;
}

.phone-link svg {
  color: var(--gold);
}

.nav {
  display: grid;
  min-height: 10.4rem;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.25rem;
}

.nav.no-logo {
  grid-template-columns: 1fr auto;
}

.nav.no-logo .nav-links {
  justify-content: flex-start;
}

.logo {
  position: relative;
  display: inline-grid;
  width: fit-content;
  font-style: italic;
  line-height: 0.9;
}

.logo a,
.site-logo-link,
.footer-logo a,
.footer-logo-link {
  display: inline-flex;
  max-width: 360px;
}

.logo img,
.site-logo-link img,
.footer-logo img,
.footer-logo-link img {
  display: block;
  width: 100%;
  max-width: 360px;
  max-height: 145px;
  height: auto !important;
  object-fit: contain;
}

.logo strong {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(2.35rem, 4vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0.16rem 0.16rem 0 #000;
}

.logo small {
  color: var(--red);
  font-size: clamp(0.68rem, 1.1vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.car-line {
  position: absolute;
  top: 0.25rem;
  left: -0.35rem;
  width: 105%;
  height: 2.6rem;
  border-top: 0.3rem solid #ffcc16;
  border-radius: 60% 80% 0 0;
  transform: skewX(-18deg);
}

.car-line::after {
  content: "";
  position: absolute;
  right: -1.35rem;
  bottom: -0.45rem;
  width: 4rem;
  height: 1.6rem;
  border-top: 0.26rem solid #ffb000;
  border-right: 0.26rem solid #ffb000;
  border-radius: 0 100% 0 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  padding-block: 0.75rem;
}

.nav-links li {
  margin: 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.16rem;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.5);
  transition: 180ms ease;
}

.nav-links a:hover::after,
.nav-links .active::after,
.nav-links .current-menu-item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.estimate-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 3.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  border-radius: 0.38rem;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-button,
.primary-button {
  color: #101215;
  background: linear-gradient(180deg, #ffc74d, var(--gold));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.estimate-button {
  min-width: 17rem;
  padding-inline: 1.55rem;
}

.estimate-button svg {
  width: 1.45rem;
  height: 1.45rem;
  color: #101215;
}

.menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.98) 0%, rgba(5, 7, 10, 0.9) 31%, rgba(5, 7, 10, 0.45) 55%, rgba(5, 7, 10, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.15), rgba(5, 7, 10, 0.9)),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=2200&q=82") center right / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 68%, rgba(255, 184, 46, 0.12), transparent 19rem);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding-top: 16.5rem;
  padding-bottom: 4rem;
}

.hero-copy {
  width: min(100%, 48rem);
}

h1 {
  margin: 0;
  max-width: 50rem;
  font-size: clamp(3.2rem, 5.3vw, 6.2rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0.35rem 1.5rem rgba(0, 0, 0, 0.42);
}

.accent-line {
  display: block;
  width: 7.1rem;
  height: 0.18rem;
  margin: 2.8rem 0 2.1rem;
  background: var(--gold);
}

.hero-copy > p {
  max-width: 45rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 1.7vw, 1.85rem);
  line-height: 1.55;
}

.service-strip {
  display: grid;
  max-width: 48rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.2rem;
}

.service-strip article {
  display: grid;
  min-height: 5.6rem;
  place-items: center;
  gap: 0.75rem;
  border-right: 1px solid var(--line);
  padding-inline: 1rem;
  text-align: center;
}

.service-strip article:first-child {
  border-left: 0;
}

.service-strip article:last-child {
  border-right: 0;
}

.service-strip svg {
  width: 2.65rem;
  height: 2.65rem;
  color: var(--gold);
}

.service-strip span {
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
}

.primary-button,
.secondary-button {
  min-width: 18.5rem;
  padding-inline: 1.8rem;
}

.primary-button svg {
  color: #101215;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(4, 6, 9, 0.38);
}

.inner-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.98) 34rem),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=2200&q=78") center top / cover fixed,
    var(--black);
}

.page-hero,
.content-band {
  width: min(100% - 2rem, 112rem);
  margin-inline: auto;
}

.page-hero {
  display: flex;
  min-height: 38rem;
  align-items: flex-end;
  padding-top: 17rem;
  padding-bottom: 4.5rem;
}

.page-hero > div {
  width: min(100%, 54rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero p:last-child {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.45rem);
  line-height: 1.65;
}

.content-band {
  padding-bottom: 5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.gallery-card,
.contact-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(7, 9, 13, 0.82);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.gallery-card div {
  padding: 1.35rem;
}

.gallery-card h2,
.contact-panel h2,
.contact-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 1.7vw, 1.8rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.gallery-card p,
.contact-panel p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.gallery-intro {
  display: grid;
  gap: 0.9rem;
  max-width: 52rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.gallery-intro h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.gallery-intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.65;
}

.before-after-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.before-after-card {
  overflow: hidden;
  border: 1px solid rgba(248, 184, 46, 0.24);
  border-radius: 0.5rem;
  background:
    linear-gradient(145deg, rgba(248, 184, 46, 0.1), rgba(7, 9, 13, 0.92) 42%),
    rgba(7, 9, 13, 0.88);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.34);
}

.comparison-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(248, 184, 46, 0.24);
}

.comparison-panel {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #05070a;
}

.comparison-panel span {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999rem;
  background: rgba(5, 7, 10, 0.78);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0.45rem 0.72rem;
  text-transform: uppercase;
}

.comparison-panel.after span {
  border-color: rgba(248, 184, 46, 0.72);
  background: var(--gold);
  color: #090b0f;
}

.comparison-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.05);
  transition: transform 220ms ease, filter 220ms ease;
}

.before-after-card:hover .comparison-panel img {
  transform: scale(1.025);
  filter: saturate(1.06) contrast(1.08);
}

.comparison-copy {
  display: grid;
  gap: 0.45rem;
  padding: clamp(1.25rem, 2.6vw, 2rem);
}

.comparison-copy .eyebrow {
  margin: 0;
}

.comparison-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.comparison-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(20rem, 0.6fr);
  gap: 1.5rem;
}

.contact-panel,
.contact-card {
  padding: clamp(1.35rem, 3vw, 2.5rem);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.wpcf7 form.contact-form p {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.wpcf7-form-control-wrap {
  display: block;
}

.form-message,
.wpcf7-response-output {
  border: 1px solid rgba(248, 184, 46, 0.34);
  border-radius: 0.5rem;
  background: rgba(248, 184, 46, 0.1);
  color: var(--white);
  font-weight: 800;
  margin: 1.4rem 0 0;
  padding: 0.95rem 1rem;
}

.form-message.error,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: rgba(255, 92, 92, 0.42);
  background: rgba(255, 92, 92, 0.12);
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(248, 184, 46, 0.58);
  background: rgba(248, 184, 46, 0.14);
}

.contact-form label,
.wpcf7 form.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.wpcf7 form.contact-form input,
.wpcf7 form.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.38rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  padding: 0.95rem 1rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.wpcf7 form.contact-form input:focus,
.wpcf7 form.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(248, 184, 46, 0.14);
}

.contact-form button,
.wpcf7 form.contact-form input[type="submit"] {
  border: 0;
  cursor: pointer;
}

.wpcf7 form.contact-form input[type="submit"] {
  width: fit-content;
  min-width: 12rem;
}

.wpcf7-not-valid-tip {
  color: #ff8f8f;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 0.35rem;
  text-transform: none;
}

.wpcf7-spinner {
  background-color: var(--gold);
  margin: 0 0 0 0.75rem;
}

.contact-card {
  align-self: start;
}

.owner-card {
  display: grid;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.owner-photo {
  display: grid;
  width: min(100%, 13rem);
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(248, 184, 46, 0.78);
  border-radius: 0.5rem;
  background:
    linear-gradient(145deg, rgba(248, 184, 46, 0.38), rgba(7, 9, 13, 0.72)),
    #101215;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.34);
}

.owner-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.owner-photo span {
  color: var(--white);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0;
}

.owner-card .eyebrow {
  margin-top: 0.5rem;
}

.owner-card h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.65rem);
}

.contact-detail {
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid var(--line);
  margin-top: 1.35rem;
  padding-top: 1.35rem;
}

.contact-detail span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail a {
  font-size: 1.4rem;
  font-weight: 900;
}

.office-feature {
  width: min(100% - 2rem, 112rem);
  margin: -2.5rem auto 5rem;
}

.office-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 184, 46, 0.28);
  border-radius: 0.5rem;
  background: #07090d;
  box-shadow: 0 1.75rem 4.5rem rgba(0, 0, 0, 0.38);
}

.office-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.88), rgba(5, 7, 10, 0.36) 46%, rgba(5, 7, 10, 0.08)),
    linear-gradient(0deg, rgba(5, 7, 10, 0.36), transparent 42%);
  pointer-events: none;
}

.office-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.03);
}

.office-caption {
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
}

.office-caption h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.office-caption p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.office-caption .secondary-button {
  width: fit-content;
}

.home-highlights {
  width: min(100% - 2rem, 112rem);
  margin-inline: auto;
}

.home-highlights {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.punch-section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(115deg, rgba(248, 184, 46, 0.22), rgba(7, 9, 13, 0.9) 38%, rgba(7, 9, 13, 0.98)),
    rgba(7, 9, 13, 0.94);
  padding: clamp(1.5rem, 4vw, 4rem);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.42);
}

.punch-section::after {
  content: "";
  position: absolute;
  right: -7rem;
  top: -7rem;
  width: 18rem;
  height: 18rem;
  border: 2.6rem solid rgba(248, 184, 46, 0.18);
  border-radius: 50%;
}

.punch-copy {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 72rem;
  gap: 1rem;
}

.punch-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.7rem, 6vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.punch-copy p:last-child {
  max-width: 58rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  line-height: 1.6;
}

.punch-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  background: var(--line);
}

.punch-points article {
  display: grid;
  gap: 0.45rem;
  background: rgba(5, 7, 10, 0.72);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.punch-points strong {
  color: var(--gold);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  text-transform: uppercase;
}

.punch-points span {
  color: var(--muted);
  line-height: 1.45;
}

.about-copy {
  display: grid;
  gap: 1.5rem;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: var(--white);
}

.about-copy ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.about-work-photo {
  overflow: hidden;
  border: 1px solid rgba(248, 184, 46, 0.28);
  border-radius: 0.5rem;
  background: #07090d;
  margin: 1.5rem 0 0;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.3);
}

.about-work-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.04);
}

.about-work-photo figcaption {
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid rgba(248, 184, 46, 0.22);
  padding: 1rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.about-work-photo figcaption span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-photo-band {
  padding-top: 0;
}

.about-photo-band img {
  display: block;
  width: min(100%, 56rem);
  max-height: 26rem;
  margin-inline: auto;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(248, 184, 46, 0.62);
  border-radius: 0.5rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.38);
}

.wp-page-content {
  color: var(--muted);
  background: #07090d;
  padding-top: 2rem;
}

.wp-page-content > * {
  max-width: 68rem;
}

.wp-page-content h1,
.wp-page-content h2,
.wp-page-content h3 {
  color: var(--white);
}

.wp-page-content a {
  color: var(--gold);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #05070a;
  padding: 3rem 1rem;
}

.footer-inner {
  display: grid;
  width: min(100%, 72rem);
  margin-inline: auto;
  place-items: center;
  gap: 1.1rem;
  text-align: center;
}

.footer-logo img,
.footer-logo-link img {
  max-width: 9rem;
  max-height: 4rem;
}

.footer-inner p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-call {
  min-width: 16rem;
}

.footer-inner small {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1180px) {
  .top-bar {
    min-height: 3.8rem;
    font-size: 0.8rem;
  }

  .phone-link {
    font-size: 1.05rem;
  }

  .nav {
    min-height: 7.5rem;
    grid-template-columns: minmax(15rem, 22rem) auto auto;
    gap: 1rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(5, 7, 10, 0.96);
    padding: 0.75rem;
  }

  .nav-links a {
    padding: 0.95rem 1rem;
  }

  .menu-button {
    display: grid;
    width: 3.35rem;
    height: 3.35rem;
    place-content: center;
    gap: 0.35rem;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 0.38rem;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 1.45rem;
    height: 0.13rem;
    background: var(--white);
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .estimate-button {
    min-width: auto;
    padding-inline: 1.2rem;
  }

  .hero-content {
    padding-top: 13rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    background: #07090d;
  }

  .top-bar {
    display: grid;
    min-height: auto;
    justify-items: center;
    padding-block: 0.95rem;
    gap: 0.65rem;
    font-size: 0.72rem;
    text-align: center;
  }

  .top-bar p {
    justify-content: center;
    flex-wrap: wrap;
  }

  .top-bar > a {
    justify-content: center;
    flex-wrap: wrap;
  }

  .top-actions {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
  }

  .phone-link {
    border-left: 0;
    justify-content: center;
    padding-left: 0;
    font-size: 1rem;
  }

  .nav {
    min-height: auto;
    grid-template-columns: 1fr auto;
    padding-block: 1rem;
  }

  .logo strong {
    font-size: 2.5rem;
  }

  .logo img,
  .site-logo-link img {
    width: min(100%, 17rem);
    max-height: 6.8rem;
  }

  .car-line {
    height: 2rem;
  }

  .estimate-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 3.25rem;
    order: 3;
  }

  .nav-links {
    top: calc(100% - 0.25rem);
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.5) 0%, rgba(5, 7, 10, 0.9) 34%, rgba(5, 7, 10, 0.98) 100%),
      url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1400&q=80") center top / cover;
  }

  .hero-content {
    min-height: auto;
    align-items: flex-start;
    padding-top: 12rem;
    padding-bottom: 3rem;
  }

  .inner-page {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.56), rgba(5, 7, 10, 0.98) 28rem),
      url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1400&q=78") center top / cover,
      var(--black);
  }

  .page-hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 2.5rem;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .accent-line {
    margin: 2rem 0 1.4rem;
  }

  .hero-copy > p {
    font-size: 1.12rem;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 2rem;
    background: var(--line);
  }

  .service-strip article {
    min-height: 7rem;
    border: 0;
    background: rgba(5, 7, 10, 0.72);
  }

  .hero-buttons {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    min-width: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .home-highlights {
    width: min(100% - 2rem, 112rem);
  }

  .punch-points {
    grid-template-columns: 1fr;
  }

  .content-band {
    padding-bottom: 3rem;
  }

  .owner-photo {
    width: min(100%, 11rem);
  }

  .about-photo-band img {
    width: min(100%, 42rem);
    max-height: 18rem;
  }

  .office-feature {
    margin: -1.5rem auto 3rem;
  }

  .office-photo img {
    aspect-ratio: 4 / 3;
  }

  .office-photo::after {
    background:
      linear-gradient(0deg, rgba(5, 7, 10, 0.88), rgba(5, 7, 10, 0.22) 72%),
      linear-gradient(90deg, rgba(5, 7, 10, 0.44), transparent);
  }

  .office-caption {
    max-width: calc(100% - 2rem);
  }
}

@media (max-width: 420px) {
  .top-bar,
  .nav,
  .hero-content,
  .page-hero,
  .content-band,
  .home-highlights {
    width: min(100% - 1.25rem, 112rem);
  }

  .top-bar span {
    display: block;
    margin-top: 0.2rem;
  }

  .top-bar span::before {
    content: "";
    margin: 0;
  }

  .logo strong {
    font-size: 2.15rem;
  }

  .logo img,
  .site-logo-link img {
    width: min(100%, 13rem);
    max-height: 5.3rem;
  }

  .logo small {
    font-size: 0.58rem;
  }

  .hero-content {
    padding-top: 9rem;
  }

  .service-strip span,
  .estimate-button,
  .primary-button,
  .secondary-button {
    font-size: 0.88rem;
  }

  .gallery-card div,
  .contact-panel,
  .contact-card {
    padding: 1rem;
  }

  .comparison-images {
    grid-template-columns: 1fr;
  }

  .comparison-panel img {
    aspect-ratio: 16 / 9;
  }

  .comparison-panel span {
    top: 0.55rem;
    left: 0.55rem;
    font-size: 0.64rem;
  }

  .owner-photo {
    width: min(100%, 9.5rem);
  }

  .about-photo-band img {
    max-height: 13.5rem;
  }

  .office-feature {
    width: min(100% - 1.25rem, 112rem);
  }

  .office-photo img {
    aspect-ratio: 1 / 1;
  }

  .office-caption {
    gap: 0.6rem;
  }

  .office-caption h2 {
    font-size: 1.75rem;
  }
}
