/* ══════════════════════════════════════
   ПРО НАС — contacts.css
   ══════════════════════════════════════ */

/* ── Page wrapper ──────────────────────── */
.about-wrap {
    max-width: 1100px;
    margin: 1.5rem auto 0;
    padding: 0 1rem 3rem;
}

/* ── Hero (legacy, kept for backward compat) ── */
.about-hero {
    position: relative;
    min-height: 340px;
    background: url('../images/hero-bg.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    margin-bottom: 0;
}
.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24,26,27,.85) 0%, rgba(36,27,0,.75) 100%);
}
.about-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 1.5rem 3.5rem;
    max-width: 700px;
}
.about-hero__label {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffcc00;
    margin: 0 0 .75rem;
}
.about-hero__title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff5c3;
    margin: 0 0 1rem;
    line-height: 1.15;
}
.about-hero__sub {
    font-size: 1.1rem;
    color: #e8e0c8;
    margin: 0 0 2rem;
    line-height: 1.6;
}
.about-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #ffcc00;
    color: #23272b;
    font-weight: 700;
    font-size: 1.05rem;
    padding: .85rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background .18s, transform .15s, box-shadow .18s;
    box-shadow: 0 4px 16px rgba(255,179,0,.35);
}
.about-hero__btn:hover {
    background: #ebbc00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,179,0,.45);
    text-decoration: none;
    color: #1a1a1a;
}

/* ── Stats strip ───────────────────────── */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #1e2124;
    border-radius: 16px;
    border: 1px solid rgba(255,204,0,.15);
    margin: 2rem auto;
    max-width: 1100px;
    overflow: hidden;
}
.about-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.8rem 1rem;
    border-right: 1px solid rgba(255,204,0,.1);
    text-align: center;
    gap: .3rem;
}
.about-stats__item:last-child { border-right: none; }
.about-stats__num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffcc00;
    line-height: 1;
}
.about-stats__label {
    font-size: .85rem;
    color: #aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ── Body (story + map) ────────────────── */
.about-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    align-items: start;
}

.about-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffcc00;
    margin: 0 0 1.2rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.about-section-title span {
    display: inline-block;
    width: 5px;
    height: 1.4rem;
    background: #ffcc00;
    border-radius: 3px;
    flex-shrink: 0;
}
.about-section-title--center {
    justify-content: center;
}

.about-story {
    background: #1e2124;
    border: 1px solid rgba(255,204,0,.1);
    border-radius: 16px;
    padding: 2rem;
    color: #ccc;
    line-height: 1.75;
    font-size: .97rem;
}
.about-story p { margin: 0 0 1rem; }
.about-story p:last-of-type { margin-bottom: 0; }

.about-values {
    list-style: none;
    padding: 0;
    margin: .5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.about-values li {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #ddd;
    font-size: .95rem;
}
.about-values li i {
    color: #ffcc00;
    font-size: 1.05rem;
    width: 20px;
    flex-shrink: 0;
}

/* Map column */
.about-map-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about-map-wrap {
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(255,204,0,.15);
    background: #1e2124;
}
.about-route-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, #ffcc00 0%, #ffb300 100%);
    color: #1a1200;
    font-weight: 700;
    font-size: .95rem;
    padding: .65rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 3px 14px rgba(255,179,0,.3);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}
.about-route-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform .55s ease;
}
.about-route-btn:hover::after { transform: translateX(100%); }
.about-route-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(255,179,0,.48);
    filter: brightness(1.06);
    color: #1a1200;
    text-decoration: none;
}
.about-route-btn:active { transform: translateY(0); filter: none; }
.about-route-btn:focus-visible { outline: 2px solid #ffb300; outline-offset: 3px; }
.about-contacts-list {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    background: #1e2124;
    border: 1px solid rgba(255,204,0,.1);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
}
.about-contact-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    font-size: .97rem;
    color: #ddd;
}
.about-contact-row a {
    color: #ddd;
    text-decoration: none;
    transition: color .18s;
}
.about-contact-row a:hover { color: #ffcc00; text-decoration: none; }
.about-contact-icon {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── Socials ───────────────────────────── */
.about-socials {
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    text-align: center;
}
.about-socials__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: .5rem;
}
.about-social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: 1.4rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    min-width: 110px;
    transition: transform .18s, box-shadow .18s, filter .18s;
    color: #fff;
}
.about-social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    text-decoration: none;
    color: #fff;
    filter: brightness(1.1);
}
.about-social-card--insta { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.about-social-card--fb    { background: #1877f3; }
.about-social-card--tg    { background: #229ed9; }
.about-social-card--viber { background: #7f5af0; }
.about-social-card--yt    { background: #ef4444; }

/* ── CTA ───────────────────────────────── */
.about-cta {
    max-width: 1100px;
    margin: 0 auto 3rem;
    background: linear-gradient(135deg, #1e2124, #2a2000);
    border: 1px solid rgba(255,204,0,.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
}
.about-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffcc00;
    margin: 0 0 .8rem;
}
.about-cta p {
    color: #bbb;
    font-size: 1rem;
    margin: 0 0 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}
.about-cta__btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.about-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1rem;
    padding: .85rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background .18s, transform .15s, box-shadow .18s;
}
.about-cta__btn--primary {
    background: #ffcc00;
    color: #23272b;
    box-shadow: 0 4px 16px rgba(255,179,0,.3);
}
.about-cta__btn--primary:hover {
    background: #ebbc00;
    color: #1a1a1a;
    transform: translateY(-2px);
    text-decoration: none;
}
.about-cta__btn--outline {
    background: transparent;
    color: #ffcc00;
    border: 2px solid rgba(255,204,0,.5);
}
.about-cta__btn--outline:hover {
    background: rgba(255,204,0,.1);
    color: #ffcc00;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ── Responsive ────────────────────────── */
@media (max-width: 900px) {
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .about-stats__item { border-right: none; border-bottom: 1px solid rgba(255,204,0,.1); }
    .about-stats__item:nth-child(2n) { border-right: none; }
    .about-stats__item:nth-last-child(-n+2) { border-bottom: none; }
    .about-body { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-hero__title { font-size: 2.2rem; }
    .about-cta { padding: 2rem 1rem; }
    .about-cta h2 { font-size: 1.4rem; }
}

@media (max-width: 600px) {
    .about-hero { min-height: 280px; }
    .about-hero__title { font-size: 1.8rem; }
    .about-hero__sub { font-size: .95rem; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .about-stats__num { font-size: 1.8rem; }
    .about-story { padding: 1.2rem; }
    .about-social-card { padding: 1rem 1.2rem; min-width: 80px; font-size: .85rem; }
    .about-cta__btns { flex-direction: column; align-items: center; }
    .about-cta__btn { width: 100%; justify-content: center; }
}


.contacts-section h1 {
    font-size: 3em;
    /* text-align: center; */
    margin-bottom: 0.5rem;
    color: #ffb300;
}

.contacts-grid {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contacts-info {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 240px;
    max-width: 320px;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #181a1b;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(255, 179, 0, 0.04);
    color: #fff;
    font-size: 1.08rem;
}

.contact-icon {
    font-size: 1.6rem;
    color: #ffb300;
    margin-top: 2px;
    min-width: 2rem;
}

.contacts-form-map {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 300px;
}

.contact-form {
    background: #181a1b;
    padding: 1.5rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(255, 179, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form h2 {
    color: #ffb300;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-form input,
.contact-form textarea {
    background: #23272b;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffb300;
    background: #23272b;
}

.contact-form button {
    background: #ffb300;
    color: #23272b;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.contact-form button:hover {
    background: #ffd54f;
    color: #181a1b;
}

.contacts-map {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(255, 179, 0, 0.04);
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.fab,
.fas {
    font-size: 1.5em;
}

.fas {
    font-size: 1.2em;
}

/* Адаптивність */
@media (max-width: 900px) {
    .contacts-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .contacts-form-map {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .contacts-section {
        padding: 1rem 0.2rem;
    }

    .contact-form {
        padding: 1rem 0.5rem;
    }
}