/* ============================================
    VARIABLES Y RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-navy: #003366;
    --accent-teal: #14b8a6;
    --accent-teal-dark: #0d9488;
    --bg-light: #f9fafb;
    --text-gray: #666;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--primary-navy);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
    HERO PARALLAX SECTION
   ============================================ */
.hero-parallax {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #004080 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 51, 102, 0.3) 0%, rgba(0, 51, 102, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--accent-teal);
    border-radius: 50px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.badge-year {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-teal);
    text-transform: uppercase;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.title-line.accent {
    color: var(--accent-teal);
    animation: fadeInUp 1s ease-out 0.7s backwards;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    animation: fadeInUp 1s ease-out 0.9s backwards;
}

.divider-diamond {
    width: 12px;
    height: 12px;
    background: var(--accent-teal);
    transform: rotate(45deg);
}

.divider-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 1.1s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 1.3s backwards;
}

.scroll-text {
    color: var(--white);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-teal);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 10px;
        opacity: 1;
    }

    50% {
        top: 25px;
        opacity: 0.3;
    }
}

/* ============================================
   STORY SECTION
   ============================================ */
.story-section {
    padding: 140px 0;
    background: var(--white);
    position: relative;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 20px;
    position: relative;
    padding-left: 60px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 2px;
    background: var(--accent-teal);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-navy);
    margin-bottom: 25px;
}

.text-accent {
    color: var(--accent-teal);
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.story-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
}

.story-content.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.lead-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    padding-left: 30px;
}

.lead-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: calc(100% - 16px);
    background: linear-gradient(180deg, var(--accent-teal), var(--accent-teal-dark));
    border-radius: 2px;
}

.story-text p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.9;
}

.story-features {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 3px solid var(--accent-teal);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
}

.feature-icon {
    font-size: 28px;
    color: var(--accent-teal);
    min-width: 40px;
}

.feature-content h4 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-content p {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
}

/* Visual Composition */
.story-visual {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition);
}

.story-visual.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.image-composition {
    position: relative;
}

.image-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.15);
}

.image-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-main:hover img {
    transform: scale(1.05);
}

.image-accent-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-teal);
    border-radius: 20px;
    z-index: -1;
}

.floating-stats {
    position: absolute;
    bottom: -40px;
    left: -40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.12);
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 280px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 51, 102, 0.18);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ============================================
   VALUES TIMELINE SECTION
   ============================================ */
.values-timeline {
    padding: 140px 0;
    background: var(--bg-light);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0;
    padding: 0 40px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-teal), var(--accent-teal-dark));
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 4px solid var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-teal);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.2);
}

.timeline-content {
    width: calc(50% - 60px);
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-teal), var(--accent-teal-dark));
    opacity: 0;
    transition: var(--transition);
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 51, 102, 0.15);
    border-color: rgba(20, 184, 166, 0.2);
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover::after {
    opacity: 1;
}

.timeline-content h3 {
    font-size: 26px;
    color: var(--primary-navy);
    margin-bottom: 18px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-dark));
    transition: var(--transition);
}

.timeline-content:hover h3::after {
    width: 100%;
}

.timeline-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

/* ============================================
   TEAM EXECUTIVE SECTION
   ============================================ */
.team-executive {
    padding: 140px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 80px;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.team-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 51, 102, 0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 51, 102, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .card-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-teal-dark);
    transform: translateY(-3px);
}

.card-content {
    padding: 35px;
}

.member-name {
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 8px;
    font-weight: 600;
}

.member-role {
    font-size: 15px;
    color: var(--accent-teal);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.member-divider {
    width: 50px;
    height: 3px;
    background: var(--accent-teal);
    margin: 20px 0;
}

.member-bio {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-tag {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-navy);
    font-weight: 600;
    border: 1px solid rgba(20, 184, 166, 0.2);
    transition: var(--transition);
}

.expertise-tag:hover {
    background: var(--accent-teal);
    color: var(--white);
    border-color: var(--accent-teal);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #004080 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(20, 184, 166, 0.15) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    font-size: 36px;
    color: var(--accent-teal);
}

.cta-title {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-teal);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    background: var(--accent-teal-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
    }

    .section-title {
        font-size: 40px;
    }

    .story-grid {
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 34px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .floating-stats {
        position: static;
        margin-top: 30px;
    }

    .timeline-line {
        left: 35px;
    }

    .timeline-marker {
        left: 35px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px !important;
        margin-right: 0 !important;
        padding: 30px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hero-parallax {
        height: 80vh;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .story-section,
    .values-timeline,
    .team-executive {
        padding: 80px 0;
    }

    .section-tag {
        padding-left: 50px;
    }

    .section-tag::before {
        width: 35px;
    }

    .lead-text {
        font-size: 18px;
        padding-left: 20px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}