/* ---- CHI-SIAMO STYLES ---- */

/* ── Timeline ──────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold-bg);
}

.timeline-item {
    margin-bottom: 32px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--ivory);
}

.timeline-year {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 2px;
}

.timeline-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 0.88rem;
    color: var(--text-light);
}


/* -------------------------------------- */

/* ── Premium Layouts (Used in Chi Siamo, Servizi) ── */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 72px;
    box-shadow: inset 0 -100px 100px rgba(0, 0, 0, 0.2);
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/negozio-esterno-strada.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    z-index: 0;
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Disable fixed attachment on iOS/mobile (causes rendering bugs) */
@media (max-width: 768px) {
    .about-hero-bg {
        background-attachment: scroll;
        transform: none;
    }

    .coll-hero-bg {
        background-attachment: scroll;
    }
}

.about-hero:hover .about-hero-bg {
    transform: scale(1.05);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(26, 26, 26, 0.2) 0%,
            rgba(26, 26, 26, 0.6) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 5vw;
}

.about-hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.about-hero-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 40px auto 0;
    opacity: 0.8;
}

/* ── Zigzag Storytelling / Service Rows ── */
/* ── Story Section Redesign ── */
.story-row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 10vw;
    align-items: center;
    margin-bottom: 180px;
    padding: 0;
}

.story-row.story-reverse {
    grid-template-columns: 0.85fr 1.15fr;
    direction: rtl;
}

.story-row.story-reverse>* {
    direction: ltr;
}

.story-image-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 750px;
    box-shadow: 60px 60px 120px rgba(0, 0, 0, 0.04);
}

.story-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.story-row:hover .story-image-wrap img {
    transform: scale(1.08);
}

.story-text {
    padding: 0 40px;
}

.story-year {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 25px;
    display: block;
    font-style: italic;
}

.story-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--dark);
    margin-bottom: 35px;
    line-height: 1;
}

.story-text p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-light);
    font-weight: 300;
}

.service-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text);
}

.service-features-list i {
    color: var(--gold);
}

/* ── Intro Glass Card ── */
.intro-glass-card {
    background: var(--white);
    padding: 80px 60px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    max-width: 900px;
    margin: 0 auto;
}

.intro-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 30px;
}

/* ── Process Steps ── */
.process-section {
    padding: 120px 0;
    background: #0a0804;
}

.process-step {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    /* More editorial */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: var(--gold);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 20px;
}

.process-step h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.process-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ── FAQ Refinement ── */
.faq-item {
    border: none;
    background: var(--ivory);
    margin-bottom: 15px;
    border-radius: 15px;
}

.faq-question {
    background: transparent;
    padding: 25px 30px;
    border-radius: 15px;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
}

.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ── Premium Team Grid ── */
.team-section {
    background: #111;
    padding: 120px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    background: transparent;
    border: none;
}

.team-portrait {
    position: relative;
    aspect-ratio: 4/5;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}

.team-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.4s ease;
}

.team-info-hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    margin-top: 15px;
}

.team-portrait:hover img {
    transform: scale(1.08);
    filter: grayscale(40%) brightness(0.6);
}

.team-portrait:hover .team-overlay {
    background: rgba(184, 146, 62, 0.85);
    backdrop-filter: blur(5px);
}

.team-portrait:hover .team-info-hidden {
    max-height: 200px;
    opacity: 1;
}

.team-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.1;
    transition: transform 0.4s ease;
}

.team-role {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 600;
}

.team-portrait:hover .team-name {
    transform: translateY(0);
}

.team-portrait:hover .team-role {
    color: #fff;
}

.team-bio {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}


/* -------------------------------------- */