/* ===== RESET BÁSICO ===== */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #1b1b1b;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(90deg, #004d1a, #0e8a35);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  min-height: 75px;
}

header img {
  height: 45px;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover {
  opacity: 0.8;
}

/* ===== MAIN BASE ===== */
main {
  flex: 1;
  padding: 0;
}

/* ===== LAYOUT MODES ===== */

/* Para páginas tipo texto + imagen */
.main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 60px 90px;
}

/* Para páginas tipo vertical (tarjetas, listas, etc) */
.main-column {
  display: flex;
  flex-direction: column;
}

/* ===== CONTENIDO ESTÁNDAR ===== */
.text-content {
  width: 55%;
}

.text-content h1 {
  font-size: 2rem;
  color: #195c37;
  margin-bottom: 20px;
}

.text-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #1b1b1b;
}

.text-content ul {
  margin-top: 15px;
}

.text-content li {
  margin-bottom: 8px;
}

.text-content strong {
  color: #195c37;
}

.image-content img {
  width: 430px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== BOTÓN ===== */
.btn-volver {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 20px;
  background: linear-gradient(90deg, #2d8a45, #1f6332);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-volver:hover {
  background: linear-gradient(90deg, #36a34e, #277a3a);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg, #004d1a, #0e8a35);
  color: white;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-info {
  max-width: 300px;
}

.footer-info p {
  margin: 5px 0;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 10px;
}

/* ===== ICONOS REDES (50% MÁS GRANDES) ===== */
.footer-logo div img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 10px;
  transition: 0.3s;
}

.footer-logo div img:hover {
  opacity: 0.8;
}

.footer-newsletter {
  max-width: 300px;
  text-align: right;
}

.footer-newsletter h3 {
  margin-bottom: 8px;
}

.footer-newsletter input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  margin-bottom: 10px;
}

.footer-newsletter button {
  background: white;
  color: #0b6623;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.footer-newsletter button:hover {
  background: #f0f0f0;
}

.footer-mail {
  color: white;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

  .main-row {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .text-content, .image-content {
    width: 100%;
  }

  .image-content img {
    width: 100%;
    margin-top: 20px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-newsletter {
    text-align: center;
  }
}

