/* ============================================================
   KBE MOTORSPORT — STYLESHEET
   Dark, industrial, precision-engineered
   ============================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --color-bg:        #0A0A0A;
  --color-surface:   #141414;
  --color-surface-2: #1C1C1C;
  --color-accent:    #C8A000;
  --color-red:       #CC2200;
  --color-text:      #E8E8E8;
  --color-muted:     #888888;
  --color-border:    #2A2A2A;

  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --nav-height: 72px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1200px;
  --radius: 2px;

  --transition-base: 200ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ── UTILITY ────────────────────────────────────────────────── */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.section {
  padding-block: var(--section-pad);
}

.section__header {
  margin-bottom: clamp(48px, 7vw, 80px);
}

.section__label {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section__heading {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: 20px;
}

.section__heading em {
  font-style: italic;
  color: var(--color-muted);
}

.section__sub {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 560px;
  line-height: 1.7;
}

.inline-link {
  color: var(--color-accent);
  border-bottom: 1px solid rgba(200, 160, 0, 0.3);
  transition: border-color var(--transition-base);
}

.inline-link:hover {
  border-color: var(--color-accent);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 15px 36px;
  border-radius: var(--radius);
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  text-transform: uppercase;
}

.btn--primary {
  background: var(--color-accent);
  color: #000;
}

.btn--primary:hover {
  background: #e0b300;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(200, 160, 0, 0.25);
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow), border-color var(--transition-slow);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding-inline: clamp(20px, 5vw, 60px);
  max-width: var(--container);
  margin-inline: auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  display: block;
  width: auto;
  border-radius: 50%;
}

.nav__links {
  display: flex;
  gap: 40px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.75);
  transition: color var(--transition-base);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-accent);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
  transform-origin: left center;
}

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(-1px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(1px); }

/* Drawer */
.nav__drawer {
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 380ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__drawer.open {
  max-height: 320px;
}

.nav__drawer-links {
  padding: 20px clamp(20px, 5vw, 60px) 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__drawer-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.75);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
  transition: color var(--transition-base);
}

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

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 10vh, 100px);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-inline: clamp(20px, 5vw, 60px);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
  max-width: 760px;
  margin-left: clamp(20px, 8vw, 120px);
}

.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(52px, 8.5vw, 96px);
  line-height: 0.9;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(232, 232, 232, 0.80);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__ghost {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(232, 232, 232, 0.75);
  transition: color var(--transition-base);
}

.hero__ghost:hover {
  color: #fff;
}

/* Instagram badge — bottom left */
.hero__instagram {
  position: absolute;
  bottom: clamp(28px, 5vh, 48px);
  right: clamp(20px, 5vw, 60px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(232, 232, 232, 0.65);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color var(--transition-base);
}

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

.hero__ig-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── SERVICES ────────────────────────────────────────────────── */
.services {
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.service-card {
  background: var(--color-surface);
  padding: 36px 32px;
  border-top: 2px solid var(--color-border);
  border-left: 3px solid transparent;
  transition: background var(--transition-base), border-color var(--transition-base), border-left-color var(--transition-base), transform var(--transition-base);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  background: var(--color-surface-2);
  border-left-color: var(--color-accent);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent);
  margin-bottom: 20px;
  opacity: 0.85;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.1;
}

.service-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-muted);
}

/* ── WORK ─────────────────────────────────────────────────────── */
.work {
  background: var(--color-surface);
}

/* ── FEATURED BUILD ───────────────────────────────────────────── */
.featured {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: 540px;
}

.featured__image {
  position: relative;
  overflow: hidden;
}

.featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.9) saturate(0.95);
  transition: transform 600ms ease;
}

.featured:hover .featured__image img {
  transform: scale(1.02);
}

.featured__content {
  background: var(--color-surface-2);
  padding: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-left: 1px solid var(--color-border);
}

.featured__label {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.featured__heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.0;
  color: var(--color-text);
  margin-bottom: 24px;
}

.featured__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.featured__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.featured__pill {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(200, 160, 0, 0.35);
  padding: 7px 16px;
  border-radius: 2px;
  background: rgba(200, 160, 0, 0.06);
}

/* ── PHOTO GRID ───────────────────────────────────────────────── */
.work .container {
  padding-block: clamp(48px, 7vw, 80px);
}

.work__grid {
  columns: 3;
  column-gap: 3px;
}

.grid-item {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-2);
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 3px;
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
  filter: brightness(0.88) saturate(0.85);
  transition: transform 500ms ease, filter 500ms ease;
}

.grid-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.55) saturate(1.05);
}

.grid-item__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 280ms ease;
  border-bottom: 2px solid transparent;
}

.grid-item:hover .grid-item__caption,
.grid-item:focus-visible .grid-item__caption {
  opacity: 1;
  border-bottom-color: var(--color-accent);
}

.grid-item__caption span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.3;
}

/* ── LIGHTBOX ─────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(900px, 90vw);
  width: 100%;
  padding: 20px;
}

.lightbox__img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 1px;
  display: block;
  transition: opacity 200ms ease;
}

.lightbox__caption {
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 32px;
  line-height: 1;
  color: rgba(232,232,232,0.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-base);
  z-index: 2001;
  padding: 4px 8px;
}

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

.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: rgba(232,232,232,0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 20px;
  transition: color var(--transition-base);
  z-index: 2001;
}

.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox__prev:hover,
.lightbox__next:hover { color: var(--color-accent); }

/* ── REVIEWS ─────────────────────────────────────────────────── */
.reviews {
  background: var(--color-surface);
}

.reviews__stars {
  color: var(--color-accent);
  font-size: 0.85em;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--color-surface-2);
  border-left: 3px solid var(--color-border);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: border-left-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card:hover {
  border-left-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.review-card__stars {
  color: var(--color-accent);
  font-size: 15px;
  letter-spacing: 2px;
}

.review-card__quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  font-style: normal;
  flex: 1;
}

.review-card__quote::before {
  content: '\201C';
  color: var(--color-accent);
  font-size: 1.2em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 2px;
}

.review-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.review-card__author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
}

.review-card__date {
  font-size: 12px;
  color: var(--color-muted);
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact {
  background: var(--color-bg);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(200, 160, 0, 0.03) 0px,
      rgba(200, 160, 0, 0.03) 1px,
      transparent 1px,
      transparent 30px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(200, 160, 0, 0.03) 0px,
      rgba(200, 160, 0, 0.03) 1px,
      transparent 1px,
      transparent 30px
    );
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

/* ── CONTACT LEFT ─────────────────────────────────────────────── */
.contact__info {
  padding: clamp(60px, 9vw, 120px) clamp(32px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--color-border);
}

.contact__label {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.contact__heading {
  font-family: var(--font-heading);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--color-accent);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.contact__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-muted);
  max-width: 380px;
  margin-bottom: 48px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--color-text);
}

.contact__detail-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact__detail-icon svg {
  width: 100%;
  height: 100%;
}

.contact__ig-link {
  color: var(--color-text);
  border-bottom: 1px solid rgba(232, 232, 232, 0.2);
  transition: color var(--transition-base), border-color var(--transition-base);
}

.contact__ig-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.contact__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 340px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

/* ── CONTACT FORM ─────────────────────────────────────────────── */
.contact__form-wrap {
  padding: clamp(60px, 9vw, 120px) clamp(32px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row--two {
  flex-direction: row;
  gap: 16px;
}

.form__row--two .form__group {
  flex: 1;
  min-width: 0;
}

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

.form__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form__req {
  color: var(--color-accent);
}

.form__optional {
  color: var(--color-border);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.form__input {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.form__input::placeholder {
  color: #444;
}

.form__input:hover {
  border-color: #3a3a3a;
}

.form__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 160, 0, 0.10);
  background: #1f1f1f;
}

.form__input.form__input--error {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(204, 34, 0, 0.10);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Select */
.form__select-wrap {
  position: relative;
}

.form__select {
  cursor: pointer;
  padding-right: 44px;
}

.form__select option {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.form__select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-muted);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
}

.form__select-arrow svg {
  width: 100%;
  height: 100%;
}

/* Inline error messages */
.form__error {
  font-size: 12px;
  color: var(--color-red);
  min-height: 16px;
  display: block;
  letter-spacing: 0.02em;
}

/* Submit button */
.form__submit {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  padding: 18px 32px;
  width: 100%;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.form__submit:hover {
  background: #dbb400;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(200, 160, 0, 0.28);
}

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

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Success state */
.form__success {
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(200, 160, 0, 0.08);
  border: 1px solid rgba(200, 160, 0, 0.3);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 4px;
}

.form__success[aria-hidden="false"] {
  display: flex;
}

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

.form__success p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer__main {
  padding: clamp(48px, 7vw, 80px) 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer__logo img {
  display: block;
  width: auto;
  border-radius: 50%;
}

.footer__location {
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}


.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer__ig {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(232, 232, 232, 0.65);
  font-size: 14px;
  transition: color var(--transition-base);
}

.footer__ig svg {
  width: 22px;
  height: 22px;
}

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

.footer__caption {
  font-size: 13px;
  color: var(--color-muted);
  text-align: right;
  line-height: 1.6;
}

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

.footer__bar p {
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

/* ── HERO ENTRANCE ANIMATIONS ────────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow {
    animation: heroFadeIn 0.6s ease 0.15s both;
  }
  .hero__heading {
    animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
  }
  .hero__sub {
    animation: heroFadeUp 0.65s ease 0.72s both;
  }
  .hero__actions {
    animation: heroFadeIn 0.6s ease 1.0s both;
  }
  .hero__instagram {
    animation: heroFadeIn 0.6s ease 1.25s both;
  }
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Featured build — slide in from sides */
.featured__image.reveal  { transform: translateX(-20px); }
.featured__content.reveal { transform: translateX(20px); }
.featured__image.reveal.visible,
.featured__content.reveal.visible { transform: translateX(0); }

/* Contact columns same treatment */
.contact__info.reveal      { transform: translateX(-20px); }
.contact__form-wrap.reveal  { transform: translateX(20px); }
.contact__info.reveal.visible,
.contact__form-wrap.reveal.visible { transform: translateX(0); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .featured__image {
    height: 420px;
  }

  .featured__content {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .work__grid {
    columns: 2;
  }

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

  .contact__info {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: clamp(40px, 6vw, 72px);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero-content {
    margin-left: 0;
    padding-inline: clamp(20px, 6vw, 40px);
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

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

  .featured__image {
    height: 300px;
  }

  .work__grid {
    columns: 1;
  }

  .form__row--two {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer__right {
    align-items: flex-start;
  }

  .footer__caption {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero__instagram {
    right: 20px;
    bottom: 20px;
  }

  .hero__instagram span {
    display: none;
  }
}

/* ── FOCUS & ACCESSIBILITY ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ── SELECTION ───────────────────────────────────────────────── */
::selection {
  background: rgba(200, 160, 0, 0.25);
  color: #fff;
}

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}
