/* ============================================
   CHI SIAMO - Design Premium
   ============================================ */

/* Hero Section - Full Impact */
.about-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
    background: var(--bg-primary);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

body.theme-gradient-vibrant .about-hero::before {
    background-image:
        linear-gradient(rgba(255, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06) 1px, transparent 1px);
}

.about-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 340deg,
        rgba(37, 99, 235, 0.15) 350deg,
        rgba(37, 99, 235, 0.25) 355deg,
        rgba(255, 255, 255, 0.3) 357deg,
        rgba(37, 99, 235, 0.25) 359deg,
        transparent 360deg
    );
    animation: heroSweep 8s linear infinite;
    z-index: 1;
    pointer-events: none;
    filter: blur(60px);
}

body.theme-gradient-vibrant .about-hero::after {
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 340deg,
        rgba(255, 0, 0, 0.2) 350deg,
        rgba(255, 0, 0, 0.4) 355deg,
        rgba(255, 255, 255, 0.3) 357deg,
        rgba(255, 0, 0, 0.4) 359deg,
        transparent 360deg
    );
}

@keyframes heroSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-hero > * {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

body.theme-gradient-vibrant .hero-badge {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.2);
    color: var(--primary-light);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-title .gradient-text {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual - Stacked Cards */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.floating-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 28px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 20px;
}

body.theme-gradient-vibrant .floating-card {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.floating-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-3d);
    border-color: var(--primary);
}

body.theme-gradient-vibrant .floating-card:hover {
    border-color: rgba(255, 0, 0, 0.4);
}

.floating-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 14px;
    flex-shrink: 0;
}

.floating-card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    stroke: white;
    fill: none;
}

.floating-card-text {
    flex: 1;
}

.floating-card-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.2;
}

.floating-card-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

body.theme-gradient-vibrant .stat-item {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Timeline Section */
.timeline-section {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-gradient-vibrant .section-label {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.2);
    color: var(--primary-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Interactive Timeline */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    border-radius: 3px;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

.timeline-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    padding-left: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -52px;
    top: 8px;
    width: 24px;
    height: 24px;
    background: var(--bg-primary);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    background: var(--primary);
    box-shadow: 0 0 30px var(--primary);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 28px;
    transition: all var(--transition-normal);
}

body.theme-gradient-vibrant .timeline-content {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateX(4px);
}

body.theme-gradient-vibrant .timeline-item:hover .timeline-content {
    border-color: rgba(255, 0, 0, 0.3);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 12px;
}

body.theme-gradient-vibrant .timeline-tag {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary-light);
}

/* Story Section */
.story-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-visual {
    position: relative;
}

.story-stats-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

body.theme-gradient-vibrant .story-stats-box {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.story-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

body.theme-gradient-vibrant .story-stat-item {
    background: rgba(255, 255, 255, 0.03);
}

.story-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.story-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 12px;
    flex-shrink: 0;
}

.story-stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.story-stat-text {
    display: flex;
    flex-direction: column;
}

.story-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.story-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.story-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.story-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.story-content .highlight {
    color: var(--primary);
    font-weight: 600;
}

body.theme-gradient-vibrant .story-content .highlight {
    color: var(--primary-light);
}

/* Expertise Section */
.expertise-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

body.theme-gradient-vibrant .expertise-card {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

body.theme-gradient-vibrant .expertise-card:hover {
    border-color: rgba(255, 0, 0, 0.3);
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 16px;
    margin-bottom: 24px;
    transition: transform var(--transition-normal);
}

.expertise-icon svg {
    width: 32px;
    height: 32px;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(-5deg);
}

.expertise-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.team-section .section-title {
    color: var(--text-primary);
}

.team-section .section-subtitle {
    color: var(--text-secondary);
}

.team-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.team-highlight {
    display: inline-block;
    padding: 20px 40px;
    background: var(--gradient-warm);
    border-radius: 16px;
    margin-top: 24px;
}

.team-highlight p {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 60px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

body.theme-gradient-vibrant .cta-content {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    filter: blur(40px);
}

body.theme-gradient-vibrant .cta-content::before {
    background: radial-gradient(circle, rgba(255, 0, 0, 0.15) 0%, transparent 70%);
}

.cta-content::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    filter: blur(40px);
}

.cta-content > * {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    margin-top: 60px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

body.theme-gradient-vibrant .faq-item {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

body.theme-gradient-vibrant .faq-item:hover {
    border-color: rgba(255, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    gap: 16px;
}

.faq-question svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .floating-card {
        padding: 16px 20px;
    }
    
    .floating-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .floating-card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .floating-card-title {
        font-size: 1.375rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-item {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-section,
    .story-section,
    .expertise-section,
    .team-section,
    .cta-section,
    .faq-section {
        padding: 80px 0;
    }
    
    .timeline-container {
        padding-left: 50px;
    }
    
    .timeline-line {
        left: 16px;
    }
    
    .timeline-dot {
        left: -46px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .cta-content {
        padding: 40px 24px;
    }
    
    .story-stats-box {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    
    .story-stat-item {
        padding: 16px;
    }
}
