@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;0,800;1,800&display=swap');

:root {
    --amarillo: #ffe944;
    --negro: #000000;
    --blanco: #f3f4f5; /* Definida para el botón del form */
}

body {
    background: var(--negro);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

/* --- HEADER --- */

header{
  width:100%;
  height:80px;
  background:var(--negro);
  display:flex;
  position:fixed;
  top:0;
  left:0;
  z-index:9999;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size:13px;
}

/* CONTENEDOR */
.container_header{
  margin:auto;
  width:100%;
  max-width:1400px;
    padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LOGO */
.logo img{

  width:250px;
}

/* NAV DESKTOP */
.nav{
  padding:0 20px;
  display:flex;
  align-items:center;
  gap:10px;
}

.nav li{
  list-style:none;
}

.nav li a{
  position:relative;
  padding:10px;
  color:var(--blanco);
  text-decoration:none;
  display:block;
}

/* 🔥 HOVER LINEA */
.nav li a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:var(--amarillo);
  transition:width .3s ease;
}

.nav li a:hover::after{
  width:100%;
}

/* BOTON */
.btn-call{
  background:var(--amarillo);
  color:var(--negro)!important;
  border-radius:10px;
}

.btn-call::after{
  display:none;
}

/* OVERLAY */
body::before{
  content:"";
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.5);
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:8;
}

body.menu-open::before{
  opacity:1;
  visibility:visible;
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  cursor:pointer;
  z-index:20;
  margin-right:20px;
}

.hamburger span{
  width:28px;
  height:3px;
  background:#fff;
  display:block;
  transition:.3s ease;
  transform-origin:center;
}

/* 🔥 X PERFECTA */
.hamburger.active span:nth-child(1){
  transform:translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:translateY(-9px) rotate(-45deg);
}

/* 📱 RESPONSIVE */
@media (max-width:1105px){

  .hamburger{
    display:flex;
  }

  .nav{
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    
    width:55%;
    max-width:320px;

    background:#000;
    flex-direction:column;

    padding:120px 30px;
    gap:15px;

    transition:.4s;
    z-index:10;

    /* 🔥 estilo pro */
    box-shadow:-10px 0 30px rgba(0,0,0,0.5);
  }

  .nav.active{
    right:0;
  }

  .nav li{
    width:100%;
  }

  .nav li a{
    width:100%;
    padding:12px 0;
  }

}

















/* --- FORMULARIO --- */
.contacto-wrapper {
    padding: 150px 20px 80px;
    display: flex;
    justify-content: center;
}

.page-container {
    display: flex;
    width: 100%;
    max-width: 1500px;
    gap: 50px;
    align-items: center;
    justify-content: space-evenly;
}

.info-section { 
    width: 50%; 
}
.info-subtitle {
    color: var(--blanco);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.info-title {
    color: var(--amarillo);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.info-description {
    color: var(--blanco);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}


.contact-item { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 20px; 
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
}

.contact-details h4 { color: var(--blanco); font-size: 0.85rem; margin: 0; }
.contact-details p { color: var(--amarillo); font-weight: 600; margin: 0; }

.form-card {
    background: var(--blanco);
    flex: 1;
    padding: 45px;
    border-radius: 35px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 0.9rem; color: #444; margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
}

.full-width { grid-column: span 2; }

.submit-container { display: flex; justify-content: flex-end; }
.btn-submit {
    background-color: var(--amarillo);
    color: var(--negro);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}



/* --- FOOTER --- */
.mk-footer { background: var(--negro); color: #dcdcdc; padding: 60px 20px 20px; }
.mk-footer-wrap { max-width: 1500px; margin: auto; }
.mk-footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.mk-footer-title img { width: 200px; }
.mk-input-box { display: flex; border: 1px solid #2a3a35; border-radius: 50px; overflow: hidden; }
.mk-input-box input { padding: 12px 15px; border: none; background: transparent; color: #fff; min-width: 220px; outline: none; }
.mk-input-box button { background: var(--amarillo); border: none; padding: 0 20px; color: #111; cursor: pointer; }
.mk-footer-grid { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.mk-footer-grid h4 { color: #fff; margin-bottom: 15px; }
.mk-footer-grid ul { list-style: none; }
.mk-footer-grid a { color: #aaa; text-decoration: none; }
.mk-social { display: flex; gap: 10px; }
.mk-social a { width: 35px; height: 35px; border-radius: 50%; background: #1c2b26; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }

/* --- MEDIA QUERIES --- */
@media (max-width: 900px) {
    .hamburger { display: flex; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: #000;
        flex-direction: column;
        align-items: flex-start; 
        padding: 100px 40px; 
        transition: .4s;
        z-index: 100;
        text-align: left;
    }
    .nav.active { right: 0; }
    .page-container { flex-direction: column; text-align: start; }
    .info-section { width: 100%; padding: 0 15px; }
    .grid-form { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .contact-item { justify-content: start }
    .mk-footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
    
.form-section{

    width: 100%;
}


}





/* ... Manten tus estilos anteriores de Montserrat, Header, Form, etc. ... */

#loader-container {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--blanco);
    font-family: sans-serif;
   font-family: "Montserrat", sans-serif;
}

.loader {
    border: 6px solid #333;
    border-top: 6px solid #ffffff;
    border-radius: 50%;
    width: 60px; height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




/* ==========================================FOOTER=========================*/
.mk-footer {
  background: var(--negro);
  color: #dcdcdc;
  padding: 60px 20px 20px;
  font-family: sans-serif;
}

.mk-footer-wrap {
  max-width: 1400px;
  padding: 0 20px;
  margin: auto;
}

/* Top */
.mk-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  gap: 30px;
}

.mk-footer-title h2 {
  font-size: 28px;
  color: #fff;
  line-height: 1.3;
}

/* Newsletter */
.mk-footer-news p {
  margin-bottom: 10px;
}

.mk-input-box {
  display: flex;
  border: 1px solid #2a3a35;
  border-radius: 50px;
  overflow: hidden;
}

.mk-input-box input {
  padding: 12px 15px;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  min-width: 220px;
}

.mk-input-box button {
  background: #e5df00;
  border: none;
  padding: 0 20px;
  color: #111111;
  cursor: pointer;
  transition: 0.3s;
}

.mk-input-box button:hover {
  background: #000000;
}

/* Grid */
.mk-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.mk-footer-grid h4 {
  color: #fff;
  margin-bottom: 15px;
}

.mk-footer-grid ul {
  list-style: none;
  padding: 0;
}

.mk-footer-grid li {
  margin-bottom: 10px;
}

.mk-footer-grid a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.mk-footer-grid a:hover {
  color: #fff;
}

/* Redes */
.mk-social {
  display: flex;
  gap: 10px;
}

.mk-footer-title img{
  width: 200px;
}
.mk-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  color:var(--negro);
  text-decoration: none;
  transition: 0.3s;
}

.mk-social a:hover {
  background: var(--amarillo);
  color: var(--negro);
}

/* Bottom */
.mk-footer-bottom {
  border-top: 1px solid #1c2b26;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
}

.mk-footer-bottom a {
  color: #aaa;
  margin-left: 15px;
  text-decoration: none;
}

.mk-footer-bottom a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .mk-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .mk-footer-grid {
    flex-direction: column;
  }

  .mk-footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}