

/* ============ HEADER ============ */
/* ===== HEADER ESTILO UNIFICADO ===== */
/* ========== HEADER UNIFICADO ========== */
header {
  background-color: #0d7c7d;
  color: white;
  padding: 25px 0;
}

.container-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.logo h1 {
  font-size: 1.9rem;
  margin: 0;
  font-weight: 700;
}

.subtitulo {
  font-size: 0.95rem;
  color: #d9f1f2;
  font-style: italic;
  margin-top: 4px;
}

nav .menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav .menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav .menu li a:hover {
  color: #ffd700;
}

.menu-toggle {
  display: none;
}

/* Opcional: Responsive (si usarás toggle más adelante) */
@media (max-width: 768px) {
    header .nav{
        position: relative;
        z-index: 1;
    }
    
  nav {
    width: 100%;
    background-color: #0d7c7d;
    position: relative;
    z-index: 1;
  }

  nav .menu {
    position: static; /* ← evita que se superponga */
    display: flex;
    flex-direction: column;
    background-color: #0d7c7d;
    padding: 10px 0;
    width: 100%;
    z-index: auto;
  }

  nav .menu li {
    padding: 10px 20px;
  }

  nav .menu li a {
    display: block;
    width: 100%;
    font-size: 16px;
  }
}


/* ============ RESET Y BASE ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* ============ SECCIÓN: PRESENTACIÓN ============ */
.presentacion {
  background-color: #fdfdfd;
  padding: 60px 20px;
  text-align: center;
}

.presentacion h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.cuadros-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cuadros-container {
    grid-template-columns: 1fr 1fr;
  }
}

.cuadro {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: center;
}

.cuadro-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.cuadro h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

.cuadro p {
  font-size: 1rem;
  color: #555;
}

.btn-sbt {
  display: inline-block;
  margin-top: 15px;
  background-color: #2c2c2c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-sbt:hover {
  background-color: #444;
}

/* ============ FOOTER ============ */
.footer {
  background-color: #2c7a7b;
  color: white;
  padding: 50px 20px 30px;
  font-size: 0.95em;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-info, .footer-contacto, .footer-redes {
  flex: 1 1 280px;
}

.footer h4, .footer h5 {
  margin-bottom: 12px;
}

.footer a {
  color: #f0fdfd;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 0.85em;
}

/* Responsive */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: #2c7a7b;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99;
    text-align: center;
    padding: 15px 0;
  }

  .menu.abierto {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu li {
    margin: 10px 0;
  }

  .container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }
}

.btn-secundario {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 24px;
  background-color: #ee6c4d;
  color: white;
  font-weight: 600;
  border-radius: 40px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-secundario:hover {
  background-color: #d55435;
}

.footer-redes a {
  margin-right: 15px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer-redes a:hover {
  transform: scale(1.1);
}

.icono-red {
  width: 28px;
  height: 28px;
  fill: white;
}

.footer-contacto p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.icono-contacto {
  width: 20px;
  height: 20px;
  fill: white;
  flex-shrink: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: auto;
}

.logo div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


