:root {
  --sand: #f5efe4;
  --sand-deep: #d9c7a1;
  --terracotta: #c7684a;
  --terracotta-deep: #7d3d2d;
  --sun: #d9a551;
  --sun-soft: #f3d7a0;
  --sage: #6f8672;
  --sage-deep: #2d4a3d;
  --ink: #1c1a18;
  --paper: #f8f4ee;
  --card: #fffdf9;
  --line: rgba(28, 26, 24, 0.08);
  --shadow: 0 22px 40px rgba(61, 44, 29, 0.12);
  --shadow-soft: 0 10px 24px rgba(61, 44, 29, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--terracotta-deep);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  max-width: 620px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: rgba(38, 31, 29, 0.8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 238, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 26, 24, 0.06);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.brand-mark {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  border: none;
  overflow: hidden;
  margin-top: 2px;
  margin-bottom: 2px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name,
.brand small {
  display: block;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.brand small {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(28, 26, 24, 0.68);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 700;
  color: rgba(38, 31, 29, 0.8);
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.92rem 1.5rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-deep));
  color: white;
  box-shadow: 0 18px 30px rgba(125, 61, 45, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  border: 1px solid rgba(28, 26, 24, 0.12);
}

.light-button {
  background: white;
  color: var(--terracotta-deep);
}

.hero {
  position: relative;
  padding: 82px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(217, 165, 81, 0.18), transparent 18%),
    linear-gradient(135deg, rgba(245, 239, 228, 0.96), rgba(250, 247, 242, 0.98));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(45, 74, 61, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 44%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.lead {
  font-size: 1.18rem;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 20px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
  color: rgba(38, 31, 29, 0.8);
}

.trust-list li::before {
  content: "•";
  color: var(--terracotta);
  margin-right: 8px;
}

.hero-visual {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-card {
  position: relative;
  width: min(100%, 520px);
  height: 500px;
  min-height: 500px;
  border-radius: 30px;
  border: 1px solid rgba(28, 26, 24, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(22, 20, 18, 0.08), rgba(22, 20, 18, 0.33));
}

.repair-scene {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f7f1e7;
}

.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border: 1px solid rgba(28, 26, 24, 0.08);
}

.mini-panel {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(76%, 360px);
}

.mini-panel div {
  background: rgba(248, 244, 238, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 16px 14px;
  border: 1px solid rgba(28, 26, 24, 0.08);
  box-shadow: var(--shadow-soft);
}

.mini-panel strong {
  display: block;
  font-size: 1.18rem;
  color: var(--ink);
}

.mini-panel span {
  color: rgba(38, 31, 29, 0.72);
  font-size: 0.8rem;
}

.section-heading {
  margin-bottom: 40px;
  max-width: 700px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.services {
  background: white;
}

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

.service-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 241, 232, 0.96));
  border: 1px solid rgba(28, 26, 24, 0.06);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(199, 104, 74, 0.12);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.32rem;
}

.about {
  background: linear-gradient(180deg, rgba(245, 235, 219, 0.4), rgba(255, 255, 255, 0.65));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: center;
}

.about-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247, 241, 232, 0.96));
  border: 1px solid rgba(28, 26, 24, 0.06);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.about-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.about-panel li {
  position: relative;
  padding-left: 24px;
  font-weight: 600;
  color: rgba(38, 31, 29, 0.8);
}

.about-panel li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--terracotta);
  font-size: 2rem;
  line-height: 1;
}

.process {
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245, 239, 228, 0.96));
  border: 1px solid rgba(28, 26, 24, 0.06);
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}

.step span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--terracotta-deep);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.cta-wrap {
  padding-top: 0;
  padding-bottom: 28px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, var(--sage-deep), var(--sage));
  border-radius: 28px;
  padding: 30px 32px;
  color: white;
  box-shadow: 0 24px 38px rgba(45, 74, 61, 0.16);
}

.cta-box h2,
.cta-box .eyebrow {
  color: white;
}

.contact {
  background: linear-gradient(180deg, rgba(245, 235, 219, 0.28), rgba(250, 247, 242, 0.8));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  font-weight: 700;
}

.contact-list a,
.contact-list span {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,241,232,0.96));
  border: 1px solid rgba(28, 26, 24, 0.06);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(38, 31, 29, 0.14);
  border-radius: 14px;
  background: white;
  padding: 0.9rem 1rem;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(45, 74, 61, 0.12);
  border-color: rgba(45, 74, 61, 0.28);
}

.site-footer {
  background: linear-gradient(180deg, rgba(233, 224, 211, 0.9), rgba(244, 237, 227, 1));
  border-top: 1px solid rgba(28, 26, 24, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  color: rgba(38, 31, 29, 0.8);
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .cta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .section {
    padding: 72px 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
  }

  .brand-copy {
    line-height: 0.9;
    gap: 0;
  }

  .brand-name {
    font-size: 1.04rem;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .brand small {
    font-size: 0.54rem;
    line-height: 1.1;
    letter-spacing: 0.08em;
  }

  .hero {
    padding-top: 60px;
  }

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

  .btn {
    width: 100%;
  }

  .photo-card {
    height: 420px;
    min-height: 420px;
  }

  .mini-panel {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    right: 14px;
    bottom: 14px;
  }
}
