:root {
    --bg: #FAFAF9;
    --card: #ffffff;
    --ink: #1f2328;
    --muted: #5b6470;
    --line: #ece8e1;
    --accent: #e65100;
    --accent-ink: #b83e00;
    --accent-soft: #fff1e6;
    --aegean: #1d4f91;
    --aegean-soft: #e9f0fa;
    --ok: #2e7d32;
    --ok-soft: #eaf6ea;
    --warn-soft: #fff6dd;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(31, 35, 40, .04), 0 8px 24px rgba(31, 35, 40, .06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent-ink);
}

a:hover {
    color: var(--accent);
}

.wrap {
    width: min(1120px, 100% - 32px);
    margin-inline: auto;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: var(--ink);
}

/* ---------- Шапка ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 12px;
}

.brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}

.brand span {
    color: var(--accent);
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: block;
    padding: 6px 2px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--accent-ink);
}

.has-sub {
    position: relative;
}

.sub {
    position: absolute;
    top: 100%;
    left: -12px;
    min-width: 170px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.sub a {
    padding: 8px 12px;
    border-radius: 8px;
}

.sub a:hover {
    background: var(--accent-soft);
}

/* ---------- Hero ---------- */
.hero {
    padding: 48px 0 12px;
}

/*.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 32px;
    background: linear-gradient(125deg,
            #fff9df 0%,
            #ffefd5 35%,
            #e4f5e9 68%,
            #c9f0ec 100%);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
*/

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 32px;

    /* Сучасний світлий фон */
    background: linear-gradient(135deg,
            #ffffff 0%,
            #faf8f4 55%,
            #f0f5f2 100%);

    border: 1px solid rgba(40, 50, 45, 0.07);
    border-radius: 28px;

    box-shadow:
        0 15px 45px rgba(35, 40, 35, 0.06),
        0 2px 8px rgba(35, 40, 35, 0.025);
}

/* ================= */

.eyebrow {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.hero h1 {
    font-size: clamp(36px, 5.4vw, 60px);
    margin: 0 0 18px;
    letter-spacing: -.015em;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.lead {
    font-size: 19px;
    color: var(--muted);
    margin: 0 0 26px;
    max-width: 52ch;
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    font-size: 15.5px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}

.btn-main {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 8px 20px rgba(230, 81, 0, .25);
}

.btn-main:hover {
    color: #fff;
    background: var(--accent-ink);
    transform: translateY(-2px);
}

.btn-soft {
    color: var(--accent-ink);
    background: var(--accent-soft);
}

.btn-soft:hover {
    color: #fff;
    background: var(--accent);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.stats li {
    font-size: 14.5px;
    color: var(--muted);
}

.stats b {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.1;
    color: var(--ink);
}

.hero-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    aspect-ratio: 1 / 0.92;
}

.tile {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: #fff;
}

.tile:first-child {
    grid-row: span 2;
}

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.tile:hover img {
    transform: scale(1.04);
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .62) 100%);
}

.tile span {
    position: absolute;
    z-index: 1;
    left: 18px;
    bottom: 16px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 24px;
}

.tile small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    opacity: .9;
}

.bg-athens {
    background: linear-gradient(135deg, #1d4f91 0%, #6fa3d8 55%, #f3d9b1 100%);
}

.bg-paris {
    background: linear-gradient(135deg, #3a3f6b 0%, #c9a4b8 60%, #f6d9c4 100%);
}

.bg-nice {
    background: linear-gradient(135deg, #0e7c9b 0%, #6fd0d8 60%, #fdf0cf 100%);
}

.bg-warsaw {
    background: linear-gradient(135deg, #8c2f39 0%, #d98a7a 60%, #f6e2cf 100%);
}

/* ---------- Секції ---------- */
section {
    padding: 56px 0 4px;
}

.sec-head {
    margin-bottom: 26px;
    text-align: center;
}

.sec-head h2 {
    font-size: clamp(27px, 3.4vw, 38px);
    margin: 0 0 8px;
}

.sec-head p {
    margin: 0;
    color: var(--muted);
    max-width: fit-content;
}

/* ---------- Великі картки міст ---------- */
.featured {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}

.city-photo .big {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 72px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25));
}

.city {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.city:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 4px rgba(31, 35, 40, .04), 0 18px 40px rgba(230, 81, 0, .12);
}

.city-photo {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.city-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.city:hover .city-photo img {
    transform: scale(1.04);
}

.city-photo .badge {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    background: rgba(255, 255, 255, .92);
    border-radius: 999px;
}

.city-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.city h3 {
    margin: 0 0 6px;
    font-size: 30px;
}

.city .sub-title {
    margin: 0 0 14px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--accent-ink);
}

.city p {
    margin: 0 0 12px;
    font-size: 15.5px;
    color: var(--muted);
}

.city p strong {
    display: block;
    margin-bottom: 1px;
    font-size: 11.5px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 20px;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: 4px 11px;
    font-size: 13px;
    font-weight: 600;
    background: #f6f2eb;
    border-radius: 999px;
}

.city .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ---------- Порівняння міст ---------- */
.compare {
    padding: clamp(24px, 4vw, 44px);
    background: linear-gradient(180deg, #fbf8f4 0%, #f5f0e9 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.compare .sec-head {
    text-align: center;
}

.compare .sec-head p {
    margin-inline: auto;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 20px;
}

.compare-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(31, 35, 40, .04), 0 8px 24px rgba(31, 35, 40, .05);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.compare-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff9800);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.compare-card:hover {
    transform: translateY(-4px);
    border-color: #f3d3b8;
    box-shadow: 0 2px 4px rgba(31, 35, 40, .04), 0 16px 36px rgba(230, 81, 0, .12);
}

.compare-card:hover::before {
    transform: scaleX(1);
}

.compare-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 21px;
}

.compare-card p {
    max-width: none;
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.compare-card p strong {
    display: block;
    margin-bottom: 2px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.compare-card p:last-of-type {
    margin-bottom: 20px;
}

.btn-text {
    align-self: flex-start;
    margin-top: auto;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--accent-ink);
    background: var(--accent-soft);
    border-radius: 999px;
    transition: background .2s, color .2s;
}

.btn-text:hover,
.btn-text:focus-visible {
    color: #fff;
    background: var(--accent);
}

.btn-text:focus-visible,
.btn:focus-visible,
.toc a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---------- Країни ---------- */
.countries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
}

.country {
    padding: 26px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.country h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-size: 24px;
}

.country p {
    margin: 0 0 14px;
    font-size: 15.5px;
    color: var(--muted);
}

.country .links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.country .links a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--accent-ink);
    background: var(--accent-soft);
    border-radius: 999px;
    transition: background .2s, color .2s;
}

.country .links a:hover {
    color: #fff;
    background: var(--accent);
}

/* ---------- Пам'ятки ---------- */
.sights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 16px;
}

.sight {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--ink);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.sight:hover {
    transform: translateY(-3px);
    border-color: #f3d3b8;
    box-shadow: var(--shadow);
    color: var(--ink);
}

.sight .ico {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    font-size: 24px;
    background: var(--accent-soft);
    border-radius: 14px;
}

.sight b {
    display: block;
    font-size: 16.5px;
    line-height: 1.25;
}

.sight small {
    color: var(--muted);
    font-size: 13.5px;
}

/* ---------- Про проєкт ---------- */
.about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
}

.box {
    padding: 26px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.box h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.box p {
    margin: 0 0 10px;
    font-size: 15.5px;
    color: var(--muted);
}

.box p:last-child {
    margin-bottom: 0;
}

.box.blue {
    border-top: 4px solid var(--aegean);
}

.box.good {
    border-top: 4px solid var(--ok);
}

.box.bad {
    border-top: 4px solid var(--accent);
}

/* ================= ДОПОМОГА УКРАЇНЦЯМ ================= */

.ukrainians-banner {
    padding: 48px 0;
}

.ukrainians-banner__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    align-items: center;
    gap: 36px;
    padding: 42px 48px;
    overflow: hidden;
    border: 1px solid #e0eaf5;
    border-radius: 24px;
    background: linear-gradient(120deg, #f1f7ff 0%, #ffffff 65%, #eaf3ff 100%);
}

.ukrainians-banner__content {
    position: relative;
    z-index: 1;
}

.ukrainians-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: #2864a8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ukrainians-banner__dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #3b82c4;
}

.ukrainians-banner__content h2 {
    margin: 0 0 16px;
    color: #172b46;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.ukrainians-banner__content p {
    max-width: 650px;
    margin: 0 0 26px;
    color: #52647a;
    font-size: 16px;
    line-height: 1.8;
}

.ukrainians-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid #245fa5;
    border-radius: 12px;
    background: #245fa5;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ukrainians-banner__button:hover {
    border-color: #194b86;
    background: #194b86;
    color: #fff;
    box-shadow: 0 8px 20px rgba(36, 95, 165, 0.18);
    transform: translateY(-2px);
}

.ukrainians-banner__button span {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ukrainians-banner__button:hover span {
    transform: translateX(4px);
}

.ukrainians-banner__visual {
    position: relative;
    display: flex;
    min-height: 200px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 36px rgba(35, 73, 116, 0.06);
}

.ukrainians-banner__icon {
    display: flex;
    width: 88px;
    height: 88px;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(35, 73, 116, 0.1);
    font-size: 48px;
}

.ukrainians-banner__caption {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.ukrainians-banner__caption span {
    color: #718096;
    font-size: 13px;
}

.ukrainians-banner__caption strong {
    color: #243d5c;
    font-size: 16px;
}

/* Планшети */
@media (max-width: 800px) {
    .ukrainians-banner {
        padding: 32px 0;
    }

    .ukrainians-banner__inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 32px;
    }

    .ukrainians-banner__visual {
        min-height: 160px;
    }
}

/* Мобільні телефони */
@media (max-width: 480px) {
    .ukrainians-banner {
        padding: 24px 0;
    }

    .ukrainians-banner__inner {
        gap: 24px;
        padding: 24px 20px;
        border-radius: 18px;
    }

    .ukrainians-banner__content h2 {
        font-size: 29px;
    }

    .ukrainians-banner__content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .ukrainians-banner__button {
        width: 100%;
        gap: 8px;
        padding: 0 14px;
        font-size: 14px;
    }

    .ukrainians-banner__visual {
        min-height: 140px;
        padding: 20px;
    }

    .ukrainians-banner__icon {
        width: 68px;
        height: 68px;
        border-radius: 18px;
        font-size: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ukrainians-banner__button,
    .ukrainians-banner__button span {
        transition: none;
    }
}

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
    .hero {
        padding-top: 28px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-collage {
        aspect-ratio: 4 / 3;
    }

    .site-header .wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sub {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        min-width: 0;
        padding: 0 0 4px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
    }

    .sub a {
        padding: 4px 10px;
        font-size: 13px;
        background: var(--accent-soft);
    }

    .has-sub>a {
        display: inline-block;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .city-body,
    .country,
    .box {
        padding: 20px;
    }

    .tile span {
        font-size: 20px;
        left: 14px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* =================================
   PREMIUM AD — SVITAIHUB
================================= */
.ad-svit-s {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 40px);
    max-width: 1000px;
    margin: 55px auto !important;
    padding: 38px 45px;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f7f3 100%);
    border: 1px solid rgba(40, 40, 40, 0.08);
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(30, 30, 30, 0.045),
        0 2px 8px rgba(30, 30, 30, 0.025);
}

.ad-svit-s::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 90px;
    height: 3px;
    transform: translateX(-50%);
    background: #e95b0c;
    border-radius: 0 0 5px 5px;
}

.ad-svit-s .ad-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 13px;
    color: #a65a2b;
    background: #fff0e5;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ad-svit-s h3 {
    margin: 0 0 12px;
    color: #24272b;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
}

.ad-svit-s p {
    max-width: 680px;
    margin: 0 auto 24px;
    color: #68717d;
    font-size: 16px;
    line-height: 1.7;
}

.ad-svit-s .ad-link {
    color: inherit;
    text-decoration: none;
}

.ad-svit-s .ad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 27px;
    color: #fff;
    background: #e95408;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(233, 84, 8, 0.18);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.ad-svit-s .ad-btn:hover {
    color: #fff;
    background: #c94405;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 84, 8, 0.23);
}

@media (max-width: 600px) {
    .ad-svit-s {
        width: calc(100% - 30px);
        margin: 35px auto !important;
        padding: 30px 22px;
        border-radius: 20px;
    }

    .ad-svit-s p {
        font-size: 14px;
    }

    .ad-svit-s .ad-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ad-svit-s .ad-btn {
        transition: none;
    }
}

/* =========================== */

/* Сучасна кнопка підменю «Міста» */

/*.sub-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 5px;
    padding: 0;

    border: 1px solid #ece8e1;
    border-radius: 10px;
    background: #fff;
    color: #b85b20;
    cursor: pointer;
    font-size: 0;
    transition: all .25s ease;
} */

/* Єдина стрілка вниз */
.sub-toggle::before {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .25s ease;
}

/* Прибираємо додатковий трикутник */
.sub-toggle::after {
    content: none;
}

.sub-toggle:hover {
    background: #fff1e6;
    border-color: #f2c5a8;
    color: #e65100;
}

/* Підменю відкрите */
.sub-toggle[aria-expanded="true"] {
    background: #fff1e6;
    border-color: #f2c5a8;
}

.sub-toggle[aria-expanded="true"]::before {
    transform: rotate(225deg) translate(-2px, -2px);
}

@media (max-width: 900px) {
    .sub-toggle {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #f8f7f4;
    }
}

/* заклик до покупки авіаквитків */

.avia-wrap {
    max-width: 1120px;
    margin: 35px auto;
    /* padding: 0 15px; */
    box-sizing: border-box;
}

.avia-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 23px 28px;
    background: linear-gradient(120deg, #ffffff 0%, #f8f4ed 100%);
    border: 1px solid #eee5d9;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(50, 40, 25, 0.04);
}

.avia-cta-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee5d9;
    border-radius: 15px;
    color: #bd652d;
    font-size: 25px;
}

.avia-cta-content {
    flex: 1;
    min-width: 0;
}

.avia-cta-label {
    display: block;
    margin-bottom: 5px;
    color: #b83e00;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.avia-cta-content p {
    margin: 0;
    color: #343434;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.avia-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 13px 20px;
    background: #e65100;
    border: 1px solid #b4773e;
    border-radius: 10px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .25s ease;
}

.avia-cta-button:hover {
    background: #965d2e;
    border-color: #965d2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(150, 93, 46, .18);
}

.avia-cta-button span {
    font-size: 19px;
    line-height: 1;
}

/* Мобільна версія */

@media (max-width: 650px) {
    .avia-wrap {
        margin: 25px auto;
        padding: 0;
    }

    .avia-cta {
        flex-wrap: wrap;
        gap: 14px;
        padding: 20px;
        border-radius: 15px;
    }

    .avia-cta-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 22px;
    }

    .avia-cta-content {
        flex: 1;
    }

    .avia-cta-content p {
        font-size: 14px;
    }

    .avia-cta-button {
        width: 100%;
        box-sizing: border-box;
        padding: 13px;
    }
}

/* === */

/* =================================
   SAILY — TRAVEL ESIM BLOCK
================================= */

/* SAILY PROMO BLOCK */

.saily-section {
    max-width: 1120px;
    margin: 45px auto;
    padding: 0 15px;
}

.saily-card {
    display: grid;
    grid-template-columns: 1fr 230px;
    gap: 40px;
    align-items: center;
    padding: 38px 42px;
    background: #dac9ea;
    border: 1px solid #ebe5dc;
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(40, 35, 25, 0.04);
}

.saily-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #b66d35;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.saily-content h2 {
    margin: 0 0 16px;
    color: #252525;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    line-height: 1.25;
}

.saily-content p {
    margin: 0 0 18px;
    color: #555;
    font-size: 16px;
    line-height: 1.75;
}

.saily-content h3 {
    margin: 22px 0 12px;
    color: #292929;
    font-size: 17px;
}

.saily-content ul {
    margin: 0 0 20px;
    padding-left: 21px;
    color: #555;
    line-height: 1.9;
}

.saily-warning {
    padding: 13px 16px;
    background: #faf7f2;
    border-left: 3px solid #b08850;
    border-radius: 5px;
    font-size: 14px !important;
}

.saily-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 5px;
    padding: 13px 22px;
    background: #a87932;
    color: #fff !important;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .25s, transform .25s;
}

.saily-button:hover {
    background: #8d6329;
    transform: translateY(-2px);
}

.saily-button span {
    font-size: 20px;
}

.saily-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 15px;
    background: #faf8f4;
    border: 1px solid #eee8df;
    border-radius: 16px;
    text-align: center;
}

.saily-qr-image {
    width: 155px;
    height: 155px;
    padding: 8px;
    background: #fff;
    border-radius: 10px;
}

.saily-qr-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.saily-qr>span {
    margin-top: 14px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.saily-qr small {
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

/* MOBILE */
@media (max-width: 900px) {
    .saily-qr {
        display: none;
    }

    .saily-card {
        display: block;
    }
}

@media (max-width: 700px) {
    .saily-section {
        margin: 28px auto;
        padding: 0 12px;
    }

    .saily-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 20px;
        border-radius: 17px;
    }

    .saily-content h2 {
        font-size: 25px;
    }

    .saily-content p {
        font-size: 15px;
    }

    .saily-qr {
        padding: 20px;
    }

    .saily-button {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Декоративні заклепки у кутах Saily */
.saily-card {
    position: relative;
    overflow: hidden;
}

.saily-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;

    background:
        radial-gradient(circle,
            #a8bad3 0 2px,
            #eaf1fa 2.5px 4px,
            transparent 4.5px) 16px 16px / 10px 10px no-repeat,

        radial-gradient(circle,
            #a8bad3 0 2px,
            #eaf1fa 2.5px 4px,
            transparent 4.5px) calc(100% - 16px) 16px / 10px 10px no-repeat,

        radial-gradient(circle,
            #a8bad3 0 2px,
            #eaf1fa 2.5px 4px,
            transparent 4.5px) 16px calc(100% - 16px) / 10px 10px no-repeat,

        radial-gradient(circle,
            #a8bad3 0 2px,
            #eaf1fa 2.5px 4px,
            transparent 4.5px) calc(100% - 16px) calc(100% - 16px) / 10px 10px no-repeat;
}

/* партнерський блок аудіоекскурсій */
/* =====================================
   BESTTRAVEL — AUDIO GUIDES & TOURS
===================================== */

.Button--main {
    background: #a87932 !important;
    border: 0;
    color: var(--white);
}

.bt-tours {
    width: 100%;
    max-width: 1120px;
    margin: 15px auto;
    padding: 42px 35px;
    background: #fff;
    border: 1px solid #eee8df;
    border-radius: 24px;
    box-sizing: border-box;
}

/* Заголовок */

.bt-tours-header {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.bt-tours-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #a87932;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.bt-tours-header h2 {
    margin: 0 0 14px;
    color: #252525;
    font-family: 'Playfair Display', serif;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.25;
}

.bt-tours-header p {
    margin: 0;
    color: #77736e;
    font-size: 15px;
    line-height: 1.7;
}

/* Віджет */

.bt-tours-widget {
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    border-radius: 16px;
}

.bt-tours-widget iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 16px;
}

/* Нижній текст */

.bt-tours-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eeeae4;
    color: #99928a;
    font-size: 12px;
    text-align: center;
}

/* Мобільна версія */

@media (max-width: 768px) {

    .bt-tours {
        margin: 40px auto;
        padding: 28px 14px;
        border-radius: 18px;
    }

    .bt-tours-header {
        margin-bottom: 24px;
    }

    .bt-tours-header p {
        font-size: 14px;
    }

    .bt-tours-widget {
        min-height: 350px;
    }

}

/* Компактніший блок WeGoTrip */
.bt-tours-widget {
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
}

/* Прибираємо зайві відступи після віджета */
.bt-tours {
    padding-bottom: 25px;
    margin-bottom: 40px;
}

.bt-tours-footer {
    margin-top: 18px;
}

/* Telegram button in navigation */

.main-nav .telegram-menu-item {
    border: none;
}

.main-nav .btf-tg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 16px;

    background: #229ED9;
    color: #ffffff !important;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;

    transition: background .25s ease,
        transform .25s ease;
}

.main-nav .btf-tg:hover {
    background: #168ac0;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.main-nav .btf-tg::after {
    display: none !important;
}

.main-nav .btf-tg svg {
    flex-shrink: 0;
}

.sub-toggle {
    display: none;
}