@font-face {
  font-family: "MontserratLocal";
  src: url("../fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "MontserratLocal";
  src: url("../fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "ArchivoLocal";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
}

:root {
  --black: #1b1b1b;
  --section: #202020;
  --charcoal: #2a2a2a;
  --panel: #333533;
  --green: #47b751;
  --red: #ed1e25;
  --grey: #8e8d89;
  --blue: #003049;
  --white: #fff;
  --muted: #d8d8d8;
  --max: 1140px;
  --soft-radius: 5px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--section);
  font-family: "ArchivoLocal", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 1px;
}

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

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

p {
  color: var(--muted);
  margin: 0 0 1.35rem;
}

h1,
h2,
h3,
h4 {
  font-family: "MontserratLocal", Arial, sans-serif;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -1.5px;
}

h1 {
  font-size: 50px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 4px 10px rgb(0 0 0 / 55%);
}

h2 {
  font-size: 38px;
  font-weight: 700;
}

h3 {
  font-size: 28px;
  font-weight: 700;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--charcoal);
  box-shadow: 0 2px 12px rgb(0 0 0 / 25%);
}

.header-inner {
  width: min(1140px, calc(100% - 136px));
  min-height: 145px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
}

.logo img {
  width: 150px;
  transform: translateY(28px);
}

.header-actions {
  justify-self: end;
  align-self: start;
  width: 320px;
  padding-top: 12px;
}

.phone-top {
  display: block;
  width: 240px;
  margin: 0 auto 16px;
  font-family: "MontserratLocal", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  line-height: 1;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 1.2rem;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  font: 700 0.95rem/1 "MontserratLocal", Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}

.btn-green {
  background: var(--green);
}

.btn-red {
  background: var(--red);
}

.btn-small {
  min-height: 31px;
  padding: 0.58rem 1.15rem;
  font-size: 0.72rem;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.menu-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 72%);
}

.menu-open .menu-overlay {
  pointer-events: auto;
  opacity: 1;
}

.menu-panel {
  position: relative;
  z-index: 2;
  width: min(600px, 72vw);
  min-height: 100vh;
  padding: 26px 44px 56px;
  background: rgb(36 36 36 / 94%);
  clip-path: polygon(0 0, 94% 0, 64% 100%, 0 100%);
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
}

.menu-close {
  position: relative;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: 400 48px/0.7 "MontserratLocal", Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}

.menu-logo {
  width: 190px;
  margin: 18px auto 104px;
}

.menu-links {
  display: grid;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu-links a {
  font-family: "MontserratLocal", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.menu-links .active {
  color: var(--red);
}

.menu-phone {
  position: absolute;
  left: 44px;
  bottom: 88px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--green);
  font-family: "MontserratLocal", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.menu-phone::before {
  content: "";
  width: 15px;
  height: 28px;
  border: 3px solid currentColor;
  border-radius: 3px;
  background: radial-gradient(circle at 50% 87%, currentColor 0 2px, transparent 2.5px);
}

.hero {
  min-height: 470px;
  display: grid;
  place-items: center;
  padding: 10% 24px 5%;
  background-color: var(--section);
  background-image: linear-gradient(rgb(0 0 0 / 56%), rgb(0 0 0 / 56%)), var(--hero);
  background-position: center;
  background-size: cover;
}

.home-page .hero {
  min-height: 755px;
  padding-top: 245px;
  padding-bottom: 160px;
  background-position: center 50%;
}

.home-page .hero h1 {
  font-size: 62px;
  line-height: 1.15;
  transform: none;
}

.home-page .hero .btn-small {
  min-width: 164px;
  min-height: 47px;
  margin-top: 14px;
  font-size: 16px;
  transform: none;
}

.hero > div {
  text-align: center;
}

.hero.short {
  min-height: 330px;
  padding-top: 10%;
  padding-bottom: 5%;
}

.repair-page .hero.short,
.replacement-page .hero.short,
.contact-page .hero.short {
  min-height: 390px;
}

.hero p {
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 4px 10px rgb(0 0 0 / 55%);
}

.section-separator {
  position: relative;
  z-index: 1;
  width: 116vw;
  height: 218px;
  margin: -82px 0 -82px -8vw;
  background: var(--grey);
  pointer-events: none;
  transform-origin: center;
}

.section-separator.tilt-right {
  transform: skewY(-5.5deg);
}

.section-separator.tilt-left {
  transform: skewY(5.5deg);
}

.home-page .why-section + .section-separator {
  margin-top: -232px;
}

.section {
  position: relative;
  padding: 5% 0;
}

/* Keep section content above angled separators, with decorative backgrounds below both. */
.hero > *,
.section > *,
.cta-band > *,
.contact-band > * {
  position: relative;
  z-index: 3;
}

.home-page #about {
  padding: 28px 0 84px;
  overflow: visible;
  background: #171717;
}

.home-page #about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/about-bg.jpg") center right / 39vw auto no-repeat;
  filter: grayscale(1) saturate(0) brightness(0.58);
  opacity: 0.58;
  pointer-events: none;
}

.home-page #about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    #171717 0%,
    #171717 45%,
    rgb(23 23 23 / 94%) 58%,
    rgb(23 23 23 / 78%) 72%,
    rgb(23 23 23 / 54%) 100%
  );
  pointer-events: none;
}

.section.dark {
  background: transparent;
}

.section.greenish {
  background: var(--charcoal);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(900px, calc(100% - 40px));
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 58px;
  align-items: center;
}

.home-page .split {
  position: relative;
  z-index: 3;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 46px;
}

.split-top {
  align-items: start;
}

.photo-pair {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 16px;
  align-items: end;
}

.home-page .photo-pair {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  transform: translateY(-70px);
}

.photo-pair img,
.feature-img,
.service-card img,
.before-after img,
.gallery img,
.testimonial-image {
  width: 100%;
  object-fit: cover;
  border-radius: var(--soft-radius);
  filter: saturate(0.38);
  transition: filter 240ms ease, transform 240ms ease;
}

.photo-pair img:hover,
.feature-img:hover,
.service-card:hover img,
.before-after img:hover,
.gallery img:hover,
.testimonial-image:hover {
  filter: saturate(1);
}

.photo-pair img:first-child {
  height: 360px;
}

.photo-pair img:last-child {
  height: 430px;
}

.home-page .photo-pair img:first-child {
  height: 430px;
  transform: translateY(126px);
}

.home-page .photo-pair img:last-child {
  height: 430px;
}

.dark-card {
  padding: 58px;
  background: linear-gradient(90deg, rgb(28 28 28 / 95%), rgb(28 28 28 / 78%)), url("../img/workshop-2.jpg");
  background-size: cover;
}

.home-page .dark-card {
  min-height: 390px;
  padding: 46px 42px;
  background: transparent;
}

.slashes {
  width: 94px;
  height: 18px;
  margin: 0 0 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='94' height='18' viewBox='0 0 94 18'%3E%3Cg fill='%23ed1e25'%3E%3Cpolygon points='5,0 18,0 13,18 0,18'/%3E%3Cpolygon points='24,0 37,0 32,18 19,18'/%3E%3Cpolygon points='43,0 56,0 51,18 38,18'/%3E%3Cpolygon points='62,0 75,0 70,18 57,18'/%3E%3Cpolygon points='81,0 94,0 89,18 76,18'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.white-panel {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px;
  border-radius: var(--soft-radius);
  background: #fff;
  color: #183343;
}

.home-page .white-panel {
  width: min(1110px, calc(100% - 64px));
  padding: 64px;
}

.home-page #about + .section {
  padding-top: 18px;
  padding-bottom: 118px;
}

.white-panel p {
  color: #49606b;
}

.intro-row {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  overflow: hidden;
  border-radius: var(--soft-radius);
  background: #f7f7f7;
  color: #fff;
}

.service-card img {
  height: 245px;
}

.home-page .service-card img {
  height: 300px;
}

.service-card strong {
  display: block;
  padding: 22px 18px;
  background: var(--green);
  text-align: center;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.home-page .why-section {
  min-height: 760px;
  padding: 74px 0 102px;
  overflow: visible;
  background-image:
    linear-gradient(180deg, var(--section) 0%, rgb(32 32 32 / 82%) 16%, rgb(32 32 32 / 0%) 42%),
    linear-gradient(90deg, rgb(19 19 19 / 86%), rgb(19 19 19 / 84%)),
    url("../img/footer-bg.jpg");
  background-position: top center, center, top center;
  background-size: cover, cover, cover;
}

.home-page .why-section .container {
  position: relative;
  width: min(1046px, calc(100% - 64px));
  grid-template-columns: 512px 1fr;
  gap: 62px;
  align-items: start;
}

.home-page .why-media {
  position: relative;
  z-index: 1;
  margin-top: -43px;
  transform: translateY(-18px);
}

.home-page .why-media .feature-img {
  width: 512px;
  height: 716px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 32px rgb(0 0 0 / 22%);
}

.home-page .why-content {
  position: relative;
  z-index: 1;
  margin-top: -60px;
  padding-top: 0;
}

.home-page .why-content h2 {
  margin-bottom: 34px;
  font-size: 2.3rem;
}

.home-page .why-content .slashes {
  margin-bottom: 38px;
}

.home-page .why-content p {
  width: min(490px, 100%);
  margin-bottom: 70px;
  color: #f0f0f0;
  font-size: 1.05rem;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.icon-box {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: var(--soft-radius);
  background: #fff;
  color: #173343;
  font-weight: 700;
  text-align: center;
}

.home-page .why-section .icon-grid {
  width: 436px;
  gap: 20px;
  margin-top: 0;
}

.home-page .why-section .icon-box {
  width: 208px;
  min-height: 174px;
  align-content: center;
  gap: 12px;
  padding: 22px 16px;
  border-radius: 4px;
  color: #073247;
  font-size: 1.45rem;
  line-height: 1.1;
  box-shadow: 0 3px 12px rgb(0 0 0 / 8%);
}

.home-page .why-section .icon-box img {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  object-fit: contain;
}

.badge {
  margin: -42px auto 0;
  width: 190px;
  padding: 20px;
  border-radius: var(--soft-radius);
  background: #fff;
  color: #173343;
  font-weight: 700;
  text-align: center;
  position: relative;
}

.home-page .why-section .badge {
  position: absolute;
  right: -24px;
  bottom: 76px;
  width: 288px;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 27px 20px 30px;
  border-radius: 4px;
  color: #073247;
  letter-spacing: 0.06em;
  line-height: 1.35;
  box-shadow: 0 12px 26px rgb(0 0 0 / 15%);
}

.home-page .why-section .badge span {
  display: block;
  font-size: 1.28rem;
}

.home-page .why-section .badge strong {
  display: block;
  font-size: 1.78rem;
  line-height: 1;
}

.quote-card {
  padding: 56px 42px;
  border-radius: var(--soft-radius);
  background: #fff;
  color: #173343;
  text-align: center;
}

.home-page .quote-card {
  min-height: 674px;
  padding: 56px 58px 48px;
  display: flex;
  flex-direction: column;
  border-radius: 4px 0 0 4px;
  text-align: left;
}

.home-page .testimonial-section {
  padding: 38px 0 118px;
  overflow: hidden;
  background-image:
    linear-gradient(rgb(32 32 32 / 90%), rgb(32 32 32 / 90%)),
    url("../img/reviews-bg.jpg");
  background-position: center center;
  background-size: cover;
}

.testimonial-wrap {
  position: relative;
  z-index: 3;
  width: min(1140px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  min-height: 674px;
  object-fit: cover;
  object-position: center;
  border-radius: 0 4px 4px 0;
  filter: grayscale(1) saturate(0.18);
}

.quote-card h3 {
  margin-bottom: 28px;
}

.quote-card .slashes {
  margin-bottom: 50px;
}

.review-viewport {
  position: relative;
  min-height: 346px;
  display: flex;
  align-items: center;
}

.review-track {
  width: 100%;
  overflow: hidden;
}

.review-slide {
  display: none;
  width: min(100%, 398px);
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transition: opacity 260ms ease;
}

.review-slide.is-active {
  display: block;
  opacity: 1;
}

.review-slide blockquote {
  margin: 0;
  color: #003049;
  font-family: "ArchivoLocal", Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1px;
}

.review-slide figcaption {
  margin-top: 30px;
  color: #003049;
  font-family: "MontserratLocal", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 1px;
}

.review-arrow {
  position: absolute;
  top: 51%;
  z-index: 2;
  width: 34px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f77f00;
  font: 400 44px/1 Arial, sans-serif;
  cursor: pointer;
}

.review-prev {
  left: -14px;
}

.review-next {
  right: -14px;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 28px;
}

.review-dots button {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d8d8d8;
  cursor: pointer;
}

.review-dots button.is-active {
  background: #f77f00;
}

.cta-band {
  position: relative;
  padding: 10% 20px;
  background-color: var(--section);
  background-image: linear-gradient(rgb(32 32 32 / 80%), rgb(32 32 32 / 80%)), var(--cta);
  background-position: center;
  background-size: cover;
  text-align: center;
}

.home-page .cta-band {
  padding: 132px 20px;
}

.cta-band > h1,
.cta-band > h2,
.cta-band > h3,
.cta-band > p {
  width: 60%;
  margin-right: auto;
  margin-left: auto;
}

.cta-band > p {
  margin-bottom: 28px;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 60%) 40%;
  gap: 0;
}

.content-panel {
  padding: 5%;
  border-radius: var(--soft-radius);
  background: var(--section);
}

.side-panel {
  padding: 10%;
  border-radius: var(--soft-radius);
  background: var(--panel);
}

.repair-page .repair-intro-section,
.replacement-page .repair-intro-section,
.contact-page .repair-intro-section {
  margin-top: -200px;
}

.side-list,
.hours,
.footer-links,
.feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.side-list {
  display: grid;
  gap: 16px;
  margin-bottom: 100px;
}

.side-list li,
.feature-list li {
  color: var(--white);
}

.side-list li::before,
.feature-list li::before {
  content: "✚";
  color: var(--green);
  font-weight: 700;
  margin-right: 14px;
  font-family: "MontserratLocal", Arial, sans-serif;
  font-size: 18px;
}

.hours li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 700;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.before-after img {
  height: 210px;
}

.chip-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 70px;
}

.chip-guide ul {
  padding: 0;
  color: var(--muted);
  list-style: none;
  line-height: 2.6;
}

.gallery {
  column-count: 3;
  column-gap: 14px;
  margin: 48px auto 80px;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 14px;
  break-inside: avoid;
}

.work-gallery {
  padding-bottom: 134px;
}

.center {
  text-align: center;
}

.center .slashes {
  margin-left: auto;
  margin-right: auto;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  text-align: center;
}

.services-list ul {
  padding: 0;
  margin: 0;
  color: var(--muted);
  list-style: none;
}

.services-list a,
.green-link {
  color: var(--green);
}

.service-closing {
  margin-top: 70px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list + h3 {
  margin-top: 76px;
}

.faq-item {
  overflow: hidden;
  border-radius: var(--soft-radius);
  background: var(--panel);
}

.faq-question {
  width: 100%;
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  border: 0;
  color: #fff;
  background: transparent;
  font: 700 1rem/1.3 "MontserratLocal", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-left: 24px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  color: transparent;
  font-size: 0;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
}

.faq-item.open .faq-question span {
  transform: rotate(225deg);
}

.faq-answer {
  display: none;
  padding: 0 28px 24px;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-band {
  background: var(--charcoal);
}

.contact-grid {
  display: grid;
  grid-template-columns: 33.333% 33.333% 33.333%;
  gap: 0;
}

.map {
  min-height: 400px;
  border: 0;
  width: 100%;
  height: 100%;
}

.contact-info,
.contact-form-wrap {
  padding: 8%;
  border-radius: var(--soft-radius);
}

.contact-list {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 16px;
  color: var(--muted);
}

.contact-list a {
  color: var(--green);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  color: var(--green);
  font-family: "MontserratLocal", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-radius: 2px;
  padding: 10px 14px;
  background: #ddd;
  color: #222;
  font: 300 14px/1.4 "ArchivoLocal", Arial, sans-serif;
  letter-spacing: 0;
}

textarea {
  min-height: 105px;
  resize: vertical;
}

.submit {
  width: 100%;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 22px;
  margin: 12px 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--red);
}

.site-footer {
  background-color: var(--charcoal);
  background-image: linear-gradient(rgb(42 42 42 / 90%), rgb(42 42 42 / 90%)), url("../img/footer-bg.jpg");
  background-position: center;
  background-size: cover;
}

.footer-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 5% 0;
}

.footer-logo {
  width: 115px;
  margin-bottom: 34px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.socials a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease, opacity 180ms ease;
}

.socials a:hover img {
  transform: translateY(-2px);
  opacity: 0.86;
}

.footer-links {
  display: grid;
  gap: 9px;
  font-family: "MontserratLocal", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.footer-links .active {
  color: var(--green);
}

.copyright {
  border-top: 1px solid rgb(255 255 255 / 25%);
  padding: 18px 20px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.copyright a {
  color: var(--green);
}

.contact-main .sidebar-layout {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.contact-main .content-panel {
  padding-top: 72px;
}

@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: 120px 1fr;
  }

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

  .side-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .side-list {
    margin-bottom: 0;
  }

  .gallery {
    column-gap: 12px;
  }

  .gallery img {
    margin-bottom: 12px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .header-inner {
    min-height: 82px;
    width: min(100% - 24px, var(--max));
    grid-template-columns: 88px 1fr;
    gap: 12px;
  }

  .logo img {
    width: 82px;
    transform: none;
  }

  .header-actions {
    width: min(300px, 100%);
    padding-top: 0;
  }

  .phone-top {
    width: auto;
    margin-bottom: 6px;
    font-size: 1rem;
    text-align: right;
  }

  .button-row {
    gap: 8px;
  }

  .btn {
    min-height: 40px;
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 360px;
    padding: 80px 18px 96px;
  }

  .home-page .hero {
    min-height: 420px;
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .home-page .hero h1 {
    font-size: 42px;
  }

  .home-page .hero .btn-small {
    min-width: 120px;
    min-height: 40px;
    font-size: 0.82rem;
  }

  .section {
    padding: 64px 0;
  }

  .cta-band > h1,
  .cta-band > h2,
  .cta-band > h3,
  .cta-band > p {
    width: min(100%, 560px);
  }

  .photo-pair,
  .intro-row,
  .service-grid,
  .icon-grid,
  .before-after,
  .chip-guide,
  .services-list,
  .footer-main,
  .side-panel,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .dark-card,
  .white-panel,
  .content-panel,
  .side-panel,
  .contact-info,
  .contact-form-wrap {
    padding: 34px 24px;
  }

  .gallery {
    column-count: 2;
  }

  .gallery img,
  .gallery.mixed img:nth-child(2n) {
    height: auto;
  }

  .testimonial-wrap {
    width: min(100% - 32px, 560px);
    grid-template-columns: 1fr;
  }

  .home-page .quote-card {
    min-height: 0;
    padding: 42px 30px 38px;
    border-radius: 4px 4px 0 0;
  }

  .testimonial-image {
    min-height: 320px;
    border-radius: 0 0 4px 4px;
  }

  .review-viewport {
    min-height: 300px;
  }

  .review-slide blockquote {
    font-size: 18px;
  }

  .review-prev {
    left: -6px;
  }

  .review-next {
    right: -6px;
  }

  .menu-panel {
    width: min(92vw, 420px);
    clip-path: polygon(0 0, 94% 0, 64% 100%, 0 100%);
    padding: 14px 18px 46px;
  }

  .menu-logo {
    width: 150px;
    margin: 14px auto 82px;
  }

  .menu-links {
    gap: 23px;
  }

  .menu-links a {
    font-size: 1.28rem;
    letter-spacing: 0.02em;
  }

  .menu-phone {
    left: 18px;
    bottom: 88px;
    gap: 22px;
    font-size: 1.45rem;
  }
}

@media (max-width: 430px) {
  .gallery {
    column-count: 1;
  }

  .gallery img,
  .gallery.mixed img:nth-child(2n) {
    height: auto;
  }
}
