/* ====== COLORES (cámbialos aquí) ====== */
:root {
  --fondo: #302e2e;      /* fondo de la página y la barra */
  --tarjeta: #4a4b51;    /* tarjetas */
  --rojo: #a01e28;       /* color del logo */
  --rojo-oscuro: #56070C;
  --texto: #f4f4f5;
  --texto-suave: #d0d0d4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--fondo);
  color: var(--texto);
  font-family: 'Space Grotesk', Arial, sans-serif;
  line-height: 1.6;
  font-weight: 500;
}

ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; }
p { color: var(--texto-suave); }

/* ====== BARRA DE ARRIBA ====== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: var(--fondo);
  border-bottom: 1px solid #4a4b51;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 30px;
}

.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; }
.logo img { height: 42px; }
.logo b, .nombre-grande span { color: var(--rojo); }

.menu { display: flex; flex-wrap: wrap; gap: 30px; }
.menu a { color: var(--texto-suave); padding-bottom: 4px; font-weight: 600; }
.menu a:hover { color: var(--texto); border-bottom: 2px solid var(--rojo); }

/* ====== BOTONES ====== */
.boton {
  display: inline-block;
  background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  margin: 5px;
}
.boton:hover { transform: translateY(-2px); }
.boton-borde { background: none; border: 1px solid #6b6c72; }

/* ====== TEXTOS COMUNES ====== */
.etiqueta {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--texto);
  margin-bottom: 15px;
}
.etiqueta::before { content: "● "; color: var(--rojo); }

h1 span, h2 span { color: var(--rojo); font-style: italic; }
h2 { font-size: 38px; text-align: center; max-width: 800px; margin: 0 auto 20px; line-height: 1.2; }
h3 { font-size: 24px; margin: 20px 0 10px; }
h4 { font-size: 20px; margin-bottom: 12px; }
.sub { text-align: center; max-width: 600px; margin: 0 auto 30px; }

/* ====== INICIO ====== */
.inicio {
  min-height: 100vh;
  text-align: center;
  padding: 150px 20px 70px;
  background:
    linear-gradient(rgba(48,46,46,0.7), rgba(48,46,46,1)),
    url(img/img.jpeg) center / cover,
    var(--fondo);
}
.inicio h1 { font-size: 56px; line-height: 1.15; margin: 10px 0 20px; }
.texto-inicio { max-width: 650px; margin: 0 auto 30px; font-size: 17px; }

.datos { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 60px; }
.datos li {
  width: 250px;
  background: rgba(74, 75, 81, 0.6);
  border: 1px solid #6b6c72;
  border-radius: 16px;
  padding: 18px 30px;
  color: var(--texto-suave);
}
.datos b { display: block; font-size: 26px; color: var(--texto); font-family: 'Fraunces', Georgia, serif; }

/* ====== SECCIONES ====== */
.seccion { text-align: center; max-width: 1100px; margin: 0 auto; padding: 100px 20px 40px; scroll-margin-top: 40px; }
.ancho { max-width: 1000px; margin: 40px auto 0; }

.fila { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 20px auto; }
.fila > * { flex: 1; min-width: 280px; }
.columna { display: flex; flex-direction: column; gap: 20px; }

.tarjeta {
  background: var(--tarjeta);
  border: 1px solid #5d5e64;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.tarjeta li { margin-bottom: 10px; color: var(--texto-suave); }
.centro { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.valores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.valores li { background: var(--tarjeta); border: 1px solid #5d5e64; border-radius: 20px; padding: 8px 20px; font-weight: 600; }

.logo-grande { width: 180px; }
.nombre-grande { font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: bold; color: var(--texto); margin-top: 15px; }

/* ====== PROYECTO ====== */
.proyecto { display: flex; flex-wrap: wrap; background: var(--tarjeta); border-radius: 24px; overflow: hidden; }
.proyecto > div { flex: 1; min-width: 300px; }
.proyecto-imagen { position: relative; }
.proyecto-imagen svg { width: 100%; height: 100%; display: block; }
.insignia { position: absolute; top: 15px; left: 15px; background: var(--rojo); padding: 5px 14px; border-radius: 20px; font-size: 13px; }
.proyecto-texto { padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.etiqueta-chica { color: var(--rojo); text-transform: uppercase; font-size: 13px; letter-spacing: 2px; }
.proyecto-texto h3 { font-size: 32px; margin-top: 5px; }
.proyecto-texto p { margin-bottom: 20px; }

/* ====== EQUIPO ====== */
.equipo { display: flex; flex-wrap: wrap; gap: 20px; margin: 40px 0 20px; }
.persona {
  flex: 1;
  min-width: 220px;
  background: var(--tarjeta);
  border: 1px solid #5d5e64;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
}
.persona:hover { border-color: var(--rojo); transform: translateY(-4px); }
.persona h3 { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 19px; font-weight: 700; margin: 12px 0 4px; }
.persona small { color: var(--rojo); }

.avatar {
  position: relative;
  overflow: hidden;
  width: 120px; height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: bold; color: white;
}
.avatar img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar.grande { width: 170px; height: 170px; font-size: 44px; flex-shrink: 0; margin: 0; }

.perfil {
  display: none;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  background: var(--tarjeta);
  border: 1px solid #5d5e64;
  border-radius: 24px;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}
.perfil.abierto { display: flex; }
.perfil h3 { margin-top: 0; }

/* ====== FORMULARIO ====== */
form { text-align: left; }
.formulario { max-width: 600px; margin: 40px auto 0; }
label { display: block; margin: 12px 0 5px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #aeaeb4; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--fondo);
  color: white;
  border: 1px solid #6b6c72;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
}
input:focus, textarea:focus { outline: none; border-color: var(--rojo); }
form .boton { margin: 20px 0 0; }

/* ====== PIE DE PÁGINA ====== */
footer { margin-top: 80px; padding: 50px 30px 20px; border-top: 1px solid #4a4b51; }
.pie { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.pie > div { flex: 1; min-width: 200px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.pie p { font-size: 14px; }
.pie h5 { font-size: 15px; margin-bottom: 5px; }
.pie a:hover { color: var(--rojo); }
.pie span, .pie > div > a { color: var(--texto-suave); font-size: 14px; }
.derechos { text-align: center; margin-top: 40px; font-size: 13px; color: #aeaeb4; }

/* ====== CELULAR ====== */
@media (max-width: 700px) {
  .inicio { padding-top: 120px; }
  .inicio h1 { font-size: 36px; }
  h2 { font-size: 28px; }
}

/* ====== SIGNIFICADO PASO A PASO ====== */
.paso { display: none; }
.paso.activo { display: block; }
.paso p { margin-bottom: 15px; }
.paso .boton { margin-top: 15px; }
.paso h3 { margin-top: 10px; }
/* ====== UBICACIÓN, MANUAL Y MAPA DEL SITIO ====== */



/* ====== PESTAÑAS (Información) ====== */

.aviso { margin-top: 15px; text-align: center; font-weight: 700; }


/* ====== MENÚ HELP (desplegable) ====== */
.ayuda { position: relative; }
.ayuda-boton {
  background: none; border: none; font: inherit; font-weight: 600;
  color: var(--texto-suave); cursor: pointer; padding-bottom: 4px;
}
.ayuda-boton:hover, .ayuda.abierto .ayuda-boton { color: var(--texto); border-bottom: 2px solid var(--rojo); }
.ayuda-lista {
  display: none;
  position: absolute; right: 0; top: 100%;
  min-width: 210px;
  background: var(--tarjeta);
  border: 1px solid #5d5e64;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 20;
}
.ayuda.abierto .ayuda-lista { display: block; }
.menu .ayuda-lista a { display: block; padding: 10px 14px; border-radius: 8px; border-bottom: none; white-space: nowrap; }
.menu .ayuda-lista a:hover { background: var(--fondo); color: var(--texto); border-bottom: none; }

/* ====== UBICACIÓN PEQUEÑA (pie de página) ====== */
.ubicacion-chica { max-width: 500px; margin: 40px auto 0; text-align: center; }
.ubicacion-chica h5 { font-size: 15px; }
.mapa-chico { width: 100%; height: 180px; border: 1px solid #5d5e64; border-radius: 12px; margin-top: 10px; }

/* ====== MAPA DEL SITIO (pie de página) ====== */
.mapa-pie { max-width: 1000px; margin: 40px auto 0; padding-top: 30px; border-top: 1px solid #4a4b51; text-align: center; }
.mapa-pie h5 { font-size: 18px; margin-bottom: 20px; }
.mapa-pie-lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.mapa-pie-lista > li { background: var(--tarjeta); border: 1px solid #5d5e64; border-radius: 14px; padding: 16px 18px; }
.mapa-pie-lista > li > a { display: block; font-weight: 700; font-size: 15px; color: var(--texto); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #5d5e64; }
.mapa-pie-lista a:hover { color: var(--rojo); }
.mapa-pie-lista ul li { position: relative; padding-left: 14px; margin-bottom: 4px; font-size: 13px; color: var(--texto-suave); }
.mapa-pie-lista ul li::before { content: "•"; position: absolute; left: 0; color: var(--rojo); }
@media (max-width: 900px) { .mapa-pie-lista { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .mapa-pie-lista { grid-template-columns: 1fr; } }

/* ====== MENÚ HAMBURGUESA (celular y tableta) ====== */
.hamburguesa {
  display: none;
  background: none; border: none;
  color: var(--texto); font-size: 32px; line-height: 1;
  cursor: pointer;
}
@media (max-width: 900px) {
  header { padding: 10px 20px; }
  .hamburguesa { display: block; }
  .menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--fondo);
    border-bottom: 1px solid #4a4b51;
    padding: 5px 20px 15px;
    max-height: calc(100vh - 64px); overflow-y: auto;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
  }
  header.abierto .menu { display: flex; }
  .menu > li > a, .ayuda-boton { display: block; width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid #4a4b51; }
  .menu a:hover { border-bottom: 1px solid #4a4b51; }
  .ayuda-lista { position: static; box-shadow: none; margin: 8px 0 5px; min-width: 0; }
  .menu .ayuda-lista a { padding: 12px 14px; border-bottom: none; }
}
