/* === Custom Properties === */
:root {
  /* Premium color palette - deep navy with warm copper */
  --color-navy: #0f172a;
  --color-navy-light: #1e293b;
  --color-copper: #c9a05c;
  --color-copper-light: #d4b77a;
  --color-copper-dark: #a67c3d;
  --color-slate: #475569;
  --color-slate-light: #64748b;
  --color-cloud: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-danger: #dc2626;
  --color-danger-dark: #b91c1c;
  --color-success: #16a34a;

  /* Shadows - refined and layered */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.16), 0 8px 16px rgba(15, 23, 42, 0.08);
  --shadow-copper: 0 4px 20px rgba(201, 160, 92, 0.25);

  /* Shape */
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --max-width: 1200px;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
}

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

/* === Base === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-navy);
  background-color: var(--color-white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

/* === Utilities === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Top Bar === */
.top-bar {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__contact {
  display: flex;
  gap: 32px;
}

.top-bar__contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.top-bar__contact li:hover {
  color: var(--color-copper-light);
}

.top-bar__icon {
  color: var(--color-copper);
  font-size: 14px;
}

.top-bar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(201, 160, 92, 0.15);
  border: 1px solid rgba(201, 160, 92, 0.3);
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  color: var(--color-copper);
  transition: all 0.2s;
}

.top-bar__social a:hover {
  background: var(--color-copper);
  border-color: var(--color-copper);
  color: var(--color-navy);
}

/* === Header === */
.header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}

.header--sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header--sticky.scrolled {
  box-shadow: var(--shadow-md);
}

.header--solid {
  background-color: var(--color-navy);
  border-bottom: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-img {
  height: 58px;
  width: auto;
  transition: transform 0.2s;
}

.header__logo:hover .header__logo-img {
  transform: scale(1.02);
}

.header__logo-img--sm {
  height: 38px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 12px;
  border-radius: 4px;
}

.header__logo-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  border-radius: 4px;
  box-shadow: var(--shadow-copper);
}

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

.header__nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-slate);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-copper) 0%, var(--color-copper-light) 100%);
  transition: width 0.3s ease;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--color-navy);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  box-shadow: var(--shadow-copper);
}

.btn--accent:hover {
  box-shadow: 0 6px 24px rgba(201, 160, 92, 0.35);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 14px;
}

.btn--outline {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-border);
}

.btn--outline-dark:hover {
  background-color: var(--color-cloud);
  border-color: var(--color-slate-light);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 12px;
}

.btn--danger {
  background: linear-gradient(135deg, var(--color-danger) 0%, var(--color-danger-dark) 100%);
  color: white;
  padding: 10px 18px;
  font-size: 12px;
}

.btn--danger:hover {
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.btn--full {
  width: 100%;
}

/* === Hero Slider === */
.hero-slider {
  background: linear-gradient(160deg, var(--color-navy) 0%, #1a2744 50%, var(--color-navy-light) 100%);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201, 160, 92, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 160, 92, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-slider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-copper), transparent);
}

.hero-slider__slides {
  position: relative;
  min-height: 200px;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.hero-slider__slide--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-slider__icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--color-copper);
  border-radius: 50%;
  margin-bottom: 32px;
  color: var(--color-copper);
  box-shadow:
    0 0 0 8px rgba(201, 160, 92, 0.08),
    0 0 0 16px rgba(201, 160, 92, 0.04);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 8px rgba(201, 160, 92, 0.08), 0 0 0 16px rgba(201, 160, 92, 0.04); }
  50% { box-shadow: 0 0 0 12px rgba(201, 160, 92, 0.12), 0 0 0 24px rgba(201, 160, 92, 0.06); }
}

.hero-slider__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-slider__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-slider__dot:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-slider__dot--active {
  background: var(--color-copper);
  border-color: var(--color-copper);
  box-shadow: 0 0 12px rgba(201, 160, 92, 0.5);
}

/* === Page Header === */
.page-header {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-copper), transparent);
}

.page-header__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 8px;
}

.page-header__subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

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

.section--light {
  background-color: var(--color-white);
}

.section--dark {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
}

.section__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 48px;
  color: var(--color-navy);
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-copper), var(--color-copper-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

.section__title--light {
  color: var(--color-white);
}

/* === Split Section === */
.section--split {
  display: flex;
  min-height: 480px;
}

.section__image {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.section__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(248, 250, 252, 0.1) 100%);
}

.section__content {
  flex: 1;
  background-color: var(--color-cloud);
  padding: 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section__content .section__title {
  text-align: left;
  margin-bottom: 28px;
}

.section__content .section__title::after {
  margin: 16px 0 0;
}

/* === Brands Grid === */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.brands-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--color-slate);
  transition: color 0.2s;
}

.brands-list li:hover {
  color: var(--color-navy);
}

.brands-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* === Features === */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature {
  text-align: center;
  padding: 0 16px;
}

.feature__icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  background: linear-gradient(135deg, var(--color-cloud) 0%, var(--color-white) 100%);
  border: 2px solid var(--color-copper);
  border-radius: 50%;
  color: var(--color-copper);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.feature:hover .feature__icon {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-copper);
}

.feature__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.feature__text {
  color: var(--color-slate);
  line-height: 1.8;
}

/* === Services Grid === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  background: var(--color-white);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--color-border);
  position: relative;
  transition: all 0.3s ease;
}

.service::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-copper), var(--color-copper-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.service__icon {
  font-size: 40px;
  color: var(--color-copper);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service:hover .service__icon {
  transform: scale(1.1);
}

.service__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.service__text {
  color: var(--color-slate);
  font-size: 14px;
  line-height: 1.7;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--color-copper-dark) 0%, var(--color-copper) 50%, var(--color-copper-light) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(0,0,0,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 12px;
  position: relative;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-banner__text {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 17px;
  position: relative;
}

.cta-banner .btn--accent {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.cta-banner .btn--accent:hover {
  background: var(--color-navy-light);
  box-shadow: var(--shadow-xl);
}

/* === Contact Grid === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
}

.contact-info__icon {
  font-size: 28px;
  color: var(--color-copper);
}

.contact-info__item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-copper-light);
}

.contact-map iframe {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* === Footer === */
.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-copper);
}

.footer__list li {
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.2s;
}

.footer__list li:hover {
  color: var(--color-copper-light);
}

.footer__list--hours li {
  display: flex;
  justify-content: space-between;
}

.footer__list--hours span {
  color: var(--color-white);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* === Cars Grid === */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--color-slate);
}

/* === Car Card === */
.car-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.car-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.car-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: transparent;
}

.car-card--link {
  display: block;
  color: inherit;
}

.car-card__image-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-cloud) 0%, var(--color-border) 100%);
  position: relative;
}

.car-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-card__image {
  transform: scale(1.08);
}

.car-card__body {
  padding: 24px;
}

.car-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--color-navy);
}

.car-card__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-copper);
  margin-bottom: 16px;
}

.car-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  background-color: var(--color-cloud);
  color: var(--color-slate);
  border-radius: 4px;
}

.car-card__engine {
  font-size: 13px;
  color: var(--color-slate-light);
  margin-bottom: 8px;
}

.car-card__description {
  font-size: 13px;
  color: var(--color-slate);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === Car Card Carousel === */
.car-card__carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.car-card__carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-card__carousel-slide {
  min-width: 100%;
  height: 100%;
}

.car-card__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-card__carousel-prev,
.car-card__carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.7);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.car-card__image-wrapper:hover .car-card__carousel-prev,
.car-card__image-wrapper:hover .car-card__carousel-next {
  opacity: 1;
}

.car-card__carousel-prev:hover,
.car-card__carousel-next:hover {
  background: var(--color-copper);
}

.car-card__carousel-prev { left: 12px; }
.car-card__carousel-next { right: 12px; }

.car-card__carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.car-card__carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}

.car-card__carousel-dot--active {
  background: var(--color-copper);
  box-shadow: 0 0 8px rgba(201, 160, 92, 0.6);
}

/* === Accessibility === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Admin Panel === */
.admin-login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: 24px;
}

.admin-login-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.admin-login-card__logo {
  height: 52px;
  width: auto;
  margin: 0 auto;
}

.admin-login-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin: 20px 0 32px;
  color: var(--color-navy);
}

.admin-login-card .login-form {
  text-align: left;
}

.login-error {
  color: var(--color-danger);
  font-size: 13px;
  min-height: 20px;
  margin-bottom: 8px;
}

/* === Forms === */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.form-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-white);
  color: var(--color-navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-copper);
  box-shadow: 0 0 0 3px rgba(201, 160, 92, 0.15);
}

.form-textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin-bottom: 20px;
}

.form-group .form-input {
  margin-bottom: 4px;
}

.form-group--full {
  grid-column: 1 / -1;
}

/* === Admin Sections === */
.admin-panel {
  padding: 48px 0;
  background-color: var(--color-cloud);
  min-height: 100vh;
}

.admin-section {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.admin-section__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--color-navy);
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--color-navy);
}

.admin-car-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-car-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background-color: var(--color-cloud);
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.admin-car-item:hover {
  background-color: var(--color-border);
}

.admin-car-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-car-price {
  font-size: 15px;
  color: var(--color-copper);
  font-weight: 700;
}

.admin-car-actions {
  display: flex;
  gap: 10px;
}

.add-car-form .btn + .btn {
  margin-left: 12px;
}

.admin-empty {
  text-align: center;
  padding: 40px;
  color: var(--color-slate);
}

/* === Photo Upload === */
#photo-count {
  font-weight: 400;
  color: var(--color-slate-light);
  font-size: 12px;
}

.photo-upload-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  background-color: var(--color-cloud);
  border-radius: var(--radius);
}

.photo-upload-row__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--color-border);
  border-radius: var(--radius);
}

.photo-upload-row__info {
  flex: 1;
  min-width: 0;
}

.photo-upload-row__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-upload-row__status {
  font-size: 12px;
  color: var(--color-slate-light);
  margin-top: 4px;
}

.photo-upload-row__status--done {
  color: var(--color-success);
  font-weight: 600;
}

.photo-upload-row__status--error {
  color: var(--color-danger);
  font-weight: 600;
}

.photo-upload-row__progress {
  width: 100%;
  height: 4px;
  background-color: var(--color-border);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.photo-upload-row__progress-bar {
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-copper), var(--color-copper-light));
  border-radius: 2px;
  animation: indeterminate 1.2s ease-in-out infinite;
}

@keyframes indeterminate {
  0% { transform: translateX(-100%); width: 30%; }
  50% { transform: translateX(150%); width: 40%; }
  100% { transform: translateX(400%); width: 30%; }
}

.photo-upload-row .btn--remove {
  background: none;
  border: none;
  color: var(--color-danger);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}

.photo-upload-row .btn--remove:hover {
  color: var(--color-danger-dark);
}

.photo-upload-error {
  color: var(--color-danger);
  font-size: 12px;
  min-height: 0;
  margin-top: 8px;
}

/* === Responsive === */
@media (max-width: 992px) {
  .features,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section--split {
    flex-direction: column;
  }

  .section__image {
    min-height: 320px;
  }

  .section__content {
    padding: 48px 32px;
  }

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

@media (max-width: 768px) {
  .top-bar__contact {
    flex-direction: column;
    gap: 6px;
  }

  .top-bar__social {
    display: none;
  }

  .header__inner {
    height: 72px;
  }

  .header__logo-img {
    height: 44px;
  }

  .header__nav {
    gap: 20px;
  }

  .header__nav-link {
    font-size: 13px;
  }

  .hero-slider {
    padding: 64px 20px;
  }

  .hero-slider__title {
    font-size: 28px;
  }

  .hero-slider__icon {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: 26px;
  }

  .features,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .contact-info {
    grid-template-columns: 1fr;
  }

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

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

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

  .admin-car-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .admin-car-actions {
    width: 100%;
  }

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

  .cta-banner__title {
    font-size: 28px;
  }
}
