/* ================================
   RESET Y VARIABLES
================================= */
:root {
  --verde-oscuro: #19350b;
  --verde-medio: #365b1f;
  --verde-claro: #3f6316;
  --amarillo: #d6d6d6;
  --blanco: #ffffff;
  --negro: #111;
  --fuente: 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fuente);
  background-color: var(--verde-medio);
  color: var(--blanco);
  line-height: 1.6;
}

/* ================================
   HEADER Y NAV
================================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--verde-oscuro);
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo img {
  height: 100px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--verde-oscuro);
  background-color: var(--amarillo);
  padding: 0.4rem 0.9rem;
  font-weight: bold;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

nav a:hover,
nav a.activo {
  background-color: var(--blanco);
  color: var(--verde-oscuro);
}

/* ================================
   HERO
================================= */
.hero {
  position: relative;
  text-align: center;
}

.hero-img {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-img h1 {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: var(--amarillo);
  font-weight: 900;
  text-shadow: 2px 2px #19350b;
}

.hero-img p {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  font-size: 1.2rem;
  background-color: rgba(25, 53, 11, 0.8);
  padding: 1rem;
  border-radius: 10px;
}

.hero-img .boton {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--amarillo);
  color: var(--verde-oscuro);
  font-weight: bold;
  margin-top: 2.5rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.hero-img .boton:hover {
  background-color: var(--blanco);
}

/* ================================
   SECCIÓN INTRO
================================= */
.intro {
  padding: 2rem;
  background-color: var(--verde-claro);
  color: var(--negro);
  text-align: center;
}

.intro h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--blanco);
}

.intro-lista {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.1rem;
  color: var(--blanco);
}

.intro-lista li {
  margin-bottom: 0.8rem;
}

/* ================================
   FRASE / CITA
================================= */
.frase {
  background-color: var(--verde-oscuro);
  padding: 2rem;
  text-align: center;
}

.frase blockquote {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--amarillo);
}

.frase cite {
  font-size: 0.9rem;
  color: var(--blanco);
}

/* ================================
   FOOTER
================================= */
footer {
  background-color: var(--verde-oscuro);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--blanco);
}

/* ================================
   RESPONSIVE
================================= */
@media (max-width: 768px) {
  nav ul {
    justify-content: center;
  }

  .hero-img h1 {
    font-size: 2rem;
    top: 15%;
  }

  .hero-img p {
    top: 35%;
    font-size: 1rem;
  }

  .hero-img .boton {
    top: 55%;
    font-size: 0.9rem;
  }

  .intro h2 {
    font-size: 1.5rem;
  }

  .intro-lista {
    font-size: 1rem;
  }
}

.galeria {
    padding: 2rem;
    background-color: var(--verde-claro);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.galeria-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.galeria-grid p {
    font-size: 0.9rem;
    color: var(--blanco);
}

/* ================================ TESTIMONIOS ================================= */
.testimonios {
    padding: 2rem;
    background-color: var(--verde-claro);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.testimonio {
    background-color: var(--verde-oscuro);
    padding: 1rem;
    border-radius: 10px;
}

.testimonio img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.testimonio h2 {
    font-size: 1.2rem;
    color: var(--blanco);
}

.testimonio p {
    font-size: 0.9rem;
    color: var(--blanco);
}