@import url('https://fonts.googleapis.com/css?family=Niconne|Questrial');

html, body, div, li, span, b, a, ul, ol, p, h1, h2, h3, h4, h5, h6, dl, dd, dt, form, fieldset, i, button, td, th, input, select, textarea {
    margin: 0; padding: 0;
}
a, a:hover, a:focus, a:active, a:visited { color: #FFFFFF; text-decoration: none !important; }
a:focus { outline: none; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; }
body.font-l { font-size: 16px; }
body.font-xl { font-size: 18px; }
body.font-xxl { font-size: 20px; }
body.font-s { font-size: 12px; }
body.font-xs { font-size: 10px; }
body.font-xxs { font-size: 8px; }

h2 { font-family: Niconne; font-size: 36px; text-transform: none; }
@media (min-width: 768px) { h2 { font-size: 2.55em; } }
.navbar { font-family: Questrial; }

.top-body {
    background-repeat: no-repeat;
    background-position: center top;
    background-image: url(../images/home-bg-top-m.jpg);
    background-size: auto 100%;
}
.top-body.bg-1, .top-body.internal { background-image: url(../images/bg-top-1-m.jpg); }

.bottom-body {
    background-repeat: no-repeat;
    background-position: center bottom;
    background-image: url(../images/home-bg-bottom-m.jpg);
    background-size: auto 100%;
}
.bottom-body.bg-1, .bottom-body.internal {
    background-image: url(../images/bg-bottom-1-m.jpg);
    background-size: auto;
}

@media (min-width: 768px) {
    .top-body { background-image: none; }
    .top-body.bg-1, .top-body.internal { background-image: url(../images/bg-top-1-t.jpg); }
    .bottom-body { background-image: none; position: relative; }
    .bottom-body:before {
        content: ''; background-image: none; position: absolute;
        background-color: rgba(0,0,0,0.5); height: 120px; width: 100%; top: 0; left: 0;
    }
    .bottom-body.bg-1, .bottom-body.internal { background-image: url(../images/bg-bottom-1-t.jpg); }
    .bottom-body.internal { padding-top: 120px; }
    .entire-body {
        background-repeat: no-repeat; background-position: center top;
        background-image: url(../images/home-bg-t.jpg); background-size: 1700px auto;
    }
}
@media (min-width: 992px) {
    .top-body.bg-1, .top-body.internal { background-image: url(../images/bg-top-1.jpg); }
    .bottom-body.bg-1, .bottom-body.internal { background-image: url(../images/bg-bottom-1.jpg); }
    .entire-body { background-size: 2400px auto; background-image: url(../images/home-bg.jpg); }
}
@media (min-width: 768px) {
    .col-sm-2-5 { width: 20%; float: left; }
}

section.header { height: 130px; background-color: rgba(0,0,0,0.7); margin: 0; }
section.header-menu { margin: 0; padding: 0; }

.button {
    border: 1px solid #FFFFFF; color: #FFFFFF; background-color: transparent;
    padding: 7px 50px; font-family: Questrial; font-size: 26px;
    text-transform: uppercase; display: inline-block;
}
.button.selected { border-color: #FF4D45; }
.button.dark { border-color: #FF4D45; color: #FF4D45; }
.button:hover, .button:focus { border-color: #FF4D45; color: #FF4D45; text-decoration: none; }
.button.dark:hover, .button.dark:focus { border-color: #000; color: #000; }
@media (min-width: 768px) {
    .button { padding: 11px 25px; font-size: 1.1em; }
    .button.compact { padding: 5px 15px; }
}

.logo { margin: 0 auto; padding: 18px 0 23px 0; text-align: center; }
.logo img { max-width: 100%; }
.hidden-xs.override-hidden { display: block !important; }

.container { text-align: center; margin: 0 auto; padding: 0 15px; max-width: 450px; position: relative; }
@media (min-width: 768px) { .container { width: 710px; max-width: 710px; } }
@media (min-width: 992px) { .container { width: 990px; max-width: 990px; } }

.language-selector { position: absolute; top: 8px; right: 2px; display: flex; align-items: center; gap: 5px; }
.header-menu .language-selector { right: 25px; }
.language-selector .button { font-size: 10px; padding: 5px 10px; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; line-height: 1; }
.language-selector .button + .button { margin-left: 0; }
.language-selector .button.active { border-color: #FF4D45; color: #FF4D45; }
.header-menu .language-selector .button { padding: 8px 15px; }

.header-menu .navbar { background-color: rgba(0,0,0,0.87); margin: 0; border: none; position: relative; }
.header-menu .show-menu { font-size: 18px; color: #FFF; float: left; margin: 10px 0 0 25px; text-decoration: none; }
.header-menu .navbar li { font-size: 16px; margin: 0; border-bottom: 1px solid #868483; position: static; }
.header-menu .navbar li:last-child { border: none; }
.header-menu .navbar li>a { color: #FFF; padding: 15px 14px; display: block; }
@media (min-width: 992px) { .header-menu .navbar li { position: relative; margin: 0 2px; } }
.header-menu .navbar li>a:focus { background-color: transparent; }
.header-menu .navbar li>a:hover,
.header-menu .navbar li.active>a,
.header-menu .navbar li.current-menu-item>a,
.header-menu .navbar li.current-menu-parent>a { color: #FF4C45; background-color: transparent; }

.header-menu .navbar { min-height: 42px; }
.header-menu .nav {
    position: absolute; z-index: 200; top: 42px; left: 0; width: 100%; max-width: 100%;
    background-color: rgba(0,0,0,0.87);
}
@media (min-width: 992px) {
    .header-menu .navbar { min-height: 0; }
    .header-menu .nav {
        position: relative; top: auto; left: auto; width: auto; max-width: inherit;
        display: inline-block !important; background-color: transparent;
    }
    .header-menu .navbar li { border: none; }
}

.header-menu .submenu-container, .header-menu .sub-menu { left: 0; top: 0; width: 100%; z-index: 20; text-align: center; }
.header-menu .submenu, .header-menu .sub-menu {
    line-height: normal; list-style: none; min-width: 100%; padding: 0px 10px;
    background-color: rgba(0,0,0,0.87); font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-transform: none; text-align: center;
    background-repeat: no-repeat; background-position: center top; background-size: 100% auto;
    visibility: hidden; display: block; opacity: 0;
}
.header-menu .submenu li, .header-menu .sub-menu li { margin: 0; padding: 12px 0; border: none; }
.header-menu .submenu li>a, .header-menu .sub-menu li>a { padding: 0; }
.header-menu .submenu li>a:hover, .header-menu .submenu li>a:focus,
.header-menu .sub-menu li>a:hover, .header-menu .sub-menu li>a:focus { text-decoration: none; }
.header-menu li.not-clicked { display: block; }
.header-menu li.clicked>a { border-bottom: 1px solid #868483; }
.header-menu li.clicked .submenu-container, .header-menu li.clicked .sub-menu { display: block; position: relative; height: auto; max-height: 500px; }
.header-menu li.clicked .submenu-container .submenu, .header-menu li.clicked .sub-menu { visibility: visible; opacity: 1; display: block; position: relative; height: auto; }

@media (max-width: 991px) {
    .header-menu .submenu-container, .header-menu > ul > li > .sub-menu { position: relative; display: none; height: 0; overflow: hidden; }
    .header-menu li.clicked .submenu-container, .header-menu li.clicked > .sub-menu { display: block; height: auto; overflow: visible; }
    .header-menu .submenu, .header-menu .sub-menu { position: relative; background-color: rgba(0,0,0,0.95); }
    .header-menu .sub-menu li { border-bottom: 1px solid #555; }
    .header-menu .sub-menu li:last-child { border-bottom: none; }
}
@media (min-width: 992px) {
    .header-menu .submenu-container {
        position: absolute; top: 49px; left: 50%; transform: translateX(-50%); width: auto; min-width: 240px;
    }
    .header-menu .sub-menu { position: absolute; top: 49px; left: 50%; transform: translateX(-50%); width: auto; min-width: 240px; }
    .header-menu .submenu-container .submenu, .header-menu .submenu-container .sub-menu, .header-menu .sub-menu {
        min-width: 240px; display: block; padding: 20px 10px 13px 10px;
        background-image: url(../images/submenu-ornament.png); position: relative; left: auto; top: auto; transform: none;
        -webkit-transition: visibility 0s linear .25s, opacity .25s;
        transition: visibility 0s linear .25s, opacity .25s;
    }
    .header-menu .submenu li, .header-menu .sub-menu li { margin: 9px 0; padding: 0; }
    .header-menu li.over .submenu-container .submenu, .header-menu li.over .sub-menu,
    .header-menu li:hover .submenu-container .submenu, .header-menu li:hover .sub-menu {
        visibility: visible; opacity: 1;
        -webkit-transition: visibility 0s linear 0s, opacity .25s;
        transition: visibility 0s linear 0s, opacity .25s;
    }
    .header-menu li.clicked, .header-menu li.not-clicked { display: inline-block; }
    .header-menu li.clicked>a { border-bottom: none; }
}

.footer-menu .navbar { background-color: rgba(0,0,0,0.7); margin: 1px 0 0 0; min-height: 35px; font-size: 12px; }
@media (min-width: 768px) { .footer-menu .navbar { font-size: 0.75em; } }
/* Center footer menu items horizontally & vertically in the dark bar */
.footer-menu .navbar .container { display: flex; justify-content: center; align-items: center; min-height: 35px; }
.footer-menu .navbar .nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 0; padding: 0; float: none; }
.footer-menu .navbar .nav > li { float: none; display: inline-flex; }
.footer-menu .navbar a { color: #FFF; padding: 8px 27px; }
.footer-menu .navbar a:hover, .footer-menu .navbar a:focus { background-color: transparent; color: #FF4C45; }

@media (min-width: 992px) { .navbar .nav { display: inline-block; float: none; } }
.navbar { text-transform: uppercase; border-radius: 0; margin-bottom: 0; }

.top-body > section.container { padding: 0; }
.page-header { border: none; margin: 0 !important; padding: 0 !important; }

.home-banner { min-height: 260px; background-color: rgba(0,0,0,0.6); padding: 24px 20px 0 20px; color: #FFF; }
.internal .home-banner { background: none; }
@media (min-width: 768px) { .home-banner { min-height: 380px; padding: 40px 0 0 0; } }

.home-banner h1 { margin-bottom: 32px; font-size: 24px; line-height: 50px; font-family: Questrial; font-weight: normal; text-transform: uppercase; }
.home-banner h1 em { font-family: Niconne; font-size: 64px; font-style: normal; line-height: 0.4; text-transform: none; }
/* Plain banner heading (long phrases, e.g. RU): uniform size, no giant script, auto line height */
.home-banner h1.banner-plain { line-height: 1.15; }
.home-banner h1.banner-plain .soft-row { height: auto; }
.home-banner h1.banner-plain .soft-row:before, .home-banner h1.banner-plain .soft-row:after { content: none; }
@media (min-width: 380px) { .home-banner h1 { font-size: 32px; line-height: 50px; } .home-banner h1 em { font-size: 74px; } }
@media (min-width: 768px) {
    .home-banner h1 { font-size: 2.25em; }
    .home-banner h1 em { font-size: 2.35em; }
    .home-banner .soft-row { display: block; height: 1.55em; }
    .home-banner .soft-row:before, .home-banner .soft-row:after { content: '\00a0'; font-family: Niconne; font-size: 64px; }
    /* Banner CTA on desktop: title looks like h1, button is large */
    .home-banner { text-align: center; }
    .banner-cta { display: block; margin-bottom: 12px; }
    .banner-title { display: block; font-size: 1.5em; font-family: Questrial; line-height: 50px; text-transform: uppercase; color: #fff; margin: 0 0 10px 0; padding: 0; background: none; }
    .banner-book-btn { display: inline-block; font-size: 14px; padding: 15px 25px; margin: 0; }
    .banner-learn-btn { display: inline-block; font-size: 14px; padding: 15px 25px; margin-top: 12px; }
}

.page-header .navbar { border: none; margin: 0; padding: 0; background-color: rgba(255,51,0,0.43); min-height: 40px; position: relative; color: #FFF; }
.internal .page-header .navbar { background-color: #D94239; min-height: 101px; }
.internal .page-header .navbar .vcenter { display: table; width: 100%; height: 101px; }
.internal .page-header .navbar .vcenter>h2 { display: table-cell; vertical-align: middle; }
.internal .page-header .navbar ul li { display: table; max-height: 101px; }
.internal .page-header .navbar ul a { display: table-cell; vertical-align: middle; }
.internal .page-header .navbar h2 { font-family: Niconne; line-height: 1em; font-size: 40px; vertical-align: middle; padding: 0px 35px; }

.page-header .navbar ul.nav-items {
    list-style: none; display: flex; flex-wrap: nowrap; margin: 0; padding: 0 40px;
    overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
}
.page-header .navbar ul.nav-items::-webkit-scrollbar { display: none; }
.page-header .navbar li { margin: 0; flex: 0 0 auto; font-size: 14px; text-align: center; }
.page-header .navbar li>a { color: #FFF; display: block; padding: 0 15px; line-height: 40px; white-space: nowrap; text-decoration: none; }
.page-header .navbar li>a:hover, .page-header .navbar li>a:focus,
.page-header .navbar li.active>a, .page-header .navbar li.active>a:hover,
.page-header .navbar li.active>a:focus { color: #FFF; text-decoration: none; background-color: #EF4034; }

@media (min-width: 380px) { .internal .page-header .navbar h2 { font-size: 48px; } }
@media (min-width: 768px) {
    .internal .page-header .navbar { min-height: 52px; }
    .internal .page-header .navbar .vcenter { height: 52px; }
    .internal .page-header .navbar h2 { font-size: 2.55em; height: 52px; line-height: 52px; }
    .internal .page-header .navbar li { font-size: 1em; }
}

.page-header .prev, .page-header .next {
    position: absolute; top: 0px; height: 100%; width: 40px; display: block;
    background-repeat: no-repeat; background-position: center; background-color: rgba(0,0,0,0.6);
    z-index: 10; cursor: pointer; transition: opacity .25s ease-in;
}
.page-header .prev { left: 0; background-image: url(../images/prev.png); background-size: 12px auto; }
.page-header .next { right: 0; background-image: url(../images/next.png); background-size: 12px auto; }
.page-header .prev.disabled, .page-header .next.disabled { opacity: 0.3; cursor: default; }
@media (min-width: 768px) {
    .page-header .prev { left: 0; width: 30px; background-color: rgba(0,0,0,0.6); background-image: url(../images/prev.png); background-size: 10px auto; }
    .page-header .next { right: 0; width: 30px; background-color: rgba(0,0,0,0.6); background-image: url(../images/next.png); background-size: 10px auto; }
}

.page-header .zoom {
    display: none; border: none; width: 28px; height: 28px; position: absolute; left: 28px;
    background-image: url(../images/plus-minus.png); background-repeat: no-repeat;
    background-position: 0px 0px; background-color: transparent;
}
.page-header .zoom.plus { bottom: 93px; background-position: -28px 0px; }
.page-header .zoom.minus { bottom: 57px; }
.page-header .zoom.plus:hover, .page-header .zoom.plus:focus { background-position: -28px -28px; }
.page-header .zoom.minus:hover, .page-header .zoom.minus:focus { background-position: 0px -28px; }
@media (min-width: 768px) { .page-header .zoom { display: block; } }

.footer-procedures {
    margin: 1px 0;
    padding: 18px 10px;
    background-color: rgba(0,0,0,0.7);
}
.footer-procedures .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 900px;
}
.footer-procedures .col-sm-2-5 {
    display: contents; /* children flow directly into the flex container */
}
.footer-procedures a {
    color: #FFF;
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    padding: 7px 16px;
    border-right: 1px solid rgba(255,255,255,0.18);
    white-space: nowrap;
}
.footer-procedures a:last-child,
.footer-procedures a:last-of-type {
    border-right: none;
}
@media (max-width: 767px) {
    .footer-procedures .container { gap: 0; }
    .footer-procedures a {
        font-size: 14px;
        padding: 9px 14px;
        border-right: 1px solid rgba(255,255,255,0.15);
        /* long procedure names must wrap instead of overflowing narrow screens */
        white-space: normal;
        max-width: 100%;
        text-align: center;
    }
}
@media (min-width: 992px) {
    .footer-procedures { margin: 0; background-color: rgba(0,0,0,0.5); }
    .footer-procedures a { font-size: 12px; padding: 8px 18px; }
}

section.contact-us { color: #FFF; background-color: rgba(0,0,0,0.5); font-size: 18px; padding: 30px 0; }
@media (min-width: 768px) { section.contact-us { font-size: 1.15em; padding: 20px 0; } }
@media (min-width: 992px) { section.contact-us { font-size: 1em; padding: 0; } }
section.contact-us .container:before, section.contact-us .container:after { content: ''; display: block; width: 100%; height: 38px; background-repeat: no-repeat; }
section.contact-us .container:before { background-image: url(../images/divider-ornament-up.png); background-position: center top; }
section.contact-us .container:after { background-image: url(../images/divider-ornament-down.png); background-position: center bottom; }
section.contact-us .container div+div { margin-top: 15px; }
section.contact-us .container span { display: block; }
@media (min-width: 768px) {
    section.contact-us .container span { display: inline-block; }
    section.contact-us .container span+span { margin-left: 5px; }
    section.contact-us .container span+span:before { content: '\2022'; padding-right: 8px; }
}

section.copyright { color: #FFF; background-color: rgba(0,0,0,0.5); font-size: 16px; padding: 30px 0; }
section.copyright span { display: block; }
@media (min-width: 768px) { section.copyright { font-size: 1em; padding: 10px 0 20px 0; } section.copyright span { display: inline-block; } }
@media (min-width: 992px) { section.copyright { font-size: 0.85em; padding: 30px 0 25px 0; } }


section.main-content-container { background-color: #E3E1D6; }
.home section.main-content-container { background-color: transparent; text-align: center; margin: 0; padding: 0; }
.home section.main-content { background-color: rgba(227,225,214,0.95); padding: 25px 15px; margin: 0 auto; text-align: center; }
.home section.main-content .content-page { padding: 20px 15px; text-align: center; }
.home section.main-content .col-sm-6 { padding: 0 15px; text-align: left; }

section.main-content-top { background-color: #36312D; padding: 20px 0 25px 0; position: relative; color: #FFF; font-size: 14px; line-height: 1.6; text-align: left; }
section.main-content-top .container { text-align: left; }
section.main-content-top .exam-part { padding: 15px 0; }
@media (min-width: 768px) { section.main-content-top { padding: 30px 0 35px 0; font-size: 16px; } }
@media (min-width: 992px) { section.main-content-top { padding: 40px 0 45px 0; } }

section.main-content-top .map-container { width: 90%; display: inline-block; }
section.main-content-top .image-container { border: 1px solid #868483; padding: 7px; }
section.main-content-top .map-container iframe { width: 100%; height: 530px; }
section.main-content-top .image-container img { width: 100%; height: auto; }

section.main-content-top h3 { font-weight: normal; font-family: "Questrial"; font-size: 36px; }
section.main-content-top p, section.main-content-top ul { font-size: 18px; }
section.main-content-top h3+p, section.main-content-top h3+ul { margin-top: 10px; }
section.main-content-top ul { margin-left: 20px; color: #D94239; }
section.main-content-top ul span { color: #FFF; }

section.main-content-top .contact-part { text-align: left; padding: 20px 0; margin: 0 5%; }
section.main-content-top .contact-part+.contact-part { border-top: 1px solid #868483; }
section.main-content-top .contact-part div { padding: 10px 0 0 0; }
section.main-content-top .contact-part div+div { margin-top: 10px; }

.download-pdf { display: inline-block; padding: 15px 2px 15px 40px; border-top: 1px solid #868483; text-align: left; background-image: url(../images/pdf.png); background-repeat: no-repeat; background-position: 1px center; }
.download-pdf:last-child { border-bottom: 1px solid #868483; }

@media (min-width: 768px) {
    section.main-content-top h3 { font-size: 1.7em; }
    section.main-content-top p, section.main-content-top ul { font-size: 1.1em; }
    section.main-content-top .contact-part { border: none; width: 40%; float: left; }
    section.main-content-top .contact-part+.contact-part { border-top: none; }
}
@media (min-width: 992px) {
    section.main-content-top .contact-part { width: 45%; float: none; margin: 0 20px; border-bottom: 1px solid #868483; }
    section.main-content-top .contact-part:last-child { border: none; }
}

section.main-content-top:after { content: ' '; position: absolute; width: 100%; height: 2px; bottom: 0; background-image: url(../images/main-content-divider.png); background-size: 100% 2px; background-position: center top; }

section.main-content-bottom { background-color: #1E1A18; color: #FFF; padding: 20px 0; }
section.main-content-bottom h3 { font-style: normal; font-family: "Questrial"; color: #FF4D45; margin: 0 0 10px 0; font-size: 36px; }
section.main-content-top h5, section.main-content-bottom h5 { font-style: normal; font-family: "Questrial"; color: #FFF; margin-top: 10px; margin-bottom: 15px; font-size: 20px; padding: 0 10px; line-height: 1.4; }
section.main-content-top p, section.main-content-bottom p { font-size: 18px; text-align: left; }
section.main-content-top a, section.main-content-bottom a { font-size: 18px; }
section.main-content-top li, section.main-content-bottom li { font-size: 18px; text-align: left; }
section.main-content-top h5 a { color: #FF4D45; }
section.main-content-top a { color: #FF4D45; text-decoration: none; }
section.main-content-top a:hover { color: #fff; text-decoration: none; }
section.main-content-top a.button { color: #fff; }
section.main-content-top a.button:hover { color: #FF4D45; text-decoration: none; }

@media (min-width: 768px) {
    section.main-content-bottom h3 { font-size: 1.7em; }
    section.main-content-top h5, section.main-content-bottom h5 { font-size: 1.15em; }
    section.main-content-top a, section.main-content-bottom a,
    section.main-content-top p, section.main-content-bottom p,
    section.main-content-top li, section.main-content-bottom li { font-size: 1em; }
}

section.main-content { padding: 18px 5px; color: #000; }
section.main-content h2 { margin: 0 15px 20px 15px; text-align: left; color: #ED3F33; font-family: Niconne; font-size: 48px; }
@media (min-width: 768px) { section.main-content h2 { font-size: 3.4em; } }
section.main-content p { text-align: left; font-size: 22px; }
section.main-content p+p { margin-top: 40px; }
section.main-content .signature { clear: both; padding: 10px 0; font-size: 16px; font-style: italic; font-weight: bold; }
section.main-content .signature:before, section.main-content .signature:after { content: ' ~ '; }
@media (min-width: 768px) {
    section.main-content-container { background: none; }
    section.main-content { background-color: rgba(227,225,214,0.95); }
    section.main-content h2 { text-align: center; }
    section.main-content p { font-size: 1.2em; }
    section.main-content p+p { margin-top: 25px; }
    section.main-content .signature { font-size: 1.15em; }
}
@media (min-width: 992px) { section.main-content p { font-size: 1em; } }

.exam-part { margin-bottom: 15px; }
.exam-part li { color: #FF4D45; margin-bottom: 15px; }
.exam-part li span { color: #FFF; }
.exam-part h5 { margin-bottom: 15px; }
.exam-part .divided { border-top: 1px solid #868483; margin-top: 5px; padding-top: 20px; }
.exam-part ul { margin-top: 20px; }
section.main-content-bottom .exam-part+.exam-part { padding-top: 50px; background: url(../images/divider-ornament-up.png) no-repeat center top; }
.exam-part p+p { margin-top: 10px; }

.exam-part h3 { font-weight: normal; font-family: "Questrial"; font-size: 1.7em; margin-bottom: 15px; }
.exam-part h4 { font-weight: normal; font-family: "Questrial"; font-size: 1.3em; margin: 20px 0 10px 0; color: #FF4D45; }
.exam-part p { margin-bottom: 15px; line-height: 1.6; }
.exam-part ul { margin-left: 20px; margin-bottom: 15px; }
.exam-part li { margin-bottom: 8px; line-height: 1.5; }
.exam-part strong { color: #FF4D45; }

.exam-part h2, section.main-content-top h2 { font-family: Niconne; font-size: 36px; text-transform: none; margin-bottom: 20px; color: #FFF; }
@media (min-width: 768px) { .exam-part h2, section.main-content-top h2 { font-size: 2.55em; } }
section.main-content-top .exam-part, section.main-content-top .exam-part p, section.main-content-top .exam-part li { color: #FFF; }
section.main-content-top .exam-part h3, section.main-content-top .exam-part h4, section.main-content-top .exam-part h5 { color: #FF4D45; }

.site-map-part { padding-top: 12px; margin-bottom: 12px; }
.site-map-part+.site-map-part { border-top: 1px solid #868483; }
.site-map-part p a { color: #FF4D45; }

a.button { color: #FFF; }

.fifth-avenue-new-york { background-image: url(../images/header-banners/25-fifth-avenue-new-york.jpg); }
.comprehensive-eye-exam-ny { background-image: url(../images/header-banners/comprehensive-eye-exam-ny.jpg); }
.eye-care-new-york { background-image: url(../images/header-banners/eye-care-new-york.jpg); }
.eye-care-ny-welcome-desk { background-image: url(../images/header-banners/eye-care-ny-welcome-desk.jpg); }
.eye-doctor-office-new-york { background-image: url(../images/header-banners/eye-doctor-office-new-york.jpg); }
.eye-procedures-new-york { background-image: url(../images/header-banners/eye-procedures-new-york.jpg); }
.front-desk-opthalmology { background-image: url(../images/header-banners/front-desk-opthalmology.jpg); }
.laser-eye-surgery-new-york { background-image: url(../images/header-banners/laser-eye-surgery-new-york.jpg); }

img.border { border: 1px solid #868483; padding: 7px; width: 100%; height: auto; }
img { max-width: 100%; height: auto; }

.main-content .content-page { display: none; text-align: center; }
.main-content .content-page.active { display: block; }
.main-content .content-page h2 { text-align: center; margin-left: auto; margin-right: auto; }
.main-content .content-page .col-sm-6 { text-align: left; }
@media (min-width: 768px) {
    .main-content .content-page .col-sm-6 { display: inline-block; float: none; vertical-align: top; width: 48%; margin: 0 0.5%; }
}
.main-content .content-page .button { margin-top: 20px; display: inline-block; }

/* Bootstrap helpers we need */
.hidden-xs { display: none; }
.visible-xs { display: block; }
@media (min-width: 992px) { .hidden-xs { display: block; } .visible-xs { display: none !important; } }
@media (min-width: 768px) { .visible-md, .visible-lg { display: block; } }
@media (max-width: 767px) { .visible-md, .visible-lg { display: none !important; } }

.col-sm-6 { width: 100%; }
@media (min-width: 768px) { .col-sm-6 { width: 50%; float: left; padding: 0 15px; box-sizing: border-box; } }

.col-md-4, .col-md-6, .col-md-12 { width: 100%; box-sizing: border-box; padding: 0 15px; }
@media (min-width: 992px) {
    .col-md-4 { width: 33.333%; float: left; }
    .col-md-6 { width: 50%; float: left; }
    .col-md-12 { width: 100%; }
}
.row:after { content: ''; display: table; clear: both; }

/* Photo-first on mobile: image column shows above the text column */
@media (max-width: 991px) {
    .row.photo-first { display: flex; flex-direction: column-reverse; }
}

.navbar-nav { list-style: none; }
.navbar-nav li { display: inline-block; }
.nav { padding-left: 0; list-style: none; }

/* ── Helcim Payment Block ── */
.helcim-pay-block {
    padding: 15px 15px 25px;
}
.helcim-pay-inner {
    background: linear-gradient(135deg, #2c1f1e 0%, #1a1210 100%);
    border: 2px solid #FF4D45;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}
.helcim-pay-icon { margin-bottom: 16px; }
.helcim-pay-title {
    font-family: Questrial, sans-serif;
    font-size: 1.6em;
    color: #fff;
    margin-bottom: 12px;
    font-weight: normal;
}
.helcim-pay-desc {
    color: #ccc;
    font-size: 0.95em !important;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center !important;
}
.helcim-pay-desc strong { color: #fff; }
.helcim-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #FF4D45;
    color: #fff !important;
    font-family: Questrial, sans-serif;
    font-size: 1.1em !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 18px 48px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255,77,69,0.4);
    margin-bottom: 24px;
}
.helcim-pay-btn:hover {
    background-color: #e03d35;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,77,69,0.5);
}
.helcim-pay-btn svg { flex-shrink: 0; }
.helcim-pay-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.helcim-badge {
    font-size: 0.75em;
    color: #aaa;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 4px 12px;
    white-space: nowrap;
}
.helcim-pay-note {
    color: #888;
    font-size: 0.85em !important;
    margin-top: 0;
    text-align: center !important;
}
@media (min-width: 768px) {
    .helcim-pay-inner { padding: 45px 50px 40px; }
    .helcim-pay-title { font-size: 1.9em; }
}

/* ── Appointments Page ── */
.appt-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 25px;
}
@media (min-width: 900px) {
    .appt-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }
    .appt-info    { flex: 0 0 240px; }
    .appt-form-wrap { flex: 1; }
}

/* Info sidebar */
.appt-info { display: flex; flex-direction: column; gap: 20px; }
.appt-info-block {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.appt-info-icon { font-size: 1.3em; line-height: 1.6; flex-shrink: 0; }
.appt-info-block h4 {
    color: #FF4D45;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    font-family: Questrial, sans-serif;
    font-weight: normal;
}
.appt-info-block p { font-size: 0.9em !important; color: #ccc; line-height: 1.6; margin: 0; }
.appt-bring-list { margin: 0 0 0 15px; padding: 0; }
.appt-bring-list li { font-size: 0.9em !important; color: #ccc; }
.appt-bring-list li span { color: #ccc !important; }

/* Form wrapper */
.appt-form-wrap {
    background: linear-gradient(135deg, #2a2420 0%, #1e1a17 100%);
    border: 1px solid rgba(255,77,69,0.35);
    border-radius: 6px;
    padding: 28px 22px;
}

/* Success state */
.appt-success {
    text-align: center;
    padding: 40px 20px;
}
.appt-success-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #FF4D45;
    color: #fff;
    font-size: 1.8em;
    line-height: 56px;
    margin: 0 auto 16px;
}
.appt-success h4 { color: #FF4D45; font-size: 1.4em; margin-bottom: 10px; font-family: Questrial; font-weight: normal; }
.appt-success p  { color: #ccc; font-size: 0.95em !important; }

/* Form fields */
.appt-form { display: flex; flex-direction: column; gap: 16px; }
.appt-form-row { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 600px) {
    .appt-form-row { flex-direction: row; gap: 16px; }
    .appt-form-row .appt-field { flex: 1; }
}
.appt-field { display: flex; flex-direction: column; gap: 6px; }
.appt-field-full { width: 100%; }
.appt-field label {
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #aaa;
    font-family: Questrial, sans-serif;
}
.appt-field .req { color: #FF4D45; }
.appt-field input,
.appt-field select,
.appt-field textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3px;
    color: #fff;
    padding: 10px 12px;
    font-size: 0.95em;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
}
.appt-field input::placeholder,
.appt-field textarea::placeholder { color: #666; }
.appt-field select option { background: #2a2420; color: #fff; }
.appt-field input:focus,
.appt-field select:focus,
.appt-field textarea:focus { border-color: #FF4D45; background: rgba(255,255,255,0.09); }
.appt-field input.invalid,
.appt-field select.invalid { border-color: #e05; }
.appt-field textarea { resize: vertical; min-height: 80px; }
/* Date input color fix */
.appt-field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.6); }

/* Footer row */
.appt-form-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-top: 6px;
}
@media (min-width: 600px) {
    .appt-form-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.appt-privacy { font-size: 0.78em !important; color: #777; margin: 0; }
.appt-submit {
    background: #FF4D45;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 13px 32px;
    font-family: Questrial, sans-serif;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}
.appt-submit:hover  { background: #e03d35; transform: translateY(-1px); }
.appt-submit:active { transform: translateY(0); }
.appt-submit:disabled { background: #666; cursor: not-allowed; transform: none; }

/* ── Appointment CTA card (replaces form-wrap) ── */
.appt-cta-card {
    background: linear-gradient(135deg, #2a2420 0%, #1e1a17 100%);
    border: 1px solid rgba(255,77,69,0.4);
    border-radius: 6px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.appt-cta-icon { font-size: 2.4em; line-height: 1; }
.appt-cta-title {
    color: #fff;
    font-family: Questrial, sans-serif;
    font-size: 1.5em;
    font-weight: normal;
    margin: 0;
}
.appt-cta-desc {
    color: #bbb;
    font-size: 0.9em !important;
    line-height: 1.6;
    margin: 0;
    text-align: center !important;
    max-width: 280px;
}
.appt-open-btn {
    background: #FF4D45;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 15px 38px;
    font-family: Questrial, sans-serif;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 6px;
}
.appt-open-btn:hover  { background: #e03d35; transform: translateY(-1px); }
.appt-open-btn:active { transform: translateY(0); }
.appt-cta-note {
    color: #777;
    font-size: 0.8em !important;
    margin: 0;
    text-align: center !important;
}
.appt-cta-note a { color: #FF4D45 !important; }

/* ── Modal overlay ── */
.appt-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.appt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(3px);
}
.appt-modal-box {
    position: relative;
    z-index: 1;
    background: #1e1a17;
    border: 1px solid rgba(255,77,69,0.4);
    border-radius: 8px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    animation: modalIn 0.22s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(-18px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Modal header */
.appt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.appt-modal-header h3 {
    color: #fff;
    font-family: Questrial, sans-serif;
    font-size: 1.25em;
    font-weight: normal;
    margin: 0;
}
.appt-modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.7em;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s;
}
.appt-modal-close:hover { color: #fff; }

/* Step indicator */
.appt-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px 10px;
    gap: 0;
}
.appt-step {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78em;
    color: #666;
    font-family: Questrial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: color 0.2s;
}
.appt-step span {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #333;
    color: #777;
    font-size: 0.85em;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.appt-step.active       { color: #fff; }
.appt-step.active span  { background: #FF4D45; color: #fff; }
.appt-step.done         { color: #FF4D45; }
.appt-step.done span    { background: #FF4D45; color: #fff; }
.appt-step-line {
    flex: 1;
    height: 1px;
    background: #333;
    margin: 0 8px;
    min-width: 20px;
}

/* Step panels */
.appt-step-panel { padding: 16px 24px 24px; }

/* Nav row inside modal */
.appt-modal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 12px;
}
.appt-btn-next, .appt-btn-back {
    border: none;
    border-radius: 3px;
    padding: 11px 26px;
    font-family: Questrial, sans-serif;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.appt-btn-next {
    background: #FF4D45;
    color: #fff;
    margin-left: auto;
}
.appt-btn-next:hover { background: #e03d35; transform: translateY(-1px); }
.appt-btn-back {
    background: rgba(255,255,255,0.07);
    color: #aaa;
}
.appt-btn-back:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Review step */
.appt-review-label {
    color: #aaa;
    font-size: 0.85em !important;
    margin-bottom: 14px;
    text-align: left !important;
}
.appt-review-grid { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.appt-review-row {
    display: flex;
    gap: 12px;
    padding: 9px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 3px;
    font-size: 0.9em;
}
.appt-review-key {
    color: #888;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex: 0 0 130px;
    padding-top: 1px;
}
.appt-review-val { color: #fff; flex: 1; word-break: break-word; }

/* Success inside modal */
.appt-success {
    text-align: center;
    padding: 40px 24px 32px;
}
.appt-success-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #FF4D45;
    color: #fff;
    font-size: 1.8em;
    line-height: 60px;
    margin: 0 auto 18px;
}
.appt-success h4 {
    color: #FF4D45;
    font-size: 1.4em;
    margin-bottom: 10px;
    font-family: Questrial, sans-serif;
    font-weight: normal;
}
.appt-success p { color: #ccc; font-size: 0.95em !important; }

/* Submit button */
.appt-submit {
    background: #FF4D45;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 13px 32px;
    font-family: Questrial, sans-serif;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.appt-submit:hover  { background: #e03d35; transform: translateY(-1px); }
.appt-submit:disabled { background: #666; cursor: not-allowed; transform: none; }

/* ── CTA card extras ── */
.appt-cta-eyeicon { margin-bottom: 4px; }
.appt-cta-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    width: 100%;
    max-width: 240px;
}
.appt-cta-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bbb;
    font-size: 0.88em !important;
}
.appt-cta-num {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255,77,69,0.18);
    border: 1px solid rgba(255,77,69,0.5);
    color: #FF4D45;
    font-size: 0.8em;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-family: Questrial, sans-serif;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile & Tablet Polish
   ═══════════════════════════════════════════════════ */

/* ── Mobile + Tablet header: compact logo + always-visible lang selector ── */
@media (max-width: 991px) {
    section.header { height: auto; min-height: 70px; padding: 10px 0; }
    .logo { padding: 6px 0 6px 0; }
    .logo img { max-height: 50px; width: auto; }

    /* Language selector in header: show on mobile too (small, top-right) */
    .header .language-selector.hidden-xs {
        display: flex !important;
        position: absolute;
        top: 10px;
        right: 10px;
        gap: 4px;
    }
    .header .language-selector.hidden-xs .button {
        font-size: 9px;
        padding: 4px 8px;
    }

    /* Mobile nav bar: hamburger */
    .header-menu .show-menu {
        font-size: 15px;
        padding: 11px 15px;
        margin: 0;
        float: left;
        line-height: 1.3;
    }

    /* Remove the visible-xs lang selector from nav — header has it now */
    .header-menu .language-selector.visible-xs { display: none !important; }

    /* Keep show-menu button positioned correctly after container becomes static */
    .header-menu .navbar { position: relative; }

    /* Fix: .container is position:relative and centered (max 450px),
       so make it static here — nav positions relative to .navbar (full width) */
    .header-menu .navbar .container { position: static; }

    /* Dropdown nav: full width, vertical stack */
    .header-menu .nav {
        left: 0;
        width: 100%;
        max-width: 100%;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .header-menu .nav > li {
        display: block !important;
        width: 100% !important;
        float: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .header-menu .nav > li > a {
        padding: 14px 20px !important;
        display: block !important;
        width: 100%;
        box-sizing: border-box;
        font-size: 15px;
    }
    /* Submenu items: stack vertically, full width, centered */
    .header-menu .nav .sub-menu,
    .header-menu .nav .submenu { display: block; width: 100%; }
    .header-menu .nav .sub-menu li,
    .header-menu .nav .submenu li {
        display: block !important;
        width: 100% !important;
        float: none !important;
    }
    .header-menu .nav .sub-menu li > a,
    .header-menu .nav .submenu li > a {
        display: block !important;
        width: 100%;
        box-sizing: border-box;
        padding: 11px 20px !important;
        font-size: 14px;
        text-align: center;
        white-space: normal;
    }

    /* Page title: smaller on mobile */
    .internal .page-header .navbar h2 { font-size: 28px; padding: 0 15px; }
    .internal .page-header .navbar { min-height: 70px; }
    .internal .page-header .navbar .vcenter { height: 70px; }

    /* Home banner */
    .home-banner { min-height: 200px; padding: 20px 15px 0; }
    .home-banner h1 { font-size: 20px; line-height: 1.3; margin-bottom: 20px; }
    .home-banner h1 em { font-size: 48px; }
    /* Banner CTA block */
    .banner-cta { margin-bottom: 14px; }
    .banner-title { font-family: Questrial, sans-serif; font-size: 18px; color: #fff; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.04em; }
    .banner-book-btn { display: inline-block; font-size: 13px; padding: 12px 20px; white-space: nowrap; }
    .banner-learn-btn { display: inline-block; font-size: 13px; padding: 12px 20px; }

    /* Main content: more padding */
    section.main-content-top { padding: 20px 0; }
    section.main-content-top .container { padding: 0 12px; }
    section.main-content-top h3 { font-size: 1.4em; }
    section.main-content-top p,
    section.main-content-top ul,
    section.main-content-top li { font-size: 16px; }

    /* Images responsive */
    .img-responsive { width: 100%; height: auto; display: block; margin: 10px 0; }
    section.main-content-top .image-container { width: 100%; }

    /* Appointments book button: full width on mobile */
    .appt-book-btn { width: 100%; justify-content: center; padding: 16px 20px; font-size: 1em; }
    .appt-book-wrap { padding: 28px 18px; }

    /* Modal: no border-radius on very small screens */
    .modal-box { border-radius: 6px; }
    .modal-body { padding: 16px 16px 20px; }
    .modal-head { padding: 16px 16px 14px; }
    .modal-steps { padding: 14px 16px 0; }

    /* Footer: larger tap targets handled in footer-procedures block above */
    section.contact-us { font-size: 16px; }
    section.copyright { font-size: 14px; }

    /* Container: ensure no overflow */
    .container { max-width: 100%; padding: 0 12px; }

    /* Columns: always full width on mobile */
    .col-md-4, .col-md-6, .col-md-12,
    .col-sm-6, .col-sm-2-5 { width: 100% !important; float: none !important; padding: 0; }

    /* Row images: stack nicely */
    .row .col-md-6 img { margin-bottom: 12px; }

    /* Buttons */
    .button { padding: 10px 20px; font-size: 1em; }
}

/* ── Tablet (768px – 991px) ── */
@media (min-width: 768px) and (max-width: 991px) {
    .container { padding: 0 20px; }

    /* Page title */
    .internal .page-header .navbar h2 { font-size: 2em; }

    /* Content */
    section.main-content-top h3 { font-size: 1.5em; }
    section.main-content-top p,
    section.main-content-top ul,
    section.main-content-top li { font-size: 1em; }

    /* Two-column at tablet */
    .col-md-6 { width: 50%; float: left; box-sizing: border-box; padding: 0 10px; }
    .col-md-4 { width: 33.333%; float: left; box-sizing: border-box; padding: 0 10px; }

    /* Footer procedures: 3 per row on tablet */
    .col-sm-2-5 { width: 33.333%; float: left; }

    /* Home banner */
    .home-banner { min-height: 300px; }
}

/* ── Fix: images inside content always scale ── */
section.main-content-top img,
section.main-content-bottom img,
section.main-content img {
    max-width: 100%;
    height: auto;
}

/* ── Fix: very long nav labels wrap gracefully in submenu ── */
.header-menu .sub-menu li > a {
    white-space: normal;
    line-height: 1.35;
    padding: 6px 0;
}

/* ── Fix: map iframe scales on mobile ── */
@media (max-width: 991px) {
    section.main-content-top .map-container { width: 100%; }
    section.main-content-top .map-container iframe { height: 280px; }
}

/* ── Zoom buttons: visible on tablet too ── */
@media (min-width: 768px) {
    .page-header .zoom { display: block; }
}

/* ═══════════════════════════════════════════════════
   ACCESSIBILITY TOOLS WIDGET
   ═══════════════════════════════════════════════════ */
#a11y-btn {
    position: fixed; left: 16px; bottom: 16px; z-index: 2147483000;
    width: 52px; height: 52px; border-radius: 50%;
    background: #FF4D45; color: #fff; border: none; cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.15s, background 0.2s;
}
#a11y-btn:hover { background: #e03d35; transform: translateY(-2px); }
#a11y-btn svg { width: 28px; height: 28px; }
#a11y-panel {
    position: fixed; left: 16px; bottom: 78px; z-index: 2147483000;
    width: 260px; max-width: calc(100vw - 32px);
    background: #1e1a17; border: 1px solid #FF4D45; border-radius: 10px;
    padding: 14px; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: none; font-family: Arial, Helvetica, sans-serif;
}
#a11y-panel.open { display: block; }
#a11y-panel h4 {
    color: #FF4D45; font-size: 14px; margin: 0 0 12px; text-align: center;
    font-family: inherit; font-weight: bold; text-transform: uppercase; letter-spacing: 0.06em;
}
.a11y-row { display: flex; gap: 8px; margin-bottom: 8px; }
.a11y-item {
    flex: 1; background: rgba(255,255,255,0.06); color: #fff !important;
    border: 1px solid rgba(255,255,255,0.15); border-radius: 6px;
    padding: 10px 6px; font-size: 12px; line-height: 1.25; cursor: pointer;
    text-align: center; font-family: inherit; transition: background 0.15s, border-color 0.15s;
}
.a11y-item:hover { background: rgba(255,77,69,0.25); border-color: #FF4D45; }
.a11y-item.active { background: #FF4D45; border-color: #FF4D45; color: #fff !important; }
.a11y-reset {
    width: 100%; margin-top: 2px; background: transparent; color: #FF4D45 !important;
    border: 1px solid #FF4D45; border-radius: 6px; padding: 10px; font-size: 12px;
    cursor: pointer; font-family: inherit; text-transform: uppercase; letter-spacing: 0.05em;
    transition: background 0.15s, color 0.15s;
}
.a11y-reset:hover { background: #FF4D45; color: #fff !important; }

/* ── Effect classes applied to <html> ── */
html.a11y-underline a { text-decoration: underline !important; }
html.a11y-readable, html.a11y-readable * { font-family: Arial, Helvetica, sans-serif !important; }
/* Keep the widget's own font regardless of Readable Font */
html.a11y-readable #a11y-panel, html.a11y-readable #a11y-panel * { font-family: Arial, Helvetica, sans-serif !important; }
/* Light Background: force a legible light theme (uses background-color so images stay) */
html.a11y-lightbg body,
html.a11y-lightbg section,
html.a11y-lightbg .main-content-container,
html.a11y-lightbg .main-content-top,
html.a11y-lightbg .main-content-bottom,
html.a11y-lightbg .bottom-body,
html.a11y-lightbg .exam-part,
html.a11y-lightbg .main-content { background-color: #ffffff !important; }
html.a11y-lightbg :is(p, li, span, h2, h3, h4, h5, dt, dd, address, .signature, .exam-part) { color: #1a1a1a !important; }
html.a11y-lightbg a:not(.button) { color: #c0392b !important; }
/* Never recolour the accessibility panel itself */
html.a11y-lightbg #a11y-panel, html.a11y-lightbg #a11y-panel * { background-color: transparent !important; }
html.a11y-lightbg #a11y-panel { background-color: #1e1a17 !important; }
html.a11y-lightbg #a11y-panel h4, html.a11y-lightbg #a11y-panel .a11y-reset { color: #FF4D45 !important; }
html.a11y-lightbg #a11y-panel .a11y-item { color: #fff !important; }

/* ── Bio page photo: text wraps around it, no gaps ── */
.bio-photo {
    float: right;
    width: 42%;
    max-width: 430px;
    height: auto;
    margin: 6px 0 22px 30px;
}
@media (max-width: 767px) {
    .bio-photo { float: none; width: 100%; max-width: 100%; margin: 0 0 18px 0; }
}

/* ── Banner services sub-line ── */
.home-banner .soft-row.banner-sub {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    height: auto;
    text-transform: none;
    letter-spacing: 0.04em;
    opacity: 0.95;
    margin-top: 6px;
}
.home-banner .soft-row.banner-sub:before, .home-banner .soft-row.banner-sub:after { content: none; }
@media (min-width: 768px) { .home-banner .soft-row.banner-sub { font-size: 0.5em; } }

/* ── Patient form download ── */
.form-dl-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #FF4D45; color: #fff !important;
    border: none; border-radius: 4px; padding: 13px 28px;
    font-family: Questrial, sans-serif; font-size: 15px;
    text-transform: uppercase; letter-spacing: 0.05em;
    cursor: pointer; transition: background 0.2s, transform 0.1s;
}
.form-dl-btn:hover { background: #e03d35; transform: translateY(-1px); color: #fff !important; }
.form-dl-note { color: #aaa; font-size: 0.85em !important; margin-top: 10px; }
.modal-success .form-dl-btn { margin: 14px 0 4px; font-size: 13px; padding: 11px 22px; }
.modal-success .form-dl-hint { color: #bbb; font-size: 0.85em; margin-top: 12px; }

/* ── Patient form block on Appointments page ── */
.patient-form-block {
    background: linear-gradient(135deg, #2a2420 0%, #1e1a17 100%);
    border: 1px solid rgba(255,77,69,0.35);
    border-radius: 10px;
    padding: 26px 24px;
    margin: 30px 0;
    text-align: center;
}
.patient-form-block h3 { color: #FF4D45; font-family: Questrial, sans-serif; font-weight: normal; font-size: 1.35em; margin-bottom: 10px; }
.patient-form-block p { color: #bbb; font-size: 0.95em !important; margin: 0; text-align: center !important; }
