:root {
  --lime: #b6f35f;
  --lime-dark: #78aa38;
  --ink: #141714;
  --panel: #202018;
  --brown: #3a2d22;
  --paper: #f7f5ef;
  --muted: #676b61;
  --line: #ded9ca;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(20, 23, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: rgba(20, 23, 20, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(182, 243, 95, 0.24);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  font-weight: 950;
  box-shadow: 0 0 28px rgba(182, 243, 95, 0.45);
}

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

.brand small {
  color: rgba(255, 255, 255, 0.68);
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.95rem;
}

nav a,
.header-call {
  text-decoration: none;
}

.header-call {
  padding: 12px 16px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  font-weight: 800;
}

.floating-appointment {
  position: fixed;
  right: clamp(16px, 4vw, 34px);
  bottom: clamp(16px, 4vw, 34px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid rgba(20, 23, 20, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 23, 20, 0.28);
  font-weight: 950;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: clamp(560px, calc(100vh - 76px), 760px);
  max-height: 760px;
  overflow: hidden;
  display: grid;
  align-items: start;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 6vw, 84px);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 8, 0.9) 0%, rgba(14, 15, 12, 0.72) 42%, rgba(14, 15, 12, 0.18) 100%),
    linear-gradient(0deg, rgba(20, 23, 20, 0.68), rgba(20, 23, 20, 0));
}

.hero-content {
  position: relative;
  max-width: 760px;
  color: var(--white);
  padding-top: clamp(12px, 4vh, 40px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 6.2vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 10px;
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  color: var(--ink);
  background: var(--lime);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info div {
  padding: 26px clamp(18px, 4vw, 54px);
  background: var(--white);
}

.quick-info span,
.quick-info small {
  display: block;
  color: var(--muted);
}

.quick-info strong {
  display: block;
  margin: 8px 0 4px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section,
.split-section,
.appointment-section,
.contact-section {
  padding: clamp(56px, 8vw, 100px) clamp(18px, 6vw, 84px);
}

.appointment-section {
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.special-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 23, 20, 0.06);
}

.special-card.service-photo {
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(8, 10, 8, 0.9), rgba(8, 10, 8, 0.52)),
    var(--service-image);
  background-position: center;
  background-size: cover;
  border-color: rgba(20, 23, 20, 0.28);
}

.price {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 2rem;
  font-weight: 950;
}

.special-card p,
.split-section p,
.appointment-copy p,
.contact-section p {
  color: var(--muted);
  line-height: 1.65;
}

.special-card.service-photo p {
  color: rgba(255, 255, 255, 0.72);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: #ebe6da;
}

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

.service-list span {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(58, 45, 34, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.appointment-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.booking-form {
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hidden {
  display: none;
}

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

label,
legend {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 850;
}

.sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.sms-consent input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #ccc5b5;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

fieldset {
  margin: 4px 0 18px;
  padding: 0;
  border: 0;
}

.calendar-booking {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.72fr);
  gap: 18px;
}

.calendar-panel,
.time-panel,
.details-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.calendar-panel,
.time-panel {
  padding: 16px;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.calendar-toolbar h3 {
  margin: 0;
  font-size: 1.08rem;
  text-align: center;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ccc5b5;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.weekday-row,
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekday-row {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.date-button {
  min-height: 46px;
  border: 1px solid #d8d1c1;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.date-button:hover,
.time-option:hover,
.icon-btn:hover {
  border-color: var(--lime-dark);
}

.date-button[aria-pressed="true"] {
  border-color: var(--lime-dark);
  background: var(--lime);
}

.date-button:disabled {
  color: #aaa294;
  background: #f1ede3;
  cursor: not-allowed;
}

.date-button.weekend {
  color: #948b7d;
  background: #ece5d8;
}

.date-spacer {
  min-height: 46px;
}

.selected-date,
.form-step-title {
  margin: 0 0 14px;
  font-weight: 900;
}

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

.time-option {
  display: grid;
  gap: 2px;
  min-height: 62px;
  padding: 10px;
  border: 1px solid #ccc5b5;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.time-option strong,
.time-option small {
  display: block;
}

.time-option small {
  color: var(--muted);
}

.time-option[aria-pressed="true"] {
  border-color: var(--lime-dark);
  background: var(--lime);
}

.slot-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.details-panel {
  margin-top: 18px;
  padding: 18px;
}

.submit-btn {
  width: 100%;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: var(--white);
  background: var(--ink);
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.72);
}

.map-link {
  flex: 0 0 auto;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 6vw, 84px) 96px;
  color: rgba(255, 255, 255, 0.7);
  background: #0f110f;
}

.thanks-page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 10, 8, 0.9), rgba(8, 10, 8, 0.68)),
    url("assets/garage-hero.png") center / cover;
}

.thanks-wrap {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 34px;
  padding: clamp(28px, 7vw, 84px);
}

.thanks-brand {
  color: var(--white);
}

.thanks-panel {
  max-width: 780px;
}

.thanks-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.65;
}

.btn.secondary.dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-call {
    position: absolute;
    top: 14px;
    right: 18px;
  }

  .quick-info,
  .special-grid,
  .split-section,
  .appointment-section,
  .calendar-booking {
    grid-template-columns: 1fr;
  }

  .special-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
    padding-right: 150px;
  }

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

  .hero {
    min-height: 620px;
    align-items: start;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(8, 10, 8, 0.94) 0%, rgba(8, 10, 8, 0.78) 58%, rgba(8, 10, 8, 0.18) 100%);
  }

  .field-row,
  .service-list {
    grid-template-columns: 1fr;
  }

  .weekday-row,
  .date-grid {
    gap: 5px;
  }

  .date-button,
  .date-spacer {
    min-height: 40px;
  }

  .contact-section,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-appointment {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }
}
