/* ========================= VARIABLES GLOBALES ========================= */
:root {
  --black-main: #0b0b0b;
  --text-main: #eaeaea;
  --text-muted: rgba(237, 229, 221, 0.75);
  --accent-blue: #9fc7e8;
  --accent-green: #d6ff4f;
}


/* ========================= BASE ========================= */
/* body {

  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--black-main);
  color: var(--text-main);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
} */


html, body {
  
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* ========================= CONTAINER GLOBAL PARA LAS SECCIONES========================= */

.container-section {
  width: 100%; /* Usa 100% en lugar de vw */
  box-sizing: border-box; /* Fundamental para que el padding no genere scroll horizontal */
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 80px);
}
/* ======================== Tipografía global ========================= */
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  font-size: 14px;
  line-height: 1.6;
  color: #cfcfcf;
}

/* ========================= DIVIDER GREY ========================= */
.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 40px;
}

/* ========================= NAVBAR BLANCA ========================= */
.navbar {
  background-color: #ffffff; /* Fondo blanco puro como en la imagen */
  width: 100%;
  display: flex;
  justify-content: center; /* Centra el contenedor interno */
  /* Sombra sutil opcional para separar de la sección negra */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); 

  position: -webkit-sticky; /* Soporte para Safari */
  position: sticky;
  top: 0; /* Distancia desde el tope de la pantalla */
  z-index: 1000; /* Asegura que pase por ENCIMA del contenido y fotos */
  
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Sombra para que se note al bajar */
}

.navbar {
  
  /* PROPIEDADES CLAVE PARA QUE SE PEGUE */
  position: -webkit-sticky; /* Soporte para Safari */
  position: sticky;
  top: 0; /* Distancia desde el tope de la pantalla */
  z-index: 1000; /* Asegura que pase por ENCIMA del contenido y fotos */
  
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Sombra para que se note al bajar */
}


.nav-container {
  width: 95%; /* Ocupa casi todo el ancho */
  max-width: 1200px;
  height: 80px; /* Altura fija para control total */
  display: flex;
  justify-content: space-between; /* LOGO <---> MENU */
  align-items: center;
}

/* 2. Estilo del Menú */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.15em; /* El espaciado que definimos antes */
  text-transform: uppercase;
}

/* 3. El Separador " | " refinado */
.separator {
  width: 1px;
  height: 12px;
  background-color: #e0e0e0;
  margin: 0 15px; /* Espacio exacto entre el texto y la barra */
}


/* Estilos para el icono de hamburguesa */
.menu-toggle {
  display: none; /* Oculto en escritorio */
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.bar {
  width: 28px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* Aparece en móviles */
  }

  .nav-links {
    display: none; /* Se oculta por defecto */
    flex-direction: column;
    position: fixed; /* O absolute, según prefieras */
    top: 80px; /* Ajusta según la altura de tu navbar */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }

  /* Clase que activaremos con JS */
  .nav-links.active {
    display: flex;
  }

  .separator {
    display: none; /* Quitamos las líneas verticales en móvil */
  }

  .nav-links li {
    margin: 15px 0;
  }
}

/* ========================= INTRODUCTION ========================= */
.intro-section {
  padding: 80px 20px 60px;
}

.intro-title {
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f3f0eb;
  margin-bottom: 32px;

}


.title-highlight {
  font-weight: 700;
  color: rgba(237, 229, 221, 0.95);
}


.intro-text {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: rgba(237, 229, 221, 0.82);
  letter-spacing: 0.02em;
}

.paragraph-highlight {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(237, 229, 221, 0.95);
}

/* ========================= BOTÓN CONTACTO ========================= */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid #d6ff4f;
  color: #d6ff4f;
  background-color: transparent;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin: 60px 0px 32px;
}

.btn-contact:hover {
  background-color: #d6ff4f;
  color: #0b0b0b;
}

/* ========================= MISSION VISION ========================= */

.mission-vision {
  margin: 0 auto;
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

  /* BLOQUES */
  .mv-block {
    max-width: 100%;
  }

.mv-block.left {
  /* margin-left: -80px; */
  /* align-self: flex-start; */
}

.mv-block.right {
  align-self: flex-end;
  text-align: right;
}

/* TÍTULOS */
.mv-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 16px 0;
}

/* TEXTO */
.mv-text {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: rgba(237, 229, 221, 0.8);
  margin: 0;
}
/* ========================= FADE UP ANIMATION ========================= */

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= RESPONSIVE ========================= */

@media (max-width: 992px) {
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-title {
    font-size: 2.8rem;
  }
}

/* ========================= CONTACT SECTION ========================= */

.contact-section {
  background: #ffffff;
  color: #000000;
  padding: 10px 20px 60px;
  text-align: center;
}

.contact-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 400;
  margin-bottom: 40px;
  margin-top: 40px;
}

.contact-section .intro-contact {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #000000;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 34px;
  border: 1.5px solid #000;
  border-radius: 999px;

  font-size: 16px;
  font-weight: 500;
  color: #000;
  text-decoration: none;

  transition: all 0.3s ease;
  margin-bottom: 42px;
}

.contact-btn:hover {
  background: #000;
  color: #fff;
}

.contact-social {
  margin-top: 100px;
  text-align: left;
  max-width: 100%;      /* Cambiado de 1100px a 100% para evitar desbordes */
  margin-inline: auto;
  padding-inline: 20px; /* Margen de seguridad para que no toque los bordes del móvil */
  box-sizing: border-box;
}

.contact-social p {
  font-size: 18px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 25px; 
  justify-content: center; /* Centra los iconos en móvil */
  align-items: center;
  flex-wrap: wrap;       /* Si no caben, bajan de línea en lugar de cortarse */
  padding: 20px 0;       /* Da espacio arriba y abajo para que no se corten las sombras */
  overflow: visible !important; /* CLAVE: Evita que el contenedor corte la imagen */
}

.social-icons img {
  width: 40px;           /* Tamaño fijo controlado */
  height: auto;          /* Mantiene la proporción */
  display: block;
  flex-shrink: 0;        /* Evita que el navegador los aplaste */
}

.social-icons img:hover {
  opacity: 1;
  transform: scale(1.1);
  /* Pequeño efecto al pasar el mouse */
}

.global-background {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-color: #000;
  background-image: url("../assets/weunitedbackground.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.global-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .global-background {
    background-size: contain;
  }
}

.marker-icon {
  background-color: #d63384;
  /* Color rosado/rojo del logo */
  color: white;
  width: 30px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  font-weight: bold;
  font-size: 14px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Para que la letra 'R' no quede rotada */
.marker-icon::after {
  content: 'R';
  transform: rotate(45deg);
  display: block;
}

/* Limpiar la 'R' del contenido original del div para que no se duplique */
.marker-icon {
  color: transparent;
}


/* ========================= CONTACT SECTION FORM ========================= */


/* Contenedor General */
.united-contact-area {
  padding: 100px 8%;
  background-color: #ffffff; /* Fondo sutil */
  font-family: 'Montserrat', sans-serif;
}

.united-contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* Columna de Texto - Alineación Izquierda */
.united-contact-text {
  margin-top: 50px;
  text-align: left;
  flex: 1;
}

.united-info-box {
  margin-bottom: 45px;
}

.united-title {
  font-weight: 600; /* Extra Bold */
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 5px;
  letter-spacing: -1px;
}

.united-desc-dark {
  font-weight: 400;
  color: #444444; /* Gris oscuro */
  font-size: 1.1rem;
  margin-bottom: 2px;
}

/* Enlaces y Datos en Negro Sólido */
.united-mail-black, 
.united-context-black, 
.united-phone-black {
  font-weight: 500;
  color: #000 !important;
  text-decoration: none;
  font-size: 1.15rem;
  display: block;
}

/* Tarjeta Verde Lima */
.united-form-card {
  background-color: #d6ff4f;
  padding: 55px;
  border-radius: 50px;
  width: 55%;
  text-align: left;
}

.united-card-title {
  font-weight: 800;
  font-size: 2.8rem;
  color: #000;
  margin-bottom: 35px;
  line-height: 1;

  margin-top: 0; 
  font-weight: 700; /* Letra más delgada que el 800 anterior */
}

/* Campos del Formulario */
.united-input-field {
  margin-bottom: 25px;
  border-bottom: 1px solid #000; /* Línea minimalista */
}

.united-input-field label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: #000;
}

.united-input-field input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-family: 'Montserrat', sans-serif;
  outline: none;
}

/* Checkboxes */
.united-checkbox-section { color: #000; }
.united-check-title { font-weight: 800; margin-top: 30px; margin-bottom: 2px; color: #000;}
.united-check-desc { font-size: 0.8rem; font-style: italic; margin-bottom: 15px; color: #000; }

.united-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 500;
}

/* Botón Enviar */
.united-btn-send {
  background-color: #000;
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  float: right;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.3s;
}

.united-btn-send:hover {
  background-color: #333;
}

/* Responsive */
@media (max-width: 992px) {
  .united-contact-wrapper { flex-direction: column; }
  .united-form-card {
    width: 100% !important; 
    max-width: 100%;
    box-sizing: border-box; 
    padding: 30px 20px;     
    border-radius: 30px;    
  }
}


/* * {
  outline: 1px solid red;
} */