
/*  
  Estilos desarrollados por @Nudaro  
  Fecha: [30/09/2025]  
  Proyecto: Mundo Inmigrante 
  Contacto: studioyfocus@gmail.com
*/


/* =============================
  nosotros.css - Header + HERO
  Versión combinada (lista)
   ============================= */

/* ---- Variables (ajusta aquí) ---- */
:root{
  --header-height: 105px;            /* AJUSTA si cambias padding / logo */
  --color-header: #7a0404;
  --hero-height: 86vh;
  --hero-min-height: 420px;
  --hero-overlay: rgba(1, 3, 9, 0.561);
  --hero-title-size: 3.2rem;
  --hero-sub-size: 1.2rem;
  --cta-bg: #B22234;
  --cta-bg-hover: #8b1a25;
  --max-content: 1000px;
  --gutter: 20px;
  --font-stack: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---- Reset / base ---- */
* { box-sizing: border-box; }
html,body { height:100%; width:100%; }
body {
  margin:0;
  font-family: var(--font-stack);
  color:#222;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  /* deja espacio superior para el header fijo */
  padding-top: var(--header-height);
  background: #fff;
}

/* ----------------------
  HEADER (basado en tu CSS original)
   ---------------------- */
header {
  background: var(--color-header); /* #7a0404 */
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 35px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  opacity: 0.9;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
  transition: background 250ms ease, box-shadow 250ms ease;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 25px;
}
header .logo img {
  border-radius: 10px;
  height: 65px; /* tamaño del logo */
  width: auto;
  display:block;
}
header .logo span {
  font-size: 2.3rem;
  font-weight: 700;
  margin-left: 15px;
  color: #fff;
  line-height: 1;
}
.h1-link {
  display:flex;
  align-items:center;
  gap:12px;
  color: #fff;
  text-decoration: none;
}
header .logo span:hover {
  outline: 2px solid rgba(255, 255, 255, 0.851);
  border-radius: 15px;
  padding: 8px;
  text-shadow: 0 0 4px rgba(255,255,255,0.25);
}

/* Botón hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

header nav ul.menu {
  list-style: none;
  display: flex;
  gap: 30px;
  font-size: 1.3rem;
  padding-right: 40px;
  margin: 0;
  align-items: center;
}
header nav ul li { position: relative; }

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 8px;
  transition: background 0.5s ease, color 0.5s ease, transform 120ms ease;
}

/* Redes sociales en el header */
.header-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex: 1; /* ocupa el espacio del medio */
  margin-left: 145px;
}

.header-socials a {
  color: #fff;
  font-size: 1.4rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.header-socials a:hover {
  color: #0084ff; /* dorado elegante al pasar */
  transform: scale(1.2);
}

header nav a:hover,
header nav a:focus {
  color: #0f0cc8;
  background: #fff;
  font-weight: 700;
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ----------------------
  HERO (presentación)
   ---------------------- */
.hero-nosotros {
  position: relative;
  width: 100%;
  height: var(--hero-height);
  min-height: var(--hero-min-height);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color: #fff;
  background-position: center;
  background-size: cover;
  padding: 0 var(--gutter);
  overflow: hidden;
}

/* overlay — si quieres quitarla pon .hero-nosotros.no-overlay en el HTML */
.hero-nosotros::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); z-index: 1; pointer-events: none; }
/* contenido dentro del hero (encima del overlay) */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-content);
  padding: 20px;
}

/* título y subtítulo */
.hero-content h1 {
  margin: 0 0 8px 0;
  font-size: var(--hero-title-size);
  line-height: 1.05;
  font-weight: 700;
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.hero-content p {
  margin: 0 0 18px 0;
  font-size: var(--hero-sub-size);
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.36);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 2px #fff;
}

/* ----------------------
  HISTORIA
---------------------- */
.historia {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 10px;
  background-color: #fafafa;
  margin-bottom: 25px;
}

/* Contenedor principal */
.historia-content {
  position: relative;
  display: flex;
  gap: 30px;
  max-width: 1000px;
  width: 100%;
  z-index: 2;
  align-items: center;
  flex-wrap: wrap; /* para que se acomode en pantallas pequeñas */
}

/* ---- Tarjeta para el texto ---- */
.historia-texto {
  flex: 1 1 400px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6); /* fondo semitransparente */
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  backdrop-filter: blur(4px); /* opcional, difumina el fondo */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* hover/animación */
.historia-texto:hover {
  transform: translateY(-6px) scale(1.02); /* se eleva y agranda un poco */
  box-shadow: 0 18px 35px rgba(0,0,0,0.5); /* sombra más intensa */
  background: rgba(0,0,0,0.7); /* fondo ligeramente más oscuro */
}

.historia-texto h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
}

/* Decoración de emojis encima del título */
.historia-texto h2::before,
.historia-texto h2::after {
  content: "✨";
  margin: 0 6px;
}

/* párrafo */
.historia-texto p {
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
  margin: 0;
}

/* Imagen */
.historia-img {
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.historia-img:hover{
  transform: translateY(-6px) scale(1.02); /* se eleva y agranda un poco */
  box-shadow: 0 18px 35px rgba(0,0,0,0.5); /* sombra más intensa */
  background: rgba(0,0,0,0.7); /* fondo ligeramente más oscuro */
  border-radius: 15px;
}

.historia-img img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* ================================
  MISIÓN, VISIÓN Y VALORES
================================ */
.mvv {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  /* degradado cálido en lugar de imagen */
background: linear-gradient(135deg, #0A2F6B 0%, #0A2F6B 30%, #B22234 65%, #FFFF77 100%);
  background-size: 300% 300%; /* para animar si quieres */
  overflow: hidden;
  border-radius: 30px;
}

/* animación opcional del degradado */
.mvv {
  animation: gradientMove 12s ease infinite;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* overlay ligero para dar contraste al texto */
.mvv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* título */
.mvv h2 {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* grid */
.mvv-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* tarjeta */
.mvv-card {
  background: rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 30px 25px;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform 300ms ease, box-shadow 300ms ease, background 300ms ease;
  text-align: center;
}

/* animación hover */
.mvv-card:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

/* títulos */
.mvv-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* texto */
.mvv-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #f1f1f1;
  margin: 0;
}

/* =============================
  EQUIPO
   ============================= */
.equipo {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9; /* fondo suave */
}

.equipo h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
  position: relative;
}

.equipo h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #B22234; /* rojo bandera */
  margin: 12px auto 0;
  border-radius: 4px;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.miembro {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.miembro:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.miembro img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.ALEIDA{
  object-position: bottom;
}

.miembro:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.miembro h3 {
  margin: 10px 0 6px;
  font-size: 1.4rem;
  color: #0A2F6B; /* azul bandera */
}

.miembro p {
  margin: 0;
  font-size: 1.05rem;
  color: #555;
}

/* =============================
  COMPROMISO
   ============================= */
.compromiso {
  position: relative;
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.compromiso .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(10, 47, 107, 0.9),   /* azul confianza */
    rgba(178, 34, 52, 0.8)    /* rojo bandera */
  );
  z-index: 1;
  border-radius: 25px;
}

.compromiso-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(250, 250, 250, 0.08);
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compromiso-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.compromiso-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #FAFAFA;
}

.compromiso-content h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #FFD700; /* dorado confianza */
  margin: 12px auto 0;
  border-radius: 4px;
}

.compromiso-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #f1f1f1;
  margin: 0;
}

/* =============================
  CTA FINAL
   ============================= */
.cta-nosotros {
  position: relative;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  margin-top: -50px;
}

.cta-nosotros .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.cta-content h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  color: #000000;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #000000;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #B22234, #FF4500);
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.btn-cta:hover {
  transform: translateY(-5px);
  background: linear-gradient(90deg, #FF6347, #B22234);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* ==== FOOTER ==== */
footer {
  background: #111;
  color: #bbb;
  text-align: center;
  padding: 17px 15px;
  margin-top: 50px;
  font-size: 0.9rem;
  line-height: 0.4;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1700px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-text {
  flex: 1;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: #bbb;
  font-size: 1.4rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  color: #0084ff;
  transform: scale(1.2);
}


/* ==== MEDIA QUERIES RESPONSIVE ==== */
/* Tabletas (768px - 1024px) */
@media (max-width: 1024px) {
  header {
    padding: 15px 25px;
    height: auto;
  }
  
  header .logo {
    padding-left: 0;
    gap: 15px;
  }
  
  header .logo img {
    height: 50px;
  }
  
  header .logo span {
    font-size: 1.8rem;
    margin-left: 10px;
  }
  
  .header-socials {
    margin-left: 50px;
    gap: 15px;
  }
  
  .header-socials a {
    font-size: 1.2rem;
  }
  
/* Mostrar botón hamburguesa en Tablets */
  .hamburger {
    display: flex;
    order: 3;
    margin-left: 100px;
  }
  
  /* Menú tablet */
  header nav {
    order: 4;
    width: 100%;
    display: none;
    margin-left: 25px;

  }
  
  header nav.active {
    display: block;
  }
  
  header nav ul.menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin-top: 10px;
    gap: 0;
  }
  
  header nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  header nav a {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 0;
  }
  
  :root {
    --hero-title-size: 2.5rem;
    --hero-sub-size: 1.1rem;
  }

  .hero-nosotros {
    margin-top: -25px;
    height: 88vh;
  }
  
  .historia-content {
    flex-direction: column;
    gap: 25px;
  }

  .historia-texto{
  flex: 1 1 260px;
  }

  .historia-texto h2 {
    font-size: 1.8rem;
  }

  .historia-img{
    flex: 1 1 200px;
  }
  
  .mvv h2 {
    font-size: 2.2rem;
  }
  
  .mvv-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }
  
  .equipo h2 {
    font-size: 2.2rem;
  }
  
  .equipo-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }
  
  .compromiso-content h2 {
    font-size: 2.2rem;
  }
  
  .cta-content h2 {
    font-size: 2.4rem;
  }

    /* Footer responsive */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    line-height: 1.2;
  }
  
  .footer-text p {
    font-size: 0.8rem;
    margin-bottom: 5px;
  }
  
  .footer-socials a {
    font-size: 1.2rem;
  }
}

/* Móviles (hasta 767px) */
@media (max-width: 767px) {
  header {
    padding: 10px 15px;
    flex-wrap: wrap;
    height: auto;
  }
  
  header .logo {
    padding-left: 0;
    gap: 10px;
  }
  
  header .logo img {
    height: 40px;
  }
  
  header .logo span {
    font-size: 1.5rem;
    margin-left: 5px;
  }
  
  /* Mostrar botón hamburguesa en móviles */
  .hamburger {
    display: flex;
    order: 3;
    margin-left: -100px;
  }
  
  /* Ocultar redes sociales del header en móviles */
  .header-socials {
    display: none;
  }
  
  /* Menú móvil */
  header nav {
    order: 4;
    width: 100%;
    display: none;
  }
  
  header nav.active {
    display: block;
  }
  
  header nav ul.menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin-top: 10px;
    gap: 0;
  }
  
  header nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  header nav a {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 0;
  }
  
  :root {
    --hero-title-size: 1.8rem;
    --hero-sub-size: 1rem;
    --header-height: 80px;
  }
  
  .hero-nosotros {
    height: 90vh;
    min-height: 350px;
    margin-top: -20px;
  }
  
  .hero-content {
    padding: 15px;
  }
  
  .historia {
    padding: 40px 15px;
  }
  
  .historia-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .historia-texto {
    padding: 20px;
  }
  
  .historia-texto h2 {
    font-size: 1.5rem;
  }
  
  .historia-texto p {
    font-size: 0.9rem;
  }
  
  .mvv {
    padding: 50px 15px;
    border-radius: 20px;
  }
  
  .mvv h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mvv-card {
    padding: 20px;
  }
  
  .mvv-card h3 {
    font-size: 1.3rem;
  }
  
  .mvv-card p {
    font-size: 0.9rem;
  }
  
  .equipo {
    padding: 40px 15px;
  }
  
  .equipo h2 {
    font-size: 1.8rem;
  }
  
  .equipo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .miembro {
    padding: 15px;
  }
  
  .miembro img {
    height: 220px;
  }

  .miembro h3 {
    font-size: 1.2rem;
  }
  
  .miembro p {
    font-size: 0.9rem;
  }
  
  .compromiso {
    padding: 60px 15px;
  }
  
  .compromiso-content {
    padding: 25px;
  }
  
  .compromiso-content h2 {
    font-size: 1.8rem;
  }
  
  .compromiso-content p {
    font-size: 1rem;
  }
  
  .cta-nosotros {
    padding: 80px 15px;
  }
  
  .cta-content {
    padding: 25px;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .btn-cta {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  /* Footer responsive */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    line-height: 1.2;
  }
  
  .footer-text p {
    font-size: 0.8rem;
    margin-bottom: 5px;
  }
  
  .footer-socials a {
    font-size: 1.2rem;
  }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
  header .logo span {
    font-size: 1.3rem;
  }
  
  :root {
    --hero-title-size: 1.5rem;
    --hero-sub-size: 0.9rem;
  }
  
  .historia-texto h2 {
    font-size: 1.3rem;
  }
  
  .historia-texto p {
    font-size: 0.85rem;
  }
  
  .mvv h2 {
    font-size: 1.5rem;
  }
  
  .mvv-card h3 {
    font-size: 1.1rem;
  }
  
  .mvv-card p {
    font-size: 0.85rem;
  }
  
  .equipo h2 {
    font-size: 1.5rem;
  }

  .miembro img {
    object-fit:contain;
  }
  
  .miembro h3 {
    font-size: 1.1rem;
  }
  
  .miembro p {
    font-size: 0.85rem;
  }
  
  .compromiso-content h2 {
    font-size: 1.6rem;
  }
  
  .compromiso-content p {
    font-size: 0.9rem;
  }
  
  .cta-content h2 {
    font-size: 1.6rem;
  }
  
  .cta-content p {
    font-size: 0.9rem;
  }
  
  .btn-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
