/* =====================
   RESET BÁSICO
===================== */
body {
    margin: 0;
    background: #ffffff;
}

/* 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;
}

/* === SECCION 1 ===*/
.bloque {
    width: 100%;
    min-height: 100vh;
    padding: 140px 40px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #e5e7d0;
    position: relative; /* 👈 CLAVE */
}

.bloque .contenido {
    max-width: 900px;
}

.bloque h1 {
  margin: 60px auto 40px;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 0 2px;
}



.bloque p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgb(68, 68, 68);
    text-align: center;
    padding: auto;
}

.titulo-destacado {
    position: relative;
    display: inline-block;
    font-size: 2.6rem;
    font-weight: bold;
    z-index: 1;
}

/* TRAZO BASE */
.titulo-destacado::before {
    content: "";
    position: absolute;

    left: -10px;
    right: -1px;
    top: -10%;

    height: 1.3em;

    background: #c7ff00;

    transform: rotate(-2deg);
    filter: blur(0.6px);
    z-index: -1;
    opacity: 3;
}



/* CONTENEDOR DE TARJETAS */
.tarjetas {
  width: 100%;
  margin-top: 50px;
  padding: 0 2px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  text-align: center;


  justify-items: center; /* 👈 centra cada tarjeta */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box; /* 👈 CLAVE */
  
}

.tarjeta {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgb(0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 390px; /* 👈 ancho ideal */

}


.tarjeta:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgb(0, 0, 0);
}

.tarjeta1 {
  border-top: 9px solid #c8ff00;
}

.tarjeta2 {
  border-top: 9px solid #c8ff00;
}

.icono {
  font-size: 40px;
  margin-bottom: 15px;
  color: #c8ff00;
}

.btn-registro {
    margin-top: auto; /* empuja el botón hacia abajo */
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: #c8ff00;
    color: rgb(0, 0, 0);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-registro:hover {
    background: #9a9f8833; /* amarillo estilo app */
    color: #111;
    transform: translateY(-2px);
}















/*IMAGEN DECORATIVA*/

.imagen-decorativa {
  position: absolute;
  left: 38px;
  top: 26px; /* ajústalo a gusto */
  pointer-events: none; /* decorativa */
  padding: 430px 0px 0px 0px;
}

.imagen-decorativa img {
  width: 380px;   /* 🔑 tamaño real pequeño */
  height: auto;
  opacity: 0.39;
}












/* =====================
   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;
}









@media (min-width: 1024px) {

  #inicio { padding: 120px 20px 20px; }
  #inicio .contenido h1 { font-size: 2.5rem; }
  #inicio .contenido p { font-size: 1.2rem; }
  .bloque { padding: 120px 30px 30px; }
  .bloque .contenido h1 { font-size: 2.5rem; }
  .bloque .contenido h2 { font-size: 2rem; }
  .bloque p { font-size: 1.1rem; }

  .logo-text {font-size: 26px;letter-spacing: 3px;}
  .hamburguesa {font-size: 24px;}
  .hamburguesa.activo{font-size: 24px;}
  
  .bloque h1 {
    margin: 10px 0 50px 10px;
    text-align: left;
    padding: 0 420px;
  }

  .titulo-destacado::before{

    content: "";
    position: absolute;

    left: 320px;
    right: 380px;
    top: -10%;

    height: 1.3em;

    background: #c7ff00;

    transform: rotate(-2deg);
    filter: blur(0.6px);
    z-index: -1;
    opacity: 3;

  }

  .bloque p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgb(151, 132, 132);

    max-width: 800px;      /* 👈 ancho cómodo de lectura */
    margin: 0 auto 20px;  /* 👈 centra el párrafo */
    text-align: center;
  }

  .contenido p:nth-of-type(1) {
    margin-left: 380px;
  }

  .contenido p:nth-of-type(2) {
    margin-left: 380px;
  }

  .contenido p:nth-of-type(3) {
    margin-left: 380px;
  }

  .contenido p {
    max-width: 800px;
    margin-right: auto;
    text-align: center;
  }

  .inicio-layout {
    flex-direction: column;
    text-align: center;
  }

  .inicio-imagen {
    max-width: 20px;
  }

  .imagen-decorativa {
    position: absolute;
    left: 20px;
    top: 3px; /* ajústalo a gusto */
    pointer-events: none; /* decorativa */ 
  }

  .imagen-decorativa img {
    width: 480px;   /* 🔑 tamaño real pequeño */
    height: auto;
    opacity: 4;
  }


}

@media (max-width: 768px) {
    #inicio { padding: 100px 15px 15px; }
    #inicio .contenido h1 { font-size: 2rem; }
    #inicio .contenido p { font-size: 1rem; }
    .bloque { padding: 100px 20px 20px; }
    .bloque .contenido h1 { font-size: 2rem; }
    .bloque .contenido h2 { font-size: 1.5rem; }
    .bloque p { font-size: 1rem; }

    .logo-container {left: 20px;}
    .logo-text {font-size: 22px;letter-spacing: 2px;}
    .menu a {font-size: 20px;}
    .hamburguesa {font-size: 22px;}
    .hamburguesa.activo{font-size: 22px;}
    
}
