/* ============================================
   AUTO CENTAR ĐORĐEVIĆ — Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-dark: #111315;
  --color-anthracite: #1B1F23;
  --color-light: #F4F5F6;
  --color-white: #FFFFFF;
  --color-accent: #F05A28;
  --color-accent-hover: #D94A1E;
  --color-accent-light: rgba(240, 90, 40, 0.08);
  --color-metallic: #8B9098;
  --color-metallic-light: #B0B4BB;
  --color-border: #E0E2E5;
  --color-text: #1B1F23;
  --color-text-secondary: #4B5563;
  --color-text-muted: #8B9098;
  --color-success: #16A34A;
  --color-warning: #F59E0B;

  --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-width: 1280px;
  --container-narrow: 960px;
  --container-padding: clamp(1rem, 5vw, 2rem);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 80px;
  --topbar-height: 40px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Skip Link --- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-dark);
}

.heading-xl {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading-md {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.heading-sm {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
}

.text-lg {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
}

.text-muted {
  color: var(--color-text-muted);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(240, 90, 40, 0.3);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-dark);
  border: 2px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--color-anthracite);
  color: var(--color-white);
}

.btn--dark:hover {
  background: var(--color-dark);
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

/* --- Section --- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

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

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

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

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section__header--left {
  text-align: left;
  margin: 0 0 3rem;
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 1rem;
}

.section__description {
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section--dark .section__description,
.section--anthracite .section__description {
  color: var(--color-metallic-light);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card--dark {
  background: var(--color-anthracite);
  color: var(--color-white);
}

.card--dark:hover {
  background: #252A30;
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card__text {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-accent);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: 0.75rem;
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card__link:hover svg {
  transform: translateX(4px);
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--color-dark);
  color: var(--color-metallic-light);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  display: none;
}

.topbar.is-visible {
  display: block;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

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

.topbar__link {
  color: var(--color-metallic-light);
  transition: color var(--transition-fast);
}

.topbar__link:hover {
  color: var(--color-white);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  z-index: 1001;
}

.header__logo img,
.header__logo svg {
  height: 44px;
  width: auto;
  display: block;
}

.header__logo-text {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.header__logo-sub {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  display: block;
}

/* --- Desktop Navigation --- */
.header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.header__nav-link:hover,
.header__nav-link.is-active {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-dark);
  font-size: 0.9375rem;
}

.header__phone svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

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

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  z-index: 1001;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
  transform-origin: center;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--color-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  text-align: center;
  padding: 2rem;
}

.mobile-menu__link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition-fast);
  border-radius: var(--radius-md);
}

.mobile-menu__link:hover,
.mobile-menu__link.is-active {
  color: var(--color-accent);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 300px;
  padding: 1rem;
}

.mobile-menu__actions .btn {
  width: 100%;
}

/* --- Mobile Bottom Bar --- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 998;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 0.5rem env(safe-area-inset-right, 0.5rem) env(safe-area-inset-bottom, 0.5rem) env(safe-area-inset-left, 0.5rem);
}

.mobile-bottom-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.mobile-bottom-bar__btn svg {
  width: 22px;
  height: 22px;
}

.mobile-bottom-bar__btn:hover,
.mobile-bottom-bar__btn.is-highlight {
  color: var(--color-accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: clamp(500px, 80vh, 700px);
  display: flex;
  align-items: center;
  background: var(--color-dark);
  color: var(--color-white);
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.92) 0%, rgba(27, 31, 35, 0.7) 50%, rgba(17, 19, 21, 0.5) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  width: 100%;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__badge svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--color-white);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__actions .btn:first-child {
  animation: pulse-cta 2.5s ease-in-out infinite;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 90, 40, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(240, 90, 40, 0); }
}

.hero__mobile-action {
  display: none;
  margin-top: 1.5rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 32px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.hero__scroll::after {
  content: '';
  width: 3px;
  height: 12px;
  background: var(--color-white);
  border-radius: 2px;
  animation: scroll-indicator 2s ease-in-out infinite;
}

@keyframes scroll-indicator {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ============================================
   SERVICE CARDS GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

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

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card__text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ============================================
   FEATURE SPLIT LAYOUT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 400px;
  background: var(--color-light);
}

.split__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split__visual-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-light), var(--color-border));
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ============================================
   ROAD ASSISTANCE (Dark CTA Section)
   ============================================ */
.road-assistance {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.road-assistance::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(240, 90, 40, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.road-assistance .container {
  position: relative;
  z-index: 1;
}

.road-assistance__content {
  max-width: 650px;
}

.road-assistance__phone {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin: 1rem 0;
  display: inline-block;
}

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

.road-assistance__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(22, 163, 74, 0.15);
  color: #4ADE80;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.road-assistance__badge svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.process__step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process__step::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(50% + 3rem);
  width: calc(100% - 6rem);
  height: 2px;
  background: linear-gradient(90deg, var(--color-border), transparent);
}

.process__step:last-child::after {
  display: none;
}

.process__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
}

.process__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   LOCATIONS
   ============================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.location-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.location-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.location-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.location-card__type {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.location-card__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.location-card__detail svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.location-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.location-card__actions .btn {
  flex: 1;
  font-size: 0.8125rem;
  padding: 0.625rem 1rem;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-invite {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.reviews-invite__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: #FBBC04;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-invite__icon svg {
  width: 48px;
  height: 48px;
}

.reviews-invite__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.reviews-invite__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--color-dark);
  color: var(--color-white);
}

.cta-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.cta-section__text {
  color: var(--color-metallic-light);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-anthracite);
  color: var(--color-metallic-light);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer__brand {
  max-width: 360px;
}

.footer__logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-metallic);
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--color-metallic);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  color: var(--color-metallic);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-item a {
  color: var(--color-metallic);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--color-metallic);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a {
  color: var(--color-metallic);
  transition: color var(--transition-fast);
}

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

/* ============================================
   FORMS
   ============================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
}

.form__input,
.form__textarea,
.form__select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition-fast);
  outline: none;
  width: 100%;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--color-accent);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-muted);
}

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

.form__error {
  font-size: 0.8125rem;
  color: #DC2626;
  display: none;
}

.form__group.has-error .form__input,
.form__group.has-error .form__textarea {
  border-color: #DC2626;
}

.form__group.has-error .form__error {
  display: block;
}

.form__submit {
  align-self: flex-start;
}

.form__demo-notice {
  padding: 1rem 1.25rem;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: #92400E;
  display: none;
}

.form__demo-notice.is-visible {
  display: block;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: var(--color-dark);
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 5vw, 5rem);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(240, 90, 40, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-metallic);
  margin-bottom: 1rem;
}

.page-header__breadcrumb a {
  color: var(--color-metallic);
  transition: color var(--transition-fast);
}

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

.page-header__breadcrumb svg {
  width: 14px;
  height: 14px;
}

.page-header__description {
  max-width: 600px;
  font-size: 1.0625rem;
  color: var(--color-metallic-light);
  line-height: 1.7;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-locations {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-location {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.contact-location:hover {
  box-shadow: var(--shadow-md);
}

.contact-location__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-location__type {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-location__row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.contact-location__row svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-location__row a {
  color: inherit;
  transition: color var(--transition-fast);
}

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

.contact-location__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-location__actions .btn {
  flex: 1;
  font-size: 0.8125rem;
  padding: 0.625rem 1rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.value-item__icon svg {
  width: 28px;
  height: 28px;
}

.value-item__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.value-item__text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   FAQ (Trigano page)
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--color-accent);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  background: var(--color-white);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

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

.faq-item__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  color: var(--color-text-muted);
}

.faq-item.is-open .faq-item__question svg {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item__answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-light);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-light), var(--color-border));
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
}

/* ============================================
   PARTS REQUEST FORM
   ============================================ */
.parts-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

/* ============================================
   TRAILER SPEC LIST
   ============================================ */
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--color-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.spec-item__label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.spec-item__value {
  font-weight: 700;
  color: var(--color-dark);
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.page-404__code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.page-404__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-404__text {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  .service-card,
  .card,
  .location-card,
  .contact-location {
    transform: none !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split__visual {
    min-height: 300px;
    order: -1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-values {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .header__nav {
    display: none;
  }

  .header__actions .btn,
  .header__phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-bottom-bar {
    display: block;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

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

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

  .process {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process__step::after {
    display: none;
  }

  .footer {
    padding-bottom: 5.5rem;
  }

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

  .about-values {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .hero__scroll {
    display: none;
  }

  .hero__mobile-action {
    display: block;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    min-height: clamp(450px, 90svh, 600px);
  }

  .header__actions .btn--small {
    display: flex;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-location__actions {
    flex-direction: column;
  }

  .location-card__actions {
    flex-direction: column;
  }

  .parts-form-wrapper {
    padding: 1.5rem;
  }

  .reviews-invite {
    padding: 2rem 1.5rem;
  }
}

/* --- Small Mobile --- */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero__badges {
    gap: 0.375rem;
  }

  .hero__badge {
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
  }

  .mobile-menu__link {
    font-size: 1.125rem;
    padding: 0.75rem;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
