/**
*  ROOT
*  =======================================================================================================
**/

:root {
  --color-red: #c42630;
  --color-white: #ffffff;
  --color-dark: #262424;
  --color-gray-light: #dfe0da;
  --font-body: "Barlow", sans-serif;
  --font-display: "Barlow Condensed", sans-serif;
  --base-size-font: 16px;
  --container-width: 1200px;
  --transition: all 0.35s ease;
}

/**
*  BASE
*  =======================================================================================================
**/

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--base-size-font);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-dark);
}

img {
  display: block;
}

svg {
  width: 100%;
  height: 100%;
}

main {
  display: block;
}

p {
  margin: 0 0 15px;
}

p:last-child {
  margin-bottom: 0;
}

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

*,
*::before,
*::after {
  box-sizing: border-box;
}
section {
  overflow-x: clip !important;
}

/**
*  UTILIDADES
*  =======================================================================================================
**/

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

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.d-flex {
  display: flex;
}

/**
*  CONTAINER
*  =======================================================================================================
**/

.container {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/**
*  BOTÓN
*  =======================================================================================================
**/
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s ease;
  width: max-content;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: filter 0.35s ease;
}

.btn:hover .btn__icon {
  filter: brightness(0) invert(1);
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/**
*  HEADER
*  =======================================================================================================
**/

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
}

.site-header.is-scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  background: var(--color-dark);
}
.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-right: 175px;
  transition: var(--transition);
}
.site-header.is-scrolled .site-header__inner {
margin-right: 0;
}

/** HEADER - LOGO **/

.site-header__logo {
  display: block;
  width: 165px;
  flex-shrink: 0;
}
.site-header__logo img {
  width: 100%;
  height: auto;
}

/** HEADER - NAV **/

.site-header__nav {
  display: flex;
  justify-content: center;
}
.site-header__menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header__menu-item a {
  display: block;
  padding: 8px 18px;
  font-family: var(--font-body);
  color: var(--color-white);
  transition: var(--transition);
  outline: 1px solid transparent;
  outline-offset: 0;
}

.site-header__menu-item a:hover,
.site-header__menu-item a.active {
  outline-color: var(--color-white);
}
.site-header__menu .site-header__menu-item:first-child a{
outline-color: var(--color-white);
}

/** HEADER - SOCIAL **/

.site-header__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.site-header__social-link {
  display: block;
  width: 20px;
  height: 20px;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.site-header__social-link:hover {
  opacity: 1;
}

.site-header__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/** HEADER - HAMBURGER **/

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 200;
}

.site-header__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.site-header.is-open .site-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .site-header__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-header.is-open .site-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/** HEADER - RESPONSIVE **/

@media screen and (max-width: 979px) {
  .site-header__inner {
    margin-right: 0;
    gap: 16px;
  }
  .site-header__toggle {
    display: flex;
  }
  .site-header__social {
    display: none;
  }
  .site-header__nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 150;
  }
  .site-header.is-open .site-header__nav {
    opacity: 1;
    pointer-events: auto;
  }
  .site-header__menu {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  .site-header__menu-item a {
    font-size: 1.6rem;
    font-family: var(--font-display);
    padding: 14px 40px;
  }
}

@media screen and (max-width: 579px) {
  .site-header__logo {
    width: 130px;
  }
}

/**
*  HERO
*  =======================================================================================================
**/

.section-hero {
  position: relative;
  min-height: calc(100vh - 139px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/** HERO - imagen **/

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

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

/** HERO - overlay oscuro **/

.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/** HERO - contenido **/

.section-hero__body {
  position: relative;
  z-index: 3;
  width: 100%;
  height: calc(100vh - 139px);
  display: flex;
  align-items: center;
  top: 0;
}
.section-hero__body .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 100px 0 0 160px;
}
.section-hero__body .container::before {
  content: "";
  position: absolute;
  left: -700px;
  top: 0;
  width: 800px;
  height: 100vh;
  background-image: url(../images/hero-adorno-2.svg);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: top right;
}
.section-hero__body .container::after {
  content: "";
  position: absolute;
  right: -650px;
  top: 0;
  width: 794px;
  height: 243px;
  background-image: url(../images/adorno-hero-3.svg);
  background-repeat: no-repeat;
  background-size: 794px;
  background-position: top right;
}
.section-hero__content {
  max-width: 500px;
}
.section-hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-hero__content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 0;
}

.section-hero__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

/** HERO - RESPONSIVE **/

@media screen and (max-width: 979px) {
  .section-hero {
    min-height: 60vh;
  }
  .section-hero__body {
    height: auto;
  }
  .section-hero__body .container {
    padding: 100px 1.5rem 80px;
    justify-content: flex-end;
  }
  .section-hero__body .container::before,
  .section-hero__body .container::after {
    display: none;
  }
  .section-hero__content {
    max-width: 100%;
  }
  .section-hero__footer {
    position: static;
    margin-top: 24px;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 579px) {
}

@media screen and (min-width: 1280px) {
  .section-hero__body .container {
    padding: 100px 0 0 160px;
    justify-content: center;
  }
  .section-hero__footer {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-top: 0;
  }
}

/**
*  CLIENTS
*  =======================================================================================================
**/

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

.section-clients__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 139px;
  padding: 20px 0;
}
.section-clients__label {
  flex-shrink: 0;
  font-size: 1.9rem;
  color: var(--color-white);
  max-width: 280px;
  line-height: 1.1;
  margin-bottom: 0;
  padding: 0 20px;
  font-family: var(--font-display);
}
.section-clients__swiper-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.section-clients__swiper {
  overflow: hidden;
  --clients-marquee-distance: 0px;
  --clients-marquee-duration: 24s;
}

.section-clients__swiper-wrap::before,
.section-clients__swiper-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.section-clients__swiper-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-dark), transparent);
}

.section-clients__swiper-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-dark), transparent);
}

.section-clients__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: clients-marquee var(--clients-marquee-duration) linear infinite;
}

.section-clients__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 90px;
  padding-right: 90px;
}

.section-clients__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.section-clients__logo {
  height: 45px;
  width: auto;
  display: block;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.section-clients__logo:hover {
  opacity: 1;
}

@keyframes clients-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--clients-marquee-distance)), 0, 0);
  }
}

/** CLIENTS - RESPONSIVE **/

@media screen and (max-width: 979px) {
  .section-clients__inner {
    flex-direction: column;
    gap: 35px;
    padding: 50px 0;
    min-height: auto;
  }
  .section-clients__label {
    max-width: 100%;
    text-align: center;
    padding: 0;
    font-size: 1.5rem;
  }
  .section-clients__group {
    gap: 56px;
    padding-right: 56px;
  }
  .section-clients__swiper-wrap::before,
  .section-clients__swiper-wrap::after {
    width: 42px;
  }
  .section-clients__logo {
    height: 36px;
  }
}

@media screen and (min-width: 580px) {
  .section-clients__inner {
    flex-direction: row;
    min-height: 139px;
    padding: 20px 0;
    gap: 40px;
  }
  .section-clients__label {
    max-width: 280px;
    text-align: left;
    padding: 0 20px;
    font-size: 1.9rem;
  }
}

/**
*  VEHICLES
*  =======================================================================================================
**/

.section-vehicles {
  position: relative;
  padding: 60px 0 0;
  background: var(--color-white);
  overflow: visible;
}

/** VEHICLES - cabecera **/

.section-vehicles__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 400;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.1;
}
.title h2 strong {
  font-family: var(--font-display);
  font-weight: 700;
}

/** VEHICLES - grid **/

.section-vehicles__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
}

/** VEHICLES - tarjeta **/

.vehicle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-gray-light);
  cursor: pointer;
  overflow: hidden;
  background: var(--color-white);
  aspect-ratio: 8/7;
}
.vehicle-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.vehicle-card__title {
  display: block;
  padding: 25px 25px 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  transition: color 0.35s ease;
  position: relative;
  z-index: 5;
}
.vehicle-card__body {
  position: relative;
  flex: 1;
  overflow: hidden;
  z-index: 2;
  width: 210px;
  padding: 0 20px 20px;
  margin-left: auto;
}
.vehicle-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  transition: opacity 0.35s ease;
}
.vehicle-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 4;
}
.vehicle-card__overlay-logo {
  width: 155px;
  height: 155px;
  object-fit: contain;
  position: absolute;
  bottom: -40px;
  right: -20px;
}
.vehicle-card:hover .vehicle-card__bg {
  opacity: 1;
}

.vehicle-card:hover .vehicle-card__title {
  color: var(--color-white);
}

.vehicle-card:hover .vehicle-card__img {
  opacity: 0;
}

.vehicle-card:hover .vehicle-card__overlay {
  opacity: 1;
}

/** VEHICLES - vehículo grande desbordante **/

.section-vehicles__overflow-vehicle {
  right: 0;
  width: 100%;
  z-index: 5;
  pointer-events: none;
  position: relative;
  bottom: 0;
  margin: 10px 0 -145px;
}

.section-vehicles__overflow-vehicle img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
}

.section-vehicles__spacer {
  height: 40px;
}

@media screen and (min-width: 580px) {
  .section-vehicles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-vehicles__overflow-vehicle {
    position: absolute;
    bottom: -90px;
    right: 0;
    width: 55%;
    margin: 0;
}
}
@media screen and (min-width: 980px) {
  .section-vehicles__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .section-vehicles__overflow-vehicle {
    position: absolute;
    bottom: -115px;
    right: 0;
    width: 530px;
  }
}
@media screen and (min-width: 1280px) {
}

@media screen and (max-width: 979px) {
  .vehicle-card--empty {
    display: none;
  }
}

@media screen and (max-width: 579px) {
  .vehicle-card__body {
    width: 100%;
    padding: 0 12px 12px;
  }
}

@media screen and (min-width: 980px) {
  .vehicle-card--empty {
    display: flex;
  }
  .section-vehicles__overflow-vehicle {
    display: block;
  }
}

/**
*  HOME - ABOUT US
*  =======================================================================================================
**/
.section-aboutus {
    position: relative;
    background: url(../images/adorno-section-3.svg), var(--color-dark);
    background-position: left bottom,
    center;
    background-repeat: no-repeat;
    background-size: 200px, 100%;
    padding: 125px 0 80px;
    overflow: hidden;
}

.section-aboutus__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.section-aboutus__media {
  position: relative;
}
.section-aboutus__img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0 0, calc(100% - 50px) 0, 100% 50px, 100% 100%, 0 100%);
  aspect-ratio: 1/1;
}
.section-aboutus__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 24px;
}
.section-aboutus__content h2 strong {
  font-weight: 700;
  font-family: var(--font-display);
}
.section-aboutus__content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  .section-aboutus {
  padding: 80px 0 80px;
}
.section-aboutus {
  background-size: 660px, 100%;
}
}
@media screen and (min-width: 1280px) {
}

/** ABOUT US - RESPONSIVE **/

@media screen and (max-width: 979px) {
  .section-aboutus__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media screen and (min-width: 980px) {
  .section-aboutus {
    background: url(../images/adorno-section-3.svg), var(--color-dark);
    background-position:
      left bottom,
      center;
    background-repeat: no-repeat;
    background-size: 660px, 100%;
    padding: 80px 0;
  }
  .section-aboutus__layout {
    grid-template-columns: 1fr 1fr;
    gap: 90px;
  }
}

/**
*  CONTACT
*  =======================================================================================================
**/

.section-contact {
  padding: 80px 0;
  background: var(--color-white);
  position: relative;
  z-index: 2;
}

/** CONTACT - layout **/

.section-contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/** CONTACT - columna izquierda **/

.section-contact__left .title {
  margin-bottom: 40px;
}
.section-contact__vehicle {
  display: block;
  width: 100%;
  max-width: 590px;
  margin-bottom: -60px;
  z-index: 9;
  position: relative;
  margin-left: -35px;
}

/** CONTACT - formulario **/

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form__label {
  color: var(--color-dark);
}
.contact-form__input-wrap {
  position: relative;
}

.contact-form__input-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 18px 0 0;
  border-color: var(--color-white) transparent transparent transparent;
  z-index: 2;
  pointer-events: none;
}

.contact-form__input,
.contact-form__textarea {
  display: block;
  width: 100%;
  padding: 14px 14px 14px 18px;
  background: var(--color-gray-light);
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-dark);
  outline: none;
  transition: background 0.25s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  background: #ddd;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 14px;
}


@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  .section-contact {
  padding: 80px 0 0;
}
}
@media screen and (min-width: 1280px) {
}

/** CONTACT - RESPONSIVE **/

@media screen and (max-width: 979px) {
  .section-contact__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-contact__left .title {
    margin-bottom: 0;
  }
  .section-contact__vehicle {
    display: none;
  }
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 980px) {
  .section-contact__layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .section-contact__left .title {
    margin-bottom: 40px;
  }
  .section-contact__vehicle {
    display: block;
  }
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

/**
*  FOOTER
*  =======================================================================================================
**/

.site-footer {
  position: relative;
  color: #fff;
}

/** FOOTER - cuerpo principal **/

.site-footer__main {
  position: relative;
  overflow: hidden;
  padding: 120px 0 130px;
  background-color: var(--color-red);
  clip-path: polygon(0 0, calc(100% - 170px) 0, 100% 140px, 100% 100%, 0 100%);
  border-bottom: 1px solid #000;
}
.site-footer::after {
  content: "";
  position: absolute;
  right: 0;
  top: -65px;
  width: 202px;
  height: 206px;
  background-color: var(--color-dark);
  clip-path: polygon(100% 0, 100% 100%, 55px 85px);
  z-index: 99;
}
.site-footer__layout {
    display: flex;
    flex-direction: column;
    gap: 215px;
    /* align-items: start; */
    position: relative;
    z-index: 2;
    align-items: center;
    text-align: center;
}

/** FOOTER - marca **/

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 33px;
    max-width: 321px;
    align-items: center;
}
.site-footer__logo {
  width: 230px;
  display: block;
}
.site-footer__logo img {
  width: 100%;
  height: auto;
}
.site-footer__brand-text {
  line-height: 1.2;
}

/** FOOTER - CTA **/

.site-footer__cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 3rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 40px;
}

.site-footer__cta h3 strong {
  font-weight: 700;
}

.site-footer__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.site-footer__info-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.site-footer__social {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    align-items: center;
    justify-content: center;
}

.site-footer__social-link {
  display: block;
  width: 22px;
  height: 22px;
  opacity: 0.65;
  transition: opacity 0.25s ease;
}

.site-footer__social-link:hover {
  opacity: 1;
}

.site-footer__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/** FOOTER - watermark **/

.site-footer__watermark {
  position: absolute;
  right: -35px;
  top: 0;
  width: 236px;
  pointer-events: none;
  z-index: 1;
}

/** FOOTER - copyright **/

.site-footer__bottom {
  padding: 16px 0;
  background: var(--color-dark);
}
.site-footer__copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    flex-direction: column;
}
.site-footer__copyright span{
  display: none;
}
.site-footer__copyright-logo {
    display: flex;
    height: 16px;
    width: auto;
    vertical-align: middle;
    align-items: center;
    gap: 5px;
}
.site-footer__copyright-logo img {
  height: 16px;
  width: auto;
}
@media screen and (min-width: 580px) {
  .site-footer__copyright {
    flex-direction: row;
}
.site-footer__copyright span{
  display: flex;
}
}
@media screen and (min-width: 980px) {
  .site-footer__layout {
    text-align: left;
    flex-direction: row;
}
.site-footer__brand {
    align-items: flex-start;
}
.site-footer__social {
    justify-content: flex-start;
}
}
@media screen and (min-width: 1280px) {
}

/** FOOTER - RESPONSIVE **/

@media screen and (max-width: 979px) {
  .site-footer__main {
    clip-path: polygon(0 0, calc(100% - 80px) 0, 100% 60px, 100% 100%, 0 100%);
    padding: 80px 0 80px;
  }
  .site-footer::after {
    width: 110px;
    height: 110px;
    top: -50px;
    clip-path: polygon(100% 0, 100% 100%, 24% 45%);
  }
  .site-footer__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .site-footer__info {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 579px) {
  .site-footer__info {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 980px) {
  .site-footer__main {
    clip-path: polygon(
      0 0,
      calc(100% - 170px) 0,
      100% 140px,
      100% 100%,
      0 100%
    );
    padding: 120px 0 130px;
  }
  .site-footer::after {
    width: 202px;
    height: 206px;
    top: -65px;
    clip-path: polygon(100% 0, 100% 100%, 55px 85px);
  }
  .site-footer__layout {
    grid-template-columns: 1fr 1.6fr;
    gap: 215px;
  }
  .site-footer__info {
    grid-template-columns: 1fr 1fr;
  }
}

/**
*  PRELOADER
*  =======================================================================================================
**/

.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.preloader-active {
  overflow: hidden;
}

.preloader__inner {
    width: 145px;
}

.preloader__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.preloader__path {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1;
  stroke-miterlimit: 10;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
}

.preloader__path.animate {
  animation: preloader-draw 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloader-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/**
*  404
*  =======================================================================================================
**/

.section-404 {
  min-height: 100svh;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.section-404__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section-404__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-red);
  letter-spacing: -4px;
}

.section-404__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.1;
  margin: 0;
}

.section-404__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}
