/* ==============================
   VARIABLES BASE
================================ */
:root {
  /* Gris y blancos */
  --grisc: #f1f5f9;
  --grisc-rgb: 241, 245, 249;

  --griso: #666;
  --griso-rgb: 102, 102, 102;

  --blanco: #fff;
  --blanco-rgb: 255, 255, 255;

  /* Azules */
  --azulc: #defcfc;
  --azulc-rgb: 222, 252, 252;

  --azul: #066097;
  --azul-rgb: 6, 96, 151;

  --azulo: #0a1d39;
  --azulo-rgb: 10, 29, 57;

  /* Oscuros */
  --oscuro: #06263f;
  --oscuro-rgb: 6, 38, 63;

  --oscuro2: #222;
  --oscuro2-rgb: 34, 34, 34;

  /* Amarillos, naranjas, bordes */
  --naranja: #6f3e03;
  --naranja-rgb: 111, 62, 3;

  --amarillo: #ffcc66;
  --amarillo-rgb: 255, 204, 102;

  --borde: #888;
  --borde-rgb: 136, 136, 136;

  /* Verdes */
  --verde: #25d366;
  --verde-rgb: 37, 211, 102;

  --verdeo: #128c7e;
  --verdeo-rgb: 18, 140, 126;


  /* Textos */
  --text-light: #f1f5f9;
  --text-light-rgb: 241, 245, 249;

  --text-muted: #94a3b8;
  --text-muted-rgb: 148, 163, 184;



  --orbitron: "Orbitron", sans-serif;
  --inter: "Inter", sans-serif;
  --ibm: "IBM Plex Sans KR", sans-serif;
  --space: "Space Grotesk", sans-serif;
  --oregano: "Oregano", cursive;
  --poppins: "Poppins", sans-serif;

  --transition: 0.3s ease;
  
  --degradado: linear-gradient(135deg, rgba(var(--azul-rgb), 1) 0%, rgba(var(--blanco-rgb), 1) 50%, rgba(var(--azul-rgb), 1) 100% );
  
  
  
}

.bg-pr {
    background: #ebebeb;
}


/* ==============================
   HEADER / NAVBAR
================================ */
#mainHeader {
  transition: all 0.3s ease;
  padding: 5px 0;
  z-index: 99999;
}

#mainHeader.scrolled {
  background-color: rgba(10, 10, 10, 0.9);
  padding: 10px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.navbar-nav .nav-link {
  color: var(--grisc);
  font-weight: 400;
  margin-right: 18px;
  transition: var(--transition);
  font-family: var(--space);
  font-size: 1.1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--amarillo);
}

.link-blog {
    color: var(--amarillo)!important;
}

.borde-menu {
  position: fixed;
}

.borde-menu::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px;
  background: linear-gradient(to right, var(--blanco), #222, var(--blanco));
}


/* ==============================
   BOTÓN CONTACTO
================================ */
.btn-contacto {
  color: var(--amarillo);
  background: var(--azulo);
  padding: 7px 15px;
  border: 1px solid var(--amarillo);
  font-weight: 400;
  letter-spacing: 1px;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--poppins);
  font-size: 1rem;
  border-radius: 0px;
}

.btn-contacto:hover {
  color: var(--blanco);
    background: var(--azulo);
    border: 1px solid var(--blanco);
}


/* ==============================
   DROPDOWN
================================ */
.dropdown-menu {
  background: var(--azul);
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  border: none;
}

.dropdown-item {
  color: var(--grisc);
  padding: 8px 14px;
  transition: var(--transition);
}

.dropdown-item:hover {
  color: var(--amarillo);
  background: var(--oscuro);
}

/* ==============================
   DROPDOWN EN MÓVIL SIN CAMBIAR COLORES
================================ */
@media (max-width: 991px) {

  /* Mantener fondo oscuro también en móvil */
  .navbar-collapse {
    background: var(--oscuro) !important;
  }

  .dropdown-menu {
    background: var(--oscuro) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  }

  .dropdown-item {
    color: var(--grisc) !important;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    color: var(--amarillo) !important;
    background: var(--oscuro) !important;
  }
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}



/* ==============================
   HERO
================================ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: url("../img/_neu.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

/* Degradado sobre la imagen */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 0.3),
    rgba(255, 255, 255, 0.05)
  );
  z-index: 1;
}

/* Contenido encima del overlay */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}


/* ==============================
   TEXTO HERO
================================ */
.hero-text h1 { 
  color: var(--blanco); 
  font-size: clamp(3rem, 6vw, 3.2rem); 
  font-weight: 800; 
  margin-bottom: 12px; 
  line-height: 1.1;
  text-transform: none;
  font-family: var(--space);
}

.hero-text h2 { 
  color: var(--blanco); 
  font-size: clamp(2.5rem, 7vw, 1rem); 
  font-weight: 800; 
  margin-bottom: 12px; 
  line-height: 1.1;
  text-transform: none;
  font-family: var(--oregano);
}





.hero-text p {
  color: var(--grisc);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  font-family: var(--poppins);
}

.hero-text li {
  color: var(--grisc);
  font-size: clamp(0.8rem, 40vw, 1rem);
  font-family: var(--poppins);
}

.hero-text h3 {
  color: var(--blanco);
  font-family: var(--poppins);
  font-weight: 600;
  font-size: clamp(1.82rem, 4vw, 1rem); 
}






/* ==============================
   BOTÓNES HERO
================================ */
.hero .enviar:hover {
  color: var(--blanco);
  background: var(--azulo);
}

.hero .mail {
  border: none;
  color: var(--amarillo);
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero .mail:hover {
  color: var(--grisc);
}

.hero .wsp {
  border: none;
  color: var(--verde);
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero .wsp:hover {
  color: var(--grisc);
}



/* ==============================
   GLASS EFFECT TARJETAS / FORM
================================ */
.glass-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0rem solid var(--griso);
  border-radius: 500px 500px 500px 500px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.glass-box-s {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0rem solid var(--griso);
  border-radius:  20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  padding: 10px;
}

/* Textos */
.glass-box h3,
.glass-box h1,
.glass-box label {
  color: var(--amarillo);
  font-family: var(--ibm);
  font-weight: 600;
  font-size: clamp(2.5rem, 4vw, 1rem); 
}

.glass-box p {
  font-weight: 400;
  font-family: var(--ibm);
  color: var(--grisc);
  font-size: clamp(0.85rem, 4vw, 1rem); 
}





/* ==============================
   SECCION CONTACTO
================================ */


.contacto {
  position: relative;
  width: 100%;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), /* Degradado */
    url("../img/_formulario.jpg"); /* Imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  overflow: hidden;
}

.contacto h2 {
    color: var(--blanco);
  font-family: var(--poppins);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.contacto .enviar {
  background: var(--azul);
  border: none;
  color: var(--grisc);
  font-weight: 400;
  padding: 5px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.contacto .enviar:hover {
  background: var(--azulo);
}


.contacto-form {
  border: 0rem solid rgba(255, 255, 255, 0.2);
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0,0,0,0.2);
}

.contacto h3,
.contacto label {
  color: var(--grisc);
  font-family: var(--poppins);
  font-weight: 600;
  font-size: clamp(1.82rem, 4vw, 1rem); 
}


/* Inputs */
.contacto-form input,
.contacto-form textarea {
  background: var(--griso);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--grisc) !important;
  font-family: var(--poppins);
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  background: rgba(80, 80, 80, 0.9); /* un poco más claro */
  border: 1px solid var(--azul);   /* borde azul */
  box-shadow: 0 0 0 2px rgba(0, 153, 255, 0.15); /* leve resplandor */
  outline: none;
  color: var(--grisc);
}


.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: var(--grisc);
}

/* UL para info de contacto */
.lista-contacto {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-family: var(--poppins);
  font-size: 0.95rem;
  color: var(--grisc);
  line-height: 1.6;
}

.lista-contacto li {
  margin-bottom: 0.7rem;
 color: var(--blanco);
   font-family: var(--poppins);
}

.contacto span{
    font-size: 1.2rem;
  color: var(--blanco);
  font-family: var(--poppins);
}

/* =========================================
   CUSTOM FILE INPUT - DROPZONE MODERNA
========================================= */

.file-dropzone {
  width: 100%;
  padding: 10px;
  background: var(--griso);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  display: block;
  transition: all 0.3s ease;
  color: var(--grisc);
  font-family: var(--poppins);
}

.file-dropzone input[type="file"] {
  display: none; /* Oculta el botón Examinar */
}

.file-dropzone .file-text {
  font-size: 0.9rem;
  opacity: 0.8;
  font-family: var(--poppins);
}

/* Mostrar nombre del archivo seleccionado */
.file-dropzone.has-file {
  border-color: var(--azul);
  background: rgba(80, 80, 80, 0.85);
}

.file-dropzone.has-file .file-text {
  opacity: 1;
}

/* Hint */
.file-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  font-family: var(--poppins);
}


/* ==============
   PRECIOS
================== */
.ofrecemos {
        background: var(--degradado)
}

.ofrecemos-card {
    color: var(--oscuro);
    background: rgba(var(--blanco-rgb), 1);
    padding: 10px;
    border-radius: 0px;
    border: 1px solid rgba(var(--azul-rgb), 0.5);
    transition: 0.3s ease-in-out;
}

.card-title {
    font-weight: 700;
    color: var(--azul);
    font-size: 1.3rem;
}

.subtitulo {
    font-size: .9rem;
    color: var(--griso);
}

.lista-caracteristicas {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.lista-caracteristicas li {
    margin-bottom: 8px;
    font-size: .95rem;
    font-family: var(--poppins);
}

/* BOTONES */
.btn-cotizar {
  background: var(--azul);
  border: none;
  color: var(--grisc);
  font-weight: 400;
  padding: 5px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-cotizar:hover {
  color: var(--blanco);
  background: var(--azulo);
}

.btn-info-wpp {
  background: var(--verde);
  border: none;
  color: var(--grisc);
  font-weight: 400;
  padding: 5px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-info-wpp:hover {
  color: var(--blanco);
  background: var(--verdeo);
}


.ofrecemos h2 {
  color: var(--oscuro);
  font-family: var(--poppins);
  font-weight: 600;
  font-size: clamp(2.0rem, 4vw, 2.5rem); 
}
.ofrecemos h6 {
  color: var(--oscuro);
  font-family: var(--poppins);
  font-weight: 600;
}



.ofrecemos span{
    font-size: 1.8rem;
  color: var(--oscuro);
  font-family: var(--poppins);
}

/* ==============================
   INCLUYE (NUEVA VERSIÓN)
================================ */

.incluye {
    position: relative;
  width: 100%;
  background: 
    url("../img/_mockup.jpg"); /* Imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px;
  overflow: hidden;
}

.card-incluye {
    background: rgba(var(--azulo-rgb), 0.7);
    border-radius: 2rem;
    padding: 1rem;
    text-align: left;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 0 0 rgba(0,0,0,0.0);
    border: 1px solid transparent;
}

.card-incluye:hover {
    transform: translateY(-15px);
}

.card-incluye h3 {
    font-family: var(--space);
    font-weight: 400;
    color: var(--amarillo);
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    text-align: center;
}

.card-incluye p {
    font-family: var(--poppins);
    font-size: clamp(0.8rem, 3vw, 1rem);
    color: var(--grisc);
    line-height: 1.5;
    text-align: center;
}




/* ==============================
   HACEMOS - Estilos creativos
================================ */

.hacemos {
    background: var(--degradado);
}

.hacemos h2 {
  color: var(--oscuro);
  font-family: var(--poppins);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.resalta {
    color: var(--azul);
}

.card-title {
  color: var(--azul);
  font-family: var(--poppins);
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Texto */
.hacemos p {
  color: var(--oscuro);
  font-family: var(--poppins);
  line-height: 1.6;
}

/* Tarjetas */
.hacemos-card {
    background: var(--blanco);
    padding: 30px;
    border-radius: 0px;
    border: 1px solid rgba(var(--azul-rgb), 0.5);
    backdrop-filter: blur(4px);
    transition: 0.3s ease;
        color: #000;
}

/* ==============================
   PROYECTOS
================================ */

.proyectos {
  background: url("../img/_proyectos.jpg") center/cover no-repeat;
  position: relative;
}

.proyectos h2 {
  color: var(--blanco);
  font-family: var(--poppins);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

/* Tarjeta */
.proyecto-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
}

.proyecto-card.proyecto-lg {
  height: 380px;
}

.proyecto-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

/* Info visible */
.proyecto-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.1)
  );
  color: #fff;
  z-index: 2;
}

.proyecto-info h5 {
  margin: 6px 0 0;
  font-size: 1.1rem;
  font-family: var(--poppins);
  font-weight: 500;
}

/* Tipo */
.proyecto-tag {
  font-size: .7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .85;
}

/* Overlay detalle */
.proyecto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
  color: #fff;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 3;
}

.proyecto-overlay p {
  font-size: .9rem;
  margin-bottom: 10px;
}

.proyecto-overlay ul {
  padding-left: 18px;
  margin: 0;
}

.proyecto-overlay li {
  font-size: .85rem;
  margin-bottom: 5px;
}

/* Hover */
.proyecto-card:hover img {
  transform: scale(1.08);
}

.proyecto-card:hover .proyecto-overlay {
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .proyecto-overlay {
    opacity: 1;
    background: rgba(0,0,0,.75);
  }

  .proyecto-card:hover img {
    transform: none;
  }
}


/* BLOG INDEX*/
.blog {
    background: var(--degradado);
}

.blog h2 {
  color: var(--oscuro);
  font-family: var(--poppins);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.5rem);
}


/* ==============================
   ARTÍCULO DEL BLOG APIDATO
================================ */

.blog-articulo {
    color: var(--oscuro);
    font-family: "Poppins", sans-serif;
}

.blog-portada img {
    border: 3px solid var(--azul);
    border-radius: 12px;
}

.titulo-articulo {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--azul);
    text-align: center;
}

.subtitulo-articulo {
    font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
    color: var(--oscuro);
}

.contenido-articulo h2 {
    margin-top: 2rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--azul);
}

.contenido-articulo p,
.contenido-articulo li {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contenido-articulo ul {
    padding-left: 1.2rem;
}

.frase-final {
    font-style: italic;
    text-align: center;
    margin-top: 2rem;
    background: var(--amarillo);
    padding: 12px;
    border-radius: 8px;
    color: var(--oscuro);
}




/* ==============================
   BLOG
================================ */

.blog-card {
    background: var(--blanco);
    border-radius: 4px;
    padding: 1rem;
    border-top: 5px solid var(--primario);
    box-shadow: 0 5px 22px rgba(0,0,0,0.08);
    transition: .2s ease;
    font-family: var(--ibm);
}

.blog-card:hover {
    transform: translate(1px, -1px);
    background: var(--grisc); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}


.blog-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.blog-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--oscuro2);
     
}

.blog-excerpt {
    font-size: .9rem;
    color: var(--oscuro);
    margin-bottom: .5rem;
}

.blog-link {
    text-decoration: none;
    color: var(--verdeo);
}





/* ==============================
   LOGO
================================ */
.logo-p {
  max-height: 80px;
  width: auto;
}


/* ==============================
   RESPONSIVE
================================ */
@media (max-width: 991px) {

  .navbar-collapse {
    background: var(--azul);
    padding: 15px;
  }

  .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
    color: var(--grisc);
    font-size: 1.5rem;
  }

  .btn-contacto {
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 40px 15px;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }
}

/* ==============================
   BORDE SECCIONES
================================ */
.borde-sec {
    border: 1px solid var(--borde);
    padding: 2rem;
    border-radius: 1rem;
    background: var(--oscuro2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ==============================
   FOOTER
================================ */

.footer {
    background: var(--oscuro);
    color: var(--grisc);
    font-family: var(--poppins);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-title {
    color: var(--grisc);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    font-size: 0.9rem;
    opacity: 0.75;
    padding: 2px 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-icon {
    font-size: 1.3rem;
    color: var(--grisc);
    transition: 0.3s ease;
}

.footer-icon:hover {
    color: var(--azul); /* tu azul principal */
}

.footer-bottom {
    font-size: 0.85rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer a {
    color: var(--grisc);
    text-decoration: none;
}

.footer a:hover {
    color: var(--griso);
}

.icono {
    width: 100px;
}

/* ==============================
   BOTÓN WHATSAPP (MINIMAL)
================================ */
.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #25d366;
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    z-index: 999;
}

.btn-whatsapp:hover {
    opacity: 0.85;
    color: var(--grisc);
}

/* ==============================
   BOTÓN IR ARRIBA (MINIMAL)
================================ */
.btn-top {
    position: fixed;
    bottom: 78px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    color: var(--grisc);
    font-size: 28px;
    cursor: pointer;
    display: none;
    z-index: 998;
}

.btn-top:hover {
    opacity: 0.7;
}
