:root {
    --bg: #f5f3ee;
    --surface: #ffffff;
    --surface-soft: #ece8e0;
    --surface-tint: rgba(255,255,255,.58);
    --text: #202525;
    --muted: #6d726f;
    --line: rgba(32, 37, 37, .10);
    --accent: #9d8257;
    --accent-dark: #7a6646;
    --dark: #1f2626;
    --dark-soft: #293130;
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 20px;
    --shadow-soft: 0 30px 80px rgba(27, 31, 31, .06);
    --container: 1240px;
    --header-height: 84px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(157, 130, 87, .09), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(255,255,255,.6), transparent 24%),
        var(--bg);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

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

.container {
    width: min(calc(100% - clamp(24px, 4vw, 56px)), var(--container));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 243, 238, .84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: auto;
    min-width: 0;
}

.brand-symbol {
    color: var(--accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: .8;
    flex: 0 0 auto;
}

.brand-name {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
    color: #4e5553;
    font-size: 15px;
}

.desktop-nav a {
    position: relative;
    transition: opacity .2s ease;
}

.desktop-nav a:hover {
    opacity: .6;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cta {
    min-height: 54px;
}

.menu-toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.5);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--dark);
    transition: transform .2s ease, opacity .2s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    transition: max-height .28s ease, border-color .28s ease;
    background: rgba(245, 243, 238, .98);
}

body.menu-open .mobile-menu {
    max-height: 420px;
    border-top-color: var(--line);
}

.mobile-menu-inner {
    padding: 18px 0 24px;
}

.mobile-nav {
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
}

.mobile-nav a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
}

.mobile-cta {
    width: 100%;
}


/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

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

.button-dark {
    color: #fff;
    background: var(--dark);
    box-shadow: 0 12px 30px rgba(31, 38, 38, .14);
}

.button-dark:hover {
    background: var(--dark-soft);
}

.button-secondary {
    color: var(--dark);
    background: rgba(255,255,255,.5);
    border-color: var(--line);
}

.button-secondary:hover {
    background: rgba(255,255,255,.85);
}

.button-light {
    color: var(--dark);
    background: #f3eee6;
}


/* TYPO */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
.brand-symbol,
.empty-mark,
.hero-number {
    font-family: Georgia, "Times New Roman", serif;
}

.eyebrow {
    margin-bottom: 20px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: rgba(255,255,255,.7);
}


/* HERO */

.hero {
    padding: clamp(34px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.hero-copy {
    max-width: 720px;
}

.hero-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(46px, 7vw, 88px);
    line-height: .96;
    font-weight: 400;
    letter-spacing: -.05em;
}

.hero-copy h1 span {
    color: var(--accent-dark);
}

.hero-text {
    max-width: 640px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.72;
}

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

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-point {
    padding: 18px 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.45);
}

.hero-point strong,
.hero-point span {
    display: block;
}

.hero-point strong {
    margin-bottom: 8px;
    font-size: 15px;
}

.hero-point span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.hero-visual {
    min-width: 0;
}

.hero-card {
    position: relative;
    min-height: clamp(460px, 56vw, 690px);
    padding: clamp(18px, 2vw, 24px);
    border-radius: clamp(26px, 3vw, 36px);
    background:
        linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.22)),
        linear-gradient(145deg, #d9d3c9, #c7c1b6);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-badge {
    position: absolute;
    top: clamp(18px, 2vw, 24px);
    left: clamp(18px, 2vw, 24px);
    z-index: 2;
    max-width: 250px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.45);
}

.hero-badge-label,
.hero-badge-text {
    display: block;
}

.hero-badge-label {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.hero-badge-text {
    color: #626866;
    font-size: 13px;
    line-height: 1.5;
}

.hero-art {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.hero-glow {
    position: absolute;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,255,255,0));
    filter: blur(10px);
}

.hero-number {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.76);
    font-size: clamp(150px, 20vw, 260px);
    line-height: .8;
}

.hero-info {
    position: absolute;
    right: clamp(18px, 2vw, 24px);
    bottom: clamp(18px, 2vw, 24px);
    left: clamp(18px, 2vw, 24px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    z-index: 2;
}

.info-pill {
    padding: 16px 16px 18px;
    border-radius: 20px;
    background: rgba(34, 39, 38, .72);
    color: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
}

.info-pill strong,
.info-pill span {
    display: block;
}

.info-pill strong {
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
}

.info-pill span {
    color: rgba(255,255,255,.7);
    font-size: 12px;
    line-height: 1.5;
}


/* TRUST */

.trust-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.25);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.trust-item {
    padding: 28px 24px;
    border-right: 1px solid var(--line);
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-item:last-child {
    border-right: 0;
    padding-right: 0;
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 400;
}

.trust-item span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}


/* SECTIONS */

.section {
    padding: clamp(78px, 10vw, 124px) 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(236,232,224,.7));
}

.section-heading {
    max-width: 760px;
    margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading h2,
.about-grid h2,
.appointment h2 {
    margin-bottom: 18px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: -.04em;
}

.section-heading p {
    max-width: 640px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.72;
}


/* SERVICES */

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

.service-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-tint);
    box-shadow: 0 12px 30px rgba(27, 31, 31, .03);
    display: flex;
    flex-direction: column;
}

.service-number {
    display: inline-block;
    margin-bottom: auto;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 400;
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}


/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
    gap: clamp(28px, 7vw, 96px);
}

.about-copy {
    padding-top: 20px;
}

.about-copy p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}


/* DOCTORS */

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

.doctor-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-tint);
}

.doctor-photo {
    width: 100%;
    aspect-ratio: 4 / 4.8;
    margin-bottom: 18px;
    border-radius: 20px;
    background: linear-gradient(145deg, #d8d3cb, #beb7ab);
}

.doctor-card h3 {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 400;
}

.doctor-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

.empty-card {
    min-height: 320px;
    padding: clamp(26px, 4vw, 50px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface-tint);
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
}

.empty-mark {
    color: var(--accent);
    font-size: clamp(96px, 10vw, 150px);
    line-height: .75;
    flex: 0 0 auto;
}

.empty-copy h3 {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 36px);
    font-weight: 400;
}

.empty-copy p {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.75;
}


/* APPOINTMENT */

.appointment {
    padding: clamp(74px, 8vw, 104px) 0;
    background: var(--dark);
    color: white;
}

.appointment-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.appointment h2 {
    max-width: 740px;
    margin-bottom: 0;
}


/* CONTACTS */

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

.contact-box {
    min-height: 160px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-tint);
}

.contact-box strong,
.contact-box span {
    display: block;
}

.contact-box strong {
    margin-bottom: 12px;
    font-size: 18px;
}

.contact-box span {
    color: var(--muted);
    line-height: 1.7;
}


/* FOOTER */

.footer {
    padding: 34px 0 42px;
    border-top: 1px solid var(--line);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}


/* RESPONSIVE */

@media (max-width: 1120px) {
    .desktop-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    :root {
        --header-height: 76px;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-card {
        min-height: 540px;
    }

    .trust-grid,
    .services-grid,
    .contacts-placeholder,
    .doctors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 720px) {
    .brand-name {
        font-size: 12px;
        letter-spacing: .12em;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .hero-info,
    .services-grid,
    .contacts-placeholder,
    .doctors-grid {
        grid-template-columns: 1fr;
    }

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

    .trust-item,
    .trust-item:first-child,
    .trust-item:last-child {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

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

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

@media (max-width: 540px) {
    .brand-symbol {
        font-size: 40px;
    }

    .brand-name {
        max-width: 180px;
        white-space: normal;
        line-height: 1.15;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 13vw, 54px);
        line-height: .98;
    }

    .hero-card {
        min-height: 430px;
        border-radius: 26px;
    }

    .hero-badge {
        max-width: 200px;
    }

    .hero-number {
        font-size: 145px;
    }

    .section-heading h2,
    .about-grid h2,
    .appointment h2 {
        font-size: clamp(34px, 11vw, 42px);
    }

    .service-card {
        min-height: 220px;
    }

    .contact-box {
        min-height: 132px;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================================
   8DENTAL — HERO COMPACT + LOGO UPDATE
   ========================================================= */

.brand-mark {
    width: 42px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.logo-eight {
    fill: none;
    stroke: #b59258;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.logo-smile {
    fill: none;
    stroke: #202525;
    stroke-width: 4;
    stroke-linecap: round;
}

.logo-smile-dot {
    fill: #202525;
}


/* HERO desktop — компактніше */

@media (min-width: 981px) {

    .hero {
        padding-top: clamp(34px, 4vw, 54px);
        padding-bottom: clamp(42px, 5vw, 70px);
    }

    .hero-grid {
        min-height: calc(100vh - var(--header-height) - 24px);
        max-height: 820px;
        align-items: center;
    }

    .hero-copy h1 {
        font-size: clamp(50px, 5.1vw, 76px);
        line-height: .95;
        margin-bottom: 20px;
        max-width: 720px;
    }

    .hero-text {
        font-size: 17px;
        line-height: 1.62;
        margin-bottom: 24px;
        max-width: 610px;
    }

    .hero-actions {
        margin-bottom: 22px;
    }

    .hero-points {
        gap: 10px;
    }

    .hero-point {
        padding: 14px 15px 16px;
    }

    .hero-card {
        min-height: min(650px, calc(100vh - 150px));
        max-height: 700px;
    }

}


/* HERO logo placeholder */

.hero-logo-placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: rgba(32, 37, 37, .52);
    text-align: center;
}

.hero-logo-placeholder svg {
    width: clamp(120px, 13vw, 185px);
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 18px 28px rgba(157,130,87,.08));
}

.hero-logo-placeholder .logo-eight {
    stroke: rgba(181,146,88,.82);
    stroke-width: 4.5;
}

.hero-logo-placeholder .logo-smile {
    stroke: rgba(32,37,37,.74);
}

.hero-logo-placeholder span {
    font-size: 13px;
    letter-spacing: .08em;
}


/* Tablet */

@media (min-width: 721px) and (max-width: 980px) {

    .hero {
        padding-top: 44px;
    }

    .hero-copy h1 {
        max-width: 720px;
        font-size: clamp(54px, 8vw, 72px);
    }

    .hero-card {
        min-height: 500px;
    }

    .hero-points {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* Mobile */

@media (max-width: 720px) {

    .brand-mark {
        width: 34px;
        height: 46px;
    }

    .brand {
        gap: 10px;
    }

    .hero {
        padding-top: 30px;
        padding-bottom: 54px;
    }

    .hero-grid {
        gap: 34px;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 12vw, 54px);
        line-height: .97;
        letter-spacing: -.045em;
        margin-bottom: 20px;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.62;
        margin-bottom: 24px;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 420px;
    }

    .hero-logo-placeholder svg {
        width: 120px;
    }

}


/* Very small phones */

@media (max-width: 390px) {

    .brand-name {
        font-size: 11px;
        letter-spacing: .09em;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .hero-card {
        min-height: 390px;
    }

}


/* =========================================================
   APPOINTMENT FORM
   ========================================================= */

.appointment-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(480px, 1fr);
    align-items: center;
    gap: clamp(40px, 7vw, 90px);
}

.appointment-copy h2 {
    max-width: 660px;
}

.appointment-copy p {
    max-width: 560px;
    margin-bottom: 0;
    color: rgba(255,255,255,.68);
    font-size: 16px;
    line-height: 1.75;
}

.appointment-card {
    padding: clamp(24px, 3vw, 34px);
    border-radius: 30px;
    background: #f5f3ee;
    color: var(--text);
}

.appointment-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field > span {
    color: #505654;
    font-size: 13px;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(32,37,37,.12);
    border-radius: 16px;
    outline: none;
    padding: 0 16px;
    background: rgba(255,255,255,.78);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.form-field textarea {
    min-height: 100px;
    padding-top: 14px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(157,130,87,.7);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(157,130,87,.09);
}

.appointment-submit {
    width: 100%;
    min-height: 58px;
    margin-top: 2px;
    background: var(--dark);
    color: white;
}

.appointment-submit:disabled {
    opacity: .58;
    cursor: wait;
    transform: none;
}

.form-message {
    display: none;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.55;
}

.form-message.is-success {
    display: block;
    background: rgba(47,116,78,.10);
    color: #285f43;
}

.form-message.is-error {
    display: block;
    background: rgba(151,58,58,.09);
    color: #863838;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
}


@media (max-width: 980px) {

    .appointment-layout {
        grid-template-columns: 1fr;
    }

    .appointment-copy {
        max-width: 720px;
    }

}


@media (max-width: 600px) {

    .appointment-card {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-field input,
    .form-field select {
        min-height: 56px;
        font-size: 16px;
    }

    .form-field textarea {
        font-size: 16px;
    }

}


/* =========================================================
   APPOINTMENT MODAL V2
   ========================================================= */

.appointment-lead {
    max-width: 650px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 16px;
    line-height: 1.7;
}

.appointment-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.appointment-modal.is-open {
    display: flex;
}

.appointment-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 22, 22, .64);
    backdrop-filter: blur(12px);
}

.appointment-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    max-height: min(90vh, 820px);
    overflow-y: auto;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 30px;
    background: #f5f3ee;
    box-shadow:
        0 35px 100px rgba(0,0,0,.28);
}

.appointment-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: var(--text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.appointment-modal-head {
    padding-right: 54px;
    margin-bottom: 28px;
}

.appointment-modal-head h2 {
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 54px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.04em;
}

.appointment-modal-head p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.appointment-modal .appointment-form {
    display: grid;
    gap: 16px;
}

.appointment-modal .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.appointment-modal .form-field {
    display: grid;
    gap: 8px;
}

.appointment-modal .form-field > span {
    color: #4e5552;
    font-size: 13px;
    font-weight: 600;
}

.appointment-modal input,
.appointment-modal select,
.appointment-modal textarea {
    width: 100%;
    min-height: 56px;
    border: 1px solid rgba(32,37,37,.12);
    border-radius: 16px;
    outline: none;
    padding: 0 16px;
    background: rgba(255,255,255,.85);
    color: var(--text);
    font: inherit;
    font-size: 16px;
}

.appointment-modal textarea {
    min-height: 105px;
    padding-top: 14px;
    resize: vertical;
}

.appointment-modal input:focus,
.appointment-modal select:focus,
.appointment-modal textarea:focus {
    border-color: rgba(157,130,87,.75);
    box-shadow: 0 0 0 4px rgba(157,130,87,.1);
    background: #fff;
}

.appointment-modal .appointment-submit {
    width: 100%;
    min-height: 58px;
    margin-top: 2px;
}

.appointment-modal .form-note {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.appointment-modal .honeypot {
    position: fixed !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.appointment-modal-open {
    overflow: hidden;
}


/* TABLET */

@media (max-width: 900px) {

    .appointment-modal {
        padding: 18px;
    }

    .appointment-modal-dialog {
        width: min(100%, 680px);
    }

}


/* MOBILE */

@media (max-width: 620px) {

    .appointment-modal {
        align-items: flex-end;
        padding: 0;
    }

    .appointment-modal-dialog {
        width: 100%;
        max-height: 94dvh;
        border-radius: 26px 26px 0 0;
        padding: 26px 18px 24px;
    }

    .appointment-modal-head {
        padding-right: 42px;
        margin-bottom: 22px;
    }

    .appointment-modal-head h2 {
        font-size: 38px;
    }

    .appointment-modal .form-row {
        grid-template-columns: 1fr;
    }

    .appointment-modal-close {
        top: 14px;
        right: 14px;
    }

    .appointment-inner {
        align-items: flex-start;
    }

    .appointment-inner .button {
        width: 100%;
    }

}


/* SMALL PHONES */

@media (max-width: 390px) {

    .appointment-modal-dialog {
        padding-inline: 15px;
    }

    .appointment-modal-head h2 {
        font-size: 34px;
    }

}


/* =========================================================
   PREMIUM BOOKING V3
   ========================================================= */

.premium-booking {
    width: min(94vw, 760px);
    max-height: 94vh;
    padding: 34px 38px 30px;
    border-radius: 32px;
}

.booking-head {
    padding-right: 50px;
    margin-bottom: 24px;
}

.booking-head .eyebrow {
    margin-bottom: 12px;
}

.booking-head h2 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 54px);
    font-weight: 400;
    line-height: .96;
    letter-spacing: -.04em;
}

.booking-head p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.booking-form {
    display: grid;
    gap: 18px;
}

.booking-main-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.booking-form .form-field > span {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.booking-form .form-field small {
    color: #929694;
    font-size: 11px;
    font-weight: 400;
}

.phone-input {
    min-height: 58px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(32,37,37,.13);
    border-radius: 17px;
    background: #fff;
    overflow: hidden;
}

.phone-input:focus-within {
    border-color: rgba(157,130,87,.72);
    box-shadow: 0 0 0 4px rgba(157,130,87,.09);
}

.phone-input strong {
    height: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 0 0 0 17px;
    color: var(--dark);
    font-size: 17px;
    font-weight: 600;
}

.phone-input input {
    min-width: 0;
    min-height: 58px !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding-left: 6px !important;
    font-size: 17px !important;
}

.booking-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.booking-group legend {
    margin-bottom: 9px;
    color: #505654;
    font-size: 13px;
    font-weight: 650;
}

.choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.choice-pill {
    position: relative;
    cursor: pointer;
}

.choice-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-pill span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid rgba(32,37,37,.11);
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    color: #555b58;
    font-size: 13px;
    font-weight: 550;
    transition:
        background .16s ease,
        color .16s ease,
        border-color .16s ease,
        transform .16s ease;
}

.choice-pill:hover span {
    transform: translateY(-1px);
    background: #fff;
}

.choice-pill input:checked + span {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.custom-date-wrap {
    margin-top: 10px;
}

.custom-date-wrap input {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid rgba(32,37,37,.12);
    border-radius: 15px;
    background: #fff;
    font: inherit;
    font-size: 15px;
}

.comment-toggle {
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-dark);
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

.comment-wrap textarea {
    width: 100%;
    min-height: 72px;
    max-height: 130px;
    padding: 13px 15px;
    border: 1px solid rgba(32,37,37,.12);
    border-radius: 15px;
    background: #fff;
    outline: 0;
    resize: vertical;
    font: inherit;
    font-size: 15px;
}

.booking-submit {
    width: 100%;
    min-height: 58px;
    margin-top: 0;
    font-size: 15px;
}

.booking-note {
    max-width: 590px;
    margin: -5px auto 0;
    color: #8b8f8d;
    text-align: center;
    font-size: 10.5px;
    line-height: 1.45;
}


/* tablet */

@media (max-width: 780px) {

    .premium-booking {
        width: min(96vw, 680px);
        padding: 30px 26px 26px;
    }

}


/* mobile */

@media (max-width: 620px) {

    .appointment-modal {
        align-items: flex-end;
        padding: 0;
    }

    .premium-booking {
        width: 100%;
        max-height: 96dvh;
        padding: 24px 17px 20px;
        border-radius: 26px 26px 0 0;
    }

    .booking-head {
        margin-bottom: 19px;
    }

    .booking-head h2 {
        font-size: 39px;
    }

    .booking-head p {
        font-size: 14px;
    }

    .booking-form {
        gap: 16px;
    }

    .booking-main-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .choice-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .choice-pill span {
        width: 100%;
        min-height: 43px;
        padding: 0 8px;
    }

    .booking-submit {
        min-height: 56px;
    }

}


/* very small phones */

@media (max-width: 370px) {

    .premium-booking {
        padding-inline: 14px;
    }

    .booking-head h2 {
        font-size: 35px;
    }

    .choice-pill span {
        font-size: 12px;
    }

}


/* =========================================================
   BOOKING MODAL — FIT IN VIEWPORT
   ========================================================= */

.premium-booking {
    width: min(92vw, 740px);
    max-height: calc(100dvh - 28px);

    padding:
        clamp(22px, 2.5vh, 28px)
        clamp(24px, 3vw, 34px)
        clamp(18px, 2vh, 24px);

    border-radius: 28px;

    overflow-y: auto;
    overscroll-behavior: contain;
}


/* Head */

.booking-head {
    margin-bottom: 17px;
    padding-right: 48px;
}

.booking-head .eyebrow {
    margin-bottom: 8px;
}

.booking-head h2 {
    margin-bottom: 6px;

    font-size: clamp(38px, 4.2vw, 50px);
    line-height: .94;
}

.booking-head p {
    font-size: 14px;
    line-height: 1.4;
}


/* Form spacing */

.booking-form {
    gap: 13px;
}

.booking-main-fields {
    gap: 10px;
}


/* Inputs */

.booking-form .form-field {
    gap: 6px;
}

.booking-form .form-field > span {
    font-size: 12.5px;
}

.phone-input {
    min-height: 50px;
    border-radius: 15px;
}

.phone-input strong {
    min-height: 50px;

    padding-left: 15px;

    font-size: 16px;
}

.phone-input input {
    min-height: 50px !important;

    font-size: 16px !important;
}

.booking-form input[type="text"] {
    min-height: 50px;

    border-radius: 15px;

    font-size: 15px;
}


/* Choices */

.booking-group legend {
    margin-bottom: 7px;

    font-size: 12.5px;
}

.choice-grid {
    gap: 6px;
}

.choice-pill span {
    min-height: 36px;

    padding: 0 13px;

    font-size: 12.5px;
}


/* Date */

.custom-date-wrap {
    margin-top: 7px;
}

.custom-date-wrap input {
    min-height: 46px;
}


/* Comment */

.comment-toggle {
    margin-top: -1px;

    font-size: 12.5px;
}

.comment-wrap textarea {
    min-height: 64px;
    max-height: 90px;

    font-size: 14px;
}


/* Submit */

.booking-submit {
    min-height: 52px;

    font-size: 14px;
}

.booking-note {
    margin-top: -4px;

    font-size: 9.5px;
    line-height: 1.35;
}


/* Close */

.appointment-modal-close {
    width: 38px;
    height: 38px;

    top: 12px;
    right: 12px;

    font-size: 23px;
}


/* =========================================================
   SHORT LAPTOP SCREENS
   ========================================================= */

@media (min-width: 621px) and (max-height: 850px) {

    .premium-booking {
        width: min(94vw, 720px);

        padding:
            20px
            28px
            17px;
    }

    .booking-head {
        margin-bottom: 13px;
    }

    .booking-head .eyebrow {
        display: none;
    }

    .booking-head h2 {
        font-size: 42px;
    }

    .booking-head p {
        font-size: 13px;
    }

    .booking-form {
        gap: 10px;
    }

    .phone-input,
    .phone-input strong,
    .phone-input input,
    .booking-form input[type="text"] {
        min-height: 46px !important;
    }

    .choice-pill span {
        min-height: 33px;

        padding-inline: 12px;

        font-size: 12px;
    }

    .booking-group legend {
        margin-bottom: 5px;
    }

    .booking-submit {
        min-height: 48px;
    }

    .booking-note {
        font-size: 9px;
    }

}


/* =========================================================
   VERY SHORT DESKTOP / LAPTOP
   ========================================================= */

@media (min-width: 621px) and (max-height: 720px) {

    .appointment-modal {
        padding: 8px;
    }

    .premium-booking {
        max-height: calc(100dvh - 16px);

        padding:
            16px
            24px
            14px;
    }

    .booking-head {
        margin-bottom: 10px;
    }

    .booking-head h2 {
        font-size: 36px;
    }

    .booking-head p {
        display: none;
    }

    .booking-form {
        gap: 8px;
    }

    .booking-main-fields {
        gap: 8px;
    }

    .phone-input,
    .phone-input strong,
    .phone-input input,
    .booking-form input[type="text"] {
        min-height: 42px !important;
    }

    .choice-pill span {
        min-height: 30px;

        font-size: 11.5px;
    }

    .booking-submit {
        min-height: 44px;
    }

    .booking-note {
        display: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .premium-booking {
        width: 100%;
        max-height: 96dvh;

        padding:
            22px
            16px
            18px;

        border-radius: 24px 24px 0 0;
    }

    .booking-head {
        margin-bottom: 16px;
    }

    .booking-head h2 {
        font-size: 36px;
    }

    .booking-main-fields {
        grid-template-columns: 1fr;
    }

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

    .choice-pill span {
        width: 100%;
        min-height: 42px;

        font-size: 13px;
    }

    .booking-submit {
        min-height: 54px;
    }

}


/* =========================================================
   SMALL MOBILE HEIGHT
   ========================================================= */

@media (max-width: 620px) and (max-height: 750px) {

    .premium-booking {
        max-height: 98dvh;

        padding-top: 18px;
    }

    .booking-head .eyebrow {
        display: none;
    }

    .booking-head h2 {
        font-size: 32px;
    }

    .booking-head p {
        font-size: 13px;
    }

    .booking-form {
        gap: 11px;
    }

}


/* =========================================================
   CONTACT ACTIONS
   ========================================================= */

.header-phone {
    color: var(--dark);
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
}

.header-callback {
    min-height: 48px;
    padding-inline: 18px;
}


/* =========================================================
   CALLBACK MODAL
   ========================================================= */

.callback-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.callback-modal.is-open {
    display: flex;
}

.callback-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(16,22,22,.62);
    backdrop-filter: blur(12px);
}

.callback-dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 470px);

    padding: 34px;

    border-radius: 30px;

    background: #f5f3ee;

    box-shadow:
        0 35px 100px rgba(0,0,0,.27);
}

.callback-dialog .eyebrow {
    margin-bottom: 10px;
}

.callback-dialog h2 {
    margin: 0 45px 10px 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 44px;
    line-height: .98;
    font-weight: 400;
    letter-spacing: -.04em;
}

.callback-dialog > p {
    margin: 0 0 24px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.6;
}

.callback-close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 40px;
    height: 40px;

    border: 1px solid var(--line);
    border-radius: 50%;

    background: rgba(255,255,255,.75);

    font-size: 24px;

    cursor: pointer;
}

#callbackForm {
    display: grid;
    gap: 15px;
}

.callback-phone-label {
    display: grid;
    gap: 8px;
}

.callback-phone-label > span {
    color: #505654;

    font-size: 13px;
    font-weight: 650;
}

.callback-phone-input {
    min-height: 58px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid rgba(32,37,37,.13);
    border-radius: 17px;

    background: #fff;
}

.callback-phone-input:focus-within {
    border-color: rgba(157,130,87,.7);

    box-shadow:
        0 0 0 4px rgba(157,130,87,.09);
}

.callback-phone-input strong {
    padding-left: 17px;

    font-size: 17px;
}

.callback-phone-input input {
    flex: 1;
    min-width: 0;

    height: 58px;

    padding: 0 15px 0 6px;

    border: 0;
    outline: 0;

    background: transparent;

    font: inherit;
    font-size: 17px;
}

.callback-submit {
    width: 100%;
    min-height: 56px;
}


/* =========================================================
   MOBILE CONTACT BAR
   ========================================================= */

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

@media (max-width: 1120px) {

    .header-phone,
    .header-callback,
    .header-cta {
        display: none;
    }

}


@media (max-width: 720px) {

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

    .mobile-contact-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;

        z-index: 900;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;

        padding:
            9px
            10px
            calc(9px + env(safe-area-inset-bottom));

        border-top: 1px solid rgba(32,37,37,.1);

        background: rgba(245,243,238,.94);

        backdrop-filter: blur(18px);
    }

    .mobile-contact-action {
        min-height: 52px;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 0;
        border-radius: 16px;

        font: inherit;
        font-size: 14px;
        font-weight: 700;

        cursor: pointer;
    }

    .mobile-call {
        color: var(--dark);

        background: #fff;

        border: 1px solid var(--line);
    }

    .mobile-book {
        color: #fff;

        background: var(--dark);
    }


    .callback-modal {
        align-items: flex-end;

        padding: 0;
    }

    .callback-dialog {
        width: 100%;

        padding: 27px 18px 24px;

        border-radius: 26px 26px 0 0;
    }

    .callback-dialog h2 {
        font-size: 38px;
    }

}


/* hide sticky while modal is open */

body.appointment-modal-open .mobile-contact-bar,
body.callback-modal-open .mobile-contact-bar {
    display: none;
}

/* REAL 8DENTAL HERO LOGO */
.hero-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-real-logo {
    display: block;
    width: min(82%, 340px);
    height: auto;
    margin: 0 auto;
}

@media (max-width: 620px) {
    .hero-real-logo {
        width: min(78%, 230px);
    }
}

/* FIX REAL HERO LOGO */
.hero-logo-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
}

.hero-real-logo {
    display: block !important;
    width: 360px !important;
    max-width: 58% !important;
    height: auto !important;
    max-height: 72% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    transform: none !important;
}

@media (max-width: 620px) {
    .hero-real-logo {
        width: 220px !important;
        max-width: 72% !important;
        max-height: 68% !important;
    }
}

/* HERO PHOTO */

.hero-photo-card {
    position: relative;
    width: 100%;
    height: clamp(500px, 54vw, 620px);
    overflow: hidden;
    border-radius: 34px;
    background: #e8e3dc;
    box-shadow: 0 24px 60px rgba(31,36,34,.08);
}

.hero-photo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
}

@media (max-width: 980px) {
    .hero-photo-card {
        height: 520px;
    }
}

@media (max-width: 620px) {
    .hero-photo-card {
        height: 390px;
        border-radius: 26px;
    }

    .hero-photo-image {
        object-position: 50% center;
    }
}

/* =========================================================
   HERO LOCATION CARD
   ========================================================= */

.hero-photo-card {
    position: relative;
}

.hero-location-card {
    position: absolute;

    right: 22px;
    bottom: 22px;

    z-index: 4;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    width: min(330px, calc(100% - 44px));

    padding: 16px 18px;

    color: #202524;
    text-decoration: none;

    border: 1px solid rgba(255,255,255,.72);
    border-radius: 20px;

    background: rgba(252,250,246,.88);

    box-shadow:
        0 18px 45px rgba(30,34,32,.13),
        inset 0 1px 0 rgba(255,255,255,.75);

    backdrop-filter: blur(18px) saturate(115%);
    -webkit-backdrop-filter: blur(18px) saturate(115%);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}

.hero-location-card:hover {
    transform: translateY(-2px);

    background: rgba(255,253,249,.95);

    box-shadow:
        0 22px 52px rgba(30,34,32,.17),
        inset 0 1px 0 rgba(255,255,255,.8);
}

.hero-location-icon {
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: rgba(181,140,75,.10);
}

.hero-location-icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: #a88149;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-location-content {
    min-width: 0;

    display: block;
}

.hero-location-city {
    display: block;

    margin-bottom: 4px;

    color: #9a7849;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .20em;
    text-transform: uppercase;
}

.hero-location-content strong {
    display: block;

    max-width: 235px;

    color: #252a29;

    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

.hero-location-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 8px;

    color: #777d79;

    font-size: 11px;
    line-height: 1.3;
}

.hero-location-rating {
    color: #9b7842;

    font-weight: 700;
}

.hero-location-dot {
    color: #a7aaa7;
}

.hero-location-link {
    display: flex;
    align-items: center;

    gap: 6px;

    margin-top: 9px;

    color: #343a38;

    font-size: 11px;
    font-weight: 650;
}

.hero-location-link span {
    transition: transform .18s ease;
}

.hero-location-card:hover .hero-location-link span {
    transform: translateX(3px);
}


/* MOBILE */

@media (max-width: 620px) {

    .hero-location-card {
        right: 12px;
        bottom: 12px;
        left: 12px;

        width: auto;

        padding: 13px 14px;

        gap: 11px;

        border-radius: 17px;
    }

    .hero-location-icon {
        flex-basis: 34px;

        width: 34px;
        height: 34px;
    }

    .hero-location-content strong {
        max-width: none;

        font-size: 13px;
    }

    .hero-location-meta {
        margin-top: 6px;

        font-size: 10px;
    }

    .hero-location-link {
        margin-top: 7px;

        font-size: 10px;
    }

}

/* =========================================================
   8DENTAL HERO — CLEAN PROFESSIONAL ALIGNMENT
   ========================================================= */

/* прибираємо стару вертикальну геометрію */
.hero {
    padding: 58px 0 68px !important;
    min-height: auto !important;
}

.hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr) !important;
    gap: clamp(42px, 5vw, 76px) !important;

    align-items: center !important;

    min-height: auto !important;
}

/* ліва частина */
.hero-copy {
    align-self: center !important;

    padding: 0 !important;
    margin: 0 !important;

    transform: none !important;
}

/* права частина */
.hero-visual {
    width: 100% !important;
    min-width: 0 !important;

    align-self: center !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   PHOTO CARD
   ========================================================= */

.hero-photo-card {
    position: relative !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 1.34 / 1 !important;

    padding: 7px !important;

    overflow: hidden !important;

    border: 1px solid rgba(54, 58, 55, .10) !important;
    border-radius: 32px !important;

    background: rgba(255,255,255,.64) !important;

    box-shadow:
        0 28px 70px rgba(30, 34, 32, .09),
        0 3px 12px rgba(30, 34, 32, .035) !important;
}


/* саме фото */

.hero-photo-image {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: 50% 50% !important;

    border-radius: 25px !important;

    transform: none !important;
}


/* дуже легкий premium overlay */
.hero-photo-card::after {
    content: "";

    position: absolute;

    inset: 7px;

    pointer-events: none;

    border-radius: 25px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.07) 0%,
            transparent 34%,
            transparent 72%,
            rgba(20,24,22,.035) 100%
        );

    z-index: 2;
}


/* =========================================================
   LOCATION CARD
   ========================================================= */

.hero-location-card {
    position: absolute !important;

    right: 24px !important;
    bottom: 24px !important;
    left: auto !important;

    z-index: 5 !important;

    width: min(315px, calc(100% - 48px)) !important;

    padding: 15px 16px !important;

    border: 1px solid rgba(255,255,255,.82) !important;
    border-radius: 19px !important;

    background: rgba(250,248,244,.90) !important;

    box-shadow:
        0 16px 38px rgba(22,26,24,.13),
        inset 0 1px 0 rgba(255,255,255,.85) !important;

    backdrop-filter: blur(18px) saturate(115%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(115%) !important;
}

.hero-location-card:hover {
    transform: translateY(-2px) !important;

    box-shadow:
        0 21px 46px rgba(22,26,24,.16),
        inset 0 1px 0 rgba(255,255,255,.9) !important;
}


/* трохи стриманіше оформлення адреси */

.hero-location-icon {
    background: rgba(173,132,72,.11) !important;
}

.hero-location-city {
    color: #987647 !important;
}

.hero-location-content strong {
    color: #252a28 !important;

    font-size: 13px !important;
    line-height: 1.38 !important;
}

.hero-location-meta {
    color: #727875 !important;
}

.hero-location-rating {
    color: #a27a3f !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .hero {
        padding: 46px 0 56px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 34px !important;
    }

    .hero-photo-card {
        aspect-ratio: 1.15 / 1 !important;
    }

}


/* =========================================================
   MOBILE / SMALL TABLET
   ========================================================= */

@media (max-width: 820px) {

    .hero {
        padding: 34px 0 48px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .hero-copy {
        order: 1 !important;
    }

    .hero-visual {
        order: 2 !important;
    }

    .hero-photo-card {
        aspect-ratio: 1.42 / 1 !important;

        padding: 5px !important;

        border-radius: 26px !important;
    }

    .hero-photo-image,
    .hero-photo-card::after {
        border-radius: 21px !important;
    }

}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 620px) {

    .hero {
        padding: 28px 0 38px !important;
    }

    .hero-grid {
        gap: 26px !important;
    }

    .hero-photo-card {
        aspect-ratio: 1 / 1.03 !important;
    }

    .hero-photo-image {
        object-position: 52% center !important;
    }

    .hero-location-card {
        right: 14px !important;
        bottom: 14px !important;
        left: 14px !important;

        width: auto !important;

        padding: 12px 13px !important;

        border-radius: 16px !important;
    }

    .hero-location-link {
        margin-top: 6px !important;
    }

}

/* =========================================================
   HERO LOCATION — AIRY GLASS
   ========================================================= */

.hero-location-card {
    right: 22px !important;
    bottom: 22px !important;

    width: min(300px, calc(100% - 44px)) !important;

    padding: 17px 18px !important;
    gap: 14px !important;

    border: 1px solid rgba(255,255,255,.58) !important;
    border-radius: 22px !important;

    background: rgba(248,246,241,.68) !important;

    backdrop-filter:
        blur(26px)
        saturate(125%) !important;

    -webkit-backdrop-filter:
        blur(26px)
        saturate(125%) !important;

    box-shadow:
        0 10px 32px rgba(24,28,26,.09),
        inset 0 1px 0 rgba(255,255,255,.72) !important;

    color: #222826 !important;
}

.hero-location-card:hover {
    transform: translateY(-2px) !important;

    background: rgba(252,250,246,.78) !important;

    box-shadow:
        0 14px 38px rgba(24,28,26,.11),
        inset 0 1px 0 rgba(255,255,255,.78) !important;
}


/* pin */
.hero-location-icon {
    flex: 0 0 38px !important;

    width: 38px !important;
    height: 38px !important;

    background: rgba(183,143,79,.10) !important;

    border: 1px solid rgba(183,143,79,.10) !important;
}


/* city */
.hero-location-city {
    margin-bottom: 5px !important;

    color: #9a7743 !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    letter-spacing: .23em !important;
}


/* address */
.hero-location-content strong {
    max-width: 215px !important;

    color: #202624 !important;

    font-size: 13px !important;
    font-weight: 620 !important;

    line-height: 1.42 !important;
}


/* rating */
.hero-location-meta {
    margin-top: 8px !important;

    gap: 5px !important;

    color: rgba(47,54,51,.58) !important;

    font-size: 10px !important;
}

.hero-location-rating {
    color: #a67d3f !important;
}


/* map link */
.hero-location-link {
    margin-top: 9px !important;

    color: rgba(28,34,32,.78) !important;

    font-size: 10px !important;
    font-weight: 650 !important;
}


/* mobile */
@media (max-width: 620px) {

    .hero-location-card {
        right: 12px !important;
        bottom: 12px !important;
        left: 12px !important;

        width: auto !important;

        padding: 13px 14px !important;

        border-radius: 18px !important;

        background: rgba(248,246,241,.74) !important;

        backdrop-filter:
            blur(22px)
            saturate(120%) !important;

        -webkit-backdrop-filter:
            blur(22px)
            saturate(120%) !important;
    }

    .hero-location-content strong {
        max-width: none !important;
        font-size: 12px !important;
    }

}

/* HERO PHOTO — 4:5 VERTICAL */

.hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr) !important;
}

.hero-photo-card {
    aspect-ratio: 4 / 5 !important;

    width: min(100%, 470px) !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-photo-image {
    object-fit: cover !important;
    object-position: 50% 50% !important;
}


/* TABLET */
@media (max-width: 1050px) {

    .hero-grid {
        grid-template-columns: 1fr 420px !important;
    }

    .hero-photo-card {
        width: 100% !important;
        aspect-ratio: 4 / 5 !important;
    }

}


/* MOBILE */
@media (max-width: 820px) {

    .hero-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-photo-card {
        width: min(100%, 520px) !important;
        aspect-ratio: 4 / 5 !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

}

/* =========================================================
   HERO — FIRST SCREEN BALANCE
   ========================================================= */

.hero {
    padding: 34px 0 42px !important;
    min-height: auto !important;
}

.hero-grid {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(390px, .85fr) !important;

    gap: clamp(42px, 5vw, 72px) !important;

    align-items: center !important;

    min-height: calc(100vh - 145px) !important;
}


/* LEFT */

.hero-copy {
    align-self: center !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}


/* RIGHT */

.hero-visual {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* PHOTO SIZE */

.hero-photo-card {
    width: min(100%, 455px) !important;
    height: 590px !important;

    aspect-ratio: auto !important;

    margin: 0 auto !important;

    padding: 7px !important;

    border-radius: 32px !important;
}


/* CROP:
   зміщуємо кадр вправо,
   щоб менше було коричневих дверей
*/

.hero-photo-image {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: 61% center !important;

    border-radius: 25px !important;
}


/* ADDRESS — трохи легша і компактніша */

.hero-location-card {
    right: 17px !important;
    bottom: 17px !important;
    left: auto !important;

    width: min(275px, calc(100% - 34px)) !important;

    padding: 13px 14px !important;

    border-radius: 18px !important;
}

.hero-location-icon {
    flex-basis: 34px !important;

    width: 34px !important;
    height: 34px !important;
}

.hero-location-content strong {
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.hero-location-meta {
    margin-top: 6px !important;
    font-size: 9.5px !important;
}

.hero-location-link {
    margin-top: 6px !important;
    font-size: 9.5px !important;
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1300px) {

    .hero-grid {
        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(370px, .9fr) !important;

        gap: 40px !important;
    }

    .hero-photo-card {
        width: min(100%, 425px) !important;
        height: 555px !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .hero {
        padding: 34px 0 48px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;

        min-height: auto !important;

        gap: 34px !important;
    }

    .hero-photo-card {
        width: min(100%, 520px) !important;
        height: 520px !important;
    }

    .hero-photo-image {
        object-position: 58% center !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .hero {
        padding: 26px 0 36px !important;
    }

    .hero-grid {
        gap: 26px !important;
    }

    .hero-photo-card {
        width: 100% !important;
        height: 430px !important;

        padding: 5px !important;

        border-radius: 26px !important;
    }

    .hero-photo-image {
        object-position: 58% center !important;

        border-radius: 21px !important;
    }

    .hero-location-card {
        right: 11px !important;
        bottom: 11px !important;
        left: 11px !important;

        width: auto !important;
    }

}

/* =========================================================
   HERO — FIT FULL FIRST SCREEN
   ========================================================= */

.hero {
    padding: 22px 0 30px !important;
}

.hero-grid {
    min-height: calc(100vh - 120px) !important;
    align-items: center !important;
}


/* desktop */
.hero-photo-card {
    width: min(100%, 430px) !important;
    height: 520px !important;
}


/* address slightly smaller */
.hero-location-card {
    right: 14px !important;
    bottom: 14px !important;

    width: min(260px, calc(100% - 28px)) !important;

    padding: 11px 12px !important;
}

.hero-location-icon {
    width: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
}

.hero-location-content strong {
    font-size: 11.5px !important;
}

.hero-location-meta,
.hero-location-link {
    font-size: 9px !important;
}


/* laptop */
@media (max-width: 1400px) {

    .hero {
        padding: 18px 0 26px !important;
    }

    .hero-photo-card {
        width: min(100%, 405px) !important;
        height: 490px !important;
    }

}


/* smaller laptop */
@media (max-width: 1200px) {

    .hero-grid {
        min-height: auto !important;
    }

    .hero-photo-card {
        width: min(100%, 390px) !important;
        height: 470px !important;
    }

}


/* tablet */
@media (max-width: 900px) {

    .hero {
        padding: 28px 0 38px !important;
    }

    .hero-photo-card {
        width: min(100%, 500px) !important;
        height: 470px !important;
    }

}


/* mobile */
@media (max-width: 620px) {

    .hero-photo-card {
        width: 100% !important;
        height: 390px !important;
    }

}

/* HERO RIGHT — 520x460 */

.hero-photo-card {
    width: min(100%, 520px) !important;
    height: 460px !important;
    aspect-ratio: auto !important;
}

.hero-photo-image {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: 60% center !important;
}

@media (max-width: 1400px) {
    .hero-photo-card {
        width: min(100%, 490px) !important;
        height: 445px !important;
    }
}

@media (max-width: 1200px) {
    .hero-photo-card {
        width: min(100%, 460px) !important;
        height: 430px !important;
    }
}

@media (max-width: 900px) {
    .hero-photo-card {
        width: min(100%, 520px) !important;
        height: 460px !important;
    }
}

@media (max-width: 620px) {
    .hero-photo-card {
        width: 100% !important;
        height: 390px !important;
    }
}

/* =========================================================
   HERO LOCATION — FULL WIDTH GLASS BAR
   ========================================================= */

.hero-location-card {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;

    width: auto !important;

    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;

    gap: 14px !important;

    padding: 14px 16px !important;

    border: 1px solid rgba(255,255,255,.46) !important;
    border-radius: 20px !important;

    background: rgba(244,241,235,.52) !important;

    backdrop-filter:
        blur(28px)
        saturate(120%) !important;

    -webkit-backdrop-filter:
        blur(28px)
        saturate(120%) !important;

    box-shadow:
        0 12px 30px rgba(23,27,25,.08),
        inset 0 1px 0 rgba(255,255,255,.60) !important;
}


/* pin */

.hero-location-icon {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;

    background: rgba(181,140,75,.10) !important;

    border: 1px solid rgba(181,140,75,.12) !important;
}


/* content layout */

.hero-location-content {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        auto !important;

    grid-template-areas:
        "city meta"
        "address link" !important;

    column-gap: 18px !important;
    row-gap: 3px !important;

    align-items: center !important;

    min-width: 0 !important;
}


/* city */

.hero-location-city {
    grid-area: city !important;

    margin: 0 !important;

    font-size: 9px !important;
    letter-spacing: .23em !important;

    color: #9d7945 !important;
}


/* address */

.hero-location-content strong {
    grid-area: address !important;

    max-width: none !important;

    margin: 0 !important;

    color: #212725 !important;

    font-size: 12.5px !important;
    font-weight: 640 !important;

    line-height: 1.35 !important;
}


/* rating */

.hero-location-meta {
    grid-area: meta !important;

    margin: 0 !important;

    justify-self: end !important;

    white-space: nowrap !important;

    font-size: 9.5px !important;

    color: rgba(45,52,49,.58) !important;
}


/* map link */

.hero-location-link {
    grid-area: link !important;

    margin: 0 !important;

    justify-self: end !important;

    white-space: nowrap !important;

    font-size: 9.5px !important;
    font-weight: 650 !important;

    color: rgba(31,37,34,.78) !important;
}


/* hover */

.hero-location-card:hover {
    transform: translateY(-1px) !important;

    background: rgba(248,245,239,.62) !important;

    box-shadow:
        0 15px 34px rgba(23,27,25,.10),
        inset 0 1px 0 rgba(255,255,255,.68) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .hero-location-card {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;

        padding: 12px 13px !important;

        border-radius: 17px !important;

        background: rgba(244,241,235,.60) !important;
    }

    .hero-location-content {
        grid-template-columns: 1fr !important;

        grid-template-areas:
            "city"
            "address"
            "meta"
            "link" !important;

        row-gap: 4px !important;
    }

    .hero-location-meta,
    .hero-location-link {
        justify-self: start !important;
    }

    .hero-location-content strong {
        font-size: 11.5px !important;
    }

}

/* =========================================================
   HERO PHOTO — UI POLISH
   ========================================================= */


/* маленький підпис зверху зліва */
.hero-photo-card::before {
    content: "РЕЦЕПЦІЯ КЛІНІКИ";

    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 5;

    padding: 9px 13px;

    border: 1px solid rgba(255,255,255,.62);
    border-radius: 999px;

    background: rgba(248,246,241,.60);

    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);

    box-shadow:
        0 8px 24px rgba(24,28,26,.07),
        inset 0 1px 0 rgba(255,255,255,.68);

    color: rgba(32,38,35,.72);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .18em;
}


/* нижнє скло */
.hero-location-card {
    left: 15px !important;
    right: 15px !important;
    bottom: 15px !important;

    width: auto !important;

    padding: 13px 15px !important;

    border: 1px solid rgba(255,255,255,.66) !important;
    border-radius: 19px !important;

    background: rgba(250,249,246,.73) !important;

    backdrop-filter:
        blur(24px)
        saturate(125%) !important;

    -webkit-backdrop-filter:
        blur(24px)
        saturate(125%) !important;

    box-shadow:
        0 10px 28px rgba(21,25,23,.09),
        inset 0 1px 0 rgba(255,255,255,.76) !important;
}


/* pin */
.hero-location-icon {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;

    background: rgba(179,137,72,.10) !important;

    border: 1px solid rgba(179,137,72,.14) !important;
}


/* address */
.hero-location-content strong {
    color: #202624 !important;

    font-size: 12px !important;
    font-weight: 650 !important;

    line-height: 1.35 !important;
}


/* Львів */
.hero-location-city {
    color: #9b7540 !important;

    font-size: 8.5px !important;
    letter-spacing: .22em !important;
}


/* рейтинг + відгуки */
.hero-location-meta {
    display: flex !important;

    align-items: center !important;

    gap: 7px !important;

    color: rgba(42,49,46,.58) !important;

    font-size: 9.5px !important;
}


/* ★ 4,2 — окремий акцент */
.hero-location-rating {
    display: inline-flex !important;

    align-items: center !important;

    padding: 5px 8px !important;

    border: 1px solid rgba(178,135,69,.16) !important;
    border-radius: 999px !important;

    background: rgba(181,139,73,.11) !important;

    color: #9c7135 !important;

    font-size: 10px !important;
    font-weight: 750 !important;

    line-height: 1 !important;
}


/* крапку між рейтингом і відгуками вже не треба */
.hero-location-dot {
    display: none !important;
}


/* кнопка карти */
.hero-location-link {
    display: inline-flex !important;

    align-items: center !important;

    gap: 6px !important;

    padding: 7px 10px !important;

    border: 1px solid rgba(37,43,40,.09) !important;
    border-radius: 999px !important;

    background: rgba(255,255,255,.46) !important;

    color: #343a37 !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    transition:
        background .2s ease,
        transform .2s ease !important;
}


.hero-location-card:hover .hero-location-link {
    background: rgba(255,255,255,.72) !important;
}


/* ще делікатніший hover */
.hero-location-card:hover {
    transform: translateY(-1px) !important;

    background: rgba(252,251,248,.79) !important;

    box-shadow:
        0 13px 32px rgba(21,25,23,.10),
        inset 0 1px 0 rgba(255,255,255,.80) !important;
}


/* mobile */
@media (max-width: 620px) {

    .hero-photo-card::before {
        top: 12px;
        left: 12px;

        padding: 7px 10px;

        font-size: 8px;
    }

    .hero-location-card {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;

        padding: 11px 12px !important;

        border-radius: 16px !important;
    }

    .hero-location-rating {
        padding: 4px 7px !important;
    }

}

/* =========================================================
   HERO — FINAL UI POLISH
   ========================================================= */

/* прибираємо верхній бейдж */
.hero-photo-card::before {
    display: none !important;
    content: none !important;
}


/* нижня glass-панель — компактніша */
.hero-location-card {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;

    padding: 11px 14px !important;

    border-radius: 18px !important;

    background: rgba(250,249,246,.70) !important;

    border: 1px solid rgba(255,255,255,.68) !important;

    backdrop-filter:
        blur(24px)
        saturate(120%) !important;

    -webkit-backdrop-filter:
        blur(24px)
        saturate(120%) !important;

    box-shadow:
        0 10px 26px rgba(21,25,23,.08),
        inset 0 1px 0 rgba(255,255,255,.74) !important;
}


/* компактніший pin */
.hero-location-icon {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
}


/* адреса */
.hero-location-content strong {
    font-size: 11.5px !important;
    line-height: 1.32 !important;
}


/* рейтинг */
.hero-location-rating {
    padding: 4px 7px !important;

    background: rgba(181,139,73,.12) !important;

    color: #986d30 !important;

    font-size: 9.5px !important;
    font-weight: 750 !important;
}


/* Google відгуки — чіткіше */
.hero-location-meta {
    color: rgba(39,46,43,.70) !important;

    font-size: 9.5px !important;
}


/* карта */
.hero-location-link {
    padding: 6px 9px !important;

    background: rgba(255,255,255,.52) !important;

    color: #303633 !important;

    font-size: 9px !important;
    font-weight: 700 !important;
}


/* mobile */
@media (max-width: 620px) {

    .hero-location-card {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;

        padding: 10px 11px !important;
    }

}

/* =========================================================
   HERO LOCATION — FINAL PREMIUM GLASS
   ========================================================= */

.hero-location-card {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;

    padding: 14px 15px !important;

    border-radius: 19px !important;

    /* було ~.70 — робимо легше */
    background: rgba(250,249,246,.64) !important;

    border: 1px solid rgba(255,255,255,.62) !important;

    backdrop-filter:
        blur(26px)
        saturate(125%) !important;

    -webkit-backdrop-filter:
        blur(26px)
        saturate(125%) !important;

    box-shadow:
        0 10px 28px rgba(21,25,23,.075),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
}


/* адреса */
.hero-location-content strong {
    color: #1f2523 !important;

    font-size: 11.7px !important;
    font-weight: 650 !important;

    line-height: 1.34 !important;
}


/* Львів */
.hero-location-city {
    color: #956f39 !important;
}


/* Google reviews — читабельніше */
.hero-location-meta {
    color: rgba(38,44,42,.80) !important;

    font-size: 9.5px !important;
}


/* ★ 4,2 */
.hero-location-rating {
    background: rgba(178,134,66,.14) !important;

    border-color: rgba(178,134,66,.19) !important;

    color: #8d642a !important;

    font-weight: 780 !important;
}


/* кнопка карти — легша */
.hero-location-link {
    background: rgba(255,255,255,.42) !important;

    border-color: rgba(35,41,38,.07) !important;

    color: rgba(31,37,34,.86) !important;
}


/* hover */
.hero-location-card:hover {
    background: rgba(252,251,248,.72) !important;

    transform: translateY(-1px) !important;

    box-shadow:
        0 14px 32px rgba(21,25,23,.095),
        inset 0 1px 0 rgba(255,255,255,.78) !important;
}

@media (max-width: 620px) {
    .hero-location-card {
        padding: 12px 13px !important;

        background: rgba(250,249,246,.68) !important;
    }
}

/* FOOTER REAL LOGO */

.footer-brand {
    display: flex !important;
    align-items: center !important;
}

.footer-real-logo {
    display: block !important;
    width: 210px !important;
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 620px) {
    .footer-real-logo {
        width: 180px !important;
    }
}

/* HEADER REAL LOGO */

.header-real-brand {
    display: flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    text-decoration: none !important;
}

.header-real-logo {
    display: block !important;

    width: 245px !important;
    max-width: 100% !important;
    height: auto !important;

    object-fit: contain !important;
}

@media (max-width: 1100px) {
    .header-real-logo {
        width: 215px !important;
    }
}

@media (max-width: 720px) {
    .header-real-logo {
        width: 175px !important;
    }
}

/* =========================================================
   REAL LOGO — SAFE SIZE FIX
   ========================================================= */

/* HEADER */
.header-real-brand {
    width: 230px !important;
    height: 72px !important;
    max-height: 72px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    overflow: hidden !important;
    flex: 0 0 auto !important;
}

.header-real-logo {
    display: block !important;

    width: 220px !important;
    height: 68px !important;
    max-width: 220px !important;
    max-height: 68px !important;

    object-fit: contain !important;
    object-position: left center !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}


/* FOOTER */
.footer-brand {
    width: 220px !important;
    max-width: 220px !important;

    overflow: hidden !important;
}

.footer-real-logo {
    display: block !important;

    width: 210px !important;
    height: 72px !important;

    max-width: 210px !important;
    max-height: 72px !important;

    object-fit: contain !important;
    object-position: left center !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* TABLET */
@media (max-width: 900px) {

    .header-real-brand {
        width: 195px !important;
        height: 62px !important;
    }

    .header-real-logo {
        width: 190px !important;
        height: 58px !important;
    }

}


/* MOBILE */
@media (max-width: 620px) {

    .header-real-brand {
        width: 155px !important;
        height: 52px !important;
    }

    .header-real-logo {
        width: 150px !important;
        height: 48px !important;
    }

    .footer-brand {
        width: 175px !important;
    }

    .footer-real-logo {
        width: 170px !important;
        height: 60px !important;
    }

}

/* =========================================================
   HEADER BRAND — FINAL
   ========================================================= */

.header-real-brand {
    display: inline-flex !important;
    align-items: center !important;

    gap: 14px !important;

    width: auto !important;
    height: auto !important;

    min-width: 0 !important;
    max-height: none !important;

    overflow: visible !important;

    text-decoration: none !important;
    flex: 0 0 auto !important;
}

.header-logo-mark {
    display: block !important;

    width: 38px !important;
    height: 62px !important;

    max-width: 38px !important;
    max-height: 62px !important;

    object-fit: contain !important;

    flex: 0 0 38px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.header-logo-name {
    display: block !important;

    color: #202625 !important;

    font-size: 16px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    letter-spacing: .19em !important;

    white-space: nowrap !important;
}


/* TABLET */
@media (max-width: 900px) {

    .header-real-brand {
        gap: 11px !important;
    }

    .header-logo-mark {
        width: 32px !important;
        height: 53px !important;

        max-width: 32px !important;
        max-height: 53px !important;

        flex-basis: 32px !important;
    }

    .header-logo-name {
        font-size: 14px !important;
        letter-spacing: .15em !important;
    }

}


/* MOBILE */
@media (max-width: 620px) {

    .header-real-brand {
        gap: 9px !important;
    }

    .header-logo-mark {
        width: 28px !important;
        height: 46px !important;

        max-width: 28px !important;
        max-height: 46px !important;

        flex-basis: 28px !important;
    }

    .header-logo-name {
        font-size: 12px !important;
        letter-spacing: .12em !important;
    }

}

/* HEADER BRAND — SMALLER */

.header-real-brand {
    gap: 10px !important;
}

.header-logo-mark {
    width: 30px !important;
    height: 48px !important;

    max-width: 30px !important;
    max-height: 48px !important;

    flex-basis: 30px !important;
}

.header-logo-name {
    font-size: 14px !important;
    letter-spacing: .16em !important;
}

@media (max-width: 900px) {

    .header-logo-mark {
        width: 27px !important;
        height: 43px !important;
        flex-basis: 27px !important;
    }

    .header-logo-name {
        font-size: 13px !important;
    }
}

@media (max-width: 620px) {

    .header-logo-mark {
        width: 24px !important;
        height: 39px !important;
        flex-basis: 24px !important;
    }

    .header-logo-name {
        font-size: 11px !important;
        letter-spacing: .12em !important;
    }
}

/* HEADER — REAL SVG MARK ONLY */

.header-svg-mark {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 54px !important;

    flex: 0 0 34px !important;

    overflow: visible !important;

    margin: 0 !important;
    padding: 0 !important;
}

.header-svg-mark-image {
    display: block !important;

    width: 30px !important;
    height: 50px !important;

    max-width: 30px !important;
    max-height: 50px !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* tablet */
@media (max-width: 900px) {
    .header-svg-mark {
        width: 30px !important;
        height: 48px !important;
        flex-basis: 30px !important;
    }

    .header-svg-mark-image {
        width: 27px !important;
        height: 45px !important;
    }
}


/* mobile */
@media (max-width: 620px) {
    .header-svg-mark {
        width: 26px !important;
        height: 42px !important;
        flex-basis: 26px !important;
    }

    .header-svg-mark-image {
        width: 23px !important;
        height: 39px !important;
    }
}

/* FOOTER CLEAN BRAND */

.footer-brand-text {
    display: flex !important;
    align-items: center !important;

    width: auto !important;
    max-width: none !important;

    overflow: visible !important;

    color: #252a28 !important;

    font-size: 14px !important;
    font-weight: 650 !important;

    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.footer-real-logo {
    display: none !important;
}

@media (max-width: 620px) {
    .footer-brand-text {
        font-size: 12px !important;
        letter-spacing: .10em !important;
    }
}

/* FOOTER — CENTER COPYRIGHT ONLY */

.footer-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
}

.footer-copy {
    width: 100% !important;

    margin: 0 !important;

    text-align: center !important;
}

.footer-brand-text {
    display: none !important;
}


/* =========================================================
   VACANCIES
   ========================================================= */

.vacancies-section {
    position: relative;
    overflow: hidden;
}

.vacancies-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;

    margin-bottom: 38px;
}

.vacancies-heading-copy {
    width: min(100%, 690px);
}

.vacancies-heading h2 {
    margin: 10px 0 16px;

    max-width: 650px;

    font-size: clamp(34px, 4vw, 56px);
    line-height: .98;

    letter-spacing: -.035em;
}

.vacancies-heading p {
    max-width: 660px;

    margin: 0;

    color: rgba(37, 42, 40, .66);

    font-size: 16px;
    line-height: 1.7;
}


.vacancies-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    flex: 0 0 auto;

    padding: 10px 14px;

    border: 1px solid rgba(37, 42, 40, .10);
    border-radius: 999px;

    background: rgba(255, 255, 255, .55);

    color: rgba(37, 42, 40, .78);

    font-size: 12px;
    font-weight: 650;

    white-space: nowrap;
}

.vacancies-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #b58c4b;

    box-shadow: 0 0 0 5px rgba(181, 140, 75, .10);
}


.vacancies-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(310px, .75fr);

    gap: 22px;
}


.vacancy-card,
.vacancies-info {
    min-width: 0;

    border: 1px solid rgba(37, 42, 40, .09);
    border-radius: 28px;
}


.vacancy-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 360px;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .88),
            rgba(247, 244, 238, .72)
        );

    box-shadow:
        0 18px 50px rgba(31, 38, 35, .055);
}


.vacancy-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.vacancy-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 15px;

    background: #292e2c;

    color: #d2aa6a;

    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1;
}


.vacancy-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 11px;

    border-radius: 999px;

    background: rgba(181, 140, 75, .11);

    color: #85622f;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .035em;
}


.vacancy-card-content {
    padding: 44px 0 38px;
}

.vacancy-card-content h3 {
    margin: 0 0 14px;

    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.05;

    letter-spacing: -.025em;
}

.vacancy-card-content p {
    max-width: 650px;

    margin: 0;

    color: rgba(37, 42, 40, .66);

    font-size: 15px;
    line-height: 1.7;
}


.vacancy-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid rgba(37, 42, 40, .08);

    color: rgba(37, 42, 40, .53);

    font-size: 12px;
    font-weight: 650;
}


.vacancy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #292e2c;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.vacancy-link:hover {
    transform: translateX(3px);
}


.vacancies-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 30px;

    background: #2a2f2d;

    color: #f8f5ef;

    box-shadow:
        0 18px 50px rgba(24, 30, 28, .09);
}


.vacancies-info-label {
    display: block;

    margin-bottom: 18px;

    color: #caa66c;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .11em;
    text-transform: uppercase;
}


.vacancies-info h3 {
    margin: 0 0 14px;

    max-width: 320px;

    color: #fff;

    font-size: clamp(25px, 2.6vw, 34px);
    line-height: 1.08;

    letter-spacing: -.025em;
}


.vacancies-info p {
    max-width: 360px;

    margin: 0;

    color: rgba(255, 255, 255, .65);

    font-size: 14px;
    line-height: 1.7;
}


.vacancies-button {
    width: 100%;

    margin: 34px 0 13px;

    background: #f7f3eb !important;

    color: #292e2c !important;

    border-color: transparent !important;
}


.vacancies-info small {
    display: block;

    color: rgba(255, 255, 255, .43);

    font-size: 10px;
    line-height: 1.5;
}


/* TABLET */

@media (max-width: 900px) {

    .vacancies-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 22px;

        margin-bottom: 30px;
    }

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

    .vacancy-card {
        min-height: auto;
    }

    .vacancies-info {
        min-height: 300px;
    }

}


/* MOBILE */

@media (max-width: 620px) {

    .vacancies-heading {
        gap: 18px;

        margin-bottom: 24px;
    }

    .vacancies-heading h2 {
        margin-top: 8px;

        font-size: 35px;
        line-height: 1.02;
    }

    .vacancies-heading p {
        font-size: 14px;
        line-height: 1.65;
    }

    .vacancies-status {
        padding: 9px 12px;

        font-size: 10px;
    }

    .vacancies-grid {
        gap: 14px;
    }

    .vacancy-card,
    .vacancies-info {
        border-radius: 22px;
    }

    .vacancy-card {
        padding: 22px;
    }

    .vacancy-icon {
        width: 41px;
        height: 41px;

        border-radius: 13px;

        font-size: 22px;
    }

    .vacancy-badge {
        padding: 7px 9px;

        font-size: 9px;
    }

    .vacancy-card-content {
        padding: 35px 0 30px;
    }

    .vacancy-card-content h3 {
        font-size: 27px;
    }

    .vacancy-card-content p {
        font-size: 14px;
    }

    .vacancy-card-footer {
        align-items: flex-end;

        padding-top: 18px;
    }

    .vacancies-info {
        min-height: 0;

        padding: 24px;
    }

    .vacancies-info h3 {
        font-size: 27px;
    }

    .vacancies-button {
        min-height: 50px;

        margin-top: 28px;
    }

}


/* VERY SMALL MOBILE */

@media (max-width: 390px) {

    .vacancy-card-top {
        align-items: flex-start;
        flex-direction: column;
    }

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

}



/* VACANCIES — VISUAL POLISH */

.vacancy-card {
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(181, 140, 75, .10),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.96),
            rgba(248,245,239,.84)
        ) !important;

    border-color: rgba(181, 140, 75, .16) !important;

    box-shadow:
        0 22px 60px rgba(31, 38, 35, .07) !important;
}

.vacancy-badge {
    padding: 9px 13px !important;

    background: rgba(181, 140, 75, .15) !important;
    border: 1px solid rgba(181, 140, 75, .16);

    color: #7b5929 !important;

    font-size: 12px !important;
    font-weight: 750 !important;
}

.vacancies-info {
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(181, 140, 75, .12),
            transparent 28%
        ),
        #292e2c !important;

    border-color: rgba(255,255,255,.06) !important;
}

.vacancies-button {
    min-height: 56px !important;

    box-shadow:
        0 10px 24px rgba(0,0,0,.08) !important;
}

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

.vacancy-link {
    padding: 8px 0;
}

@media (max-width: 620px) {

    .vacancy-badge {
        padding: 9px 12px !important;

        font-size: 11px !important;

        letter-spacing: .02em !important;
    }

    .vacancy-card-top {
        align-items: center !important;
    }

    .vacancy-card-content {
        padding-top: 30px !important;
    }

    .vacancy-card-content h3 {
        font-size: 30px !important;
    }

    .vacancy-card-footer {
        gap: 16px !important;
    }

    .vacancy-link {
        font-size: 14px !important;
        font-weight: 750 !important;
    }

    .vacancies-button {
        min-height: 54px !important;

        font-size: 15px !important;
    }

}


/* =========================================================
   HERO PHOTO — PREMIUM GLASS OVERLAYS
   ========================================================= */

.hero-photo-card {
    position: relative !important;
}

.hero-photo-brand,
.hero-photo-message {
    position: absolute;
    z-index: 4;

    color: #252a28;

    background: rgba(249, 247, 242, .52);

    border: 1px solid rgba(255, 255, 255, .64);

    -webkit-backdrop-filter: blur(24px) saturate(125%);
    backdrop-filter: blur(24px) saturate(125%);

    box-shadow:
        0 14px 38px rgba(28, 33, 31, .08),
        inset 0 1px 0 rgba(255, 255, 255, .40);
}


/* small top badge */

.hero-photo-brand {
    top: 18px;
    right: 18px;

    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "dot name"
        "dot meta";

    column-gap: 9px;
    row-gap: 1px;

    align-items: center;

    padding: 11px 14px;

    border-radius: 17px;
}

.hero-photo-brand-dot {
    grid-area: dot;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #b58c4b;

    box-shadow:
        0 0 0 5px rgba(181, 140, 75, .11);
}

.hero-photo-brand > span:not(.hero-photo-brand-dot) {
    grid-area: name;

    font-size: 11px;
    font-weight: 750;

    letter-spacing: .10em;
    text-transform: uppercase;
}

.hero-photo-brand small {
    grid-area: meta;

    color: rgba(37, 42, 40, .60);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .025em;
}


/* main message */

.hero-photo-message {
    top: 92px;
    left: 18px;

    width: min(310px, calc(100% - 36px));

    padding: 17px 18px 16px;

    border-radius: 21px;
}

.hero-photo-message-label {
    display: block;

    margin-bottom: 8px;

    color: #916c35;

    font-size: 9px;
    font-weight: 750;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.hero-photo-message strong {
    display: block;

    max-width: 250px;

    color: #242927;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;
    font-weight: 500;
    line-height: 1.02;

    letter-spacing: -.025em;
}

.hero-photo-message small {
    display: block;

    margin-top: 10px;

    color: rgba(37, 42, 40, .62);

    font-size: 9px;
    font-weight: 600;
    line-height: 1.4;

    letter-spacing: .02em;
}


/* TABLET */

@media (max-width: 900px) {

    .hero-photo-brand {
        top: 16px;
        right: 16px;
    }

    .hero-photo-message {
        top: 84px;
        left: 16px;

        width: min(290px, calc(100% - 32px));
    }

}


/* MOBILE */

@media (max-width: 620px) {

    .hero-photo-brand {
        top: 12px;
        right: 12px;

        padding: 9px 11px;

        border-radius: 15px;
    }

    .hero-photo-brand > span:not(.hero-photo-brand-dot) {
        font-size: 9px;
    }

    .hero-photo-brand small {
        font-size: 8px;
    }

    .hero-photo-message {
        top: 72px;
        left: 12px;

        width: calc(100% - 24px);

        padding: 14px 15px;

        border-radius: 18px;
    }

    .hero-photo-message-label {
        margin-bottom: 6px;

        font-size: 8px;
    }

    .hero-photo-message strong {
        max-width: 230px;

        font-size: 21px;
    }

    .hero-photo-message small {
        margin-top: 8px;

        font-size: 8px;
    }

}


/* VERY SMALL MOBILE */

@media (max-width: 390px) {

    .hero-photo-brand small {
        display: none;
    }

    .hero-photo-message strong {
        font-size: 19px;
    }

}


/* HERO PHOTO — REMOVE EXPERIMENTAL OVERLAYS */

.hero-photo-brand,
.hero-photo-message {
    display: none !important;
}


/* HERO — MINIMAL PREMIUM BADGE */

.hero-mini-badge {
    position: absolute;
    z-index: 5;

    top: 18px;
    left: 18px;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 11px 14px;

    border: 1px solid rgba(255,255,255,.62);
    border-radius: 17px;

    background: rgba(248,246,241,.56);

    -webkit-backdrop-filter: blur(22px) saturate(125%);
    backdrop-filter: blur(22px) saturate(125%);

    box-shadow:
        0 10px 28px rgba(25,30,28,.07),
        inset 0 1px 0 rgba(255,255,255,.42);

    color: #272c2a;
}

.hero-mini-badge-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: #b58c4b;

    box-shadow:
        0 0 0 5px rgba(181,140,75,.11);
}

.hero-mini-badge div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-mini-badge strong {
    font-size: 10px;
    font-weight: 750;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.hero-mini-badge small {
    color: rgba(39,44,42,.58);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .015em;
}


/* MOBILE */

@media (max-width: 620px) {

    .hero-mini-badge {
        top: 12px;
        left: 12px;

        gap: 9px;

        padding: 9px 11px;

        border-radius: 14px;
    }

    .hero-mini-badge strong {
        font-size: 9px;
    }

    .hero-mini-badge small {
        font-size: 8px;
    }

}


/* VERY SMALL MOBILE */

@media (max-width: 390px) {

    .hero-mini-badge {
        max-width: calc(100% - 24px);
    }

    .hero-mini-badge small {
        display: none;
    }

}


/* HERO MINI BADGE — FINAL POLISH */

/* desktop: very subtle refinement */
.hero-mini-badge {
    background: rgba(248, 246, 241, .50) !important;
    border-color: rgba(255, 255, 255, .70) !important;

    box-shadow:
        0 9px 24px rgba(25, 30, 28, .055),
        inset 0 1px 0 rgba(255, 255, 255, .46) !important;
}

.hero-mini-badge small {
    color: rgba(39, 44, 42, .50) !important;
}


/* MOBILE — premium compact chip */
@media (max-width: 620px) {

    .hero-mini-badge {
        top: 13px !important;
        left: 13px !important;

        width: auto !important;
        max-width: calc(100% - 26px) !important;

        gap: 10px !important;

        padding: 10px 13px !important;

        border-radius: 16px !important;

        background: rgba(250, 248, 244, .60) !important;

        border: 1px solid rgba(255, 255, 255, .76) !important;

        -webkit-backdrop-filter: blur(26px) saturate(135%) !important;
        backdrop-filter: blur(26px) saturate(135%) !important;

        box-shadow:
            0 10px 26px rgba(25, 30, 28, .08),
            inset 0 1px 0 rgba(255, 255, 255, .60) !important;
    }

    .hero-mini-badge-dot {
        width: 7px !important;
        height: 7px !important;
        flex: 0 0 7px !important;

        box-shadow:
            0 0 0 5px rgba(181, 140, 75, .12) !important;
    }

    .hero-mini-badge div {
        display: block !important;
    }

    .hero-mini-badge strong {
        display: block !important;

        font-size: 9.5px !important;
        line-height: 1 !important;

        font-weight: 800 !important;

        letter-spacing: .11em !important;
        white-space: nowrap !important;
    }

    .hero-mini-badge small {
        display: none !important;
    }

}


/* SMALL PHONES */
@media (max-width: 390px) {

    .hero-mini-badge {
        top: 11px !important;
        left: 11px !important;

        max-width: calc(100% - 22px) !important;

        padding: 9px 11px !important;

        border-radius: 14px !important;
    }

    .hero-mini-badge strong {
        font-size: 9px !important;
    }

}

/* =========================================================
   MOBILE MENU — PROFESSIONAL ALIGNMENT
   ========================================================= */

@media (max-width: 820px) {

    .mobile-menu-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .mobile-nav {
        width: 100% !important;
    }

    .mobile-nav a {
        display: flex !important;
        align-items: center !important;

        min-height: 72px !important;

        padding-left: 18px !important;
        padding-right: 18px !important;

        font-size: 18px !important;
        font-weight: 500 !important;

        letter-spacing: -.01em !important;

        border-radius: 14px !important;

        transition:
            background .2s ease,
            padding-left .2s ease !important;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus-visible {
        background: rgba(181, 140, 75, .07) !important;
        padding-left: 22px !important;
    }

    .mobile-cta {
        width: 100% !important;

        margin-top: 18px !important;

        min-height: 58px !important;

        border-radius: 18px !important;
    }

}


/* smaller phones */

@media (max-width: 420px) {

    .mobile-menu-inner {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .mobile-nav a {
        min-height: 66px !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        font-size: 17px !important;
    }

}

/* =========================================================
   MOBILE MENU — NORMAL CLEAN SPACING
   ========================================================= */

@media (max-width: 820px) {

    .mobile-menu-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .mobile-nav {
        width: 100% !important;
        margin: 0 !important;
    }

    .mobile-nav a {
        min-height: 68px !important;

        padding-left: 18px !important;
        padding-right: 18px !important;

        border-radius: 0 !important;

        font-size: 18px !important;
        font-weight: 500 !important;

        background: transparent !important;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus-visible {
        padding-left: 18px !important;
        background: rgba(181, 140, 75, .045) !important;
    }

    .mobile-cta {
        width: calc(100% - 32px) !important;

        margin-left: 16px !important;
        margin-right: 16px !important;
        margin-top: 18px !important;

        min-height: 58px !important;
    }

}

@media (max-width: 420px) {

    .mobile-menu-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .mobile-nav a {
        min-height: 64px !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        font-size: 17px !important;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus-visible {
        padding-left: 16px !important;
    }

    .mobile-cta {
        width: calc(100% - 28px) !important;

        margin-left: 14px !important;
        margin-right: 14px !important;
    }

}



/* =========================================================
   CONTACTS — PREMIUM
   ========================================================= */

.contacts-section {
    position: relative;
}

.contacts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;

    margin-bottom: 34px;
}

.contacts-heading {
    margin-bottom: 0 !important;
}

.contacts-heading p {
    max-width: 650px;
}


.contacts-open-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    flex: 0 0 auto;

    padding: 10px 14px;

    border: 1px solid rgba(37, 42, 40, .09);
    border-radius: 999px;

    background: rgba(255, 255, 255, .55);

    color: rgba(37, 42, 40, .70);

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}

.contacts-open-status > span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #b58c4b;

    box-shadow:
        0 0 0 5px rgba(181, 140, 75, .10);
}


.contacts-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.12fr)
        minmax(0, .95fr);

    gap: 16px;
}


.contact-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 270px;

    padding: 26px;

    overflow: hidden;

    color: #272c2a;
    text-decoration: none;

    border: 1px solid rgba(37, 42, 40, .09);
    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.88),
            rgba(248,245,239,.72)
        );

    box-shadow:
        0 16px 44px rgba(31, 38, 35, .045);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}


a.contact-card:hover {
    transform: translateY(-3px);

    border-color: rgba(181, 140, 75, .22);

    box-shadow:
        0 22px 55px rgba(31, 38, 35, .075);
}


.contact-card-label {
    margin-bottom: 34px;

    color: #98713b;

    font-size: 10px;
    font-weight: 750;

    letter-spacing: .12em;
    text-transform: uppercase;
}


.contact-card > strong {
    display: block;

    max-width: 390px;

    margin: 0;

    color: #272c2a;

    font-size: clamp(22px, 2vw, 29px);
    font-weight: 650;
    line-height: 1.16;

    letter-spacing: -.025em;
}


.contact-card > p {
    margin: 10px 0 0;

    color: rgba(37, 42, 40, .56);

    font-size: 13px;
    line-height: 1.55;
}


.contact-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;
    padding-top: 30px;

    color: #292e2c;

    font-size: 12px;
    font-weight: 750;
}


.contact-card-action > span {
    transition: transform .2s ease;
}


a.contact-card:hover .contact-card-action > span {
    transform: translateX(3px);
}


/* PHONE CARD — subtle dark accent */

.contact-card-phone {
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(181,140,75,.15),
            transparent 31%
        ),
        #292e2c !important;

    border-color: rgba(255,255,255,.05);

    color: #fff;
}

.contact-card-phone .contact-card-label {
    color: #caa66c;
}

.contact-card-phone > strong {
    color: #fff;
}

.contact-card-phone > p {
    color: rgba(255,255,255,.55);
}

.contact-card-phone .contact-card-action {
    color: #f6f2ea;
}


/* HOURS */

.contact-hours-card {
    justify-content: flex-start;
}

.contact-hours {
    display: flex;
    flex-direction: column;

    margin-top: auto;
}

.contact-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 0;

    border-bottom:
        1px solid rgba(37,42,40,.08);

    color: rgba(37,42,40,.58);

    font-size: 13px;
}

.contact-hours-row:first-child {
    padding-top: 0;
}

.contact-hours-row:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.contact-hours-row strong {
    color: #292e2c;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.contact-hours-closed strong {
    color: #98713b;
}


/* TABLET */

@media (max-width: 980px) {

    .contacts-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;
    }

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

    .contact-hours-card {
        grid-column: 1 / -1;

        min-height: auto;
    }

}


/* MOBILE */

@media (max-width: 620px) {

    .contacts-header {
        gap: 16px;

        margin-bottom: 24px;
    }

    .contacts-open-status {
        padding: 9px 12px;

        font-size: 10px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .contact-hours-card {
        grid-column: auto;
    }

    .contact-card {
        min-height: 0;

        padding: 22px;

        border-radius: 22px;
    }

    .contact-card-label {
        margin-bottom: 25px;
    }

    .contact-card > strong {
        font-size: 23px;
    }

    .contact-card-action {
        padding-top: 28px;
    }

    .contact-hours {
        margin-top: 4px;
    }

    .contact-hours-row {
        padding: 13px 0;
    }

}


/* SMALL PHONE */

@media (max-width: 390px) {

    .contact-card {
        padding: 19px;
    }

    .contact-card > strong {
        font-size: 21px;
    }

}



/* =========================================================
   DOCTORS V2
   ========================================================= */

.doctor-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.doctor-photo {
    overflow: hidden;
}

.doctor-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.doctor-position {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
}

.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 16px;
}

.doctor-specialty {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.35;
}

.doctor-experience {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
}

.doctor-description {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


@media (max-width: 540px) {

    .doctor-card {
        padding: 18px;
    }

    .doctor-card h3 {
        font-size: 24px;
    }

}

/* =========================================================
   8DENTAL — SERVICES
   Єдина фінальна система
   ========================================================= */


/* ---------------------------------------------------------
   SERVICE CARDS
   --------------------------------------------------------- */

.service-card-link {
    color: inherit;
    text-decoration: none;
}

.service-card {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    min-width: 0;
    min-height: 300px;

    padding: 34px 34px 32px;

    overflow: hidden;

    border: 1px solid rgba(31, 35, 33, .10);
    border-radius: 30px;

    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(176, 138, 82, .10),
            transparent 32%
        ),
        rgba(255, 255, 255, .64);

    box-shadow:
        0 10px 40px rgba(26, 28, 26, .025);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.service-card::before {
    content: "";

    position: absolute;
    top: -62px;
    right: -62px;

    width: 150px;
    height: 150px;

    border: 1px solid rgba(176, 138, 82, .16);
    border-radius: 50%;

    pointer-events: none;
}

.service-card::after {
    content: "→";

    position: absolute;
    top: 31px;
    right: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(31, 35, 33, .11);
    border-radius: 50%;

    color: rgba(31, 35, 33, .58);

    font-size: 17px;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(176, 138, 82, .28);

    box-shadow:
        0 22px 55px rgba(26, 28, 26, .07);
}

.service-card:hover::after {
    transform: translateX(3px);

    color: #fff;
    background: var(--dark);
}

.service-number {
    position: absolute;
    top: 34px;
    left: 34px;

    margin: 0;

    color: var(--accent);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: .18em;
}

.service-card h3 {
    position: relative;
    z-index: 2;

    max-width: 90%;

    margin: 0 0 16px;

    font-size: clamp(30px, 2.3vw, 43px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.service-card p {
    position: relative;
    z-index: 2;

    max-width: 92%;

    margin: 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.65;
}

/* Послуги наразі працюють без окремих фото */

.service-card-media,
.service-detail-image {
    display: none !important;
}


/* ---------------------------------------------------------
   SERVICE PAGE
   --------------------------------------------------------- */

.service-detail-page {
    width: 100%;
    min-width: 0;

    overflow: hidden;
}

.service-detail-page *,
.service-detail-hero-grid > *,
.service-detail-grid > * {
    min-width: 0;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.service-detail-hero {
    padding:
        clamp(58px, 6vw, 90px)
        0
        clamp(58px, 6vw, 90px);
}


/*
 * Окрема ширина сторінки послуги.
 * Головна сторінка залишається на своїх 1240px.
 */

.service-detail-hero > .container,
.service-detail-page > .section > .container {
    width: min(
        calc(100% - 64px),
        1120px
    );

    margin-left: auto;
    margin-right: auto;
}

.service-detail-hero-grid,
.service-detail-hero-grid.has-image {
    display: block;

    width: 100%;
    max-width: none;

    margin: 0;
}

.service-detail-hero-copy {
    width: 100%;
    max-width: 820px;
}


/* breadcrumbs */

.service-breadcrumbs {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin: 0 0 32px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}

.service-breadcrumbs a {
    color: inherit;
    text-decoration: none;

    transition: opacity .2s ease;
}

.service-breadcrumbs a:hover {
    opacity: .6;
}


/* title */

.service-detail-hero h1 {
    max-width: 900px;

    margin: 10px 0 24px;

    font-size: clamp(52px, 6vw, 88px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.04em;
}

.service-detail-hero h1 span {
    display: inline;

    color: var(--muted);
}


/* lead */

.service-detail-lead {
    max-width: 680px;

    margin: 0 0 34px;

    color: var(--muted);

    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.65;
}


/* actions */

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin: 0;
}


/* ---------------------------------------------------------
   SERVICE CONTENT
   --------------------------------------------------------- */

.service-detail-page > .section {
    padding-top: clamp(60px, 6vw, 90px);
    padding-bottom: clamp(60px, 7vw, 100px);
}

.service-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, .65fr);

    gap: clamp(46px, 7vw, 96px);

    align-items: start;
}

.service-detail-content {
    width: 100%;
    max-width: 700px;
}

.service-detail-content .eyebrow {
    margin-bottom: 22px;
}

.service-detail-content h2 {
    max-width: 100%;

    margin: 0 0 28px;

    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.025em;
}

.service-detail-content p {
    max-width: 100%;

    margin: 0 0 22px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   SERVICE CONTACT CARD
   --------------------------------------------------------- */

.service-detail-contact {
    position: sticky;
    top: calc(var(--header-height) + 26px);

    width: 100%;

    padding: 32px;

    border: 1px solid rgba(31, 35, 33, .10);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(176, 138, 82, .10),
            transparent 38%
        ),
        var(--surface-tint);

    box-shadow:
        0 18px 50px rgba(20, 25, 22, .035);
}

.service-detail-contact .eyebrow {
    margin-bottom: 22px;
}

.service-detail-contact h3 {
    margin: 0 0 15px;

    font-size: 31px;
    font-weight: 400;
    line-height: 1.08;
}

.service-detail-contact p {
    margin: 0 0 25px;

    color: var(--muted);

    line-height: 1.65;
}

.service-detail-phone {
    display: block;

    max-width: 100%;

    margin: 0 0 16px;

    color: var(--text);

    font-size: 19px;
    font-weight: 500;

    overflow-wrap: anywhere;
}

.service-detail-map {
    display: block;

    max-width: 100%;

    margin: 0 0 26px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;

    overflow-wrap: break-word;
}

.service-detail-contact .button {
    width: 100%;

    justify-content: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .service-detail-hero > .container,
    .service-detail-page > .section > .container {
        width: calc(100% - 48px);
    }

    .service-detail-grid {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(280px, .8fr);

        gap: 40px;
    }

    .service-card {
        min-height: 280px;

        padding:
            30px
            28px
            28px;
    }

    .service-number {
        top: 30px;
        left: 28px;
    }

    .service-card::after {
        top: 26px;
        right: 26px;
    }
}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 860px) {

    .service-detail-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .service-detail-content {
        max-width: 100%;
    }

    .service-detail-contact {
        position: static;
        top: auto;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .service-detail-hero > .container,
    .service-detail-page > .section > .container {
        width: calc(100% - 44px);

        margin-left: auto;
        margin-right: auto;

        padding-left: 0;
        padding-right: 0;
    }

    .service-detail-hero {
        padding:
            34px
            0
            44px;
    }

    .service-breadcrumbs {
        gap: 6px;

        margin-bottom: 22px;

        font-size: 12px;
    }

    .service-detail-hero .eyebrow {
        margin-bottom: 17px;
    }

    .service-detail-hero h1 {
        max-width: 100%;

        margin: 0 0 21px;

        font-size: clamp(39px, 11.5vw, 53px);
        line-height: .98;

        overflow-wrap: normal;
        word-break: normal;
    }

    .service-detail-hero h1 span {
        display: block;

        margin-top: 4px;
    }

    .service-detail-lead {
        max-width: 100%;

        margin-bottom: 27px;

        font-size: 17px;
        line-height: 1.62;
    }

    .service-detail-actions {
        display: grid;
        grid-template-columns: 1fr;

        width: 100%;

        gap: 10px;
    }

    .service-detail-actions .button {
        width: 100%;
        min-height: 54px;

        justify-content: center;
    }

    .service-detail-page > .section {
        padding-top: 48px;
        padding-bottom: 58px;
    }

    .service-detail-content .eyebrow {
        margin-bottom: 16px;
    }

    .service-detail-content h2 {
        margin-bottom: 24px;

        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.06;
    }

    .service-detail-content p {
        margin-bottom: 19px;

        font-size: 16px;
        line-height: 1.68;
    }

    .service-detail-contact {
        padding:
            24px
            21px;

        border-radius: 24px;
    }

    .service-detail-contact h3 {
        font-size: 28px;
    }

    .service-card {
        min-height: 235px;

        padding:
            28px
            22px
            24px;

        border-radius: 24px;
    }

    .service-number {
        top: 27px;
        left: 22px;
    }

    .service-card::after {
        top: 22px;
        right: 21px;

        width: 36px;
        height: 36px;
    }

    .service-card::before {
        top: -52px;
        right: -52px;

        width: 120px;
        height: 120px;
    }

    .service-card h3 {
        margin-bottom: 12px;

        font-size: 31px;
    }

    .service-card p {
        max-width: 100%;

        font-size: 15px;
        line-height: 1.58;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .service-detail-hero > .container,
    .service-detail-page > .section > .container {
        width: calc(100% - 44px);
    }

    .service-detail-hero h1 {
        font-size: 39px;
    }

    .service-detail-page > .section {
        padding-top: 42px;
    }

    .service-detail-contact {
        padding:
            22px
            18px;
    }

    .service-card {
        min-height: 220px;
    }
}


/* =========================================================
   8DENTAL — ANCHOR NAVIGATION
   ========================================================= */

section[id],
#top,
#vacancy-contact {
    scroll-margin-top: calc(var(--header-height) + 22px);
}



/* =========================================================
   8DENTAL — SERVICE RICH CONTENT
   ========================================================= */

.service-info-block {
    margin-top: 72px;
}

.service-info-block > .eyebrow {
    margin-bottom: 18px;
}

.service-info-block > h2 {
    margin-bottom: 30px;
}


/* WHEN TO VISIT */

.service-info-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-info-list li {
    position: relative;
    min-height: 76px;
    padding: 20px 20px 20px 48px;
    border: 1px solid rgba(31, 35, 33, .10);
    border-radius: 20px;
    background: rgba(255, 255, 255, .48);
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
}

.service-info-list li::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 21px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
}


/* STEPS */

.service-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.service-step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.service-step-number {
    padding-top: 4px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
}

.service-step h3 {
    margin: 0 0 7px;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.service-step p {
    margin: 0;
    font-size: 16px;
    line-height: 1.68;
}


/* FAQ */

.service-faq {
    border-top: 1px solid var(--line);
}

.service-faq-item {
    border-bottom: 1px solid var(--line);
}

.service-faq-item summary {
    position: relative;
    padding: 22px 46px 22px 0;
    cursor: pointer;
    list-style: none;
    color: var(--text);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
}

.service-faq-item summary::-webkit-details-marker {
    display: none;
}

.service-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 4px;
    color: var(--accent);
    font-size: 26px;
    font-weight: 300;
    transition: transform .2s ease;
}

.service-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.service-faq-answer {
    padding: 0 46px 21px 0;
}

.service-faq-answer p {
    margin: 0;
}


/* TABLET */

@media (max-width: 860px) {

    .service-info-block {
        margin-top: 60px;
    }

}


/* MOBILE */

@media (max-width: 720px) {

    .service-info-block {
        margin-top: 52px;
    }

    .service-info-block > h2 {
        margin-bottom: 23px;
    }

    .service-info-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-info-list li {
        min-height: auto;
        padding: 17px 17px 17px 44px;
        border-radius: 18px;
        font-size: 15px;
    }

    .service-info-list li::before {
        top: 22px;
        left: 19px;
    }

    .service-step {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
        padding: 21px 0;
    }

    .service-step h3 {
        font-size: 19px;
    }

    .service-step p {
        font-size: 15px;
        line-height: 1.62;
    }

    .service-faq-item summary {
        padding:
            19px
            40px
            19px
            0;
        font-size: 17px;
    }

    .service-faq-item summary::after {
        top: 15px;
        right: 2px;
    }

    .service-faq-answer {
        padding:
            0
            36px
            18px
            0;
    }

}


@media (max-width: 430px) {

    .service-info-block {
        margin-top: 46px;
    }

}


/* =========================================================
   8DENTAL — SERVICE CONTENT / BRAND FINAL
   ========================================================= */


/* ---------------------------------------------------------
   SECTION RHYTHM
   --------------------------------------------------------- */

.service-info-block {
    position: relative;
    margin-top: clamp(74px, 8vw, 108px) !important;
}

.service-info-block > .eyebrow {
    margin-bottom: 18px !important;
}

.service-info-block > h2 {
    max-width: 720px;
    margin:
        0
        0
        clamp(30px, 4vw, 44px) !important;

    font-size:
        clamp(38px, 4.2vw, 58px) !important;

    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.03em;
}


/* ---------------------------------------------------------
   WHEN TO VISIT
   --------------------------------------------------------- */

.service-info-list {
    counter-reset: dental-reason;

    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 14px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.service-info-list li {
    counter-increment: dental-reason;

    position: relative;

    display: flex;
    align-items: flex-start;

    min-height: 116px;

    margin: 0 !important;
    padding:
        25px
        24px
        24px
        68px !important;

    border:
        1px solid
        rgba(31, 35, 33, .10);

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(176, 138, 82, .10),
            transparent 42%
        ),
        rgba(255, 255, 255, .58);

    color: var(--text) !important;

    font-size: 16px !important;
    line-height: 1.58 !important;

    box-shadow:
        0 12px 38px
        rgba(20, 25, 22, .025);

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.service-info-list li::before {
    content:
        counter(dental-reason, decimal-leading-zero) !important;

    position: absolute !important;

    top: 27px !important;
    left: 24px !important;

    width: auto !important;
    height: auto !important;

    border-radius: 0 !important;
    background: none !important;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .14em;
}

@media (hover: hover) {

    .service-info-list li:hover {
        transform: translateY(-3px);

        border-color:
            rgba(176, 138, 82, .28);

        box-shadow:
            0 20px 48px
            rgba(20, 25, 22, .055);
    }

}


/* ---------------------------------------------------------
   STEPS
   --------------------------------------------------------- */

.service-steps {
    position: relative;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    border-top:
        1px solid
        rgba(31, 35, 33, .10) !important;
}

.service-step {
    position: relative;

    display: grid !important;

    grid-template-columns:
        72px
        minmax(0, 1fr) !important;

    gap: 24px !important;

    margin: 0 !important;

    padding:
        30px
        0 !important;

    border-bottom:
        1px solid
        rgba(31, 35, 33, .10) !important;
}

.service-step-number {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0 !important;

    border:
        1px solid
        rgba(176, 138, 82, .26);

    border-radius: 50%;

    background:
        rgba(176, 138, 82, .06);

    color: var(--accent) !important;

    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: .12em;
}

.service-step h3 {
    margin:
        0
        0
        8px !important;

    color: var(--text);

    font-size:
        clamp(20px, 2vw, 25px) !important;

    font-weight: 500 !important;
    line-height: 1.25;
}

.service-step p {
    max-width: 610px;

    margin: 0 !important;

    color: var(--muted) !important;

    font-size: 16px !important;
    line-height: 1.7 !important;
}


/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

.service-faq {
    overflow: hidden;

    border:
        1px solid
        rgba(31, 35, 33, .10) !important;

    border-radius: 26px;

    background:
        rgba(255, 255, 255, .52);
}

.service-faq-item {
    margin: 0;

    border-bottom:
        1px solid
        rgba(31, 35, 33, .09) !important;
}

.service-faq-item:last-child {
    border-bottom: 0 !important;
}

.service-faq-item summary {
    position: relative;

    display: block;

    padding:
        23px
        66px
        23px
        25px !important;

    cursor: pointer;

    list-style: none !important;

    color: var(--text) !important;

    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.45;

    transition:
        background .2s ease;
}

.service-faq-item summary::-webkit-details-marker {
    display: none !important;
}

.service-faq-item summary::after {
    content: "+" !important;

    position: absolute;

    top: 50% !important;
    right: 23px !important;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    transform:
        translateY(-50%);

    border:
        1px solid
        rgba(31, 35, 33, .11);

    border-radius: 50%;

    color: var(--accent);

    font-size: 22px;
    font-weight: 300;
    line-height: 1;

    transition:
        transform .2s ease,
        background .2s ease;
}

.service-faq-item[open] summary {
    background:
        rgba(176, 138, 82, .045);
}

.service-faq-item[open] summary::after {
    transform:
        translateY(-50%)
        rotate(45deg);
}

.service-faq-answer {
    padding:
        0
        66px
        25px
        25px !important;
}

.service-faq-answer p {
    max-width: 620px;

    margin: 0 !important;

    color: var(--muted) !important;

    font-size: 16px !important;
    line-height: 1.72 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 860px) {

    .service-info-block {
        margin-top:
            66px !important;
    }

    .service-info-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .service-info-block {
        margin-top:
            54px !important;
    }

    .service-info-block > h2 {
        margin-bottom:
            25px !important;

        font-size:
            clamp(31px, 9vw, 41px) !important;
    }


    /* reasons */

    .service-info-list {
        grid-template-columns:
            1fr !important;

        gap:
            10px !important;
    }

    .service-info-list li {
        min-height: auto;

        padding:
            20px
            18px
            20px
            58px !important;

        border-radius: 20px;

        font-size:
            15px !important;
    }

    .service-info-list li::before {
        top:
            23px !important;

        left:
            20px !important;
    }


    /* steps */

    .service-step {
        grid-template-columns:
            52px
            minmax(0, 1fr) !important;

        gap:
            14px !important;

        padding:
            23px
            0 !important;
    }

    .service-step-number {
        width: 40px;
        height: 40px;
    }

    .service-step h3 {
        font-size:
            19px !important;
    }

    .service-step p {
        font-size:
            15px !important;

        line-height:
            1.64 !important;
    }


    /* FAQ */

    .service-faq {
        border-radius:
            22px;
    }

    .service-faq-item summary {
        padding:
            20px
            58px
            20px
            19px !important;

        font-size:
            16px !important;
    }

    .service-faq-item summary::after {
        right:
            17px !important;

        width:
            31px;

        height:
            31px;
    }

    .service-faq-answer {
        padding:
            0
            52px
            20px
            19px !important;
    }

    .service-faq-answer p {
        font-size:
            15px !important;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .service-info-block {
        margin-top:
            48px !important;
    }

    .service-info-list li {
        padding-left:
            54px !important;
    }

}


/* =========================================================
   8DENTAL — SERVICE REASONS / DESKTOP FINAL
   Mobile styles remain unchanged
   ========================================================= */

@media (min-width: 1025px) {

    .service-info-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 14px !important;
    }

    .service-info-list li {
        min-height: 150px;

        padding:
            62px
            24px
            24px !important;

        display: block;

        border-radius: 26px;

        font-size: 16px !important;
        line-height: 1.55 !important;
    }

    .service-info-list li::before {
        top: 25px !important;
        left: 24px !important;

        font-size: 12px;
        letter-spacing: .16em;
    }

}


/* TABLET — залишаємо 2 колонки */

@media (min-width: 721px) and (max-width: 1024px) {

    .service-info-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   8DENTAL — SERVICE RICH CONTENT / FULL WIDTH FINAL
   ========================================================= */

.service-rich-section {
    padding-top:
        clamp(72px, 7vw, 104px) !important;

    padding-bottom:
        clamp(80px, 8vw, 118px) !important;
}

.service-rich-container {
    width: min(
        calc(100% - 64px),
        1120px
    ) !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

.service-rich-section .service-info-block:first-child {
    margin-top: 0 !important;
}


/* ---------------------------------------------------------
   DESKTOP — 3 WIDE CARDS
   --------------------------------------------------------- */

@media (min-width: 1025px) {

    .service-rich-section .service-info-list {
        width: 100%;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 16px !important;
    }

    .service-rich-section .service-info-list li {
        min-height: 158px;

        padding:
            62px
            28px
            27px !important;
    }

    .service-rich-section .service-info-list li::before {
        top: 27px !important;
        left: 28px !important;
    }

}


/* ---------------------------------------------------------
   STEPS / FAQ — READABLE WIDTH
   --------------------------------------------------------- */

.service-rich-section .service-steps,
.service-rich-section .service-faq {
    width: 100%;
    max-width: 900px;
}

.service-rich-section .service-step p,
.service-rich-section .service-faq-answer p {
    max-width: 720px;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    .service-rich-container {
        width:
            calc(100% - 48px) !important;
    }

    .service-rich-section .service-info-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 720px) {

    .service-rich-section {
        padding-top:
            52px !important;

        padding-bottom:
            64px !important;
    }

    .service-rich-container {
        width:
            calc(100% - 44px) !important;
    }

    .service-rich-section .service-info-list {
        grid-template-columns:
            1fr !important;
    }

    .service-rich-section .service-steps,
    .service-rich-section .service-faq {
        max-width: 100%;
    }

}



/* =========================================================
   8DENTAL — GLOBAL MOTION / UX FINAL
   ========================================================= */


/* ---------------------------------------------------------
   SCROLL REVEAL
   --------------------------------------------------------- */

.motion-reveal {
    opacity: 0;

    transform:
        translate3d(0, 18px, 0);

    transition:
        opacity 560ms
            cubic-bezier(.22, .61, .36, 1)
            var(--motion-delay, 0ms),

        transform 620ms
            cubic-bezier(.22, .61, .36, 1)
            var(--motion-delay, 0ms);

    will-change:
        opacity,
        transform;
}

.motion-reveal.motion-visible {
    opacity: 1;

    transform:
        translate3d(0, 0, 0);

    will-change: auto;
}


/* ---------------------------------------------------------
   BUTTON FEEL
   --------------------------------------------------------- */

.button {
    transition:
        transform 180ms ease,
        box-shadow 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease,
        color 220ms ease;
}

.button:active {
    transform:
        scale(.985);
}


/* ---------------------------------------------------------
   KEYBOARD / ACCESSIBILITY
   --------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline:
        2px solid
        rgba(176, 138, 82, .72);

    outline-offset:
        4px;
}


/* ---------------------------------------------------------
   ANCHOR UX
   --------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top:
        calc(
            var(--header-height, 90px)
            + 18px
        );
}


/* ---------------------------------------------------------
   DESKTOP — SUBTLE DOCTOR IMAGE RESPONSE
   --------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .doctor-photo img {
        transition:
            transform 650ms
            cubic-bezier(.22, .61, .36, 1);
    }

    .doctor-card:hover .doctor-photo img {
        transform:
            scale(1.018);
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 720px) {

    .motion-reveal {
        transform:
            translate3d(0, 14px, 0);

        transition-duration:
            500ms,
            560ms;
    }

}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto !important;
    }

    .motion-reveal,
    .motion-reveal.motion-visible {
        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }

    .doctor-photo img,
    .doctor-card:hover .doctor-photo img {
        transform: none !important;

        transition: none !important;
    }

}


/* =========================================================
   8DENTAL — SERVICE HERO / PRODUCT STYLE
   ========================================================= */

.service-detail-hero-copy {
    position: relative;
}

.service-hero-guide {
    position: absolute;

    left: calc(100% + 90px);
    bottom: 0;

    width: 290px;

    padding-top: 18px;

    border-top:
        1px solid
        rgba(31, 35, 33, .14);
}

.service-hero-guide-label {
    margin-bottom: 18px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .20em;
    text-transform: uppercase;
}

.service-hero-guide-content strong {
    display: block;

    margin-bottom: 9px;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.35;
}

.service-hero-guide-content p {
    margin: 0 0 16px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.65;
}

.service-hero-guide-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--text);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.service-hero-guide-link span {
    transition:
        transform .2s ease;
}

@media (hover: hover) {

    .service-hero-guide-link:hover span {
        transform:
            translateX(4px);
    }

}


/* трохи компактніший hero */

@media (min-width: 1025px) {

    .service-detail-hero {
        padding-bottom:
            72px !important;
    }

}


/* tablet / mobile */

@media (max-width: 1024px) {

    .service-hero-guide {
        position: static;

        width: 100%;
        max-width: 520px;

        margin-top: 34px;

        padding-top: 20px;
    }

}


@media (max-width: 720px) {

    .service-hero-guide {
        margin-top: 30px;
    }

    .service-hero-guide-content strong {
        font-size: 17px;
    }

}


/* =========================================================
   8DENTAL — WHAT BOTHERS YOU
   ========================================================= */

.concerns-section {
    background:
        rgba(255, 255, 255, .22);
}

.concerns-heading {
    max-width: 760px;
}

.concerns-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top:
        clamp(32px, 4vw, 48px);
}


.concern-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 245px;

    padding:
        26px 25px 24px;

    border:
        1px solid
        rgba(31, 35, 33, .11);

    border-radius: 26px;

    background:
        rgba(255, 255, 255, .54);

    overflow: hidden;

    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease,
        background .24s ease;
}


.concern-number {
    display: block;

    margin-bottom: auto;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .18em;
}


.concern-card h3 {
    margin:
        34px 0 10px;

    font-size:
        clamp(18px, 1.35vw, 21px);

    font-weight: 560;

    line-height: 1.3;
}


.concern-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.6;
}


.concern-arrow {
    position: absolute;

    top: 24px;
    right: 24px;

    font-size: 18px;

    transition:
        transform .22s ease;
}


.concern-card-help {
    background:
        var(--dark);

    color: #fff;

    border-color:
        var(--dark);
}


.concern-card-help h3 {
    color: #fff;
}


.concern-card-help p {
    color:
        rgba(255,255,255,.68);
}


.concern-card-help .concern-number {
    color:
        rgba(219, 177, 109, .95);
}


@media (hover: hover) and (pointer: fine) {

    .concern-card:hover {
        transform:
            translateY(-3px);

        border-color:
            rgba(176,138,82,.30);

        box-shadow:
            0 18px 42px
            rgba(20,25,22,.06);
    }

    .concern-card:hover
    .concern-arrow {
        transform:
            translateX(4px);
    }

}


@media (max-width: 1050px) {

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

}


@media (max-width: 620px) {

    .concerns-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .concern-card {
        min-height: 0;

        padding:
            22px 22px 21px;

        border-radius: 22px;
    }

    .concern-card h3 {
        margin:
            30px 40px 8px 0;

        font-size: 18px;
    }

    .concern-card p {
        font-size: 14px;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .concern-card,
    .concern-arrow {
        transition: none !important;
        transform: none !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT CLINIC / FINAL
   ========================================================= */

.about-section-v2 {
    overflow: hidden;
}

.about-v2-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, .82fr);

    gap:
        clamp(54px, 8vw, 118px);

    align-items: center;
}


.about-intro {
    max-width: 650px;
}


.about-intro h2 {
    margin:
        12px 0
        clamp(26px, 3vw, 38px);

    max-width: 650px;

    font-size:
        clamp(42px, 4.4vw, 66px);

    line-height: 1.03;

    letter-spacing: -.035em;
}


.about-section-v2 .about-copy {
    max-width: 570px;
}


.about-section-v2 .about-copy p {
    margin:
        0 0 18px;

    color: var(--muted);

    font-size:
        clamp(15px, 1.2vw, 17px);

    line-height: 1.75;
}


.about-location-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 18px;

    padding-bottom: 5px;

    border-bottom:
        1px solid
        rgba(31, 35, 33, .18);

    font-size: 14px;
    font-weight: 650;

    transition:
        border-color .2s ease;
}


.about-location-link span:last-child {
    transition:
        transform .2s ease;
}


/* PHOTO */

.about-media {
    position: relative;

    width: 100%;

    margin: 0;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    border-radius: 32px;

    background:
        rgba(31, 35, 33, .05);
}


.about-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 700ms
        cubic-bezier(.22, .61, .36, 1);
}


.about-media-caption {
    position: absolute;

    left: 16px;
    right: 16px;
    bottom: 16px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding:
        13px 16px;

    border:
        1px solid
        rgba(255,255,255,.62);

    border-radius: 18px;

    background:
        rgba(249,248,244,.78);

    backdrop-filter:
        blur(22px)
        saturate(120%);

    -webkit-backdrop-filter:
        blur(22px)
        saturate(120%);

    box-shadow:
        0 12px 30px
        rgba(20,25,22,.08);
}


.about-media-caption span {
    color: var(--muted);

    font-size: 11px;
    font-weight: 650;

    letter-spacing: .08em;
    text-transform: uppercase;
}


.about-media-caption strong {
    font-size: 12px;
    font-weight: 650;

    text-align: right;
}


@media (hover: hover) and (pointer: fine) {

    .about-location-link:hover {
        border-color:
            var(--accent);
    }

    .about-location-link:hover
    span:last-child {
        transform:
            translateX(4px);
    }

    .about-media:hover img {
        transform:
            scale(1.018);
    }

}


/* TABLET */

@media (max-width: 980px) {

    .about-v2-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(300px, .8fr);

        gap: 44px;
    }

    .about-intro h2 {
        font-size:
            clamp(38px, 5.2vw, 52px);
    }

}


/* MOBILE */

@media (max-width: 720px) {

    .about-v2-grid {
        grid-template-columns: 1fr;

        gap: 34px;
    }

    .about-intro {
        max-width: none;
    }

    .about-intro h2 {
        margin-bottom: 24px;

        font-size:
            clamp(35px, 10vw, 46px);
    }

    .about-location-link {
        margin-top: 10px;
    }

    .about-media {
        aspect-ratio: 4 / 3;

        border-radius: 24px;
    }

    .about-media-caption {
        left: 11px;
        right: 11px;
        bottom: 11px;

        padding:
            11px 13px;

        border-radius: 15px;
    }

    .about-media-caption {
        display: block;
    }

    .about-media-caption strong {
        display: block;

        margin-top: 4px;

        text-align: left;
    }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .about-media img,
    .about-media:hover img,
    .about-location-link span {
        transition: none !important;
        transform: none !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / CLINIC GALLERY FINAL
   ========================================================= */

.about-v2-grid {
    grid-template-columns:
        minmax(0, .82fr)
        minmax(440px, 1.18fr) !important;

    gap:
        clamp(54px, 6vw, 94px) !important;

    align-items: center !important;
}


.about-intro h2 {
    font-size:
        clamp(42px, 4vw, 62px) !important;

    max-width: 650px !important;
}


.about-gallery-wrap {
    min-width: 0;
}


.about-gallery {
    display: flex;

    gap: 14px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type:
        x mandatory;

    scroll-behavior:
        smooth;

    scrollbar-width: none;

    -webkit-overflow-scrolling:
        touch;
}


.about-gallery::-webkit-scrollbar {
    display: none;
}


.about-gallery-slide {
    position: relative;

    flex:
        0 0 100%;

    min-width: 0;

    margin: 0;

    aspect-ratio:
        4 / 3;

    overflow: hidden;

    scroll-snap-align:
        start;

    scroll-snap-stop:
        always;

    border-radius:
        30px;

    background:
        rgba(31,35,33,.05);
}


.about-gallery-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 700ms
        cubic-bezier(.22,.61,.36,1);
}


.about-gallery-slide figcaption {
    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 15px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        11px 14px;

    border:
        1px solid
        rgba(255,255,255,.62);

    border-radius:
        16px;

    background:
        rgba(249,248,244,.80);

    backdrop-filter:
        blur(20px)
        saturate(120%);

    -webkit-backdrop-filter:
        blur(20px)
        saturate(120%);

    box-shadow:
        0 10px 28px
        rgba(20,25,22,.08);
}


.about-gallery-slide figcaption span {
    color:
        var(--accent);

    font-size: 10px;

    font-weight: 700;

    letter-spacing:
        .16em;
}


.about-gallery-slide figcaption strong {
    font-size: 12px;

    font-weight: 650;
}


.about-gallery-hint {
    display: flex;

    justify-content: flex-end;
    align-items: center;

    gap: 8px;

    margin-top: 12px;

    color:
        var(--muted);

    font-size: 12px;

    font-weight: 600;
}


/* DESKTOP */

@media (hover: hover) and (pointer: fine) {

    .about-gallery-slide:hover img {
        transform:
            scale(1.018);
    }

}


/* TABLET */

@media (max-width: 980px) {

    .about-v2-grid {
        grid-template-columns:
            1fr !important;

        gap:
            40px !important;
    }

    .about-intro {
        max-width:
            720px !important;
    }

    .about-gallery-slide {
        flex-basis:
            min(82vw, 720px);

        aspect-ratio:
            4 / 3;
    }

}


/* MOBILE */

@media (max-width: 720px) {

    .about-v2-grid {
        gap:
            30px !important;
    }

    .about-intro h2 {
        font-size:
            clamp(34px, 10vw, 44px) !important;

        line-height:
            1.04 !important;
    }

    .about-section-v2 .about-copy p {
        font-size:
            15px !important;

        line-height:
            1.7 !important;
    }

    .about-gallery {
        gap:
            10px;
    }

    .about-gallery-slide {
        flex-basis:
            92%;

        aspect-ratio:
            4 / 3;

        border-radius:
            23px;
    }

    .about-gallery-slide figcaption {
        left:
            10px;

        right:
            10px;

        bottom:
            10px;

        padding:
            10px 12px;

        border-radius:
            14px;
    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .about-gallery {
        scroll-behavior:
            auto !important;
    }

    .about-gallery-slide img,
    .about-gallery-slide:hover img {
        transition:
            none !important;

        transform:
            none !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / WHY US
   ========================================================= */

.about-since {
    display: inline-flex;

    align-items: baseline;

    gap: 8px;

    margin:
        8px 0 28px;

    padding:
        10px 14px;

    border:
        1px solid
        rgba(176, 138, 82, .24);

    border-radius:
        999px;

    background:
        rgba(176, 138, 82, .06);
}

.about-since span {
    color: var(--muted);

    font-size: 12px;
}

.about-since strong {
    color: var(--text);

    font-size: 13px;
    font-weight: 700;
}


.about-why {
    margin-top:
        clamp(34px, 4vw, 48px);

    padding-top: 22px;

    border-top:
        1px solid
        rgba(31, 35, 33, .11);
}

.about-why-label {
    margin-bottom: 18px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;
}


.about-why-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}


.about-why-item {
    min-width: 0;
}


.about-why-number {
    display: block;

    margin-bottom: 13px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .14em;
}


.about-why-item h3 {
    margin:
        0 0 8px;

    font-size:
        15px;

    font-weight: 650;

    line-height: 1.35;
}


.about-why-item p {
    margin: 0 !important;

    color:
        var(--muted);

    font-size:
        13px !important;

    line-height:
        1.6 !important;
}


@media (max-width: 980px) {

    .about-why-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 620px) {

    .about-why {
        margin-top: 30px;
    }

    .about-why-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .about-why-item {
        padding-bottom: 18px;

        border-bottom:
            1px solid
            rgba(31,35,33,.08);
    }

    .about-why-item:last-child {
        padding-bottom: 0;

        border-bottom: 0;
    }

}



/* =========================================================
   8DENTAL — ABOUT / COMPACT PRODUCT STYLE
   ========================================================= */


/* DESKTOP */

@media (min-width: 981px) {

    .about-v2-grid {
        grid-template-columns:
            minmax(0, .72fr)
            minmax(480px, 1.28fr) !important;

        gap:
            clamp(54px, 6vw, 90px) !important;

        align-items: center !important;
    }


    .about-intro {
        max-width: 570px !important;
    }


    .about-intro h2 {
        max-width: 560px !important;

        margin:
            10px 0 24px !important;

        font-size:
            clamp(38px, 3.35vw, 54px) !important;

        line-height:
            1.02 !important;

        letter-spacing:
            -.035em !important;

        text-wrap: balance;
    }


    .about-section-v2 .about-copy {
        max-width: 520px !important;
    }


    .about-section-v2 .about-copy p {
        margin:
            0 0 13px !important;

        font-size:
            15px !important;

        line-height:
            1.65 !important;
    }


    /* WHY US — NOT CARDS */

    .about-why {
        margin-top:
            28px !important;

        padding-top:
            18px !important;
    }


    .about-why-label {
        margin-bottom:
            16px !important;

        font-size:
            10px !important;

        letter-spacing:
            .17em !important;
    }


    .about-why-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap:
            20px !important;
    }


    .about-why-item {
        padding: 0 !important;

        background: none !important;

        border: 0 !important;

        box-shadow: none !important;
    }


    .about-why-number {
        margin-bottom:
            9px !important;

        font-size:
            9px !important;
    }


    .about-why-item h3 {
        margin:
            0 0 6px !important;

        font-size:
            13px !important;

        line-height:
            1.35 !important;
    }


    .about-why-item p {
        margin: 0 !important;

        font-size:
            12px !important;

        line-height:
            1.55 !important;
    }


    .about-location-link {
        margin-top:
            24px !important;

        font-size:
            13px !important;
    }

}


/* TABLET */

@media (min-width: 721px) and (max-width: 980px) {

    .about-intro {
        max-width:
            680px !important;
    }

    .about-intro h2 {
        max-width:
            620px !important;

        font-size:
            clamp(38px, 5vw, 50px) !important;

        text-wrap: balance;
    }

    .about-why-grid {
        gap:
            24px !important;
    }

}


/* MOBILE */

@media (max-width: 720px) {

    .about-intro h2 {
        margin:
            9px 0 20px !important;

        font-size:
            clamp(34px, 9.4vw, 42px) !important;

        line-height:
            1.03 !important;

        text-wrap: balance;
    }


    .about-section-v2 .about-copy p {
        margin-bottom:
            12px !important;

        font-size:
            15px !important;

        line-height:
            1.65 !important;
    }


    .about-why {
        margin-top:
            26px !important;

        padding-top:
            17px !important;
    }


    .about-why-grid {
        gap:
            0 !important;
    }


    .about-why-item {
        display: grid;

        grid-template-columns:
            30px 1fr;

        column-gap:
            10px;

        padding:
            14px 0 !important;

        border-bottom:
            1px solid
            rgba(31,35,33,.08);
    }


    .about-why-number {
        grid-row:
            1 / span 2;

        margin: 3px 0 0 !important;
    }


    .about-why-item h3 {
        margin:
            0 0 4px !important;

        font-size:
            15px !important;
    }


    .about-why-item p {
        font-size:
            13px !important;

        line-height:
            1.55 !important;
    }


    .about-location-link {
        margin-top:
            20px !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / FINAL PROFESSIONAL LAYOUT
   ========================================================= */


/* ---------------------------------------------------------
   DESKTOP
   --------------------------------------------------------- */

@media (min-width: 981px) {

    .about-v2-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(420px, 520px) !important;

        gap:
            clamp(60px, 7vw, 105px) !important;

        align-items: center !important;
    }


    /* TEXT */

    .about-intro {
        max-width:
            610px !important;
    }

    .about-intro h2 {
        max-width:
            590px !important;

        margin:
            10px 0 22px !important;

        font-size:
            clamp(40px, 3.5vw, 54px) !important;

        line-height:
            1.03 !important;

        letter-spacing:
            -.035em !important;
    }


    .about-section-v2 .about-copy {
        max-width:
            540px !important;
    }

    .about-section-v2 .about-copy p {
        margin:
            0 0 12px !important;

        font-size:
            15px !important;

        line-height:
            1.62 !important;
    }


    /* WHY US */

    .about-why {
        margin-top:
            26px !important;

        padding-top:
            17px !important;
    }

    .about-why-label {
        margin-bottom:
            15px !important;
    }

    .about-why-grid {
        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap:
            18px !important;
    }

    .about-why-item h3 {
        font-size:
            13px !important;

        line-height:
            1.35 !important;
    }

    .about-why-item p {
        font-size:
            12px !important;

        line-height:
            1.52 !important;
    }

    .about-location-link {
        margin-top:
            22px !important;
    }


    /* -----------------------------------------------------
       PHOTO SLIDER
       ----------------------------------------------------- */

    .about-gallery-wrap {
        width:
            100% !important;

        max-width:
            520px !important;

        justify-self:
            end !important;
    }

    .about-gallery {
        gap:
            12px !important;

        padding-right:
            42px;

        scroll-padding-left:
            0;
    }

    .about-gallery-slide {
        flex:
            0 0 calc(100% - 42px) !important;

        aspect-ratio:
            4 / 3 !important;

        min-height:
            0 !important;

        border-radius:
            26px !important;
    }

    .about-gallery-slide img {
        object-fit:
            cover !important;
    }

    .about-gallery-hint {
        margin-top:
            10px !important;

        padding-right:
            42px;

        font-size:
            11px !important;
    }

}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (min-width: 721px) and (max-width: 980px) {

    .about-v2-grid {
        grid-template-columns:
            1fr !important;

        gap:
            38px !important;
    }

    .about-intro {
        max-width:
            680px !important;
    }

    .about-gallery-wrap {
        max-width:
            760px !important;
    }

    .about-gallery {
        padding-right:
            70px;
    }

    .about-gallery-slide {
        flex:
            0 0 calc(100% - 70px) !important;

        aspect-ratio:
            4 / 3 !important;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 720px) {

    .about-v2-grid {
        gap:
            28px !important;
    }


    .about-intro h2 {
        margin:
            8px 0 18px !important;

        font-size:
            clamp(34px, 9.5vw, 42px) !important;

        line-height:
            1.04 !important;
    }


    .about-section-v2 .about-copy p {
        margin-bottom:
            11px !important;

        font-size:
            14.5px !important;

        line-height:
            1.62 !important;
    }


    /* WHY — compact rows */

    .about-why {
        margin-top:
            23px !important;

        padding-top:
            15px !important;
    }

    .about-why-label {
        margin-bottom:
            7px !important;
    }

    .about-why-item {
        padding:
            12px 0 !important;
    }

    .about-why-number {
        font-size:
            9px !important;
    }

    .about-why-item h3 {
        font-size:
            14px !important;
    }

    .about-why-item p {
        font-size:
            12.5px !important;

        line-height:
            1.5 !important;
    }


    /* MOBILE SWIPE */

    .about-gallery {
        gap:
            10px !important;

        padding-right:
            34px;
    }

    .about-gallery-slide {
        flex:
            0 0 calc(100% - 34px) !important;

        aspect-ratio:
            4 / 3 !important;

        border-radius:
            22px !important;
    }

    .about-gallery-slide figcaption {
        left:
            10px !important;

        right:
            10px !important;

        bottom:
            10px !important;
    }

    .about-gallery-hint {
        justify-content:
            flex-start !important;

        margin-top:
            9px !important;

        padding-right:
            0 !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / MINIMAL FINAL
   ========================================================= */

@media (min-width: 981px) {

    .about-v2-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(420px, 500px) !important;

        gap:
            clamp(70px, 8vw, 120px) !important;

        align-items:
            center !important;
    }

    .about-intro {
        max-width:
            590px !important;
    }

    .about-intro h2 {
        max-width:
            570px !important;

        margin:
            10px 0 20px !important;

        font-size:
            clamp(39px, 3.2vw, 50px) !important;

        line-height:
            1.04 !important;

        letter-spacing:
            -.035em !important;
    }

    .about-section-v2 .about-copy {
        max-width:
            520px !important;
    }

    .about-section-v2 .about-copy p {
        margin: 0 !important;

        font-size:
            15px !important;

        line-height:
            1.65 !important;
    }


    /* WHY — TWO CLEAN ROWS */

    .about-why {
        margin-top:
            30px !important;

        padding-top:
            20px !important;
    }

    .about-why-label {
        display: none !important;
    }

    .about-why-grid {
        display: grid !important;

        grid-template-columns:
            1fr !important;

        gap:
            0 !important;
    }

    .about-why-item {
        position: relative;

        padding:
            15px 0 15px 31px !important;

        border-bottom:
            1px solid
            rgba(31,35,33,.08) !important;
    }

    .about-why-item:first-child {
        border-top:
            1px solid
            rgba(31,35,33,.08) !important;
    }

    .about-why-number {
        display: none !important;
    }

    .about-why-item::before {
        content: "✓";

        position: absolute;

        left: 0;
        top: 15px;

        width: 20px;
        height: 20px;

        display: flex;

        align-items: center;
        justify-content: center;

        border:
            1px solid
            rgba(176,138,82,.30);

        border-radius:
            50%;

        color:
            var(--accent);

        font-size:
            10px;

        font-weight:
            800;
    }

    .about-why-item h3 {
        margin:
            0 0 4px !important;

        font-size:
            14px !important;

        line-height:
            1.35 !important;
    }

    .about-why-item p {
        margin: 0 !important;

        font-size:
            12.5px !important;

        line-height:
            1.5 !important;
    }


    /* CTA */

    .about-location-link {
        margin-top:
            20px !important;

        font-size:
            13px !important;
    }


    /* PHOTO AREA */

    .about-gallery-wrap {
        width:
            100% !important;

        max-width:
            500px !important;

        justify-self:
            end !important;
    }

    .about-gallery {
        padding-right:
            36px !important;

        gap:
            10px !important;
    }

    .about-gallery-slide {
        flex:
            0 0 calc(100% - 36px) !important;

        aspect-ratio:
            4 / 3 !important;

        border-radius:
            24px !important;
    }

}


/* MOBILE */

@media (max-width: 720px) {

    .about-intro h2 {
        font-size:
            clamp(33px, 9vw, 40px) !important;

        margin:
            8px 0 17px !important;
    }

    .about-section-v2 .about-copy p {
        font-size:
            14.5px !important;

        line-height:
            1.6 !important;
    }

    .about-why {
        margin-top:
            24px !important;

        padding-top:
            0 !important;

        border-top:
            0 !important;
    }

    .about-why-label {
        display:
            none !important;
    }

    .about-why-grid {
        display:
            block !important;
    }

    .about-why-item {
        position:
            relative;

        display:
            block !important;

        padding:
            14px 0 14px 30px !important;

        border-bottom:
            1px solid
            rgba(31,35,33,.08);
    }

    .about-why-item:first-child {
        border-top:
            1px solid
            rgba(31,35,33,.08);
    }

    .about-why-number {
        display:
            none !important;
    }

    .about-why-item::before {
        content:
            "✓";

        position:
            absolute;

        left:
            0;

        top:
            15px;

        width:
            19px;

        height:
            19px;

        display:
            flex;

        align-items:
            center;

        justify-content:
            center;

        border:
            1px solid
            rgba(176,138,82,.30);

        border-radius:
            50%;

        color:
            var(--accent);

        font-size:
            9px;
    }

    .about-why-item h3 {
        margin:
            0 0 3px !important;

        font-size:
            14px !important;
    }

    .about-why-item p {
        margin:
            0 !important;

        font-size:
            12.5px !important;
    }


    /* PHOTO SWIPE */

    .about-gallery {
        padding-right:
            36px !important;
    }

    .about-gallery-slide {
        flex:
            0 0 calc(100% - 36px) !important;

        aspect-ratio:
            4 / 3 !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT GALLERY / TRUE 3:4 FINAL
   ========================================================= */


/* DESKTOP */

@media (min-width: 981px) {

    .about-v2-grid {
        grid-template-columns:
            minmax(0, 1fr)
            430px !important;

        gap:
            clamp(70px, 7vw, 110px) !important;

        align-items:
            center !important;
    }


    .about-gallery-wrap {
        width:
            430px !important;

        max-width:
            430px !important;

        justify-self:
            end !important;
    }


    .about-gallery {
        width:
            100% !important;

        gap:
            10px !important;

        padding-right:
            24px !important;

        overflow-x:
            auto !important;
    }


    .about-gallery-slide {
        flex:
            0 0 calc(100% - 24px) !important;

        width:
            calc(100% - 24px) !important;

        aspect-ratio:
            3 / 4 !important;

        min-height:
            0 !important;

        border-radius:
            26px !important;
    }


    .about-gallery-slide img {
        width:
            100% !important;

        height:
            100% !important;

        object-fit:
            cover !important;

        object-position:
            center center !important;
    }


    .about-gallery-slide figcaption {
        left:
            12px !important;

        right:
            12px !important;

        bottom:
            12px !important;

        padding:
            11px 14px !important;
    }


    .about-gallery-hint {
        margin-top:
            9px !important;

        padding-right:
            24px !important;

        font-size:
            11px !important;
    }

}


/* TABLET */

@media (min-width: 721px) and (max-width: 980px) {

    .about-gallery-wrap {
        width:
            min(430px, 100%) !important;

        max-width:
            430px !important;
    }


    .about-gallery {
        padding-right:
            26px !important;
    }


    .about-gallery-slide {
        flex:
            0 0 calc(100% - 26px) !important;

        aspect-ratio:
            3 / 4 !important;
    }

}


/* MOBILE */

@media (max-width: 720px) {

    .about-gallery-wrap {
        width:
            100% !important;

        max-width:
            390px !important;
    }


    .about-gallery {
        gap:
            10px !important;

        padding-right:
            34px !important;
    }


    .about-gallery-slide {
        flex:
            0 0 calc(100% - 34px) !important;

        width:
            calc(100% - 34px) !important;

        aspect-ratio:
            3 / 4 !important;

        border-radius:
            22px !important;
    }


    .about-gallery-slide img {
        object-fit:
            cover !important;

        object-position:
            center center !important;
    }


    .about-gallery-hint {
        margin-top:
            8px !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / 2026 FINAL PROPORTIONS
   ========================================================= */


/* ---------------------------------------------------------
   DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1100px) {

    .about-section-v2 {
        padding-top:
            clamp(74px, 6vw, 96px) !important;

        padding-bottom:
            clamp(78px, 6vw, 100px) !important;
    }


    .about-v2-grid {
        display: grid !important;

        grid-template-columns:
            minmax(0, 620px)
            minmax(360px, 405px) !important;

        justify-content:
            space-between !important;

        align-items:
            center !important;

        column-gap:
            clamp(56px, 5vw, 86px) !important;
    }


    /* LEFT */

    .about-intro {
        width: 100% !important;
        max-width: 620px !important;
    }


    .about-intro .eyebrow {
        margin-bottom:
            12px !important;
    }


    .about-intro h2 {
        width: 100% !important;

        max-width:
            590px !important;

        margin:
            0 0 24px !important;

        font-size:
            clamp(42px, 3.1vw, 52px) !important;

        line-height:
            1.02 !important;

        letter-spacing:
            -.036em !important;

        text-wrap:
            balance;
    }


    .about-section-v2 .about-copy {
        max-width:
            545px !important;
    }


    .about-section-v2 .about-copy p {
        margin: 0 !important;

        font-size:
            15.5px !important;

        line-height:
            1.68 !important;

        color:
            rgba(63, 70, 67, .72) !important;
    }


    /* TWO REASONS */

    .about-why {
        max-width:
            545px !important;

        margin-top:
            28px !important;

        padding-top:
            0 !important;

        border-top:
            0 !important;
    }


    .about-why-grid {
        display: block !important;
    }


    .about-why-item {
        position: relative;

        padding:
            15px 0 15px 34px !important;

        border-top:
            1px solid
            rgba(31, 35, 33, .085) !important;

        border-bottom:
            0 !important;
    }


    .about-why-item:last-child {
        border-bottom:
            1px solid
            rgba(31, 35, 33, .085) !important;
    }


    .about-why-item::before {
        top:
            16px !important;

        left:
            0 !important;

        width:
            20px !important;

        height:
            20px !important;
    }


    .about-why-item h3 {
        margin:
            0 0 4px !important;

        font-size:
            14px !important;

        line-height:
            1.35 !important;
    }


    .about-why-item p {
        margin: 0 !important;

        font-size:
            12.5px !important;

        line-height:
            1.5 !important;
    }


    /* CTA */

    .about-location-link {
        margin-top:
            19px !important;

        padding-bottom:
            4px !important;

        font-size:
            13px !important;
    }


    /* -----------------------------------------------------
       GALLERY
       ----------------------------------------------------- */

    .about-gallery-wrap {
        width:
            405px !important;

        max-width:
            405px !important;

        justify-self:
            end !important;
    }


    .about-gallery {
        width:
            100% !important;

        gap:
            10px !important;

        padding-right:
            34px !important;

        overflow-x:
            auto !important;

        scroll-snap-type:
            x mandatory !important;
    }


    .about-gallery-slide {
        flex:
            0 0 calc(100% - 34px) !important;

        width:
            calc(100% - 34px) !important;

        aspect-ratio:
            3 / 4 !important;

        border-radius:
            26px !important;

        scroll-snap-align:
            start !important;
    }


    .about-gallery-slide img {
        width:
            100% !important;

        height:
            100% !important;

        object-fit:
            cover !important;

        object-position:
            center !important;
    }


    .about-gallery-slide figcaption {
        left:
            12px !important;

        right:
            12px !important;

        bottom:
            12px !important;

        min-height:
            54px;

        padding:
            10px 14px !important;

        border-radius:
            16px !important;
    }


    .about-gallery-hint {
        margin-top:
            8px !important;

        padding-right:
            34px !important;

        font-size:
            11px !important;

        opacity:
            .72;
    }

}


/* ---------------------------------------------------------
   LARGE DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1500px) {

    .about-v2-grid {
        grid-template-columns:
            minmax(0, 650px)
            410px !important;
    }

    .about-gallery-wrap {
        width:
            410px !important;

        max-width:
            410px !important;
    }

}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (min-width: 721px) and (max-width: 1099px) {

    .about-v2-grid {
        grid-template-columns:
            1fr !important;

        gap:
            38px !important;
    }


    .about-intro {
        max-width:
            680px !important;
    }


    .about-intro h2 {
        max-width:
            620px !important;

        font-size:
            clamp(40px, 5.5vw, 50px) !important;
    }


    .about-gallery-wrap {
        width:
            min(390px, 100%) !important;

        max-width:
            390px !important;
    }


    .about-gallery {
        padding-right:
            32px !important;
    }


    .about-gallery-slide {
        flex:
            0 0 calc(100% - 32px) !important;

        aspect-ratio:
            3 / 4 !important;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 720px) {

    .about-section-v2 {
        padding-top:
            58px !important;

        padding-bottom:
            64px !important;
    }


    .about-v2-grid {
        grid-template-columns:
            1fr !important;

        gap:
            30px !important;
    }


    .about-intro h2 {
        max-width:
            100% !important;

        margin:
            0 0 18px !important;

        font-size:
            clamp(34px, 9.2vw, 41px) !important;

        line-height:
            1.03 !important;

        letter-spacing:
            -.032em !important;
    }


    .about-section-v2 .about-copy p {
        font-size:
            14.5px !important;

        line-height:
            1.62 !important;
    }


    .about-why {
        margin-top:
            23px !important;
    }


    .about-why-item {
        padding:
            13px 0 13px 31px !important;
    }


    .about-location-link {
        margin-top:
            18px !important;
    }


    /* PHOTO */

    .about-gallery-wrap {
        width:
            100% !important;

        max-width:
            380px !important;
    }


    .about-gallery {
        gap:
            9px !important;

        padding-right:
            32px !important;
    }


    .about-gallery-slide {
        flex:
            0 0 calc(100% - 32px) !important;

        aspect-ratio:
            3 / 4 !important;

        border-radius:
            22px !important;
    }


    .about-gallery-slide figcaption {
        left:
            10px !important;

        right:
            10px !important;

        bottom:
            10px !important;

        min-height:
            49px;

        padding:
            9px 12px !important;

        border-radius:
            14px !important;
    }


    .about-gallery-hint {
        margin-top:
            7px !important;

        padding-right:
            32px !important;

        justify-content:
            flex-start !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT SLIDER / DESKTOP POSITION
   ========================================================= */

@media (min-width: 1100px) {

    .about-gallery-wrap {
        transform:
            translateX(-55px) !important;
    }

}


/* very large screens */

@media (min-width: 1600px) {

    .about-gallery-wrap {
        transform:
            translateX(-70px) !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT SLIDER / MORE LEFT
   ========================================================= */

@media (min-width: 1100px) {

    .about-gallery-wrap {
        transform:
            translateX(-95px) !important;
    }

}

@media (min-width: 1600px) {

    .about-gallery-wrap {
        transform:
            translateX(-110px) !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT GALLERY CONTROLS / FINAL
   ========================================================= */

.about-gallery-controls {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-top: 12px;

    padding-right: 34px;
}


.about-gallery-count {
    display: inline-flex;

    align-items: baseline;

    gap: 5px;

    color: rgba(63, 70, 67, .58);

    font-size: 11px;
    font-weight: 650;

    letter-spacing: .08em;
}


.about-gallery-current {
    color: var(--text);

    font-size: 13px;

    font-weight: 700;
}


.about-gallery-separator {
    opacity: .38;
}


.about-gallery-arrows {
    display: flex;

    align-items: center;

    gap: 8px;
}


.about-gallery-arrow {
    width: 38px;
    height: 38px;

    padding: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(31, 35, 33, .12);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .48);

    color: var(--text);

    font-size: 15px;

    line-height: 1;

    cursor: pointer;

    transition:
        transform .18s ease,
        background-color .18s ease,
        border-color .18s ease,
        opacity .18s ease;
}


.about-gallery-arrow:disabled {
    opacity: .28;

    cursor: default;
}


@media (hover: hover) and (pointer: fine) {

    .about-gallery-arrow:not(:disabled):hover {
        transform:
            translateY(-1px);

        background:
            rgba(255, 255, 255, .78);

        border-color:
            rgba(176, 138, 82, .30);
    }

}


@media (max-width: 720px) {

    .about-gallery-controls {
        margin-top: 10px;

        padding-right: 32px;
    }

    .about-gallery-arrow {
        width: 36px;
        height: 36px;
    }

}


/* old text hint is no longer used */

.about-gallery-hint {
    display: none !important;
}



/* =========================================================
   8DENTAL — ABOUT / PROFESSIONAL VISUAL BALANCE
   ========================================================= */

@media (min-width: 1100px) {

    /*
     * Текст + фото.
     * Фото не прилипає до правого краю і не рухається transform.
     */

    .about-v2-grid {
        grid-template-columns:
            minmax(0, 650px)
            390px !important;

        column-gap:
            clamp(72px, 6vw, 108px) !important;

        justify-content:
            start !important;

        align-items:
            start !important;
    }


    /*
     * PHOTO SLIDER
     *
     * Верх фото приблизно вирівнюємо
     * з початком головного заголовка.
     */

    .about-gallery-wrap {
        width:
            390px !important;

        max-width:
            390px !important;

        justify-self:
            start !important;

        align-self:
            start !important;

        margin-top:
            54px !important;

        transform:
            none !important;
    }


    /*
     * Невеликий peek наступного фото.
     * Не показуємо пів другої картки.
     */

    .about-gallery {
        width:
            100% !important;

        gap:
            10px !important;

        padding-right:
            20px !important;

        overflow-x:
            auto !important;
    }


    .about-gallery-slide {
        flex:
            0 0 calc(100% - 20px) !important;

        width:
            calc(100% - 20px) !important;

        aspect-ratio:
            3 / 4 !important;

        border-radius:
            26px !important;
    }


    .about-gallery-slide img {
        width:
            100% !important;

        height:
            100% !important;

        object-fit:
            cover !important;

        object-position:
            center !important;
    }


    /*
     * Caption робимо компактнішим.
     */

    .about-gallery-slide figcaption {
        left:
            11px !important;

        right:
            11px !important;

        bottom:
            11px !important;

        min-height:
            48px !important;

        padding:
            9px 13px !important;

        border-radius:
            15px !important;
    }


    /*
     * Controls тримаємо точно під фото.
     */

    .about-gallery-controls {
        width:
            calc(100% - 20px) !important;

        margin-top:
            10px !important;

        padding-right:
            0 !important;
    }

}


/* =========================================================
   VERY LARGE DESKTOP
   ========================================================= */

@media (min-width: 1600px) {

    .about-v2-grid {
        grid-template-columns:
            660px
            400px !important;

        column-gap:
            112px !important;
    }

    .about-gallery-wrap {
        width:
            400px !important;

        max-width:
            400px !important;

        margin-top:
            56px !important;

        transform:
            none !important;
    }

}


/* =========================================================
   TABLET / MOBILE
   Тут ніяких ручних зміщень.
   ========================================================= */

@media (max-width: 1099px) {

    .about-gallery-wrap {
        transform:
            none !important;

        margin-top:
            0 !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / LEFT & PHOTO VISUAL SYNC
   ========================================================= */

@media (min-width: 1100px) {

    /*
     * Вся композиція по центру контейнера:
     * текст + фото працюють як один блок.
     */

    .about-v2-grid {
        grid-template-columns:
            minmax(0, 620px)
            390px !important;

        column-gap:
            clamp(78px, 6vw, 108px) !important;

        justify-content:
            center !important;

        align-items:
            start !important;
    }


    /*
     * LEFT COLUMN
     *
     * Висота приблизно відповідає:
     * фото 3:4 + нижні controls.
     */

    .about-intro {
        width:
            100% !important;

        max-width:
            620px !important;

        min-height:
            545px !important;

        display:
            flex !important;

        flex-direction:
            column !important;

        justify-content:
            flex-start !important;

        padding:
            4px 0 0 !important;
    }


    /* EYEBROW */

    .about-intro .eyebrow {
        margin:
            0 0 14px !important;
    }


    /* TITLE */

    .about-intro h2 {
        width:
            100% !important;

        max-width:
            600px !important;

        margin:
            0 0 24px !important;

        font-size:
            clamp(43px, 3.05vw, 51px) !important;

        line-height:
            1.025 !important;

        letter-spacing:
            -.038em !important;

        text-wrap:
            balance;
    }


    /* INTRO TEXT */

    .about-section-v2 .about-copy {
        width:
            100% !important;

        max-width:
            535px !important;

        margin:
            0 !important;
    }


    .about-section-v2 .about-copy p {
        margin:
            0 !important;

        font-size:
            15px !important;

        line-height:
            1.68 !important;

        color:
            rgba(63, 70, 67, .72) !important;
    }


    /*
     * TWO REASONS
     *
     * Ближче до тексту, чисто і без
     * відчуття таблиці.
     */

    .about-why {
        width:
            100% !important;

        max-width:
            535px !important;

        margin-top:
            28px !important;

        padding:
            0 !important;

        border:
            0 !important;
    }


    .about-why-grid {
        display:
            block !important;
    }


    .about-why-item {
        position:
            relative !important;

        padding:
            15px 0 15px 34px !important;

        border-top:
            1px solid
            rgba(31,35,33,.075) !important;

        border-bottom:
            0 !important;
    }


    .about-why-item:last-child {
        border-bottom:
            1px solid
            rgba(31,35,33,.075) !important;
    }


    .about-why-item::before {
        left:
            0 !important;

        top:
            16px !important;

        width:
            20px !important;

        height:
            20px !important;
    }


    .about-why-item h3 {
        margin:
            0 0 4px !important;

        font-size:
            14px !important;

        line-height:
            1.35 !important;
    }


    .about-why-item p {
        margin:
            0 !important;

        font-size:
            12.5px !important;

        line-height:
            1.5 !important;
    }


    /*
     * CTA ВНИЗ
     *
     * Це ключ:
     * CTA візуально опускається до рівня
     * controls під фото.
     */

    .about-location-link {
        align-self:
            flex-start !important;

        margin-top:
            auto !important;

        margin-bottom:
            2px !important;

        padding-bottom:
            5px !important;

        font-size:
            13px !important;
    }


    /*
     * RIGHT COLUMN
     *
     * Без ручного translate.
     * Початок фото вирівнюємо
     * з початком контентної композиції.
     */

    .about-gallery-wrap {
        width:
            390px !important;

        max-width:
            390px !important;

        margin:
            0 !important;

        padding:
            0 !important;

        transform:
            none !important;

        align-self:
            start !important;

        justify-self:
            start !important;
    }


    .about-gallery {
        padding-right:
            20px !important;
    }


    .about-gallery-slide {
        flex:
            0 0 calc(100% - 20px) !important;

        aspect-ratio:
            3 / 4 !important;
    }


    .about-gallery-controls {
        width:
            calc(100% - 20px) !important;

        margin-top:
            10px !important;

        padding:
            0 !important;
    }

}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1600px) {

    .about-v2-grid {
        grid-template-columns:
            640px
            400px !important;

        column-gap:
            112px !important;
    }


    .about-intro {
        max-width:
            640px !important;

        min-height:
            558px !important;
    }


    .about-gallery-wrap {
        width:
            400px !important;

        max-width:
            400px !important;
    }

}


/* =========================================================
   TABLET / MOBILE
   Desktop height syncing is disabled.
   ========================================================= */

@media (max-width: 1099px) {

    .about-intro {
        min-height:
            0 !important;
    }


    .about-location-link {
        margin-top:
            18px !important;
    }


    .about-gallery-wrap {
        transform:
            none !important;

        margin-top:
            0 !important;
    }

}



/* =========================================================
   8DENTAL — SERVICE SPECIALISTS / FINAL
   ========================================================= */

.service-doctors-block {
    margin-top:
        clamp(72px, 8vw, 108px);
}


.service-doctors-head {
    max-width: 690px;

    margin-bottom:
        clamp(28px, 4vw, 42px);
}


.service-doctors-head h2 {
    margin:
        10px 0 12px;

    font-size:
        clamp(36px, 4vw, 54px);

    line-height: 1.04;

    letter-spacing: -.035em;
}


.service-doctors-head p {
    max-width: 520px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.65;
}


/* GRID */

.service-doctors-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;

    max-width: 920px;
}


.service-doctors-grid.is-single {
    grid-template-columns:
        minmax(0, 450px);
}


/* CARD */

.service-doctor-card {
    display: grid;

    grid-template-columns:
        142px minmax(0, 1fr);

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(31, 35, 33, .10);

    border-radius: 26px;

    background:
        rgba(255,255,255,.48);

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.service-doctor-photo {
    min-height: 184px;

    overflow: hidden;

    background:
        rgba(31,35,33,.04);
}


.service-doctor-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition:
        transform 600ms
        cubic-bezier(.22,.61,.36,1);
}


.service-doctor-body {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding:
        22px 22px 19px;
}


.service-doctor-direction {
    margin-bottom: 12px;

    color: var(--accent);

    font-size: 9px;
    font-weight: 700;

    line-height: 1.3;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.service-doctor-card h3 {
    margin:
        0 0 7px;

    font-size: 18px;

    font-weight: 600;

    line-height: 1.3;
}


.service-doctor-card p {
    margin:
        0 0 16px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.5;
}


.service-doctor-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    margin-top: auto;

    padding-bottom: 3px;

    border-bottom:
        1px solid
        rgba(31,35,33,.16);

    font-size: 12px;

    font-weight: 650;
}


.service-doctor-link span:last-child {
    transition:
        transform .18s ease;
}


@media (hover: hover) and (pointer: fine) {

    .service-doctor-card:hover {
        transform:
            translateY(-2px);

        border-color:
            rgba(176,138,82,.24);

        box-shadow:
            0 18px 42px
            rgba(20,25,22,.045);
    }

    .service-doctor-card:hover
    .service-doctor-photo img {
        transform:
            scale(1.018);
    }

    .service-doctor-link:hover
    span:last-child {
        transform:
            translateX(3px);
    }

}


/* TABLET */

@media (max-width: 900px) {

    .service-doctors-grid {
        grid-template-columns: 1fr;

        max-width: 620px;
    }

}


/* MOBILE */

@media (max-width: 620px) {

    .service-doctors-block {
        margin-top: 60px;
    }

    .service-doctors-head h2 {
        font-size:
            clamp(32px, 9vw, 40px);
    }

    .service-doctor-card {
        grid-template-columns:
            108px minmax(0, 1fr);

        border-radius: 21px;
    }

    .service-doctor-photo {
        min-height: 158px;
    }

    .service-doctor-body {
        padding:
            17px 16px 15px;
    }

    .service-doctor-direction {
        margin-bottom: 8px;

        font-size: 8px;
    }

    .service-doctor-card h3 {
        font-size: 15px;
    }

    .service-doctor-card p {
        margin-bottom: 12px;

        font-size: 12px;
    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .service-doctor-card,
    .service-doctor-photo img,
    .service-doctor-link span {
        transition: none !important;

        transform: none !important;
    }

}


/* =========================================================
   8DENTAL — SERVICE DOCTORS UI
   ========================================================= */

.service-doctors-section,
.service-specialists,
.service-doctors {
    margin-top: clamp(56px, 7vw, 96px);
}

.service-doctors-section .section-eyebrow,
.service-specialists .section-eyebrow,
.service-doctors .section-eyebrow {
    margin-bottom: 16px;
}

.service-doctors-grid,
.service-specialists-grid,
.service-doctors-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-top: 28px;
}

.service-doctor-card,
.service-specialist-card,
.doctor-service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(32, 38, 35, 0.08);
    border-radius: 28px;
    background: rgba(255,255,255,0.72);
    box-shadow:
        0 14px 34px rgba(18, 24, 21, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.85);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

@media (hover: hover) {
    .service-doctor-card:hover,
    .service-specialist-card:hover,
    .doctor-service-card:hover {
        transform: translateY(-4px);
        border-color: rgba(176, 138, 82, 0.22);
        box-shadow:
            0 18px 42px rgba(18, 24, 21, 0.09),
            inset 0 1px 0 rgba(255,255,255,0.9);
    }
}

.service-doctor-photo,
.service-specialist-photo,
.doctor-service-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #ece9e2;
}

.service-doctor-photo img,
.service-specialist-photo img,
.doctor-service-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.service-doctor-body,
.service-specialist-body,
.doctor-service-body,
.service-doctor-content,
.service-specialist-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 22px 24px;
    flex: 1 1 auto;
}

.service-doctor-name,
.service-specialist-name,
.doctor-service-name,
.service-doctor-card h3,
.service-specialist-card h3,
.doctor-service-card h3 {
    margin: 0;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 2.1vw, 34px);
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.service-doctor-position,
.service-specialist-position,
.doctor-service-position,
.service-doctor-card .doctor-position,
.service-specialist-card .doctor-position,
.doctor-service-card .doctor-position {
    margin: 0;
    color: rgba(49, 56, 53, 0.72);
    font-size: 18px;
    line-height: 1.55;
}

.service-doctor-tags,
.service-specialist-tags,
.doctor-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.service-doctor-tags span,
.service-specialist-tags span,
.doctor-service-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(176, 138, 82, 0.18);
    border-radius: 999px;
    background: rgba(176, 138, 82, 0.07);
    color: rgba(45, 52, 49, 0.86);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.service-doctor-actions,
.service-specialist-actions,
.doctor-service-actions {
    margin-top: auto;
    padding-top: 8px;
}

.service-doctor-link,
.service-specialist-link,
.doctor-service-link,
.service-doctor-card .doctor-link,
.service-specialist-card .doctor-link,
.doctor-service-card .doctor-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    border-bottom: 1px solid rgba(32, 38, 35, 0.18);
    padding-bottom: 4px;
    width: fit-content;
    transition:
        gap .18s ease,
        color .18s ease,
        border-color .18s ease;
}

.service-doctor-link::after,
.service-specialist-link::after,
.doctor-service-link::after,
.service-doctor-card .doctor-link::after,
.service-specialist-card .doctor-link::after,
.doctor-service-card .doctor-link::after {
    content: "→";
    font-size: 1em;
    line-height: 1;
}

@media (hover: hover) {
    .service-doctor-link:hover,
    .service-specialist-link:hover,
    .doctor-service-link:hover,
    .service-doctor-card .doctor-link:hover,
    .service-specialist-card .doctor-link:hover,
    .doctor-service-card .doctor-link:hover {
        gap: 14px;
        color: var(--accent);
        border-color: rgba(176, 138, 82, 0.32);
    }
}

/* якщо десь фото без окремого wrapper ідуть прямо в article */
.service-doctors-grid > article > img,
.service-specialists-grid > article > img,
.service-doctors-list > article > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-bottom: 1px solid rgba(32, 38, 35, 0.06);
}

/* Tablet */
@media (max-width: 1100px) {
    .service-doctors-grid,
    .service-specialists-grid,
    .service-doctors-list {
        gap: 20px;
    }

    .service-doctor-body,
    .service-specialist-body,
    .doctor-service-body,
    .service-doctor-content,
    .service-specialist-content {
        padding: 20px;
    }

    .service-doctor-name,
    .service-specialist-name,
    .doctor-service-name,
    .service-doctor-card h3,
    .service-specialist-card h3,
    .doctor-service-card h3 {
        font-size: clamp(24px, 2vw, 30px);
    }

    .service-doctor-position,
    .service-specialist-position,
    .doctor-service-position,
    .service-doctor-card .doctor-position,
    .service-specialist-card .doctor-position,
    .doctor-service-card .doctor-position {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .service-doctors-grid,
    .service-specialists-grid,
    .service-doctors-list {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 22px;
    }

    .service-doctor-card,
    .service-specialist-card,
    .doctor-service-card {
        border-radius: 22px;
    }

    .service-doctor-photo,
    .service-specialist-photo,
    .doctor-service-photo {
        aspect-ratio: 4 / 4.8;
    }

    .service-doctor-body,
    .service-specialist-body,
    .doctor-service-body,
    .service-doctor-content,
    .service-specialist-content {
        padding: 18px 18px 20px;
        gap: 10px;
    }

    .service-doctor-name,
    .service-specialist-name,
    .doctor-service-name,
    .service-doctor-card h3,
    .service-specialist-card h3,
    .doctor-service-card h3 {
        font-size: 22px;
        line-height: 1.08;
    }

    .service-doctor-position,
    .service-specialist-position,
    .doctor-service-position,
    .service-doctor-card .doctor-position,
    .service-specialist-card .doctor-position,
    .doctor-service-card .doctor-position {
        font-size: 16px;
        line-height: 1.5;
    }

    .service-doctor-link,
    .service-specialist-link,
    .doctor-service-link,
    .service-doctor-card .doctor-link,
    .service-specialist-card .doctor-link,
    .doctor-service-card .doctor-link {
        font-size: 17px;
    }
}



/* =========================================================
   8DENTAL — SERVICE DOCTORS / COMPACT FINAL
   ========================================================= */


/* SECTION */

.service-doctors-block {
    margin-top:
        clamp(64px, 7vw, 94px) !important;
}


.service-doctors-head {
    max-width:
        680px !important;

    margin-bottom:
        30px !important;
}


.service-doctors-head h2 {
    margin:
        10px 0 10px !important;

    font-size:
        clamp(38px, 4vw, 50px) !important;

    line-height:
        1.02 !important;

    letter-spacing:
        -.035em !important;
}


.service-doctors-head p {
    max-width:
        540px !important;

    margin:
        0 !important;

    font-size:
        15px !important;

    line-height:
        1.6 !important;
}


/* =========================================================
   GRID
   ========================================================= */

.service-doctors-grid,
.service-doctors-grid.is-single {
    display:
        grid !important;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 288px)
        ) !important;

    justify-content:
        start !important;

    align-items:
        stretch !important;

    gap:
        18px !important;

    width:
        100% !important;

    max-width:
        1240px !important;
}


/* =========================================================
   CARD
   ========================================================= */

.service-doctor-card {
    display:
        flex !important;

    flex-direction:
        column !important;

    width:
        100% !important;

    max-width:
        288px !important;

    min-height:
        0 !important;

    overflow:
        hidden !important;

    border:
        1px solid
        rgba(31, 35, 33, .08) !important;

    border-radius:
        24px !important;

    background:
        rgba(255,255,255,.72) !important;

    box-shadow:
        0 14px 34px
        rgba(24, 29, 26, .055) !important;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease !important;
}


/* =========================================================
   PHOTO
   Фотофайли НЕ змінюємо.
   Лише компактне відображення всередині картки.
   ========================================================= */

.service-doctor-photo {
    width:
        100% !important;

    min-height:
        0 !important;

    aspect-ratio:
        1 / 1.05 !important;

    overflow:
        hidden !important;

    background:
        rgba(31,35,33,.04) !important;
}


.service-doctor-photo img {
    display:
        block !important;

    width:
        100% !important;

    height:
        100% !important;

    object-fit:
        cover !important;

    object-position:
        center 32% !important;

    transition:
        transform .45s ease !important;
}


/* =========================================================
   CONTENT
   ========================================================= */

.service-doctor-body {
    display:
        flex !important;

    flex-direction:
        column !important;

    flex:
        1 1 auto !important;

    min-height:
        190px !important;

    padding:
        18px 18px 16px !important;
}


.service-doctor-direction {
    margin:
        0 0 11px !important;

    color:
        var(--accent) !important;

    font-size:
        9px !important;

    font-weight:
        700 !important;

    line-height:
        1.2 !important;

    letter-spacing:
        .15em !important;

    text-transform:
        uppercase !important;
}


.service-doctor-card h3 {
    margin:
        0 0 8px !important;

    font-size:
        22px !important;

    font-weight:
        600 !important;

    line-height:
        1.08 !important;

    letter-spacing:
        -.025em !important;
}


.service-doctor-card p {
    margin:
        0 0 18px !important;

    color:
        var(--muted) !important;

    font-size:
        13px !important;

    line-height:
        1.48 !important;
}


/* =========================================================
   BOOK BUTTON
   ========================================================= */

.service-doctor-link {
    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        space-between !important;

    gap:
        12px !important;

    width:
        100% !important;

    box-sizing:
        border-box !important;

    margin-top:
        auto !important;

    padding:
        11px 14px !important;

    border:
        0 !important;

    border-radius:
        999px !important;

    background:
        var(--text) !important;

    color:
        #fff !important;

    font-size:
        13px !important;

    font-weight:
        650 !important;

    line-height:
        1.2 !important;

    text-decoration:
        none !important;

    transition:
        transform .18s ease,
        opacity .18s ease !important;
}


/*
 * Старий CSS додавав другу стрілку.
 * Прибираємо її.
 */

.service-doctor-link::after {
    content:
        none !important;

    display:
        none !important;
}


.service-doctor-link span:last-child {
    font-size:
        15px !important;

    transition:
        transform .18s ease !important;
}


/* =========================================================
   DESKTOP HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    .service-doctor-card:hover {
        transform:
            translateY(-3px) !important;

        border-color:
            rgba(176,138,82,.20) !important;

        box-shadow:
            0 20px 44px
            rgba(24,29,26,.075) !important;
    }


    .service-doctor-card:hover
    .service-doctor-photo img {
        transform:
            scale(1.018) !important;
    }


    .service-doctor-link:hover {
        opacity:
            .91 !important;
    }


    .service-doctor-link:hover
    span:last-child {
        transform:
            translateX(3px) !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1020px) {

    .service-doctors-grid,
    .service-doctors-grid.is-single {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 300px)
            ) !important;

        gap:
            18px !important;
    }


    .service-doctor-card {
        max-width:
            300px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .service-doctors-block {
        margin-top:
            54px !important;
    }


    .service-doctors-head {
        margin-bottom:
            22px !important;
    }


    .service-doctors-head h2 {
        font-size:
            clamp(32px, 9.5vw, 40px) !important;
    }


    .service-doctors-grid,
    .service-doctors-grid.is-single {
        grid-template-columns:
            minmax(0, 1fr) !important;

        width:
            100% !important;

        max-width:
            360px !important;

        gap:
            16px !important;
    }


    .service-doctor-card {
        width:
            100% !important;

        max-width:
            360px !important;

        border-radius:
            22px !important;
    }


    .service-doctor-photo {
        aspect-ratio:
            1 / .92 !important;
    }


    .service-doctor-body {
        min-height:
            172px !important;

        padding:
            17px 17px 15px !important;
    }


    .service-doctor-card h3 {
        font-size:
            21px !important;
    }


    .service-doctor-card p {
        font-size:
            13px !important;
    }


    .service-doctor-link {
        min-height:
            43px !important;

        padding:
            11px 14px !important;

        font-size:
            13px !important;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .service-doctor-card,
    .service-doctor-photo img,
    .service-doctor-link,
    .service-doctor-link span {
        transition:
            none !important;

        transform:
            none !important;
    }

}



/* =========================================================
   8DENTAL — HOME DOCTORS / COMPACT UX FINAL
   ========================================================= */


/* ---------------------------------------------------------
   ANCHORS
   Щоб меню не ховало заголовок секції під fixed header
   --------------------------------------------------------- */

#concerns,
#services,
#about,
#doctors,
#vacancies,
#appointment,
#contacts {
    scroll-margin-top: 118px;
}


/* ---------------------------------------------------------
   TEAM SECTION
   --------------------------------------------------------- */

#doctors .section-heading {
    max-width: 720px;

    margin-bottom:
        clamp(26px, 3vw, 36px);
}


/* ---------------------------------------------------------
   GRID

   Desktop:
   3 картки однакового нормального розміру.
   Не розтягуємо їх на весь монітор.
   --------------------------------------------------------- */

#doctors .doctors-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap:
        18px !important;

    width:
        100% !important;

    max-width:
        1240px !important;

    margin:
        0 auto !important;

    align-items:
        stretch !important;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

#doctors .doctor-card {
    display:
        flex !important;

    flex-direction:
        column !important;

    min-width:
        0 !important;

    min-height:
        0 !important;

    padding:
        0 !important;

    overflow:
        hidden !important;

    border:
        1px solid
        rgba(31, 35, 33, .085) !important;

    border-radius:
        24px !important;

    background:
        rgba(255, 255, 255, .64) !important;

    box-shadow:
        0 12px 36px
        rgba(24, 29, 26, .045) !important;

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease !important;
}


/* ---------------------------------------------------------
   PHOTO

   ФАЙЛИ ФОТО НЕ ЗМІНЮЄМО.
   Лише не даємо зображенню займати пів сторінки.
   --------------------------------------------------------- */

#doctors .doctor-photo {
    width:
        100% !important;

    height:
        clamp(245px, 18vw, 300px) !important;

    min-height:
        0 !important;

    aspect-ratio:
        auto !important;

    overflow:
        hidden !important;

    background:
        #efede8 !important;
}


#doctors .doctor-photo img {
    display:
        block !important;

    width:
        100% !important;

    height:
        100% !important;

    object-fit:
        cover !important;

    object-position:
        center 20% !important;

    transition:
        transform .5s
        cubic-bezier(.22,.61,.36,1) !important;
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

#doctors .doctor-card-content {
    display:
        flex !important;

    flex-direction:
        column !important;

    align-items:
        flex-start !important;

    flex:
        1 1 auto !important;

    width:
        100% !important;

    box-sizing:
        border-box !important;

    padding:
        19px 20px 20px !important;
}


/* NAME */

#doctors .doctor-card h3 {
    margin:
        0 0 8px !important;

    max-width:
        100% !important;

    font-size:
        clamp(22px, 1.75vw, 27px) !important;

    font-weight:
        500 !important;

    line-height:
        1.08 !important;

    letter-spacing:
        -.025em !important;
}


/* POSITION */

#doctors .doctor-position {
    margin:
        0 0 12px !important;

    color:
        var(--muted) !important;

    font-size:
        13px !important;

    line-height:
        1.45 !important;
}


/* ---------------------------------------------------------
   SPECIALTIES
   Компактні, а не великі кнопки.
   --------------------------------------------------------- */

#doctors .doctor-specialties {
    display:
        flex !important;

    flex-wrap:
        wrap !important;

    gap:
        6px !important;

    margin:
        0 !important;
}


#doctors .doctor-specialty {
    display:
        inline-flex !important;

    align-items:
        center !important;

    min-height:
        27px !important;

    padding:
        4px 9px !important;

    border:
        1px solid
        rgba(31,35,33,.11) !important;

    border-radius:
        999px !important;

    background:
        rgba(255,255,255,.40) !important;

    color:
        rgba(46,52,49,.78) !important;

    font-size:
        11px !important;

    font-weight:
        500 !important;

    line-height:
        1.25 !important;
}


/* Зайві порожні відступи */

#doctors .doctor-experience,
#doctors .doctor-description {
    margin-top:
        12px !important;
}


/* ---------------------------------------------------------
   HOVER
   --------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    #doctors .doctor-card:hover {
        transform:
            translateY(-3px) !important;

        border-color:
            rgba(176,138,82,.20) !important;

        box-shadow:
            0 20px 45px
            rgba(24,29,26,.07) !important;
    }


    #doctors .doctor-card:hover
    .doctor-photo img {
        transform:
            scale(1.018) !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    #concerns,
    #services,
    #about,
    #doctors,
    #vacancies,
    #appointment,
    #contacts {
        scroll-margin-top:
            92px;
    }


    #doctors .doctors-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        max-width:
            760px !important;

        gap:
            16px !important;
    }


    #doctors .doctor-photo {
        height:
            285px !important;
    }


    #doctors .doctor-card h3 {
        font-size:
            24px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    #concerns,
    #services,
    #about,
    #doctors,
    #vacancies,
    #appointment,
    #contacts {
        scroll-margin-top:
            76px;
    }


    #doctors .section-heading {
        margin-bottom:
            22px !important;
    }


    #doctors .doctors-grid {
        grid-template-columns:
            1fr !important;

        width:
            100% !important;

        max-width:
            390px !important;

        gap:
            15px !important;
    }


    #doctors .doctor-card {
        border-radius:
            21px !important;
    }


    #doctors .doctor-photo {
        height:
            clamp(245px, 78vw, 290px) !important;
    }


    #doctors .doctor-card-content {
        padding:
            17px 17px 18px !important;
    }


    #doctors .doctor-card h3 {
        margin-bottom:
            7px !important;

        font-size:
            22px !important;
    }


    #doctors .doctor-position {
        margin-bottom:
            11px !important;

        font-size:
            13px !important;
    }


    #doctors .doctor-specialties {
        gap:
            5px !important;
    }


    #doctors .doctor-specialty {
        min-height:
            26px !important;

        padding:
            4px 8px !important;

        font-size:
            10.5px !important;
    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 390px) {

    #doctors .doctor-photo {
        height:
            250px !important;
    }


    #doctors .doctor-card h3 {
        font-size:
            21px !important;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    #doctors .doctor-card,
    #doctors .doctor-photo img {
        transition:
            none !important;

        transform:
            none !important;
    }

}



/* =========================================================
   8DENTAL — TEAM / RESPONSIVE FULL PORTRAITS FINAL
   ========================================================= */


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1100px) {

    #doctors .doctors-grid {
        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap:
            clamp(16px, 1.5vw, 22px) !important;

        width:
            min(100%, 1120px) !important;

        max-width:
            1120px !important;

        margin:
            0 auto !important;

        align-items:
            stretch !important;
    }


    #doctors .doctor-card {
        width:
            100% !important;

        max-width:
            none !important;

        min-width:
            0 !important;

        overflow:
            hidden !important;

        border-radius:
            clamp(20px, 1.5vw, 26px) !important;
    }


    /*
     * ПОВНЕ ФОТО 4:5
     *
     * Немає фіксованої висоти.
     * Розмір визначається реальною шириною картки.
     */

    #doctors .doctor-photo {
        width:
            100% !important;

        height:
            auto !important;

        min-height:
            0 !important;

        aspect-ratio:
            4 / 5 !important;

        overflow:
            hidden !important;
    }


    #doctors .doctor-photo img {
        display:
            block !important;

        width:
            100% !important;

        height:
            100% !important;

        object-fit:
            cover !important;

        object-position:
            center center !important;
    }


    #doctors .doctor-card-content {
        padding:
            clamp(17px, 1.4vw, 21px) !important;
    }


    #doctors .doctor-card h3 {
        margin:
            0 0 7px !important;

        font-size:
            clamp(21px, 1.55vw, 27px) !important;

        line-height:
            1.08 !important;
    }


    #doctors .doctor-position {
        margin:
            0 0 12px !important;

        font-size:
            clamp(12px, .9vw, 14px) !important;

        line-height:
            1.45 !important;
    }


    #doctors .doctor-specialties {
        gap:
            6px !important;
    }


    #doctors .doctor-specialty {
        min-height:
            27px !important;

        padding:
            4px 9px !important;

        font-size:
            11px !important;
    }

}


/* =========================================================
   LARGE DESKTOP
   На великому екрані трохи ширше,
   але не робимо гігантські портрети.
   ========================================================= */

@media (min-width: 1600px) {

    #doctors .doctors-grid {
        width:
            min(100%, 1200px) !important;

        max-width:
            1200px !important;

        gap:
            22px !important;
    }

}


/* =========================================================
   NOTEBOOK / SMALL DESKTOP
   ========================================================= */

@media (min-width: 1100px) and (max-width: 1350px) {

    #doctors .doctors-grid {
        width:
            min(100%, 1000px) !important;

        max-width:
            1000px !important;

        gap:
            16px !important;
    }


    #doctors .doctor-card-content {
        padding:
            16px !important;
    }


    #doctors .doctor-card h3 {
        font-size:
            21px !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 681px) and (max-width: 1099px) {

    #doctors .doctors-grid {
        display:
            grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            16px !important;

        width:
            min(100%, 720px) !important;

        max-width:
            720px !important;

        margin:
            0 auto !important;
    }


    #doctors .doctor-photo {
        width:
            100% !important;

        height:
            auto !important;

        min-height:
            0 !important;

        aspect-ratio:
            4 / 5 !important;
    }


    #doctors .doctor-photo img {
        width:
            100% !important;

        height:
            100% !important;

        object-fit:
            cover !important;

        object-position:
            center center !important;
    }


    #doctors .doctor-card-content {
        padding:
            17px !important;
    }


    #doctors .doctor-card h3 {
        font-size:
            22px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    #doctors .doctors-grid {
        display:
            grid !important;

        grid-template-columns:
            1fr !important;

        gap:
            16px !important;

        width:
            min(100%, 360px) !important;

        max-width:
            360px !important;

        margin:
            0 auto !important;
    }


    #doctors .doctor-card {
        width:
            100% !important;

        max-width:
            none !important;

        border-radius:
            22px !important;
    }


    /*
     * На телефоні теж повний 4:5.
     */

    #doctors .doctor-photo {
        width:
            100% !important;

        height:
            auto !important;

        min-height:
            0 !important;

        aspect-ratio:
            4 / 5 !important;
    }


    #doctors .doctor-photo img {
        width:
            100% !important;

        height:
            100% !important;

        object-fit:
            cover !important;

        object-position:
            center center !important;
    }


    #doctors .doctor-card-content {
        padding:
            17px 17px 18px !important;
    }


    #doctors .doctor-card h3 {
        margin:
            0 0 7px !important;

        font-size:
            clamp(21px, 6vw, 24px) !important;

        line-height:
            1.08 !important;
    }


    #doctors .doctor-position {
        margin:
            0 0 11px !important;

        font-size:
            13px !important;

        line-height:
            1.45 !important;
    }


    #doctors .doctor-specialties {
        display:
            flex !important;

        flex-wrap:
            wrap !important;

        gap:
            5px !important;
    }


    #doctors .doctor-specialty {
        min-height:
            27px !important;

        padding:
            4px 8px !important;

        font-size:
            10.5px !important;
    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 390px) {

    #doctors .doctors-grid {
        width:
            100% !important;
    }


    #doctors .doctor-card-content {
        padding:
            15px !important;
    }

}



/* =========================================================
   8DENTAL — TEAM / PRODUCT CARD FINAL
   ========================================================= */


/* ---------------------------------------------------------
   SECTION WIDTH
   Прибираємо відчуття, що команда затиснута всередині.
   --------------------------------------------------------- */

#doctors .container {
    width:
        min(100%, 1500px) !important;

    max-width:
        1500px !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;

    padding-left:
        clamp(20px, 3vw, 36px) !important;

    padding-right:
        clamp(20px, 3vw, 36px) !important;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

#doctors .section-heading {
    max-width:
        760px !important;

    margin-bottom:
        34px !important;
}


/* ---------------------------------------------------------
   DESKTOP GRID — 3
   --------------------------------------------------------- */

#doctors .doctors-grid {
    display:
        grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap:
        clamp(18px, 1.6vw, 24px) !important;

    width:
        100% !important;

    max-width:
        none !important;

    margin:
        0 !important;

    align-items:
        stretch !important;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

#doctors .doctor-card {
    display:
        flex !important;

    flex-direction:
        column !important;

    min-width:
        0 !important;

    overflow:
        hidden !important;

    border:
        1px solid
        rgba(31, 35, 33, .085) !important;

    border-radius:
        26px !important;

    background:
        rgba(255,255,255,.72) !important;

    box-shadow:
        0 15px 40px
        rgba(24,29,26,.055) !important;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease !important;
}


/* ---------------------------------------------------------
   PHOTO AREA

   ФАЙЛ НЕ ЗМІНЮЄМО.
   Тільки професійне кадрування на сайті:
   обличчя + верхня частина тіла.
   --------------------------------------------------------- */

#doctors .doctor-photo {
    position:
        relative !important;

    width:
        100% !important;

    height:
        clamp(320px, 22vw, 355px) !important;

    min-height:
        0 !important;

    aspect-ratio:
        auto !important;

    overflow:
        hidden !important;

    background:
        #eceae5 !important;
}


#doctors .doctor-photo img {
    display:
        block !important;

    width:
        100% !important;

    height:
        100% !important;

    object-fit:
        cover !important;

    object-position:
        center 18% !important;

    transition:
        transform .5s
        cubic-bezier(.22,.61,.36,1) !important;
}


/* ---------------------------------------------------------
   BOOKING OVERLAY
   Стиль як окремий елемент картки,
   а не ще одна велика кнопка під усім.
   --------------------------------------------------------- */

#doctors .doctor-card-book {
    position:
        absolute;

    left:
        14px;

    right:
        14px;

    bottom:
        14px;

    z-index:
        3;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        12px;

    min-height:
        48px;

    padding:
        10px 15px;

    box-sizing:
        border-box;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius:
        16px;

    background:
        rgba(27,33,30,.88);

    -webkit-backdrop-filter:
        blur(12px);

    backdrop-filter:
        blur(12px);

    color:
        #fff;

    text-decoration:
        none;

    font-size:
        13px;

    font-weight:
        650;

    line-height:
        1.2;

    transition:
        background-color .18s ease,
        transform .18s ease;
}


#doctors .doctor-card-book-arrow {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    font-size:
        17px;

    line-height:
        1;

    transition:
        transform .18s ease;
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

#doctors .doctor-card-content {
    display:
        flex !important;

    flex-direction:
        column !important;

    align-items:
        flex-start !important;

    flex:
        1 1 auto !important;

    width:
        100% !important;

    min-height:
        150px !important;

    box-sizing:
        border-box !important;

    padding:
        18px 19px 20px !important;
}


/* NAME */

#doctors .doctor-card h3 {
    margin:
        0 0 6px !important;

    max-width:
        100% !important;

    font-size:
        clamp(22px, 1.65vw, 27px) !important;

    font-weight:
        500 !important;

    line-height:
        1.06 !important;

    letter-spacing:
        -.025em !important;
}


/* POSITION */

#doctors .doctor-position {
    margin:
        0 0 12px !important;

    color:
        rgba(62,69,66,.68) !important;

    font-size:
        13px !important;

    line-height:
        1.42 !important;
}


/* ---------------------------------------------------------
   SPECIALTIES
   --------------------------------------------------------- */

#doctors .doctor-specialties {
    display:
        flex !important;

    flex-wrap:
        wrap !important;

    gap:
        5px !important;

    margin:
        auto 0 0 !important;
}


#doctors .doctor-specialty {
    display:
        inline-flex !important;

    align-items:
        center !important;

    min-height:
        27px !important;

    padding:
        4px 9px !important;

    box-sizing:
        border-box !important;

    border:
        1px solid
        rgba(31,35,33,.11) !important;

    border-radius:
        999px !important;

    background:
        rgba(255,255,255,.54) !important;

    color:
        rgba(45,52,49,.77) !important;

    font-size:
        10.5px !important;

    font-weight:
        500 !important;

    line-height:
        1.2 !important;
}


/* ---------------------------------------------------------
   DESKTOP INTERACTION
   --------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    #doctors .doctor-card:hover {
        transform:
            translateY(-3px) !important;

        border-color:
            rgba(176,138,82,.20) !important;

        box-shadow:
            0 21px 48px
            rgba(24,29,26,.075) !important;
    }


    #doctors .doctor-card:hover
    .doctor-photo img {
        transform:
            scale(1.015) !important;
    }


    #doctors .doctor-card-book:hover {
        background:
            rgba(27,33,30,.96);
    }


    #doctors .doctor-card-book:hover
    .doctor-card-book-arrow {
        transform:
            translateX(3px);
    }

}


/* =========================================================
   NOTEBOOK
   ========================================================= */

@media (min-width: 1025px) and (max-width: 1350px) {

    #doctors .container {
        padding-left:
            24px !important;

        padding-right:
            24px !important;
    }


    #doctors .doctors-grid {
        gap:
            16px !important;
    }


    #doctors .doctor-photo {
        height:
            310px !important;
    }


    #doctors .doctor-card-content {
        padding:
            16px !important;
    }


    #doctors .doctor-card h3 {
        font-size:
            21px !important;
    }


    #doctors .doctor-position {
        font-size:
            12px !important;
    }

}


/* =========================================================
   TABLET — 2 CARDS
   ========================================================= */

@media (min-width: 681px) and (max-width: 1024px) {

    #doctors .doctors-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            16px !important;
    }


    #doctors .doctor-photo {
        height:
            320px !important;
    }

}


/* =========================================================
   MOBILE — 1 CARD
   ========================================================= */

@media (max-width: 680px) {

    #doctors .container {
        padding-left:
            16px !important;

        padding-right:
            16px !important;
    }


    #doctors .section-heading {
        margin-bottom:
            22px !important;
    }


    #doctors .doctors-grid {
        grid-template-columns:
            1fr !important;

        gap:
            16px !important;

        width:
            100% !important;

        max-width:
            390px !important;

        margin:
            0 auto !important;
    }


    #doctors .doctor-card {
        border-radius:
            22px !important;
    }


    #doctors .doctor-photo {
        height:
            clamp(300px, 91vw, 350px) !important;
    }


    #doctors .doctor-photo img {
        object-position:
            center 17% !important;
    }


    #doctors .doctor-card-book {
        left:
            12px;

        right:
            12px;

        bottom:
            12px;

        min-height:
            46px;

        padding:
            10px 14px;

        border-radius:
            15px;

        font-size:
            13px;
    }


    #doctors .doctor-card-content {
        min-height:
            0 !important;

        padding:
            16px 16px 17px !important;
    }


    #doctors .doctor-card h3 {
        font-size:
            22px !important;
    }


    #doctors .doctor-position {
        font-size:
            12.5px !important;
    }


    #doctors .doctor-specialty {
        min-height:
            27px !important;

        padding:
            4px 8px !important;

        font-size:
            10.5px !important;
    }

}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    #doctors .doctor-card,
    #doctors .doctor-photo img,
    #doctors .doctor-card-book,
    #doctors .doctor-card-book-arrow {
        transition:
            none !important;

        transform:
            none !important;
    }

}



/* =========================================================
   8DENTAL — DOCTOR BOOKING / LIGHT PREMIUM FINAL
   ========================================================= */

#doctors .doctor-card-book {
    position:
        absolute !important;

    left:
        auto !important;

    right:
        14px !important;

    bottom:
        14px !important;

    width:
        auto !important;

    min-width:
        154px !important;

    min-height:
        44px !important;

    padding:
        6px 7px 6px 15px !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        space-between !important;

    gap:
        15px !important;

    border:
        1px solid
        rgba(255,255,255,.72) !important;

    border-radius:
        999px !important;

    background:
        rgba(250,249,246,.92) !important;

    -webkit-backdrop-filter:
        blur(14px) !important;

    backdrop-filter:
        blur(14px) !important;

    box-shadow:
        0 8px 24px
        rgba(25,31,28,.12) !important;

    color:
        #202724 !important;

    font-size:
        12.5px !important;

    font-weight:
        650 !important;

    line-height:
        1 !important;

    text-decoration:
        none !important;

    transition:
        transform .18s ease,
        background-color .18s ease,
        box-shadow .18s ease !important;
}


/* кругла стрілка */

#doctors .doctor-card-book-arrow {
    width:
        31px !important;

    height:
        31px !important;

    flex:
        0 0 31px !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    border-radius:
        50% !important;

    background:
        #4B4741 !important;

    color:
        #fff !important;

    font-size:
        14px !important;

    line-height:
        1 !important;

    transition:
        transform .18s ease,
        background-color .18s ease !important;
}


/* DESKTOP */

@media (hover: hover) and (pointer: fine) {

    #doctors .doctor-card-book:hover {
        transform:
            translateY(-2px) !important;

        background:
            rgba(255,255,255,.98) !important;

        box-shadow:
            0 11px 28px
            rgba(25,31,28,.16) !important;
    }


    #doctors .doctor-card-book:hover
    .doctor-card-book-arrow {
        transform:
            translateX(2px) !important;
    }

}


/* TABLET */

@media (max-width: 1024px) {

    #doctors .doctor-card-book {
        right:
            12px !important;

        bottom:
            12px !important;

        min-width:
            148px !important;
    }

}


/* MOBILE */

@media (max-width: 680px) {

    #doctors .doctor-card-book {
        left:
            auto !important;

        right:
            12px !important;

        bottom:
            12px !important;

        width:
            auto !important;

        min-width:
            146px !important;

        min-height:
            43px !important;

        padding:
            6px 6px 6px 14px !important;

        font-size:
            12px !important;
    }


    #doctors .doctor-card-book-arrow {
        width:
            30px !important;

        height:
            30px !important;

        flex-basis:
            30px !important;
    }

}



/* =========================================================
   8DENTAL — TEAM / HIDE DOCTOR BOOKING CTA
   ========================================================= */

#doctors .doctor-card-book {
    display: none !important;
}



/* =========================================================
   8DENTAL — VACANCIES / PROFESSIONAL FINAL
   ========================================================= */


/* SECTION */

.vacancies-section {
    padding-top:
        clamp(68px, 7vw, 96px) !important;

    padding-bottom:
        clamp(72px, 8vw, 108px) !important;
}


/* =========================================================
   HEADING
   ========================================================= */

.vacancies-heading {
    display:
        grid !important;

    grid-template-columns:
        minmax(0, 760px)
        auto !important;

    align-items:
        end !important;

    justify-content:
        space-between !important;

    gap:
        30px !important;

    margin-bottom:
        34px !important;
}


.vacancies-heading-copy {
    max-width:
        760px !important;
}


.vacancies-heading h2 {
    max-width:
        700px !important;

    margin:
        12px 0 15px !important;

    font-size:
        clamp(46px, 4.6vw, 66px) !important;

    line-height:
        .98 !important;

    letter-spacing:
        -.04em !important;
}


.vacancies-heading-copy > p {
    max-width:
        640px !important;

    margin:
        0 !important;

    color:
        var(--muted) !important;

    font-size:
        15px !important;

    line-height:
        1.65 !important;
}


/* OPEN STATUS */

.vacancies-status {
    display:
        inline-flex !important;

    align-items:
        center !important;

    gap:
        8px !important;

    width:
        fit-content !important;

    min-height:
        38px !important;

    padding:
        8px 14px !important;

    margin-bottom:
        3px !important;

    border:
        1px solid
        rgba(176,138,82,.20) !important;

    border-radius:
        999px !important;

    background:
        rgba(176,138,82,.065) !important;

    color:
        rgba(90,68,39,.82) !important;

    font-size:
        11px !important;

    font-weight:
        650 !important;

    letter-spacing:
        .035em !important;
}


.vacancies-status-dot {
    width:
        7px !important;

    height:
        7px !important;

    flex:
        0 0 7px !important;

    border-radius:
        50% !important;

    background:
        var(--accent) !important;
}


/* =========================================================
   TWO-COLUMN COMPOSITION
   ========================================================= */

.vacancies-grid {
    display:
        grid !important;

    grid-template-columns:
        minmax(0, 1.32fr)
        minmax(330px, .78fr) !important;

    gap:
        18px !important;

    align-items:
        stretch !important;
}


/* =========================================================
   LEFT — OPEN VACANCY
   ========================================================= */

.vacancy-card {
    position:
        relative !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    min-width:
        0 !important;

    min-height:
        390px !important;

    padding:
        clamp(30px, 3vw, 42px) !important;

    box-sizing:
        border-box !important;

    overflow:
        hidden !important;

    border:
        1px solid
        rgba(176,138,82,.14) !important;

    border-radius:
        32px !important;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.82),
            rgba(249,246,239,.70)
        ) !important;

    box-shadow:
        0 16px 46px
        rgba(26,30,28,.04) !important;
}


/* old icon is gone */

.vacancy-icon {
    display:
        none !important;
}


/* TOP */

.vacancy-card-top {
    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        flex-start !important;

    min-height:
        0 !important;
}


.vacancy-badge {
    display:
        inline-flex !important;

    align-items:
        center !important;

    min-height:
        35px !important;

    padding:
        7px 13px !important;

    border:
        1px solid
        rgba(176,138,82,.20) !important;

    border-radius:
        999px !important;

    background:
        rgba(176,138,82,.08) !important;

    color:
        rgba(105,78,43,.88) !important;

    font-size:
        10px !important;

    font-weight:
        700 !important;

    letter-spacing:
        .055em !important;

    text-transform:
        uppercase !important;
}


/* CONTENT */

.vacancy-card-content {
    max-width:
        720px !important;

    margin-top:
        clamp(48px, 5vw, 70px) !important;
}


.vacancy-card-content h3 {
    margin:
        0 0 16px !important;

    font-size:
        clamp(44px, 4.2vw, 62px) !important;

    line-height:
        .98 !important;

    letter-spacing:
        -.04em !important;
}


.vacancy-card-content p {
    max-width:
        690px !important;

    margin:
        0 !important;

    color:
        var(--muted) !important;

    font-size:
        15px !important;

    line-height:
        1.65 !important;
}


/* FOOTER */

.vacancy-card-footer {
    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        space-between !important;

    gap:
        20px !important;

    width:
        100% !important;

    margin-top:
        auto !important;

    padding-top:
        22px !important;

    border-top:
        1px solid
        rgba(31,35,33,.085) !important;
}


.vacancy-card-footer > span {
    color:
        var(--muted) !important;

    font-size:
        12px !important;

    font-weight:
        600 !important;
}


.vacancy-link {
    display:
        inline-flex !important;

    align-items:
        center !important;

    gap:
        10px !important;

    padding-bottom:
        4px !important;

    border-bottom:
        1px solid
        rgba(31,35,33,.16) !important;

    color:
        var(--text) !important;

    font-size:
        13px !important;

    font-weight:
        650 !important;

    text-decoration:
        none !important;
}


.vacancy-link span {
    transition:
        transform .18s ease !important;
}


/* =========================================================
   RIGHT — GENERAL APPLICATION
   ========================================================= */

.vacancies-info {
    display:
        flex !important;

    flex-direction:
        column !important;

    justify-content:
        space-between !important;

    min-width:
        0 !important;

    min-height:
        390px !important;

    padding:
        clamp(30px, 3vw, 42px) !important;

    box-sizing:
        border-box !important;

    border-radius:
        32px !important;

    background:
        #4B4741 !important;

    color:
        #fff !important;

    box-shadow:
        0 18px 46px
        rgba(21,27,24,.11) !important;
}


.vacancies-info-label {
    display:
        block !important;

    margin-bottom:
        22px !important;

    color:
        #c49a60 !important;

    font-size:
        10px !important;

    font-weight:
        700 !important;

    letter-spacing:
        .16em !important;

    text-transform:
        uppercase !important;
}


.vacancies-info h3 {
    max-width:
        410px !important;

    margin:
        0 0 16px !important;

    color:
        #fff !important;

    font-size:
        clamp(38px, 3.5vw, 51px) !important;

    line-height:
        1.02 !important;

    letter-spacing:
        -.035em !important;
}


.vacancies-info p {
    max-width:
        430px !important;

    margin:
        0 !important;

    color:
        rgba(255,255,255,.62) !important;

    font-size:
        14px !important;

    line-height:
        1.65 !important;
}


/* BUTTON */

.vacancies-button {
    width:
        100% !important;

    min-height:
        52px !important;

    margin-top:
        30px !important;

    border:
        0 !important;

    border-radius:
        999px !important;

    background:
        #f4efe5 !important;

    color:
        #252c29 !important;

    font-size:
        13px !important;

    font-weight:
        700 !important;
}


.vacancies-info small {
    display:
        block !important;

    margin-top:
        14px !important;

    color:
        rgba(255,255,255,.40) !important;

    font-size:
        10.5px !important;

    line-height:
        1.5 !important;
}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    .vacancy-card {
        transition:
            transform .22s ease,
            border-color .22s ease,
            box-shadow .22s ease !important;
    }


    .vacancy-card:hover {
        transform:
            translateY(-2px) !important;

        border-color:
            rgba(176,138,82,.22) !important;

        box-shadow:
            0 20px 50px
            rgba(26,30,28,.065) !important;
    }


    .vacancy-link:hover span {
        transform:
            translateX(3px) !important;
    }


    .vacancies-button:hover {
        opacity:
            .94 !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .vacancies-heading {
        grid-template-columns:
            1fr !important;

        gap:
            18px !important;
    }


    .vacancies-grid {
        grid-template-columns:
            1fr !important;

        gap:
            16px !important;
    }


    .vacancy-card,
    .vacancies-info {
        min-height:
            0 !important;
    }


    .vacancy-card-content {
        margin-top:
            44px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .vacancies-section {
        padding-top:
            58px !important;

        padding-bottom:
            68px !important;
    }


    .vacancies-heading {
        margin-bottom:
            24px !important;
    }


    .vacancies-heading h2 {
        font-size:
            clamp(38px, 11vw, 48px) !important;
    }


    .vacancies-heading-copy > p {
        font-size:
            14px !important;
    }


    .vacancy-card,
    .vacancies-info {
        padding:
            24px 20px !important;

        border-radius:
            25px !important;
    }


    .vacancy-card-content {
        margin-top:
            38px !important;
    }


    .vacancy-card-content h3 {
        font-size:
            clamp(36px, 10vw, 44px) !important;
    }


    .vacancy-card-content p {
        font-size:
            14px !important;
    }


    .vacancy-card-footer {
        margin-top:
            38px !important;

        padding-top:
            18px !important;
    }


    .vacancies-info h3 {
        font-size:
            clamp(35px, 10vw, 43px) !important;
    }


    .vacancies-button {
        min-height:
            50px !important;

        margin-top:
            28px !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / DESKTOP SCREEN RHYTHM
   ========================================================= */


/* ---------------------------------------------------------
   NORMAL DESKTOP
   Висоту фото визначаємо через ширину,
   але сама ширина враховує висоту монітора.
   --------------------------------------------------------- */

@media (min-width: 1100px) {

    .about-section-v2 {
        padding-top:
            clamp(50px, 5vh, 68px) !important;

        padding-bottom:
            clamp(50px, 5vh, 70px) !important;
    }


    .about-v2-grid {
        grid-template-columns:
            minmax(0, 620px)
            clamp(
                320px,
                calc((100vh - 250px) * .75),
                390px
            ) !important;

        column-gap:
            clamp(68px, 6vw, 104px) !important;

        align-items:
            start !important;
    }


    .about-gallery-wrap {
        width:
            clamp(
                320px,
                calc((100vh - 250px) * .75),
                390px
            ) !important;

        max-width:
            390px !important;

        margin:
            0 !important;

        transform:
            none !important;
    }


    .about-gallery {
        padding-right:
            18px !important;
    }


    .about-gallery-slide {
        flex:
            0 0 calc(100% - 18px) !important;

        width:
            calc(100% - 18px) !important;

        aspect-ratio:
            3 / 4 !important;
    }


    .about-gallery-controls {
        width:
            calc(100% - 18px) !important;

        margin-top:
            8px !important;
    }


    .about-intro {
        min-height:
            0 !important;
    }


    .about-intro h2 {
        margin-bottom:
            18px !important;
    }


    .about-why {
        margin-top:
            22px !important;
    }


    .about-location-link {
        margin-top:
            22px !important;
    }

}


/* ---------------------------------------------------------
   LOWER LAPTOP / SHORT SCREEN

   Оце важливо:
   якщо монітор невисокий — секція сама ущільнюється.
   --------------------------------------------------------- */

@media (min-width: 1100px) and (max-height: 820px) {

    .about-section-v2 {
        padding-top:
            42px !important;

        padding-bottom:
            46px !important;
    }


    .about-v2-grid {
        grid-template-columns:
            minmax(0, 600px)
            330px !important;

        column-gap:
            72px !important;
    }


    .about-gallery-wrap {
        width:
            330px !important;

        max-width:
            330px !important;
    }


    .about-intro h2 {
        font-size:
            clamp(40px, 3.4vw, 48px) !important;
    }


    .about-copy p {
        line-height:
            1.58 !important;
    }


    .about-why {
        margin-top:
            18px !important;
    }


    .about-why-item {
        padding-top:
            12px !important;

        padding-bottom:
            12px !important;
    }


    .about-location-link {
        margin-top:
            18px !important;
    }

}


/* ---------------------------------------------------------
   VERY SHORT DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1100px) and (max-height: 720px) {

    .about-v2-grid {
        grid-template-columns:
            minmax(0, 580px)
            300px !important;

        column-gap:
            64px !important;
    }


    .about-gallery-wrap {
        width:
            300px !important;

        max-width:
            300px !important;
    }


    .about-intro h2 {
        font-size:
            40px !important;
    }

}


/* ---------------------------------------------------------
   MOBILE / TABLET

   Тут НЕ змушуємо секцію влазити в один екран.
   --------------------------------------------------------- */

@media (max-width: 1099px) {

    .about-gallery-wrap {
        transform:
            none !important;
    }

}



/* =========================================================
   8DENTAL — HOMEPAGE / GLOBAL RHYTHM FINAL
   ========================================================= */


/* =========================================================
   DESKTOP
   Один scroll = одна зрозуміла композиція.
   Не використовуємо жорсткий 100vh.
   ========================================================= */

@media (min-width: 1100px) {

    /* -----------------------------------------------------
       COMMON SECTION RHYTHM
       ----------------------------------------------------- */

    #concerns,
    #services,
    #about,
    #doctors,
    #vacancies,
    #contacts {
        box-sizing: border-box !important;

        scroll-margin-top:
            112px !important;
    }


    /* -----------------------------------------------------
       CONCERNS
       ----------------------------------------------------- */

    #concerns {
        padding-top:
            clamp(58px, 6vh, 78px) !important;

        padding-bottom:
            clamp(58px, 6vh, 78px) !important;
    }


    #concerns .concerns-heading {
        margin-bottom:
            clamp(26px, 3vh, 34px) !important;
    }


    /* -----------------------------------------------------
       SERVICES
       ----------------------------------------------------- */

    #services {
        padding-top:
            clamp(58px, 6vh, 78px) !important;

        padding-bottom:
            clamp(60px, 6.5vh, 82px) !important;
    }


    #services .section-heading {
        margin-bottom:
            clamp(28px, 3.2vh, 38px) !important;
    }


    /* -----------------------------------------------------
       ABOUT
       Уже має власну height-aware логіку.
       Тут тільки узгоджуємо загальний ритм.
       ----------------------------------------------------- */

    #about {
        padding-top:
            clamp(52px, 5.5vh, 72px) !important;

        padding-bottom:
            clamp(54px, 5.8vh, 76px) !important;
    }


    /* -----------------------------------------------------
       DOCTORS
       ----------------------------------------------------- */

    #doctors {
        padding-top:
            clamp(58px, 6vh, 80px) !important;

        padding-bottom:
            clamp(62px, 6.5vh, 86px) !important;
    }


    #doctors .section-heading {
        margin-bottom:
            clamp(28px, 3vh, 36px) !important;
    }


    /* -----------------------------------------------------
       VACANCIES
       ----------------------------------------------------- */

    #vacancies {
        padding-top:
            clamp(58px, 6vh, 80px) !important;

        padding-bottom:
            clamp(62px, 6.5vh, 86px) !important;
    }


    #vacancies .vacancies-heading {
        margin-bottom:
            clamp(26px, 3vh, 34px) !important;
    }


    /* -----------------------------------------------------
       APPOINTMENT
       Це CTA, тому не робимо ще одним великим екраном.
       ----------------------------------------------------- */

    #appointment {
        padding-top:
            clamp(44px, 5vh, 62px) !important;

        padding-bottom:
            clamp(44px, 5vh, 62px) !important;

        scroll-margin-top:
            112px !important;
    }


    /* -----------------------------------------------------
       CONTACTS
       Завершальний великий блок.
       ----------------------------------------------------- */

    #contacts {
        padding-top:
            clamp(60px, 6vh, 82px) !important;

        padding-bottom:
            clamp(64px, 7vh, 92px) !important;
    }


    #contacts .contacts-header {
        margin-bottom:
            clamp(28px, 3vh, 38px) !important;
    }

}


/* =========================================================
   SHORT DESKTOP / NOTEBOOK
   1366x768, 1440x800 тощо.
   Саме тут найбільше виграємо по ритму.
   ========================================================= */

@media (min-width: 1100px) and (max-height: 820px) {

    #concerns,
    #services,
    #doctors,
    #vacancies,
    #contacts {
        padding-top:
            46px !important;

        padding-bottom:
            50px !important;
    }


    #about {
        padding-top:
            42px !important;

        padding-bottom:
            46px !important;
    }


    #appointment {
        padding-top:
            38px !important;

        padding-bottom:
            38px !important;
    }


    #concerns .concerns-heading,
    #services .section-heading,
    #doctors .section-heading,
    #vacancies .vacancies-heading,
    #contacts .contacts-header {
        margin-bottom:
            24px !important;
    }

}


/* =========================================================
   VERY SHORT DESKTOP
   ========================================================= */

@media (min-width: 1100px) and (max-height: 720px) {

    #concerns,
    #services,
    #doctors,
    #vacancies,
    #contacts {
        padding-top:
            38px !important;

        padding-bottom:
            42px !important;
    }


    #about {
        padding-top:
            36px !important;

        padding-bottom:
            40px !important;
    }


    #appointment {
        padding-top:
            32px !important;

        padding-bottom:
            32px !important;
    }

}


/* =========================================================
   TABLET
   Не намагаємося впихнути секцію у viewport.
   Просто один стабільний ритм.
   ========================================================= */

@media (min-width: 681px) and (max-width: 1099px) {

    #concerns,
    #services,
    #about,
    #doctors,
    #vacancies,
    #contacts {
        padding-top:
            58px !important;

        padding-bottom:
            62px !important;

        scroll-margin-top:
            92px !important;
    }


    #appointment {
        padding-top:
            46px !important;

        padding-bottom:
            46px !important;

        scroll-margin-top:
            92px !important;
    }

}


/* =========================================================
   MOBILE
   Тут важливий природний scroll.
   Не використовуємо viewport-height композиції.
   ========================================================= */

@media (max-width: 680px) {

    #concerns,
    #services,
    #about,
    #doctors,
    #vacancies,
    #contacts {
        padding-top:
            52px !important;

        padding-bottom:
            56px !important;

        scroll-margin-top:
            76px !important;
    }


    #appointment {
        padding-top:
            42px !important;

        padding-bottom:
            42px !important;

        scroll-margin-top:
            76px !important;
    }


    #concerns .concerns-heading,
    #services .section-heading,
    #doctors .section-heading,
    #vacancies .vacancies-heading,
    #contacts .contacts-header {
        margin-bottom:
            22px !important;
    }

}



/* =========================================================
   8DENTAL — HOME SERVICES / COMPACT SYSTEM FINAL
   ТІЛЬКИ головна сторінка #services
   ========================================================= */


/* ---------------------------------------------------------
   HEADING
   --------------------------------------------------------- */

#services .section-heading {
    max-width:
        820px !important;
}


#services .section-heading h2 {
    max-width:
        780px !important;

    margin-bottom:
        18px !important;

    font-size:
        clamp(48px, 4.2vw, 64px) !important;

    line-height:
        .99 !important;

    letter-spacing:
        -.038em !important;
}


#services .section-heading p {
    max-width:
        680px !important;

    margin:
        0 !important;

    font-size:
        15px !important;

    line-height:
        1.62 !important;
}


/* =========================================================
   LARGE DESKTOP / NOTEBOOK
   4 + 3 картки
   ========================================================= */

@media (min-width: 1180px) {

    #services .services-grid {
        display:
            grid !important;

        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;

        gap:
            14px !important;

        width:
            100% !important;

        margin:
            0 !important;
    }


    #services .service-card {
        min-height:
            220px !important;

        padding:
            24px 24px 22px !important;

        border-radius:
            25px !important;

        justify-content:
            flex-end !important;

        box-shadow:
            0 10px 34px
            rgba(26,28,26,.025) !important;
    }


    #services .service-number {
        top:
            24px !important;

        left:
            24px !important;

        font-size:
            11px !important;
    }


    #services .service-card::after {
        top:
            21px !important;

        right:
            21px !important;

        width:
            35px !important;

        height:
            35px !important;

        font-size:
            16px !important;
    }


    #services .service-card::before {
        top:
            -54px !important;

        right:
            -54px !important;

        width:
            126px !important;

        height:
            126px !important;
    }


    #services .service-card h3 {
        max-width:
            94% !important;

        margin:
            0 0 9px !important;

        font-size:
            clamp(24px, 1.75vw, 30px) !important;

        line-height:
            1.06 !important;

        letter-spacing:
            -.025em !important;
    }


    #services .service-card p {
        max-width:
            96% !important;

        margin:
            0 !important;

        font-size:
            13.5px !important;

        line-height:
            1.52 !important;
    }

}


/* =========================================================
   SHORT NOTEBOOK
   1366×768 / 1440×800
   ========================================================= */

@media (min-width: 1180px) and (max-height: 820px) {

    #services .section-heading h2 {
        font-size:
            clamp(44px, 3.8vw, 56px) !important;

        margin-bottom:
            14px !important;
    }


    #services .section-heading p {
        font-size:
            14px !important;
    }


    #services .service-card {
        min-height:
            195px !important;

        padding:
            21px 21px 19px !important;
    }


    #services .service-number {
        top:
            21px !important;

        left:
            21px !important;
    }


    #services .service-card::after {
        top:
            18px !important;

        right:
            18px !important;

        width:
            33px !important;

        height:
            33px !important;
    }


    #services .service-card h3 {
        font-size:
            clamp(22px, 1.65vw, 27px) !important;
    }


    #services .service-card p {
        font-size:
            12.5px !important;

        line-height:
            1.48 !important;
    }

}


/* =========================================================
   SMALL DESKTOP
   ========================================================= */

@media (min-width: 900px) and (max-width: 1179px) {

    #services .services-grid {
        display:
            grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap:
            14px !important;
    }


    #services .service-card {
        min-height:
            215px !important;

        padding:
            23px 22px 21px !important;

        border-radius:
            24px !important;
    }


    #services .service-number {
        top:
            22px !important;

        left:
            22px !important;

        font-size:
            11px !important;
    }


    #services .service-card::after {
        top:
            19px !important;

        right:
            19px !important;

        width:
            34px !important;

        height:
            34px !important;
    }


    #services .service-card h3 {
        margin-bottom:
            9px !important;

        font-size:
            27px !important;
    }


    #services .service-card p {
        font-size:
            13px !important;

        line-height:
            1.5 !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 621px) and (max-width: 899px) {

    #services .section-heading h2 {
        font-size:
            clamp(42px, 7vw, 54px) !important;
    }


    #services .services-grid {
        display:
            grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            14px !important;
    }


    #services .service-card {
        min-height:
            210px !important;

        padding:
            22px 21px 20px !important;

        border-radius:
            23px !important;
    }


    #services .service-number {
        top:
            21px !important;

        left:
            21px !important;

        font-size:
            11px !important;
    }


    #services .service-card::after {
        top:
            18px !important;

        right:
            18px !important;

        width:
            34px !important;

        height:
            34px !important;
    }


    #services .service-card h3 {
        margin-bottom:
            9px !important;

        font-size:
            26px !important;
    }


    #services .service-card p {
        font-size:
            13px !important;

        line-height:
            1.5 !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    #services .section-heading {
        max-width:
            100% !important;
    }


    #services .section-heading h2 {
        margin-bottom:
            14px !important;

        font-size:
            clamp(38px, 11vw, 48px) !important;

        line-height:
            1 !important;
    }


    #services .section-heading p {
        font-size:
            14px !important;

        line-height:
            1.58 !important;
    }


    #services .services-grid {
        display:
            grid !important;

        grid-template-columns:
            1fr !important;

        gap:
            12px !important;

        width:
            100% !important;

        margin:
            0 !important;
    }


    #services .service-card {
        min-height:
            180px !important;

        padding:
            20px 19px 18px !important;

        border-radius:
            22px !important;
    }


    #services .service-number {
        top:
            19px !important;

        left:
            19px !important;

        font-size:
            10px !important;
    }


    #services .service-card::after {
        top:
            16px !important;

        right:
            16px !important;

        width:
            33px !important;

        height:
            33px !important;

        font-size:
            15px !important;
    }


    #services .service-card::before {
        width:
            112px !important;

        height:
            112px !important;

        top:
            -51px !important;

        right:
            -51px !important;
    }


    #services .service-card h3 {
        max-width:
            88% !important;

        margin:
            0 0 8px !important;

        font-size:
            clamp(24px, 7vw, 29px) !important;

        line-height:
            1.06 !important;
    }


    #services .service-card p {
        max-width:
            94% !important;

        font-size:
            13px !important;

        line-height:
            1.5 !important;
    }

}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    #services .service-card:hover {
        transform:
            translateY(-3px) !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / ALIGN TO GLOBAL SITE RAILS
   ========================================================= */


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1100px) {

    /*
     * Головне виправлення:
     * сітка більше НЕ сидить вузько по центру.
     */

    #about .about-v2-grid {
        width:
            100% !important;

        max-width:
            none !important;

        margin:
            0 !important;

        display:
            grid !important;

        grid-template-columns:
            minmax(0, 680px)
            350px !important;

        justify-content:
            space-between !important;

        align-items:
            start !important;

        column-gap:
            clamp(70px, 7vw, 140px) !important;
    }


    /*
     * Ліва колонка по загальній лінії сайту.
     */

    #about .about-intro {
        width:
            100% !important;

        max-width:
            680px !important;

        margin:
            0 !important;

        padding-left:
            0 !important;

        padding-right:
            0 !important;
    }


    #about .about-intro h2 {
        max-width:
            660px !important;
    }


    #about .about-copy {
        max-width:
            600px !important;
    }


    #about .about-why {
        max-width:
            600px !important;
    }


    /*
     * Фото притискаємо до правої рейки контейнера.
     * Розмір фото не збільшуємо.
     */

    #about .about-gallery-wrap {
        width:
            350px !important;

        max-width:
            350px !important;

        justify-self:
            end !important;

        margin:
            0 !important;

        transform:
            none !important;
    }

}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1600px) {

    #about .about-v2-grid {
        grid-template-columns:
            minmax(0, 720px)
            365px !important;

        column-gap:
            clamp(100px, 9vw, 180px) !important;
    }


    #about .about-intro {
        max-width:
            720px !important;
    }


    #about .about-intro h2 {
        max-width:
            700px !important;
    }


    #about .about-gallery-wrap {
        width:
            365px !important;

        max-width:
            365px !important;
    }

}


/* =========================================================
   SHORT NOTEBOOK
   ========================================================= */

@media (min-width: 1100px) and (max-width: 1350px) {

    #about .about-v2-grid {
        grid-template-columns:
            minmax(0, 590px)
            320px !important;

        column-gap:
            60px !important;
    }


    #about .about-intro {
        max-width:
            590px !important;
    }


    #about .about-gallery-wrap {
        width:
            320px !important;

        max-width:
            320px !important;
    }

}


/* =========================================================
   TABLET / MOBILE
   Тут лишаємо нормальний вертикальний layout.
   ========================================================= */

@media (max-width: 1099px) {

    #about .about-v2-grid {
        justify-content:
            initial !important;
    }


    #about .about-gallery-wrap {
        justify-self:
            initial !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / CENTERED GLOBAL RAILS FINAL
   ========================================================= */


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1100px) {

    /*
     * Головне виправлення:
     * повертаємо нормальний центрований контейнер.
     */

    #about .about-v2-grid {
        width:
            min(
                calc(100% - 64px),
                1500px
            ) !important;

        max-width:
            1500px !important;

        margin-left:
            auto !important;

        margin-right:
            auto !important;

        padding-left:
            0 !important;

        padding-right:
            0 !important;

        display:
            grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            clamp(330px, 22vw, 365px) !important;

        column-gap:
            clamp(64px, 6vw, 118px) !important;

        justify-content:
            stretch !important;

        align-items:
            start !important;
    }


    /*
     * Ліва частина
     */

    #about .about-intro {
        width:
            100% !important;

        max-width:
            720px !important;

        margin:
            0 !important;

        padding:
            0 !important;

        justify-self:
            start !important;
    }


    #about .about-intro h2 {
        max-width:
            690px !important;
    }


    #about .about-copy {
        max-width:
            610px !important;
    }


    #about .about-why {
        max-width:
            610px !important;
    }


    /*
     * Права частина
     */

    #about .about-gallery-wrap {
        width:
            clamp(330px, 22vw, 365px) !important;

        max-width:
            365px !important;

        margin:
            0 !important;

        transform:
            none !important;

        justify-self:
            end !important;
    }

}


/* =========================================================
   NOTEBOOK
   ========================================================= */

@media (min-width: 1100px) and (max-width: 1399px) {

    #about .about-v2-grid {
        width:
            min(
                calc(100% - 48px),
                1240px
            ) !important;

        grid-template-columns:
            minmax(0, 1fr)
            320px !important;

        column-gap:
            clamp(48px, 5vw, 72px) !important;
    }


    #about .about-intro {
        max-width:
            620px !important;
    }


    #about .about-intro h2 {
        max-width:
            600px !important;
    }


    #about .about-copy,
    #about .about-why {
        max-width:
            560px !important;
    }


    #about .about-gallery-wrap {
        width:
            320px !important;

        max-width:
            320px !important;
    }

}


/* =========================================================
   TABLET / MOBILE
   Не ламаємо поточний вертикальний layout.
   ========================================================= */

@media (max-width: 1099px) {

    #about .about-v2-grid {
        width:
            min(
                calc(100% - 32px),
                760px
            ) !important;

        margin-left:
            auto !important;

        margin-right:
            auto !important;
    }


    #about .about-intro {
        margin:
            0 !important;
    }


    #about .about-gallery-wrap {
        transform:
            none !important;
    }

}


/* SMALL MOBILE */

@media (max-width: 620px) {

    #about .about-v2-grid {
        width:
            calc(100% - 32px) !important;

        max-width:
            none !important;
    }

}



/* =========================================================
   8DENTAL — CONCERN 08 / WARM GRAPHITE TEST
   ========================================================= */

#concerns .concern-card-help {
    background:
        #4B4741 !important;

    border-color:
        #4B4741 !important;

    color:
        #FAF7F1 !important;
}


#concerns .concern-card-help h3 {
    color:
        #FAF7F1 !important;
}


#concerns .concern-card-help p {
    color:
        rgba(250,247,241,.72) !important;
}


#concerns .concern-card-help .concern-number {
    color:
        #D2AA70 !important;
}


#concerns .concern-card-help .concern-arrow {
    color:
        #FAF7F1 !important;
}


@media (hover: hover) and (pointer: fine) {

    #concerns .concern-card-help:hover {
        background:
            #403C36 !important;

        border-color:
            #403C36 !important;
    }

}



/* =========================================================
   8DENTAL — WARM DARK COLOR SYSTEM / FINAL
   ========================================================= */

:root {
    --dark: #4B4741 !important;
    --brand-dark: #4B4741;
    --brand-dark-hover: #403C36;
    --brand-on-dark: #FAF7F1;
}


/* =========================================================
   PRIMARY BUTTONS
   ========================================================= */

.button-dark,
.header-cta {
    background:
        var(--brand-dark) !important;

    border-color:
        var(--brand-dark) !important;

    color:
        var(--brand-on-dark) !important;
}


@media (hover: hover) and (pointer: fine) {

    .button-dark:hover,
    .header-cta:hover {
        background:
            var(--brand-dark-hover) !important;

        border-color:
            var(--brand-dark-hover) !important;

        color:
            var(--brand-on-dark) !important;
    }

}


/* =========================================================
   CONCERNS — CARD 08
   ========================================================= */

#concerns .concern-card-help {
    background:
        var(--brand-dark) !important;

    border-color:
        var(--brand-dark) !important;

    color:
        var(--brand-on-dark) !important;
}


#concerns .concern-card-help h3 {
    color:
        var(--brand-on-dark) !important;
}


#concerns .concern-card-help p {
    color:
        rgba(250,247,241,.72) !important;
}


#concerns .concern-card-help .concern-arrow {
    color:
        var(--brand-on-dark) !important;
}


@media (hover: hover) and (pointer: fine) {

    #concerns .concern-card-help:hover {
        background:
            var(--brand-dark-hover) !important;

        border-color:
            var(--brand-dark-hover) !important;
    }

}


/* =========================================================
   APPOINTMENT CTA
   ========================================================= */

#appointment,
.appointment {
    background:
        var(--brand-dark) !important;

    color:
        var(--brand-on-dark) !important;
}


#appointment h2,
.appointment h2 {
    color:
        var(--brand-on-dark) !important;
}


#appointment p,
.appointment p {
    color:
        rgba(250,247,241,.70) !important;
}


/* =========================================================
   VACANCIES DARK PANEL
   ========================================================= */

.vacancies-info {
    background:
        var(--brand-dark) !important;

    color:
        var(--brand-on-dark) !important;
}


.vacancies-info h3 {
    color:
        var(--brand-on-dark) !important;
}


.vacancies-info p {
    color:
        rgba(250,247,241,.68) !important;
}


.vacancies-info small {
    color:
        rgba(250,247,241,.44) !important;
}


/* =========================================================
   SERVICE CARD HOVER ARROW
   ========================================================= */

.service-card:hover::after {
    background:
        var(--brand-dark) !important;

    color:
        var(--brand-on-dark) !important;
}


@media (hover: hover) and (pointer: fine) {

    .service-card:hover::after {
        background:
            var(--brand-dark-hover) !important;
    }

}


/* =========================================================
   SERVICE PAGE STRONG CTA
   ========================================================= */

.service-detail-page .button-dark {
    background:
        var(--brand-dark) !important;

    border-color:
        var(--brand-dark) !important;

    color:
        var(--brand-on-dark) !important;
}


@media (hover: hover) and (pointer: fine) {

    .service-detail-page .button-dark:hover {
        background:
            var(--brand-dark-hover) !important;

        border-color:
            var(--brand-dark-hover) !important;
    }

}


/* =========================================================
   MOBILE DARK ACTIONS
   ========================================================= */

.mobile-contact-bar .button-dark,
.mobile-contact-bar .mobile-contact-primary {
    background:
        var(--brand-dark) !important;

    border-color:
        var(--brand-dark) !important;

    color:
        var(--brand-on-dark) !important;
}


/* =========================================================
   OLD TEAM BOOKING CTA
   Зараз прихований, але палітра вже готова,
   якщо колись повернемо.
   ========================================================= */

#doctors .doctor-card-book,
#doctors .doctor-card-book-arrow {
    background:
        var(--brand-dark) !important;

    color:
        var(--brand-on-dark) !important;
}



/* =========================================================
   8DENTAL — CONTACTS / APPLE-LIKE WARM PALETTE
   ========================================================= */

#contacts {
    background:
        #F7F4EE !important;
}


/* ALL CONTACT CARDS */

#contacts .contact-card {
    background:
        #FBFAF7 !important;

    border-color:
        rgba(60,56,50,.09) !important;

    color:
        #262724 !important;

    box-shadow:
        0 14px 38px
        rgba(40,36,31,.045) !important;
}


/* PHONE — warm accent instead of dark block */

/* =========================================================
   8DENTAL — CONTACTS / WARM PREMIUM FINAL
   ========================================================= */


/* SECTION */

#contacts {
    background: #F7F4EE !important;
}


/* =========================================================
   ALL CONTACT CARDS
   ========================================================= */

#contacts .contact-card {
    background: #FBFAF7 !important;

    border-color:
        rgba(60, 56, 50, .09) !important;

    color: #262724 !important;

    box-shadow:
        0 14px 38px
        rgba(40, 36, 31, .045) !important;
}


/* =========================================================
   PHONE CARD
   Теплий акцент замість великої темної плями
   ========================================================= */

#contacts .contact-card-phone {
    background:
        #EEE8DE !important;

    border-color:
        rgba(176, 138, 82, .18) !important;

    color:
        #262724 !important;
}


#contacts .contact-card-phone .contact-card-label {
    color:
        #9A7442 !important;
}


#contacts .contact-card-phone > strong {
    color:
        #262724 !important;
}


#contacts .contact-card-phone > p {
    color:
        #74716A !important;
}


#contacts .contact-card-phone .contact-card-action {
    color:
        #4B4741 !important;
}


/* =========================================================
   ADDRESS + HOURS
   ========================================================= */

#contacts .contact-card-label {
    color:
        #9A7442 !important;
}


#contacts .contact-card > strong {
    color:
        #262724 !important;
}


#contacts .contact-card > p {
    color:
        #77756F !important;
}


#contacts .contact-card-action {
    color:
        #4B4741 !important;
}


/* HOURS */

#contacts .contact-card-hours {
    background:
        #FBFAF7 !important;

    color:
        #262724 !important;
}


#contacts .contact-card-hours strong {
    color:
        #262724 !important;
}


/* CLOSED */

#contacts .contact-card-hours .is-closed,
#contacts .contact-card-hours .closed,
#contacts .contact-card-hours [class*="closed"] {
    color:
        #A8783F !important;
}


/* =========================================================
   OPEN STATUS
   ========================================================= */

#contacts .contacts-open-status {
    background:
        rgba(255, 255, 255, .76) !important;

    border-color:
        rgba(60, 56, 50, .09) !important;

    color:
        #66645F !important;

    box-shadow:
        0 8px 24px
        rgba(40, 36, 31, .035) !important;
}


#contacts .contacts-open-status > span {
    background:
        #C49A60 !important;
}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    #contacts a.contact-card:hover {
        transform:
            translateY(-2px) !important;

        border-color:
            rgba(176, 138, 82, .24) !important;

        box-shadow:
            0 18px 44px
            rgba(40, 36, 31, .07) !important;
    }


    #contacts a.contact-card:hover
    .contact-card-action {
        color:
            #403C36 !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    #contacts .contact-card {
        border-radius:
            22px !important;
    }


    #contacts .contact-card-phone {
        background:
            #EEE8DE !important;
    }

}



/* =========================================================
   8DENTAL — CONTACTS / WARM PREMIUM FINAL
   ========================================================= */


/* SECTION */

#contacts {
    background: #F7F4EE !important;
}


/* =========================================================
   ALL CONTACT CARDS
   ========================================================= */

#contacts .contact-card {
    background: #FBFAF7 !important;

    border-color:
        rgba(60, 56, 50, .09) !important;

    color: #262724 !important;

    box-shadow:
        0 14px 38px
        rgba(40, 36, 31, .045) !important;
}


/* =========================================================
   PHONE CARD
   Теплий акцент замість великої темної плями
   ========================================================= */

#contacts .contact-card-phone {
    background:
        #EEE8DE !important;

    border-color:
        rgba(176, 138, 82, .18) !important;

    color:
        #262724 !important;
}


#contacts .contact-card-phone .contact-card-label {
    color:
        #9A7442 !important;
}


#contacts .contact-card-phone > strong {
    color:
        #262724 !important;
}


#contacts .contact-card-phone > p {
    color:
        #74716A !important;
}


#contacts .contact-card-phone .contact-card-action {
    color:
        #4B4741 !important;
}


/* =========================================================
   ADDRESS + HOURS
   ========================================================= */

#contacts .contact-card-label {
    color:
        #9A7442 !important;
}


#contacts .contact-card > strong {
    color:
        #262724 !important;
}


#contacts .contact-card > p {
    color:
        #77756F !important;
}


#contacts .contact-card-action {
    color:
        #4B4741 !important;
}


/* HOURS */

#contacts .contact-card-hours {
    background:
        #FBFAF7 !important;

    color:
        #262724 !important;
}


#contacts .contact-card-hours strong {
    color:
        #262724 !important;
}


/* CLOSED */

#contacts .contact-card-hours .is-closed,
#contacts .contact-card-hours .closed,
#contacts .contact-card-hours [class*="closed"] {
    color:
        #A8783F !important;
}


/* =========================================================
   OPEN STATUS
   ========================================================= */

#contacts .contacts-open-status {
    background:
        rgba(255, 255, 255, .76) !important;

    border-color:
        rgba(60, 56, 50, .09) !important;

    color:
        #66645F !important;

    box-shadow:
        0 8px 24px
        rgba(40, 36, 31, .035) !important;
}


#contacts .contacts-open-status > span {
    background:
        #C49A60 !important;
}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    #contacts a.contact-card:hover {
        transform:
            translateY(-2px) !important;

        border-color:
            rgba(176, 138, 82, .24) !important;

        box-shadow:
            0 18px 44px
            rgba(40, 36, 31, .07) !important;
    }


    #contacts a.contact-card:hover
    .contact-card-action {
        color:
            #403C36 !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    #contacts .contact-card {
        border-radius:
            22px !important;
    }


    #contacts .contact-card-phone {
        background:
            #EEE8DE !important;
    }

}



/* =========================================================
   8DENTAL — CONTACTS / CLEAN LIGHT FINAL
   ========================================================= */

#contacts {
    background: #F7F4EE !important;
}


/* всі три картки */

#contacts .contact-card {
    background: #FCFBF8 !important;
    border: 1px solid rgba(55, 52, 47, .085) !important;
    color: #262724 !important;

    box-shadow:
        0 12px 34px rgba(42, 38, 32, .04) !important;
}


/* =========================================================
   PHONE
   Лише трохи тепліша, без великої темної плями
   ========================================================= */

#contacts .contact-card-phone {
    background: #F2EEE7 !important;

    border-color:
        rgba(176, 138, 82, .24) !important;

    color: #262724 !important;
}


#contacts .contact-card-phone > strong {
    color: #262724 !important;
}


#contacts .contact-card-phone > p {
    color: #77746E !important;
}


#contacts .contact-card-phone .contact-card-action {
    color: #4B4741 !important;
}


#contacts .contact-card-phone .contact-card-label {
    color: #A17A45 !important;
}


/* страховка від старих білих правил */

#contacts .contact-card-phone a,
#contacts .contact-card-phone span:not(.contact-card-label) {
    color: #4B4741 !important;
}


/* =========================================================
   ADDRESS
   ========================================================= */

#contacts .contact-card:not(.contact-card-phone) .contact-card-label {
    color: #A17A45 !important;
}


#contacts .contact-card:not(.contact-card-phone) > strong {
    color: #262724 !important;
}


#contacts .contact-card:not(.contact-card-phone) > p {
    color: #77746E !important;
}


#contacts .contact-card:not(.contact-card-phone) .contact-card-action {
    color: #4B4741 !important;
}


/* =========================================================
   HOURS
   ========================================================= */

#contacts .contact-card-hours,
#contacts .contact-card-hours * {
    color: #262724;
}


#contacts .contact-card-hours .contact-card-label {
    color: #A17A45 !important;
}


#contacts .contact-card-hours .hours-label,
#contacts .contact-card-hours td:first-child {
    color: #77746E !important;
}


#contacts .contact-card-hours .is-closed,
#contacts .contact-card-hours .closed,
#contacts .contact-card-hours [class*="closed"] {
    color: #A8783F !important;
}


/* =========================================================
   OPEN STATUS
   ========================================================= */

#contacts .contacts-open-status {
    background: #FCFBF8 !important;

    border-color:
        rgba(55, 52, 47, .09) !important;

    color: #66645F !important;

    box-shadow:
        0 7px 20px rgba(42,38,32,.03) !important;
}


#contacts .contacts-open-status > span {
    background: #C79A58 !important;
}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    #contacts a.contact-card:hover {
        transform: translateY(-2px) !important;

        border-color:
            rgba(176,138,82,.26) !important;

        box-shadow:
            0 17px 40px rgba(42,38,32,.065) !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    #contacts .contact-card {
        border-radius: 22px !important;
    }

}



/* =========================================================
   8DENTAL — CONTACT PHONE / SAME AS CARD 08 FINAL
   ========================================================= */

#contacts .contact-card-phone {
    background:
        #4B4741 !important;

    border-color:
        #4B4741 !important;

    color:
        #FAF7F1 !important;

    box-shadow:
        0 16px 40px
        rgba(40,36,31,.10) !important;
}


#contacts .contact-card-phone .contact-card-label {
    color:
        #D2AA70 !important;
}


#contacts .contact-card-phone > strong {
    color:
        #FAF7F1 !important;
}


#contacts .contact-card-phone > p {
    color:
        rgba(250,247,241,.68) !important;
}


#contacts .contact-card-phone .contact-card-action {
    color:
        #FAF7F1 !important;
}


#contacts .contact-card-phone .contact-card-action span {
    color:
        #FAF7F1 !important;
}


/* перебиваємо старі світлі правила */

#contacts .contact-card-phone a,
#contacts .contact-card-phone span:not(.contact-card-label) {
    color:
        #FAF7F1 !important;
}


/* HOVER */

@media (hover: hover) and (pointer: fine) {

    #contacts .contact-card-phone:hover {
        background:
            #403C36 !important;

        border-color:
            #403C36 !important;

        box-shadow:
            0 20px 46px
            rgba(40,36,31,.14) !important;
    }

}



/* =========================================================
   8DENTAL — VACANCY CONTACT / SAME AS CARD 08 FINAL
   ========================================================= */

#vacancy-contact,
.vacancies-info#vacancy-contact {
    background:
        #4B4741 !important;

    background-color:
        #4B4741 !important;

    background-image:
        none !important;

    border-color:
        #4B4741 !important;

    color:
        #FAF7F1 !important;
}


#vacancy-contact .vacancies-info-label {
    color:
        #D2AA70 !important;
}


#vacancy-contact h3 {
    color:
        #FAF7F1 !important;
}


#vacancy-contact p {
    color:
        rgba(250,247,241,.72) !important;
}


#vacancy-contact small {
    color:
        rgba(250,247,241,.46) !important;
}


/* кнопка всередині — світла, щоб не було темного на темному */

#vacancy-contact .vacancies-button {
    background:
        #FAF7F1 !important;

    border-color:
        #FAF7F1 !important;

    color:
        #4B4741 !important;
}


@media (hover: hover) and (pointer: fine) {

    #vacancy-contact .vacancies-button:hover {
        background:
            #F1ECE3 !important;

        color:
            #403C36 !important;
    }

}



/* =========================================================
   8DENTAL — PHONE INPUT / CLEAN FINAL
   Прибирає внутрішню округлу дугу біля +380
   ========================================================= */


/* =========================================================
   OUTER FIELD
   Одна-єдина рамка навколо всього номера
   ========================================================= */

.phone-input,
.callback-phone-input {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-width: 0 !important;

    min-height: 58px !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

    border:
        1px solid
        rgba(75, 71, 65, .18) !important;

    border-radius:
        18px !important;

    background:
        #FCFBF8 !important;

    box-shadow:
        none !important;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease !important;
}


/* =========================================================
   +380 PREFIX
   ========================================================= */

.phone-input > strong,
.callback-phone-input > strong {
    flex:
        0 0 auto !important;

    display:
        flex !important;

    align-items:
        center !important;

    align-self:
        stretch !important;

    margin:
        0 !important;

    padding:
        0 15px 0 18px !important;

    border:
        0 !important;

    border-right:
        1px solid
        rgba(75, 71, 65, .10) !important;

    border-radius:
        0 !important;

    background:
        transparent !important;

    color:
        #4B4741 !important;

    font-size:
        17px !important;

    font-weight:
        650 !important;

    line-height:
        1 !important;

    white-space:
        nowrap !important;

    box-shadow:
        none !important;
}


/* =========================================================
   ACTUAL INPUT

   ГОЛОВНЕ:
   сам input більше НЕ має власної рамки,
   border-radius чи focus-ring.
   ========================================================= */

.phone-input > input,
.callback-phone-input > input {
    flex:
        1 1 auto !important;

    width:
        100% !important;

    min-width:
        0 !important;

    height:
        56px !important;

    margin:
        0 !important;

    padding:
        0 18px !important;

    box-sizing:
        border-box !important;

    border:
        0 !important;

    border-width:
        0 !important;

    border-style:
        none !important;

    border-radius:
        0 !important;

    outline:
        0 !important;

    outline-offset:
        0 !important;

    background:
        transparent !important;

    box-shadow:
        none !important;

    appearance:
        none !important;

    -webkit-appearance:
        none !important;

    color:
        #292A27 !important;

    font-size:
        17px !important;

    line-height:
        1.2 !important;
}


/* прибиваємо всі старі focus правила */

.phone-input > input:focus,
.phone-input > input:focus-visible,
.callback-phone-input > input:focus,
.callback-phone-input > input:focus-visible {
    border:
        0 !important;

    border-radius:
        0 !important;

    outline:
        0 !important;

    box-shadow:
        none !important;

    background:
        transparent !important;
}


/* =========================================================
   FOCUS
   Фокус показуємо НА ВСЬОМУ полі,
   а не навколо внутрішнього input.
   ========================================================= */

.phone-input:focus-within,
.callback-phone-input:focus-within {
    border-color:
        rgba(181, 140, 75, .72) !important;

    background:
        #FFFFFF !important;

    box-shadow:
        0 0 0 3px
        rgba(181, 140, 75, .10) !important;
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.phone-input > input::placeholder,
.callback-phone-input > input::placeholder {
    color:
        #85827C !important;

    opacity:
        1 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .phone-input,
    .callback-phone-input {
        min-height:
            54px !important;

        border-radius:
            16px !important;
    }


    .phone-input > strong,
    .callback-phone-input > strong {
        padding:
            0 12px 0 15px !important;

        font-size:
            16px !important;
    }


    .phone-input > input,
    .callback-phone-input > input {
        height:
            52px !important;

        padding:
            0 14px !important;

        font-size:
            16px !important;
    }

}



/* =========================================================
   8DENTAL — APPOINTMENT PHONE / EXACT HARD FIX
   ТІЛЬКИ модалка "Записатися"
   ========================================================= */


/* одна рамка навколо всього телефону */

html body #appointmentModal
#appointmentForm
.phone-field
.phone-input {

    display: flex !important;
    align-items: center !important;

    overflow: hidden !important;

    width: 100% !important;

    border: 1px solid rgba(75,71,65,.18) !important;
    border-radius: 17px !important;

    background: #fff !important;

    box-shadow: none !important;
}


/* +380 — просто текст, БЕЗ лінії і без рамки */

html body #appointmentModal
#appointmentForm
.phone-field
.phone-input > strong {

    flex: 0 0 auto !important;

    display: flex !important;
    align-items: center !important;

    align-self: stretch !important;

    margin: 0 !important;

    padding: 0 7px 0 18px !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    color: #4B4741 !important;
}


/* саме поле цифр:
   ПОВНІСТЮ прибираємо всі старі input-стилі */

html body #appointmentModal
#appointmentForm
.phone-field
.phone-input > input[type="tel"] {

    all: unset !important;

    flex: 1 1 auto !important;

    display: block !important;

    min-width: 0 !important;
    width: 100% !important;

    height: 56px !important;

    box-sizing: border-box !important;

    padding: 0 18px 0 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    color: #292A27 !important;

    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 56px !important;

    cursor: text !important;
}


/* навіть у focus ніякої внутрішньої капсули */

html body #appointmentModal
#appointmentForm
.phone-field
.phone-input > input[type="tel"]:focus,

html body #appointmentModal
#appointmentForm
.phone-field
.phone-input > input[type="tel"]:focus-visible {

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    box-shadow: none !important;

    background: transparent !important;
}


/* focus тільки на ЗОВНІШНІЙ рамці */

html body #appointmentModal
#appointmentForm
.phone-field
.phone-input:focus-within {

    border-color: rgba(181,140,75,.78) !important;

    box-shadow:
        0 0 0 3px rgba(181,140,75,.10) !important;
}


/* placeholder */

html body #appointmentModal
#appointmentForm
.phone-field
.phone-input > input[type="tel"]::placeholder {

    color: #7C7B78 !important;
    opacity: 1 !important;
}


@media (max-width: 620px) {

    html body #appointmentModal
    #appointmentForm
    .phone-field
    .phone-input > input[type="tel"] {

        height: 52px !important;
        line-height: 52px !important;

        font-size: 16px !important;
    }

}



/* =========================================================
   8DENTAL — APPOINTMENT MODAL / MOBILE COMPACT FINAL
   ТІЛЬКИ МОБІЛЬНИЙ
   ПК / ПЛАНШЕТ НЕ ЧІПАЄ
   ========================================================= */

@media (max-width: 620px) {

    /* сама модалка */

    html body #appointmentModal
    .appointment-modal-dialog.premium-booking {

        padding:
            14px 14px 16px !important;

        border-radius:
            24px 24px 0 0 !important;
    }


    /* верх */

    html body #appointmentModal
    .booking-head {

        margin-bottom:
            10px !important;
    }


    html body #appointmentModal
    .booking-head .eyebrow {

        margin-bottom:
            4px !important;

        font-size:
            11px !important;

        letter-spacing:
            .20em !important;
    }


    html body #appointmentModal
    .booking-head h2 {

        margin:
            0 !important;

        font-size:
            clamp(34px, 10vw, 42px) !important;

        line-height:
            .96 !important;
    }


    /* на мобільному цей текст не потрібен —
       сенс і так зрозумілий */

    html body #appointmentModal
    .booking-head p {

        display:
            none !important;
    }


    /* форма */

    html body #appointmentModal
    #appointmentForm {

        gap:
            10px !important;
    }


    html body #appointmentModal
    .booking-main-fields {

        gap:
            8px !important;
    }


    html body #appointmentModal
    .form-field {

        gap:
            4px !important;
    }


    html body #appointmentModal
    .form-field > span {

        font-size:
            12px !important;

        line-height:
            1.2 !important;
    }


    /* телефон */

    html body #appointmentModal
    .phone-input,

    html body #appointmentModal
    .phone-input > input[type="tel"] {

        min-height:
            48px !important;

        height:
            48px !important;
    }


    /* ім'я */

    html body #appointmentModal
    .booking-form input[type="text"] {

        min-height:
            48px !important;

        height:
            48px !important;

        padding:
            0 14px !important;

        font-size:
            15px !important;

        border-radius:
            14px !important;
    }


    /* групи */

    html body #appointmentModal
    .booking-group {

        margin:
            0 !important;
    }


    html body #appointmentModal
    .booking-group legend {

        margin-bottom:
            5px !important;

        font-size:
            12px !important;

        line-height:
            1.2 !important;
    }


    /* сітки вибору */

    html body #appointmentModal
    .choice-grid {

        gap:
            6px !important;
    }


    html body #appointmentModal
    .choice-pill span {

        min-height:
            36px !important;

        padding:
            5px 10px !important;

        border-radius:
            18px !important;

        font-size:
            12px !important;

        line-height:
            1.15 !important;
    }


    /* кнопка коментаря */

    html body #appointmentModal
    [class*="comment"] {

        margin-top:
            0 !important;
    }


    /* головна кнопка */

    html body #appointmentModal
    .booking-submit {

        min-height:
            50px !important;

        margin-top:
            2px !important;

        border-radius:
            18px !important;
    }


    /* хрестик трохи компактніше */

    html body #appointmentModal
    .appointment-modal-close {

        width:
            38px !important;

        height:
            38px !important;
    }

}



/* =========================================================
   8DENTAL — APPOINTMENT MODAL / MOBILE SHORT UX
   ТІЛЬКИ МОБІЛЬНИЙ
   ========================================================= */

@media (max-width: 620px) {

    /*
       У формі:
       1 fieldset = Що Вас цікавить?
       2 fieldset = Коли Вам зручно?
       3 fieldset = Який час?

       На мобільному залишаємо тільки перший.
    */

    html body #appointmentModal
    #appointmentForm
    fieldset.booking-group:nth-of-type(2),

    html body #appointmentModal
    #appointmentForm
    fieldset.booking-group:nth-of-type(3) {

        display: none !important;
    }


    /*
       Коментар на мобільному теж прибираємо,
       щоб CTA була одразу перед очима.
    */

    html body #appointmentModal
    #appointmentForm
    .booking-comment-toggle,

    html body #appointmentModal
    #appointmentForm
    .comment-toggle,

    html body #appointmentModal
    #appointmentForm
    [class*="comment-toggle"] {

        display: none !important;
    }


    /*
       Якщо поле коментаря вже було відкрите —
       на мобільному теж ховаємо його.
    */

    html body #appointmentModal
    #appointmentForm
    .booking-comment,

    html body #appointmentModal
    #appointmentForm
    [class*="comment-field"] {

        display: none !important;
    }


    /*
       Кнопку підтягуємо ближче.
    */

    html body #appointmentModal
    #appointmentForm
    .booking-submit {

        margin-top: 2px !important;

        min-height: 52px !important;
    }


    /*
       Ще трохи компактніше сама форма.
    */

    html body #appointmentModal
    #appointmentForm {

        gap: 9px !important;
    }

}



/* =========================================================
   8DENTAL — APPOINTMENT / MOBILE ONE SCREEN FINAL
   ТІЛЬКИ МОБІЛЬНИЙ <= 620px
   ========================================================= */

@media (max-width: 620px) {

    /* сама модалка */

    html body #appointmentModal
    .appointment-modal-dialog.premium-booking {

        width: calc(100% - 12px) !important;

        max-height: calc(100dvh - 8px) !important;

        margin: 4px auto !important;

        padding:
            12px 12px 10px !important;

        overflow-y: auto !important;

        overscroll-behavior: contain !important;

        border-radius:
            22px 22px 0 0 !important;

        scrollbar-width: none !important;
    }

    html body #appointmentModal
    .appointment-modal-dialog.premium-booking::-webkit-scrollbar {
        display: none !important;
    }


    /* верх максимально компактний */

    html body #appointmentModal
    .booking-head {

        margin:
            0 0 8px !important;
    }


    /* eyebrow на мобільному вже зайвий */

    html body #appointmentModal
    .booking-head .eyebrow {

        display:
            none !important;
    }


    html body #appointmentModal
    .booking-head h2 {

        margin:
            0 !important;

        padding-right:
            42px !important;

        font-size:
            35px !important;

        line-height:
            .96 !important;
    }


    html body #appointmentModal
    .booking-head p {

        display:
            none !important;
    }


    /* хрестик */

    html body #appointmentModal
    .appointment-modal-close {

        width:
            34px !important;

        height:
            34px !important;

        top:
            10px !important;

        right:
            10px !important;
    }


    /* форма */

    html body #appointmentModal
    #appointmentForm {

        gap:
            8px !important;
    }


    html body #appointmentModal
    .booking-main-fields {

        display:
            block !important;

        margin:
            0 !important;
    }


    /*
       Ім'я на мобільному прибираємо.
       Воно необов'язкове.
    */

    html body #appointmentModal
    .booking-main-fields
    > .form-field:not(.phone-field) {

        display:
            none !important;
    }


    /* телефон */

    html body #appointmentModal
    .phone-field {

        gap:
            3px !important;
    }


    html body #appointmentModal
    .phone-field > span {

        margin:
            0 !important;

        font-size:
            11.5px !important;

        line-height:
            1.15 !important;
    }


    html body #appointmentModal
    .phone-input,

    html body #appointmentModal
    .phone-input > input[type="tel"] {

        height:
            46px !important;

        min-height:
            46px !important;
    }


    html body #appointmentModal
    .phone-input > input[type="tel"] {

        border-radius:
            14px !important;

        font-size:
            15px !important;
    }


    html body #appointmentModal
    .phone-input > strong {

        font-size:
            15px !important;
    }


    /* залишаємо ТІЛЬКИ "Що Вас цікавить?" */

    html body #appointmentModal
    #appointmentForm
    fieldset.booking-group:nth-of-type(2),

    html body #appointmentModal
    #appointmentForm
    fieldset.booking-group:nth-of-type(3) {

        display:
            none !important;
    }


    html body #appointmentModal
    .booking-group {

        margin:
            0 !important;

        padding:
            0 !important;
    }


    html body #appointmentModal
    .booking-group legend {

        margin:
            0 0 4px !important;

        font-size:
            11.5px !important;

        line-height:
            1.15 !important;
    }


    /* 6 послуг — компактно */

    html body #appointmentModal
    .choice-grid {

        gap:
            5px !important;
    }


    html body #appointmentModal
    .choice-pill span {

        min-height:
            32px !important;

        padding:
            4px 7px !important;

        border-radius:
            16px !important;

        font-size:
            11.5px !important;

        line-height:
            1.05 !important;
    }


    /* коментар повністю прибираємо на мобільному */

    html body #appointmentModal
    #appointmentForm
    [class*="comment"] {

        display:
            none !important;
    }


    /* кнопка завжди перед очима */

    html body #appointmentModal
    .booking-submit {

        position:
            sticky !important;

        bottom:
            0 !important;

        z-index:
            10 !important;

        width:
            100% !important;

        min-height:
            48px !important;

        margin:
            2px 0 0 !important;

        border-radius:
            16px !important;

        box-shadow:
            0 -6px 16px
            rgba(247,244,238,.90) !important;
    }

}

/*8DENTAL-MOBILE-ONE-SCREEN-FINAL*/@media(max-width:620px){
#appointmentModal .premium-booking{height:calc(100dvh - 8px)!important;max-height:calc(100dvh - 8px)!important;overflow:hidden!important;padding:12px 12px calc(10px + env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:column!important}
#appointmentModal .booking-head{margin:0 0 8px!important}
#appointmentModal .booking-head .eyebrow,#appointmentModal .booking-head p{display:none!important}
#appointmentModal .booking-head h2{margin:0!important;padding-right:40px!important;font-size:34px!important;line-height:.95!important}
#appointmentModal #appointmentForm{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;gap:8px!important;overflow:hidden!important}
#appointmentModal .booking-main-fields{display:block!important}
#appointmentModal .booking-main-fields>.form-field:not(.phone-field){display:none!important}
#appointmentModal #appointmentForm fieldset.booking-group:nth-of-type(n+2),#appointmentModal #appointmentForm [class*="comment"],#appointmentModal .booking-note{display:none!important}
#appointmentModal .phone-input,#appointmentModal .phone-input>input[type=tel]{height:46px!important;min-height:46px!important}
#appointmentModal .booking-group{margin:0!important;padding:0!important}
#appointmentModal .booking-group legend{margin:0 0 5px!important;font-size:12px!important}
#appointmentModal .choice-grid{gap:5px!important}
#appointmentModal .choice-pill span{min-height:32px!important;padding:4px 7px!important;font-size:11.5px!important}
#appointmentModal .booking-submit{margin-top:auto!important;position:static!important;flex:0 0 50px!important;min-height:50px!important;width:100%!important}
}
/* 8DENTAL — ABOUT GALLERY / DESKTOP LEFT FINAL */

@media (min-width: 1200px) {

    #about .about-gallery-wrap {
        transform: translateX(
            clamp(-180px, -8vw, -110px)
        ) !important;
    }

}



/* 8DENTAL — ABOUT GALLERY / REAL DESKTOP LEFT */

@media (min-width: 960px) and (hover: hover) and (pointer: fine) {

    #about .about-v2-grid .about-gallery-wrap {
        transform: translateX(-140px) !important;
    }

}



/* 8DENTAL — ABOUT GALLERY / PHYSICAL LEFT FINAL */

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {

    #about .about-v2-grid .about-gallery-wrap {
        position: relative !important;
        left: clamp(-190px, -9vw, -110px) !important;
        right: auto !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT / DESKTOP GRID REAL FINAL
   ========================================================= */

@media (min-width: 1100px) {

    #about .about-v2-grid {
        grid-template-columns:
            minmax(0, 650px)
            320px !important;

        column-gap:
            40px !important;

        justify-content:
            start !important;
    }

    #about .about-intro {
        width:
            100% !important;

        max-width:
            650px !important;
    }

    #about .about-gallery-wrap {
        width:
            320px !important;

        max-width:
            320px !important;

        justify-self:
            start !important;

        position:
            static !important;

        left:
            auto !important;

        right:
            auto !important;

        transform:
            none !important;

        margin:
            0 !important;
    }

}


@media (min-width: 1600px) {

    #about .about-v2-grid {
        grid-template-columns:
            minmax(0, 700px)
            365px !important;

        column-gap:
            48px !important;
    }

    #about .about-intro {
        max-width:
            700px !important;
    }

    #about .about-gallery-wrap {
        width:
            365px !important;

        max-width:
            365px !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT CAROUSEL / MOVE LEFT HARD FINAL
   ========================================================= */

@media (min-width: 1100px) {

    #about .about-gallery-wrap {
        margin-left: -220px !important;
        margin-right: 0 !important;

        justify-self: start !important;

        position: relative !important;
        left: 0 !important;
        right: auto !important;

        transform: none !important;
    }

}



/* =========================================================
   8DENTAL — ABOUT CAROUSEL / PC ONLY LEFT
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    #about .about-gallery-wrap {
        position: relative !important;

        left: -220px !important;
        right: auto !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        transform: none !important;

        justify-self: start !important;
    }

}


/* ==========================================
   8DENTAL — VACANCY CTA BOOST
   hide secondary apply action
   make "Залишити контакти" primary CTA
========================================== */

[data-vacancy-hide-apply="1"] {
    display: none !important;
}

.vacancy-primary-cta {
    position: relative;
    border: 2px solid rgba(212, 181, 126, 0.55) !important;
    box-shadow:
        0 0 0 4px rgba(212, 181, 126, 0.10),
        0 18px 40px rgba(0, 0, 0, 0.18) !important;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        filter 0.22s ease !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
}

.vacancy-primary-cta::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.vacancy-primary-cta:hover,
.vacancy-primary-cta:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(225, 194, 138, 0.9) !important;
    box-shadow:
        0 0 0 5px rgba(212, 181, 126, 0.14),
        0 22px 46px rgba(0, 0, 0, 0.22) !important;
    filter: saturate(1.03);
    outline: none;
}

.vacancy-primary-cta:active {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .vacancy-primary-cta {
        border-width: 2px !important;
        box-shadow:
            0 0 0 4px rgba(212, 181, 126, 0.12),
            0 14px 28px rgba(0, 0, 0, 0.18) !important;
    }

    .vacancy-primary-cta::after {
        inset: 8px;
    }
}



/* =====================================================
   8DENTAL — VACANCY CONTACT CTA REAL FINAL
   ===================================================== */

#vacancy-contact .vacancies-button {
    width: 100%;
    min-height: 72px;
    border: 2px solid rgba(205, 168, 107, .82) !important;
    border-radius: 22px !important;

    background:
        linear-gradient(
            180deg,
            rgba(205,168,107,.12),
            rgba(255,255,255,.025)
        ) !important;

    color: #fff !important;
    font-weight: 750 !important;

    box-shadow:
        0 0 0 4px rgba(205,168,107,.07),
        0 16px 34px rgba(0,0,0,.16) !important;

    cursor: pointer;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

@media (hover:hover) {
    #vacancy-contact .vacancies-button:hover {
        transform: translateY(-2px);
        border-color: rgba(224,188,125,1) !important;

        background:
            linear-gradient(
                180deg,
                rgba(205,168,107,.20),
                rgba(255,255,255,.035)
            ) !important;

        box-shadow:
            0 0 0 5px rgba(205,168,107,.09),
            0 20px 42px rgba(0,0,0,.20) !important;
    }
}

@media (max-width: 767px) {
    #vacancy-contact .vacancies-button {
        min-height: 68px;
        border-radius: 19px !important;
        font-size: 17px !important;
    }
}



/* =====================================================
   8DENTAL — GOLD CTA BUTTON POLISH
   ===================================================== */

#vacancy-contact .vacancies-button {
    width: 100%;
    min-height: 74px;
    margin: 10px 0 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #d5b06c !important;
    border-radius: 22px !important;

    background:
        linear-gradient(
            180deg,
            rgba(213, 176, 108, 0.18) 0%,
            rgba(213, 176, 108, 0.08) 100%
        ) !important;

    color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;

    box-shadow:
        0 0 0 4px rgba(213, 176, 108, 0.08),
        0 16px 36px rgba(0, 0, 0, 0.18) !important;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease;
}

#vacancy-contact .vacancies-button:hover {
    transform: translateY(-2px);
    border-color: #e4bf7e !important;

    background:
        linear-gradient(
            180deg,
            rgba(213, 176, 108, 0.24) 0%,
            rgba(213, 176, 108, 0.11) 100%
        ) !important;

    box-shadow:
        0 0 0 5px rgba(213, 176, 108, 0.11),
        0 20px 42px rgba(0, 0, 0, 0.22) !important;
}

#vacancy-contact .vacancies-button:focus-visible {
    outline: 2px solid #e4bf7e;
    outline-offset: 4px;
}

#vacancy-contact small {
    display: block;
    margin-top: 8px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    #vacancy-contact .vacancies-button {
        min-height: 68px;
        border-radius: 20px !important;
        margin: 10px 0 14px;
        font-size: 17px !important;
    }
}



/* =====================================================
   8DENTAL — VACANCY UNIQUE GOLD CTA / FINAL
   ===================================================== */

#vacancy-contact .vacancies-button-gold {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    min-height: 70px;
    margin: 28px 0 18px;
    padding: 16px 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 2px solid #D5B06C !important;
    border-radius: 21px !important;

    background:
        linear-gradient(
            180deg,
            rgba(213,176,108,.14) 0%,
            rgba(213,176,108,.055) 100%
        ) !important;

    color: #FFFFFF !important;

    font: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .01em;
    text-align: center;

    box-shadow:
        0 0 0 4px rgba(213,176,108,.075),
        0 14px 34px rgba(0,0,0,.16) !important;

    cursor: pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

/* прибираємо псевдоелемент від старого JS-стилю */
#vacancy-contact .vacancies-button-gold::before,
#vacancy-contact .vacancies-button-gold::after {
    content: none !important;
    display: none !important;
}

@media (hover: hover) and (pointer: fine) {
    #vacancy-contact .vacancies-button-gold:hover {
        transform: translateY(-2px);

        border-color: #E6C17D !important;

        background:
            linear-gradient(
                180deg,
                rgba(213,176,108,.22) 0%,
                rgba(213,176,108,.09) 100%
            ) !important;

        box-shadow:
            0 0 0 5px rgba(213,176,108,.10),
            0 20px 42px rgba(0,0,0,.20) !important;
    }
}

#vacancy-contact .vacancies-button-gold:focus-visible {
    outline: 2px solid #E6C17D !important;
    outline-offset: 4px;
}

#vacancy-contact small {
    display: block;
    margin-top: 0 !important;
    line-height: 1.55;
}

@media (max-width: 767px) {
    #vacancy-contact .vacancies-button-gold {
        min-height: 66px;
        margin: 24px 0 16px;
        padding: 15px 20px;

        border-radius: 19px !important;

        font-size: 16px;
    }
}



/* =========================================================
   8DENTAL — SERVICE DOCTORS / 4 COLUMNS FINAL
   PC + TABLET: 4 doctors in one row
   MOBILE: existing 1-column layout stays unchanged
   ========================================================= */

@media (min-width: 681px) {

    .service-doctors-grid,
    .service-doctors-grid.is-single {
        display: grid !important;
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 1240px !important;
        gap: 18px !important;
        justify-content: stretch !important;
        align-items: stretch !important;
    }

    .service-doctor-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

}

/* 8DENTAL — TEAM COUNT GRID FINAL / BEGIN */


/* =========================================================
   DESKTOP
   6 = existing 3 + 3
   7 = 4 + centered 3
   8 = 4 + 4
   9 = existing 3 + 3 + 3
   ========================================================= */

@media (min-width: 1101px) {

    #doctors .doctors-grid.team-count-7,
    #doctors .doctors-grid.team-count-8 {
        display: grid !important;

        grid-template-columns:
            repeat(8, minmax(0, 1fr)) !important;

        width: 100% !important;

        gap:
            clamp(16px, 1.7vw, 24px) !important;

        align-items: stretch !important;
    }


    #doctors .doctors-grid.team-count-7
    > .doctor-card,

    #doctors .doctors-grid.team-count-8
    > .doctor-card {
        grid-column:
            auto / span 2 !important;

        width: 100% !important;

        max-width: none !important;

        min-width: 0 !important;
    }


    /*
     * 7 PEOPLE
     *
     * [ 1 ][ 2 ][ 3 ][ 4 ]
     *    [ 5 ][ 6 ][ 7 ]
     */

    #doctors .doctors-grid.team-count-7
    > .doctor-card:nth-child(5) {
        grid-column:
            2 / span 2 !important;
    }

    #doctors .doctors-grid.team-count-7
    > .doctor-card:nth-child(6) {
        grid-column:
            4 / span 2 !important;
    }

    #doctors .doctors-grid.team-count-7
    > .doctor-card:nth-child(7) {
        grid-column:
            6 / span 2 !important;
    }

}


/* =========================================================
   TABLET
   2 per row.
   If odd number — last card centered.
   ========================================================= */

@media (min-width: 681px) and (max-width: 1100px) {

    #doctors .doctors-grid {
        display: grid !important;

        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;

        gap: 18px !important;

        width: 100% !important;

        align-items: stretch !important;
    }


    #doctors .doctors-grid
    > .doctor-card {
        grid-column:
            auto / span 2 !important;

        width: 100% !important;

        max-width: none !important;

        min-width: 0 !important;
    }


    #doctors .doctors-grid
    > .doctor-card:last-child:nth-child(odd) {
        grid-column:
            2 / span 2 !important;
    }

}


/*
 * MOBILE:
 * нічого не змінюємо —
 * залишається поточна мобільна сітка.
 */


/* 8DENTAL — TEAM COUNT GRID FINAL / END */








/* =========================================================
   8DENTAL — OKSANA POLOVA / SLIGHT ZOOM
   ========================================================= */

#doctors .doctor-card--oksana-polova .doctor-photo img {
    transform: scale(1.13) !important;
}

@media (hover: hover) and (pointer: fine) {

    #doctors .doctor-card--oksana-polova:hover
    .doctor-photo img {
        transform: scale(1.145) !important;
    }

}

/* 8DENTAL — OKSANA KOTLA POSITION / BEGIN */

#doctors .doctor-card--oksana-kotla .doctor-photo img {
    object-position: center center !important;
    transform: translateY(6px) scale(1.02) !important;
}

@media (hover: hover) and (pointer: fine) {

    #doctors .doctor-card--oksana-kotla:hover
    .doctor-photo img {
        transform: translateY(6px) scale(1.035) !important;
    }

}

/* 8DENTAL — OKSANA KOTLA POSITION / END */

/* 8DENTAL — SEMAK FINAL ZOOM / BEGIN */

#doctors .doctor-card--yuliya-kalashnyuk .doctor-photo img {
    transform: scale(1.02) !important;
    transform-origin: center center !important;
}

@media (hover: hover) and (pointer: fine) {
    #doctors .doctor-card--yuliya-kalashnyuk:hover
    .doctor-photo img {
        transform: scale(1.035) !important;
    }
}

/* 8DENTAL — SEMAK FINAL ZOOM / END */





/* 8DENTAL — TETYANA VASYLENKO POSITION / BEGIN */

#doctors .doctor-card--tetyana-vasylenko .doctor-photo {
    overflow: hidden !important;
}

#doctors .doctor-card--tetyana-vasylenko .doctor-photo img {
    transform: translateY(-10px) scale(1.06) !important;
    transform-origin: center center !important;
}

@media (hover: hover) and (pointer: fine) {

    #doctors .doctor-card--tetyana-vasylenko:hover
    .doctor-photo img {
        transform: translateY(-10px) scale(1.075) !important;
    }

}

/* 8DENTAL — TETYANA VASYLENKO POSITION / END */

/* 8DENTAL — VITALIY RYBKO POSITION / BEGIN */

#doctors .doctor-card--vitaliy-rybko .doctor-photo {
    overflow: hidden !important;
}

#doctors .doctor-card--vitaliy-rybko .doctor-photo img {
    transform: translateY(-10px) scale(1.06) !important;
    transform-origin: center center !important;
}

@media (hover: hover) and (pointer: fine) {

    #doctors .doctor-card--vitaliy-rybko:hover
    .doctor-photo img {
        transform: translateY(-10px) scale(1.075) !important;
    }

}

/* 8DENTAL — VITALIY RYBKO POSITION / END */

/* 8DENTAL — IRYNA KARMAZYN POSITION / BEGIN */

#doctors .doctor-card--iryna-karmazyn .doctor-photo {
    overflow: hidden !important;
}

#doctors .doctor-card--iryna-karmazyn .doctor-photo img {
    transform: translateY(-7px) scale(1.04) !important;
    transform-origin: center center !important;
}

@media (hover: hover) and (pointer: fine) {

    #doctors .doctor-card--iryna-karmazyn:hover
    .doctor-photo img {
        transform: translateY(-7px) scale(1.055) !important;
    }

}

/* 8DENTAL — IRYNA KARMAZYN POSITION / END */
