:root {
    --bg: #071b16;
    --bg-2: #0c241d;
    --surface: rgba(11, 31, 25, 0.94);
    --surface-2: rgba(15, 40, 32, 0.96);
    --surface-3: rgba(20, 58, 45, 0.96);
    --text: #eef8f2;
    --muted: #b9d7c8;
    --border: rgba(90, 182, 131, 0.22);
    --accent: #46c776;
    --accent-2: #7be08f;
    --link: #95efb0;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    --radius: 24px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top center, rgba(35, 111, 75, 0.30), transparent 34%), linear-gradient(180deg, #0a1d17 0%, #05130f 100%);
    min-height: 100vh;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
    filter: blur(2px);
}

body::before {
    left: -80px;
    bottom: -60px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 30% 70%, rgba(67, 200, 117, 0.55), transparent 22%), radial-gradient(circle at 56% 58%, rgba(41, 160, 95, 0.48), transparent 18%), radial-gradient(circle at 76% 78%, rgba(129, 232, 151, 0.35), transparent 16%);
}

body::after {
    right: -80px;
    top: 120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at 28% 36%, rgba(67, 200, 117, 0.40), transparent 18%), radial-gradient(circle at 56% 18%, rgba(129, 232, 151, 0.30), transparent 14%), radial-gradient(circle at 72% 54%, rgba(41, 160, 95, 0.42), transparent 20%);
}

a {
    color: var(--link);
}

a:hover {
    color: #ffffff;
}

button {
    font: inherit;
}

.page {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 34px 24px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(12, 35, 28, 0.97) 0%, rgba(8, 23, 18, 0.97) 100%);
    box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    width: 240px;
    height: 180px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.22;
    pointer-events: none;
}

.hero::before {
    left: -10px;
    background-image: radial-gradient(ellipse at 30% 80%, rgba(70, 199, 118, 0.95) 0 18%, transparent 19%), radial-gradient(ellipse at 48% 58%, rgba(45, 150, 89, 0.95) 0 16%, transparent 17%), radial-gradient(ellipse at 66% 80%, rgba(123, 224, 143, 0.90) 0 15%, transparent 16%), radial-gradient(ellipse at 58% 92%, rgba(18, 78, 54, 0.95) 0 10%, transparent 11%);
}

.hero::after {
    right: -10px;
    background-image: radial-gradient(ellipse at 22% 80%, rgba(70, 199, 118, 0.95) 0 16%, transparent 17%), radial-gradient(ellipse at 50% 54%, rgba(45, 150, 89, 0.95) 0 17%, transparent 18%), radial-gradient(ellipse at 74% 82%, rgba(123, 224, 143, 0.90) 0 14%, transparent 15%), radial-gradient(ellipse at 40% 92%, rgba(18, 78, 54, 0.95) 0 10%, transparent 11%);
}

.hero-title {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    font-size: clamp(2.3rem, 6vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: 0.04em;
}

.tabs {
    display: grid;
    gap: 18px;
}

.tabs input[type='radio'] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tab-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(10, 28, 23, 0.93);
    box-shadow: var(--shadow);
}

.tab-controls label {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(19, 50, 40, 0.92);
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tab-controls label:hover,
.tab-controls label:focus-visible {
    background: rgba(28, 73, 58, 0.98);
    border-color: rgba(123, 224, 143, 0.55);
    outline: none;
    transform: translateY(-1px);
}

.tab-panel {
    position: relative;
    overflow: hidden;
    display: none;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(13, 36, 29, 0.97) 0%, rgba(8, 23, 19, 0.98) 100%);
    box-shadow: var(--shadow);
}

.tab-panel::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 260px;
    height: 220px;
    pointer-events: none;
    opacity: 0.16;
    background: radial-gradient(ellipse at 20% 84%, rgba(70, 199, 118, 0.95) 0 16%, transparent 17%), radial-gradient(ellipse at 40% 54%, rgba(123, 224, 143, 0.90) 0 14%, transparent 15%), radial-gradient(ellipse at 64% 72%, rgba(45, 150, 89, 0.92) 0 18%, transparent 19%), radial-gradient(ellipse at 80% 34%, rgba(70, 199, 118, 0.82) 0 12%, transparent 13%);
}

.tab-panel h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    text-align: center;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    line-height: 1.15;
}

.owl-gallery {
    position: relative;
    z-index: 1;
    width: min(70%, 880px);
    margin: 0 auto;
}

.owl-image-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
    background: rgba(7, 23, 18, 0.78);
    aspect-ratio: 4 / 3;
}

.tab-panel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
}

.gallery-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(205, 255, 216, 0.30);
    border-radius: 50%;
    background: rgba(8, 25, 20, 0.88);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.gallery-button:hover,
.gallery-button:focus-visible {
    background: rgba(20, 58, 45, 0.96);
    border-color: rgba(123, 224, 143, 0.55);
    outline: none;
}

.gallery-button:active {
    transform: translateY(-50%) scale(0.98);
}

.gallery-button.prev {
    left: 14px;
}

.gallery-button.next {
    right: 14px;
}

.gallery-meta {
    margin-top: 12px;
    text-align: center;
    color: var(--muted);
    font-size: 0.96rem;
}

.gallery-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(205, 255, 216, 0.28);
    border-radius: 50%;
    background: rgba(19, 50, 40, 0.92);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.gallery-dot:hover,
.gallery-dot:focus-visible {
    border-color: rgba(123, 224, 143, 0.55);
    outline: none;
    transform: scale(1.05);
}

.gallery-dot.active {
    background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
    border-color: rgba(205, 255, 216, 0.55);
}

.owl-info {
    position: relative;
    z-index: 1;
    width: min(100%, 980px);
    margin: 22px auto 0;
}

.owl-description {
    position: relative;
    min-width: 0;
    padding: 18px 210px 20px 20px;
    border: 1px solid rgba(123, 224, 143, 0.18);
    border-radius: 18px;
    background: rgba(18, 46, 37, 0.78);
    color: var(--muted);
    line-height: 1.72;
    font-size: 1rem;
}

.owl-description p {
    margin: 0 0 14px;
}

.owl-description p:last-child {
    margin-bottom: 0;
}

.owl-description strong {
    display: inline-block;
    margin-right: 6px;
    color: var(--text);
}

.owl-map-thumb {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 170px;
    border: 1px solid rgba(123, 224, 143, 0.18);
    border-radius: 18px;
    background: rgba(18, 46, 37, 0.78);
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.owl-map-thumb:hover,
.owl-map-thumb:focus-visible {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(123, 224, 143, 0.55);
    background: rgba(22, 56, 45, 0.90);
}

.owl-map-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(7, 23, 18, 0.78);
}

.owl-link-wrap {
    position: relative;
    z-index: 1;
    width: min(100%, 980px);
    margin: 12px auto 0;
}

.owl-link {
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}

.owl-link:hover {
    text-decoration: underline;
}

.map-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(2, 10, 8, 0.82);
    z-index: 1000;
}

.map-modal.is-open {
    display: flex;
}

.map-modal-dialog {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 18px;
    align-items: stretch;
    width: min(50%, var(--container));
    max-width: var(--container);
    padding: 18px;
    border: 1px solid rgba(123, 224, 143, 0.30);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 36, 29, 0.98) 0%, rgba(8, 23, 19, 0.99) 100%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.map-modal-image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 60vh;
    height: auto;
    margin: 0;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(7, 23, 18, 0.78);
    cursor: pointer;
    object-fit: contain;
}

.map-modal-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-width: 0;
}

.map-modal-close {
    position: static;
    min-width: 52px;
    padding: 10px 16px;
    border: 1px solid rgba(205, 255, 216, 0.30);
    border-radius: 999px;
    background: rgba(8, 25, 20, 0.92);
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.map-modal-close:hover,
.map-modal-close:focus-visible {
    outline: none;
    background: rgba(20, 58, 45, 0.96);
    border-color: rgba(123, 224, 143, 0.55);
    transform: translateY(-1px);
}

#owl-1:checked ~ .tab-controls label[for='owl-1'],
#owl-2:checked ~ .tab-controls label[for='owl-2'],
#owl-3:checked ~ .tab-controls label[for='owl-3'],
#owl-4:checked ~ .tab-controls label[for='owl-4'],
#owl-5:checked ~ .tab-controls label[for='owl-5'],
#owl-6:checked ~ .tab-controls label[for='owl-6'],
#owl-7:checked ~ .tab-controls label[for='owl-7'] {
    background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
    border-color: rgba(205, 255, 216, 0.55);
    color: #052116;
}

#owl-1:checked ~ .tab-panels .panel-1,
#owl-2:checked ~ .tab-panels .panel-2,
#owl-3:checked ~ .tab-panels .panel-3,
#owl-4:checked ~ .tab-panels .panel-4,
#owl-5:checked ~ .tab-panels .panel-5,
#owl-6:checked ~ .tab-panels .panel-6,
#owl-7:checked ~ .tab-panels .panel-7 {
    display: block;
}

@media (max-width: 991px) {
    .owl-gallery {
        width: min(82%, 880px);
    }

    .owl-description {
        padding-right: 190px;
    }

    .owl-map-thumb {
        width: 150px;
    }

    .map-modal-dialog {
        width: min(70%, var(--container));
        grid-template-columns: minmax(0, 1fr) 76px;
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .page {
        width: min(calc(100% - 20px), var(--container));
        padding: 20px 0 36px;
    }

    .hero,
    .tab-panel,
    .tab-controls {
        padding: 16px;
    }

    .tab-controls label {
        width: 100%;
        text-align: center;
    }

    .owl-gallery {
        width: 100%;
    }

    .gallery-button {
        width: 42px;
        height: 42px;
    }

    .gallery-button.prev {
        left: 10px;
    }

    .gallery-button.next {
        right: 10px;
    }

    .owl-description {
        padding: 18px 16px 16px;
    }

    .owl-map-thumb {
        position: static;
        width: min(100%, 220px);
        margin: 0 0 16px auto;
        display: block;
    }

    .map-modal {
        padding: 16px 10px;
    }

    .map-modal-dialog {
        width: min(100%, 520px);
        grid-template-columns: minmax(0, 1fr) 64px;
        gap: 12px;
        padding: 14px;
    }

    .map-modal-image {
        max-height: 65vh;
    }

    .map-modal-close {
        min-width: 48px;
        padding: 10px 14px;
    }

    .tab-panel::after,
    .hero::before,
    .hero::after {
        opacity: 0.10;
    }
}