/* Home hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px 24px 80px;
    background: var(--c-bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 55% at 8% 55%, var(--c-primary-light) 0%, transparent 65%),
        radial-gradient(ellipse 40% 35% at 90% 15%, var(--c-accent-light) 0%, transparent 60%);
}

.hero-content {
    text-align: center;
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 100px;
    height: auto;
    margin: 0 auto 28px;
}

.hero-eyebrow {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 22px;
}

.hero-content h1 {
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--c-text);
    margin-bottom: 26px;
}

.hero-content h1 em {
    color: var(--c-primary);
    font-style: italic;
}

.hero-sub {
    font-size: 17px;
    color: var(--c-text-muted);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 44px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--c-primary);
    border-radius: 50%;
    animation: sdrop 2s ease-in-out infinite;
}

@keyframes sdrop {

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

    50% {
        transform: translateY(14px);
        opacity: 0.25;
    }
}

/* Chi Siamo teaser */
.cs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cs-text h2 {
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 22px;
}

.cs-text p {
    color: var(--c-text-muted);
    line-height: 1.85;
    margin-bottom: 16px;
    font-size: 16px;
}

.cs-text .btn-primary {
    margin-top: 12px;
}

.quote-card {
    background: var(--c-surface);
    border-left: 4px solid var(--c-accent);
    padding: 44px;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.quote-card blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.65;
    color: var(--c-text);
    margin-bottom: 20px;
}

.quote-card cite {
    font-size: 13.5px;
    color: var(--c-text-muted);
    font-style: normal;
    font-weight: 500;
}

.cs-visual {
    position: relative;
}

.cs-deco {
    position: absolute;
    width: 160px;
    height: 160px;
    background: var(--c-primary-light);
    border-radius: 6px;
    bottom: -20px;
    right: -20px;
    z-index: 0;
}

/* Pilastri preview */
.pilastri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pilastro-card {
    background: var(--c-bg);
    padding: 34px 28px;
    border-radius: 6px;
    border: 1px solid var(--c-border);
    transition: box-shadow 0.3s, transform 0.3s;
}

.pilastro-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    transform: translateY(-4px);
}

.pilastro-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--c-primary);
    opacity: 0.18;
    line-height: 1;
    margin-bottom: 14px;
}

.pilastro-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.pilastro-card p {
    font-size: 14.5px;
    color: var(--c-text-muted);
    line-height: 1.75;
}

.pilastri-cta {
    text-align: center;
}

/* Servizi teaser */
.servizi-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.servizio-row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid var(--c-border);
    transition: background 0.2s;
}

.servizio-row:first-child {
    border-top: 1px solid var(--c-border);
}

.servizio-icon {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--c-primary-light);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.servizio-row h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.servizio-row p {
    font-size: 14.5px;
    color: var(--c-text-muted);
    line-height: 1.7;
}

.servizio-arrow {
    margin-left: auto;
    color: var(--c-accent);
    font-size: 22px;
    align-self: center;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.servizio-row:hover .servizio-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.servizio-row:hover {
    background: var(--c-surface);
    margin: 0 -32px;
    padding-left: 32px;
    padding-right: 32px;
}

/* CTA banner */
.cta-banner {
    background: var(--c-primary);
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.cta-banner h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive home */
@media (max-width: 768px) {
    .cs-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .cs-deco {
        display: none;
    }

    .pilastri-grid {
        grid-template-columns: 1fr;
    }

    .servizio-row:hover {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
}