/* VARIABLES DE COLOR */

:root {
  --verde-principal: #386641;
  --verde-claro: #8caf7d;
  --crema: #f7f4ec;
  --gris: #6b6e70;
  --blanco: #ffffff;
  --negro: #171717;
  --verde-oscuro: #285532;
}

/* REINICIO GENERAL */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;

  font-family: Arial, Helvetica, sans-serif;

  color: var(--negro);
  background-color: var(--crema);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

/* CONTENEDOR GENERAL */

.contenedor {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* ENCABEZADO */

.encabezado {
  width: 100%;
  min-height: 118px;

  display: flex;
  align-items: center;

  background-color: var(--verde-principal);

  position: relative;
  z-index: 1000;
}

.encabezado-contenido {
  min-height: 118px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

/* LOGO */

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 130px;
  height: auto;
}

/* MENÚ */

.navegacion {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 42px;
}

.navegacion a {
  color: var(--blanco);

  font-size: 16px;
  font-weight: 800;

  text-transform: uppercase;
  text-align: center;

  transition: color 0.3s ease;
}

.navegacion a:hover,
.navegacion a.activo {
  color: var(--verde-claro);
}

/* BOTÓN MÓVIL */

.boton-menu {
  display: none;

  border: none;
  background-color: transparent;

  color: var(--blanco);

  font-size: 34px;
  cursor: pointer;
}

/* TÍTULOS */

.titulo-seccion {
  margin-bottom: 45px;

  color: var(--verde-principal);

  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;

  text-align: center;
  text-transform: uppercase;
}

.titulo-blanco {
  color: var(--blanco);
}

/* FOOTER */

.footer {
  width: 100%;

  padding: 38px 20px;

  color: var(--blanco);
  background-color: var(--verde-oscuro);

  font-size: 14px;
  text-align: center;
}

/* TABLET Y CELULAR */

@media (max-width: 950px) {

  .encabezado,
  .encabezado-contenido {
    min-height: 90px;
  }

  .logo img {
    width: 105px;
  }

  .boton-menu {
    display: block;
  }

  .navegacion {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 10px 5% 20px;

    background-color: var(--verde-principal);
  }

  .navegacion.activo {
    display: flex;
  }

  .navegacion a {
    padding: 15px 10px;
    text-align: left;
  }

}