:root {
    --navy: #071e2e;
    --navy-light: #10394b;
    --teal: #087e89;
    --teal-light: #43d5cb;
    --green: #168447;
    --viber: #7360f2;
    --white: #ffffff;
    --background: #f3f7f9;
    --text: #20313d;
    --muted: #627482;
    --border: #dce5eb;
    --radius: 16px;
    --shadow: 0 8px 30px rgba(7, 30, 46, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--teal);
    text-decoration: none;
}

a, button, summary {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid #e6a23c;
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

h1, h2, h3 {
    line-height: 1.2;
    color: var(--navy);
    margin-top: 0;
}

h1 {
    font-size: clamp(36px, 5.5vw, 68px);
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(27px, 3.2vw, 42px);
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}

h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

p {
    margin: 0 0 22px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 24px;
}

.brand {
    font-size: 20px;
    letter-spacing: 0.06em;
    font-weight: 900;
    color: var(--navy);
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

nav a:hover {
    color: var(--teal);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 26px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--teal);
}

.button-primary:hover {
    background: #05636d;
}

.button-viber {
    color: var(--white);
    background: var(--viber);
}

.button-viber:hover {
    background: #604dd8;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(67, 213, 203, 0.18), transparent 45%),
        linear-gradient(120deg, #071e2e, #10394b);
    padding: 110px 0;
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    max-width: 850px;
}

.hero h2 {
    color: #bce5e6;
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 400;
}

.hero p {
    color: #e0edf3;
    font-size: 19px;
    max-width: 720px;
    margin-bottom: 32px;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 20px;
}

.hero .eyebrow {
    color: var(--teal-light);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-price {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    font-size: 17px;
}

.hero-price strong {
    color: var(--teal-light);
    font-size: 26px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--background);
}

.section > .container > p {
    max-width: 850px;
    color: var(--muted);
    font-size: 17px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 35px;
    margin-bottom: 40px;
}

.feature-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--teal);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.process {
    list-style: none;
    counter-reset: step;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process li {
    position: relative;
    counter-increment: step;
    padding: 65px 20px 24px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 12px;
    font-weight: 600;
}

.process li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 28px;
    font-weight: 800;
    color: var(--teal);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

#gallery:has(.gallery-grid:empty) {
    display: none;
}

.price-card {
    max-width: 720px;
    margin: auto;
    padding: 48px 30px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.price {
    color: var(--teal);
    font-size: clamp(58px, 8vw, 86px);
    line-height: 1.2;
    font-weight: 900;
    margin: 18px 0;
    letter-spacing: -0.04em;
}

.price-card p {
    color: var(--muted);
}

#schedule {
    margin: 24px 0;
}

#schedule:empty {
    display: none;
}

details {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 20px 24px;
}

summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

details[open] {
    border-color: var(--teal);
}

details p {
    margin: 16px 0 0;
    color: var(--muted);
}

.contact-section {
    background: var(--navy);
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
}

.contact-section > .container > p {
    color: #c4dbe3;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    transition: background 0.2s;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.contact-card span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-light);
    margin-bottom: 8px;
}

.contact-card strong {
    font-size: 18px;
    overflow-wrap: anywhere;
}

footer {
    background: #04131e;
    color: #a8bbc6;
    padding: 30px 0;
    font-size: 13px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
}

footer a {
    color: #a8bbc6;
}

.mobile-contact-bar {
    display: none;
}

@media (max-width: 1000px) {
    nav {
        display: none;
    }

    .cards {
        gap: 16px;
    }

    .feature-card {
        padding: 22px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 75px;
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    .container {
        width: calc(100% - 36px);
    }

    .header-inner {
        min-height: 68px;
        gap: 8px;
    }

    .brand {
        font-size: 14px;
        letter-spacing: 0.02em;
    }

    .header-inner .button {
        font-size: 13px;
        min-height: 40px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .hero {
        padding: 65px 0;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-price {
        width: 100%;
        justify-content: space-between;
    }

    .section {
        padding: 48px 0;
    }

    .cards,
    .process,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 24px;
    }

    .price-card {
        padding: 35px 20px;
    }

    .price-card .button {
        width: 100%;
    }

    details {
        padding: 17px;
    }

    summary {
        font-size: 16px;
    }

    footer .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-contact-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
        background: var(--navy);
    }

    .mobile-contact-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 64px;
        color: var(--white);
        font-size: 14px;
        font-weight: 700;
    }

    .mobile-contact-bar a:nth-child(1) {
        background: var(--green);
    }

    .mobile-contact-bar a:nth-child(2) {
        background: var(--viber);
    }

    .mobile-contact-bar a:nth-child(3) {
        background: #1768ad;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}

/* BRAND AND TYPOGRAPHY */

body {
    font-family: "Inter", sans-serif;
}

h1, h2, h3, .brand, .price {
    font-family: "Montserrat", sans-serif;
}

h1 {
    font-weight: 700;
    letter-spacing: -0.035em;
}

h2 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

h3 {
    font-weight: 600;
}

:root {
    --teal: #0074b8;
    --teal-light: #69caff;
    --navy: #091e30;
    --navy-light: #103c5b;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
}

.hero {
    background:
        radial-gradient(ellipse at 85% 20%, rgba(0,116,184,0.25), transparent 50%),
        linear-gradient(120deg, #091e30, #103c5b);
}

.hero h2 {
    font-weight: 500;
    color: #b9ddf5;
}

.button-primary:hover {
    background: #005b94;
}

.feature-card {
    border-top-color: #0074b8;
}

@media (max-width: 680px) {
    .brand {
        font-size: 10px;
        gap: 7px;
    }

    .brand img {
        width: 45px;
        height: 45px;
    }

    h1 {
        font-size: 34px;
    }
}


/* HERO FIELD PHOTO */

.hero-content {
    display: flow-root;
}

.hero-photo {
    float: right;
    width: 43%;
    margin: 0 0 0 40px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.hero-photo img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 70%;
}

.hero-photo figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    color: #fff;
    font-size: 13px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.hero h1 {
    font-size: clamp(36px, 4vw, 58px);
}

.hero {
    padding: 75px 0;
}

@media (max-width: 850px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-photo {
        float: none;
        order: 10;
        width: 100%;
        margin: 30px 0 0;
    }

    .hero-photo img {
        height: 380px;
    }

    .hero-actions {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .hero-photo img {
        height: 330px;
    }

    .hero h1 {
        font-size: 34px;
    }
}


/* WEEKLY SCHEDULE */

.schedule-section {
    background: #edf5fa;
    padding: 48px 0;
    border-bottom: 1px solid #dce5eb;
}

.schedule-section h2 {
    margin-bottom: 12px;
}

#schedule {
    display: grid;
    gap: 12px;
    margin: 28px 0;
}

.schedule-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #ffffff;
    padding: 20px 24px;
    border: 1px solid #dce5eb;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.schedule-pin {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    color: #0074b8;
    background: #e7f3fc;
    border-radius: 12px;
}

.schedule-info {
    flex: 1;
    min-width: 0;
}

.schedule-info h3 {
    font-size: 19px;
    margin: 0 0 5px;
}

.schedule-info span {
    font-size: 15px;
    color: var(--muted);
}

.schedule-note {
    font-size: 14px !important;
    margin-bottom: 0;
}

.schedule-note a {
    font-weight: 700;
}

.schedule-empty {
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
}

@media (max-width: 680px) {
    .schedule-card {
        gap: 12px;
        padding: 14px;
        flex-wrap: wrap;
    }

    .schedule-pin {
        width: 40px;
        height: 40px;
    }

    .schedule-info h3 {
        font-size: 16px;
    }

    .schedule-info span {
        font-size: 13px;
    }

    .schedule-card .button {
        width: 100%;
        min-height: 42px;
        padding: 10px 14px;
        font-size: 14px;
    }
}


/* BOOKING DIALOG */

.booking-dialog {
    width: min(460px, calc(100% - 32px));
    max-height: 90vh;
    padding: 36px;
    border: 0;
    border-radius: 22px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 25px 100px rgba(0,0,0,0.3);
}

.booking-dialog::backdrop {
    background: rgba(5,20,35,0.75);
    backdrop-filter: blur(5px);
}

.booking-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: 0;
    font-size: 30px;
    color: var(--muted);
    cursor: pointer;
}

.booking-dialog h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

#booking-region {
    font-weight: 700;
    font-size: 21px;
    color: var(--navy);
}

#booking-dates {
    color: var(--muted);
    margin-top: 5px;
}

.booking-price {
    padding: 14px 0;
    margin: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.booking-price strong {
    color: var(--teal);
    font-size: 24px;
}

.booking-actions {
    display: grid;
    gap: 12px;
}

.booking-actions a {
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    color: white;
}

.booking-phone {
    background: #168447;
}

.booking-viber {
    background: #7360f2;
}

.booking-email {
    background: #0074b8;
}

.booking-email-text {
    margin: 15px 0 0;
    font-size: 13px;
    text-align: center;
    color: var(--muted);
    overflow-wrap: anywhere;
}

@media (max-width: 680px) {
    .booking-dialog {
        padding: 28px 22px;
    }
}


/* PRIVATE ADMIN BUTTON */

.admin-access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #091e30;
    color: #ffffff;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #26465d;
}

.admin-access-button:hover {
    background: #174c70;
    color: #ffffff;
}

.header-inner:has(.admin-access-button) {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header-inner:has(.admin-access-button) nav {
    display: none;
}

@media (max-width: 680px) {
    .admin-access-button {
        width: 100%;
        min-height: 40px;
        font-size: 13px;
    }
}


/* DYNAMIC IMAGE GALLERY */

.gallery-photo {
    margin: 0;
    overflow: hidden;
    background: white;
    border-radius: 14px;
    border: 1px solid #dce5eb;
}

.gallery-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

.gallery-photo figcaption {
    padding: 14px;
    color: #344b5c;
    font-size: 14px;
    line-height: 1.5;
}
