/* Variables color */
:root {
  --light-green-color: #6A9C89;
  --dark-green-color-a: #204e47;
  --dark-green-color-b: #16423C;
  --text-green-color: #091816;
  --light-yellow-color: #F9F8F5;
  --yellow-color: #C2B697;
}

/* Tipografia global por defecto */
body {
  font-family: 'Sora', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-green-color);
  background-color: white;
}

/* Titulares */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--dark-green-color-a);
}

h1 {
  font-weight: 500;
  font-size: 3.4375rem;
  line-height: 3.75rem;
  color: var(--light-yellow-color);
}

h2 {
  font-weight: 500;
  font-size: 3.125rem;
  line-height: 4.1875rem;
}


h3 {
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 2.1875rem;
}

.h3-team {
  font-size: 2.375rem;
  line-height: 3.1875rem;
  font-weight: 400;
  color: var(--light-yellow-color);
}

h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  font-size: 1.085rem;
  line-height: 1rem;
  letter-spacing: 0.03rem;
  color: var(--light-yellow-color);
}

/* Estilos texto generales */
.span-light-green {
  color: var(--light-green-color);
}

.span-dark-green-a {
  color: var(--dark-green-color-a);
}

.title-white {
  color: var(--light-yellow-color);
  font-weight: 300;
}

.texto-white {
  color: var(--light-yellow-color);
  font-weight: 200;
}

.texto-normal {
  font-weight: 400;
}

.texto-semibold {
  font-weight: 500;
}

.texto-bold {
  font-weight: 600;
}


/* Estilos especificos parrafos */
p {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75rem;
}

.p-bajada {
  max-width: 950px;
  margin: auto;
}

.p-subtitle {
  color: var(--yellow-color);
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.p-small {
  font-size: 0.875rem;
  line-height: 1.5rem;
  /* margin-bottom: 1.2rem; */
}

.p-subtitle-b {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 2.1875rem;
  color: var(--light-green-color);
  margin-bottom: 1.2rem;
}

.p-subtitle-c {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  font-size: 1.75rem;
  line-height: 2.1875rem;
  letter-spacing: 0.03rem;
  color: var(--yellow-color);
  margin-bottom: 1.2rem;
}

.margin-spec {
  margin-bottom: 0.3rem;
}

/* Estilos links */
a {
  text-decoration: none;
  color: var(--light-yellow-color);
  font-weight: 200;
  font-size: 1rem;
  letter-spacing: 0.03rem;
  transition: color 0.3s ease-in-out;
}

a:visited {
  color: var(--light-yellow-color);
}

a:hover {
  color: var(--light-green-color);
}

.nav-link {
  font-weight: 300;
  font-size: 1rem;
  padding: 10px 0;
  color: var(--light-yellow-color);
  transition: color 0.3s ease-in-out;
}

.nav-link:visited {
  color: var(--light-yellow-color);
}

.nav-link:hover {
  color: var(--light-green-color);
}

.nav-link-footer {
  font-weight: 300;
  font-size: 1rem;
  color: var(--light-yellow-color);
  transition: color 0.3s ease-in-out;
}

.nav-link-footer:visited {
  color: var(--light-yellow-color);
}

.nav-link-footer:hover {
  color: var(--light-green-color);
}

/* Estilos botones */
.btn-primary {
  padding: 20px 60px;
  background-color: var(--light-green-color);
  color: var(--light-yellow-color);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: var(--dark-green-color-a);
}

.btn-ghost {
  padding: 20px 60px;
  background-color: rgba(255, 255, 255, 0);
  color: var(--light-yellow-color);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1rem;
  border: 2px solid var(--light-yellow-color);
  box-sizing: border-box;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.btn-ghost:hover {
  background-color: var(--light-green-color);
  border: 2px solid var(--light-green-color);
}

/* Secciones generales */
.wrapper {
  max-width: 1257px !important;
}

.section-yellow {
  background-color: var(--light-yellow-color);
}

.section-green {
  background-color: var(--dark-green-color-b);
}

.section-light-green {
  background-color: var(--light-green-color);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--dark-green-color-b);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-logo {
  width: 230px;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Header y navbar */
.logo-header {
  width: 170px;
  height: auto;
}

header {
  width: 100%;
  background-image:
    linear-gradient(230deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65)),
    url('/img/hero-img.webp');
  background-size: cover;
  background-position: center;
  color: white;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(249, 248, 245, 0.50);
}

.nav-wrapper-c {
  display: none;
}

.navbar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
}

.hero-wrapper {
  height: 600px;
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 30px;
}

.hero-wrapper h1,
.hero-wrapper p,
.hero-wrapper button {
  margin: 0;
}

.hero-wrapper p {
  margin-bottom: 12px;
}

/* Header y navbar mob */
.hamb-link {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0);
  transition: all 0.3s ease-in-out;
  border: none;
}

.hamb-link i {
  font-size: 20px;
  color: var(--light-yellow-color);
}

.hamb-link.active {
  background-color: var(--light-green-color);
  /* Asumiendo que $color-a es una variable en CSS */
}

.nav-mob-deploy {
  position: absolute;
  z-index: 2;
  background-color: var(--dark-green-color-b);
  width: 100%;
  right: 0px;
  top: 99px;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.nav-mob-deploy.open {
  height: 450px;
  padding: 40px 0;
  border-bottom: 3px solid var(--light-green-color);
}

.nav-mob-deploy ul,
.nav-mob-deploy-fixed ul {
  margin-left: 20px;
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 0 30px;
}

/* Navbar Mob Fixed */
.navbar-fixed {
  position: fixed;
  top: -93px;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--dark-green-color-b);
  padding: 20px 28px;
  display: none;
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease-in-out;
  z-index: 999;
}

.navbar-fixed.show {
  top: 0;
}

.nav-mob-deploy-fixed {
  position: absolute;
  z-index: 999;
  background-color: var(--dark-green-color-b);
  width: 100%;
  right: 0px;
  top: 90px;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.nav-mob-deploy-fixed.open {
  height: 450px;
  padding: 40px 0;
  border-bottom: 2px solid var(--light-green-color);
}

/* Card servicios */
.service-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.05);
}

.service-ico {
  width: 70px;
  height: 70px;
  margin-bottom: 1.2rem;
}

.service-card-up {
  border-bottom: 1px solid #E9EFEC;
}

.service-card-down {
  margin-top: 1.2rem;
}

/* Seccion valores */
.valores-img {
  width: 100%;
  height: 450px;
  border-radius: 30px 0 30px 0;
  box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.05);
}

.valores-img-a {
  background: url('/img/valores-img-a.webp') no-repeat center center / cover;
}

.valores-img-b {
  background: url('/img/valores-img-b.webp') no-repeat center center / cover;
}

.valores-list-ico {
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

/* Seccion nuestro equipo */
.border-separator {
  border-bottom: 1px solid rgba(233, 239, 236, 0.3);
}

.thumb-equipo {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  border: 2px solid var(--yellow-color);
}

.icono-equipo {
  width: 28px;
  height: 28px;
  transition: all 0.3s ease-in-out;
}

.icono-equipo:hover {
  opacity: 80%;
}

/* Formulario de contacto */
.formulario-main * {
  color: var(--text-green-color);
  font-size: 0.875rem;
  line-height: 1.5rem;
  /* letter-spacing: 0.03rem; */
  font-weight: 300;
}

.formulario-main input::placeholder,
.formulario-main textarea::placeholder {
  color: var(--text-green-color);
}

.formulario-main input:focus,
.formulario-main textarea:focus {
  outline: 1px solid var(--light-green-color);
}

.formulario-main form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#form-nombre,
#form-correo,
#form-mensaje {
  padding-left: 15px;
  border: 1px solid var(--dark-green-color-a);
  background: var(--light-yellow-color);
}

#form-nombre,
#form-correo {
  flex: 1 0 140px;
  height: 45px;
}

#form-mensaje {
  width: 100%;
  height: 180px;
  padding: 15px;
  resize: none;
}

#form-submit {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  line-height: 1rem;
  text-align: center;
  text-decoration: none;
  padding: 20px 60px;
  border: 1px solid var(--dark-green-color-a);
  background: var(--light-yellow-color);
  transition: all 0.3s ease-in-out;
  margin: auto;
}

#form-submit:hover {
  color: var(--light-yellow-color);
  background: var(--light-green-color);
  border: 1px solid var(--light-green-color);
}

/* Seccion footer */
.logo-footer {
  width: 170px;
  height: auto;
}

.footer-border {
  border-top: 5px solid var(--light-green-color);
}

.col-footer-a {
  border-left: 1px solid rgba(106, 156, 137, 0.5);
}

.col-footer-b {
  border-left: 1px solid rgba(106, 156, 137, 0.5);
  border-right: 1px solid rgba(106, 156, 137, 0.5);
}

.col-footer-c {
  border-right: 1px solid rgba(106, 156, 137, 0.5);
}

.contact-ico {
  width: 20px;
  height: auto;
}

/* Medium (≥768px y <992px) */
@media (max-width: 991.98px) {
  .nav-wrapper-b {
    display: none;
  }

  .nav-wrapper-c {
    display: block;
  }

  .navbar-fixed {
    display: flex;
  }

  .col-footer-a {
    border-left: 0px solid rgba(106, 156, 137, 0.5);
  }

  .col-footer-b {
    border-left: 1px solid rgba(106, 156, 137, 0.5);
    border-right: 1px solid rgba(106, 156, 137, 0.5);
  }

  .col-footer-c {
    border-right: 0px solid rgba(106, 156, 137, 0.5);
  }
}

/* Small (≥576px y <768px) */
@media (max-width: 767.98px) {
  h1 {
    font-size: 3rem;
    line-height: 3.7rem;
  }

  h2 {
    font-size: 3rem;
    line-height: 3.7rem;
    margin-bottom: 2.0rem;
  }

  .hero-wrapper {
    height: auto;
    padding: 70px 0 70px 0;
    width: 100%;
    align-items: center;
    gap: 30px;
  }

  .valores-img {
    height: 350px;
  }

  .col-footer-b {
    border-left: 0px solid rgba(106, 156, 137, 0.5);
    border-right: 0px solid rgba(106, 156, 137, 0.5);
    border-top: 1px solid rgba(106, 156, 137, 0.5);
    border-bottom: 1px solid rgba(106, 156, 137, 0.5);
  }
}

/* Extra small (≤576px) */
@media (max-width: 575.98px) {}