/* =====================
   RESET BÁSICO
===================== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #615f5736;
    color: #333333;
}

/* Evita scroll de fondo mientras el menú está abierto */
body.menu-abierto {
    overflow: hidden;
    height: 100vh;
}
















/* =====================
   HEADER
===================== */
.header {
    position: fixed;
    top: -120px;
    width: 100%;
    padding: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    transition: top 0.3s ease, background 0.3s ease;
    z-index: 2000;
    font-family: 'Courier New', Courier, monospace;
}

.header.activo {
    top: 0;
    background: rgb(255, 255, 255);
}










/* =====================
   HAMBURGUESA
===================== */
.hamburguesa {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}


.hamburguesa span {
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.header.activo .hamburguesa span {
    background: #000000;
}

.hamburguesa.activo span {
    background: #000000;
}

/* Animación ☰ → ✕ */
.hamburguesa.activo span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.hamburguesa.activo span:nth-child(2) {
    opacity: 0;
}
.hamburguesa.activo span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}















/* =====================
   MENÚ
===================== */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 74vh;
    background-color: #fff; /* fondo blanco */
    background-image: url('../Imagenes/chulpa.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 10px;
    gap: 0px;
    overflow: hidden;
    transform: translateX(100px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), opacity 0.8s ease;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    z-index: 1500;
}

.menu.activo {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.menu a {
    color: black;
    text-decoration: none;
    font-size: 25px;
    margin: 8px 0;
    text-align: left;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900; /* ← más gruesa */
    letter-spacing: -0.5px;

    position: relative;
    padding-left: 20px; /* espacio para el símbolo */
}

/* Estilo de línea superior en el primer enlace */
.menu a:first-child {

    border-top: 1px solid rgba(0, 0, 0, 0.199); /* color de la línea */
    padding-top: 12px;          /* separa el texto de la línea */
}


/* Efecto de flecha animada */
.menu a::before {
    content: "➤"; /* símbolo de flecha */
    display: inline-block;
    margin-right: 8px;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu a:hover::before {
    transform: translateX(6px);
    opacity: 1;
}










/* =====================
   LOGO 
===================== */

/* Logo */
.logo-container {
    position: fixed;
    top: 20px;
    left: 40px;
    z-index: 3000;
    height: 35px;
    display: flex;
    align-items: center;
    cursor: pointer;

    
}

.logo-container img {
    height: 100%;
    width: auto;
    display: block;
}

.logo-text {
    color: #ffffff;
    font-size: 32px;
    font-weight: 200;
    letter-spacing: 1px;           /* más aire */
    margin-left: 2px;
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 900;   /* ← más grueso */
    text-shadow:
        0.6px 0 #fff,
       -0.6px 0 #fff;
}




.header.activo .logo-text {
    color: #04f84d;
    transition: color 0.3s ease;
}

/* Logo verde cuando el header está activo O el menú está abierto */
.header.activo .logo-text,
.menu.activo ~ .logo-container .logo-text,
.hamburguesa.activo ~ .logo-container .logo-text {
    color: #000000;
    transition: color 0.9s ease;
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 900;   /* ← más grueso */
}








/* =====================
   OVERLAY
===================== */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1400;
}

.overlay.activo {
    opacity: 1;
    pointer-events: auto;
}












/* =====================
   CONTENIDO
===================== */
main {
    margin-top: 0;
}

.bloque {
    width: 100%;
    min-height: 100vh;
    padding: 140px 1rem 40px; /* 👈 antes 40px */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* 👈 mejor para grids */
    text-align: center;
}

.bloque .contenido {
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}


/* =====================
   BLOQUES ESPECÍFICOS
===================== */
/* BLOQUE INICIO- BLOQUE 1 y 2  */
.titulo-centrado {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    max-width: 700px;
    margin: 0 auto;
    color: #000;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: 800; /* o 900 */
}



.beneficio {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: #f9f9f9;
    
}

.beneficio i {
    font-size: 2rem;
    color: #ff6600;
    margin-bottom: 0.8rem;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2.1rem;
}

.beneficio h3 {
    margin-bottom: 0.5rem;
    font-weight: 800; /* o 900 */
}

/* TRAZO BASE *//* RESALTADOR */
.titulo-centrado::before {
    content: "";
    position: absolute;

    left: -0.012em;
    right: -0.15em;
    top: 30%;

    transform: translateY(-50%) rotate(0deg);
    height: 1.7em;

    background: #c7ff00;
    filter: blur(0.3px);

    z-index: -1;
    opacity: 0.85;
    
}
.titulo-centrado::after {
    content: "";
    position: absolute;

    left: 1em;
    right: -0em;
    top: 76%;

    transform: translateY(-50%) rotate(0deg);
    height: 1.2em;

    background: #c7ff00;
    filter: blur(0.3px);

    z-index: -1;
    opacity: 0.85;
    
}




.contar {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.persona-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.persona-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.persona-card i {
    font-size: 2.8rem;
    color: #c7ff00;
    margin-bottom: 1rem;
}

.persona-card h3 {
    font-size: 1.3rem;
    margin-bottom: .6rem;
    font-weight: 800;
}

.persona-card p {
    font-size: .95rem;
    color: #444;
    line-height: 1.4;
}













/* =====================
   FOOTER PROFESIONAL
===================== */
.footer {
  background: #e6e4d4; /* color tipo inDrive */
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
}

.footer-brand h2 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-column a {
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  margin-bottom: 10px;
  transition: opacity 0.3s;
}

.footer-column a:hover {
  opacity: 0.6;
}