/* ══════════════════════════════════════════════
   Syntarq — Stili specifici per pagina
   Solo se necessari. Il design system copre
   la maggior parte dei casi.
   ══════════════════════════════════════════════ */

/* ── HOME ── */

/* Hero home: zona overlay testo */
.home-hero__content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.home-hero__title {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.home-hero__sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: var(--space-md);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Sezione ambiti home: griglia 5 card (3+2) */
.home-ambiti .grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ── CHI SIAMO ── */

.about-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 20, 50, 0.55),
        rgba(11, 20, 50, 0.75)
    );
}

.about-hero__content {
    position: relative;
    z-index: 2;
}

/* ── COSA FACCIAMO ── */

.services-block {
    padding: var(--space-lg) 0;
}

.services-block:nth-child(odd) {
    background-color: var(--color-white);
}

.services-block:nth-child(even) {
    background-color: var(--color-grey-light);
}

.services-block__image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* ── APPROCCIO ── */

.approach-flow {
    position: relative;
}

.approach-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    position: relative;
}

.approach-step__number {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-round);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-small);
}

.approach-step__content {
    flex: 1;
}

/* Linea verticale connettrice */
.approach-flow::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background-color: var(--color-grey-mid);
}

/* ── CONTATTI ── */

.contact-form-section {
    position: relative;
}

/* Citazione / blockquote */
.quote-section {
    text-align: center;
    padding: var(--space-xl) 0;
}

.quote-section__text {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: var(--line-height-h3);
}

/* ── PAGINE LEGALI ── */

.legal-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content h3 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.legal-content p {
    margin-bottom: var(--space-sm);
}

/* ── 404 ── */

.page-404 {
    text-align: center;
    padding: var(--space-xl) 0;
}

.page-404__code {
    font-size: 120px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-grey-mid);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

/* ── RESPONSIVE PAGINE ── */

@media (max-width: 768px) {
    .home-ambiti .grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        min-height: 350px;
    }

    .approach-flow::before {
        display: none;
    }

    .page-404__code {
        font-size: 80px;
    }

    .quote-section__text {
        font-size: var(--font-size-h3);
    }
}
