:root {
  --color-bg-dark: #222222;
  --color-header: #2d2d2d;
  --color-accent: #fcc000;
  --color-text: #1a1a1a;
  --color-muted: #5c5c5c;
  --color-nav: #ffffff;
  --color-nav-hover: #b7b7b7;
  --max-width: 72rem;
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: #f5f5f5;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: #000;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  background: var(--color-header);
  color: var(--color-nav);
  border-bottom: 3px solid var(--color-accent);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.site-logo img {
  width: 79px;
  height: auto;
}

.site-nav {
  flex: 1 1 auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  justify-content: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--color-nav);
  padding: 0.25rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-nav-hover);
}

.site-header__phone {
  text-align: right;
  font-size: 0.8125rem;
  font-weight: 300;
}

.site-header__phone strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-nav);
  color: var(--color-nav);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font: inherit;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.hero-slider {
  position: relative;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hero-slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem;
  align-items: center;
}

.hero-slide__content h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.hero-slide__label {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.hero-slide__price {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.75rem 0 1rem;
}

.hero-slide__price img {
  width: 17px;
  height: 25px;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--color-accent);
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.05);
}

.hero-slider__controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
}

.hero-slider__dot[aria-selected="true"] {
  background: var(--color-accent);
}

.promo-band {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  padding: 2rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.promo-band h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.promo-band__note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0.5rem 0 0;
}

.promo-band__rent {
  text-align: center;
}

.promo-band__rent a {
  text-decoration: none;
  color: inherit;
}

.promo-band__rent h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.content-section {
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.content-section h1 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.content-section p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.content-section p:last-child {
  margin-bottom: 0;
}

.brand-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 1.5rem;
}

.site-footer {
  background: var(--color-bg-dark);
  color: #fff;
  margin-top: 2rem;
  padding: 2rem 1.25rem;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
}

.site-footer h2 {
  font-size: 0.875rem;
  font-weight: 300;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 300;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__divider {
  height: 2px;
  width: 3rem;
  background: #4e4d4a;
  margin-bottom: 0.75rem;
}

.site-footer p {
  margin: 0.25rem 0;
  font-weight: 300;
}

.page-simple {
  background: #fff;
  padding: 2rem;
  margin-top: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.page-simple h1 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    flex: 1 1 100%;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__phone {
    flex: 1 1 100%;
    text-align: left;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .promo-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
