/* styles.css */

/* =================================================================== */
/* === ÍNDICE ======================================================== */
/* =================================================================== */

/*
1. KEYFRAMES (ANIMACIONES)
2. ESTILOS GLOBALES Y BASE
3. HEADERS Y NAVEGACIÓN PRINCIPAL
4. MENÚ OVERLAY
5. SECCIONES DE PÁGINA (ESTILOS COMUNES)
6. COMPONENTES DE SECCIÓN (ESPECÍFICOS)
7. ELEMENTOS DE UI (FIJOS Y FLOTANTES)
8. ESTILOS DE PÁGINAS ESPECÍFICAS
9. FOOTER
10. RESPONSIVE MEDIA QUERIES
11. ESTILOS PÁGINA INFOPRENEURS
12. ESTILOS PÁGINA TECHNOLOGY (ADVANCED)
13. ESTILOS PÁGINA DE CONTACTO
14. NAVEGACIÓN RÁPIDA DE SERVICIOS
*/

/* =================================================================== */
/* === 1. KEYFRAMES (ANIMACIONES) ==================================== */
/* =================================================================== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce-down {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
@keyframes draw-border {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes subtle-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(253, 220, 0, 0.2), 0 0 20px rgba(253, 220, 0, 0.1); }
    50% { box-shadow: 0 0 20px rgba(253, 220, 0, 0.4), 0 0 30px rgba(253, 220, 0, 0.2); }
}
@keyframes ken-burns {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes scrollIcons {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* =================================================================== */
/* === 2. ESTILOS GLOBALES Y BASE ==================================== */
/* =================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #e0e0e0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

/* --- Animaciones de aparición en scroll --- */
[data-reveal],
.stagger-child {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

[data-reveal].is-visible,
.stagger-child.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =================================================================== */
/* === 3. HEADERS Y NAVEGACIÓN PRINCIPAL ============================= */
/* =================================================================== */

/* --- Header Fijo (Aparece en scroll) --- */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}
.sticky-header.visible {
    transform: translateY(0);
}
.sticky-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.sticky-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
}
.sticky-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fddc00;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.sticky-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Header Principal (Visible en Hero) --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: opacity 0.4s ease-in-out;
}
.main-header.hidden {
    opacity: 0;
    pointer-events: none;
}

/* --- Logo --- */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.8rem;
}
.logo img {
    height: 40px;
    width: auto;
    display: block;
}
.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}
.logo-main-text {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo-sub-text {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    padding-bottom: 4px;
}
.logo-sub-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #8257E6, #1ED760, #fddc00);
    background-size: 200% 200%;
    animation: gradient-flow 4s ease infinite;
}

/* --- Iconos del Header --- */
.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.icon-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.icon-container:hover {
    transform: scale(1.1);
    background-color: rgba(50, 50, 50, 0.7);
}
.icon-container .icon {
    font-size: 1.2rem;
    color: #fff;
}
.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(44, 44, 44, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
#language-switcher.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.language-dropdown a img {
    width: 28px;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.2s ease;
}
.language-dropdown a:hover img {
    transform: scale(1.15);
}


/* =================================================================== */
/* === 4. MENÚ OVERLAY =============================================== */
/* =================================================================== */

.menu-button {
    display: flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    padding-left: 1.2rem;
    padding-right: 0.6rem;
    z-index: 1001;
    overflow: hidden;
}
body.menu-open .menu-button {
    z-index: 2001;
}
.menu-text {
    padding-right: 0.8rem;
    font-weight: bold;
    font-size: 0.9rem;
}
.menu-toggle {
    background-color: #fddc00;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}
body.menu-open .menu-toggle span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-of-type(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.97), rgba(44, 44, 44, 0.97));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
body.menu-open .menu-overlay-container {
    opacity: 1;
    visibility: visible;
}
.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
}
.close-btn:hover {
    color: #fddc00;
    transform: scale(1.1);
}
body.menu-open .close-btn {
    opacity: 1;
}
.overlay-nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}
.overlay-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 3.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s, color 0.3s ease;
    position: relative;
}
.overlay-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #fddc00;
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.overlay-nav a:hover::after {
    width: 100%;
}
body.menu-open .overlay-nav a {
    opacity: 1;
    transform: translateY(0);
}
body.menu-open .overlay-nav a:nth-child(1) { transition-delay: 0.2s; }
body.menu-open .overlay-nav a:nth-child(2) { transition-delay: 0.3s; }
body.menu-open .overlay-nav a:nth-child(3) { transition-delay: 0.4s; }
body.menu-open .overlay-nav a:nth-child(4) { transition-delay: 0.5s; }
body.menu-open .overlay-nav a:nth-child(5) { transition-delay: 0.6s; }
.made-with-footer {
    position: absolute;
    bottom: 2rem;
    color: #777;
    font-family: monospace;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.5s ease 0.7s;
}
body.menu-open .made-with-footer {
    opacity: 1;
}

/* =================================================================== */
/* === 5. SECCIONES DE PÁGINA (ESTILOS COMUNES) ====================== */
/* =================================================================== */

.main-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(to right, #000000, #2c2c2c);
}
.statement-section, .statement-section-about {
    padding: 12rem 2rem;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-bottom: 6rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.statement-section-about {
    background-image: url('/img/portfolio/office.jpg');
}
.statement-section::before, .statement-section-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.statement-section::before { background-color: rgb(255, 255, 255); }
.statement-section-about::before { background-color: rgba(0, 0, 0, 0.432); }
.statement-section .custom-container, .statement-section-about .custom-container {
    position: relative;
    z-index: 2;
}
.statement-section h2, .statement-section-about h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 3.8rem;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
}
.statement-section h2 { color: #2c2c2c; }
.statement-section-about h2 { color: #e7e7e7; }
.statement-section p, .statement-section-about p {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 2.2rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.statement-section p { color: #111111bd; }


/* =================================================================== */
/* === 6. COMPONENTES DE SECCIÓN (ESPECÍFICOS) ======================= */
/* =================================================================== */

/* --- Componente Hero --- */
.hero-section {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 2;
}
.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: ken-burns 20s ease-in-out infinite alternate;
}
.hero-content-wrapper {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 0 8rem 4rem;
}
.hero-text h1, .hero-text p {
    margin: 0;
    padding: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
.hero-text h1 { animation-delay: 0.5s; font-size: 2.5rem; }
.hero-text p { animation-delay: 0.8s; }
.hero-text span {
    display: inline;
    padding: 0.3rem 0.8rem;
    line-height: 2.2;
    border-radius: 4px;
}
.highlight-yellow { background-color: #fddc00; color: #000; }
.highlight-black { background-color: #000; color: #fff; }
.read-more-btn {
    position: absolute;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    animation: subtle-glow 3s infinite;
}
.read-more-btn:hover {
    background-color: #fddc00;
    color: #000;
    animation-play-state: paused;
}
.arrow-down-icon {
    display: inline-block;
    animation: bounce-down 2s infinite;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
}

/* --- Componente "Visión" (Acordeón) --- */
#div-custom {
    padding: 4rem 0;
}
.vision-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}
.vision-image-pane {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 1px 8px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.vision-image-pane:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0,0,0,0.15);
}
.vision-image-pane::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 40%),
                linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 30%),
                linear-gradient(to left, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 30%);
    z-index: 2;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.4s ease-out;
}
.vision-image-pane:hover::after { opacity: 1; }
.vision-image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.vision-image-pane:hover img { transform: scale(1.03); }
.vision-content-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 3rem;
}
.accordion-item {
    border-bottom: 1px solid #4a4a4a;
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
}
.accordion-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fddc00;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.accordion-item.active::after { transform: translateX(0); }
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 1rem;
}
.accordion-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #b6b6b6;
    transition: color 0.3s ease;
}
.accordion-header:hover .accordion-title { color: #ffffff; }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.accordion-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ffffffc4;
    padding: 0 28px 0 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s 0.2s ease, transform 0.4s 0.2s ease;
}
.accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background-color: #888;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-item.active .accordion-content { max-height: 200px; padding-top: 0.75rem; }
.accordion-item.active .accordion-content p { opacity: 1; transform: translateY(0); }
.accordion-item.active .accordion-title { color: #fddc00; }
.accordion-item.active .accordion-icon { transform: rotate(135deg); }
.accordion-item.active .accordion-icon::before,
.accordion-item.active .accordion-icon::after { background-color: #fddc00; }
.accordion-item.active .accordion-icon::after { transform: translate(-50%, -50%) rotate(45deg); }

/* --- Componente "Final Statement" --- */
.final-statement-section {
    padding: 8rem 2rem;
    text-align: center;
    overflow: hidden;
    position: relative;
    margin-top: 6rem;
}
.final-banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.final-statement-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}
.final-statement-section .container {
    position: relative;
    z-index: 3;
}
.final-statement-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    letter-spacing: 1px;
}
.final-statement-section .subtitle {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0 0 2.5rem 0;
}
.final-statement-section .description {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    color: #fddc00;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* --- Componente Carrusel de Íconos --- */
.carousel-section {
  background-color: #fff;
  padding: 4rem 0;
  overflow: hidden;
}
.carousel-container {
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}
.carousel-track {
  display: flex;
  gap: 4rem;
  animation: scrollIcons 60s linear infinite;
}
.carousel-track img {
  height: 150px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.carousel-track img:hover { transform: scale(1.1); }

/* --- Componente "Cyber" / Equipo --- */
.cyber-section {
    padding: 5rem 2rem;
    overflow: hidden;
}
.cyber-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.cyber-content {
    padding-right: 2rem;
}
.cyber-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fddc00;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}
.cyber-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}
.cyber-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #a0a0a0;
    margin-bottom: 2rem;
}
.cyber-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cyber-benefits li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.cyber-benefits li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fddc00;
    font-size: 1.1rem;
}
.cyber-image-wrapper {
    position: relative;
    top: -60px;
    width: 480px;
    height: 520px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}
.cyber-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.cyber-image-wrapper:hover img {
    transform: scale(1.05);
}


/* =================================================================== */
/* === 7. ELEMENTOS DE UI (FIJOS Y FLOTANTES) ======================== */
/* =================================================================== */

/* --- Scrollbar Lateral --- */
.scrollbar-container{position:fixed;top:0;right:0;height:100vh;width:25px;z-index:1500;pointer-events:none}.scrollbar-container:hover .custom-scrollbar{opacity:1;transform:translateX(0)}.custom-scrollbar{pointer-events:all;position:absolute;top:0;right:0;height:100%;width:20px;background-color:rgba(0,0,0,.6);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:10px 0;border-left:1px solid rgba(255,255,255,.1);opacity:0;transform:translateX(100%);transition:opacity .3s ease,transform .3s ease}.scroll-arrow{color:#fff;cursor:pointer;font-size:1.2rem;transition:color .3s ease,transform .3s ease}.scroll-arrow:hover{color:#fddc00;transform:scale(1.2)}

/* --- Botón WhatsApp --- */
.whatsapp-fab{position:fixed;bottom:25px;right:25px;z-index:1030;display:flex;align-items:center;gap:10px;background-color:#3caf79;padding:10px 20px;border-radius:50px;font-family:'Poppins',sans-serif;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 4px 15px rgba(0,0,0,.2);transition:all .3s ease}.whatsapp-fab i{font-size:28px;color:#fff}.whatsapp-fab span{color:#fff}.whatsapp-fab:hover{transform:translateY(-4px);box-shadow:0 8px 25px rgba(0,0,0,.25);background-color:#35a06d}

/* --- Botón de Navegación Lateral (Scroll Abajo) --- */
.scroll-navigator-arrow {
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    z-index: 1000;
    width: 44px;
    height: 44px;
    background-color: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.scroll-navigator-arrow:hover {
    background-color: rgba(50, 50, 50, 0.8);
    transform: translateY(-50%) scale(1.1);
}
.scroll-navigator-arrow::after {
    content: '';
    display: inline-block;
    border: solid white;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(45deg);
}
@media (max-width: 768px) {
    .scroll-navigator-arrow {
        display: none;
    }
}

/* --- Botones de Navegación Inferior (Páginas Internas) --- */
.scroll-navigator-arrow-about,
.scroll-navigator-arrow-help {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 44px;
    height: 44px;
    background-color: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
}
.scroll-navigator-arrow-about {
    opacity: 1;
    pointer-events: auto;
}
.scroll-navigator-arrow-help {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}
.scroll-navigator-arrow-about.visible,
.scroll-navigator-arrow-help.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.scroll-navigator-arrow-about:hover,
.scroll-navigator-arrow-help:hover {
    background-color: rgba(50, 50, 50, 0.8);
    transform: translateX(-50%) scale(1.1);
}
.scroll-navigator-arrow-about::after,
.scroll-navigator-arrow-help::after {
    content: '';
    display: inline-block;
    border: solid white;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(45deg);
}
@media (max-width: 768px) {
    .scroll-navigator-arrow-about,
    .scroll-navigator-arrow-help {
        display: none;
    }
}


/* =================================================================== */
/* === 8. ESTILOS DE PÁGINAS ESPECÍFICAS ============================= */
/* =================================================================== */

/* --- Página "Who We Help" (Rediseñada) --- */
.wwh-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/img/portfolio/digital-sales-1.jpg') no-repeat center center/cover;
    padding: 2rem;
}
.wwh-hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    margin: 0;
    text-transform: uppercase;
}
.wwh-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0;
    color: #a0a0a0;
}
.wwh-section {
    padding: 5rem 2rem;
}
.mission-section {
    background-color: #050505;
    text-align: center;
}
.mission-text {
    font-size: 1.3rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #a0a0a0;
    border-left: 3px solid #fddc00;
    padding-left: 2rem;
    text-align: left;
}
.clients-section {
    background-color: #000;
}
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.client-card {
    background-color: #1a1a1a;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.client-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 1rem 0;
    text-align: center;
}
.client-card p {
    color: #a0a0a0;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}
.client-card-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.client-card-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
.client-card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fddc00;
}
.client-card-quote {
    font-style: italic;
    color: #888;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #333;
    text-align: center;
}

/* ESTILOS ACTUALIZADOS PARA LA SECCIÓN 'WHY CHOOSE US' */
.solution-section {
    padding: 4rem 2rem;
    background-color: #050505;
    overflow: hidden;
}
.solution-block {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    justify-items: center;
    min-height: 60vh;
    gap: 3rem;
}
.solution-image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background-size: cover;
    background-position: center;
    -webkit-mask-image: radial-gradient(circle, white 65%, transparent 95%);
    mask-image: radial-gradient(circle, white 65%, transparent 95%);
}
.solution-content {
    padding: 2rem;
}
.solution-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin: 0 0 2rem 0;
    color: #fddc00;
}
.why-us-block {
    margin-bottom: 2rem;
}
.why-us-block h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: #fff;
}
.why-us-block p {
    font-size: 1rem;
    line-height: 1.7;
    color: #a0a0a0;
    margin: 0;
}
.services-section {
    background-color: #000;
    text-align: center;
}
.services-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.services-grid.large-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.service-item {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}
.service-item i {
    font-size: 2rem;
    color: #fddc00;
}
.service-item span {
    font-weight: 500;
    color: #e0e0e0;
}
.cta-section {
    background-color: #fddc00;
    color: #000;
    text-align: center;
}
.cta-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    margin: 0;
}
.cta-section p {
    font-size: 1.2rem;
    margin: 1rem 0 2rem 0;
}
.cta-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
}
.cta-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}
.cta-list li::before {
    content: '✓'; /* Checkmark */
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}
.cta-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
    background-color: #333;
    transform: scale(1.05);
}

/* --- Página "Out of the Box" --- */
.ootb-hero {
    height: 60vh;
    display:flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(180, 185, 189, 0.274), rgba(0, 0, 0, 0.3)), url('') no-repeat center center/cover;
}
.ootb-hero h1 { font-family: 'Orbitron', sans-serif; font-size: 3.5rem; margin: 0; text-transform: uppercase; }
.ootb-hero p { font-size: 1.2rem; color: #a0a0a0; }
.ootb-section { padding: 5rem 2rem; }
.ootb-intro-text { text-align: center; font-size: 1.2rem; max-width: 800px; margin: 0 auto; color: #a0a0a0; line-height: 1.7; }
.ootb-title { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }

.opportunity-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
}
.opportunity-card { 
    background-color: #1a1a1a; 
    padding: 2.5rem 2rem; 
    border-radius: 12px; 
    border: 1px solid #333; 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.opportunity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.opportunity-card h3 { 
    font-family: 'Orbitron', sans-serif; 
    font-size: 1.2rem; 
    margin: 0 0 0.5rem 0; 
}
.methodology-section { background-color: #050505; }
.methodology-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; text-align: center; }

/* Estilo genérico para las imágenes circulares */
.circular-image-container { 
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    overflow: hidden; 
    margin: 0 auto 1.5rem; 
    border: 3px solid #444; 
    transition: border-color 0.3s ease; 
}
.opportunity-card .circular-image-container {
    width: 120px; /* Tamaño ligeramente más pequeño para esta sección */
    height: 120px;
}
.circular-image-container:hover { 
    border-color: #fddc00; 
}
.circular-image-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease; 
}
.methodology-item:hover .circular-image-container img,
.opportunity-card:hover .circular-image-container img { 
    transform: scale(1.1); 
}
.methodology-item h3 { 
    font-family: 'Orbitron', sans-serif; 
    font-size: 1.3rem; 
    margin-bottom: 1rem; 
}

.process-section { background-color: #000; }
.process-steps { display: flex; justify-content: space-around; gap: 2rem; flex-wrap: wrap; }
.step { background-color: #1a1a1a; padding: 2rem; border-radius: 12px; border-top: 4px solid #fddc00; flex: 1; min-width: 250px; text-align: center; }
.step span { display: block; font-size: 2.5rem; font-family: 'Orbitron'; color: #fddc00; margin-bottom: 1rem; }
.results-section { background-color: #050505; }
.results-list { list-style: none; padding-left: 0; max-width: 900px; margin: 0 auto; }
.results-list li { background-color: #1a1a1a; padding: 1.5rem; border-radius: 8px; margin-bottom: 1rem; border-left: 4px solid #fddc00; }

/* --- Página "Digital Sales" --- */
body.digital-sales-page {
    overflow: hidden;
}
.page-wrapper {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.page-section {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1), opacity 0.8s ease-out;
    transform: translateY(100%);
    background-color: #000;
}
.page-section.active { transform: translateY(0); z-index: 1; }
.page-section.prev { transform: translateY(-100%); }
.split-section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100%;
    align-items: center;
}
.image-pane {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.image-pane::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 70%, #000 100%);
}
.content-pane {
    padding: 4rem;
    overflow-y: auto;
    height: 100%;
}
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}
.content-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #fddc00;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.italic-quote {
    font-style: italic;
    color: #a0a0a0;
    border-left: 3px solid #fddc00;
    padding-left: 1rem;
    margin: 1.5rem 0;
}
.content-pane p { font-size: 1rem; line-height: 1.7; color: #a0a0a0; }
.content-pane h4 { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; color: #fff; margin-top: 1.5rem; }
.content-pane ul { list-style: none; padding-left: 0; }
.content-pane ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #a0a0a0;
}
.content-pane ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fddc00;
    font-size: 1.2rem;
    line-height: 1;
}
.pagination-dots {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}
.pagination-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.pagination-dots .dot:hover { background-color: rgba(255, 255, 255, 0.7); }
.pagination-dots .dot.active { background-color: #fddc00; }


/* =================================================================== */
/* === 9. FOOTER ===================================================== */
/* =================================================================== */

.main-footer-section {
    background-color: #000;
    color: #a0a0a0;
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    align-items: start;
}
.footer-col { display: flex; flex-direction: column; }
.footer-logo img { height: 40px; margin-bottom: 1rem; }
.footer-copyright { font-size: 0.8rem; color: #888; margin: 0; }
.footer-heading {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { font-weight: 500; font-size: 0.9rem; color: #a0a0a0; text-decoration: none; transition: color .3s ease; }
.footer-links a:hover { color: #fddc00; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.9rem; }
.footer-contact-list i { color: #fddc00; font-size: 1rem; margin-top: 4px; }
.footer-contact-list a { color: #a0a0a0; text-decoration: none; transition: color 0.3s ease; }
.footer-contact-list a:hover { color: #fff; }


/* =================================================================== */
/* === 10. RESPONSIVE MEDIA QUERIES ================================== */
/* =================================================================== */

@media (min-width: 992px) {
    .opportunity-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .opportunity-card.span-full-width {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .vision-grid { grid-template-columns: 1.3fr 1fr; }
    .info-section-3 .feature-blocks {
        grid-template-columns: repeat(3, 1fr);
    }
    .value-blocks {
        grid-template-columns: repeat(3, 1fr);
    }
     .tech-arsenal-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bio-section-container {
        grid-template-columns: 200px 1fr;
        text-align: left;
        gap: 3rem;
    }
    .bio-content p {
        margin-left: 0;
    }
}

@media (max-width: 992px) {
    .footer-grid { text-align: center; }
    .footer-col { align-items: center; }
    .footer-contact-list li { justify-content: center; text-align: left; }
    .cyber-container { grid-template-columns: 1fr; }
    .cyber-content { padding-right: 0; text-align: center; }
    .cyber-benefits { align-items: center; }
    .cyber-benefits li { justify-content: center; text-align: left; }
    .cyber-image-wrapper { order: -1; width: 100%; max-height: 450px; top: auto; }
    .split-section-container { grid-template-columns: 1fr; }
    .image-pane { height: 40vh; }
    .image-pane::after { background: linear-gradient(to top, #000 0%, transparent 50%); }
    .content-pane { height: 60vh; padding: 2rem; }
}

@media (max-width: 768px) {
    .cyber-title { font-size: 2rem; }
    .ootb-hero h1 { font-size: 2.5rem; }
    .wwh-hero h1 { font-size: 2.5rem; }
    
    .solution-block { 
        grid-template-columns: 1fr; 
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .solution-image { 
        min-height: auto;
        height: 320px;
        width: 90%;
        max-width: 320px;
        order: -1; 
    }
}

@media (max-width: 480px) {
    .overlay-nav a { font-size: 1.8rem; }
    .hero-text h1 { font-size: 1.75rem; }
    .hero-text h1 span { line-height: 1.8; }
    .whatsapp-fab span { display: none; }
    .whatsapp-fab { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
    .whatsapp-fab i { font-size: 28px; margin: 0; }
}

@media (max-width: 268px) {
    body { word-wrap: break-word; }
    .sticky-header, .scrollbar-container, .side-scroll-container { display: none; }
    .main-header { padding: 1rem 1.5rem; }
    .logo img { height: 35px; }
    .logo-text-container { display: none; }
    .close-btn { font-size: 2.5rem; }
    .overlay-nav a { font-size: 2.2rem; }
    .hero-content-wrapper { padding: 0 0 6rem 1.5rem; }
    .hero-text h1 { font-size: 2rem; line-height: 1.4; }
    .hero-text p { font-size: 1rem; }
    .read-more-btn { bottom: 3rem; }
    .banner-video { width: auto; height: auto; min-width: 100%; min-height: 100%; animation: none; transform: translate(-50%, -50%); }
    .statement-section { padding: 6rem 1.5rem; margin-bottom: 3rem; }
    .statement-section h2 { font-size: 1.8rem; }
    .statement-section p { font-size: 1rem; }
    #div-custom { padding: 2rem 0; }
    .vision-image-pane { min-height: 300px; }
    .vision-content-pane { padding: 2rem 1.5rem; }
    .accordion-title { font-size: 1rem; }
    .accordion-content p { font-size: 0.85rem; }
    .final-statement-section { padding: 6rem 1.5rem; margin-top: 3rem; }
    .final-statement-section h3 { font-size: 1.6rem; }
    .final-statement-section .subtitle { font-size: 1rem; }
    .final-statement-section .description { font-size: 0.9rem; }
    .carousel-section { padding: 3rem 0; }
    .carousel-track img { height: 60px; }
    [data-reveal], .stagger-child { transform: none; transition: opacity 0.8s ease-in-out; }
}

/* =================================================================== */
/* === 11. ESTILOS PÁGINA INFOPRENEURS =============================== */
/* =================================================================== */

.info-layout-alternate .content-pane {
    order: -1;
}
.info-layout-alternate .image-pane::after {
    background: linear-gradient(to left, transparent 70%, #000 100%);
}

.full-bleed-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}
.full-bleed-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.6);
    transform: scale(1.05);
}
.full-bleed-content {
    position: relative;
    z-index: 2;
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
}

.value-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.value-block h4 {
    font-family: 'Orbitron', sans-serif;
    margin: 0 0 0.5rem 0;
}
.value-block p {
    margin: 0;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: inline-block;
    text-align: left;
}
.check-list li {
    margin-bottom: 1rem;
}
.check-list li::before {
    content: none;
}

/* =================================================================== */
/* === 12. ESTILOS PÁGINA TECHNOLOGY (ADVANCED) ===================== */
/* =================================================================== */

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tech-page-background {
    background: #0a0a0a;
    position: relative;
}

.tech-page-background::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(253, 220, 0, 0.1), transparent 30%),
                radial-gradient(circle at 90% 80%, rgba(253, 220, 0, 0.1), transparent 30%);
    z-index: -1;
}

.tech-section .content-pane {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-section .image-pane {
    filter: saturate(0.8) brightness(0.9);
}

.tech-full-bleed .full-bleed-content {
    border-radius: 0;
}

.tech-arsenal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    margin-top: 1.5rem;
}

.tech-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.tech-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.tech-item h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--services-modal-yellow);
    margin: 0 0 0.5rem 0;
}

.custom-ordered-list {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
    margin-top: 1.5rem;
}

.custom-ordered-list li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 3rem;
    font-size: 1rem;
    text-align: left;
}

.custom-ordered-list li::before {
    content: "0" counter(step-counter);
    position: absolute;
    left: 0;
    top: -5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--services-modal-yellow);
}

.bio-section-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
    padding: 2rem;
    text-align: center;
    height: 100%;
    justify-content: center;
}

.bio-photo {
    width: 180px;
    height: 180px;
}

.bio-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin: 0;
}

.bio-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: italic;
    color: var(--services-modal-yellow);
    margin: 0.5rem 0 1.5rem 0;
}

.bio-content p {
    color: #a0a0a0;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =================================================================== */
/* === 13. ESTILOS PÁGINA DE CONTACTO (MODERNIZADO) ================== */
/* =================================================================== */

#contact-page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9)), url('/img/portfolio/blue-and-black-background-1920-x-1080-em0afyoi6azqayxq.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
}

.contact-container {
    max-width: 850px;
    width: 100%;
    background: linear-gradient(145deg, rgba(9, 9, 12, 0.85), rgba(12, 12, 19, 0.74));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(100, 100, 120, 0.2), rgba(80, 80, 100, 0.1));
    border-radius: 18px;
    z-index: -1;
    filter: blur(10px);
}

.contact-header { text-align: center; margin-bottom: 3rem; }
.contact-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0 0 1rem 0;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}
.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(150, 150, 170, 0.7), transparent);
    border-radius: 1px;
}
.contact-subtitle { font-size: 1rem; color: #a0a0b0; line-height: 1.6; max-width: 600px; margin: 0 auto; font-weight: 300; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.contact-form .form-group { position: relative; margin-bottom: 1.8rem; }
.contact-form .form-control {
    width: 100%;
    background: linear-gradient(145deg, rgba(40, 40, 50, 0.7), rgba(30, 30, 40, 0.8));
    border: 1px solid rgba(100, 100, 120, 0.3);
    border-radius: 8px;
    padding: 0.9rem 1rem 0.9rem 3.2rem;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    height: 48px;
}
.contact-form .form-control:hover { border-color: rgba(150, 150, 170, 0.5); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.contact-form .form-control:focus {
    outline: none;
    border-color: rgba(150, 150, 170, 0.7);
    box-shadow: 0 0 0 2px rgba(100, 100, 120, 0.2), 0 4px 15px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(45, 45, 55, 0.8), rgba(35, 35, 45, 0.9));
}
.contact-form .form-group label {
    position: absolute;
    top: 0.9rem;
    left: 3.2rem;
    font-size: 0.95rem;
    color: #a0a0b0;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 5px;
    font-weight: 400;
}
.contact-form .form-control:focus + label,
.contact-form .form-control:not(:placeholder-shown) + label {
    top: -0.8rem;
    left: 2.8rem;
    font-size: 0.8rem;
    color: #c0c0d0;
    background: linear-gradient(145deg, rgba(40, 40, 50, 0.7), rgba(30, 30, 40, 0.8));
    padding: 0 8px;
    border-radius: 4px;
    font-weight: 500;
}
.form-icon { position: absolute; top: 50%; left: 1.2rem; transform: translateY(-50%); color: #8080a0; transition: all 0.3s ease; font-size: 1rem; }
.contact-form .form-group:focus-within .form-icon { color: #a0a0c0; }
.contact-form .form-control:not(:placeholder-shown):valid { border-color: rgba(100, 150, 100, 0.5); background: linear-gradient(145deg, rgba(40, 50, 45, 0.7), rgba(30, 40, 35, 0.8)); }
.contact-form .form-control:not(:placeholder-shown):valid ~ .form-icon { color: #90b090; }
.contact-form .form-control:not(:placeholder-shown):invalid { border-color: rgba(150, 100, 100, 0.5); background: linear-gradient(145deg, rgba(50, 40, 40, 0.7), rgba(40, 30, 30, 0.8)); }
.contact-form .form-control:not(:placeholder-shown):invalid ~ .form-icon { color: #b09090; }
.contact-form .form-group textarea.form-control { resize: vertical; min-height: 120px; padding-top: 1rem; height: auto; }
.contact-form .form-group textarea.form-control + label { top: 1rem; }
.contact-form .form-group textarea.form-control:focus + label,
.contact-form .form-group textarea.form-control:not(:placeholder-shown) + label { top: -0.8rem; }
.form-group-checkbox { display: flex; align-items: flex-start; margin: 1.8rem 0; font-size: 0.9rem; color: #a0a0b0; line-height: 1.5; padding: 1rem; background: rgba(30, 30, 40, 0.4); border-radius: 8px; border: 1px solid rgba(100, 100, 120, 0.2); }
.form-group-checkbox input[type="checkbox"] { margin-right: 0.75rem; margin-top: 0.2rem; width: 18px; height: 18px; accent-color: rgba(150, 150, 170, 0.7); background-color: rgba(40, 40, 50, 0.7); border-radius: 4px; cursor: pointer; transition: all 0.2s ease; }
.form-group-checkbox input[type="checkbox"]:hover { background-color: rgba(50, 50, 60, 0.8); }
.form-group-checkbox a { color: #b0b0c0; text-decoration: none; font-weight: 500; transition: all 0.2s ease; }
.form-group-checkbox a:hover { text-decoration: underline; color: #d0d0e0; }
.form-submit-group { text-align: center; margin-top: 1.5rem; }
.btn-submit {
    background: linear-gradient(90deg, rgba(100, 100, 120, 0.8), rgba(80, 80, 100, 0.9));
    color: #e0e0e0;
    border: none;
    padding: 1rem 3rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.btn-submit:hover { background: linear-gradient(90deg, rgba(110, 110, 130, 0.9), rgba(90, 90, 110, 1)); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); }
.btn-submit:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.form-status { margin-top: 1.2rem; font-size: 0.9rem; min-height: 1.2em; color: #a0a0b0; font-weight: 400; }

/* =================================================================== */
/* === 14. NAVEGACIÓN RÁPIDA DE SERVICIOS ============================ */
/* =================================================================== */

@keyframes slideUpNav {
    to { transform: translateY(0); }
}

.service-navigation-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1020;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    transform: translateY(100%);
    animation: slideUpNav 0.5s 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.service-nav-arrow {
    color: #a0a0a0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1rem;
}

.service-nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.service-nav-dropdown {
    position: relative;
}

.service-dropdown-toggle {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fddc00;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-dropdown-toggle:hover {
    background-color: #fddc00;
    border-color: #fddc00;
    color: #000;
}

.service-dropdown-toggle .arrow-icon {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-nav-dropdown.active .service-dropdown-toggle .arrow-icon {
    transform: rotate(180deg);
}

.service-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    min-width: 280px;
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom center;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateX(-50%) scale(0.95);
}

.service-nav-dropdown.active .service-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.service-dropdown-menu a {
    display: block;
    color: #a0a0a0;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.service-dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.service-dropdown-menu a.current-service {
    color: #fddc00;
    font-weight: 600;
    background-color: rgba(253, 220, 0, 0.1);
    pointer-events: none;
}

/* --- Responsive para la Barra de Navegación de Servicios --- */
@media (max-width: 767px) {
    .service-navigation-bar {
        padding: 0.5rem 1rem;
    }
    
    .service-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .service-dropdown-toggle {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}