/* Global */

* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f8f4f2;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  color: #455e5e;
}

a {
  text-decoration: none;
  color: #fff;
}

li {
  list-style: none;
}

/* Header */

header {
  height: 70px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f8f4f2;
  box-shadow: 0 0px 4px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.12);
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo a {
  text-decoration: none;
  color: #344e41;
  font-size: 2.6rem;
  font-style: italic;
  font-weight: 600;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.links_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.links_item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.links_item a {
  text-decoration: none;
  color: #344646;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
}

.links_item a::before {
  border-radius: 10px;
  transition: 0.3s;
  height: 3px;
  content: "";
  position: absolute;
  background-color: #344646;
  width: 100%;
  bottom: -20px;
  opacity: 0;
}

.links_item a:hover::before {
  bottom: 1px;
  opacity: 1;
}

.menu_boton {
  background-color: transparent;
  color: #344646;
  padding: 5px;
  border-radius: 20px;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  outline: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

.responsive_nav {
  transform: none;
}

@media (max-width: 960px) {
  header {
    justify-content: space-between;
  }
  .logo {
    margin-left: 2rem;
  }
  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 50%;
    background-color: #f8f4f2;
    transition: 1s;
    transform: translateY(-100vh);
    border-bottom-left-radius: 2rem;
  }
  .links_wrapper {
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
    gap: 1rem;
  }
  .menu_boton {
    visibility: visible;
    opacity: 1;
    margin-right: 2rem;
  }
}
/* Main */

main {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
}

/* Hero */

.hero {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero_text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  z-index: 1;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.hero_text div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero_text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.hero_text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.hero_text p {
  font-size: 1.2rem;
  font-weight: 500;
}

.hero_text span {
  font-weight: 700;
}

.hero_image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.hero_image img {
  width: 100%;
  height: 550px;
  border-radius: 20px;
  object-fit: cover;
  opacity: 0.9;
}

@media (max-width: 960px) {
  .hero {
    width: 100%;
  }
  .hero_image img {
    border-radius: 0px;
  }
}

@media (max-width: 740px) {
  .hero_text h1 {
    font-size: 3rem;
  }
  .hero_text h2 {
    font-size: 1.5rem;
  }
  .hero_text p {
    font-size: 1rem;
  }
}

@media (max-width: 620px) {
  .hero_text h1 {
    font-size: 2rem;
  }
  .hero_text h2 {
    font-size: 1.2rem;
  }
  .hero_text p {
    font-size: 0.8rem;
  }
}
/* Mision */

.mision {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  width: 100%;
  color: #344e41;
  padding: 1rem 0 2rem 0;
}

.mision_texto {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mision_texto h4 {
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.line {
  height: 1px;
  width: 50%;
  background-color: #344e41;
  margin-bottom: 2rem;
}
.mision_cards_wrapper {
  display: flex;
  align-items: center;
  max-width: 1100px;
  justify-content: space-between;
  gap: 10rem;
}

.mision_card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 200px;
  border-radius: 15px;
  padding: 2rem 1rem;
  background-color: #e5e2dc;
  box-shadow: 5px 2px 2px 0px #999;
}

.card_title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.card_title h6 {
  font-size: 1.1rem;
  text-transform: uppercase;
  text-align: center;
}

.card_title i {
  font-size: 2.2rem;
}

.card_texto {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-bottom: 1rem;
}

@media (max-width: 1100px) {
  .mision_cards_wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  .mision_card {
    max-width: 500px;
    padding: 1rem 2rem;
    flex-direction: row;
    gap: 2rem;
  }
}

@media (max-width: 780px) {
  .mision_texto h4 {
    text-align: center;
  }
}

@media (max-width: 590px) {
  .mision_card {
    max-width: 300px;
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 370px) {
  .mision_card {
    max-width: 200px;
  }
}

/* Inspiracion */

.inspiracion {
  width: 100%;
  padding: 1rem 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.inspiracion_texto {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 2rem;
}

.inspiracion_texto h4 {
  font-size: 1.5rem;
  text-transform: uppercase;
  text-align: center;
}

.inspiracion_img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.inspiracion_img img {
  width: 500px;
  border-radius: 1rem;
  object-fit: cover;
  height: 500px;
}

.inspiracion_cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  gap: 1rem;
}

.inspiracion_card {
  max-width: 400px;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 14px;
}

.inspiracion_card h6 {
  font-size: 1.1rem;
  font-weight: 600;
}

.inspiracion_card p {
  font-size: 15px;
  text-align: left;
}

.border {
  width: 60%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.circle {
  height: 10px;
  width: 10px;
  border-radius: 100%;
  background-color: #344e41;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  column-gap: 1rem;
}

@media (max-width: 960px) {
  .inspiracion {
    justify-content: center;
    flex-direction: column;
  }
  .inspiracion_texto {
    align-items: center;
  }
  .inspiracion_img {
    display: none;
  }
  .inspiracion_cards {
    align-items: center;
  }
}

/* Servicios */

.servicios {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicios_img {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicios_img img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.servicios_texto {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #344e41;
  text-align: center;
}

.servicios_texto h2 {
  text-transform: uppercase;
  font-size: 2.8rem;
  margin: 0 1rem 5px 2rem;
}

.servicios_texto p {
  font-weight: 500;
  max-width: 500px;
  margin: 0 1rem 1rem 2rem;
  text-align: left;
}

@media (max-width: 1030px) {
  .servicios_texto h2 {
    font-size: 2rem;
  }
  .servicios_texto p {
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  .servicios_texto .line {
    background-color: #fff;
  }
  .servicios_img {
    width: 100%;
    position: relative;
  }
  .servicios_img img {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .servicios_texto {
    width: 100%;
    position: absolute;
    color: #fff;
  }
  .servicios_texto h2 {
    font-size: 2.6rem;
  }
  .servicios_texto p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .servicios_texto h2 {
    font-size: 1.8rem;
  }
  .servicios_texto p {
    font-size: 0.9rem;
  }
}

/* Tipo de servicio */

.servicios_tipo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e5e2dc;
}

.servicios_tipo_texto {
  width: 50%;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  color: #344e41;
}

.servicios_tipo_texto h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  max-width: 500px;
  margin-bottom: 4px;
  text-align: left;
}

.servicios_tipo_texto p {
  padding-top: 1rem;
  max-width: 500px;
  text-align: left;
}

.servicios_tipo_financiacion {
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.servicios_tipo_financiacion_cards {
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.servicios_tipo_financiacion_card {
  display: flex;
  justify-content: flex-start;
  align-items: left;
  flex-direction: column;
  padding-top: 1rem;
  text-align: left;
}

.servicios_tipo_financiacion_card i {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.servicios_tipo_financiacion_card p {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  max-width: 200px;
}

.servicios_tipo_img {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicios_tipo_img img {
  width: 100%;
  height: 580px;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  object-fit: cover;
}

@media (max-width: 915px) {
  .servicios_tipo_texto h2 {
    font-size: 1.2rem;
  }
  .servicios_tipo_texto p {
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  .servicios_tipo_financiacion {
    align-items: center;
  }
  .servicios_tipo_financiacion h3 {
    font-size: 1.2rem;
  }
  .servicios_tipo_texto {
    width: 100%;
    padding: 2rem 0;
    align-items: center;
  }
  .servicios_tipo_texto h2 {
    max-width: 600px;
    font-size: 1.5rem;
    text-align: center;
  }
  .servicios_tipo_texto p {
    max-width: 300px;
  }
  .servicios_tipo_financiacion_card {
    justify-content: center;
  }
  .servicios_tipo_financiacion_card i {
    font-size: 1.8rem;
  }
  .servicios_tipo_financiacion_card p {
    font-size: 12px;
    max-width: 80px;
  }
  .servicios_tipo_img {
    display: none;
  }
}

/* Clientes */

.clientes {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 2rem;
  background-color: #fff;
}

.clientes_titulo {
  max-width: 1100px;
  padding: 2rem 2rem 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.clientes_titulo h2 {
  font-size: 2rem;
  color: #344e41;
  text-transform: uppercase;
}

.clientes_img_wrapper {
  max-width: 1000px;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.clientes_img {
  max-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clientes_img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ruta12 {
  background-color: #2d2d32;
  padding: 10px;
}

.agseed {
  background-color: #2d2d32;
  padding: 8px 10px;
  height: 60px;
}

.maximaenergia {
  max-width: 200px;
}

.montechiari {
  max-width: 160px;
}

.porcimonte {
  max-width: 140px;
}

@media (max-width: 880px) {
  .clientes_titulo {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .clientes_titulo h2 {
    font-size: 1.6rem;
  }
  .montechiari {
    max-width: 120px;
  }
  .porcimonete {
    max-width: 100px;
  }
  .clientes_img {
    max-width: 60px;
  }
}
