/*
Theme Name: P1

Theme URI: #
Author: Seo#
Author URI: 
Description: Plantilla#

*/

:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #c5a059; /* Dorado */
    --bck1: url(https://seoconsultingperu.com/productos/qbit/wp-content/uploads/2026/03/fondo.jpg);
    --bg-dark: #000000;
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --input-bg: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-muted: #b0b0b0;
    --wa-color: #25d366;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}
*{padding: 0px; margin: 0px;}

body.light-mode {
    --bg-color: #f4f4f4;
    --text-color: #1a1a1a;
    --accent-color: #8b6e3d;

}
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;

}

body {
    
    color: var(--text-color);
    transition: 0.3s;
    font-family: sans-serif;
    --font1: "Montserrat", sans-serif;
    --font2: "Space Grotesk", sans-serif;
    font-family: var(--font2);

}
.body{background: var(--bck1); background-position: top; background-size: cover;  background-attachment: fixed !important;}
.grid_4{display: grid;
    grid-template-columns: repeat(4, 3fr);
    grid-column-gap: 22px;
    grid-row-gap: 20px;}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-header {
  padding: 20px 0; transition: all 0.4s ease-in-out; background: transparent;
}
.fixed{width: 100%; position: fixed; top: 0px; background: radial-gradient(black, transparent); backdrop-filter: blur(12px); border-radius: 0px 0px 20px 20px; padding: 10px 0px; z-index: 666;}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-family: var(--font1);
  font-weight: medium; font-size: 16px;
}
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

/* Elemento padre del submenú */
.has-submenu {
  position: relative; /* Necesario para posicionar el submenú */
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-family: var(--font1);
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  transition: opacity 0.3s;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* === Estilos del Submenú Glassmorphism === */
.submenu {
  position: absolute;
  top: 65px; /* Justo debajo del item padre */
  left: 0;
  min-width: 220px;
  display: flex;
  flex-direction: column !important; /* Forzar lista vertical */
  gap: 0 !important;
  
  /* Efecto Glassmorphism */
  background: var(--glass-bg);
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  /* Animación de entrada */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

/* Mostrar al hacer hover */
.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Items del submenú */
.submenu li a {
  padding: 12px 15px;
  font-size: 14px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.submenu li a:hover {
  background: var(--glass-hover);
  opacity: 1;
}

/* Pequeño ajuste para la flecha */
.arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

.has-submenu:hover .arrow {
  transform: rotate(180deg);
}

   /* Pantalla de Carga Principal */
.qbit-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center; align-items: center;
    z-index: 2000000;
    overflow: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* El Núcleo Central: Contenedor y Brillo */
.qbit-matrix-core {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 25px;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 255, 0.2); /* Borde sutil */
    box-shadow: inset 0 0 20px rgba(0, 242, 255, 0.1);
    display: flex;
    justify-content: center; align-items: center;
    overflow: hidden; /* Corta el patrón y la máscara */
}

/* Patrón de fondo (Datos Binarios) */
.matrix-pattern {
    position: absolute;
    width: 150%; height: 150%;
    background-image: repeating-linear-gradient(45deg, rgba(0, 242, 255, 0.2), rgba(0, 242, 255, 0.2) 1px, transparent 1px, transparent 6px);
    opacity: 0.7;
    animation: patternMove 8s linear infinite;
    z-index: 1; /* Fondo */
}

@keyframes patternMove {
    from { transform: translate(-25%, -25%); }
    to { transform: translate(0%, 0%); }
}

/* La Máscara de Revelado (Oculta el patrón inicialmente) */
.mask {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 0%; /* Crecerá de 0% a 100% de abajo hacia arriba */
    background-color: #000; /* Del mismo color del fondo */
    z-index: 2; /* Encima del patrón, debajo del texto */
}

/* El Porcentaje Central (Estático, Brillo Fuerte) */
.matrix-percent {
    position: relative;
    font-family: 'Courier New', monospace; /* Fuente terminal */
    font-size: 2.2rem;
    font-weight: bold;
    color: #fff;
    z-index: 3; /* Encima de todo */
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.prefix {
    color: #fff; /* Cian sutil para el / */
    font-size: 1.8rem;

}

.num {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(0, 242, 255, 0.5);
}

/* Texto de estado */
.loader-status {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 215, 0, 0.8); /* Oro QBIT */
}


.hero{text-align: center; width:762px; margin: 0 auto; max-width: 100%; padding: 70px 0px; scroll-snap-type: y mandatory; /* "mandatory" fuerza el ajuste siempre */}
.hero h1, .title h3, .content h1, h2.title{
    /* Definimos el degradado (puedes ajustar los tonos de dorado) */
  background: linear-gradient(
    to bottom, 
    #e3c37d 0%,    /* Dorado claro arriba */
    #c49b4d 50%,   /* Tono medio */
    #9c7a33 100%   /* Dorado oscuro abajo */
  );

  /* Magia: El fondo se recorta a la forma de las letras */
  -webkit-background-clip: text;
  background-clip: text;

  /* Hacemos el color del texto transparente para que se vea el fondo */
  color: transparent;

  /* Opcional: Estilos para que se parezca más a la imagen */
  font-family: var(--font1);
  font-weight:  500;
  font-size: 50px; text-transform: uppercase;
  line-height: 1.2;
}
.content h1{margin-bottom: 30px;}
.hero h1 span{font-size: 32px; display: block;}
.title h3{font-size: 40px}
.hero p, .title p{font: 19px var(--font1); color: var(--text-color); padding: 27px 0px 37px;}

.btn-wp{padding: 10px 20px; border: 1px solid #e3c37d; color: #e3c37d;font: 14px var(--font1);  text-decoration: none; transition: all 0.4s ease-in-out;}
.btn-wp:hover{transform: translatey(-5px); background: #e3c37d; color: #000;}
.title p{padding: 10px 0px 30px;}


.hero a.btn{

  background: linear-gradient(146deg,rgba(171, 137, 94, 1) 10%, rgba(241, 216, 136, 1) 54%, rgba(165, 118, 54, 1) 90%);

  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    font: 500 18px var(--font1);
  color: #000;
  padding: 15px 30px;text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;display: inline-block;
}

a.btn:hover {
  transform: scale(1.05); /* Efecto leve al pasar el mouse */
}

.services{padding: 70px 0px; }

.thumb-services{background: #000;}.thumb-services{text-decoration: none}
.box{transition: all 0.4s ease-in-out}
.box:hover{transform: scale(1.1) !important; display: inline-block;}
.txt-services{background: #000; padding: 10px 25px; box-sizing: border-box; padding-bottom: 20px;}
.txt-services h2{font: 700 15px var(--font1); background: linear-gradient(
    to bottom, 
    #fff 0%,    /* Dorado claro arriba */
    #c49b4d 50%,   /* Tono medio */
    #9c7a33 100%   /* Dorado oscuro abajo */
  ); /* Magia: El fondo se recorta a la forma de las letras */
  -webkit-background-clip: text;
  background-clip: text;
  /* Hacemos el color del texto transparente para que se vea el fondo */
  color: transparent; text-align: center; padding: 10px 0px 19px;}
  .txt-services li a{color: #fff; text-decoration: none; font: 500 13px var(--font1); padding: 5px 0px; display: inline-block;}
.txt-services ul{display:none;}
  .txt-services li{list-style: none;}
  .txt-services li a::before{content: "\ea6e";    font-family: 'remixicon' !important;font-style: normal;
    -webkit-font-smoothing: antialiased; color: #f1d888; font: 18px var(--font1); display: inline-block;}
.owl-carousel .owl-stage-outer{padding: 0px 1px; box-sizing: border-box;}
.txt-services p{color: #fff; font-size: 13px; padding-bottom: 10px; text-align: center;}

/* 1. EL CONTENEDOR PRINCIPAL DEL FONDO */
  .animated-gradient-container {
    position:fixed;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: -2;
    top: 40%;
  }

  /* 2. LA CAPA DE DEGRADADOS (CIRCULOS) */
  .gradients {
    position: absolute;
    width: 100%;
    height: 100%;
    
    /* DEFINICIÓN DE DEGRADADOS: Usamos opacidades más bajas (0.6 - 0.7) */
    background-image: 
     radial-gradient(circle at 10% 10%, rgb(198 255 0 / 0%) 0%, transparent 40%), /* Cian */ radial-gradient(circle at 90% 90%, rgb(28 0 71 / 41%) 0%, transparent 40%), /* Púrpura */ radial-gradient(circle at 50% 50%, rgb(5 0 51 / 19%) 0%, transparent 50%), /* Azul suave */ radial-gradient(circle at 30% 80%, rgb(4 0 164 / 7%) 0%, transparent 40%);
    /* ANIMACIÓN DE MOVIMIENTO Y EXPANSIÓN */
    animation: flowAndBreathe 5s ease-in-out infinite alternate;
    
    /* EL TRUCO DEL DESENFOQUE: Lo aumentamos significativamente */
    filter: blur(40px); /* Esto rompe los bordes y las bandas */
  }

  /* 3. LA CAPA DE RUIDO (TEXTURA DE GRANO) - Súper Importante */
  /* Esta capa suaviza las transiciones de color */
  .loc{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
  }


  .banner-slider{background-size: cover !important; background-position: center; width: 100%; height: 500px; position: relative;}
  .banner-slider::after{content: ""; display: block; position: absolute; bottom: 0; left: 0; width: 100%; height: 30%;}

  /* Contenedor Principal con Gradiente de fondo */
.hero-section {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    /* Simulación del degradado de las esquinas */
    background: 
        radial-gradient(circle at bottom left, rgba(46, 139, 87, 0.15), transparent 40%),
        radial-gradient(circle at top right, rgba(75, 0, 130, 0.2), transparent 40%),
        linear-gradient(135deg, #1e2024 0%, #121418 100%);
}

/* Overlay para la imagen de fondo (Circuitos/Chip) */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     /* Imagen de stock similar */
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.35;
    z-index: 1;
	background-attachment: fixed;
}

.content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}


/* Botón con efecto Glassmorphism */
.cta-button {
    display: inline-block;
    padding: 16px 45px;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Elementos decorativos (simulando los cuadros del fondo) */
.grid-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 300px;
        background-size: 100px 100px;
        z-index: 1;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(5 0 28 / 30%) 56%, rgb(0 0 0 / 69%) 100%);
    }


    .image-side{width: 100%; height: 580px;}
        /* Imagen con bordes redondeados */
.image-side img {
    width: 100%;
    height: 100%; object-fit: cover; object-position: center;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: block;
}

/* Título */
.content-side h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.1; color: var(--bg-color);
}
.accordeon{padding: 70px 0px;}
.accordeon .container{display: flex; gap: 78px; align-items: center;}
/* Acordeón */
.accordion-item {
    border-top: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    padding: 11px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;color: #000;
    cursor: pointer;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bg-color);
    transition: color 0.3s ease;
}

.accordion-header:hover {
    opacity: 0.7;
}

/* Icono de + / - */
.icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--bg-color);
    border-radius: 50%;
    position: relative;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.icon::before, .icon::after {
    content: '';
    position: absolute;
    background-color: var(--bg-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Línea horizontal */
.icon::before { width: 14px; height: 1.5px; }
/* Línea vertical */
.icon::after { width: 1.5px; height: 14px; transition: transform 0.3s ease; }

.active .icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* Contenido oculto */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    padding-bottom: 25px;
    margin: 0;
    color: #000;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 850px) {
    .container { grid-template-columns: 1fr; gap: 40px; }
    .content-side h2 { font-size: 2.2rem; }
}


.solve-section {
    width: 100%;
    min-height: 100vh;
    display: flex; 
    align-items: center;
    justify-content: center;
    padding: 110px 20px;
    box-sizing: border-box;
}

/* Sub-contenedor con Grid para alinear imágenes y texto */
.section-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* === Sección de Imágenes Independientes === */
.image-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    height: 500px; /* Altura controlada para el collage */
}
.image-collage div{transition: all 0.4s ease-in-out;}
.image-collage div:hover{ transform: translateY(-10px)}

/* Imagen Grande (Hombre trabajando) */
.image-large {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
   
    background-size: cover !important;
    background-position: center !important;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;     
    justify-content: center;
    align-items: center;
}

/* Imagen Mediana (Chips/Circuito) */
.image-medium {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
   background-size: cover !important;
    background-position: center !important;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Imagen Pequeña (Logos de IA) */
.image-small {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
     background-size: cover !important;
    background-position: center !important;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);position: relative;display: flex;       /* Para centrar el círculo fácilmente */
    justify-content: center;align-items: center;
    padding: 30px; box-sizing: border-box;
}



/* Estilos para el nuevo div de fondo */
.image-small-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover !important;
    background-position: center !important;
    z-index: 1;
    transition: filter 0.3s ease, transform 0.3s ease;border-radius: 20px;filter: blur(2px);
}


.image-small:hover .image-small-background {
    filter: blur(10px);
}

/* El círculo permanece por encima */
.image-small .circle {
    position: relative;
    z-index: 2; font-size: 50px; text-shadow: 0px 10px 10px #000;
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: #9d0000;border-radius: 50%;
   box-shadow: 0px 0px 10px 0px #000;
}
.image-small .circle:hover{transform: scale(0.9);}


.video-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Contenedor del iframe para que sea responsivo */
.video-popup-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
}

.video-popup-content iframe {
    width: 100%;
    height: 100%;
}
#video-container{height: 70vh;}
/* Botón de cerrar */
.video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* === Sección de Texto === */
.content-wrapper {
    max-width: 500px;
}

h2.title {
    font-size: 3.1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

p.description, .content-wrapper p{
    font-size: 1.03rem;
    color: #111111;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 400;
}

p.description:last-of-type, .content-wrapper p:last-of-type{
    margin-bottom: 40px;
}

/* Botón con efecto Glassmorphism */
.solve-section .cta-button {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card {
  position: relative;
  width: 250px;
  height: 250px;
  /* Fondo inicial */
  background: linear-gradient(128deg, rgb(255 255 255 / 40%) 4%, rgba(27, 27, 27, 0) 56%, rgba(0, 0, 0, 0) 100%);
  border-radius: 20px;
  padding: 1px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease; /* Suavizamos el movimiento */
  z-index: 1;
}

/* Creamos el fondo del hover en una capa superior pero oculta */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(128deg, rgb(227 195 125) 100%, rgba(27, 27, 27, 0) 56%, rgba(0, 0, 0, 0) 100%);
  opacity: 0; /* Invisible al inicio */
  transition: opacity 0.4s ease; /* Aquí ocurre la magia del color */
  z-index: -1; /* Se mantiene detrás del contenido (texto/número) */
}

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

.card:hover::before {
  opacity: 1; /* Aparece suavemente el nuevo gradiente */
}

.card:hover .number {
  color: #fff;
  transition: color 0.3s ease;
}

/* El pseudo-elemento que crea el borde de color */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  padding: 2px; /* Grosor del borde */
  background: linear-gradient(135deg, #e3c37d 0%, transparent 40%, transparent 60%, #9c7a33 100%);;
  
  /* Mascarilla mágica: dibuja solo en el área del borde */
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.card-content {
  padding: 2rem;
  z-index: 1;
}

.number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #e3c37d; /* Color esmeralda */
  margin-bottom: 0.5rem;
}

.card-content .description {
  color: #fff;
  font-family: var(--font1);
  line-height: 25px; font-weight: 700;
  font-size: 1.3rem;
}
.indicadores {
  position: relative;
  padding: 120px 0px;
  overflow: hidden;
  
  /* El fondo fijo va AQUÍ directamente */
  background-image: url('img/fondo.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: top;
}

/* Esta capa servirá ÚNICAMENTE para el desenfoque */
.indicadores::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* El truco del Glassmorphism */
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(8px); /* Soporte para Safari */
  
  /* Opcional: Un tinte oscuro para legibilidad */
  background-color: rgba(0, 0, 0, 0.2); 
  
  z-index: 1; 
}

/* ¡IMPORTANTE! Tus textos/números deben estar por encima de la capa de blur */
.indicadores .container, 
.indicadores .card, 
.indicadores div {
  position: relative;
  z-index: 2; 
}

.hero-section1 {
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}



.tagline {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.main-title {
  font-size: 82px;
  font-weight: 900;
  margin-top: -10px;
  letter-spacing: -2px;
  text-transform: uppercase;
  
  /* Aplicando tus colores dorados al texto */
  background: linear-gradient(90deg, #e3c37d 0%, #c49b4d 50%, #9c7a33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section1  .description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  margin-top: 30px;
  font-weight: 300;
  color: #e0e0e0;
}

/* La línea delgada del fondo con degradado */
.gradient-line {
  height: 2px;
  width: 100%;
  margin-top: 10px; margin-bottom: 50px;
  background: linear-gradient(90deg, #e3c37d 0%, #c49b4d 50%, #9c7a33 100%);
  opacity: 0.8;
}
.main-footer {
  background: radial-gradient(circle at 10% 10%, rgb(0 0 0) 0%, #000000e3 40%), /* Cian */ radial-gradient(circle at 90% 90%, rgb(28 0 71 / 41%) 0%, transparent 40%), /* Púrpura */ radial-gradient(circle at 50% 50%, rgb(5 0 51 / 19%) 0%, transparent 50%), /* Azul suave */ radial-gradient(circle at 30% 80%, rgb(4 0 164 / 7%) 0%, transparent 40%);
  color: var(--text-main);
  padding: 60px 20px;
  font-family: 'Inter', sans-serif; /* O una similar como Helvetica */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Distribución Superior */
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.newsletter h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.subscribe-form {
  display: flex;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 5px;
  width: 100%;
  max-width: 450px; box-sizing: border-box;
}

.subscribe-form input {
  background: transparent;
  border: none;
  padding: 12px 20px;
  color: white;
  flex-grow: 1;
  outline: none;
}

.subscribe-form button {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 10px 30px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.subscribe-form button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Ubicaciones */
.locations {
  display: flex;
  gap: 50px;
}

.location-item h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.location-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Social e Inferior */
.footer-social, .header-social{
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 1.5rem;
  margin-bottom: 40px;
}
.header-social{font-size: 0.9rem; gap: 7px; margin-bottom: -10px; transform: translatey(-30px)}

.footer-social a, .header-social a{
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: 0.3s;
}

.footer-social a:hover, .header-social a:hover { opacity: 1; }




.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
}




.footer-bottom nav a {
  color: var(--text-main);
  text-decoration: underline;
  font-size: 0.8rem;
  margin: 0 10px;
  opacity: 0.7;
}
.footer-bottom p{ color: var(--text-main);
  font-size: 0.8rem; margin: 15px 10px;opacity: 0.9;
}
.our-work {
  background-color: var(--bg-black);
  color: var(--text-white);
  padding: 80px 20px;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  font-weight: 700; color: var(--bg-color);
}
.brand-logo{font: 700 30px var(--font1); text-transform: uppercase; letter-spacing: 5px;}
.logo{display: inline-block;}


/* Contenedor Principal con Grid */
.work-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr; /* Columna izquierda estrecha, derecha ancha */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Elementos comunes de las tarjetas */
.work-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: #111;
  transition: transform 0.4s ease;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}

.work-item:hover {
  transform: translateY(-5px);
}

/* Columna Derecha (Estructura interna) */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 300px; /* Altura de las tarjetas superiores */
}

.bottom-card {
  height: 350px; /* Altura de la tarjeta ancha inferior */
}

/* Texto Vertical */
.vertical-text {
  position: absolute;
  left: -100px;
  top: 50%;
  transform: rotate(-90deg) translateY(-50%);
  font-size: 0.7rem;
  letter-spacing: 4px;
  opacity: 0.6;
  white-space: nowrap;
}

/* Estilos de Overlay y Botones */
.card-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.arrow-btn:hover {
  background: white;
  color: black;
}


.contact-section {
  padding: 10px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Fondo con auras similares a la imagen */
  background: radial-gradient(circle at bottom left, #0d1a10 0%, #000 50%),
              radial-gradient(circle at bottom right, #100d1a 0%, #000 50%);
}

/* Encabezado Principal */
.contact-header {
  width: 100%;
  max-width: 900px;
  margin-bottom: 40px;
}

.contact-header h1 {
  color: var(--text-white);
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.gradient-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #f0f351 0%, #3fe9e0 50%, #7f3fe9 100%);
}

/* Contenedor del Formulario (Glassmorphism) */
.form-container {
  width: 100%;
  max-width: 900px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 60px 40px;
  box-sizing: border-box;
}

.form-content {
  text-align: center;
  color: var(--text-white);
}

.form-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.form-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

/* Cuadrícula del Formulario */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-group label {
  font-size: 0.9rem;
  font-weight: 500;
}

.field-group input {
  background: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 15px;
  color: white;
  outline: none;
  transition: 0.3s;
}

.field-group input:focus {
  border-color: var(--glass-border);
  background: rgba(255, 255, 255, 0.12);
}





.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.glass-btn {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 12px 25px 12px 45px; /* Más padding a la izquierda para el ícono */
  border-radius: 50px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* El ícono que flota "fuera" del botón */
.icon-box {
  position: absolute;
  left: -15px; /* Lo sacamos del borde izquierdo */
  background: var(--wa-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.4s ease;
  animation: pulse-wa 2s infinite;
}

.btn-text {
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* --- Animaciones e Interacción --- */

/* Efecto hover: El botón se expande y el ícono gira */
.glass-btn:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

.glass-btn:hover .icon-box {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 0 25px var(--wa-color);
}

/* Pulso sutil para llamar la atención */
@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive para móvil */
@media (max-width: 480px) {
  .btn-text {
    display: none; /* En móvil dejamos solo el ícono para no estorbar */
  }
  .glass-btn {
    padding: 25px;
    width: 50px;
    height: 50px;
    justify-content: center;
  }
  .icon-box {
    left: 0;
  }
}
/* === RESPONSIVE === */
@media (max-width: 768px) {
  .contact-header h1 { font-size: 2.5rem; }
  .form-content h2 { font-size: 2rem; }
  
  .form-grid {
    grid-template-columns: 1fr; /* Una sola columna en móvil */
  }

  .form-container {
    padding: 40px 20px;
  }
}


/* === RESPONSIVE === */
@media (max-width: 992px) {
  .work-grid {
    grid-template-columns: 1fr; /* Una sola columna principal */
  }
  
  .vertical-text { display: none; }
}

@media (max-width: 600px) {
  .top-row {
    grid-template-columns: 1fr; /* Las dos de arriba se apilan */
    height: auto;
  }
  
  .work-item {
    height: 300px; /* Altura fija para consistencia en móvil */
  }

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

    
  /* DEFINICIÓN DE LA ANIMACIÓN */
  @keyframes flowAndBreathe {
    0% {
      /* Posición y tamaño inicial */
      background-position: 10% 10%, 90% 90%, 50% 50%, 30% 80%;
      background-size: 80% 80%, 80% 80%, 80% 80%, 80% 80%;
    }
    50% {
      /* Se mueven y se expanden (la "bola" se amplía) */
      background-position: 90% 20%, 20% 80%, 70% 30%, 60% 70%;
      background-size: 100% 100%, 100% 100%, 90% 90%, 110% 110%;
    }
    100% {
      /* Posición y tamaño final (igual a 0% para el alternate) */
      background-position: 10% 10%, 90% 90%, 50% 50%, 30% 80%;
      background-size: 80% 80%, 80% 80%, 80% 80%, 80% 80%;
    }

  }

/* Responsividad para móviles */
@media (max-width: 900px) {
    .section-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .image-collage {
        order: -1; /* Mueve las imágenes arriba */
        height: 400px;
    }

    .content-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }

    h2.title {
        font-size: 2.5rem;
    }
    .hero-section h1{font-size: 25px;}
    .hero-section{height: auto; padding: 224px 0px 60px;}
    .solve-section .section-container{text-align: justify;}

    .image-collage {
        display: flex; /* Cambiamos a flex para un apilamiento más sencillo */
        flex-direction: column;
        height: auto; /* Quitamos la altura fija de 500px */
        gap: 15px;
    }

    .image-large, 
    .image-medium, 
    .image-small {
        /* Reseteamos el comportamiento de grid */
        grid-column: auto !important;
        grid-row: auto !important;
        
        /* Definimos una altura mínima para que las imágenes sean visibles */
        min-height: 250px; 
        width: 100%;
    }

    /* Opcional: Si quieres que la imagen principal sea más alta que las otras */
    .image-large {
        min-height: 350px;
    }
    .grid_4{grid-template-columns: repeat(2, 3fr); }
    
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top { flex-direction: column; text-align: center; }
  .subscribe-form { margin: 0 auto; }
  .locations { justify-content: center; flex-direction: column; gap: 20px; }
  .main-title{font-size: 49px;}.tagline{font-size: 29px;}
  .grid_4{grid-template-columns: repeat(2, 3fr); }
  .card{width: 100%; box-sizing: border-box; padding: 20px 10px; height: auto;}
  .card-content .description{font-size: 15px;}
  .card .number{font-size: 27px;}.card-content{padding: 10px;}
  .accordeon .container{display: block;}
  .image-side{margin-bottom: 30px;}
  .content-side h2{font-size: 29px;}.accordeon .content-side{padding: 30px 0px;}
}



@media (max-width: 768px) {
  .main-header .container {
    flex-direction: column;
    gap: 15px;
  }
	.nav-menu a {font-size: 11px;}
  .hero h1, .title h3{font-size: 20px;}
  .hero h1 span{font-size: 16px;}
	
	.hero a.btn{    font: 500 16px var(--font1); color: #000; padding: 11px 16px;}
   .services {
        display: flex;
        flex-direction: column;
    }
	.fixed .logo img{height: 40px;}
	.fixed .btn-wp{display: none;}
}

