/* =============================================
   FILE: assets/css/contacts.css
   ART-FOCUS STUDIO — Сторінка контактів
   v3 — performance optimized

   ЗМІНИ vs v2:
   ─────────────────────────────────────────────
   • filter:blur() на орбах ПРИБРАНО — замінено SVG-орбами в HTML
     (браузер не перераховує blur при кожному scroll/resize)
   • backdrop-filter на .ct-map__pin прибрано (викликало composite layer)
   • will-change додано ТІЛЬКИ до елементів з transform-анімацією
   • Усі transition скорочено до transform + opacity (GPU-only)
   • Шрифти: font-display:swap + preconnect (у functions.php)
   • Прибрано зайві transition на статичних елементах
   • contain:layout style на секціях де немає overflow залежностей
   ============================================= */

/* =============================================
   FONTS — підключай тільки потрібні ваги
   У functions.php:

   wp_enqueue_style(
     'af-unbounded',
     'https://fonts.googleapis.com/css2?family=Unbounded:wght@700;900&display=swap',
     [], null
   );
   // Тіло сторінки — системний стек, без завантаження
   ============================================= */

/* =============================================
   CONTAINER
   ============================================= */
.page-template-template-contacts .container,
.page-template-templates-template-contacts .container {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

@media (max-width: 1024px) {
    .page-template-template-contacts .container,
    .page-template-templates-template-contacts .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .page-template-template-contacts .container,
    .page-template-templates-template-contacts .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =============================================
   HERO
   ============================================= */
.ct-hero {
    position: relative;
    padding: clamp(80px, 10vw, 120px) 0 clamp(50px, 6vw, 80px);
    overflow: hidden;
    text-align: center;
}

.ct-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* SVG-орби: рендеряться один раз браузером, не тригерять layout */
.ct-hero__orbs-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ct-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    /* mask замість filter — не викликає compositing layer */
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.ct-hero__inner {
    position: relative;
    z-index: 1;
}

.ct-hero__title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.08;
    color: var(--color-text);
    margin-bottom: clamp(14px, 2vw, 20px);
    letter-spacing: -0.02em;
}

.ct-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, #e8d5a3 0%, #c4a8a5 50%, #8b665e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ct-hero__desc {
    font-size: clamp(13px, 1.6vw, 16px);
    font-weight: 300;
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    line-height: 1.75;
}

.ct-hero__stats {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: clamp(14px, 2vw, 22px) clamp(20px, 3vw, 36px);
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
}

.ct-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(16px, 2.5vw, 28px);
}

.ct-hero__stat-sep {
    width: 1px;
    height: 36px;
    background: var(--color-border);
    flex-shrink: 0;
}

.ct-hero__stat-val {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 900;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 5px;
}

.ct-hero__stat-lbl {
    font-size: clamp(9px, 1vw, 11px);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* =============================================
   CONTACT CARDS
   ============================================= */
.ct-cards {
    padding: 0 0 clamp(40px, 5vw, 70px);
}

.ct-cards__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ct-card {
    position: relative;
    padding: clamp(18px, 2vw, 26px);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    /* GPU-only transitions — не тригерять layout */
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform; /* промотуємо на GPU заздалегідь */
}

.ct-card:hover {
    border-color: rgba(196,168,165,0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* Glow: замість position:absolute radial-gradient + opacity transition
   використовуємо ::after pseudo — менше DOM-вузлів */
.ct-card::before {
    content: '';
    position: absolute;
    top: -40px; left: -40px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,168,165,0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.ct-card--telegram::before {
    background: radial-gradient(circle, rgba(0,136,204,0.22) 0%, transparent 70%);
}
.ct-card:hover::before { opacity: 1; }

.ct-card__icon {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(196,168,165,0.1);
    border: 1px solid rgba(196,168,165,0.2);
    border-radius: 12px;
    color: #c4a8a5;
    flex-shrink: 0;
    /* Тільки transform, без layout-triggering */
    transition: background 0.25s ease, transform 0.25s ease;
}
.ct-card:hover .ct-card__icon {
    background: rgba(196,168,165,0.18);
    transform: scale(1.05);
}

.ct-card__icon--telegram {
    background: rgba(0,136,204,0.15);
    border-color: rgba(0,136,204,0.25);
    color: #29b6f6;
}
.ct-card--telegram:hover .ct-card__icon { background: rgba(0,136,204,0.25); }

.ct-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.ct-card__label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.ct-card__value {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(11px, 1.1vw, 14px);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    word-break: break-all;
    transition: color 0.25s ease;
}
.ct-card:hover .ct-card__value { color: #c4a8a5; }

.ct-card__note {
    font-size: 11px;
    color: var(--color-text-muted);
}

.ct-card__arrow {
    position: absolute;
    top: 20px; right: 20px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    /* transform + opacity = GPU-only, без layout */
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.ct-card__arrow svg { color: var(--color-text-muted); }
.ct-card:hover .ct-card__arrow { opacity: 1; transform: translateX(0); }

/* =============================================
   SECTION LABEL
   ============================================= */
.ct-section-label {
    font-family: 'Unbounded', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c4a8a5;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ct-section-label::before {
    content: '';
    width: 20px; height: 1px;
    background: #c4a8a5;
    flex-shrink: 0;
}

/* =============================================
   MAIN (info + form)
   ============================================= */
.ct-main { padding: 0 0 clamp(40px, 5vw, 70px); }

.ct-main__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(30px, 4vw, 56px);
    align-items: start;
}

.ct-info__title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: clamp(20px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ct-info-block {
    padding: clamp(18px, 2vw, 26px);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    margin-bottom: 14px;
    /* Тільки border-color — не тригерить compositing */
    transition: border-color 0.25s ease;
}
.ct-info-block:hover { border-color: rgba(196,168,165,0.2); }

.ct-info-block__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ct-info-block__icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(196,168,165,0.1);
    border: 1px solid rgba(196,168,165,0.2);
    border-radius: 9px;
    color: #c4a8a5;
    flex-shrink: 0;
}

.ct-info-block__title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.ct-info-block__text {
    font-size: clamp(12px, 1.1vw, 14px);
    color: var(--color-text-muted);
    line-height: 1.7;
}
.ct-info-block__text--muted { font-size: 12px; margin-top: 6px; opacity: 0.7; }

/* Hours */
.ct-hours { display: flex; flex-direction: column; }

.ct-hours__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: clamp(11px, 1vw, 13px);
}
.ct-hours__row:last-child { border-bottom: none; }
.ct-hours__row.is-today {
    background: rgba(196,168,165,0.05);
    border-radius: 8px;
    padding: 9px 10px;
    margin: 0 -10px;
}

.ct-hours__day { color: var(--color-text-muted); }
.ct-hours__time { font-weight: 600; color: var(--color-text); }
.ct-hours__time--closed { color: rgba(255,255,255,0.2); font-weight: 400; }
.ct-hours__row.is-today .ct-hours__time { color: #c4a8a5; }

/* Socials */
.ct-socials { display: flex; flex-direction: column; gap: 8px; }

.ct-socials__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.ct-socials__item svg { flex-shrink: 0; color: #c4a8a5; }
.ct-socials__item:hover {
    border-color: rgba(196,168,165,0.3);
    color: var(--color-text);
    background: rgba(196,168,165,0.05);
}
.ct-socials__item--tg svg { color: #29b6f6; }
.ct-socials__item--tg:hover { border-color: rgba(41,182,246,0.3); background: rgba(41,182,246,0.05); }
.ct-socials__item--fb svg { color: #1877f2; }
.ct-socials__item--fb:hover { border-color: rgba(24,119,242,0.3); background: rgba(24,119,242,0.05); }

/* =============================================
   FORM
   ============================================= */
.ct-form-wrap {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: clamp(24px, 3vw, 40px);
    position: sticky;
    top: 90px;
}

.ct-form-wrap__title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.ct-form-wrap__desc {
    font-size: clamp(12px, 1vw, 14px);
    color: var(--color-text-muted);
    margin-bottom: clamp(20px, 2.5vw, 28px);
    line-height: 1.6;
}

.ct-form { display: flex; flex-direction: column; gap: 16px; }

.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ct-form__group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ct-form__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.ct-form__input,
.ct-form__select,
.ct-form__textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: clamp(13px, 1vw, 14px);
    color: var(--color-text);
    outline: none;
    /* box-shadow та border — не layout, прийнятно */
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
}

.ct-form__input::placeholder,
.ct-form__textarea::placeholder {
    color: rgba(255,255,255,0.2);
}

.ct-form__input:focus,
.ct-form__select:focus,
.ct-form__textarea:focus {
    border-color: rgba(196,168,165,0.5);
    background: rgba(196,168,165,0.04);
    box-shadow: 0 0 0 3px rgba(196,168,165,0.1);
}

.ct-form__select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a0a09a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}
.ct-form__select option { background: #1a1a1a; color: var(--color-text); }

.ct-form__textarea { resize: vertical; min-height: 100px; }

.ct-form__err {
    font-size: 11px;
    color: #f87171;
    display: none;
}
.ct-form__group.has-error .ct-form__err { display: block; }
.ct-form__group.has-error .ct-form__input,
.ct-form__group.has-error .ct-form__select,
.ct-form__group.has-error .ct-form__textarea {
    border-color: rgba(248,113,113,0.5);
    box-shadow: 0 0 0 3px rgba(248,113,113,0.1);
}

.ct-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 28px;
    background: linear-gradient(135deg, #c4a8a5 0%, #8b665e 100%);
    border: none;
    border-radius: 12px;
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    /* transform + box-shadow — GPU тільки */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
    margin-top: 2px;
}
.ct-form__submit svg { transition: transform 0.25s ease; }
.ct-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(196,168,165,0.3);
}
.ct-form__submit:hover svg { transform: translateX(4px); }
.ct-form__submit:active { transform: translateY(0); }

/* Success */
.ct-form__success {
    padding: 32px 24px;
    background: rgba(74,222,128,0.06);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: 14px;
    text-align: center;
    animation: ctSlideUp 0.4s ease forwards;
}
.ct-form__success[hidden] { display: none; }

.ct-form__success-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(74,222,128,0.15);
    border-radius: 50%;
    color: #4ade80;
}

.ct-form__success-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}
.ct-form__success-text {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Використовуємо тільки transform + opacity — жодного layout */
@keyframes ctSlideUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   MAP — lazy loaded
   ============================================= */
.ct-map { padding: 0 0 clamp(40px, 5vw, 70px); }

.ct-map__wrap {
    position: relative;
    height: clamp(260px, 35vw, 440px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.ct-map__iframe {
    width: 100%; height: 100%;
    border: none;
    /* grayscale + brightness — важкий filter.
       Залишаємо, але застосовуємо тільки після завантаження (.map-loaded) */
    transition: opacity 0.4s ease;
    opacity: 0;
}
.ct-map__wrap.map-loaded .ct-map__iframe {
    opacity: 1;
    filter: grayscale(1) brightness(0.55) contrast(1.15);
}

/* Placeholder поки карта не завантажена */
.ct-map__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--color-bg-card);
    color: var(--color-text-muted);
    font-size: 13px;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.ct-map__placeholder svg { opacity: 0.4; }
.ct-map__wrap.map-loaded .ct-map__placeholder { opacity: 0; pointer-events: none; }

.ct-map__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.55) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.ct-map__pin {
    position: absolute;
    bottom: 24px; left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: rgba(10,10,10,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    /* backdrop-filter прибрано — викликало composite layer на кожному кадрі */
    z-index: 3;
}

.ct-map__pin-icon {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(196,168,165,0.15);
    border-radius: 9px;
    color: #c4a8a5;
    flex-shrink: 0;
}

.ct-map__pin-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2px;
}
.ct-map__pin-addr {
    font-size: 10px;
    color: var(--color-text-muted);
}

/* =============================================
   CTA BOTTOM
   ============================================= */
.ct-cta { padding: 0 0 clamp(60px, 8vw, 90px); }

.ct-cta__inner {
    position: relative;
    padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 72px);
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    text-align: center;
    overflow: hidden;
}

.ct-cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(196,168,165,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139,102,94,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.ct-cta__content { position: relative; z-index: 1; }

.ct-cta__tag {
    display: inline-block;
    font-family: 'Unbounded', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #c4a8a5;
    margin-bottom: 16px;
}

.ct-cta__title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(22px, 4vw, 44px);
    font-weight: 900;
    color: var(--color-text);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.ct-cta__title em {
    font-style: normal;
    background: linear-gradient(135deg, #e8d5a3, #c4a8a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ct-cta__text {
    font-size: clamp(13px, 1.3vw, 15px);
    color: var(--color-text-muted);
    margin-bottom: clamp(24px, 3vw, 36px);
}

.ct-cta__btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ct-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(12px, 1.5vw, 15px) clamp(22px, 3vw, 32px);
    border-radius: 10px;
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(9px, 0.9vw, 11px);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
    cursor: pointer;
    border: none;
}
.ct-btn:hover { transform: translateY(-2px); }

.ct-btn--primary {
    background: linear-gradient(135deg, #c4a8a5, #8b665e);
    color: #fff;
    box-shadow: 0 8px 24px rgba(196,168,165,0.22);
}
.ct-btn--primary:hover { box-shadow: 0 12px 36px rgba(196,168,165,0.32); }

.ct-btn--tg {
    background: linear-gradient(135deg, #0088cc, #00acf5);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,136,204,0.22);
}
.ct-btn--tg:hover { box-shadow: 0 12px 36px rgba(0,136,204,0.32); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .ct-cards__inner { grid-template-columns: repeat(2, 1fr); }
    .ct-main__inner  { grid-template-columns: 1fr; gap: 32px; }
    .ct-form-wrap    { position: static; }
}

@media (max-width: 900px) {
    .ct-hero__title { font-size: clamp(26px, 5.5vw, 42px); }
}

@media (max-width: 768px) {
    .ct-hero         { padding: 90px 0 50px; }
    .ct-hero__stats  { padding: 16px 20px; width: 100%; box-sizing: border-box; }
    .ct-hero__stat   { padding: 0 14px; }
    .ct-hero__stat-val { font-size: 20px; }
    .ct-hero__stat-lbl { font-size: 9px; }

    .ct-cards__inner { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ct-card         { padding: 16px; border-radius: 14px; }
    .ct-card__value  { font-size: 12px; }

    .ct-form-wrap    { padding: 22px 18px; border-radius: 16px; }
    .ct-form__row    { grid-template-columns: 1fr; gap: 14px; }
    .ct-form         { gap: 14px; }

    .ct-cta__inner   { padding: 36px 22px; border-radius: 18px; }
    .ct-cta__btns    { flex-direction: column; align-items: stretch; }
    .ct-btn          { justify-content: center; text-align: center; }
    .ct-map__wrap    { height: 300px; border-radius: 14px; }
    .ct-map__pin     { left: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
    .ct-hero         { padding: 80px 0 40px; }
    .ct-hero__title  { font-size: 24px; }
    .ct-hero__desc   { font-size: 13px; }
    .ct-hero__stats  { flex-direction: column; gap: 14px; padding: 18px 20px; }
    .ct-hero__stat-sep { width: 40px; height: 1px; }
    .ct-hero__stat   { padding: 0; }

    .ct-cards__inner { grid-template-columns: 1fr; gap: 10px; }
    .ct-card         { padding: 14px; border-radius: 12px; }
    .ct-card__icon   { width: 40px; height: 40px; border-radius: 10px; }
    .ct-card__value  { font-size: 13px; }

    .ct-info__title  { font-size: 18px; }
    .ct-info-block   { padding: 16px; border-radius: 12px; }

    .ct-form-wrap    { padding: 18px 16px; border-radius: 14px; }
    .ct-form-wrap__title { font-size: 17px; }
    .ct-form__input,
    .ct-form__select,
    .ct-form__textarea { padding: 11px 13px; font-size: 14px; border-radius: 9px; }
    .ct-form__submit { padding: 14px 20px; font-size: 10px; border-radius: 10px; }

    .ct-map__wrap    { height: 260px; border-radius: 12px; }
    .ct-map__pin     { left: 12px; bottom: 12px; right: 12px; padding: 11px 14px; }

    .ct-cta__inner   { padding: 30px 16px; border-radius: 14px; }
    .ct-cta__title   { font-size: 22px; }
    .ct-cta__text    { font-size: 13px; }
    .ct-btn          { padding: 13px 20px; font-size: 10px; border-radius: 9px; }
}

/* =============================================
   REDUCE MOTION — поважаємо системні налаштування
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    .ct-card,
    .ct-card__icon,
    .ct-card__arrow,
    .ct-card::before,
    .ct-form__submit,
    .ct-btn,
    .ct-socials__item,
    .ct-info-block {
        transition: none !important;
        animation: none !important;
        will-change: auto !important;
    }
    .ct-form__success { animation: none; }
}