/* ============================================================================
   ATLATECH SRL — CHI SIAMO + PAGE HERO (condiviso da pagine interne)
   ============================================================================ */

/* ==========================================================================
   PAGE HERO — riutilizzabile da tutte le pagine interne
   ========================================================================== */
.page-hero {
    position: relative;
    padding-block: calc(var(--space-11) + var(--space-6)) var(--space-9);
    overflow: hidden;
    isolation: isolate;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -2;
}
.page-hero-orb {
    filter: blur(140px);
    opacity: 0.45;
    z-index: -1;
}
.page-hero-orb--1 { width: 420px; height: 420px; top: -120px; left: -140px; }
.page-hero-orb--2 { width: 480px; height: 480px; top: 20%; right: -160px; }

.page-hero-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    max-width: 880px;
}
.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}
.page-hero .lead { max-width: 68ch; }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { text-align: left; }
.manifesto h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.15;
    margin-block: var(--space-4);
    max-width: 22ch;
}

/* ==========================================================================
   VALORI — grid 4
   ========================================================================== */
.values-grid { gap: var(--space-5); }
.value-item { text-align: left; }
.value-item h3 { font-size: var(--fs-lg); }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}
.team-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    transition: var(--transition-base);
}
.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-md);
}
.team-card-avatar {
    flex-shrink: 0;
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-bg);
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    box-shadow: var(--shadow-glow-soft);
}
.team-card h3 { font-size: var(--fs-md); margin-bottom: var(--space-1); }
.team-role {
    font-size: var(--fs-xs);
    letter-spacing: var(--letter-wide);
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}
.team-bio { font-size: var(--fs-sm); }

/* ==========================================================================
   HISTORY TIMELINE (verticale)
   ========================================================================== */
.history-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
    margin-top: var(--space-6);
    padding-left: var(--space-7);
}
.history-timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 24px;
    width: 2px;
    background: linear-gradient(to bottom,
        var(--color-primary),
        var(--color-accent-1),
        transparent);
    opacity: 0.5;
}
.history-item {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--space-5);
    align-items: flex-start;
}
.history-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    margin-left: -24px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-glow-soft);
    z-index: 1;
}
.history-year {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--color-primary);
}
.history-body {
    padding: var(--space-4) var(--space-5);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    flex: 1;
}
.history-body h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.history-body p { font-size: var(--fs-sm); }

/* ==========================================================================
   PARTNER / STACK
   ========================================================================== */
.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    max-width: 900px;
    margin-inline: auto;
}
.partners-list li { display: flex; }
.partners-list span {
    display: inline-block;
    padding: 0.65em 1.2em;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--r-full);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    transition: var(--transition-base);
}
.partners-list span:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-soft);
}

/* ==========================================================================
   CTA FINALE (condiviso)
   ========================================================================== */
.section-cta-final .cta-final {
    position: relative;
    text-align: center;
    padding: var(--space-11) var(--space-7);
    border-radius: var(--r-2xl);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur-lg));
    -webkit-backdrop-filter: blur(var(--glass-blur-lg));
    border: 1px solid var(--color-border);
    overflow: hidden;
    isolation: isolate;
}
.section-cta-final .cta-glow {
    width: 500px; height: 500px;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    opacity: 0.45;
}
.section-cta-final .cta-final h2 {
    font-size: var(--fs-4xl);
    margin-bottom: var(--space-4);
    max-width: 22ch;
    margin-inline: auto;
}
.section-cta-final .btn-group { justify-content: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .history-item { grid-template-columns: 1fr; }
    .history-marker { margin-left: 0; }
    .history-timeline { padding-left: var(--space-5); }
    .history-timeline::before { left: 16px; }
}
