/* =========================
   BASE / GLOBAL (MODERNO)
========================= */

:root {
  --bg-light: #f4f6f8;
  --bg-soft: #eef2f5;
  --text: #2c2c2c;
  --text-muted: #6b7280;

  --dark: #1f2933;
  --dark-soft: #2d3748;

  --accent: #0ea5a4;      /* verde-azulado moderno */
  --accent-dark: #0284c7; /* azul elegante */

  --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

/* Contenedor */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Imágenes */
img {
  max-width: 100%;
  display: block;
}

/* =========================
   SECCIONES
========================= */
.section {
  padding: 90px 0;
}

.section.light {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    var(--bg-light) 100%
  );
}

.row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.row.reverse {
  flex-direction: row-reverse;
}

/* Imagen */
.image {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
}

.image img {
  max-width: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Texto */
.content {
  flex: 1;
}

.content h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: var(--dark);
}

.content p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
}

/* =========================
   HERO
========================= */

.hero-general {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 400px;
  background: url("../assets/img/hero.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 20px;
  color: #fff;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 16px;
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .hero-general {
    height: 45vh;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}
