/* =========================================================
   Yusuff Autos — Design System
   Premium dealership UI. Tokens first, components second.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  /* Brand */
  --ink: #111111;
  --ink-soft: #1b1b1b;
  --ink-line: #262626;
  --gold: #c89b3c;
  --gold-soft: #e0bd6c;
  --gold-deep: #a67d26;
  --bg: #f8f8f8;
  --surface: #ffffff;
  --surface-alt: #f1f0ed;
  --text: #333333;
  --text-muted: #6d6d6d;
  --text-invert: #f6f4ef;
  --line: #e3e1dc;
  --success: #1f7a4d;
  --danger: #b03636;
  --warning: #b8801f;

  /* Type */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space */
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --maxw: 1280px;

  /* Shape */
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(17, 17, 17, 0.05), 0 6px 18px rgba(17, 17, 17, 0.05);
  --sh-2: 0 18px 44px -18px rgba(17, 17, 17, 0.32);
  --sh-gold: 0 16px 40px -18px rgba(200, 155, 60, 0.65);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 0.35s var(--ease);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection {
  background: var(--gold);
  color: #fff;
}

/* ---------- Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.section--dark {
  background: var(--ink);
  color: var(--text-invert);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--alt {
  background: var(--surface-alt);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section--dark .eyebrow {
  color: var(--gold-soft);
}
.h-display {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  font-weight: 700;
}
.h-section {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 600;
}
.lede {
  color: var(--text-muted);
  max-width: 62ch;
  font-weight: 300;
  font-size: 1.02rem;
}
.section--dark .lede {
  color: rgba(246, 244, 239, 0.68);
}
.head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.head__text {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  transition: top var(--t);
}
.skip:focus {
  top: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.65rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition:
    transform var(--t),
    box-shadow var(--t),
    background var(--t),
    color var(--t),
    border-color var(--t);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.btn:active {
  transform: translateY(0);
}
.btn--gold {
  --btn-bg: var(--gold);
  --btn-bd: var(--gold);
  --btn-fg: #14100a;
}
.btn--gold:hover {
  --btn-bg: var(--gold-soft);
  box-shadow: var(--sh-gold);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(17, 17, 17, 0.28);
}
.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.45);
}
.btn--ghost-light:hover {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bd: #fff;
}
.btn--wa {
  --btn-bg: #1faa53;
  --btn-bd: #1faa53;
  --btn-fg: #fff;
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 0.62rem 1.1rem;
  font-size: 0.8rem;
}
.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(14px);
  transition:
    background var(--t),
    padding var(--t);
}
.header.is-stuck {
  box-shadow: 0 12px 34px -22px rgba(0, 0, 0, 0.9);
  background: rgba(17, 17, 17, 0.98);
}
.header__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep));
  color: #14100a;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 0.95rem;
}
.brand__logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 160px;
  object-fit: contain;
}
.brand__name {
  display: grid;
  min-width: 0;
}
.brand__name b {
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.brand__name span {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}
@media (max-width:768px) {
  .brand__name span {
    font-size: 0.5rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-soft);
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__link {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.74);
  transition: color var(--t);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t);
}
.nav__link:hover,
.nav__link.is-active {
  color: #fff;
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition:
    background var(--t),
    border-color var(--t),
    transform var(--t);
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.icon-btn--light {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.icon-btn--light:hover {
  background: #fff;
  border-color: var(--gold);
}
.icon-btn__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #14100a;
  font-size: 0.66rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.burger {
  display: none;
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    padding: 1rem var(--gutter) 2rem;

    transform: translateY(-140%);
    transition: transform 0.45s var(--ease);
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0);
  }
  .nav__link {
    padding: 0.95rem 0.2rem;
    font-size: 1rem;

  }
  .nav__link::after {
    display: none;
  }
  .nav .btn {
    margin-top: 1.1rem;
  }
  .burger {
    display: grid;
    place-items: center;
    gap: 1px;
    width: 42px;
    height: 22px;

  }
  .burger span {
    display: block;
    width: 17px;
    height: 1.6px;
    background: #fff;
    transition: transform var(--t), opacity var(--t);
  }
  .burger.is-open span:nth-child(1) {
    transform: translateY(6.6px) rotate(45deg);
  }
  .burger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .burger.is-open span:nth-child(3) {
    transform: translateY(-6.6px) rotate(-45deg);
  }
  .header__cta .btn {
    display:none;
    
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 88vh, 860px);
  display: grid;
  align-items: center;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroPan 22s var(--ease) infinite alternate;
}
@keyframes heroPan {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.16) translateX(-1.5%);
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(9, 9, 9, 0.94) 8%, rgba(11, 11, 11, 0.72) 48%, rgba(11, 11, 11, 0.35) 100%),
    radial-gradient(70% 90% at 85% 15%, rgba(200, 155, 60, 0.22), transparent 65%);
}
.hero__inner {
  padding-block: clamp(5rem, 12vw, 8rem);
  display: grid;
  gap: 1.6rem;
  max-width: 720px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem 2.2rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 620px;
}
.hero__stats b {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero__stats span {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Quick search bar ---------- */
.quicksearch {
  position: relative;
  z-index: 5;
  margin-top: -3.25rem;
}
.quicksearch__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  align-items: end;
}
.field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.field > label,
.field__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  transition:
    border-color var(--t),
    background var(--t),
    box-shadow var(--t);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.16);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%),
    linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% + 1px),
    calc(100% - 13px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

/* ---------- Car card ---------- */
.grid-cars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.9rem);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-2);
  border-color: rgba(200, 155, 60, 0.55);
}
.card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--surface-alt);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter var(--t);
}
.card:hover .card__media img {
  transform: scale(1.09);
}
.card__badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: calc(100% - 4.4rem);
}
.badge {
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(17, 17, 17, 0.85);
  color: #fff;
  backdrop-filter: blur(6px);
}
.badge--gold {
  background: var(--gold);
  color: #14100a;
}
.badge--available {
  background: rgba(31, 122, 77, 0.92);
}
.badge--reserved {
  background: rgba(184, 128, 31, 0.94);
  color: #fff;
}
.badge--sold {
  background: rgba(176, 54, 54, 0.94);
}
.badge--light {
  background: var(--surface-alt);
  color: var(--text);
}
.fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--sh-1);
  transition:
    transform var(--t),
    color var(--t),
    background var(--t);
}
.fav:hover {
  transform: scale(1.1);
}
.fav.is-on {
  color: #d33a4b;
}
.fav.is-on svg {
  fill: currentColor;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
}
.card__brand {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.card__title {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
}
.card__price {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.card__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card__specs li {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}
.card__specs svg {
  flex: 0 0 auto;
  color: var(--gold-deep);
}
.card__specs span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card__foot {
  margin-top: auto;
  padding-top: 0.35rem;
}

/* ---------- Inventory layout ---------- */
.inventory {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}
@media (max-width: 1024px) {
  .inventory {
    grid-template-columns: minmax(0, 1fr);
  }
}
.filters {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.15rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
@media (max-width: 1024px) {
  .filters {
    position: static;
  }
  .filters[hidden] {
    display: none;
  }
}
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.filters__head h2 {
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.link-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity var(--t);
}
.link-btn:hover {
  opacity: 0.65;
}
.checks {
  display: grid;
  gap: 0.45rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.3rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.15rem 0;
  color: var(--text);
}
.check input {
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}
.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}
.toolbar .icon-btn {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sh-1);
}
.toolbar .icon-btn:hover {
  background: #fbfaf7;
  color: var(--gold-deep);
  border-color: var(--gold);
}
.toolbar .icon-btn svg {
  fill: currentColor;
}
.toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.result-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.result-count b {
  color: var(--ink);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 500;
}
.chip button {
  color: var(--text-muted);
  line-height: 1;
  font-size: 0.95rem;
}
.chip button:hover {
  color: var(--danger);
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3rem;
}
.page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 600;
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t),
    transform var(--t);
}
.page-btn:hover:not([disabled]) {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.page-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.page-btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}
.empty {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  text-align: center;
  padding: clamp(2.5rem, 7vw, 5rem) 1rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}
.empty--inventory {
  width: min(100%, 760px);
  margin-inline: auto;
}
.empty--support {
  width: 100%;
}
.grid-cars--support {
  width: 100%;
}

/* ---------- Skeletons ---------- */
.skeleton {
  border-radius: var(--r-lg);
  background: linear-gradient(100deg, #ececec 30%, #f6f6f6 50%, #ececec 70%);
  background-size: 220% 100%;
  animation: shimmer 1.3s infinite linear;
  min-height: 340px;
  border: 1px solid var(--line);
}
@keyframes shimmer {
  to {
    background-position-x: -220%;
  }
}

/* ---------- Feature / value blocks ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.value {
  display: grid;
  gap: 0.75rem;
  padding: 1.9rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
}
.value:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
  border-color: rgba(200, 155, 60, 0.5);
}
.value__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(200, 155, 60, 0.13);
  color: var(--gold-deep);
}
.value h3 {
  font-size: 1.05rem;
}
.value p {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
}
.section--dark .value {
  background: var(--ink-soft);
  border-color: var(--ink-line);
}
.section--dark .value p {
  color: rgba(246, 244, 239, 0.66);
}

/* ---------- Stats ---------- */
.stat {
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.stat span {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Testimonials ---------- */
.quote {
  display: grid;
  gap: 1.1rem;
  padding: 2rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition:
    transform var(--t),
    box-shadow var(--t);
}
.quote:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
}
.quote p {
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--text);
}
.quote__stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}
.quote__who {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-weight: 600;
}
.quote__who b {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}
.quote__who span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- CTA banner ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  padding: clamp(2.4rem, 6vw, 4.2rem);
  display: grid;
  gap: 1.4rem;
  justify-items: start;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 130% at 100% 0%, rgba(200, 155, 60, 0.32), transparent 62%);
}
.cta h2 {
  color: #fff;
  max-width: 20ch;
}
.cta p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
  font-weight: 300;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- Page hero (inner pages) ---------- */
.pagehead {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  isolation: isolate;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 120% at 90% 10%, rgba(200, 155, 60, 0.24), transparent 60%);
}
.pagehead h1 {
  color: #fff;
  margin-top: 0.7rem;
}
.pagehead p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  margin-top: 0.7rem;
  max-width: 62ch;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.crumbs a:hover {
  color: var(--gold);
}

/* ---------- Detail page ---------- */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.8rem);
  align-items: start;
}
@media (max-width: 1024px) {
  .detail {
    grid-template-columns: minmax(0, 1fr);
  }
}
.gallery {
  display: grid;
  gap: 0.7rem;
}
.gallery__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  cursor: zoom-in;
}
.gallery__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity var(--t);
}
.gallery__stage.is-zoom img {
  transform: scale(1.9);
  cursor: zoom-out;
}
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: var(--sh-1);
  transition: background var(--t), transform var(--t);
}
.gallery__nav:hover {
  background: var(--gold);
}
.gallery__nav--prev {
  left: 0.8rem;
}
.gallery__nav--next {
  right: 0.8rem;
}
.gallery__count {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.75);
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.thumb {
  aspect-ratio: 16 / 11;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--t), transform var(--t);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb:hover {
  transform: translateY(-3px);
}
.thumb.is-active {
  border-color: var(--gold);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  box-shadow: var(--sh-1);
}
.panel + .panel {
  margin-top: 1.4rem;
}
.panel h2,
.panel h3 {
  font-size: 1.12rem;
  margin-bottom: 1rem;
}
.price-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}
.price-tag b {
  font-size: clamp(1.8rem, 3.6vw, 2.35rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.price-tag span {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 0.1rem 1.6rem;
}
.spec-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.spec-list dt {
  color: var(--text-muted);
}
.spec-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 0.55rem 1.2rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
}
.feature-list svg {
  color: var(--gold-deep);
  flex: 0 0 auto;
}

/* ---------- Lead generation ---------- */
.leads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 340px));
  gap: 1.1rem;
  justify-content: start;
}
.lead {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  width: 100%;
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
}
.lead:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 155, 60, 0.55);
  box-shadow: var(--sh-2);
}
.lead__top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.lead__emoji {
  font-size: 1.35rem;
  line-height: 1;
}
.lead h3 {
  font-size: 0.99rem;
}
.lead p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}
.lead form {
  display: grid;
  gap: 0.6rem;
}
.lead .grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
  gap: 0.6rem;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.share-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition:
    background var(--t),
    color var(--t),
    transform var(--t),
    border-color var(--t);
}
.share-btn:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--ink);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.info-row {
  display: flex;
  gap: 0.9rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child {
  border-bottom: 0;
}
.info-row__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(200, 155, 60, 0.14);
  color: var(--gold-deep);
}
.info-row b {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.info-row span,
.info-row a {
  font-size: 0.96rem;
  color: var(--ink);
}
.info-row a:hover {
  color: var(--gold-deep);
}
.map {
  position: relative;
  min-height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, #e9e7e2 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, #e9e7e2 0 1px, transparent 1px 46px),
    linear-gradient(150deg, #f4f3f0, #e7e5df);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.map__pin {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}
.map__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(200, 155, 60, 0.25);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 16px rgba(200, 155, 60, 0.06);
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(246, 244, 239, 0.68);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.2rem;
}
@media (max-width:768px) {
  .footer__grid
  {
    display: grid;
    grid-template-columns: 1fr;
}
}
.footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer a {
  font-size: 0.9rem;
  transition: color var(--t), padding-left var(--t);
}
.footer li + li {
  margin-top: 0.55rem;
}
.footer li a:hover {
  color: var(--gold);
  padding-left: 4px;
}
.footer p {
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 40ch;
}
.footer__bottom {
  margin-top: 2.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ---------- Floating actions ---------- */
.floaty {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 80;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity var(--t),
    visibility var(--t),
    transform var(--t);
}
.floaty.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.floaty__btn {
  min-width: 54px;
  min-height: 54px;
  padding: 0.85rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  box-shadow: var(--sh-2);
  transition:
    transform var(--t),
    opacity var(--t),
    visibility var(--t);
}
.floaty__btn:hover {
  transform: translateY(-4px) scale(1.05);
}
.floaty__btn--wa {
  background: #1faa53;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.floaty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.floaty__label {
  line-height: 1;
}

/* ---------- Toast ---------- */
.toasts {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 120;
  display: grid;
  gap: 0.5rem;
  width: min(92vw, 380px);
}
.toast {
  padding: 0.85rem 1.1rem;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  box-shadow: var(--sh-2);
  animation: toastIn 0.35s var(--ease);
}
.toast--gold {
  background: var(--gold);
  color: #14100a;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Page loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  gap: 1rem;
  background: var(--ink);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.loader__ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--gold);
  animation: spin 0.85s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Prose ---------- */
.prose p + p {
  margin-top: 1rem;
}
.prose p {
  font-weight: 300;
  color: var(--text);
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-2);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.frame:hover img {
  transform: scale(1.06);
}
