/* ============================================
   VECTOR 360 - Estilos Principales
   Versión Standalone Local
   ============================================ */

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #e4e4e4;
    overflow-x: hidden;
}

/* ============================================
   TIPOGRAFÍA
   ============================================ */

.barlow {
    font-family: 'Barlow Condensed', sans-serif;
}

.bold {
    font-weight: 700;
}

/* ============================================
   SCROLLBAR PERSONALIZADO
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #222;
}

::-webkit-scrollbar-thumb {
    background: #742671;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8f3089;
}

/* ============================================
   HEADER / NAVEGACIÓN
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
}

.header-container {
    max-width: 1920px;
    margin: 0 auto;
    background: white;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: -4px 4px 0px 0px #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-text {
    font-size: 14px;
    color: black;
    display: none;
}

@media (min-width: 640px) {
    .header-text {
        display: block;
    }
}

@media (min-width: 768px) {
    .header {
        padding: 16px 32px;
    }
    .header-container {
        padding: 12px 24px;
        box-shadow: -6px 6px 0px 0px #222;
    }
    .header-text {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .header {
        padding: 16px 64px;
    }
    .header-text {
        font-size: 20px;
    }
}

/* ============================================
   LOGOS
   ============================================ */

.logo-small {
    width: 86px;
    height: 36px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    will-change: transform;
}

.hero-image {
    width: 100%;
    height: 120vh;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.7), rgba(34, 34, 34, 0.85));
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 16px;
    will-change: opacity;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-bottom: 1px solid white;
    padding-bottom: 32px;
}

.logo-container {
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    justify-content: flex-end;
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: white;
    font-size: 36px;
    line-height: 1.2;
    width: 100%;
    text-align: left;
}

.hero-title p {
    margin: 0;
}

.hero-description {
    font-family: 'Nunito', sans-serif;
    color: white;
    font-size: 18px;
    line-height: 1.6;
/*    max-width: 768px;
*/    text-align: left;
    width: 100%;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 80px 32px;
    }
    .hero-inner {
        padding-bottom: 48px;
    }
    .logo-container {
        margin-bottom: 32px;
    }
    .hero-title {
        font-size: 60px;
    }
    .hero-description {
        font-size: 24px;
        margin-top: 24px;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 80px 64px;
    }
    .hero-title {
        font-size: 80px;
    }
    .hero-description {
        font-size: 28px;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 100px;
    }
}

/* ============================================
   SECCIÓN VISIÓN
   ============================================ */

.vision {
    background-color: #222;
    padding: 64px 16px;
}

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

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #e4e4e4;
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.vision-card {
    display: flex;
    flex-direction: column;
}

.vision-icon {
    margin-bottom: 24px;
}

.vision-icon img {
    width: 48px;
    height: 48px;
    filter: invert(90%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(95%);
}

.vision-header {
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.vision-header h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #e4e4e4;
    font-size: 20px;
}

.vision-card p {
    font-family: 'Nunito', sans-serif;
    color: #e4e4e4;
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .vision {
        padding: 96px 32px;
    }
    .section-title {
        font-size: 48px;
        margin-bottom: 64px;
    }
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 64px;
    }
    .vision-icon img {
        width: 64px;
        height: 64px;
    }
    .vision-icon {
        margin-bottom: 32px;
    }
    .vision-header h3 {
        font-size: 24px;
    }
    .vision-card p {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .vision {
        padding: 128px 64px;
    }
    .section-title {
        font-size: 60px;
    }
    .vision-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .vision-header h3 {
        font-size: 28px;
    }
}

/* ============================================
   SECCIÓN ECOSISTEMA
   ============================================ */

.ecosystem {
    background-color: #e4e4e4;
    padding: 64px 16px;
}

.ecosystem-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.ecosystem-header {
    border-bottom: 1px solid black;
    padding-bottom: 32px;
}

.ecosystem-header h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #222;
    font-size: 36px;
    line-height: 1.2;
}

.ecosystem-header h2 p {
    margin: 0;
}

.ecosystem-header h2 .large {
    font-size: 48px;
}

.features-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.features-row:last-child {
    margin-bottom: 0;
}

.feature-card {
    background-color: #222;
    padding: 32px;
    box-shadow: -6px 6px 0px 0px #045757;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.feature-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-card p {
    font-family: 'Nunito', sans-serif;
    color: #e4e4e4;
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .ecosystem {
        padding: 96px 32px;
    }
    .ecosystem-header h2 {
        font-size: 48px;
    }
    .ecosystem-header h2 .large {
        font-size: 60px;
    }
    .features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
    .feature-card {
        padding: 48px;
        box-shadow: -8px 8px 0px 0px #045757;
    }
    .feature-card h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    .feature-card p {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .ecosystem {
        padding: 128px 64px;
    }
    .ecosystem-layout {
        grid-template-columns: auto 1fr;
        gap: 80px;
    }
    .ecosystem-header {
        padding-bottom: 48px;
    }
    .ecosystem-header h2 {
        font-size: 60px;
    }
    .ecosystem-header h2 .large {
        font-size: 68px;
    }
    .features-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .feature-card {
        padding: 64px;
    }
    .feature-card h3 {
        font-size: 28px;
    }
}

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

.footer {
    background-color: black;
    padding: 64px 16px 0;
}

.footer-content {
    border-bottom: 1px solid white;
    padding-bottom: 48px;
}

.footer-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: white;
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.2;
}

.logo-large {
    display: flex;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-family: 'Nunito', sans-serif;
    color: white;
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer {
        padding: 96px 32px 0;
    }
    .footer-content {
        padding-bottom: 80px;
    }
    .footer-title {
        font-size: 60px;
        margin-bottom: 80px;
    }
    .footer-bottom {
        padding: 32px 0;
    }
    .footer-bottom p {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 128px 64px 0;
    }
    .footer-title {
        font-size: 80px;
    }
}

@media (min-width: 1280px) {
    .footer-title {
        font-size: 100px;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */

.animated {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para efectos escalonados */
.animated:nth-child(1) { transition-delay: 0s; }
.animated:nth-child(2) { transition-delay: 0.1s; }
.animated:nth-child(3) { transition-delay: 0.2s; }
.animated:nth-child(4) { transition-delay: 0.3s; }
.animated:nth-child(5) { transition-delay: 0.4s; }
.animated:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   UTILIDADES
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
