:root {
  --ink: #11100f;
  --paper: #f7f6f2;
  --white: #ffffff;
  --red: #d7262e;
  --red-dark: #b81720;
  --line: #d8d5ce;
  --muted: #6f6c66;
  --font-display: "Archivo Black", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 36px, 1320px);
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.brand {
  width: 155px;
  padding: 8px 10px;
  background: var(--white);
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.topbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.topbar-tab {
  padding: 12px 4px 10px;
  color: var(--white);
  border-bottom: 2px solid var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar-tab:hover {
  color: #ffd8da;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid var(--red);
  border-radius: 0;
  color: var(--white);
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffbd20;
  outline-offset: 3px;
}

.button-small {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 0.68rem;
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero::after {
  content: "CERAMIC";
  position: absolute;
  right: -0.07em;
  bottom: -0.16em;
  z-index: 0;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--font-display);
  font-size: clamp(7rem, 19vw, 19rem);
  line-height: 1;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 9, 0.97) 0%, rgba(10, 9, 9, 0.79) 41%, rgba(10, 9, 9, 0.16) 73%),
    linear-gradient(0deg, rgba(10, 9, 9, 0.78) 0%, transparent 48%),
    url("images/hero-car.jpg") center / cover no-repeat;
  transform: scale(1.015);
  animation: hero-settle 1.2s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 36px, 1320px);
  min-height: 760px;
  margin: 0 auto;
  padding: 155px 0 48px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 31px;
  height: 3px;
  background: var(--red);
}

.eyebrow.dark {
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 8.4vw, 8.2rem);
  line-height: 0.86;
}

h1 em,
h2 em {
  color: var(--red);
  font-style: normal;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span,
.price-row > a span,
.review-section > a span {
  color: var(--red);
  transition: transform 180ms ease;
}

.text-link:hover span,
.price-row > a:hover span,
.review-section > a:hover span {
  display: inline-block;
  transform: translate(2px, -2px);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: auto 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.27);
  list-style: none;
}

.benefit-strip li {
  display: flex;
  gap: 13px;
  padding-right: 22px;
}

.benefit-strip svg {
  width: 26px;
  min-width: 26px;
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.benefit-strip span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.4;
}

.benefit-strip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  min-height: 76px;
  padding: 20px;
  color: var(--white);
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-rail p {
  margin: 0;
}

.trust-rail span {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

.section {
  width: min(100% - 36px, 1240px);
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading h2,
.comparison-intro h2,
.quote-copy h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6.1vw, 6rem);
  line-height: 0.94;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 58px;
}

.split-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.price-list {
  border-top: 1px solid var(--ink);
}

.price-row {
  display: grid;
  grid-template-columns: 65px minmax(310px, 1fr) 190px 120px;
  align-items: center;
  min-height: 146px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 180ms ease;
}

.price-row:hover,
.price-row.featured {
  padding-inline: 20px;
  background: var(--paper);
}

.price-number {
  align-self: start;
  padding-top: 26px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.vehicle-name {
  display: flex;
  align-items: center;
  gap: 28px;
}

.vehicle-name svg {
  width: 82px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.vehicle-name h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.vehicle-name p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.price small,
.price strong {
  display: block;
}

.price small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price strong {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 400;
}

.price-row > a {
  justify-self: end;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.pricing-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.pricing-note a {
  color: var(--ink);
  font-weight: 700;
}

.work {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1240px) / 2));
  color: var(--white);
  background: var(--ink);
}

.work-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: end;
  margin-bottom: 55px;
}

.work-heading .eyebrow {
  margin-bottom: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr;
  grid-template-rows: repeat(2, 290px);
  gap: 12px;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.gallery-grid .gallery-main {
  grid-row: 1 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: transform 500ms cubic-bezier(.2, .7, .2, 1), filter 300ms ease;
}

.gallery-grid figure:hover img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.025);
}

.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  gap: 13px;
  padding: 38px 18px 17px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-grid figcaption span {
  color: var(--red);
}

.gallery-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  text-align: right;
}

.comparison {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.28fr);
  gap: 100px;
}

.comparison-intro > p:last-child {
  max-width: 460px;
  margin: 30px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.comparison-table {
  border-top: 1px solid var(--ink);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}

.comparison-row > *:not(:first-child) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.comparison-row strong {
  display: flex;
  align-items: center;
  align-self: stretch;
  color: var(--red);
  background: #fff7f6;
}

.comparison-row strong::before {
  content: "✓";
  margin-right: 9px;
}

.comparison-row.table-head {
  min-height: 58px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.comparison-row.table-head strong {
  color: var(--white);
  background: var(--red);
}

.comparison-row.table-head strong::before {
  content: none;
}

.review-section {
  display: grid;
  grid-template-columns: 64px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 38px max(18px, calc((100vw - 1240px) / 2));
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.google-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 5px 25px rgba(17, 16, 15, 0.08);
  font-size: 1.7rem;
  font-weight: 700;
}

.google-mark span {
  color: #4285f4;
}

.stars {
  margin-bottom: 5px;
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.review-copy p {
  margin: 0;
  font-weight: 600;
}

.review-section > a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(520px, 1.15fr);
  gap: 100px;
  padding: 112px max(18px, calc((100vw - 1240px) / 2));
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(215, 38, 46, 0.11), transparent 34%),
    var(--ink);
}

.quote-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.61);
  line-height: 1.75;
}

.quote-contact {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-contact span,
.quote-contact a {
  display: block;
}

.quote-contact span {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-contact a {
  font-family: var(--font-display);
  font-size: 1.65rem;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 21px;
  padding: 40px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 18px 18px 0 var(--red);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #c9c6bf;
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.field input,
.field select {
  height: 52px;
  padding: 0 14px;
}

.field textarea {
  min-height: 98px;
  padding: 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #96928b;
}

.form-button {
  width: 100%;
  cursor: pointer;
}

.form-button span {
  margin-left: 10px;
}

.form-note {
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

footer {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 34px max(18px, calc((100vw - 1240px) / 2));
  color: rgba(255, 255, 255, 0.48);
  background: #090909;
  font-size: 0.72rem;
}

.footer-brand {
  width: 160px;
  padding: 8px 10px;
  background: var(--white);
}

footer p {
  margin: 0;
}

footer p:last-child {
  text-align: right;
}

@keyframes hero-settle {
  from { opacity: 0; transform: scale(1.055); }
  to { opacity: 1; transform: scale(1.015); }
}

@media (max-width: 980px) {
  .hero,
  .hero-content {
    min-height: 720px;
  }

  .price-row {
    grid-template-columns: 45px 1fr 150px 100px;
  }

  .comparison,
  .quote-section {
    gap: 55px;
  }

  .quote-section {
    grid-template-columns: 0.7fr 1.3fr;
  }
}

@media (max-width: 820px) {
  .section {
    padding-block: 82px;
  }

  .split-heading,
  .comparison,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 28px;
  }

  .split-heading > p {
    max-width: 600px;
  }

  .price-row {
    grid-template-columns: 40px 1fr 145px;
  }

  .price-row > a {
    display: none;
  }

  .work-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-grid {
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: repeat(2, 230px);
  }

  .comparison {
    gap: 48px;
  }

  .comparison-intro > p:last-child {
    max-width: 620px;
  }

  .quote-section {
    gap: 52px;
    padding-block: 82px;
  }

  .quote-contact {
    max-width: 460px;
    margin-top: 35px;
  }
}

@media (max-width: 640px) {
  .topbar {
    width: calc(100% - 28px);
    padding-top: 14px;
  }

  .brand {
    width: 126px;
  }

  .button-small {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.58rem;
  }

  .topbar-actions {
    gap: 9px;
  }

  .topbar-tab {
    font-size: 0.62rem;
  }

  .hero,
  .hero-content {
    min-height: 790px;
  }

  .hero-image {
    background:
      linear-gradient(0deg, rgba(10, 9, 9, 0.98) 3%, rgba(10, 9, 9, 0.54) 55%, rgba(10, 9, 9, 0.18) 100%),
      url("images/hero-mobile.png") center top / cover no-repeat;
  }

  .hero-content {
    justify-content: flex-end;
    width: calc(100% - 28px);
    padding: 125px 0 24px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(3.55rem, 18vw, 5.1rem);
  }

  .hero-copy {
    margin-bottom: 24px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .text-link {
    text-align: center;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 27px;
    padding-top: 18px;
  }

  .benefit-strip li {
    align-items: center;
  }

  .benefit-strip span {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .benefit-strip strong {
    margin: 0;
  }

  .trust-rail {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 22px 18px;
  }

  .trust-rail span {
    display: none;
  }

  .section {
    width: calc(100% - 28px);
    padding-block: 68px;
  }

  .section-heading h2,
  .comparison-intro h2,
  .quote-copy h2 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .split-heading {
    margin-bottom: 40px;
  }

  .price-row,
  .price-row:hover,
  .price-row.featured {
    grid-template-columns: 1fr auto;
    gap: 18px;
    min-height: 0;
    padding: 28px 0;
    background: transparent;
  }

  .price-number,
  .vehicle-name svg {
    display: none;
  }

  .vehicle-name {
    gap: 0;
  }

  .vehicle-name h3 {
    font-size: 1.22rem;
  }

  .price {
    text-align: right;
  }

  .price strong {
    font-size: 1.75rem;
  }

  .work {
    width: 100%;
    padding-inline: 14px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 330px 180px;
  }

  .gallery-grid .gallery-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .gallery-grid figure:not(.gallery-main) figcaption {
    font-size: 0.55rem;
  }

  .gallery-note {
    text-align: left;
  }

  .comparison {
    gap: 36px;
  }

  .comparison-row {
    grid-template-columns: 1.1fr 0.8fr 0.7fr;
    min-height: 64px;
    font-size: 0.75rem;
  }

  .comparison-row > *:not(:first-child) {
    padding-left: 12px;
  }

  .comparison-row strong::before {
    display: none;
  }

  .review-section {
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding-block: 30px;
  }

  .google-mark {
    width: 48px;
    height: 48px;
  }

  .review-copy p {
    font-size: 0.83rem;
  }

  .review-section > a {
    grid-column: 1 / 3;
    padding-top: 4px;
  }

  .quote-section {
    padding-block: 68px;
  }

  .quote-form {
    gap: 17px;
    padding: 25px 20px;
    box-shadow: 8px 8px 0 var(--red);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: start;
  }

  footer p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
