:root {
  --primary: #d71920;
  --dark: #111111;
  --gray: #666666;
  --light: #f5f5f5;
  --white: #ffffff;
  --yellow: #ffc107;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 230px;
}

.logo-img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.menu {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
}

.menu a {
  font-weight: 700;
  color: var(--white);
}

.menu a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 40px;
  font-weight: 800;
  transition: .3s;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: #a90006;
}

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

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

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

.hero {
  min-height: 680px;
  color: var(--white);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65));
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero h1 {
  font-family: "Raleway", sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 32px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: var(--white);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: .3s;
}

.slider-btn:hover {
  background: var(--primary);
}

.slider-prev {
  left: 28px;
}

.slider-next {
  right: 28px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--primary);
}

.brand-slider-section {
  min-height: 104px;
  padding: 0;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(250px, 26vw) 1fr;
  align-items: center;
}

.brand-heading {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  padding: 0 42px 0 24px;
  font-family: "Raleway", sans-serif;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 900;
  color: var(--white);
}

.brand-heading i {
  position: relative;
  display: block;
  width: 54px;
  height: 40px;
  transform: skewX(-14deg);
}

.brand-heading i::before,
.brand-heading i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28px;
  background: #111111;
}

.brand-heading i::after {
  left: 25px;
  background: rgba(255,255,255,.35);
}

.brand-slider {
  overflow: hidden;
  width: 100%;
}

.brand-track {
  display: flex;
  width: max-content;
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
  animation: brand-marquee 24s linear infinite;
}

.brand-track:hover {
  animation-play-state: paused;
}

.brand {
  min-width: clamp(130px, 12vw, 190px);
  background: transparent;
  padding: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  color: var(--white);
  font-family: "Raleway", sans-serif;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: none;
  opacity: .95;
  transition: .3s;
}

.brand img {
  width: 100%;
  height: 54px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand:hover {
  color: var(--white);
  opacity: 1;
  transform: scale(1.04);
}

@keyframes brand-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-family: "Raleway", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  color: var(--dark);
}

.section-title p {
  color: var(--gray);
  margin-top: 10px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(215,25,32,.1);
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.catalog-section {
  position: relative;
  background:
    radial-gradient(circle at 10% 10%, rgba(215,25,32,.12), transparent 28%),
    linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
  overflow: hidden;
}

.catalog-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--primary);
}

.catalog-section .container {
  position: relative;
}

.catalog-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.catalog-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: -18px 0 36px;
}

.catalog-grid {
  align-items: stretch;
  gap: 28px;
}

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

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: .3s;
}

.card:hover {
  transform: translateY(-6px);
}

.card-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.catalog-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215,25,32,.12);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    linear-gradient(135deg, rgba(215,25,32,.08), transparent 45%),
    var(--white);
}

.catalog-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(215,25,32,.1);
  transition: .3s;
}

.catalog-card:hover {
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(215,25,32,.18);
}

.catalog-card:hover::after {
  transform: scale(1.35);
}

.catalog-card p {
  color: var(--gray);
  font-size: 15px;
  margin-top: 8px;
}

.catalog-card span {
  position: relative;
  z-index: 1;
  color: var(--primary);
  font-weight: 900;
  margin-top: auto;
  padding-top: 18px;
}

.catalog-card:hover .card-icon {
  background: var(--primary);
  transform: rotate(-6deg) scale(1.05);
}

.catalog-card .card-icon {
  font-size: 26px;
  line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.18);
}

.card:not(.catalog-card) .card-icon {
  width: auto;
  height: auto;
  margin-bottom: 16px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 42px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

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

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

.services-section .card {
  border: 1px solid #eeeeee;
  border-top: 5px solid var(--primary);
}

.services-section .card:hover {
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
}

.phones {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.phone {
  background: rgba(255,255,255,.15);
  padding: 14px 22px;
  border-radius: 40px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split h2 {
  font-family: "Raleway", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  margin-bottom: 20px;
}

.split p {
  color: var(--gray);
  margin-bottom: 22px;
}

.contact-box {
  background:
    linear-gradient(135deg, rgba(215,25,32,.2), transparent 42%),
    var(--dark);
  color: var(--white);
  padding: 45px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.contact-box h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-box p {
  margin-bottom: 10px;
  color: #dddddd;
}

footer {
  background: #080808;
  color: var(--white);
  padding: 60px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 35px;
}

footer h3 {
  color: var(--primary);
  margin-bottom: 18px;
  font-family: "Raleway", sans-serif;
}

footer p,
footer li {
  color: #cccccc;
  font-size: 15px;
  margin-bottom: 8px;
  list-style: none;
}

.copy {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 35px;
  padding-top: 20px;
  text-align: center;
  color: #aaaaaa;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  z-index: 200;
  box-shadow: 0 8px 25px rgba(0,0,0,.3);
}

.mobile-btn {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .mobile-btn {
    display: block;
  }

  .menu {
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    padding: 30px;
    display: none;
  }

  .menu a {
    text-align: center;
  }

  .menu.active {
    display: flex;
  }

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

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

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

  .slider-btn {
    display: none;
  }

  .logo {
    max-width: 180px;
  }

  .brand-slider-section {
    grid-template-columns: 220px 1fr;
  }

  .brand-heading {
    justify-content: center;
    gap: 18px;
    padding: 0 18px;
  }
}

@media (max-width: 560px) {
  .grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 580px;
  }

  .hero-content .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
  }

  .navbar {
    height: 74px;
  }

  .menu {
    top: 74px;
  }

  .logo-img {
    width: 145px;
  }

  .brand {
    min-width: 135px;
  }

  .brand-slider-section {
    min-height: 126px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .brand-heading {
    height: auto;
    justify-content: center;
  }

  .brand-heading i {
    width: 42px;
    height: 30px;
  }

}
