/* ONYX DETAILING — Premium Auto Detailing 2026 */

:root {
  --bg-primary: #070707;
  --bg-secondary: #0d0d0f;
  --bg-card: #121214;
  --bg-elevated: #18181a;
  --text-primary: #fafafa;
  --text-secondary: #b4b0a8;
  --text-muted: #77736d;
  --accent: #d5ad68;
  --accent-hover: #e2bf7d;
  --accent-glow: rgba(213, 173, 104, 0.18);
  --silver: #d8d2c7;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --header-height: 72px;
  --container: 1200px;
  --radius: 8px;
  --radius-sm: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 70% -10%, rgba(213, 173, 104, 0.08), transparent 34vw),
    linear-gradient(180deg, #070707 0%, #0a0a0b 52%, #070707 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #f0d18c, var(--accent) 52%, #9d743c);
  color: #0b0906;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #ffe0a0, var(--accent-hover) 52%, #aa7e42);
  box-shadow: 0 0 30px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.btn--outline {
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.btn--outline:hover {
  border-color: var(--silver);
  background: rgba(255, 255, 255, 0.04);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__mark {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.logo__sub {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--text-secondary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.nav__list {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
}

.header__cta {
  flex-shrink: 0;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  transform-origin: center;
}

.burger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger--active span:nth-child(2) {
  opacity: 0;
}

.burger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  padding-top: var(--header-height);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.82) contrast(1.08);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.78) 42%, rgba(7, 7, 7, 0.22) 100%),
    linear-gradient(to top, var(--bg-primary) 0%, transparent 32%),
    radial-gradient(circle at 78% 28%, rgba(213, 173, 104, 0.14), transparent 28vw);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 90px 24px 58px;
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(280px, 360px);
  align-content: center;
  align-items: end;
  gap: 56px 96px;
}

.hero__copy {
  max-width: 680px;
}

.hero__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero__stats {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-self: end;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.hero__stats svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.8;
}

.hero__aside {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.72), rgba(8, 8, 9, 0.52));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.hero__aside-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-heading);
}

.hero__aside-head span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.hero__aside-head strong {
  font-size: 28px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.24);
}

.hero__aside-list {
  display: grid;
  gap: 0;
}

.hero__aside-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__aside-list span,
.service-card__kicker {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__aside-list b {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-primary);
}

.hero__aside-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Sections */
.section {
  padding: 92px 0;
}

.section__head {
  margin-bottom: 48px;
  max-width: none;
  display: grid;
  grid-template-columns: 180px minmax(0, 650px);
  gap: 32px;
  align-items: start;
}

.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 720px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding-top: 7px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Services */
.services {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 22%),
    var(--bg-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016));
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(213, 173, 104, 0.09);
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Featured card — spans 2 cols, image top */
.service-card--featured {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
}

.service-card--featured .service-card__image {
  height: 260px;
  overflow: hidden;
}

.service-card--featured .service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card--featured:hover .service-card__image img {
  transform: scale(1.04);
}

.service-card--featured .service-card__body {
  padding: 30px;
}

/* Accent card */
.service-card--accent {
  grid-column: span 5;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-top: 2px solid rgba(213, 173, 104, 0.64);
}

.service-card--accent .service-card__thumb {
  margin-top: auto;
  padding-top: 20px;
  height: 150px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.service-card--accent .service-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Horizontal card */
.service-card--horizontal {
  grid-column: span 4;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card--horizontal .service-card__row {
  display: block;
}

.service-card--horizontal .service-card__row .service-card__icon {
  margin-bottom: 16px;
}

.service-card--horizontal .service-card__strip {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

/* Minimal card */
.service-card--minimal {
  grid-column: span 4;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.service-card--minimal .service-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.service-card--minimal .service-card__top .service-card__icon {
  margin-bottom: 0;
}

.service-card--minimal .service-card__image--small {
  margin-top: 20px;
  height: 118px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.service-card--minimal .service-card__image--small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wash card */
.service-card--wash {
  grid-column: span 4;
  position: relative;
  min-height: 350px;
  border: none;
}

.service-card--wash .service-card__wash-bg {
  position: absolute;
  inset: 0;
}

.service-card--wash .service-card__wash-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card--wash .service-card__wash-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 7, 0.96) 24%, rgba(7, 7, 7, 0.38) 100%);
}

.service-card--wash .service-card__wash-content {
  position: relative;
  z-index: 1;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Works */
.works__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}

.works__item {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  grid-column: span 4;
}

.works__item--large {
  grid-column: span 6;
  grid-row: span 2;
}

.works__item--wide {
  grid-column: span 6;
}

.works__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.works__item:hover img {
  transform: scale(1.03);
}

.works__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 22px 18px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(to top, rgba(7, 7, 7, 0.9), transparent);
  transform: translateY(4px);
  opacity: 0.9;
  transition: var(--transition);
}

.works__item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* Stats */
.stats {
  background:
    linear-gradient(90deg, rgba(213, 173, 104, 0.06), transparent 34%, rgba(255, 255, 255, 0.02)),
    var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}

.stat {
  background: rgba(255, 255, 255, 0.018);
  padding: 42px 30px;
  text-align: left;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--silver);
}

.stat__unit {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--accent);
  margin-left: 2px;
}

.stat__label {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Timeline */
.timeline {
  position: relative;
}

.timeline__track {
  display: none;
}

.timeline__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.timeline__steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 173, 104, 0.48), transparent);
}

.timeline__step {
  text-align: center;
  position: relative;
}

.timeline__dot {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

.timeline__dot span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 8px;
}

/* Packages */
.packages {
  background: var(--bg-secondary);
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.package {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.package:hover {
  border-color: var(--border-light);
}

.package--highlight {
  border-color: rgba(213, 173, 104, 0.36);
  background:
    linear-gradient(180deg, rgba(213, 173, 104, 0.09) 0%, rgba(255, 255, 255, 0.016) 42%),
    var(--bg-card);
}

.package__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.package__name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.package__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.package__list {
  flex: 1;
  margin-bottom: 32px;
}

.package__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.package__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.package__footer {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.package__price {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.package__price strong {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

.package__btn {
  width: 100%;
}

/* Contact */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact__text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__link,
.contact__address {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.contact__link:hover {
  color: var(--accent);
}

.contact__link svg,
.contact__address svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.7;
}

/* Form */
.form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.016));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form__group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: rgba(7, 7, 7, 0.42);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-muted);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form__group input.error,
.form__group select.error {
  border-color: #ef4444;
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form__group textarea {
  resize: vertical;
  min-height: 96px;
}

.form__error {
  font-size: 12px;
  color: #ef4444;
  min-height: 16px;
}

.form__submit {
  grid-column: 1 / -1;
  width: 100%;
}

.form__success {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(213, 173, 104, 0.1);
  border: 1px solid rgba(213, 173, 104, 0.25);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.form__success svg {
  flex-shrink: 0;
  color: var(--accent);
}

.form__success p {
  font-size: 14px;
  line-height: 1.5;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__tagline {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--text-primary);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer__contacts a:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Mobile nav overlay */
.nav--open {
  display: flex !important;
}

/* Responsive — Tablet */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }

  .hero__aside {
    max-width: 520px;
  }

  .hero__stats {
    padding-top: 22px;
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 4px;
    max-width: 720px;
  }

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

  .service-card--featured,
  .service-card--accent,
  .service-card--horizontal,
  .service-card--minimal,
  .service-card--wash {
    grid-column: span 1;
  }

  .service-card--wash {
    min-height: 300px;
  }

  .works__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .works__item,
  .works__item--large,
  .works__item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .timeline__steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline__steps::before {
    display: none;
  }

  .timeline__step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 20px;
    text-align: left;
    padding-bottom: 32px;
    position: relative;
  }

  .timeline__step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    width: 1px;
    background: var(--border-light);
  }

  .timeline__dot {
    margin: 0;
    grid-row: 1 / 3;
  }

  .timeline__title {
    align-self: end;
    margin-bottom: 4px;
  }

  .timeline__text {
    padding: 0;
  }

  .packages__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Responsive — Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 7, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 32px 24px;
    z-index: 999;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__content {
    padding: 44px 24px 50px;
    align-content: start;
    gap: 28px;
  }

  .hero__title {
    font-size: clamp(36px, 12vw, 50px);
    line-height: 0.98;
  }

  .hero__subtitle {
    max-width: none;
  }

  .hero__aside {
    padding: 20px;
  }

  .hero__aside-list li {
    padding: 14px 0;
  }

  .hero__stats {
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
  }

  .hero__stats li {
    border-radius: var(--radius-sm);
  }

  .section {
    padding: 68px 0;
  }

  .section__head {
    margin-bottom: 34px;
  }

  .section__title {
    font-size: clamp(28px, 9vw, 36px);
  }

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

  .works__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .service-card--featured .service-card__image {
    height: 210px;
  }

  .service-card--accent .service-card__thumb,
  .service-card--horizontal .service-card__strip,
  .service-card--minimal .service-card__image--small {
    height: 132px;
  }

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

  .stat {
    padding: 32px 24px;
  }

  .form {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__aside {
    display: none;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .btn--lg {
    padding: 14px 24px;
  }
}
