/* =====================
   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: #000000;
    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: #000000;
    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;
}





/*AQUI EMPIEZA LOS CONTENEDORES DE PRECIOS DENTRO DE LA ESTRUPTURA- DE AQUI HACIA ARRIBA NO TOCAR A MENOS DE QUE QUIERA MODIFICAR NAV O HEADER Y BODY*/
/* ===== CONTENEDOR DE PRECIOS ===== */



/* =====================
   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: 1px auto 40px;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 0 2px;
}



.bloque p {
  font-size: 2rem;
  line-height: 1.9;
  color: rgb(68, 68, 68);
  text-align: center;
  padding: auto;
}

.titulo-destacado {
  position: relative;
  display: inline-block;
  font-size: 5rem;
  font-weight: bold;
  z-index: 1;
}

/* TRAZO BASE */
.titulo-destacado::before {
  content: "";
  position: absolute;

  left: -10px;
  right: -12px;
  top: -10%;

  height: 1.3em;

  background: #c7ff00;

  transform: rotate(-2deg);
  filter: blur(0.6px);
  z-index: -1;
  opacity: 3;
}



.imagen-decorativa {
  position: absolute;
  left: 28px;
  top: 180px; /* ajústalo a gusto */
  pointer-events: none; /* decorativa */
  padding: 230px 0px 0px 0px;
}

.imagen-decorativa img {
  width: 380px;   /* 🔑 tamaño real pequeño */
  height: auto;
  opacity: 0.39;

}










/*FORMULARIO A WHATSAPP*/
.formulario { 
  padding: 70px 20px;
  text-align: center;
  background: #e5e7d0;
}

.formulario h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #111;
}

.formulario p {
  margin-bottom: 35px;
  color: #666;
  font-size: 1.05rem;
}

#formWhatsApp {
  max-width: 520px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

#formWhatsApp input,
#formWhatsApp textarea,
#formWhatsApp select {
  padding: 14px 16px;
  border: 1.8px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.25s ease;
  outline: none;
  background: #fafafa;
}

#formWhatsApp input:focus,
#formWhatsApp textarea:focus,
#formWhatsApp select:focus {
  border-color: #25d366;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37,211,102,0.15);
}

#formWhatsApp textarea {
  resize: vertical;
  min-height: 90px;
}

#formWhatsApp select {
  cursor: pointer;
}

#formWhatsApp button {
  margin-top: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #25d366, #1da851);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.15rem;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s ease;
  letter-spacing: 0.3px;
}

#formWhatsApp button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37,211,102,0.35);
}

#formWhatsApp button:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(37,211,102,0.25);
}

/* ====== ARREGLAR SELECT EN iPHONE ====== */
#formWhatsApp select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fafafa;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  padding-right: 40px; /* espacio para la flecha */
}

/* ====== ARREGLAR DATE EN iPHONE ====== */
#formWhatsApp input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

/* Quitar icono azul feo en iOS */
#formWhatsApp input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.6;
  cursor: pointer;
}

#formWhatsApp label {
  text-align: left;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: -10px;
}

/* ===== FORZAR ALTURA REAL EN DATE iOS ===== */
/* ===== FIX REAL DATE iOS ===== */
#formWhatsApp input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  height: 52px;
  padding: 14px 16px;
  box-sizing: border-box;
  background: #fafafa;
}


/* Arregla alineación del texto interno en iPhone */
#formWhatsApp input[type="date"]::-webkit-datetime-edit {
  padding: 0;
}

/* Evita que el texto quede comprimido */
#formWhatsApp input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  display: flex;
  align-items: center;
}


















/* SECCIÓN MAPA */
.mapa-seccion {
  padding: 80px 20px;
  background: #e5e7d0;
}

.mapa-seccion h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #000000;
  text-align: center;
}

.mapa-seccion p {
  color: rgb(68, 68, 68);
  margin-bottom: 35px;
  text-align: center;
}

#mapa {
  width: 100%;
  max-width: 960px;
  height: 300px;
  margin: auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 90px rgba(0,0,0,0.45);
}


.btn-ubicacion {
  background: linear-gradient(135deg, #4285f4, #2b6be0);
  color: white;
  border: none;
  padding: 16px 42px;
  font-size: 1rem;
  border-radius: 14px;
  cursor: pointer;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
  display: flex;
  margin: 30px auto;
}

.info-ruta {
  max-width: 900px;
  margin: 35px auto 0;
  padding: 22px;
  background: #fff;
  border-radius: 16px;
  color: #111;
  display: none;
}

.btn-mapas {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}



























/* =====================
   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;
}







/*-------------------------------------------------------------------inicio resposive PC-CELULAR---------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 480px) {



  /* BLOQUE #1 */
    .bloque {
        padding: 100px 20px 30px;
        align-items: center; /* centramos en móvil */
        text-align: center;
    }

    .bloque .contenido {
        max-width: 100%;
    }

    .bloque h1 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .bloque p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .titulo-destacado {
        font-size: 2.5rem;
    }

    .titulo-destacado::before {
        left: -5px;
        right: -5px;
        top: -5%;
        height: 1.2em;
    }

    .imagen-decorativa {
        position: static !important;   /* 🔥 elimina absolute */
        margin-top: 40px;
        padding: 0 !important;
        text-align: center;
    }

    .imagen-decorativa img {
        width: 85%;        /* más grande en móvil */
        max-width: 420px;  /* límite máximo */
        height: auto;
        opacity: 0.4;
    }



    /* ===== FORMULARIO MOBILE ===== */
    #formWhatsApp {
        padding: 25px 20px;
    }

    #formWhatsApp input,
    #formWhatsApp textarea,
    #formWhatsApp select {
        font-size: 16px; /* evita zoom automático en iPhone */
    }

    /* ===== FOOTER MOBILE ===== */

    .footer {
        padding: 40px 15px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* 👈 DOS COLUMNAS */
        gap: 20px;
    }

    .footer-brand {
        grid-column: span 2; /* 👈 La marca ocupa las dos columnas */
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-column h4 {
        font-size: 14px;
    }

    .footer-column a {
        font-size: 13px;
    }


    /* Logo */
    .logo-container {
        top: 15px;
        left: 20px; /* más pegado al borde */
        height: 28px; /* más pequeño */
    }

    .logo-text {
        font-size: 22px; /* más compacto */
        letter-spacing: 0.5px;
        text-shadow: none; /* quita ese efecto fuerte en móvil */
    }

}
