/* paleta de colores */
:root {
  --verde: #10B981;
  --verde-claro: #6EE7B7;
  --azul: #3B82F6;
  --fondo: #F9FAFB;
  --texto: #0F172A;
}

/* body */
body {
  background-color: var(--fondo);
  color: var(--texto);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding-top: 90px;
}

/* cabecera */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-bottom: 3px solid var(--verde);
}

nav {
  width: 100%;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  padding: 10px 25px;
  font-weight: 400;
  font-size: 17px;
  transition: 0.2s ease;
}

nav ul li a:hover {
  color: var(--verde);
  transform: translateY(-2px);
}

nav ul li#logo img {
  height: 55px;
  width: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--verde);
}

/* hero */
#hero {
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 70px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--verde);
}

#hero .subtitulo {
  font-size: 20px;
  color: var(--texto);
  opacity: 0.9;
  margin-bottom: 18px;
}

/* Presentación breve */
.presentacion {
  max-width: 820px;
  margin: 0 auto;
  color: var(--texto);
  opacity: 0.95;
  font-size: 16px;
  line-height: 1.6;
  padding: 0 10px;
  margin-top: 18px;
}

/* bloques */
#bloques {
  margin: 80px auto 120px auto;
  max-width: 820px;                     
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;                              
  padding: 0 20px;
  align-items: stretch;
  justify-content: center;
  justify-items: stretch;
}

.bloque {
  width: 100%;
  background-color: #ffffff;
  border-left: 6px solid var(--verde);
  padding: 22px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--texto);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-left-color 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
  margin: 0;
}

.bloque:hover {
  transform: translateY(-6px);
  border-left-color: var(--azul);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}

.bloque h2 {
  margin: 10 10 8px 10;
  font-size: 20px;
  font-weight: 600;
  color: var(--texto);
}

.bloque p {
  margin: 0;
  opacity: 0.85;
  font-size: 14px;
}

