:root {
  --color-primary: #f5333f;
  --color-secondary: #001689;
  --color-gray: #c4c4c4;
  --color-white: #ffffff;

  --font-heading: "Bebas Neue", sans-serif;
  --font-body: "Inter Tight", sans-serif;
  --base-size-font: 16px;

  --transition: all 0.4s ease;

  --title: 2.4rem;
  --text-content-size: 1rem;
}

@media screen and (min-width: 580px) {
  :root {
    --title: 2.8rem;
  }
}

@media screen and (min-width: 980px) {
  :root {
    --title: 3.4rem;
  }
}

@media screen and (min-width: 1280px) {
}

body {
  font: 400 var(--base-size-font) var(--font-body);
  line-height: 1.5;
  margin: 0;
  color: var(--color-secondary);
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

p {
  font-size: var(--text-content-size);
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--color-gray);
}

.title {
  margin-bottom: 30px;
  position: relative;
}

.title h1,
.title h2,
.title h3 {
  font: 400 var(--title) var(--font-heading);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

@media screen and (min-width: 580px) {
}

@media screen and (min-width: 980px) {
}

@media screen and (min-width: 1280px) {
}

.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 {
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding: 0 1.5rem;
  max-width: 1200px;
  z-index: 1;
}

@media screen and (min-width: 580px) {
}

@media screen and (min-width: 980px) {
  .container {
    width: 100%;
  }
}

@media screen and (min-width: 1280px) {
}

/* --- General --- */
.btn {
  border: none;
  background: var(--color-secondary);
  color: var(--color-white);
  letter-spacing: 0.4px;
  padding: 16px 45px;
  transition: var(--transition);
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
}

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

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

section {
  padding: 60px 0;
  overflow-x: clip;
  position: relative;
  scroll-margin-top: 90px;
}

@media screen and (min-width: 580px) {
}

@media screen and (min-width: 980px) {
  section {
    padding: 100px 0;
  }
}

@media screen and (min-width: 1280px) {
}

/**
*	PRELOADER
*	=======================================================================================================
**/
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background-color: var(--color-secondary);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

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

.preloader__logo {
  width: 180px;
  height: auto;
}

@media screen and (min-width: 580px) {
  .preloader__logo {
    width: 240px;
  }
}

.preloader__word {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.preloader.is-word-visible .preloader__word {
  opacity: 1;
  transform: translateY(0);
}

.preloader__check {
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.preloader.is-check-visible .preloader__check {
  opacity: 1;
  transform: scale(1);
}

.preloader__bar {
  align-self: stretch;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.preloader__bar-fill {
  width: 0%;
  height: 100%;
  background-color: var(--color-primary);
}

/**
*	HEADER
*	=======================================================================================================
**/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding-top: 0;
  transition: padding-top 0.4s ease;
}
.header__inner {
  display: flex;
  align-items: stretch;
  transition:
    var(--transition),
    border-radius 0.4s ease;
}
.header.is-scrolled .header__inner {
  background-color: #fff;
  box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
  overflow: hidden;
  padding: 0;
}
.header__logo-box {
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 93px;
  flex-shrink: 0;
  transition: var(--transition);
}
.header__logo {
  display: flex;
  padding: 0 0 5px 10px;
}
.header__logo img {
  display: block;
  width: 197px;
  height: auto;
  transition: var(--transition);
}
.header.is-scrolled .header__logo-box {
  height: 80px;
  padding: 12px 24px;
}
.header.is-scrolled .header__logo img {
  width: 150px;
}
.header__nav-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 45px;
  padding: 0 20px;
  min-width: 0;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-left: auto;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition);
}

.header.is-scrolled .header__hamburger span {
  background-color: var(--color-secondary);
}

@media screen and (min-width: 980px) {
  .header.is-scrolled {
    padding-top: 16px;
  }
  .header__inner {
    border-radius: 5px;
  }
  .header__hamburger {
    display: none;
  }
  .header.is-scrolled .header__inner {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px) saturate(180%);
    -webkit-backdrop-filter: blur(3px) saturate(180%);
    box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
    overflow: hidden;
    padding: 0;
  }
}

/** HEADER - NAV ============== **/
.header__nav {
  display: none;
}

@media screen and (min-width: 980px) {
  .header__nav {
    display: flex;
  }
}

.header__nav-menu {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}
.header__nav-menu li a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: var(--transition);
  line-height: 1;
}

.header.is-scrolled .header__nav-menu li a {
  color: var(--color-secondary);
}

.header__nav-check {
  width: 0;
  height: 12px;
  opacity: 0;
  flex-shrink: 0;
  transition: var(--transition);
}

.header__nav-menu li a:hover .header__nav-check,
.header__nav-menu li.current .header__nav-check {
  width: 12px;
  opacity: 1;
}

.header__nav-menu li a:hover,
.header__nav-menu li.current a {
  color: var(--color-primary);
}

/** HEADER - SOCIAL + WHATSAPP ============== **/
.header__social {
  display: none;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media screen and (min-width: 580px) {
  .header__social {
    display: flex;
  }
}

.header__social a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  transition: var(--transition);
}

.header__social a img {
  width: 17px;
  height: 17px;
}

.header.is-scrolled .header__social a img {
  opacity: 0;
}

.header.is-scrolled .header__social a::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-secondary);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.header.is-scrolled .header__social a[aria-label="Instagram"]::after {
  -webkit-mask-image: url(../images/icon-ig.svg);
  mask-image: url(../images/icon-ig.svg);
}

.header.is-scrolled .header__social a[aria-label="LinkedIn"]::after {
  -webkit-mask-image: url(../images/icon-in.svg);
  mask-image: url(../images/icon-in.svg);
}

.header__social a:hover {
  opacity: 0.7;
}
.header__whatsapp {
  display: none;
  align-items: center;
  gap: 10px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  text-decoration: none;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
  height: 48px;
  border-radius: 5px;
  font-family: var(--font-heading);
  letter-spacing: 0.4px;
}
@media screen and (min-width: 1280px) {
  .header__whatsapp {
    display: flex;
  }
}
a.header__whatsapp:visited {
    color: #fff;
}
.header__whatsapp:hover {
  background-color: var(--color-primary);
}

.header__whatsapp img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/**
*	NAV SIDEBAR (MOBILE)
*	=======================================================================================================
**/
.nav-sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 2000;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 20px rgb(0 0 0 / 15%);
  display: flex;
  flex-direction: column;
}

.nav-sidebar.is-open {
  left: 0;
}

.nav-sidebar__header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-secondary);
}

.nav-sidebar__logo img {
  width: 110px;
  display: block;
}

.nav-sidebar__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-white);
}

.nav-sidebar__menu {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.nav-sidebar__menu li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: var(--transition);
}

.nav-sidebar__menu li a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

.nav-sidebar__footer {
  padding: 20px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-sidebar__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.nav-sidebar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-secondary);
}

.nav-sidebar__social a img {
  width: 14px;
  height: 14px;
}

.nav-sidebar__overlay {
  position: fixed;
  inset: 0;
  background-color: rgb(0 0 0 / 50%);
  z-index: 1999;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-sidebar__overlay.is-open {
  display: block;
  opacity: 1;
}

/**
*	HERO SLIDER
*	=======================================================================================================
**/
.hero {
  padding: 0;
  height: 100vh;
  min-height: 560px;
  max-height: 900px;
}

.hero__swiper {
  height: 100%;
}

.hero__slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 60px;
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
}

.hero__slide-overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0.7;
  z-index: 1;
}
.hero__slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.hero__slide-title {
  color: var(--color-white);
  font: 400 clamp(3rem, 6vw, 4rem) var(--font-heading);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
  max-width: 620px;
  padding-left: 20px;
}
@media screen and (min-width: 980px) {
  .hero__slide-content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-left: 80px;
  }
  .hero__slide-title {
    padding-left: 0;
  }
}
.hero__slide-box {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 30px;
  width: 100%;
  min-height: 225px;
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-lines {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 1200px;
  z-index: 2;
  opacity: 0.3;
  pointer-events: none;
}
.hero-lines .line1,
.hero-lines .line2,
.hero-lines .line3,
.hero-lines .line4 {
  position: absolute;
  background-color: #fff;
}
.hero-lines .line1 {
  top: 0;
  left: 1.5rem;
  width: 1px;
  height: 100%;
}
.hero-lines .line2 {
  top: 0;
  left: calc(1.5rem + 250px);
  width: 1px;
  height: 25%;
}
.hero-lines .line3 {
  top: 93px;
  left: 50%;
  width: 300%;
  height: 1px;
  transform: translateX(-50%);
}
.hero-lines .line4 {
  top: 25%;
  left: 50%;
  width: 200%;
  height: 1px;
  transform: translate(-50%, 0);
}

@media screen and (min-width: 980px) {
  .hero__slide-box {
    width: 430px;
  }
  .hero-lines .line2 {
    top: 0;
    left: calc(1.5rem + 250px);
    width: 1px;
    height: 50%;
  }
  .hero-lines .line4 {
    top: 50%;
    left: 50%;
    width: 200%;
    height: 1px;
    transform: translate(-50%, -50%);
  }
}

.hero__slide-box-counter {
  font: 400 1.4rem var(--font-heading);
  margin-bottom: 16px;
}

.hero__slide-box-counter span {
  color: var(--color-secondary);
}
.hero__slide-box-title {
  font: 400 2rem var(--font-heading);
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.15;
}
.hero__slide-box-text {
  margin: 0;
  color: var(--color-gray);
}

.hero__pagination {
  position: absolute !important;
  /* 60px padding-bottom del slide + 225px min-height del cuadro rojo + 20px de aire */
  bottom: 305px !important;
  left: auto !important;
  /* mismo borde derecho que .container (padding 1.5rem + margen auto cuando el viewport supera los 1200px) */
  right: max(1.5rem, calc((100% - 1200px) / 2 + 1.5rem)) !important;
  width: auto !important;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero__swiper .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.5);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 1;
  margin: 0 !important;
}

.hero__swiper .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
  width: 30px;
  border-radius: 5px;
}

@media screen and (min-width: 580px) {
}

@media screen and (min-width: 980px) {
}

@media screen and (min-width: 1280px) {
}

/**
*	CLIENTES
*	=======================================================================================================
**/
.clientes {
  padding: 60px 0;
  background-color: var(--color-white);
}

.clientes__marquee {
  overflow: hidden;
}

.clientes__track {
  display: flex;
  width: max-content;
  animation: clientes-marquee-scroll 20s linear infinite;
}

.clientes__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 60px;
}

@keyframes clientes-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.clientes__logo {
  height: 28px;
  width: auto;
  opacity: 0.5;
	transition: var(--transition);
}
.clientes__logo:hover{
	opacity:1;
}

@media screen and (min-width: 580px) {
  .clientes__logo {
    height: 80px;
    width: 150px;
    object-fit: contain;
}
}

@media screen and (min-width: 980px) {
}

@media screen and (min-width: 1280px) {
}

/**
*	RUBROS
*	=======================================================================================================
**/
.rubros {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.rubros__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media screen and (min-width: 980px) {
  .rubros__inner {
    flex-direction: row;
    align-items: center;
  }
  .rubros {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.rubros__title {
  margin: 0;
}

@media screen and (min-width: 980px) {
  .rubros__title {
    width: 20%;
    flex-shrink: 0;
  }
}

.rubros__title h2 {
  font: 400 clamp(1.8rem, 3vw, 2.4rem) var(--font-heading);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0;
  color: var(--color-white);
}

.rubros__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  width: 100%;
}

@media screen and (min-width: 980px) {
  .rubros__grid {
    width: 80%;
  }
}

@media screen and (min-width: 580px) {
  .rubros__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.rubros__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.rubros__item-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

@media screen and (min-width: 980px) {
  .rubros__item {
    padding: 40px 20px;
    aspect-ratio: 1/1;
  }

  .rubros__item-icon {
    width: 107px;
    height: 107px;
  }
}

.rubros__item-label {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-family: var(--font-heading);
}

@media screen and (min-width: 1280px) {
}

/**
*	SOBRE NOSOTROS
*	=======================================================================================================
**/
.nosotros {
  overflow: clip;
}

.nosotros__bg {
  position: absolute;
  inset: 0;
}

.nosotros__overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0.75;
  z-index: 1;
}
.nosotros__card {
  position: relative;
  z-index: 3;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  border-radius: 5px;
}
.nosotros__card-col--content::after {
  content: "";
  position: absolute;
  background-color: #fff;
  bottom: 57px;
  right: 0;
  width: 100%;
  height: 1px;
  opacity: 0.3;
  z-index: 9;
}
.nosotros__card-col--content {
  position: relative;
  overflow: clip;
  padding: 40px 40px 90px;
}

@media screen and (min-width: 580px) {
  .nosotros__card-col--content {
    padding: 40px 40px 155px;
  }
  .nosotros__card-col--content::after {
    bottom: 100px;
  }
}
@media screen and (min-width: 980px) {
  .nosotros__card {
    flex-direction: row;
  }
  .nosotros__card-col--content {
    width: calc(100% - 460px);
    padding: 70px;
    min-height: 445px;
  }
  .nosotros__card::after {
    content: "";
    position: absolute;
    background-color: #fff;
    bottom: 100px;
    right: 0;
    width: 200%;
    height: 1px;
    opacity: 0.3;
    z-index: 9;
  }
  .nosotros__card-col--content::after {
    display: none;
  }
}

.nosotros__card-col--image {
  min-height: 240px;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 1/1;
}

@media screen and (min-width: 980px) {
  .nosotros__card-col--image {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 443px;
    z-index: 10;
  }
}

.nosotros__marquee {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.nosotros__marquee-track {
  display: inline-flex;
  width: max-content;
  animation: nosotros-marquee-scroll 18s linear infinite;
}

.nosotros__marquee-track span {
  font: 400 clamp(2.4rem, 9vw, 4.6rem) var(--font-heading);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

@keyframes nosotros-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.nosotros__card h2 {
  position: relative;
  z-index: 1;
  font: 400 clamp(1.6rem, 2.5rem, 3rem) var(--font-heading);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 24px;
  color: var(--color-white);
}
.nosotros__card-text {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
}
.nosotros__card-bar {
  width: 7px;
  flex-shrink: 0;
  background-color: var(--color-secondary);
}

.nosotros__card-text p {
  color: var(--color-gray);
  margin: 0;
}
.nosotros-lines {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 1200px;
  z-index: 2;
  opacity: 0.3;
  pointer-events: none;
}
.nosotros-lines__inner {
  width: calc(80% - 40px);
  height: 100%;
  position: relative;
  margin-left: auto;
  /* background-color: yellow; */
}
.nosotros-lines__inner .linea1,
.nosotros-lines__inner .linea2,
.nosotros-lines__inner .linea3,
.nosotros-lines__inner .linea4 {
  position: absolute;
  top: 0;
  background-color: #fff;
  z-index: 1;
  width: 1px;
  height: 100%;
}
.nosotros-lines__inner .linea1 {
  left: 0;
}
.nosotros-lines__inner .linea2 {
  left: 33.33%;
}
.nosotros-lines__inner .linea3 {
  left: 66.66%;
}
.nosotros-lines__inner .linea4 {
  right: 0;
}
#sobre-nosotros .container {
  z-index: 3;
}

@media screen and (min-width: 1280px) {
}

/**
*	CONTACTO
*	=======================================================================================================
**/
.contacto {
  padding: 0;
}

.contacto__inner {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 980px) {
  .contacto__inner {
    flex-direction: row;
  }
}

.contacto__col {
  padding: 60px 1.5rem;
}

@media screen and (min-width: 980px) {
  .contacto__col {
    width: 50%;
    padding: 100px;
  }
}

.contacto__col--info {
  background-color: var(--color-white);
  display: flex;
  align-items: center;
}

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

.contacto__col--info h2 {
  font: 400 clamp(1.6rem, 3vw, 2.2rem) var(--font-heading);
  text-transform: uppercase;
  color: var(--color-secondary);
  margin: 0 0 20px;
  line-height: 1.2;
}

.contacto__col--form > p {
  color: var(--color-gray);
  margin-bottom: 40px;
}

.contacto__form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contacto__row {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

@media screen and (min-width: 580px) {
  .contacto__row {
    flex-direction: row;
  }
}

.contacto__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.contacto__field label {
  color: var(--color-gray);
}
.contacto__field input, .contacto__field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 8px 0;
    width: 100%;
}

.contacto__field input::placeholder,
.contacto__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contacto__field textarea {
    resize: none;
    min-height: 50px;
    height: 115px;
}

.contacto__submit {
  width: max-content;
  background-color: var(--color-secondary);
}

.contacto__submit:hover {
  background-color: #000f5c;
}

.wpcf7-not-valid-tip {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1.2;
    margin-top: 10px;
}

/**
*	FOOTER
*	=======================================================================================================
**/
.footer {
  background-color: var(--color-secondary);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

@media screen and (min-width: 980px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__logo img {
  width: 197px;
  display: block;
}
.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-gray);
}

@media screen and (min-width: 980px) {
  .footer__meta {
    flex-direction: row;
    gap: 14px;
  }
}

.footer__divider {
  display: none;
}

@media screen and (min-width: 980px) {
  .footer__divider {
    display: block;
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.3);
  }
}

.footer__credit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__credit a {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.footer__credit a:hover {
  opacity: 0.7;
}

.footer__credit img {
  width: 26px;
  display: block;
}

/**
*	404
*	=======================================================================================================
**/
.error-404 {
  background-color: var(--color-secondary);
  min-height: calc(100vh - 93px);
  display: flex;
  align-items: center;
}

.error-404__inner {
  text-align: center;
}

.error-404__code {
  font: 400 clamp(5rem, 18vw, 11rem) var(--font-heading);
  color: var(--color-primary);
  line-height: 1;
  margin: 0;
}

.error-404__title {
  font: 400 clamp(1.6rem, 4vw, 2.4rem) var(--font-heading);
  text-transform: uppercase;
  color: var(--color-white);
  margin: 16px 0;
}

.error-404__text {
  color: var(--color-gray);
  max-width: 480px;
  margin: 0 auto 32px;
}
