/* ===== Page-specific (Home) ===== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero-sm.jpg');
    background-image: image-set(
        url('../images/hero-sm.webp') type('image/webp'),
        url('../images/hero-sm.jpg') type('image/jpeg')
    );
    background-position: center;
    background-size: cover;
    animation: breathe 25s infinite alternate ease-in-out;
    z-index: 1;
}
@media (min-width: 801px) {
    .hero-bg {
        background-image: url('../images/hero.jpg');
        background-image: image-set(
            url('../images/hero.webp') type('image/webp'),
            url('../images/hero.jpg') type('image/jpeg')
        );
    }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,7,7,0.1) 0%, rgba(7,7,7,0.6) 75%, var(--bg) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}
.hero h1 { font-size: clamp(3rem, 6vw, 6rem); margin-bottom: 1.5rem; }
.hero p {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.6;
}

.heritage {
    padding: var(--space-xl) 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    background: var(--bg);
    position: relative;
    z-index: 10;
}
.heritage-img { position: relative; height: 80vh; overflow: hidden; }
.heritage-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.heritage-content h2 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    margin-bottom: 2rem;
    color: var(--text-primary);
}
.heritage-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 450px;
}

.brand-universe { margin-bottom: var(--space-lg); }

#vis-orologeria { z-index: 1; clip-path: inset(0 0 0 0); }
#vis-gioielleria { z-index: 2; clip-path: inset(100% 0 0 0); }
#vis-salotti { z-index: 3; clip-path: inset(100% 0 0 0); }
#vis-orologeria { clip-path: inset(0 0 0 0); z-index: 0; }

.locations .location-item {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.private-client {
    background: var(--bg-soft);
    padding: var(--space-xl) 4rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center;
    position: relative; z-index: 10;
}
.private-content .section-title em { font-style: italic; color: var(--accent); }
.private-body {
    font-size: 1rem; line-height: 1.8; color: var(--text-secondary);
    letter-spacing: 0.04em; margin-bottom: 2rem; max-width: 440px;
}
.services-list { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 0; }
.service-item {
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex; justify-content: space-between; align-items: flex-start;
    transition: border-color 0.3s;
}
.service-item:hover { border-color: rgba(193, 166, 141, 0.4); }
.service-item:first-child { border-top: 1px solid var(--border-subtle); }
.service-num {
    font-size: 0.55rem; letter-spacing: 0.2em; color: var(--accent); opacity: 0.5;
    font-weight: 300; margin-top: 0.2rem;
}
.service-info { flex: 1; padding: 0 2rem; }
.service-name {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 300;
    color: var(--text-primary); letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.service-desc {
    font-size: 0.85rem; color: var(--text-secondary); letter-spacing: 0.05em;
    font-weight: 300;
}
.service-arrow { color: var(--accent); opacity: 0.4; font-size: 1.2rem; transition: all 0.4s; }
.service-item:hover .service-arrow { opacity: 1; transform: translateX(8px); }

.private-invitation { background: var(--bg-card); padding: 4rem; border: 1px solid var(--border-subtle); }
.invite-label {
    font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--accent); font-weight: 300; margin-bottom: 1.5rem;
}
.invite-title {
    font-family: var(--font-display); font-size: 2.2rem; font-weight: 300;
    color: var(--text-primary); line-height: 1.2; font-style: italic; margin-bottom: 1.2rem;
}
.invite-body {
    font-size: 0.9rem; line-height: 1.9; color: var(--text-secondary);
    letter-spacing: 0.04em; margin-bottom: 2.5rem;
}
.invite-form { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.invite-input {
    background: transparent; border: none; border-bottom: 1px solid rgba(193, 166, 141, 0.3);
    color: var(--text-primary); font-family: var(--font-body); font-size: 0.85rem;
    font-weight: 300; letter-spacing: 0.1em; padding: 0.9rem 0;
    outline: none; transition: border-color 0.3s;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.invite-input option { max-width: 100%; }
.invite-input::placeholder { color: rgba(236, 232, 225, 0.3); }
.invite-input:focus { border-color: var(--accent); }
.invite-btn {
    margin-top: 1.5rem; align-self: flex-start;
    font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
    font-family: var(--font-body); font-weight: 300;
    background: transparent; border: 1px solid var(--accent);
    color: var(--accent); padding: 1rem 2.5rem;
    transition: all 0.4s; display: inline-block;
}
.invite-btn:hover { background: var(--accent); color: var(--bg); }

/* ---------- Social wall (Elfsight Instagram) ---------- */
.social-wall {
    padding: var(--space-md) 4rem var(--space-md);
    background: var(--bg);
    position: relative;
    z-index: 10;
}
.social-wall-head {
    text-align: center;
    margin-bottom: 4rem;
}
.social-wall-head .eyebrow {
    display: block;
    margin-bottom: 1rem;
}
.social-wall-head h2 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    color: var(--text-primary);
    margin: 0;
}
.social-wall .elfsight-app-dfb3fe4a-2473-4a98-af8f-fdd3e1750e14 {
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hero { padding: 3rem 1.5rem; }
    .heritage { grid-template-columns: 1fr; gap: 3rem; padding: var(--space-md) 1.5rem; }
    .heritage-img { height: 60vh; }
    .private-client { grid-template-columns: 1fr; gap: 3rem; padding: var(--space-md) 1.5rem; }
    .private-invitation { padding: 2rem; }
    .social-wall { padding: var(--space-md) 1.5rem; }
    .social-wall-head { margin-bottom: 2.5rem; }
}
