/* ========================================
   NOSOTROS.CSS - ADDITIVE STYLES
   Inherits from app.css (Global Theme)
   Specific styles for: Hero, History, Mission, Values
   ======================================== */

/* Note: Global variables like --primary, --text-main comes from app.css */

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

.cinematic-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a202c 100%);
    /* Reset text align for hero content */
    text-align: center;
}

@media (max-width: 768px) {
    .cinematic-hero {
        align-items: flex-start; /* Move content up */
        padding-top: 6rem; /* Manual spacing from top instead of center */
    }
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 14, 26, 0.8) 0%,
        rgba(0, 102, 255, 0.1) 50%,
        rgba(26, 32, 44, 0.8) 100%
    );
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 102, 255, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent);
    background-repeat: repeat;
    background-size: 150px 150px;
    animation: particleFloat 30s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: white; /* Force white text in hero */
}

/* Centering the badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 auto 2rem; /* Center horizontally */
    backdrop-filter: blur(10px);
}

/* Ensure font consistency with Playfair for headings */
.hero-title {
    font-family: inherit;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block; /* Ensure each line takes full width */
    width: 100%;
    text-align: center; /* Explicitly center */
    font-size: inherit; /* inherit from title */
    animation: fadeInUp 1s ease-out both;
}

.gradient-text {
    background: var(--gradient-primary); /* Inherits from app.css */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Reusing cta-button from app.css conceptually, but defining specific styles here if needed or relying on global ones. 
   app.css has .hero-btn-primary. nosotros.html uses .cta-button. 
   Let's map them or define cta-button here quickly to avoid breaking button styles.
*/

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 102, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary); /* Fixed for white background */
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    animation: fadeInUp 1s ease-out 2s both;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes particleFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

/* ========================================
   HISTORY SECTION
   ======================================== */

/* ========================================
   HISTORY SECTION
   ======================================== */

.history-section {
    padding: 8rem 0;
    background: var(--slate-50); /* Light Background */
    position: relative;
    overflow: hidden;
}

.history-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .history-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.history-content {
    order: 2;
}

@media (min-width: 1024px) {
    .history-content {
        order: 1;
    }
}

/* Use standard font for body text, not resetting global */
.section-title {
    font-family: inherit;
    font-weight: 800;
    color: var(--slate-900); /* Dark Text */
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.history-text {
    font-size: 1.125rem; /* Increased size ~18px */
    color: var(--slate-600);
    line-height: 1.8;
}

.history-text p {
    margin-bottom: 1.5rem;
}

.history-visual {
    position: relative;
    order: 1;
}

@media (min-width: 1024px) {
    .history-visual {
        order: 2;
    }
}

.visual-card {
    background: white;
    padding: 1rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    transform: rotate(2deg);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.history-section:hover .visual-card {
    transform: rotate(0deg) scale(1.02);
}

.visual-card img {
    width: 100%;
    border-radius: 1rem;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 1rem;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: floatBadge 6s ease-in-out infinite;
    text-align: center;
    min-width: 180px;
}

.experience-badge span:first-child {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.experience-badge span:last-child {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   IMMERSIVE MISSION & VISION (CLEAN WHITE)
   ======================================== */

.immersive-mission-vision {
    padding: 8rem 0;
    background: #FFFFFF; /* Clean White */
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern overlay */
.immersive-mission-vision::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
}

.mission-vision-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .mission-vision-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.mission-vision-card {
    background: #FFFFFF;
    border: 1px solid var(--slate-200);
    border-radius: 2rem;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Hover Effect */
.mission-vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 102, 255, 0.1);
}

.card-background, .card-gradient, .card-pattern {
    display: none; 
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 102, 255, 0.05); /* Light Blue bg */
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    color: var(--primary);
}

.card-icon::after {
    display: none;
}

.card-icon .material-symbols-outlined {
    color: var(--primary);
    font-size: 32px;
    text-shadow: none;
}

.card-title {
    font-family: inherit;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--slate-900); /* Dark Text */
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: none;
    -webkit-text-fill-color: initial;
}

.card-description {
    color: var(--slate-600); /* Slate Text */
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 400;
    margin: 0;
}

/* ========================================
   PREMIUM VALUES SHOWCASE
   ======================================== */

.premium-values-showcase {
    padding: 6rem 0;
    background: #FFFFFF; /* Pure White */
    position: relative;
}

.values-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.value-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--slate-100); /* Cleaner border */
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: default;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Subtle start shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--slate-50); /* Subtle bg for icon */
    border-radius: 50%; /* Circle looks more modern */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    color: var(--primary);
}

.value-card:hover .value-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.value-icon .material-symbols-outlined {
    font-size: 2.5rem;
    color: inherit; /* Inherit from parent */
}

.value-title {
    font-size: 1.5rem;
    font-weight: 800; /* Bolder as per user request */
    color: var(--slate-900);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.value-description {
    color: var(--slate-500);
    line-height: 1.6;
    font-size: 1.125rem; /* Increased size */
}

/* Remove hover effect for cleaner look */
.value-hover-effect {
    display: none;
}

/* ========================================
   REVOLUTIONARY CTA SECTION
   ======================================== */

.revolutionary-cta {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: #FFFFFF; /* Pure White */
    text-align: center;
}

.cta-background, .cta-particles, .cta-gradient {
    /* Hide dark background elements */
    display: none;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--slate-100); /* Light Gray Badge */
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid var(--slate-200);
    color: var(--primary); /* Blue Text */
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.cta-title {
    font-family: inherit;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--slate-900); /* Dark Title */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--slate-600); /* Slate Description */
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-700); /* Dark Feature Text */
    font-weight: 500;
}

.cta-feature .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.25rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Response Fixes */
@media (max-width: 768px) {
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
/* ======================================== */
/* MOBILE FIXES: Experience Badge & Image */
/* ======================================== */
@media (max-width: 768px) {
    .experience-badge {
        padding: 1rem !important;
        min-width: 120px !important;
        bottom: -1rem !important;
        left: -0.5rem !important;
    }
    .experience-badge span:first-child {
        font-size: 2.25rem !important;
    }
    .experience-badge span:last-child {
        font-size: 0.7rem !important;
    }
    
    .visual-card img {
        aspect-ratio: 4/5 !important; /* Taller image */
        object-fit: cover !important;
    }
}

