:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #12151a;
  --panel-2: #191d24;
  --text: #f7f7f8;
  --muted: #a9b0bb;
  --line: #303640;
  --red: #e11d2e;
  --red-dark: #a70f1b;
  --green: #18b65f;
  --blue: #3267d6;
  --gold: #d8a339;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --hairline: rgba(255, 255, 255, 0.095);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(225, 29, 46, 0.08), transparent 360px),
    radial-gradient(circle at 86% 20%, rgba(216, 163, 57, 0.11), transparent 320px),
    radial-gradient(circle at 8% 32%, rgba(225, 29, 46, 0.08), transparent 300px),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 110px);
  opacity: 0.36;
  animation: sheen 16s ease-in-out infinite;
}

@keyframes sheen {
  0%,
  100% {
    transform: translateX(-3%);
    opacity: 0.38;
  }
  50% {
    transform: translateX(3%);
    opacity: 0.62;
  }
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 44px);
  background: rgba(4, 5, 7, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(22px);
  max-width: 100vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: clamp(170px, 23vw, 270px);
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 48% 48%, rgba(225, 29, 46, 0.16), transparent 56%),
    transparent;
  box-shadow: none;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
  overflow: hidden;
}

.brand:hover {
  transform: translateY(-1px) scale(1.01);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 20px rgba(225, 29, 46, 0.26));
}

.top-actions,
.hero-actions,
.admin-actions,
.modal-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn,
.icon-btn {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.btn:disabled,
.icon-btn:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #ff3143);
  box-shadow: 0 18px 44px rgba(225, 29, 46, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
}

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

.btn-whatsapp {
  background: linear-gradient(135deg, var(--green), #25d366);
  box-shadow: 0 14px 34px rgba(24, 182, 95, 0.2);
}

.btn-sell {
  border-color: rgba(225, 29, 46, 0.7);
  background: linear-gradient(135deg, var(--red), #ff3143);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(225, 29, 46, 0.32);
}

.btn-sell:hover {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  box-shadow: 0 22px 52px rgba(225, 29, 46, 0.38);
}

.btn-inventory {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #2a2f38, #1a1e25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 34px rgba(0, 0, 0, 0.28);
}

.btn-inventory:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #353b46, #202630);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(225, 29, 46, 0.42);
  background: rgba(225, 29, 46, 0.16);
}

#menuToggle {
  display: none;
}

.menu-toggle {
  width: 46px;
  padding: 0;
  gap: 4px;
  flex-direction: column;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
}

#adminToggle:hover {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(225, 29, 46, 0.28);
}

.btn-quiet {
  background: rgba(255, 255, 255, 0.1);
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(38px, 7vw, 82px) 0 clamp(34px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 58%;
  top: 14%;
  width: min(560px, 70vw);
  height: 300px;
  border-top: 1px solid rgba(225, 29, 46, 0.18);
  border-bottom: 1px solid rgba(216, 163, 57, 0.1);
  border-radius: 50%;
  transform: translateX(-8%) rotate(-7deg);
  opacity: 0.34;
}

.hero::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: 8%;
  width: min(620px, 72vw);
  height: min(620px, 72vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.12), transparent 60%);
  pointer-events: none;
}

.luxury-lines {
  position: absolute;
  right: 2%;
  top: 16%;
  width: 44%;
  max-width: 540px;
  height: 180px;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 16%, rgba(225, 29, 46, 0.62) 17% 18%, transparent 19% 100%),
    linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.22) 43% 44%, transparent 45% 100%),
    linear-gradient(105deg, transparent 0 66%, rgba(216, 163, 57, 0.26) 67% 68%, transparent 69% 100%);
  animation: floatLines 7s ease-in-out infinite;
}

@keyframes floatLines {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -10px, 0);
  }
}

.hero-copy {
  max-width: 790px;
  position: relative;
  z-index: 1;
  animation: riseIn 700ms ease both;
}

.hero-logo {
  width: min(360px, 82vw);
  height: 94px;
  margin-bottom: 18px;
  display: grid;
  place-items: center start;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.46));
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #ff3344;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 4.7vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: #c7ccd4;
  font-size: 1rem;
  line-height: 1.8;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
}

.trust-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0 12px;
  color: #d5d9df;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-panel {
  min-height: 0;
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 29, 46, 0.3), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
  display: grid;
  gap: 18px;
  align-content: center;
  text-align: center;
  padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  animation: none;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 22px;
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -86px;
  top: -86px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.28), transparent 68%);
  pointer-events: none;
  animation: softPulse 5s ease-in-out infinite;
}

.hero-statement {
  margin: 0;
  color: #f5f6f7;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-panel-top {
  display: grid;
  gap: 8px;
}

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

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(0, -4px, 0) scale(1.015);
  }
}

.metric-value {
  display: block;
  color: var(--text);
  font-size: clamp(4rem, 8vw, 5.4rem);
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  color: #c6cbd3;
  font-weight: 800;
}

.section-heading {
  margin: 4px 0 18px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.sell-car-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(18px, 4vw, 34px);
  margin: 8px 0 34px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(225, 29, 46, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 0%, rgba(225, 29, 46, 0.18), transparent 260px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(15, 18, 23, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  position: relative;
}

.sell-car-dialog {
  width: min(1040px, calc(100% - 24px));
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sell-car-dialog .sell-car-section {
  margin: 0;
}

.sell-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 44px;
  padding: 0;
  background: rgba(5, 7, 10, 0.72);
}

.sell-car-section::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 163, 57, 0.12), transparent 66%);
  pointer-events: none;
}

.sell-car-copy,
.sell-car-form {
  position: relative;
  z-index: 1;
}

.sell-car-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.sell-car-copy p:not(.eyebrow) {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.65;
}

.sell-submit {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

.sell-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
}

.sell-preview-grid:empty {
  display: none;
}

.sell-preview-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #0b0e12;
}

.toolbar,
.admin-panel {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  background: rgba(15, 18, 23, 0.76);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px);
  overflow: visible;
}

.toolbar {
  position: relative;
  z-index: 120;
}

.favorite-filter {
  min-height: 44px;
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(5, 7, 10, 0.74);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.favorite-filter input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.admin-panel {
  display: block;
}

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.admin-panel h2 {
  margin-bottom: 0;
}

.admin-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(5, 7, 10, 0.74);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.field select {
  color-scheme: dark;
}

.native-select {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-button {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(5, 7, 10, 0.74);
  color: var(--text);
  padding: 10px 40px 10px 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.custom-select-button::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: 0.82;
}

.custom-select.is-open .custom-select-button {
  border-color: rgba(225, 29, 46, 0.72);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.custom-select-menu {
  position: absolute;
  z-index: 999;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 290px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(225, 29, 46, 0.36);
  border-radius: 14px;
  background: #050607;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: none;
}

.custom-select.is-open .custom-select-menu {
  display: grid;
  gap: 2px;
  animation: menuReveal 140ms ease both;
}

@keyframes menuReveal {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-select-option {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  padding: 9px 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  background: var(--red-dark);
  outline: none;
}

.custom-select-option.is-selected {
  background: var(--red);
  color: #ffffff;
}

body.is-ar .custom-select-button,
body.is-ar .custom-select-option {
  text-align: right;
}

body.is-ar .custom-select-button {
  padding: 10px 12px 10px 40px;
}

body.is-ar .custom-select-button::after {
  right: auto;
  left: 14px;
}

body.is-ar .favorite-btn {
  left: auto;
  right: 12px;
}

.field select option {
  background: #08090b;
  color: #f7f7f8;
}

.field select option:checked {
  background: var(--red);
  color: #ffffff;
}

.field select option:hover {
  background: var(--red-dark);
  color: #ffffff;
}

.field small {
  color: var(--muted);
  line-height: 1.4;
}

.form-error {
  min-height: 20px;
  margin: 14px 0 0;
  color: #ff6b76;
  font-weight: 700;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(225, 29, 46, 0.72);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
  padding-bottom: 70px;
  position: relative;
  z-index: 1;
}

.car-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
  animation: cardReveal 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(min(var(--card-index), 8) * 55ms);
}

.favorite-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 9;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(5, 7, 10, 0.76);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.favorite-btn:hover {
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(225, 29, 46, 0.52);
}

.favorite-btn.is-favorite,
.details-favorite.is-favorite {
  background: linear-gradient(135deg, var(--red), #ff3143);
  border-color: rgba(225, 29, 46, 0.72);
}

.car-card:hover {
  transform: translateY(-8px);
  border-color: rgba(225, 29, 46, 0.38);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(225, 29, 46, 0.1);
  filter: saturate(1.04);
}

.car-image {
  position: relative;
  aspect-ratio: 1.42;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.16), rgba(216, 163, 57, 0.1)),
    #0d1014;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.car-open {
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.car-open:focus-visible {
  outline: 3px solid rgba(225, 29, 46, 0.45);
  outline-offset: -3px;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 420ms ease, filter 420ms ease;
}

.car-card:hover .car-image img {
  transform: scale(1.035);
  filter: contrast(1.03);
}

.image-fallback {
  padding: 22px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
}

.image-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0 2px;
}

.thumb-strip img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #ff4252);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.car-body {
  padding: 20px;
}

.car-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.car-card h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.price {
  color: var(--red);
  font-size: 1.42rem;
  font-weight: 900;
  white-space: nowrap;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec {
  min-width: 0;
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec strong {
  display: block;
  overflow-wrap: anywhere;
}

.description {
  min-height: 44px;
  color: var(--muted);
  line-height: 1.5;
}

.details-btn {
  width: 100%;
  margin-top: 4px;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.car-card[data-reorder-id] {
  position: relative;
}

.car-card.is-dragging {
  opacity: 0.55;
}

.car-card.is-drop-target {
  border-color: rgba(225, 29, 46, 0.8);
  box-shadow: 0 0 0 2px rgba(225, 29, 46, 0.28), 0 18px 44px rgba(225, 29, 46, 0.16);
}

.drag-handle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(9, 11, 15, 0.82);
  color: #ffffff;
  cursor: grab;
  font-weight: 900;
  letter-spacing: -3px;
  touch-action: none;
  transform: rotate(90deg);
}

.drag-handle:active {
  cursor: grabbing;
}

.admin-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.admin-card-actions .btn {
  flex: 1;
}

.saved-images {
  display: block;
}

.saved-images:empty {
  display: none;
}

.saved-images p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.saved-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}

.saved-image-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.saved-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.saved-image-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  background: rgba(225, 29, 46, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
}

.empty-state {
  padding: 56px 0;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 30px 0 8px;
}

.load-more-btn {
  min-width: min(100%, 260px);
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050607;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.seo-brand-line {
  font-size: 0.78rem;
  opacity: 0.68;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.footer-links .social-icon {
  width: 38px;
  height: 38px;
}

.footer-links a:hover {
  color: var(--text);
}

.modal {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  color: var(--text);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 0;
}

.details-modal {
  width: min(1080px, calc(100% - 32px));
}

.details-modal .modal-header {
  padding: 22px 22px 0;
}

.details-modal #detailsContent {
  padding: 0 22px 22px;
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.details-gallery {
  min-width: 0;
}

.details-main-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  max-height: 62vh;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(225, 29, 46, 0.14), rgba(216, 163, 57, 0.08)),
    #0b0e12;
}

.details-main-image img {
  width: 100%;
  height: 100%;
  max-height: 62vh;
  object-fit: contain;
  animation: gallerySwap 260ms ease both;
}

@keyframes gallerySwap {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.66);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
}

.details-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.details-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.details-thumbs button.active {
  border-color: var(--red);
}

.details-thumbs img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  display: block;
}

.details-info {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.details-price {
  margin-bottom: 16px;
  color: var(--red);
  font-size: 2.2rem;
  font-weight: 900;
}

.details-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.details-specs div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.details-specs span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.details-specs strong {
  display: block;
  overflow-wrap: anywhere;
}

.details-info p {
  color: var(--muted);
  line-height: 1.6;
}

.details-favorite {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.74);
}

.modal form {
  padding: 22px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-header h2 {
  margin-bottom: 0;
}

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

.field-wide {
  grid-column: 1 / -1;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.check-row input {
  width: 18px;
  height: 18px;
}

.modal-actions {
  justify-content: flex-end;
  margin-top: 22px;
}

.file-btn {
  position: relative;
  overflow: hidden;
}

.file-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
  }

  .brand {
    width: clamp(180px, 35vw, 260px);
  }

  .top-actions {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 34px;
  }

  .sell-car-section {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    text-align: left;
  }

  .hero-panel-actions {
    min-width: 240px;
  }

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

  .search-field {
    grid-column: 1 / -1;
  }

  .details-layout {
    grid-template-columns: 1fr;
  }

  .details-main-image {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  main {
    width: min(100% - 24px, 1160px);
  }

  .site-header,
  .site-footer,
  .admin-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    width: min(260px, 84vw);
    height: 64px;
    align-self: center;
  }

  .top-actions,
  .hero-actions,
  .admin-actions,
  .footer-links {
    width: 100%;
    justify-content: center;
  }

  .social-row {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 26px;
    text-align: center;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-logo {
    width: min(310px, 88vw);
    height: 82px;
    margin: 0 auto 16px;
    place-items: center;
  }

  .hero-logo img {
    object-position: center;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .trust-strip {
    justify-content: center;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-panel-actions {
    min-width: 0;
  }

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

  .section-heading {
    text-align: center;
  }

  .inventory-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid,
  .card-actions {
    grid-template-columns: 1fr;
  }

  .details-main-image {
    min-height: 260px;
  }
}

@media (max-width: 460px) {
  .btn,
  .icon-btn {
    flex: 1;
  }

  .hero-panel-actions {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .modal {
    width: calc(100% - 20px);
  }

  .modal form,
  .details-modal .modal-header,
  .details-modal #detailsContent {
    padding-left: 16px;
    padding-right: 16px;
  }
}

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

/* Premium dealership redesign */
body {
  background:
    radial-gradient(circle at 12% 0%, rgba(225, 29, 46, 0.18), transparent 280px),
    linear-gradient(180deg, #06070a 0%, #0b0d11 48%, #050607 100%);
}

body::before {
  opacity: 0.18;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, 0.025) 50%, transparent 51%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 72px);
}

.site-header {
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(5, 6, 8, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
}

.brand {
  width: clamp(190px, 24vw, 310px);
  height: 62px;
  overflow: visible;
}

.top-actions {
  gap: 8px;
}

.btn,
.icon-btn {
  min-height: 42px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.social-row {
  border-radius: 12px;
}

.social-icon {
  border-radius: 10px;
}

main {
  width: min(1180px, calc(100% - 32px));
}

.hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(42px, 7vw, 86px) 0 46px;
  overflow: visible;
}

.hero::before,
.hero::after,
.luxury-lines {
  display: none;
}

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

.hero-logo {
  display: none;
}

.eyebrow {
  margin-bottom: 12px;
  color: #ff3344;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  line-height: 0.98;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 24px;
  color: #cbd0d8;
  font-size: 1.04rem;
}

.hero-actions {
  margin-bottom: 18px;
}

.trust-strip {
  margin-top: 0;
}

.trust-strip span {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-panel {
  min-height: 0;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    #12161d;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: 18px;
  text-align: left;
  animation: none;
}

.hero-panel::before {
  display: none;
}

.hero-panel > img {
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.45));
}

.showroom-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 24px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showroom-card .panel-kicker {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.showroom-card .metric-value {
  margin-top: 4px;
}

.showroom-card .metric-label {
  padding-top: 10px;
}

.metric-value {
  font-size: clamp(3.3rem, 7vw, 4.8rem);
}

.metric-label {
  align-self: center;
}

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

.service-list span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  color: #eef0f3;
  background: rgba(225, 29, 46, 0.12);
  border: 1px solid rgba(225, 29, 46, 0.18);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.section-heading {
  margin: 26px 0 18px;
}

.section-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.toolbar,
.admin-panel {
  border-radius: 14px;
  background: rgba(17, 20, 26, 0.92);
}

.inventory-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.car-card {
  border-radius: 14px;
  background: #11151b;
}

.car-image {
  aspect-ratio: 16 / 10;
}

.modal {
  border-radius: 16px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

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

  .hero-panel {
    max-width: none;
  }
}

@media (max-width: 720px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    width: min(260px, 82vw);
    height: 58px;
  }

  .top-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-left: 0;
  }

  .social-row {
    grid-column: 1 / -1;
  }

  .hero {
    text-align: left;
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.3rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-panel {
    text-align: left;
  }

  .showroom-card {
    grid-template-columns: 1fr;
  }

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

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

  .section-heading {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .top-actions {
    display: grid;
  }

  .social-row {
    grid-column: auto;
  }

  .icon-btn {
    grid-column: auto;
  }
}

/* Mobile-first showroom polish */
body.is-ar {
  font-family: Inter, Tahoma, Arial, sans-serif;
}

body.is-ar .hero-copy,
body.is-ar .section-heading,
body.is-ar .hero-panel,
body.is-ar .car-body,
body.is-ar .details-info {
  text-align: right;
}

body.is-ar .hero-logo img {
  object-position: right center;
}

#langToggle {
  min-width: 72px;
}

@media (max-width: 720px) {
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(225, 29, 46, 0.16), transparent 240px),
      linear-gradient(180deg, #050609 0%, #0b0d11 46%, #050609 100%);
  }

  .site-header {
    position: relative;
    padding: 14px 16px 16px;
    border-bottom-color: rgba(255, 255, 255, 0.06);
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
  }

  .brand {
    width: min(210px, 58vw);
    height: 54px;
    margin: 0;
    justify-self: start;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    width: auto;
    justify-self: end;
  }

  #langToggle,
  #menuToggle {
    display: inline-flex;
    min-height: 46px;
    min-width: 54px;
    border-radius: 14px;
  }

  #menuToggle {
    display: inline-flex;
  }

  #langToggle {
    grid-column: 1;
  }

  #menuToggle {
    grid-column: 2;
  }

  #headerCall,
  #headerWhatsapp,
  .social-row,
  #adminToggle {
    position: fixed;
    left: 16px;
    right: 16px;
    z-index: 50;
    display: none;
    width: auto;
  }

  #headerCall {
    top: 86px;
  }

  #headerWhatsapp {
    top: 140px;
  }

  .social-row {
    top: 194px;
    justify-content: center;
    padding: 8px;
    border-radius: 16px;
    background: rgba(8, 10, 14, 0.96);
    backdrop-filter: blur(18px);
    border-color: rgba(255, 255, 255, 0.1);
  }

  #adminToggle {
    top: 252px;
    justify-content: center;
  }

  #headerCall,
  #headerWhatsapp,
  #adminToggle {
    min-height: 48px;
    justify-content: center;
    background: rgba(8, 10, 14, 0.96);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  #headerWhatsapp {
    background: linear-gradient(135deg, var(--green), #25d366);
  }

  body.menu-open #headerCall,
  body.menu-open #headerWhatsapp,
  body.menu-open #adminToggle {
    display: flex !important;
  }

  body.menu-open .social-row {
    display: flex !important;
  }

  .social-icon {
    width: 46px;
    height: 42px;
  }

  .hero {
    gap: 18px;
    padding: 26px 0 28px;
  }

  .hero-copy {
    padding: 22px 0 0;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
    line-height: 1.04;
    margin-bottom: 14px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn {
    min-height: 54px;
    border-radius: 16px;
    font-size: 1rem;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .trust-strip span {
    min-height: 44px;
    padding: 8px;
    text-align: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 0.72rem;
  }

  .hero-panel {
    padding: 16px;
    border-radius: 18px;
    gap: 12px;
  }

  .hero-panel > img {
    display: none;
  }

  .showroom-card {
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    padding: 14px;
    border-radius: 16px;
  }

  .showroom-card .panel-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0;
    font-size: 0.7rem;
  }

  .showroom-card .metric-value {
    font-size: 3.4rem;
    margin: 0;
  }

  .showroom-card .metric-label {
    padding-top: 0;
    font-size: 0.9rem;
  }

  .service-list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .service-list span {
    min-height: 48px;
    border-radius: 14px;
    font-size: 0.72rem;
    padding: 8px;
  }

  .section-heading {
    margin-top: 16px;
  }

  .toolbar {
    padding: 14px;
    gap: 10px;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 48px;
    border-radius: 14px;
  }

  .car-card {
    border-radius: 18px;
    overflow: hidden;
  }

  .car-image {
    aspect-ratio: 1.12;
  }

  .car-image img {
    object-fit: contain;
    object-position: center center;
  }

  .badge,
  .image-count {
    transform: scale(0.88);
    transform-origin: top left;
  }

  .car-body {
    padding: 14px;
  }

  .thumb-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .thumb-strip::-webkit-scrollbar {
    display: none;
  }

  .thumb-strip img {
    flex: 0 0 76px;
    width: 76px;
  }

  .car-title-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .car-card h3 {
    font-size: 1.55rem;
    line-height: 1.05;
  }

  .price {
    font-size: 1.65rem;
  }

  .specs {
    margin: 14px 0;
    padding: 12px;
    gap: 10px;
  }

  .description {
    min-height: 0;
    font-size: 0.95rem;
  }

  .details-btn,
  .card-actions .btn {
    min-height: 52px;
    border-radius: 15px;
  }
}

@media (max-width: 390px) {
  .trust-strip,
  .service-list {
    grid-template-columns: 1fr;
  }

  .showroom-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .top-actions > .icon-btn {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body.is-ar .hero,
  body.is-ar .hero-panel,
  body.is-ar .section-heading {
    text-align: right;
  }
}
