.navBar{
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 24px 0;
}

.navBarButtons{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(18, 52, 59, 0.08);
    box-shadow: 0 18px 40px rgba(18, 52, 59, 0.08);
    backdrop-filter: blur(14px);
    white-space: nowrap;
    position: relative;
}

.navBarButtons > .brandBannerLogo{
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.navBarButtons a{
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #16353b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.navBarButtons a:hover{
    background: rgba(19, 194, 194, 0.14);
    color: #0d7686;
    transform: translateY(-1px);
}

.navBarButtons a.active{
    background: linear-gradient(135deg, #0d8fa0 0%, #13c2c2 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(13, 143, 160, 0.28);
}

body{
    margin: 0;
    opacity: 1;
    position: relative;
}

body.page-transition-ready{
    transition: opacity 0.22s ease, transform 0.22s ease;
}

body.page-transition-ready.page-is-entering{
    animation: pageContentIn 0.36s ease both;
}

body.page-transition-ready.page-is-leaving{
    opacity: 1;
    transform: none;
}

body::before{
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 35, 41, 0.12) 0%, rgba(232, 247, 249, 0.28) 100%);
    backdrop-filter: blur(0px);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
}

body.page-transition-ready::before{
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

body.page-transition-ready.page-is-entering::before{
    opacity: 1;
    backdrop-filter: blur(6px);
    animation: pageOverlayOut 0.42s ease forwards;
}

body.page-transition-ready.page-is-leaving::before{
    opacity: 1;
    backdrop-filter: blur(7px);
}

@keyframes pageContentIn{
    from{
        opacity: 0.82;
        transform: translateY(12px) scale(0.995);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageOverlayOut{
    from{
        opacity: 1;
        backdrop-filter: blur(6px);
    }

    to{
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

.homePage,
.hoursPage,
.contactsPage,
.aboutPage,
.teamPage,
.adminPage{
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

.homePage{
    background:
        linear-gradient(180deg, rgba(9, 42, 49, 0.52) 0%, rgba(237, 245, 248, 0.9) 68%, rgba(237, 245, 248, 0.98) 100%),
        radial-gradient(circle at top center, rgba(5, 237, 237, 0.18), transparent 30%),
        url("1.jpeg") center top / cover no-repeat fixed;
    color: #16353b;
}

.hoursPage{
    background:
        linear-gradient(180deg, rgba(9, 42, 49, 0.52) 0%, rgba(237, 245, 248, 0.9) 68%, rgba(237, 245, 248, 0.98) 100%),
        radial-gradient(circle at top center, rgba(5, 237, 237, 0.18), transparent 30%),
        url("2.jpg") center top / cover no-repeat fixed;
    color: #16353b;
}

.contactsPage{
    background:
        linear-gradient(180deg, rgba(9, 42, 49, 0.52) 0%, rgba(237, 245, 248, 0.9) 68%, rgba(237, 245, 248, 0.98) 100%),
        radial-gradient(circle at top center, rgba(5, 237, 237, 0.18), transparent 30%),
        url("3.jpg") center top / cover no-repeat fixed;
    color: #12343b;
}

.aboutPage{
    background:
        linear-gradient(180deg, rgba(9, 42, 49, 0.52) 0%, rgba(237, 245, 248, 0.9) 68%, rgba(237, 245, 248, 0.98) 100%),
        radial-gradient(circle at top center, rgba(5, 237, 237, 0.18), transparent 30%),
        url("4.jpg") center top / cover no-repeat fixed;
    color: #16353b;
}

.teamPage{
    background:
        linear-gradient(180deg, rgba(9, 42, 49, 0.52) 0%, rgba(237, 245, 248, 0.9) 68%, rgba(237, 245, 248, 0.98) 100%),
        radial-gradient(circle at top center, rgba(5, 237, 237, 0.18), transparent 30%),
        url("2.jpg") center top / cover no-repeat fixed;
    color: #16353b;
}

.adminPage{
    background:
        radial-gradient(circle at top left, rgba(5, 237, 237, 0.18), transparent 28%),
        linear-gradient(180deg, #f7fcff 0%, #edf4f8 100%);
    color: #16353b;
}

.homeLayout,
.hoursLayout,
.contactsLayout,
.aboutLayout,
.teamLayout,
.adminLayout{
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.brandBanner{
    display: flex;
    justify-content: center;
    padding: 22px 24px 0;
}

.brandBannerCard{
    width: min(620px, calc(100% - 48px));
    padding: 0;
}

.brandBannerTop{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.brandBannerLogo{
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brandBannerTitle{
    color: white;
    font-size: clamp(1.45rem, 3.8vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1;
    -webkit-text-stroke: 3px #16cce8;
    paint-order: stroke fill;
}

.brandBannerSubtitle{
    margin: 4px 0 0;
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    -webkit-text-stroke: 2px #16cce8;
    paint-order: stroke fill;
    text-shadow: 0 6px 18px rgba(13, 118, 134, 0.12);
}

.homeHero,
.adminCard{
    padding: 42px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(22, 53, 59, 0.08);
    box-shadow: 0 20px 42px rgba(22, 53, 59, 0.08);
}

.hoursHero,
.contactsHero,
.aboutHero,
.teamHero,
.adminHero{
    margin-bottom: 32px;
}

.homeEyebrow,
.hoursEyebrow,
.contactsEyebrow,
.adminEyebrow,
.sectionEyebrow{
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #0b7e8c;
}

.homeHero h1,
.hoursHero h1,
.contactsHero h1,
.aboutHero h1,
.teamHero h1,
.adminHero h1{
    margin: 0 0 14px;
    line-height: 1.08;
}

.homeHero h1{
    font-size: clamp(2.1rem, 5vw, 4rem);
}

.hoursHero h1,
.contactsHero h1,
.aboutHero h1,
.teamHero h1{
    font-size: clamp(2rem, 4.5vw, 3.7rem);
}

.adminHero h1{
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.homeIntro,
.hoursIntro,
.contactsIntro,
.aboutIntro,
.teamIntro,
.adminIntro{
    margin: 0;
    line-height: 1.7;
    font-size: 1.08rem;
    color: #46666d;
}

.homeIntro{
    max-width: 680px;
}

.hoursIntro,
.adminIntro{
    max-width: 760px;
}

.contactsIntro{
    max-width: 700px;
}

.aboutIntro{
    max-width: 780px;
}

.teamIntro{
    max-width: 760px;
}

.newsSection{
    margin-top: 28px;
}

.sectionHeading{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.sectionHeadingSingle{
    justify-content: flex-start;
}

.sectionHeading h2{
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.adminShortcut,
.textLink{
    color: #0d7686;
    font-weight: 700;
    text-decoration: none;
}

.adminShortcut{
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(18, 52, 59, 0.08);
    box-shadow: 0 14px 30px rgba(18, 52, 59, 0.08);
}

.newsGrid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.newsCard{
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(22, 53, 59, 0.08);
    box-shadow: 0 20px 42px rgba(22, 53, 59, 0.08);
}

.newsCard h3{
    margin: 0 0 14px;
    font-size: 1.3rem;
    line-height: 1.2;
}

.newsCard p{
    margin: 0;
}

.newsText{
    margin-bottom: 18px;
    color: #46666d;
    line-height: 1.75;
    white-space: pre-line;
}

.newsMeta{
    color: #0d7686;
    font-size: 0.92rem;
    font-weight: 700;
}

.newsMetaSecondary{
    margin-top: 8px;
    color: #68858b;
    font-weight: 600;
}

.newsCardEmpty{
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(232, 247, 249, 0.92) 100%);
}

.aboutGrid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.aboutCard{
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 52, 59, 0.08);
    box-shadow: 0 20px 42px rgba(22, 53, 59, 0.08);
    margin-bottom: 22px;
}

.aboutCardHighlight{
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(231, 247, 249, 0.96) 100%);
}

.aboutCardCompact{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aboutCard h2,
.aboutFooterNote h2{
    margin: 0 0 14px;
    font-size: 1.55rem;
    color: #12343b;
}

.aboutCard p,
.aboutFooterNote p{
    margin: 0 0 14px;
    color: #46666d;
    line-height: 1.75;
}

.aboutCard p:last-child,
.aboutFooterNote p:last-child{
    margin-bottom: 0;
}

.aboutList{
    margin: 18px 0 0;
    padding-left: 20px;
    color: #46666d;
}

.aboutList li{
    margin-bottom: 12px;
    line-height: 1.7;
}

.aboutMuted{
    margin: -6px 0 18px;
    color: #68858b;
    font-weight: 600;
}

.aboutPriceTable{
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.aboutPriceTable td{
    padding: 15px 18px;
    border-bottom: 1px solid rgba(18, 52, 59, 0.08);
    vertical-align: top;
    line-height: 1.6;
}

.aboutPriceTable td:last-child{
    width: 180px;
    color: #0d7686;
    font-weight: 700;
    white-space: nowrap;
}

.aboutFooterNote{
    padding: 24px 28px;
    border-radius: 24px;
    background: rgba(244, 250, 251, 0.92);
    border: 1px solid rgba(18, 52, 59, 0.07);
    box-shadow: 0 14px 30px rgba(22, 53, 59, 0.05);
}

.contactsGrid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.contactCard{
    padding: 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(18, 52, 59, 0.08);
    box-shadow: 0 18px 40px rgba(18, 52, 59, 0.08);
    backdrop-filter: blur(8px);
}

.contactCardPrimary{
    background: linear-gradient(135deg, #0d8fa0 0%, #13c2c2 100%);
    color: #ffffff;
}

.contactCardPrimary .contactLabel,
.contactCardPrimary .contactNote,
.contactCardPrimary .contactValue{
    color: #ffffff;
}

.contactLabel{
    display: block;
    margin-bottom: 14px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #52747b;
    font-weight: 700;
}

.contactValue{
    display: block;
    margin: 0 0 14px;
    color: #12343b;
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
}

.contactValueEmail{
    font-size: 1.1rem;
    white-space: nowrap;
}

.contactNote{
    margin: 0;
    color: #52747b;
    line-height: 1.6;
}

.contactDetailsPanel{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.detailsBlock{
    padding: 28px;
    border-radius: 24px;
    background: #12343b;
    color: #effcfd;
}

.detailsBlock h2{
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.detailsBlock p{
    margin: 0 0 10px;
    line-height: 1.7;
}

.detailsBlock p:last-child{
    margin-bottom: 0;
}

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

.teamCard{
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(18, 52, 59, 0.08);
    box-shadow: 0 20px 42px rgba(22, 53, 59, 0.08);
}

.teamPhotoPlaceholder{
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    margin-bottom: 18px;
}

.teamColorA{
    background: linear-gradient(135deg, #13c2c2 0%, #0d8fa0 100%);
}

.teamColorB{
    background: linear-gradient(135deg, #ffd166 0%, #ef476f 100%);
}

.teamColorC{
    background: linear-gradient(135deg, #7bd389 0%, #2a9d8f 100%);
}

.teamColorD{
    background: linear-gradient(135deg, #8ecae6 0%, #457b9d 100%);
}

.teamName{
    margin: 0 0 10px;
    color: #12343b;
    font-size: 1.35rem;
}

.teamBio{
    margin: 0;
    color: #52747b;
    line-height: 1.7;
}

.contactMapSection{
    margin-top: 32px;
}

.contactMapSection .sectionHeading{
    margin-bottom: 18px;
}

.mapPreviewLink{
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(18, 52, 59, 0.08);
    box-shadow: 0 20px 48px rgba(18, 52, 59, 0.12);
    background: rgba(255, 255, 255, 0.84);
}

.mapPreviewLink iframe{
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
    pointer-events: none;
}

.mapPreviewBadge{
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(18, 52, 59, 0.82);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(18, 52, 59, 0.18);
}

.hoursSection{
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
    gap: 22px;
    margin-bottom: 24px;
}

.tableCard{
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(22, 53, 59, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 42px rgba(22, 53, 59, 0.08);
    overflow: hidden;
}

.tableHeader{
    padding: 26px 28px 18px;
}

.tableHeader h2{
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.tableHeader p{
    margin: 0;
    color: #527178;
    line-height: 1.6;
}

.tableWrap{
    overflow-x: auto;
}

.infoTable{
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.infoTable th,
.infoTable td{
    padding: 16px 28px;
    text-align: left;
    border-top: 1px solid rgba(22, 53, 59, 0.08);
}

.infoTable th{
    background: rgba(19, 194, 194, 0.12);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #245159;
}

.infoTable tbody tr:nth-child(even){
    background: rgba(245, 250, 251, 0.7);
}

.infoTable tbody tr:hover{
    background: rgba(5, 237, 237, 0.08);
}

.hoursNotice{
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(160deg, #12343b 0%, #1f525d 100%);
    color: #effcfd;
    box-shadow: 0 20px 42px rgba(18, 52, 59, 0.14);
}

.hoursNotice h2{
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.hoursNotice p{
    margin: 0;
    line-height: 1.75;
}

.insuranceTable{
    min-width: 420px;
}

.adminLoginCard{
    max-width: 520px;
}

.adminAlert{
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    font-weight: 700;
}

.adminAlertSuccess{
    background: rgba(29, 167, 102, 0.14);
    color: #176d4a;
    border: 1px solid rgba(29, 167, 102, 0.18);
}

.adminAlertError{
    background: rgba(190, 64, 64, 0.12);
    color: #8b2424;
    border: 1px solid rgba(190, 64, 64, 0.16);
}

.adminDashboard{
    display: grid;
    gap: 22px;
}

.adminForm{
    display: grid;
    gap: 18px;
}

.formField{
    display: grid;
    gap: 8px;
}

.formField span{
    font-weight: 700;
    color: #2f555d;
}

.formField input,
.formField textarea{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(22, 53, 59, 0.12);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    color: #16353b;
    background: rgba(248, 252, 253, 0.95);
}

.formField textarea{
    resize: vertical;
    min-height: 160px;
}

.formField input:focus,
.formField textarea:focus{
    outline: 2px solid rgba(19, 194, 194, 0.22);
    border-color: #13c2c2;
}

.formActions{
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.primaryButton,
.secondaryButton,
.dangerButton{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}

.primaryButton{
    background: linear-gradient(135deg, #0d8fa0 0%, #13c2c2 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(13, 143, 160, 0.24);
}

.secondaryButton{
    background: rgba(20, 62, 71, 0.08);
    color: #16353b;
}

.dangerButton{
    background: rgba(190, 64, 64, 0.12);
    color: #8b2424;
}

.adminPostsList{
    display: grid;
    gap: 16px;
}

.adminPostItem{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(247, 252, 253, 0.96);
    border: 1px solid rgba(22, 53, 59, 0.08);
}

.adminPostContent{
    flex: 1;
}

.adminPostContent h3{
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.adminPostContent p{
    margin: 0;
    color: #46666d;
    line-height: 1.7;
}

.adminPostMeta{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
    color: #0d7686;
    font-size: 0.92rem;
    font-weight: 700;
}

.adminPostActions{
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.adminPostActions form{
    margin: 0;
}

.emptyAdminState{
    padding: 24px;
    border-radius: 22px;
    background: rgba(247, 252, 253, 0.96);
    color: #46666d;
    border: 1px solid rgba(22, 53, 59, 0.08);
}

@media (max-width: 900px){
    .hoursSection{
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 720px){
    .navBar{
        padding: 14px 14px 0;
    }

    .brandBanner{
        padding: 16px 14px 0;
    }

    .brandBannerCard{
        width: 100%;
    }

    .brandBannerTop{
        flex-direction: column;
        gap: 10px;
    }

    .brandBannerLogo{
        width: 52px;
        height: 52px;
    }

    .brandBannerTitle{
        text-align: center;
        letter-spacing: 0.06em;
    }

    .navBarButtons{
        flex-wrap: wrap;
        row-gap: 10px;
        border-radius: 28px;
        padding: 14px;
        white-space: normal;
    }

    .navBarButtons a{
        flex: 1 1 160px;
        text-align: center;
        padding: 11px 14px;
    }

    .navBarButtons > .brandBannerLogo{
        position: static;
        transform: none;
        order: -1;
    }

    .homeLayout,
    .hoursLayout,
    .contactsLayout,
    .aboutLayout,
    .teamLayout,
    .adminLayout{
        padding: 32px 18px 48px;
    }

    .homeHero,
    .adminCard,
    .aboutCard,
    .tableHeader,
    .hoursNotice,
    .contactCard,
    .teamCard,
    .detailsBlock,
    .newsCard{
        padding: 22px;
    }

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

    .infoTable th,
    .infoTable td{
        padding: 14px 18px;
    }

    .adminPostItem{
        flex-direction: column;
    }

    .adminPostActions{
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .mapPreviewLink iframe{
        height: 300px;
    }

    .mapPreviewBadge{
        left: 14px;
        right: 14px;
        bottom: 14px;
        text-align: center;
    }

    .aboutFooterNote{
        padding: 22px;
    }

    .aboutPriceTable{
        min-width: 540px;
    }

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