:root {
    --bsi-ink: #0D3B40;
    --bsi-teal: #2E7F82;
    --bsi-muted: #6B6D65;
    --bsi-clay: #B5714C;
    --bsi-sand: #FAF9F6;
    --bsi-apricot: #D89A6E;
    --bsi-white: #FFFFFF;
    --bsi-line: rgba(13, 59, 64, 0.14);
    --bsi-shadow: 0 24px 80px rgba(13, 59, 64, 0.12);
    --bsi-radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 108px;
}

body {
    margin: 0;
    background: var(--bsi-sand);
    color: var(--bsi-ink);
    font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .bsi-nav {
    top: 46px;
}

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

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

.bsi-page {
    overflow: visible;
}

.bsi-hero {
    min-height: 100vh;
    padding: 118px clamp(18px, 4vw, 64px) 70px;
    background:
        radial-gradient(circle at 88% 8%, rgba(216, 154, 110, 0.2), transparent 32rem),
        linear-gradient(135deg, rgba(46, 127, 130, 0.08), transparent 46%),
        var(--bsi-sand);
}

.bsi-nav {
    position: fixed;
    top: 14px;
    left: clamp(18px, 4vw, 64px);
    right: clamp(18px, 4vw, 64px);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 18px;
    border: 1px solid var(--bsi-line);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 42px rgba(13, 59, 64, 0.08);
}

.bsi-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 245px;
}

.bsi-brand strong {
    display: block;
    font-family: "Spectral", Georgia, serif;
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
}

.bsi-brand small {
    display: block;
    margin-top: 4px;
    color: var(--bsi-muted);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.bsi-mark {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--bsi-ink);
    flex: 0 0 auto;
}

.bsi-nav-links,
.bsi-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bsi-nav-links a,
.bsi-login,
.bsi-language {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 13px;
    color: var(--bsi-muted);
    font: inherit;
    font-size: 0.9rem;
    background: transparent;
    cursor: pointer;
    transition: 180ms ease;
}

.bsi-nav-links a {
    color: var(--bsi-teal);
    font-weight: 700;
}

.bsi-nav-links a:hover,
.bsi-login:hover,
.bsi-language:hover {
    border-color: var(--bsi-line);
    color: var(--bsi-ink);
    background: var(--bsi-white);
}

.bsi-nav-links a:hover {
    color: var(--bsi-ink);
    background: rgba(46, 127, 130, 0.12);
}

.bsi-nav-links a.is-active {
    color: #fff;
    background: var(--bsi-teal);
    border-color: var(--bsi-teal);
    box-shadow: 0 8px 18px rgba(46, 127, 130, 0.22);
}

.bsi-login {
    background: var(--bsi-ink);
    color: var(--bsi-white);
}

.bsi-mobile-login,
.bsi-menu-toggle {
    display: none;
}

.bsi-menu-toggle {
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(13, 59, 64, 0.12);
    border-radius: 999px;
    background: linear-gradient(180deg, #fff8ef 0%, #f2e4d4 100%);
    color: var(--bsi-ink);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 22px rgba(13, 59, 64, 0.08);
}

.bsi-menu-toggle span {
    display: block;
    width: 18px;
    height: 2.5px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.bsi-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 86px;
    height: 46px;
    padding: 0 12px 0 14px;
    border: 1px solid rgba(13, 59, 64, 0.12);
    color: var(--bsi-ink);
    background: linear-gradient(180deg, #fffdf9 0%, #f4e8d8 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 18px rgba(13, 59, 64, 0.07);
}

.bsi-language-flag {
    display: block;
    width: 22px;
    height: 15px;
    flex: 0 0 22px;
    overflow: hidden;
    border: 1px solid rgba(13, 59, 64, 0.14);
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(13, 59, 64, 0.12);
}

.bsi-language-code {
    color: var(--bsi-ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

.bsi-lang-caret {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-left: -1px;
    border-right: 1.7px solid var(--bsi-ink);
    border-bottom: 1.7px solid var(--bsi-ink);
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.72;
}

.bsi-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: clamp(30px, 6vw, 76px);
    align-items: center;
    max-width: 1240px;
    margin: 70px auto 0;
}

.bsi-hero-opinions {
    width: 100%;
    max-width: 1240px;
    margin: 52px auto 0;
}

.bsi-kicker {
    margin: 0 0 14px;
    color: var(--bsi-clay);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: "Spectral", Georgia, serif;
    font-weight: 500;
    line-height: 1.02;
}

.bsi-hero h1 {
    max-width: 620px;
    font-size: clamp(1.9rem, 3.8vw, 3.35rem);
    letter-spacing: -0.028em;
    line-height: 1.12;
}

.bsi-lede {
    max-width: 710px;
    margin: 28px 0 0;
    color: var(--bsi-muted);
    font-size: clamp(1.05rem, 1.8vw, 1.24rem);
    line-height: 1.78;
}

.bsi-hero-buttons,
.bsi-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.bsi-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 700;
    transition: 180ms ease;
}

.bsi-button-primary {
    background: var(--bsi-ink);
    color: var(--bsi-white);
    box-shadow: 0 14px 34px rgba(13, 59, 64, 0.22);
}

.bsi-button-primary:hover {
    transform: translateY(-2px);
    background: #08292d;
}

.bsi-button-secondary {
    border: 1px solid var(--bsi-line);
    background: var(--bsi-white);
    color: var(--bsi-ink);
}

.bsi-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.bsi-trust-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid rgba(13, 59, 64, 0.1);
    border-radius: 999px;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 249, 246, 0.78));
    color: var(--bsi-muted);
    font-size: 0.88rem;
    box-shadow: 0 12px 26px rgba(13, 59, 64, 0.05);
}

.bsi-trust-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(46, 127, 130, 0.11);
    color: var(--bsi-teal);
    font-size: 0.74rem;
    font-weight: 800;
}

.bsi-trust-rating {
    justify-content: flex-start;
}

.bsi-trust-strip strong,
.bsi-stars {
    color: var(--bsi-clay);
}

.bsi-trust-strip strong {
    font-size: 1rem;
}

.bsi-stars {
    letter-spacing: 0.08em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.bsi-doctor-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bsi-line);
    border-radius: var(--bsi-radius);
    background: var(--bsi-white);
    box-shadow: var(--bsi-shadow);
}

.bsi-doctor-card::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(180deg, transparent 38%, rgba(13, 59, 64, 0.92));
    z-index: 1;
}

.bsi-doctor-card img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    object-position: center top;
}

.bsi-doctor-card > div {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 24px;
    color: var(--bsi-white);
}

.bsi-doctor-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.bsi-doctor-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.bsi-call-chip,
.bsi-wa-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.bsi-call-chip svg,
.bsi-wa-chip svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.bsi-call-chip small {
    font-weight: 600;
    opacity: 0.88;
    font-size: 0.72rem;
}

.bsi-call-chip {
    background: linear-gradient(180deg, #3db4e0, #1d8ec4);
    box-shadow: 0 10px 22px rgba(29, 142, 196, 0.38);
}

.bsi-wa-chip {
    background: linear-gradient(180deg, #3fd67a, #1fb85a);
    box-shadow: 0 10px 22px rgba(31, 184, 90, 0.38);
}

.bsi-call-chip:hover,
.bsi-wa-chip:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.bsi-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 92px clamp(18px, 4vw, 30px);
    scroll-margin-top: 108px;
}

.bsi-section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.bsi-section-heading h2 {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    letter-spacing: -0.04em;
}

.bsi-section-heading p {
    color: var(--bsi-muted);
    font-size: 1.05rem;
    line-height: 1.72;
}

.bsi-feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bsi-feature-row article,
.bsi-procedure-card,
.bsi-quote-summary,
.bsi-payment-grid article,
.bsi-review-card,
.bsi-location-list article {
    border: 1px solid var(--bsi-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 52px rgba(13, 59, 64, 0.06);
}

.bsi-feature-row article {
    padding: 28px;
}

.bsi-feature-row span {
    color: var(--bsi-clay);
    font-weight: 700;
}

.bsi-feature-row h3 {
    margin-top: 28px;
    font-size: 1.65rem;
}

.bsi-feature-row p {
    color: var(--bsi-muted);
    line-height: 1.7;
}

.bsi-city-block {
    margin-top: 46px;
}

.bsi-city-block > h3 {
    display: inline-flex;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--bsi-clay);
    padding-bottom: 8px;
    font-size: 2rem;
}

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

.bsi-procedure-card {
    overflow: hidden;
}

.bsi-procedure-card img,
.bsi-procedure-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 35%;
}

.bsi-procedure-card img.bsi-proc-photo-prp {
    object-fit: cover;
    object-position: 70% 12%;
}

.bsi-procedure-placeholder {
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(13, 59, 64, 0.92), rgba(46, 127, 130, 0.86)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px);
}

.bsi-procedure-placeholder span {
    width: 68px;
    height: 68px;
    border: 3px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    position: relative;
}

.bsi-procedure-placeholder span::before,
.bsi-procedure-placeholder span::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    background: var(--bsi-apricot);
}

.bsi-procedure-placeholder span::before {
    width: 40px;
    height: 8px;
    left: 13px;
    top: 29px;
}

.bsi-procedure-placeholder span::after {
    width: 9px;
    height: 54px;
    left: 31px;
    top: 8px;
    transform: rotate(-13deg);
    background: var(--bsi-white);
}

.bsi-procedure-body {
    padding: 24px;
}

.bsi-procedure-body h4 {
    font-size: 1.55rem;
}

.bsi-procedure-body p {
    min-height: 96px;
    color: var(--bsi-muted);
    line-height: 1.62;
}

.bsi-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--bsi-line);
}

.bsi-card-footer strong {
    color: var(--bsi-ink);
}

.bsi-card-footer a {
    border-radius: 999px;
    padding: 9px 12px;
    background: rgba(181, 113, 76, 0.13);
    color: var(--bsi-clay);
    font-weight: 700;
}

.bsi-services-panel,
.bsi-opinions-panel {
    overflow: hidden;
    border: 1px solid var(--bsi-line);
    border-radius: 32px;
    background: var(--bsi-white);
    box-shadow: var(--bsi-shadow);
}

.bsi-services-panel {
    margin-top: 28px;
}

.bsi-services-head,
.bsi-opinions-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 28px 18px;
}

.bsi-services-head h3,
.bsi-opinions-head h2 {
    margin: 6px 0 0;
    font-family: Spectral, Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.bsi-services-head p {
    max-width: 360px;
    margin: 0;
    color: var(--bsi-muted);
    line-height: 1.55;
}

.bsi-services-list {
    padding: 0 12px 12px;
}

.bsi-services-list article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px 16px;
    border-radius: 20px;
    transition: background 180ms ease;
}

.bsi-services-list article + article {
    border-top: 1px solid rgba(13, 59, 64, 0.08);
}

.bsi-services-list article:hover {
    background: rgba(46, 127, 130, 0.06);
}

.bsi-services-list h4 {
    margin: 0;
    font-size: 1.05rem;
}

.bsi-services-list p {
    margin: 6px 0 0;
    color: var(--bsi-teal);
    font-weight: 700;
}

.bsi-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2e7f82, #0d3b40);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(13, 59, 64, 0.18);
    transition: transform 180ms ease, filter 180ms ease;
}

.bsi-book-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.bsi-opinions-section {
    padding-top: 28px;
}

.bsi-opinions-score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.bsi-opinions-score strong {
    font-size: 1.4rem;
}

.bsi-opinions-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 420px;
}

.bsi-opinions-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(46, 127, 130, 0.1);
    color: var(--bsi-teal);
    font-size: 0.82rem;
    font-weight: 700;
}

.bsi-carousel {
    position: relative;
}

.bsi-carousel-viewport {
    overflow: hidden;
}

.bsi-carousel-track {
    display: flex;
    transition: transform 560ms cubic-bezier(0.22, 0.8, 0.28, 1);
}

.bsi-opinion-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 8px 28px 22px;
}

.bsi-opinion-person {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.bsi-opinion-avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bsi-teal), var(--bsi-ink));
    color: #fff;
    font-weight: 700;
}

.bsi-opinion-person em {
    display: inline-flex;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(46, 127, 130, 0.12);
    color: var(--bsi-teal);
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 700;
}

.bsi-opinion-slide blockquote {
    margin: 18px 0 14px;
    color: var(--bsi-ink);
    font-family: Spectral, Georgia, serif;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    font-weight: 400;
    line-height: 1.4;
}

.bsi-opinion-meta {
    margin: 0;
    color: var(--bsi-muted);
    font-size: 0.9rem;
}

.bsi-carousel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 22px 16px;
}

.bsi-carousel-nav {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(13, 59, 64, 0.08);
    color: var(--bsi-ink);
    font-size: 1.4rem;
    cursor: pointer;
}

.bsi-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.bsi-carousel-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(13, 59, 64, 0.18);
    cursor: pointer;
}

.bsi-carousel-dots button.is-active {
    width: 22px;
    background: var(--bsi-teal);
}

.bsi-carousel-progress {
    height: 4px;
    background: rgba(13, 59, 64, 0.08);
}

.bsi-carousel-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--bsi-teal), var(--bsi-clay));
}

.bsi-carousel.is-playing .bsi-carousel-progress span {
    animation: bsi-carousel-progress 5.5s linear;
}

.bsi-carousel.is-paused .bsi-carousel-progress span {
    animation-play-state: paused;
}

@keyframes bsi-carousel-progress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

body.bsi-booking-open {
    overflow: hidden;
}

.bsi-book {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(13, 59, 64, 0.52);
    backdrop-filter: blur(12px);
}

.bsi-book[hidden] {
    display: none;
}

.bsi-book-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1080px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border-radius: 32px;
    background:
        radial-gradient(circle at 88% 0, rgba(216, 154, 110, 0.16), transparent 28%),
        var(--bsi-sand);
    box-shadow: 0 40px 90px rgba(13, 59, 64, 0.28);
}

.bsi-book-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--bsi-ink);
    font-size: 1.6rem;
    cursor: pointer;
}

.bsi-book-layout {
    display: flex;
    align-items: stretch;
    min-height: 0;
    flex: 1;
}

.bsi-book-main {
    min-width: 0;
    flex: 1 1 64%;
    padding: 32px 28px 36px;
}

.bsi-book-lead,
.bsi-book-hint,
.bsi-book-legal,
.bsi-book-side p,
.bsi-book-status,
.bsi-book-inline,
.bsi-book-mini {
    color: var(--bsi-muted);
    line-height: 1.55;
}

.bsi-book-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 22px;
    border-bottom: 1px solid var(--bsi-line);
}

.bsi-book-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 12px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--bsi-muted);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.bsi-book-tabs button.is-active {
    color: var(--bsi-ink);
    border-bottom-color: var(--bsi-teal);
}

.bsi-book-block {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--bsi-line);
}

.bsi-book-block h3,
.bsi-book-first legend,
.bsi-book-cal-nav h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.bsi-book-places {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bsi-book-places button,
.bsi-book-services article {
    border: 1px solid var(--bsi-line);
    border-radius: 20px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.bsi-book-places button {
    padding: 18px;
}

.bsi-book-places button strong,
.bsi-book-service-pick strong {
    display: block;
    margin-bottom: 6px;
    font-family: Spectral, Georgia, serif;
    font-size: 1.15rem;
    font-weight: 500;
}

.bsi-book-places button span,
.bsi-book-places button small,
.bsi-book-service-pick em {
    display: block;
    color: var(--bsi-muted);
    font-weight: 500;
}

.bsi-book-places button.is-active,
.bsi-book-services article.is-active,
.bsi-book-col button.is-active {
    border-color: var(--bsi-teal);
    box-shadow: 0 12px 28px rgba(46, 127, 130, 0.14);
    background: linear-gradient(180deg, #fff, rgba(46, 127, 130, 0.08));
}

.bsi-book-services {
    display: grid;
    gap: 10px;
}

.bsi-book-service-pick {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 8px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.bsi-book-service-pick b {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--bsi-ink);
    color: #fff;
    font-size: 0.78rem;
}

.bsi-book-more,
.bsi-book-services p {
    margin: 0;
    padding: 0 16px 16px;
    color: var(--bsi-teal);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.bsi-book-services p {
    color: var(--bsi-muted);
    font-weight: 500;
    line-height: 1.6;
    cursor: default;
}

.bsi-book-note,
.bsi-book-first {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(13, 59, 64, 0.05);
}

.bsi-book-note span,
.bsi-book-note strong {
    display: block;
}

.bsi-book-first {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    border: 0;
}

.bsi-book-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.bsi-book-cal-nav h3 {
    margin: 0;
    text-align: center;
}

.bsi-book-cal-nav button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--bsi-line);
    border-radius: 50%;
    background: #fff;
    color: var(--bsi-ink);
    font-size: 1.4rem;
    cursor: pointer;
}

.bsi-book-cal-nav button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.bsi-book-week {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--bsi-line);
    border-radius: 24px;
    background: #fff;
}

.bsi-book-col {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.bsi-book-col header {
    text-align: center;
}

.bsi-book-col small {
    display: block;
    color: var(--bsi-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.bsi-book-col header strong {
    font-size: 0.95rem;
}

.bsi-book-col button {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(46, 127, 130, 0.14);
    color: var(--bsi-ink);
    font-weight: 700;
    cursor: pointer;
}

.bsi-book-col button:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

.bsi-book-expand,
.bsi-book-back {
    display: inline-flex;
    margin: 12px auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--bsi-teal);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.bsi-book-change {
    margin: 12px 0 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--bsi-teal);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.bsi-book-day {
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 100%;
    min-height: 78px;
    padding: 12px 8px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: rgba(46, 127, 130, 0.1);
    color: var(--bsi-ink);
    cursor: pointer;
}

.bsi-book-day small {
    color: var(--bsi-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.bsi-book-day.is-active {
    background: var(--bsi-ink);
    color: #fff;
}

.bsi-book-day.is-active small {
    color: rgba(255, 255, 255, 0.7);
}

.bsi-book-time-title {
    margin: 18px 0 10px;
}

.bsi-book-slots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bsi-book-slots button {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(46, 127, 130, 0.14);
    color: var(--bsi-ink);
    font-weight: 700;
    cursor: pointer;
}

.bsi-book-slots button.is-active {
    background: var(--bsi-ink);
    color: #fff;
}

.bsi-book-slots button:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

.bsi-book,
.bsi-book-dialog,
.bsi-book-main {
    overscroll-behavior: contain;
}

.bsi-book-auth-hero {
    display: grid;
    width: 84px;
    height: 84px;
    margin: 8px auto 18px;
    place-items: center;
    border-radius: 50%;
    background: rgba(46, 127, 130, 0.14);
    color: var(--bsi-teal);
    font-size: 2rem;
}

.bsi-book-auth {
    max-width: 520px;
}

.bsi-book-or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 6px 0 16px;
    color: var(--bsi-muted);
    font-weight: 700;
}

.bsi-book-or::before,
.bsi-book-or::after {
    content: "";
    height: 1px;
    background: var(--bsi-line);
}

.bsi-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin: 8px 0 10px;
    border: 1px solid var(--bsi-line);
    border-radius: 14px;
    background: #fff;
    color: var(--bsi-ink);
    font-weight: 700;
    cursor: pointer;
}

.bsi-google-btn svg {
    width: 18px;
    height: 18px;
}

.bsi-google-btn.is-done {
    border-color: var(--bsi-teal);
    background: rgba(46, 127, 130, 0.1);
}

.bsi-book-auth label {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    font-weight: 700;
}

.bsi-book-auth input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--bsi-line);
    border-radius: 14px;
    font: inherit;
}

.bsi-book-submit {
    width: 100%;
    margin-top: 8px;
}

.bsi-book-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bsi-book-status {
    min-height: 1.4em;
    margin-top: 10px;
}

.bsi-book-status.is-error {
    color: #b42318;
}

.bsi-book-mini {
    margin-top: 18px;
    font-size: 0.92rem;
}

.bsi-pay {
    max-width: 520px;
}

.bsi-pay-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 16px;
    padding: 14px 16px;
    border: 1px solid var(--bsi-line);
    border-radius: 16px;
    background: rgba(46, 127, 130, 0.08);
}

.bsi-pay-total span {
    color: var(--bsi-clay);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bsi-pay-total strong {
    color: var(--bsi-ink);
    font-size: 1.35rem;
}

.bsi-pay-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.bsi-pay-types button {
    display: grid;
    gap: 4px;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid var(--bsi-line);
    border-radius: 16px;
    background: #fff;
    color: var(--bsi-ink);
    text-align: left;
    cursor: pointer;
}

.bsi-pay-types button strong {
    font-size: 0.98rem;
}

.bsi-pay-types button span {
    color: var(--bsi-muted);
    font-size: 0.82rem;
}

.bsi-pay-types button.is-active {
    border-color: var(--bsi-teal);
    background: rgba(46, 127, 130, 0.12);
    box-shadow: inset 0 0 0 1px var(--bsi-teal);
}

.bsi-pay-visual {
    display: grid;
    gap: 18px;
    min-height: 148px;
    margin-bottom: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0D3B40 0%, #2E7F82 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(13, 59, 64, 0.22);
}

.bsi-pay-visual.is-credit {
    background: linear-gradient(135deg, #7A4630 0%, #B5714C 100%);
}

.bsi-pay-visual small {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.82;
}

.bsi-pay-visual strong {
    font-size: 1.18rem;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

.bsi-pay-visual div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: end;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bsi-pay-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bsi-pay label {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    font-weight: 700;
}

.bsi-pay input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--bsi-line);
    border-radius: 14px;
    font: inherit;
}

.bsi-book-side {
    min-width: 280px;
    flex: 0 0 320px;
    padding: 32px 24px;
    background: #fff;
    border-left: 1px solid var(--bsi-line);
}

.bsi-book-doctor {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
}

.bsi-book-doctor img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 18px;
}

.bsi-book-side dl {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
}

.bsi-book-side dt {
    color: var(--bsi-clay);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bsi-book-side dd {
    margin: 4px 0 0;
    font-weight: 600;
}

.bsi-book-success {
    max-width: 520px;
}

.bsi-book-success ul {
    padding-left: 18px;
    line-height: 1.8;
}

@media (max-width: 860px) {
    .bsi-book-layout {
        flex-direction: column;
    }

    .bsi-book-places {
        grid-template-columns: 1fr;
    }

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

    .bsi-book-side {
        order: -1;
        flex-basis: auto;
        min-width: 0;
        padding: 18px 20px 16px;
        border-left: 0;
        border-bottom: 1px solid var(--bsi-line);
    }

    .bsi-book-doctor {
        margin-bottom: 12px;
    }

    .bsi-book-side dl {
        display: none;
    }

    .bsi-pay-types,
    .bsi-pay-row {
        grid-template-columns: 1fr;
    }
}

.bsi-quote-section {
    max-width: none;
    background: var(--bsi-ink);
    color: var(--bsi-white);
}

.bsi-quote-section > * {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.bsi-quote-section .bsi-section-heading p,
.bsi-quote-summary p {
    color: rgba(255, 255, 255, 0.72);
}

.bsi-quote-document {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    padding: clamp(18px, 3vw, 30px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.bsi-quote-document-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.bsi-mini-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bsi-mini-brand strong,
.bsi-quote-document-head > div:last-child strong {
    display: block;
    font-family: "Spectral", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.bsi-mini-brand small,
.bsi-quote-document-head span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bsi-quote-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.bsi-quote-fields label,
.bsi-quote-notes {
    display: grid;
    gap: 8px;
}

.bsi-quote-fields span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bsi-quote-fields input,
.bsi-quote-fields select,
.bsi-quote-notes {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;
    padding: 12px 13px;
    color: var(--bsi-sand);
    background: rgba(13, 59, 64, 0.35);
    font: inherit;
}

.bsi-quote-fields select {
    cursor: pointer;
    color-scheme: light;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--bsi-sand) 50%),
        linear-gradient(135deg, var(--bsi-sand) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

.bsi-quote-fields select option,
.bsi-quote-fields select optgroup {
    color: var(--bsi-ink);
    background-color: var(--bsi-sand);
    font-weight: 600;
}

.bsi-quote-fields select option:checked,
.bsi-quote-fields select option:hover,
.bsi-quote-fields select option:focus {
    color: var(--bsi-white);
    background-color: var(--bsi-teal);
    font-weight: 700;
}

.bsi-quote-fields input::placeholder,
.bsi-quote-notes::placeholder {
    color: rgba(255, 255, 255, 0.44);
}

.bsi-quote-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.bsi-quote-table {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.bsi-quote-head,
.bsi-quote-row {
    display: grid;
    grid-template-columns: 74px 110px minmax(260px, 1fr) 80px 130px 92px 130px;
    gap: 12px;
    align-items: center;
    padding: 13px 16px;
}

.bsi-quote-head {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bsi-quote-row {
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    cursor: pointer;
}

.bsi-quote-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.bsi-quote-row strong {
    display: block;
}

.bsi-quote-row small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.56);
}

.bsi-quote-row input[type="number"] {
    width: 70px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 9px;
    color: var(--bsi-white);
    background: rgba(255, 255, 255, 0.08);
}

.bsi-quote-check {
    width: 20px;
    height: 20px;
    accent-color: var(--bsi-apricot);
}

.bsi-quote-amount {
    color: var(--bsi-apricot);
    font-weight: 700;
}

.bsi-quote-summary {
    position: static;
    width: min(100%, 460px);
    margin-left: auto;
    align-self: start;
    padding: 28px;
    background: rgba(255, 255, 255, 0.1);
}

.bsi-quote-summary h3 {
    font-size: 1.9rem;
}

.bsi-quote-subtotals {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.bsi-quote-subtotals div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 9px;
}

.bsi-quote-subtotals dt {
    color: rgba(255, 255, 255, 0.66);
}

.bsi-quote-subtotals dd {
    margin: 0;
    color: var(--bsi-white);
    font-weight: 700;
}

#bsi-quote-total {
    display: block;
    margin: 20px 0;
    color: var(--bsi-apricot);
    font-family: "Spectral", Georgia, serif;
    font-size: 2.8rem;
    font-weight: 500;
}

.bsi-quote-notes {
    min-height: 94px;
    margin-bottom: 14px;
    resize: vertical;
}

.bsi-payment-grid,
.bsi-review-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.bsi-accepted-cards {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 22px 0 0;
}

.bsi-accepted-cards img,
.bsi-payment-logos img {
    display: block;
    height: 28px;
    width: auto;
    max-width: 56px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(13, 59, 64, 0.12);
    border-radius: 8px;
    padding: 5px 6px;
    box-sizing: content-box;
}

.bsi-accepted-cards img {
    height: 34px;
    max-width: 68px;
}

.bsi-payment-grid article {
    padding: 24px;
}

.bsi-payment-logos {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    margin-bottom: 20px;
}

.bsi-payment-icon {
    display: block;
    width: 42px;
    height: 28px;
    border-radius: 8px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--bsi-ink), var(--bsi-teal));
    box-shadow: inset 0 -7px 0 rgba(216, 154, 110, 0.6);
}

html:not(.bsi-doctor-in) .bsi-quote-section,
html:not(.bsi-doctor-in) [data-bsi-doctor-only] {
    display: none !important;
}

.bsi-payment-grid h3 {
    font-size: 1.32rem;
}

.bsi-payment-grid p,
.bsi-review-card span,
.bsi-location-list p {
    color: var(--bsi-muted);
}

.bsi-review-section {
    max-width: none;
    background: #f2eee6;
}

.bsi-review-section > * {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

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

.bsi-review-card {
    padding: 28px;
}

.bsi-stars {
    letter-spacing: 0.08em;
}

.bsi-review-card blockquote {
    margin: 18px 0 24px;
    color: var(--bsi-ink);
    font-family: "Spectral", Georgia, serif;
    font-size: 1.34rem;
    line-height: 1.36;
}

.bsi-review-card footer {
    display: grid;
    gap: 4px;
}

.bsi-dn4-section {
    max-width: none;
    background:
        radial-gradient(circle at 18% 20%, rgba(46, 127, 130, 0.1), transparent 28rem),
        var(--bsi-sand);
}

.bsi-dn4-section > * {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.bsi-dn4-card {
    border: 1px solid var(--bsi-line);
    border-radius: 30px;
    padding: clamp(20px, 4vw, 42px);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--bsi-shadow);
    animation: bsi-fade-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bsi-dn4-top {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 14px;
    border-bottom: 2px solid rgba(46, 127, 130, 0.2);
    padding-bottom: 20px;
}

.bsi-dn4-top label {
    display: grid;
    gap: 8px;
}

.bsi-dn4-top span,
.bsi-dn4-row label,
.bsi-dn4-title small {
    color: var(--bsi-teal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bsi-dn4-top input {
    width: 100%;
    border: 1px solid rgba(46, 127, 130, 0.35);
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--bsi-ink);
    background: var(--bsi-white);
    font: inherit;
}

.bsi-dn4-title {
    padding: 30px 0 24px;
    text-align: center;
}

.bsi-dn4-title h3 {
    color: var(--bsi-teal);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.bsi-dn4-title p {
    color: var(--bsi-muted);
}

.bsi-dn4-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(22px, 5vw, 72px);
}

.bsi-dn4-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bsi-dn4-grid h4 {
    margin-bottom: 4px;
    color: #08a979;
    font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.bsi-dn4-group {
    position: relative;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(250, 249, 246, 0.6));
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.bsi-dn4-group::before {
    position: absolute;
    inset: 18px auto auto 0;
    width: 3px;
    height: 38px;
    border-radius: 999px;
    background: var(--bsi-clay);
    content: "";
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.bsi-dn4-group:hover,
.bsi-dn4-group:focus-within {
    border-color: rgba(46, 127, 130, 0.24);
    background: var(--bsi-white);
    box-shadow: 0 18px 50px rgba(13, 59, 64, 0.08);
    transform: translateY(-3px);
}

.bsi-dn4-group:hover::before,
.bsi-dn4-group:focus-within::before {
    opacity: 1;
    transform: translateX(0);
}

.bsi-dn4-grid p {
    color: var(--bsi-ink);
    font-weight: 700;
    line-height: 1.45;
}

.bsi-dn4-choice-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px 58px;
    gap: 12px;
    align-items: center;
    margin: 14px 0 4px;
}

.bsi-dn4-choice-head strong {
    color: #08a979;
    text-align: center;
}

.bsi-dn4-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px 58px;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(13, 59, 64, 0.08);
}

.bsi-dn4-row span {
    color: var(--bsi-ink);
    font-weight: 600;
}

.bsi-dn4-row label {
    display: grid;
    place-items: center;
    letter-spacing: 0;
    text-transform: none;
}

.bsi-dn4-row label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.bsi-dn4-row input {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(8, 169, 121, 0.72);
    border-radius: 4px;
    background: var(--bsi-white);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.bsi-dn4-row input:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(8, 169, 121, 0.16);
}

.bsi-dn4-row input:checked {
    border-color: #08a979;
    background-color: #08a979;
    box-shadow: inset 0 0 0 7px var(--bsi-white), 0 8px 18px rgba(8, 169, 121, 0.18);
}

.bsi-dn4-result {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 18px;
    align-items: center;
    margin-top: 34px;
    border: 1px solid rgba(46, 127, 130, 0.3);
    border-radius: 22px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(46, 127, 130, 0.08), rgba(216, 154, 110, 0.08));
}

.bsi-dn4-result span {
    color: #08a979;
    font-size: 1.4rem;
    font-weight: 800;
}

.bsi-dn4-result strong {
    color: var(--bsi-ink);
    font-size: 2rem;
}

.bsi-dn4-result p {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--bsi-muted);
    font-weight: 500;
}

.bsi-dn4-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.bsi-dn4-actions span {
    color: #08a979;
    font-weight: 700;
}

.bsi-cv-section {
    padding-top: 36px;
}

.bsi-cv-panel {
    overflow: hidden;
    border: 1px solid var(--bsi-line);
    border-radius: 36px;
    background:
        radial-gradient(circle at 12% 18%, rgba(46, 127, 130, 0.08), transparent 28%),
        var(--bsi-white);
    box-shadow: var(--bsi-shadow);
}

.bsi-cv-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 36px;
    padding: 36px;
    align-items: start;
}

.bsi-cv-media figure {
    overflow: hidden;
    margin: 0;
    border-radius: 28px;
    background: #e8eeef;
}

.bsi-cv-media img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center top;
}

.bsi-cv-highlight {
    margin-top: 18px;
    padding: 18px 4px 0;
    text-align: center;
}

.bsi-cv-stars {
    display: block;
    color: #d4a017;
    letter-spacing: 0.18em;
    font-size: 1.05rem;
}

.bsi-cv-highlight p {
    max-width: 280px;
    margin: 10px auto 0;
    color: var(--bsi-ink);
    font-weight: 600;
    line-height: 1.5;
}

.bsi-cv-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.bsi-cv-social span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(13, 59, 64, 0.06);
    color: var(--bsi-teal);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bsi-cv-label {
    margin: 0 0 8px;
    color: var(--bsi-clay);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bsi-cv-copy h3 {
    margin: 0;
    font-family: Spectral, Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--bsi-ink);
}

.bsi-cv-role {
    margin: 10px 0 0;
    color: var(--bsi-teal);
    font-size: 1.12rem;
    font-weight: 600;
}

.bsi-cv-creds {
    display: grid;
    gap: 8px;
    margin: 22px 0 24px;
    padding: 0;
    list-style: none;
}

.bsi-cv-creds li {
    position: relative;
    padding: 10px 14px 10px 34px;
    border-radius: 14px;
    background: rgba(250, 249, 246, 0.9);
    color: var(--bsi-ink);
    font-size: 0.96rem;
}

.bsi-cv-creds li::before {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bsi-clay);
    transform: translateY(-50%);
    content: "";
}

.bsi-accordion {
    display: grid;
    gap: 10px;
}

.bsi-acc-item {
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 18px;
    background: #f4efe7;
    box-shadow: 0 8px 22px rgba(13, 59, 64, 0.05);
}

.bsi-acc-item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--bsi-ink);
    transition: background 180ms ease, color 180ms ease;
}

.bsi-acc-item summary::-webkit-details-marker {
    display: none;
}

.bsi-acc-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--bsi-teal);
}

.bsi-acc-icon svg {
    width: 18px;
    height: 18px;
}

.bsi-acc-toggle {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border-radius: 50%;
    background: rgba(13, 59, 64, 0.08);
    font-size: 1.25rem;
    line-height: 1;
}

.bsi-acc-toggle::before {
    content: "+";
}

.bsi-acc-item[open] {
    border-color: rgba(46, 127, 130, 0.18);
    background: #fff;
}

.bsi-acc-item[open] summary {
    background: linear-gradient(135deg, #2e7f82, #0d3b40);
    color: #fff;
}

.bsi-acc-item[open] .bsi-acc-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.bsi-acc-item[open] .bsi-acc-toggle {
    background: rgba(255, 255, 255, 0.16);
}

.bsi-acc-item[open] .bsi-acc-toggle::before {
    content: "−";
}

.bsi-acc-panel {
    padding: 4px 22px 16px 52px;
}

.bsi-acc-panel ul {
    margin: 0;
    padding-left: 18px;
    color: var(--bsi-ink);
}

.bsi-acc-panel li {
    margin: 8px 0;
    line-height: 1.65;
}

.bsi-cv-seals {
    display: none !important;
}

.bsi-cv-seals span {
    display: grid;
    place-items: center;
    min-width: 110px;
    min-height: 58px;
    padding: 8px 12px;
    border: 1px solid rgba(13, 59, 64, 0.1);
    border-radius: 16px;
    background: #fff;
    color: var(--bsi-ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.bsi-contact-section {
    display: grid;
    grid-template-columns: 0.78fr 1fr;
    gap: 28px;
    align-items: start;
}

.bsi-contact-section h2 {
    font-size: clamp(2.6rem, 5vw, 5rem);
}

.bsi-contact-section > div:first-child p {
    color: var(--bsi-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.bsi-location-list {
    display: grid;
    gap: 14px;
}

.bsi-location-list article {
    padding: 24px;
}

.bsi-location-list strong {
    color: var(--bsi-clay);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.bsi-location-list h3 {
    margin-top: 8px;
    font-size: 1.6rem;
}

.bsi-site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 28px clamp(18px, 4vw, 64px);
    border-top: 1px solid var(--bsi-line);
    color: var(--bsi-muted);
}

.bsi-site-footer > div {
    display: grid;
    gap: 6px;
}

.bsi-site-footer strong {
    color: var(--bsi-ink);
}

.bsi-footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
    text-align: right;
    padding-right: 62px;
}

.bsi-footer-contact a {
    color: var(--bsi-teal);
    font-weight: 600;
}

.bsi-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 36;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bsi-ink);
    color: #fff;
    box-shadow: 0 12px 28px rgba(13, 59, 64, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.bsi-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.bsi-top span {
    font-size: 1.25rem;
    line-height: 1;
}

@keyframes bsi-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bsi-soft-scale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bsi-glow {
    0%,
    100% {
        box-shadow: 0 14px 34px rgba(13, 59, 64, 0.18);
    }
    50% {
        box-shadow: 0 20px 46px rgba(46, 127, 130, 0.24);
    }
}

.bsi-hero-copy,
.bsi-doctor-card,
.bsi-section-heading,
.bsi-feature-row article,
.bsi-procedure-card,
.bsi-quote-table,
.bsi-quote-summary,
.bsi-payment-grid article,
.bsi-review-card,
.bsi-location-list article,
.bsi-cv-panel {
    animation: bsi-fade-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bsi-doctor-card {
    animation-name: bsi-soft-scale;
}

.bsi-feature-row article:nth-child(2),
.bsi-procedure-card:nth-child(2),
.bsi-review-card:nth-child(2) {
    animation-delay: 90ms;
}

.bsi-feature-row article:nth-child(3),
.bsi-procedure-card:nth-child(3),
.bsi-review-card:nth-child(3) {
    animation-delay: 180ms;
}

.bsi-button-primary {
    animation: bsi-glow 4s ease-in-out infinite;
}

.bsi-feature-row article,
.bsi-procedure-card,
.bsi-payment-grid article,
.bsi-review-card,
.bsi-location-list article,
.bsi-doctor-card {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bsi-feature-row article:hover,
.bsi-procedure-card:hover,
.bsi-payment-grid article:hover,
.bsi-review-card:hover,
.bsi-location-list article:hover,
.bsi-doctor-card:hover {
    border-color: rgba(181, 113, 76, 0.28);
    box-shadow: 0 22px 70px rgba(13, 59, 64, 0.12);
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1100px) {
    .bsi-nav {
        align-items: flex-start;
        border-radius: 28px;
        flex-wrap: wrap;
    }

    .bsi-nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .bsi-hero-grid,
    .bsi-contact-section,
    .bsi-quote-layout,
    .bsi-cv-grid {
        grid-template-columns: 1fr;
    }

    .bsi-cv-media img {
        height: 380px;
    }

    .bsi-quote-summary {
        position: static;
    }

    .bsi-procedure-grid,
    .bsi-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .bsi-quote-table {
        overflow: visible;
    }

    .bsi-quote-head {
        display: none;
    }

    .bsi-quote-head,
    .bsi-quote-row {
        min-width: 0;
    }

    .bsi-quote-row {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        grid-template-areas:
            "add code qty"
            "add concept amount"
            "add meta meta";
        gap: 4px 10px;
        padding: 12px 14px;
    }

    .bsi-quote-add { grid-area: add; align-self: start; padding-top: 4px; }
    .bsi-quote-code { grid-area: code; font-size: 0.72rem; letter-spacing: 0.06em; }
    .bsi-quote-concept { grid-area: concept; min-width: 0; }
    .bsi-quote-qty-wrap { grid-area: qty; }
    .bsi-quote-amount { grid-area: amount; text-align: right; }
    .bsi-quote-unit { display: none; }
    .bsi-quote-price {
        grid-area: meta;
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.72);
    }
}

@media (max-width: 760px) {
    body.admin-bar .bsi-nav {
        top: 56px;
    }

    html {
        scroll-padding-top: 88px;
    }

    .bsi-hero {
        padding-top: 92px;
    }

    .bsi-nav {
        top: 10px;
        left: 12px;
        right: 12px;
    }

    .bsi-brand {
        min-width: 0;
    }

    .bsi-brand small {
        display: none;
    }

    .bsi-actions {
        width: 100%;
        justify-content: space-between;
    }

    .bsi-hero-grid {
        margin-top: 42px;
    }

    .bsi-doctor-card img {
        height: 540px;
    }

    .bsi-feature-row {
        display: none;
    }

    .bsi-procedure-grid,
    .bsi-payment-grid,
    .bsi-review-grid,
    .bsi-dn4-grid {
        grid-template-columns: 1fr;
    }

    .bsi-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .bsi-site-footer {
        flex-direction: column;
    }

    .bsi-footer-contact {
        justify-content: flex-start;
        text-align: left;
    }

    .bsi-price-grid {
        grid-template-columns: 1fr;
    }

    .bsi-dn4-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .bsi-hero {
        min-height: auto;
        padding: 88px 14px 46px;
    }

    .bsi-nav {
        gap: 14px;
        padding: 14px;
        border-radius: 22px;
    }

    .bsi-brand {
        width: 100%;
        min-width: 0;
    }

    .bsi-brand strong {
        font-size: 1.45rem;
    }

    .bsi-mark,
    .bsi-mark svg {
        width: 44px;
        height: 44px;
    }

    .bsi-nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
    }

    .bsi-nav-links a,
    .bsi-login {
        padding: 9px 10px;
        font-size: 0.84rem;
        text-align: center;
    }

    .bsi-actions {
        justify-content: flex-start;
    }

    .bsi-hero-grid {
        gap: 30px;
        margin-top: 18px;
    }

    .bsi-hero h1 {
        max-width: 100%;
        font-size: clamp(1.75rem, 8vw, 2.3rem);
        line-height: 1.1;
    }

    .bsi-lede {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.66;
    }

    .bsi-hero-buttons,
    .bsi-contact-actions,
    .bsi-trust-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .bsi-button,
    .bsi-trust-strip span {
        width: 100%;
    }

    .bsi-doctor-card img {
        height: 520px;
    }

    .bsi-services-head,
    .bsi-opinions-head,
    .bsi-services-list article,
    .bsi-opinion-person {
        grid-template-columns: 1fr;
        display: grid;
        align-items: start;
    }

    .bsi-services-head,
    .bsi-opinions-head {
        padding: 22px 18px 12px;
    }

    .bsi-opinions-tags {
        justify-content: flex-start;
        max-width: none;
    }

    .bsi-book-btn {
        width: 100%;
    }

    .bsi-opinion-slide {
        padding-left: 18px;
        padding-right: 18px;
    }

    .bsi-doctor-card > div {
        padding: 20px 16px 18px;
    }

    .bsi-call-chip,
    .bsi-wa-chip {
        font-size: 0.72rem;
        padding: 9px 8px;
        min-height: 40px;
    }

    .bsi-cv-grid {
        gap: 22px;
        padding: 22px 18px;
    }

    .bsi-cv-seals {
        padding: 16px 18px 22px;
    }

    .bsi-cv-media img {
        height: 320px;
    }

    .bsi-acc-panel {
        padding: 2px 16px 14px 20px;
    }

    .bsi-section {
        padding: 58px 14px;
    }

    .bsi-section-heading h2,
    .bsi-contact-section h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1.08;
    }

    .bsi-dn4-card {
        border-radius: 22px;
        padding: 18px;
    }

    .bsi-dn4-title {
        text-align: left;
    }

    .bsi-dn4-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bsi-dn4-row label {
        width: auto;
        border: 0;
        padding: 0;
        background: transparent;
    }

    .bsi-dn4-result {
        grid-template-columns: 1fr;
    }

    .bsi-feature-row {
        display: none;
    }

    .bsi-quote-document-head,
    .bsi-quote-fields {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .bsi-quote-table {
        margin-right: 0;
        overflow: visible;
        border-radius: 20px;
    }

    .bsi-quote-head {
        display: none;
    }

    .bsi-quote-row {
        min-width: 0;
        grid-template-columns: 28px minmax(0, 1fr) auto;
        grid-template-areas:
            "add code qty"
            "add concept amount"
            "add meta meta";
        gap: 4px 10px;
        padding: 12px;
    }

    .bsi-quote-add { grid-area: add; align-self: start; padding-top: 4px; }
    .bsi-quote-code { grid-area: code; font-size: 0.72rem; letter-spacing: 0.06em; }
    .bsi-quote-concept { grid-area: concept; min-width: 0; }
    .bsi-quote-qty-wrap { grid-area: qty; }
    .bsi-quote-amount { grid-area: amount; text-align: right; }
    .bsi-quote-unit {
        display: none;
    }

    .bsi-quote-price {
        grid-area: meta;
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.72);
    }

    .bsi-quote-concept strong {
        font-size: 0.92rem;
        line-height: 1.25;
    }

    .bsi-quote-row input[type="number"] {
        width: 58px;
        padding: 7px;
    }
}

@media print {
    @page {
        size: A4;
        margin: 12mm;
    }

    html,
    body {
        background: #fff !important;
        color: #0D3B40;
    }

    body.bsi-pdf-open .bsi-page,
    body.bsi-pdf-open .bsi-site-footer,
    body.bsi-pdf-open .bsi-nav,
    body.bsi-pdf-open .bsi-top,
    body.bsi-pdf-open .bsi-auth,
    body.bsi-pdf-open .bsi-panel,
    body.bsi-pdf-open .bsi-book,
    body.bsi-pdf-open .bsi-pdf-bar {
        display: none !important;
    }

    body.bsi-pdf-open .bsi-pdf {
        position: static;
        inset: auto;
        display: block;
        background: #fff;
        overflow: visible;
        padding: 0;
    }

    body.bsi-pdf-open .bsi-pdf-sheet {
        padding: 0;
        max-width: none;
    }

    body.bsi-pdf-open .bsi-pdf-page {
        width: auto;
        min-height: 0;
        margin: 0;
        padding: 0 0 8mm;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        page-break-after: always;
        break-after: page;
    }

    body.bsi-pdf-open .bsi-pdf-page:last-child {
        page-break-after: auto;
        break-after: auto;
        padding-bottom: 0;
    }
}

@media (max-width: 760px) {
    body.bsi-menu-open {
        overflow: hidden;
    }

    body.bsi-menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 19;
        background: rgba(13, 59, 64, 0.32);
        backdrop-filter: blur(2px);
    }

    body.admin-bar .bsi-nav {
        top: 56px;
    }

    .bsi-nav {
        top: 10px;
        left: 12px;
        right: 12px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px;
        border-radius: 22px;
        padding: 10px 12px;
    }

    .bsi-brand {
        width: auto;
        min-width: 0;
        gap: 8px;
    }

    .bsi-brand strong {
        max-width: 130px;
        font-size: 1rem;
        line-height: 0.92;
    }

    .bsi-brand small {
        display: none;
    }

    .bsi-mark,
    .bsi-mark svg {
        width: 40px;
        height: 40px;
    }

    .bsi-actions {
        width: auto;
        justify-content: flex-end;
        gap: 8px;
    }

    .bsi-language {
        width: auto;
        min-width: 84px;
        height: 46px;
        padding: 0 12px 0 14px;
        font-size: 0.82rem;
        font-weight: 700;
        gap: 7px;
    }

    .bsi-language::after {
        content: none;
    }

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

    .bsi-trust-strip {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bsi-trust-pill {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 12px;
    }

    .bsi-trust-pill span {
        width: auto;
    }

    .bsi-login,
    .bsi-mobile-login,
    .bsi-nav-links {
        display: none;
    }

    body.bsi-menu-open .bsi-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        grid-template-columns: 1fr auto auto;
        border-radius: 22px;
        padding: 16px;
        background: rgba(250, 249, 246, 0.96);
    }

    body.bsi-menu-open .bsi-brand {
        grid-column: 1 / 2;
        grid-row: 1;
    }

    body.bsi-menu-open .bsi-actions {
        grid-column: 2 / -1;
        grid-row: 1;
    }

    body.bsi-menu-open .bsi-language {
        display: none;
    }

    body.bsi-menu-open .bsi-mobile-login {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 2;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
        margin-top: 4px;
        border-radius: 14px;
        background: var(--bsi-ink);
        color: var(--bsi-white);
        font-weight: 700;
    }

    body.bsi-menu-open .bsi-nav-links {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        gap: 2px;
        width: 100%;
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid rgba(181, 113, 76, 0.18);
    }

    body.bsi-menu-open .bsi-nav-links a {
        padding: 12px 6px;
        text-align: left;
        color: var(--bsi-teal);
    }

    body.bsi-menu-open .bsi-nav-links a.is-active {
        color: #fff;
        background: var(--bsi-teal);
    }

    body.bsi-menu-open .bsi-menu-toggle span:nth-child(1) {
        display: none;
    }

    body.bsi-menu-open .bsi-menu-toggle span {
        display: none;
    }

    body.bsi-menu-open .bsi-menu-toggle::before {
        content: "×";
        font-size: 1.45rem;
        line-height: 1;
    }
}

.bsi-auth,
.bsi-panel {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(13, 59, 64, 0.52);
    backdrop-filter: blur(12px);
}

.bsi-auth[hidden],
.bsi-panel[hidden] {
    display: none;
}

.bsi-auth-card,
.bsi-panel-card {
    position: relative;
    width: min(480px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 32px 28px;
    border-radius: 28px;
    background: var(--bsi-sand);
    box-shadow: 0 40px 90px rgba(13, 59, 64, 0.28);
}

.bsi-panel-card {
    width: min(760px, 100%);
}

.bsi-price-form {
    display: grid;
    gap: 22px;
    margin: 8px 0 22px;
}

.bsi-price-form h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.bsi-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bsi-price-field {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--bsi-line);
    border-radius: 16px;
    background: #fff;
    font-size: 0.86rem;
    font-weight: 700;
}

.bsi-price-field input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--bsi-line);
    border-radius: 12px;
    font: inherit;
    font-weight: 600;
}

.bsi-price-status {
    min-height: 1.2em;
    margin: 0;
    color: var(--bsi-teal);
    font-weight: 700;
}

.bsi-auth-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--bsi-ink);
    font-size: 1.6rem;
    cursor: pointer;
}

.bsi-auth-card h2,
.bsi-panel-card h2 {
    margin: 6px 0 8px;
    font-size: 2rem;
}

.bsi-auth-card p,
.bsi-panel-card p,
.bsi-auth-hint {
    color: var(--bsi-muted);
    line-height: 1.55;
}

.bsi-auth-card label {
    display: grid;
    gap: 6px;
    margin: 14px 0;
    font-weight: 700;
}

.bsi-auth-card input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--bsi-line);
    border-radius: 14px;
    font: inherit;
}

.bsi-auth-hint {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(46, 127, 130, 0.1);
    color: var(--bsi-ink);
    font-size: 0.92rem;
}

.bsi-auth-hint strong {
    color: var(--bsi-teal);
}

.bsi-auth-status {
    min-height: 1.3em;
    margin: 8px 0 0;
    color: #b42318;
}

.bsi-panel-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 22px;
}

.bsi-panel-list article {
    padding: 14px 16px;
    border: 1px solid var(--bsi-line);
    border-radius: 18px;
    background: #fff;
}

.bsi-panel-list strong {
    display: block;
    margin-bottom: 4px;
}

.bsi-panel-list span {
    display: block;
    color: var(--bsi-muted);
    font-size: 0.92rem;
}

.bsi-panel-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bsi-login.is-in {
    background: var(--bsi-teal);
}

.bsi-pdf[hidden] {
    display: none;
}

.bsi-pdf {
    position: fixed;
    inset: 0;
    z-index: 200;
    overflow: auto;
    background: #d8d4cc;
    color: var(--bsi-ink);
}

body.bsi-pdf-open {
    overflow: hidden;
}

body.bsi-pdf-open .bsi-page,
body.bsi-pdf-open .bsi-site-footer,
body.bsi-pdf-open .bsi-top,
body.bsi-pdf-open .bsi-nav {
    visibility: hidden;
}

.bsi-pdf-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px clamp(16px, 4vw, 40px);
    background: rgba(250, 249, 246, 0.96);
    border-bottom: 1px solid var(--bsi-line);
    backdrop-filter: blur(16px);
}

.bsi-pdf-bar strong {
    display: block;
    font-size: 1.05rem;
}

.bsi-pdf-bar span {
    color: var(--bsi-muted);
    font-size: 0.92rem;
}

.bsi-pdf-bar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bsi-pdf-sheet {
    display: grid;
    gap: 22px;
    max-width: 920px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.bsi-pdf-page {
    min-height: 1040px;
    padding: 36px 40px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(13, 59, 64, 0.16);
}

.bsi-pdf-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--bsi-ink);
}

.bsi-pdf-head strong {
    display: block;
    font-family: "Spectral", Georgia, serif;
    font-size: 1.6rem;
}

.bsi-pdf-head span {
    display: block;
    color: var(--bsi-muted);
}

.bsi-pdf-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0 0 18px;
}

.bsi-pdf-meta div {
    display: grid;
    gap: 2px;
}

.bsi-pdf-meta dt {
    color: var(--bsi-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bsi-pdf-meta dd {
    margin: 0;
    font-weight: 700;
}

.bsi-pdf-table {
    width: 100%;
    border-collapse: collapse;
}

.bsi-pdf-table th,
.bsi-pdf-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--bsi-line);
    text-align: left;
    vertical-align: top;
}

.bsi-pdf-table th {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bsi-muted);
}

.bsi-pdf-table small {
    display: block;
    color: var(--bsi-muted);
}

.bsi-pdf-dn4 td:last-child {
    width: 90px;
    font-weight: 700;
}

.bsi-pdf-dn4 td.is-yes {
    color: var(--bsi-teal);
}

.bsi-pdf-totals {
    display: grid;
    gap: 8px;
    max-width: 360px;
    margin: 22px 0 0 auto;
}

.bsi-pdf-totals div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.bsi-pdf-totals .is-total {
    padding-top: 8px;
    border-top: 2px solid var(--bsi-ink);
    font-size: 1.15rem;
}

.bsi-pdf-notes {
    margin-top: 22px;
    color: var(--bsi-muted);
    line-height: 1.55;
}

.bsi-pdf-score {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--bsi-line);
    border-radius: 18px;
}

.bsi-pdf-score strong {
    font-size: 2rem;
}

.bsi-pdf-cv {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.bsi-pdf-cv img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 18px;
}

.bsi-pdf-cv h3 {
    margin: 0 0 6px;
    font-size: 1.7rem;
}

.bsi-pdf-cv ul {
    padding-left: 18px;
}

.bsi-pdf-cv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bsi-pdf-cv-block {
    padding: 14px 16px;
    border: 1px solid var(--bsi-line);
    border-radius: 16px;
}

.bsi-pdf-cv-block h4 {
    margin: 0 0 8px;
}

.bsi-pdf-cv-block ul {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 760px) {
    .bsi-pdf-bar,
    .bsi-pdf-cv,
    .bsi-pdf-meta,
    .bsi-pdf-cv-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .bsi-pdf-bar {
        display: grid;
    }

    .bsi-pdf-page {
        min-height: 0;
        padding: 22px 18px;
    }
}
