/* =========================================
   1. RESETEO Y CONFIGURACIÓN DEL CANVAS
   ========================================= */
body {
    background-color: #030508;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Evita scroll lateral por el ancho 100vw */
}

#webgate-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
}

/* =========================================
   2. MENÚ SUPERIOR FLOTANTE (CRISTAL)
   ========================================= */
.main-header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(10, 13, 20, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 30px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: upercase;
}

.logo-text span {
    color: #ffa3c4; /* Rosa claro Soltech */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #a0aec0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: #ffffff;
    color: #030508;
}

/* =========================================
   3. SECCIÓN HERO CON CAPA DE ENTORNO NEÓN (DIV)
   ========================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 40px 60px 40px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

/* Contenedor absoluto para aislar los destellos traseros */
.hero-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Permite clickear los botones superiores sin bloqueos */
}

/* Configuración base de los orbes difuminados */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.8;
}

/* Ráfaga Rosa Pastel (Izquierda Superior) */
.orb-pink {
    top: 15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 163, 196, 0.08) 0%, transparent 70%);
}

/* Ráfaga Cian Tecnológico (Derecha Inferior) */
.orb-cyan {
    bottom: -5%;
    right: -5%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.04) 0%, transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2; /* Siempre por encima de los orbes decorativos */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: #ffa3c4;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #ffa3c4;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 25px 0;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #ff2a85 70%, #00f3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    color: #a0aec0;
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 0 35px 0;
}

.hero-stack {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stack-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.75rem;
}

.stack-plus {
    color: #4a5568;
    font-weight: 700;
}

.btn-primary {
    display: inline-block;
    background: #ffffff;
    color: #030508;
    text-decoration: none;
    padding: 18px 38px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffa3c4, #00f3ff);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 243, 255, 0.3);
}

.arrow {
    display: inline-block;
    margin-left: 4px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) rotateZ(2deg);
}

.mosaic-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    position: relative;
    aspect-ratio: 4/5;
}

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.mosaic-card:hover img {
    transform: scale(1.05);
}

.card-1 {
    grid-row: span 2;
    aspect-ratio: auto;
    height: 480px;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(3, 5, 8, 0.9));
    font-weight: 700;
    font-size: 1rem;
}

/* =========================================
   4. SECCIÓN EXPERTISE (OCUPANDO TODO EL ANCHO)
   ========================================= */
.expertise-section {
    padding: 100px 0;
    width: 100vw; 
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    z-index: 1;
    box-sizing: border-box;
}

.expertise-intro {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 60px auto;
    padding: 0 60px;
    text-align: left;
    box-sizing: border-box;
}

.mini-badge {
    color: #a0aec0;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid rgba(160, 174, 192, 0.2);
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.expertise-title {
    font-size: 3.5rem;
    font-weight: 800;
    max-width: 1100px;
    margin-top: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 30%, #ff2a85 70%, #00f3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.expertise-carousel-wrapper {
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
    width: 100%;
}

.expertise-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-card:hover {
    transform: translateY(-8px);
}

.expertise-visual {
    position: relative;
    width: 100%;
    height: 340px; 
    border-radius: 24px;
    overflow: hidden;
    background: #090b11;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.4s ease;
}

.expertise-card:hover .expertise-visual {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.expertise-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.expertise-card:hover .expertise-visual img {
    opacity: 1;
    transform: scale(1.04);
}

.exp-number {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffa3c4;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.expertise-info {
    padding: 25px 5px 5px 5px;
    text-align: left;
}

.expertise-info h3.text-gradient {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
    color: #ffa3c4;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    display: block;
}

.expertise-info p {
    color: #a0aec0;
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 0;
}

/* =========================================
   5. CORTE DE SECCIÓN: FONDO DE SERVICIOS
   ========================================= */
.services-section-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(180deg, #07090e 0%, #0a0d14 50%, #07090e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    box-sizing: border-box;
}

.services-section-wrapper .tech-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
}

/* =========================================
   6. SECCIÓN SERVICIOS (CATÁLOGO)
   ========================================= */
.tech-section {
    background: transparent; 
    padding: 120px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tech-intro {
    text-align: center;
    margin-bottom: 50px;
}

.tech-pretitle {
    color: #ffa3c4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.tech-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.tech-subtitle {
    color: #a0aec0;
    font-size: 1.1rem;
    max-width: 700px;
    line-height: 1.6;
    margin: 20px auto 0 auto;
}

.tech-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: inherit;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-tab.active, .tech-tab:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #030508;
    box-shadow: 0px 8px 24px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    width: 100%;
    align-items: stretch;
    animation: fadeIn 0.4s ease-in-out;
}

.service-mosaic-card {
    display: flex;
    flex-direction: column;
    background: rgba(10, 13, 20, 0.3);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-mosaic-card:hover {
    transform: translateY(-6px);
}

.tech-img-box {
    width: 100%;
    height: 280px; 
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
    position: relative;
    background: #090b11;
}

.tech-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.mosaic-arrow-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(3, 5, 8, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.mosaic-arrow-btn:hover {
    background: #ffffff;
    color: #030508;
    transform: scale(1.05);
}

.tech-text {
    padding: 25px 15px 15px 5px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-item-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
    color: #ffffff;
}

.service-item-desc {
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.tech-footer {
    margin-top: 80px;
    text-align: center;
}

.btn-soltech {
    display: inline-block;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px; 
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-soltech:hover {
    background: #ffffff;
    color: #030508;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* =========================================
   7. SECCIÓN CASOS DE USO (2 COLUMNAS ASIMÉTRICAS)
   ========================================= */
.cases-section {
    background: transparent;
    padding: 120px 40px;
    position: relative;
    z-index: 1;
}

.cases-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; 
    gap: 80px;
    align-items: start;
}

.cases-sticky-content {
    position: sticky;
    top: 140px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cases-main-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 25px 0 35px 0;
    letter-spacing: -1.5px;
}

.btn-cases {
    display: inline-block;
    padding: 16px 32px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-cases:hover {
    background: #ffffff;
    color: #030508;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.cases-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.case-item {
    display: flex;
    gap: 30px;
    padding: 35px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    align-items: flex-start;
}

.cases-list .case-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-number {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffa3c4; 
    font-family: inherit;
    padding-top: 6px;
}

.case-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.case-body h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.case-body p {
    color: #a0aec0;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.case-sublist {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-sublist li {
    color: #ffffff;
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
}

.case-sublist li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: -2px;
    color: #ffa3c4;
    font-size: 1.2rem;
    font-weight: 700;
}

/* =========================================
   8. SECCIÓN FINAL DE CONTACTO (CTA CARD)
   ========================================= */
.final-contact-section {
    background: transparent;
    padding: 100px 40px 140px 40px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.contact-cta-card {
    width: 100%;
    max-width: 1200px;
    background: #fff0f5; /* Sincronizado al rosa pastel suave corporativo */
    border-radius: 32px; 
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.contact-badge {
    background: #ffffff;
    color: #030508;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.badge-dot-pink {
    width: 6px;
    height: 6px;
    background-color: #ffa3c4; 
    border-radius: 50%;
}

.contact-main-title {
    color: #0c1017;
    font-size: 4.2rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: -2px;
    line-height: 1.1;
}

.contact-subtitle {
    color: #4a5568;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 40px 0;
    letter-spacing: -0.3px;
}

.booking-bar {
    background: #111622; 
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 16px 20px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 620px;
    box-sizing: border-box;
    gap: 20px;
}

.booking-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #111622;
}

.avatar-img:not(:first-child) {
    margin-left: -15px;
}

.booking-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.booking-title {
    color: #a0aec0;
    font-size: 0.85rem;
    font-weight: 600;
}

.booking-subtitle {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 2px;
}

.btn-booking {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px; 
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-booking:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #111622;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* =========================================
   9. SECCIÓN PIE DE PÁGINA (MAIN FOOTER)
   ========================================= */
.main-footer {
    background: transparent;
    padding: 0 40px 40px 40px;
    position: relative;
    z-index: 1;
}

.main-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #11151e; 
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px; 
    padding: 70px 50px 30px 50px;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1.1fr 0.9fr;
    gap: 50px;
    width: 100%;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list li {
    color: #a0aec0; 
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.footer-links-list a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links-list a:hover {
    color: #ffffff; 
}

.footer-links-list.contact-info li {
    color: #ffffff;
}

.footer-links-list.contact-info a {
    color: #ffffff;
    font-weight: 700;
}

.footer-text-geo {
    color: #a0aec0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.geo-country {
    color: rgba(255, 255, 255, 0.4); 
}

.footer-bottom-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    box-sizing: border-box;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-legal-links {
    display: flex;
    gap: 25px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.25s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

/* =========================================
   10. MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 1200px) {
    .hero-title { font-size: 4.5rem; }
}

@media (max-width: 1024px) {
    .expertise-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .tech-title { font-size: 2.5rem; }
    .cases-container { grid-template-columns: 1fr; gap: 50px; }
    .cases-sticky-content { position: relative; top: 0; }
    .cases-main-title { font-size: 2.8rem; margin: 20px 0 25px 0; }
    .contact-main-title { font-size: 3.2rem; }
    .contact-subtitle { font-size: 1.15rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .main-header { display: none; } 
    .hero-section { padding: 100px 20px 40px 20px; }
    .hero-title { font-size: 2.8rem; }
    .hero-description { font-size: 1.1rem; }
    .mosaic-grid { transform: none; } 
    .card-1 { height: 350px; }

    /* Ocultamos los orbes de luz en smartphones para maximizar la velocidad de rendering */
    .hero-glow-bg { display: none; }

    .expertise-section { padding: 60px 0; width: 100%; margin: 0; left: 0; }
    .expertise-intro { padding: 0 20px; }
    .expertise-carousel-wrapper { padding: 0 20px; }
    .expertise-grid, .tech-grid { grid-template-columns: 1fr; gap: 40px; }
    .expertise-visual { height: 260px; }
    
    .tech-section { padding: 80px 20px; }
    .cases-section { padding: 80px 20px; }
    .cases-main-title { font-size: 2.4rem; }
    .case-item { gap: 20px; padding: 25px 0; }
    .case-body h3 { font-size: 1.5rem; }
    .case-body p { font-size: 0.95rem; }

    .final-contact-section { padding: 60px 20px 100px 20px; }
    .contact-cta-card { padding: 45px 20px; border-radius: 24px; }
    .contact-main-title { font-size: 2.5rem; letter-spacing: -1px; }
    .contact-subtitle { font-size: 1rem; margin-bottom: 30px; }
    .booking-bar { flex-direction: column; align-items: center; text-align: center; padding: 25px 20px; gap: 25px; }
    .booking-profile { flex-direction: column; gap: 12px; }
    .booking-text { text-align: center; }
    .btn-booking { width: 100%; justify-content: center; }

    .main-footer { padding: 0 20px 20px 20px; }
    .main-footer .footer-container { padding: 50px 30px 30px 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; margin-bottom: 45px; }
    .footer-bottom-bar { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
    .footer-legal-links { flex-direction: column; gap: 12px; }
}

/* Estilos aplicados a los badges con la forma de Casos de Uso */
.mini-badge.tech-badge-magenta {
    color: #ff2a85;
    border: 1px solid rgba(255, 42, 133, 0.25);
    background: rgba(255, 42, 133, 0.02);
}

.mini-badge.tech-badge-cyan {
    color: #00f3ff;
    border: 1px solid rgba(0, 243, 255, 0.25);
    background: rgba(0, 243, 255, 0.02);
}