/* Контакти – mobile first: хората, офиси, ЧЗВ */

/* Глава: бетонна плоча, в която „потъват“ картите на хората */
.c-head { padding: 40px 0 96px; }
.c-head__title {
    font: 900 clamp(2rem, 9.5vw, 4.6rem)/1.02 var(--f-display);
    letter-spacing: -.02em; max-width: 14ch;
}
.c-head__lead { max-width: 46ch; margin: 16px 0 0; font-size: 1.05rem; }
.c-head__jump {
    display: inline-flex; align-items: center; gap: .5em; margin-top: 20px;
    font: 500 .8rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
    text-decoration: none; border-bottom: 2px solid var(--ochre); padding-bottom: 2px;
}
.c-head__jump::after { content: "↓"; }

/* Хората */
.c-people { margin-top: -64px; padding-bottom: 56px; }
.people { display: grid; gap: 40px; }
.person { display: flex; flex-direction: column; }
.person__photo {
    position: relative; margin: 0; overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0; background: var(--slab-deep);
}
.person__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
/* Името стои върху снимката, като надпис върху мостра */
.person__photo::after {
    content: ""; position: absolute; inset: 50% 0 0;
    background: linear-gradient(transparent, rgba(30, 31, 33, .82));
}
.person__name {
    position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
    font: 700 clamp(1.3rem, 6vw, 1.8rem)/1.1 var(--f-display); color: #fff;
}
/* Подпис: телефонът е охрена лента, „закована“ под снимката */
.person__phone {
    display: flex; flex-direction: column; gap: 2px;
    padding: 14px 16px 16px; background: var(--grain), var(--ochre); color: var(--graphite);
    text-decoration: none; white-space: nowrap;
    font: 900 clamp(1.3rem, 6.4vw, 2rem)/1.1 var(--f-display); letter-spacing: -.02em;
    transition: background-color .15s;
}
.person__phone:hover { background-color: #dba035; }
.person__hint { font: 500 .7rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.person__hint::after { content: " →"; }
.person__email {
    align-self: flex-start; margin-top: 12px; padding: 6px 0;
    font: .85rem var(--f-mono); color: var(--wet);
    text-decoration-color: var(--ochre); text-underline-offset: 3px;
}

.offices { display: grid; margin: 48px 0 0; border-top: 2px solid var(--graphite); }
.offices div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.offices dt { font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--wet); }
.offices dd { margin: 4px 0 0; font-weight: 500; }

/* ЧЗВ: тъмна секция, въпросите са карти */
.c-faq { background: var(--grain), var(--graphite); color: #f1f0ed; padding: 56px 0 64px; }
.c-faq__in { display: grid; gap: 32px; }
.c-faq__head .label { color: var(--ochre); }
.c-faq__title { font: 900 clamp(1.9rem, 8.5vw, 3.4rem)/1.04 var(--f-display); letter-spacing: -.02em; }
.c-faq__head p { margin: 16px 0 0; color: #b9b8b4; max-width: 34ch; }
.c-faq__head a { color: #fff; font-weight: 600; white-space: nowrap; text-decoration-color: var(--ochre); text-underline-offset: 3px; }

.c-faq__groups { display: grid; gap: 32px; }
.qa-group { display: grid; gap: 8px; }
.qa-group__topic {
    display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
    font: 500 .75rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ochre);
}
.qa-group__topic span {
    min-width: 22px; height: 22px; display: grid; place-items: center;
    border: 1px solid rgba(201, 142, 34, .5); border-radius: 11px; font-size: .7rem; letter-spacing: 0;
}
.qa {
    background: rgba(255, 255, 255, .05); border-radius: var(--radius);
    box-shadow: inset 4px 0 0 transparent; transition: background-color .2s, box-shadow .2s;
}
.qa:hover { background: rgba(255, 255, 255, .08); }
.qa[open] { background: rgba(255, 255, 255, .09); box-shadow: inset 4px 0 0 var(--ochre); }
.qa summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 16px 18px 20px; min-height: 64px;
    font: 600 1rem/1.3 var(--f-display); color: #fff;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
    content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center;
    border-radius: 50%; border: 2px solid var(--ochre); color: var(--ochre);
    font: 700 1.1rem/1 var(--f-display); transition: transform .2s, background-color .2s, color .2s;
}
.qa[open] summary::after { transform: rotate(45deg); background: var(--ochre); color: var(--graphite); }
.qa summary:focus-visible { outline-offset: -3px; }
.qa p { margin: 0; padding: 0 20px 20px; color: #d6d5d1; max-width: 62ch; }

@media (min-width: 600px) {
    .people { grid-template-columns: minmax(0, 640px); gap: 24px; }
    .person__photo img { aspect-ratio: 4 / 5; }
    .person__phone { font-size: clamp(1.1rem, 3vw, 2rem); }
}

@media (min-width: 900px) {
    .c-head { padding: 72px 0 140px; }
    .c-people { margin-top: -96px; padding-bottom: 88px; }
    .people { gap: 40px; }
    .person__photo img { aspect-ratio: 5 / 4; }
    .person__name { left: 24px; bottom: 20px; }
    .person__phone { padding: 18px 24px 20px; font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
    .offices { grid-template-columns: repeat(3, 1fr); column-gap: 40px; margin-top: 64px; }
    .c-faq { padding: 96px 0; }
    .c-faq__in { grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
    .c-faq__head { position: sticky; top: 96px; }
    .qa summary { font-size: 1.12rem; padding: 22px 20px 22px 28px; }
    .qa p { padding: 0 28px 24px; }
}
