:root {
    --primary: #0061a2;
    --primary-dark: #004a7c;
    --primary-light: #e8f4fb;
    --accent: #00a6d6;
    --text: #172432;
    --muted: #667789;
    --line: #dbe7ef;
    --bg: #f5f9fc;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(0, 67, 112, 0.12);
    --radius: 24px;
    --radius-sm: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.65;
}

body.modal-open {
    overflow: hidden;
}

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

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

p {
    margin: 0 0 18px;
}

ul,
ol {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 18px;
    line-height: 1.16;
    color: var(--text);
}

h1 {
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    letter-spacing: -0.8px;
}

h3 {
    font-size: 21px;
    font-weight: 800;
}

.text-center {
    text-align: center;
}

.text-lg-end {
    text-align: left;
}

@media (min-width: 992px) {
    .text-lg-end {
        text-align: right;
    }
}

.material-symbols-outlined {
    font-size: 22px;
    line-height: 1;
    vertical-align: middle;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.28s ease, background-color 0.28s ease, color 0.22s ease, border-color 0.22s ease;
}

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

.btn-primary {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 14px 30px rgba(0, 97, 162, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 16px 34px rgba(0, 74, 124, 0.3);
}

.btn-outline {
    color: var(--primary);
    background: var(--white);
    border: 1px solid rgba(0, 97, 162, 0.22);
}

.btn-light {
    color: var(--primary);
    background: var(--white);
    box-shadow: 0 14px 30px rgba(0, 40, 70, 0.12);
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-lead,
.lead {
    color: #34495d;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 600;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 46px;
}

.section-heading p:not(.section-kicker) {
    color: var(--muted);
    font-size: 18px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 97, 162, 0.1);
}

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

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 42px;
}

.topbar__contacts {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.socials__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--primary);
    background: var(--white);
    font-size: 17px;
    font-weight: 900;
    transition: transform 0.22s ease, background 0.28s ease, background-color 0.28s ease, color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.socials__link:hover {
    transform: translateY(-2px);
    background: #dff3ff;
}

.socials__link .material-symbols-outlined {
    font-size: 17px;
}

/* Brand social icons */
.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.social-icon {
    width: 17px;
    height: 17px;
    display: block;
    fill: currentColor;
}

.socials--large .social-icon {
    width: 22px;
    height: 22px;
}

.footer-socials {
    justify-content: flex-end;
    margin-top: 14px;
}

.site-footer .socials__link {
    color: #09283f;
    background: #ffffff;
}

.site-footer .socials__link:hover {
    color: var(--primary);
    background: #dff3ff;
}

.socials__link--facebook {
    color: #1877f2;
    background: #ffffff;
}

.socials__link--instagram {
    color: #E4405F;
    background: #ffffff;
}

.socials__link--whatsapp {
    color: #25d366;
    background: #ffffff;
}

.socials__link--facebook:hover,
.site-footer .socials__link--facebook:hover {
    color: #1877f2;
    background: #e8f1ff;
}

.socials__link--instagram:hover,
.site-footer .socials__link--instagram:hover {
    color: #E4405F;
    background: #fde9f1;
}

.socials__link--whatsapp:hover,
.site-footer .socials__link--whatsapp:hover {
    color: #25d366;
    background: #e9fbf0;
}

.nav-item {
    position: relative;
}

.nav-item__head {
    display: inline-flex;
    align-items: center;
    gap: 0;
    max-width: 100%;
}

.nav-link--root {
    text-decoration: none;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 0 0 4px;
    border: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
}

.nav-dropdown-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.nav-dropdown-toggle .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.nav-item--dropdown:hover .nav-dropdown-toggle .material-symbols-outlined,
.nav-item--dropdown:focus-within .nav-dropdown-toggle .material-symbols-outlined {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: calc(100% + 18px);
    left: -18px;
    z-index: 30;
    width: 250px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item--dropdown:hover .submenu,
.nav-item--dropdown:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
}

.submenu a {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
    color: #2d4154;
    font-size: 14px;
    font-weight: 800;
    transition: background-color 0.24s ease, color 0.2s ease;
}

.submenu a:hover {
    color: var(--primary);
    background: var(--primary-light);
}


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

.logo img {
    width: 188px;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.main-nav a,
.nav-link {
    color: #2d4154;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.main-nav a:hover,
.nav-link:hover {
    color: var(--primary);
}

.header-cta {
    min-height: 46px;
    padding: 11px 18px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: var(--primary);
    background: var(--primary-light);
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 82% 18%, rgba(0, 166, 214, 0.18), transparent 35%),
        linear-gradient(135deg, #eff8fd 0%, #ffffff 48%, #e7f4fb 100%);
}

.hero::before {
    content: '';
    position: absolute;
    right: -120px;
    top: 105px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(0, 97, 162, 0.08);
}

.hero::after {
    content: '';
    position: absolute;
    left: -130px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(0, 166, 214, 0.13);
}

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

.hero__content {
    max-width: 780px;
}

.hero-breadcrumbs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.hero-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
}

.hero-breadcrumbs a:hover {
    color: var(--primary-dark);
}

.hero-breadcrumbs .material-symbols-outlined {
    font-size: 18px;
}

.hero__content p:not(.eyebrow):not(.lead) {
    color: var(--muted);
    font-size: 17px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0 28px;
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__features div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(0, 97, 162, 0.12);
    border-radius: 999px;
    color: #385066;
    background: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 800;
}

.hero__features .material-symbols-outlined {
    color: var(--primary);
    font-size: 19px;
}

.hero-card {
    position: relative;
    padding: 36px;
    border-radius: 32px;
    color: var(--white);
    background: linear-gradient(145deg, var(--primary) 0%, #003e69 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card::after {
    content: '';
    position: absolute;
    right: -70px;
    top: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
}

.hero-card h2,
.hero-card p,
.hero-card li {
    color: var(--white);
}

.hero-card p {
    opacity: 0.9;
}

.hero-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
}

.hero-card__icon .material-symbols-outlined {
    font-size: 38px;
}

.check-list {
    padding: 0;
    margin: 0 0 26px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #8ce6ff;
    font-weight: 900;
}

.check-list--blue li::before {
    color: var(--primary);
}

/* Trust */
.trust-strip {
    position: relative;
    z-index: 3;
    margin-top: -38px;
    padding-bottom: 22px;
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 70px;
    padding: 14px;
    border-radius: 16px;
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 800;
    text-align: center;
    transition: background-color 0.24s ease, color 0.2s ease, transform 0.22s ease;
}

/* Cards */
.content-card,
.service-card,
.form-card,
.contact-info,
.link-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.content-card {
    padding: 32px;
}

.content-card--shadow {
    box-shadow: var(--shadow);
}

.small-title {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 17px;
}

.icon-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 11px;
    color: #334b60;
    font-weight: 700;
}

.icon-list .material-symbols-outlined {
    margin-top: 2px;
    color: var(--primary);
    font-size: 20px;
}

.accent-panel {
    min-height: 100%;
    padding: 36px;
    border-radius: 32px;
    color: var(--white);
    background: linear-gradient(145deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: var(--shadow);
}

.accent-panel h2,
.accent-panel p {
    color: var(--white);
}

.accent-panel .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 38px;
}

.service-card {
    height: 100%;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0, 67, 112, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-card--featured {
    border-color: rgba(0, 97, 162, 0.28);
    box-shadow: var(--shadow);
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    border-radius: 20px;
    color: var(--primary);
    background: var(--primary-light);
}

.service-card__icon .material-symbols-outlined {
    font-size: 36px;
}

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

.service-card ul {
    padding-left: 19px;
    margin-bottom: 0;
    color: #354d62;
    font-size: 15px;
}

.service-card li {
    margin-bottom: 8px;
}

.cta-band {
    padding: 46px 0;
    color: var(--white);
    background: linear-gradient(120deg, var(--primary) 0%, #003e69 100%);
}

.cta-band h2,
.cta-band p {
    color: var(--white);
}

.cta-band p {
    margin-bottom: 0;
    opacity: 0.92;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.method-item {
    padding: 20px;
    border-radius: 18px;
    background: var(--primary-light);
    transition: background-color 0.24s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.method-item .material-symbols-outlined {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 34px;
}

.method-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 17px;
}

.method-item p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.rehab-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.rehab-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 110px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0, 67, 112, 0.06);
}

.rehab-list .material-symbols-outlined {
    color: var(--primary);
    font-size: 32px;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.timeline-item {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(0, 67, 112, 0.06);
}

.timeline-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--white);
    background: var(--primary);
    font-weight: 900;
}

.timeline-item h3 {
    font-size: 19px;
}

.timeline-item p {
    margin-bottom: 0;
    color: var(--muted);
}

.section-blue {
    color: var(--white);
    background: linear-gradient(135deg, #005286 0%, var(--primary) 48%, #00375d 100%);
}

.section-blue h2,
.section-blue p,
.section-blue li {
    color: var(--white);
}

.white-list {
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.white-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.white-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8ce6ff;
    font-weight: 900;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.benefits-grid div {
    min-height: 148px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    color: #34495d;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(0, 67, 112, 0.06);
}

.benefits-grid .material-symbols-outlined {
    display: block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 32px;
}

.faq details {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    overflow: hidden;
    transition: height 0.34s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    will-change: height;
}

.faq details[open] {
    border-color: rgba(0, 97, 162, 0.18);
    box-shadow: 0 10px 28px rgba(0, 67, 112, 0.06);
}

.faq summary {
    position: relative;
    padding: 20px 54px 20px 22px;
    cursor: pointer;
    color: var(--text);
    font-weight: 800;
    list-style: none;
    transition: background-color 0.24s ease, color 0.2s ease;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 22px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    color: var(--primary);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    transition: color 0.2s ease;
}

.faq details[open] summary::after {
    content: '−';
    transform: translateY(-50%);
}

/* Пока идёт анимация закрытия, [open] ещё true — сразу показываем «+». */
.faq details.faq-details--closing summary::after {
    content: '+';
    transform: translateY(-50%);
}

.faq p {
    padding: 0 22px 22px;
    margin: 0;
    color: var(--muted);
    animation: faqTextIn 0.28s ease;
}

@keyframes faqTextIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.links-section {
    padding-top: 70px;
}

.link-card {
    display: block;
    height: 100%;
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 97, 162, 0.32);
    box-shadow: var(--shadow);
}

.link-card .material-symbols-outlined {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 36px;
}

.link-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 18px;
}

.link-card small {
    display: block;
    color: var(--muted);
    line-height: 1.5;
}

/* Contact */
.contact-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 166, 214, 0.14), transparent 30%),
        linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.contact-info,
.form-card {
    height: 100%;
    padding: 34px;
    box-shadow: var(--shadow);
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--primary);
    font-weight: 800;
}

.contact-info__item .material-symbols-outlined {
    font-size: 28px;
}

.socials--large {
    margin-top: 28px;
}

.socials--large .socials__link {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid rgba(0, 97, 162, 0.14);
    box-shadow: 0 10px 24px rgba(0, 67, 112, 0.08);
}

.socials--large .socials__link--facebook { color: #1877f2; }
.socials--large .socials__link--instagram { color: #E4405F; }
.socials--large .socials__link--whatsapp { color: #25d366; }

form label {
    display: block;
    margin-bottom: 8px;
    color: #40566b;
    font-size: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cddde8;
    border-radius: 14px;
    padding: 14px 15px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 97, 162, 0.1);
}

textarea {
    resize: vertical;
}

.file-field {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    margin: 0;
    border: 1px dashed rgba(0, 97, 162, 0.38);
    border-radius: 16px;
    color: var(--primary);
    background: var(--primary-light);
    cursor: pointer;
    transition: background-color 0.24s ease, border-color 0.22s ease, color 0.2s ease;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
    margin-top: 5px;
}

.checkbox span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.form-note {
    margin: 14px 0 0;
    color: var(--primary);
    font-weight: 800;
}

/* Footer */
.site-footer {
    padding: 38px 0;
    color: rgba(255, 255, 255, 0.86);
    background: #09283f;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
    color: var(--white);
    font-weight: 800;
}

.footer-logo img {
    width: 180px;
    padding: 10px 14px;
    border-radius: 16px;
    background: var(--white);
}


.footer-contacts-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--white);
    font-weight: 800;
}

.footer-contact-link .material-symbols-outlined {
    font-size: 20px;
}


/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

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

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 24, 38, 0.62);
    backdrop-filter: blur(5px);
}

.modal__dialog {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 34px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: var(--primary);
    background: var(--primary-light);
    cursor: pointer;
}

.modal-form input,
.modal-form textarea {
    margin-bottom: 14px;
}

.modal-form .checkbox {
    margin: 4px 0 18px;
}

/* Responsive */
@media (max-width: 1199px) {
    .main-nav {
        gap: 14px;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 991px) {
    .section {
        padding: 68px 0;
    }

    .topbar__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
    }

    .topbar__contacts {
        gap: 10px 18px;
    }

    .navbar__inner {
        min-height: 74px;
    }

    .logo img {
        width: 162px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px 24px 24px;
        border-top: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 20px 35px rgba(0, 67, 112, 0.12);
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-item__head {
        display: flex;
        width: 100%;
        align-items: stretch;
        border-bottom: 1px solid #eef4f8;
    }

    .nav-item__head .nav-link--root {
        flex: 1;
        min-width: 0;
        padding: 12px 8px 12px 0;
        white-space: normal;
    }

    .main-nav .nav-dropdown-toggle {
        flex: 0 0 48px;
        width: 48px;
        min-height: 48px;
        padding: 0;
        align-self: stretch;
        border-left: 1px solid #eef4f8;
        justify-content: center;
    }

    .main-nav .submenu a {
        width: 100%;
    }

    .nav-item,
    .nav-item--dropdown {
        width: 100%;
    }

    .submenu {
        position: static;
        display: none;
        width: 100%;
        padding: 4px 0 8px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-item--dropdown:hover .submenu,
    .nav-item--dropdown:focus-within .submenu,
    .nav-item--dropdown.is-open .submenu {
        display: block;
    }

    .submenu::before {
        display: none;
    }

    .submenu a {
        padding: 9px 12px;
        border-bottom: 0;
        color: var(--muted);
    }

    .hero {
        min-height: auto;
        padding-top: 62px;
    }

    .trust-strip {
        margin-top: 0;
        padding-top: 24px;
    }

    .trust-strip__grid,
    .benefits-grid,
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .topbar__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 42px;
        padding: 4px 0;
    }

    .topbar__contacts {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .topbar__link {
        justify-content: center;
        width: 32px;
        height: 32px;
        gap: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.16);
    }

    .topbar__link .material-symbols-outlined {
        font-size: 18px;
    }

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

    .topbar .socials {
        flex: 0 0 auto;
        gap: 5px;
    }

    .topbar .socials__link {
        width: 32px;
        height: 32px;
    }

    .topbar .social-icon {
        width: 16px;
        height: 16px;
    }

    .hero__actions,
    .hero__features {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-card,
    .content-card,
    .service-card,
    .accent-panel,
    .contact-info,
    .form-card,
    .modal__dialog {
        padding: 24px;
        border-radius: 22px;
    }

    .trust-strip__grid,
    .benefits-grid,
    .timeline,
    .method-grid,
    .rehab-list {
        grid-template-columns: 1fr;
    }

    .trust-item {
        justify-content: flex-start;
    }

    .section-heading {
        text-align: left;
    }

    .footer-logo img {
        width: 150px;
    }
}

.site-footer .socials__link--facebook { color: #1877f2; }
.site-footer .socials__link--instagram { color: #E4405F; }
.site-footer .socials__link--whatsapp { color: #25d366; }


/* Oncology page additions */
.two-columns {
    columns: 2;
    column-gap: 24px;
}

.two-columns li {
    break-inside: avoid;
}

.method-grid--three {
    grid-template-columns: repeat(4, 1fr);
}

/* Related directions with previews */
.related-card {
    display: block;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 67, 112, 0.07);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.related-card:hover { transform: translateY(-6px); border-color: rgba(0, 97, 162, 0.34); box-shadow: var(--shadow); }
.related-card__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--primary-light); }
.related-card__image::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0, 54, 91, 0.18) 100%); pointer-events: none; }
.related-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.related-card:hover .related-card__image img { transform: scale(1.035); }
.related-card__body { padding: 24px; }
.related-card__tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 7px 11px; border-radius: 999px; color: var(--primary); background: var(--primary-light); font-size: 13px; font-weight: 800; }
.related-card__tag .material-symbols-outlined { font-size: 18px; }
.related-card h3 { margin-bottom: 10px; font-size: 21px; }
.related-card p { color: var(--muted); font-size: 15px; }
.related-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 800; }
.related-card__more .material-symbols-outlined { font-size: 18px; transition: transform 0.2s ease; }
.related-card:hover .related-card__more .material-symbols-outlined { transform: translateX(3px); }

/* Testimonials */
.testimonials-section { background: radial-gradient(circle at 86% 12%, rgba(0, 166, 214, 0.14), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%); }
.testimonial-card { height: 100%; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 35px rgba(0, 67, 112, 0.07); }
.testimonial-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.testimonial-card__avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; color: var(--white); background: linear-gradient(145deg, var(--primary), var(--accent)); font-size: 21px; font-weight: 900; box-shadow: 0 12px 26px rgba(0, 97, 162, 0.22); }
.testimonial-card h3 { margin-bottom: 4px; font-size: 18px; }
.testimonial-card__top p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 800; }
.testimonial-card__text { margin-bottom: 0; color: #34495d; font-size: 15px; }

/* Footer disclaimer */
.footer-disclaimer { padding: 28px 0; background: #f5f9fc; }
.footer-disclaimer__box { padding: 20px 24px; border: 1px solid rgba(0, 97, 162, 0.16); border-radius: 18px; background: var(--white); color: var(--muted); box-shadow: 0 10px 28px rgba(0, 67, 112, 0.05); }
.footer-disclaimer__box strong { display: block; margin-bottom: 8px; color: var(--text); }
.footer-disclaimer__box p { margin: 0; font-size: 14px; }

@media (max-width: 991px) { .method-grid--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .two-columns { columns: 1; } .method-grid--three { grid-template-columns: 1fr; } .testimonial-card { padding: 24px; } }


/* Mobile dropdown fix: open only by JS class, not by sticky hover/focus */
@media (max-width: 991px) {
    .nav-item--dropdown:hover .submenu,
    .nav-item--dropdown:focus-within .submenu {
        display: none;
    }

    .nav-item--dropdown.is-open .submenu {
        display: block;
    }

    .nav-item--dropdown .nav-dropdown-toggle .material-symbols-outlined {
        transform: none;
    }

    .nav-item--dropdown.is-open .nav-dropdown-toggle .material-symbols-outlined {
        transform: rotate(180deg);
    }
}

/* Compact footer contacts on mobile */
@media (max-width: 767px) {
    .site-footer .row {
        text-align: left;
    }

    .site-footer .text-lg-end {
        text-align: right;
    }

    .footer-contacts-row {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        flex-wrap: nowrap;
        margin-top: 4px;
    }

    .footer-contact-link {
        justify-content: center;
        flex: 0 0 auto;
        width: 32px;
        height: 32px;
        gap: 0;
        border-radius: 50%;
        color: var(--white);
        background: rgba(255, 255, 255, 0.12);
    }

    .footer-contact-link .material-symbols-outlined {
        font-size: 18px;
    }

    .footer-contact-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .footer-socials {
        justify-content: flex-end;
        margin-top: 0;
        gap: 5px;
        flex: 0 0 auto;
    }

    .site-footer .socials__link {
        width: 32px;
        height: 32px;
    }

    .site-footer .social-icon {
        width: 16px;
        height: 16px;
    }
}

/* ======================================================
   BREADCRUMBS
   ====================================================== */
.breadcrumbs-nav {
    padding: 9px 0;
    background: var(--primary-light);
    border-bottom: 1px solid rgba(0, 97, 162, 0.1);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.15s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-dark);
}

.breadcrumbs li[aria-current="page"] {
    color: var(--text);
}

.breadcrumbs .material-symbols-outlined {
    font-size: 15px;
    vertical-align: middle;
}

.breadcrumbs__sep {
    color: var(--muted);
    opacity: 0.55;
    font-size: 15px;
    line-height: 1;
}

/* ======================================================
   TELEGRAM ICON
   ====================================================== */
.socials__link--telegram {
    color: #229ED9;
    background: #ffffff;
}

.socials__link--telegram:hover,
.site-footer .socials__link--telegram:hover {
    color: #229ED9;
    background: #e5f4fd;
}

.socials--large .socials__link--telegram {
    color: #229ED9;
}

.site-footer .socials__link--telegram {
    color: #229ED9;
}

/* ======================================================
   IMPROVED LINK-CARDS WITH VISUAL IMAGE AREA
   ====================================================== */
.link-card-v2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 67, 112, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.link-card-v2:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 97, 162, 0.32);
    box-shadow: var(--shadow);
}

.link-card-v2__img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    position: relative;
    overflow: hidden;
}

.link-card-v2__img .material-symbols-outlined {
    font-size: 52px;
    opacity: 0.75;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.link-card-v2__img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.12;
}

.link-card-v2--cardio .link-card-v2__img { background: linear-gradient(135deg, #c02828 0%, #e85454 100%); }
.link-card-v2--oncology .link-card-v2__img { background: linear-gradient(135deg, #006b4e 0%, #00a374 100%); }
.link-card-v2--gyneco .link-card-v2__img { background: linear-gradient(135deg, #7b2d8b 0%, #b857c9 100%); }
.link-card-v2--checkup .link-card-v2__img { background: linear-gradient(135deg, #0061a2 0%, #00a6d6 100%); }

.link-card-v2__body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.link-card-v2 strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.link-card-v2 small {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.link-card-v2__more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.link-card-v2__more .material-symbols-outlined {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.link-card-v2:hover .link-card-v2__more .material-symbols-outlined {
    transform: translateX(4px);
}

/* ======================================================
   HERO TELEGRAM BUTTON VARIANT
   ====================================================== */
.btn-telegram {
    color: #ffffff;
    background: linear-gradient(135deg, #229ED9 0%, #1a84b8 100%);
    box-shadow: 0 14px 30px rgba(34, 158, 217, 0.3);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #1e8fc4 0%, #156ea0 100%);
    box-shadow: 0 16px 36px rgba(34, 158, 217, 0.4);
}

/* ======================================================
   SECOND OPINION PAGE
   ====================================================== */
.hero.hero--second-opinion::before,
.hero.hero--second-opinion::after {
    display: none;
}

.hero--second-opinion {
    background: linear-gradient(
        180deg,
        #e8f1f8 0%,
        #eef5fb 18%,
        #f5f9fc 40%,
        #fafcfd 68%,
        #ffffff 100%
    );
}

/* Узкий верх страницы (только крошки / ввод) — тот же плавный фон, без «пятен» */
.hero.hero--page-intro {
    min-height: 0;
    padding: 40px 0 36px;
    align-items: flex-start;
    background: linear-gradient(
        180deg,
        #e8f1f8 0%,
        #eef5fb 22%,
        #f6fafc 55%,
        #ffffff 100%
    );
}

.hero.hero--page-intro::before,
.hero.hero--page-intro::after {
    display: none;
}

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

.price-card {
    height: 100%;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 35px rgba(0, 67, 112, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 97, 162, 0.28);
    box-shadow: var(--shadow);
}

.price-card--featured {
    border-color: rgba(0, 97, 162, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #f2f9fd 100%);
}

.price-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 22px;
    border-radius: 22px;
    color: var(--primary);
    background: var(--primary-light);
}

.price-card__icon .material-symbols-outlined {
    font-size: 38px;
}

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

.price-card strong {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--white);
    background: var(--primary);
    font-size: 20px;
    line-height: 1;
}

.medical-info-section {
    background: #ffffff;
}

.medical-info-box {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    padding: 34px;
    border: 1px solid rgba(0, 97, 162, 0.14);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 95% 8%, rgba(0, 166, 214, 0.12), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f5f9fc 100%);
    box-shadow: 0 14px 38px rgba(0, 67, 112, 0.07);
}

.medical-info-box h2 {
    margin-bottom: 14px;
}

.medical-info-box p {
    color: var(--muted);
}

.medical-info-box__main p:last-child,
.medical-info-box__aside p:last-child {
    margin-bottom: 0;
}

.medical-info-box__aside {
    display: grid;
    gap: 16px;
}

.medical-info-box__aside > div {
    padding: 22px;
    border: 1px solid rgba(0, 97, 162, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
}

.medical-info-box__aside .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 15px;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 26px;
}

.medical-info-box__aside strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 700;
}

@media (max-width: 991px) {
    .benefits-grid--six {
        grid-template-columns: repeat(2, 1fr);
    }

    .medical-info-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .benefits-grid--six {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 24px;
    }

    .medical-info-box {
        padding: 24px;
    }
}

/* Polished controls and footer */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0088c8 100%);
    box-shadow: 0 16px 34px rgba(0, 97, 162, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 20px 42px rgba(0, 74, 124, 0.34);
}

.btn-outline {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 97, 162, 0.2);
    box-shadow: 0 12px 26px rgba(0, 67, 112, 0.08);
}

.btn-outline:hover {
    color: var(--white);
    background: var(--primary);
}

.socials__link {
    box-shadow: 0 8px 18px rgba(0, 36, 62, 0.16);
}

.socials__link--telegram,
.site-footer .socials__link--telegram {
    color: #ffffff;
    background: linear-gradient(135deg, #2aa7df 0%, #1688c2 100%);
}

.socials__link--whatsapp,
.site-footer .socials__link--whatsapp {
    color: #ffffff;
    background: linear-gradient(135deg, #35d16f 0%, #1cae55 100%);
}

.socials__link--facebook,
.site-footer .socials__link--facebook {
    color: #ffffff;
    background: linear-gradient(135deg, #3578e5 0%, #1558c0 100%);
}

.socials__link--instagram,
.site-footer .socials__link--instagram {
    color: #ffffff;
    background: linear-gradient(135deg, #f26a5f 0%, #c13584 55%, #7b2cbf 100%);
}

.socials__link:hover,
.site-footer .socials__link:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    filter: saturate(1.1);
}

.socials__link--telegram:hover,
.site-footer .socials__link--telegram:hover {
    background: linear-gradient(135deg, #2aa7df 0%, #1688c2 100%);
}

.socials__link--whatsapp:hover,
.site-footer .socials__link--whatsapp:hover {
    background: linear-gradient(135deg, #35d16f 0%, #1cae55 100%);
}

.socials__link--facebook:hover,
.site-footer .socials__link--facebook:hover {
    background: linear-gradient(135deg, #3578e5 0%, #1558c0 100%);
}

.socials__link--instagram:hover,
.site-footer .socials__link--instagram:hover {
    background: linear-gradient(135deg, #f26a5f 0%, #c13584 55%, #7b2cbf 100%);
}

.contact-socials {
    margin-top: 26px;
}

.site-footer {
    padding: 64px 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 166, 214, 0.2), transparent 30%),
        linear-gradient(135deg, #072239 0%, #0b3452 52%, #06192a 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
    gap: 34px;
    align-items: start;
}

.footer-brand p {
    max-width: 360px;
    margin-top: 18px;
}

.footer-col h3 {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 16px;
    letter-spacing: 0;
}

.footer-col > a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, background-color 0.24s ease;
}

.footer-col > a:hover {
    color: var(--white);
}

.footer-contacts-row--brand {
    align-items: flex-start;
    margin-top: 22px;
}

.footer-contacts-row--brand .footer-contact-link {
    justify-content: flex-start;
}

.footer-socials {
    justify-content: flex-start;
    margin-top: 18px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 46px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-contacts-row--brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-contacts-row--brand .footer-contact-link {
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
    }

    .footer-contacts-row--brand .footer-contact-text {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }
}

/* Softer typography and refined buttons */
h1 {
    font-weight: 700;
    letter-spacing: -1.1px;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.45px;
}

h3,
.small-title {
    font-weight: 700;
}

.section-kicker,
.eyebrow,
.main-nav a,
.nav-link,
.submenu a,
.hero__features div,
.trust-item,
.check-list li,
.icon-list li,
.benefits-grid div,
.rehab-list div,
.footer-col a,
form label {
    font-weight: 600;
}

.lead,
.section-lead {
    font-weight: 500;
}

.btn {
    position: relative;
    overflow: hidden;
    min-height: 54px;
    padding: 14px 24px;
    font-weight: 700;
    letter-spacing: 0.01em;
    isolation: isolate;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0061a2 0%, #008dcc 35%, #00a6d6 50%, #0078b7 70%, #004a7c 100%);
    background-size: 220% 100%;
    background-position: 0 50%;
    box-shadow: 0 18px 38px rgba(0, 97, 162, 0.3);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-position 0.45s ease, color 0.22s ease;
}

.btn-primary:hover {
    background-position: 100% 50%;
    box-shadow: 0 22px 48px rgba(0, 74, 124, 0.36);
}

.btn-outline {
    color: var(--primary-dark);
    background:
        linear-gradient(135deg, #ffffff 0%, #ffffff 45%, var(--primary) 55%, #00a6d6 100%) padding-box,
        linear-gradient(135deg, rgba(0, 97, 162, 0.42), rgba(0, 166, 214, 0.34)) border-box;
    background-size: 240% 100%, 100% 100%;
    background-position: 0 50%, 0 0;
    border: 1px solid transparent;
    box-shadow: 0 14px 30px rgba(0, 67, 112, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-position 0.45s ease, color 0.22s ease;
}

.btn-outline:hover {
    color: var(--white);
    background-position: 100% 50%, 0 0;
}

.btn-light {
    color: var(--primary-dark);
    background:
        linear-gradient(135deg, #ffffff 0%, #eef8fd 45%, #dff3ff 65%, #ffffff 100%);
    background-size: 220% 100%;
    background-position: 0 50%;
    box-shadow: 0 16px 34px rgba(0, 40, 70, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-position 0.45s ease, color 0.22s ease;
}

.btn-light:hover {
    color: var(--primary);
    background-position: 100% 50%;
    box-shadow: 0 20px 42px rgba(0, 40, 70, 0.22);
}

.main-nav {
    gap: 14px;
}

.main-nav a,
.nav-link {
    font-size: 13.5px;
}

.submenu a {
    font-size: 13.5px;
}

.method-item strong,
.link-card-v2 strong,
.price-card strong,
.contact-info__item,
.footer-contact-link,
.form-note,
.timeline-item span {
    font-weight: 700;
}

/* Visual rhythm for the second opinion landing page */
.second-opinion-page {
    background: #ffffff;
}

.second-opinion-page > .section {
    position: relative;
}

.second-opinion-page > .section:not(.hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1120px, calc(100% - 32px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent 0%, rgba(0, 97, 162, 0.12) 18%, rgba(0, 166, 214, 0.18) 50%, rgba(0, 97, 162, 0.12) 82%, transparent 100%);
    pointer-events: none;
}

.second-opinion-page #directions {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.second-opinion-page #second-opinion {
    background:
        radial-gradient(circle at 92% 16%, rgba(0, 166, 214, 0.08), transparent 28%),
        #ffffff;
}

.second-opinion-page #interbasis-consultation {
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 97, 162, 0.09), transparent 30%),
        linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.second-opinion-page #when-needed {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
}

.second-opinion-page #includes {
    background:
        radial-gradient(circle at 8% 82%, rgba(0, 166, 214, 0.08), transparent 30%),
        #ffffff;
}

.second-opinion-page #consilium {
    background:
        linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.second-opinion-page #online-consultation {
    background:
        radial-gradient(circle at 90% 20%, rgba(0, 97, 162, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.second-opinion-page #process {
    background: #ffffff;
}

.second-opinion-page #pricing {
    background:
        radial-gradient(circle at 16% 12%, rgba(0, 166, 214, 0.1), transparent 28%),
        linear-gradient(180deg, #f6fbfe 0%, #ffffff 100%);
}

.second-opinion-page .medical-info-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
}

.second-opinion-page #faq {
    background:
        radial-gradient(circle at 86% 10%, rgba(0, 166, 214, 0.09), transparent 28%),
        linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.second-opinion-page .links-section {
    background: #ffffff;
}

.second-opinion-page .contact-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 166, 214, 0.14), transparent 30%),
        linear-gradient(180deg, #f4f9fd 0%, #ffffff 100%);
}

.treatment-page .treatment-hero {
    background: inherit;
}

.treatment-page #treatment-coordination {
    background:
        radial-gradient(circle at 92% 16%, rgba(0, 166, 214, 0.08), transparent 28%),
        #ffffff;
}

.treatment-page #what-we-do {
    background:
        radial-gradient(circle at 8% 82%, rgba(0, 166, 214, 0.08), transparent 30%),
        #ffffff;
}

.treatment-page #clinics {
    background:
        linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.treatment-page #visa {
    background: linear-gradient(135deg, #005286 0%, var(--primary) 48%, #00375d 100%);
}

.treatment-page #translation {
    background:
        radial-gradient(circle at 90% 20%, rgba(0, 97, 162, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.treatment-page #support {
    background:
        radial-gradient(circle at 12% 12%, rgba(0, 166, 214, 0.08), transparent 30%),
        linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.treatment-page #support .content-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.treatment-page #support .content-card h2 {
    margin-bottom: 20px;
    font-size: clamp(22px, 2.1vw, 30px);
    line-height: 1.2;
}

.treatment-page #support .content-card .icon-list {
    margin-bottom: 0;
}

.treatment-page #result {
    background: #ffffff;
}

.oncology-page .oncology-hero {
    background: inherit;
}

.oncology-page #second-opinion,
.oncology-page #diagnostics,
.oncology-page #treatment,
.oncology-page #remote-care,
.oncology-page #process,
.oncology-page .links-section {
    background: #ffffff;
}

.oncology-page #oncology-directions,
.oncology-page #tumor-board,
.oncology-page #histology,
.oncology-page #faq {
    background:
        radial-gradient(circle at 88% 10%, rgba(0, 166, 214, 0.08), transparent 28%),
        linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.complex-page .complex-hero,
.medication-page .medication-hero {
    background: inherit;
}

.complex-page #when-needed,
.complex-page #approach,
.complex-page #faq,
.medication-page #when-needed,
.medication-page #therapy-plan,
.medication-page #faq {
    background:
        radial-gradient(circle at 88% 10%, rgba(0, 166, 214, 0.08), transparent 28%),
        linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.complex-page #germany-access,
.complex-page #result,
.medication-page #remote-care,
.medication-page #result {
    background: #ffffff;
}

.complex-page #experience,
.medication-page #coordination {
    background: linear-gradient(135deg, #005286 0%, var(--primary) 48%, #00375d 100%);
}

/* --- Типографика длинной статьи (article-sample и др.) --- */
.article-page {
    --article-navy: #003366;
    --article-warn: #c03;
    --article-muted-box: #eef3f8;
}

.article-page-label {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.content-article {
    max-width: 52rem;
    margin: 0 auto;
    padding: 8px 0 48px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
}

.content-article > h1 {
    margin: 0 0 22px;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.2;
    color: var(--text);
}

.content-article > h1 + p {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 22px;
}

.content-article h2 {
    margin: 36px 0 16px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.35px;
    color: var(--primary-dark);
}

.content-article h3 {
    margin: 32px 0 14px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

.content-article h3:has(> strong:only-child) {
    color: var(--article-warn);
}

.content-article h3:has(> strong:only-child) strong {
    font: inherit;
    color: inherit;
}

.content-article h4 {
    margin: 26px 0 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--article-navy);
}

.content-article p {
    margin: 0 0 16px;
}

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

.content-article p:lang(de-DE),
.content-article p:lang(de) {
    font-style: italic;
    color: var(--muted);
    border-left: 3px solid var(--line);
    padding-left: 16px;
}

.content-article address {
    margin: 0 0 16px;
    font-style: normal;
}

.content-article address p {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--article-navy);
}

.content-article address p:last-child {
    margin-bottom: 0;
}

.content-article address a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.content-article address a:hover {
    color: var(--accent);
}

.content-article p[role="note"] {
    font-size: 15px;
    color: var(--article-navy);
}

.content-article hr {
    margin: 28px 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.content-article ul,
.content-article ol {
    margin: 0 0 20px;
    padding-left: 1.35rem;
}

.content-article ul li,
.content-article ol li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.content-article ul li::marker {
    color: var(--accent);
}

.content-article ol li::marker {
    color: var(--primary);
    font-weight: 600;
}

.content-article section[aria-labelledby="invite-heading"] > ul > li,
.content-article section[aria-labelledby="invite-heading"] > ul > li::marker {
    color: var(--article-navy);
}

.content-article section[aria-labelledby="invite-heading"] > ul em {
    color: var(--article-warn);
    font-weight: 600;
    font-style: normal;
}

.content-article h3:has(> strong:only-child) + ul > li {
    color: var(--text);
}

.content-article h3:has(> strong:only-child) + ul > li::marker {
    color: var(--primary-dark);
}

.content-article figure {
    margin: 28px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.content-article figure img {
    display: block;
    width: 100%;
    height: auto;
}

.content-article figure figcaption {
    padding: 10px 14px 12px;
    font-size: 14px;
    color: var(--muted);
    background: var(--bg);
}

.content-article #basis-paket + ol > li {
    margin: 0 0 8px;
    padding-left: 0.5rem;
    border-left: 3px solid var(--accent);
}

.content-article > footer {
    margin: 20px 0 16px;
    padding: 0;
    border: 0;
    background: transparent;
}

.content-article > footer p {
    margin: 0;
    font-weight: 600;
    color: var(--text);
}

#request-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 36px;
    padding: 22px 22px 22px 20px;
    background: var(--article-muted-box);
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(0, 67, 112, 0.06);
}

#request-box > div:first-child {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 97, 162, 0.12);
}

#request-box > div:first-child .material-symbols-outlined {
    font-size: 32px;
}

#request-box p {
    margin: 0;
}

#request-box p[role="note"] {
    margin-top: 12px;
    font-size: 15px;
}

#request-box a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#request-box a:hover {
    color: var(--accent);
}

@media (max-width: 575.98px) {
    #request-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* --- Главная interbasis.info (home.html) --- */
.home-page {
    background: #ffffff;
}

.home-hero {
    position: relative;
    min-height: min(72vh, 620px);
    display: flex;
    align-items: flex-end;
    color: #ffffff;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(0, 52, 88, 0.88) 0%, rgba(0, 97, 162, 0.45) 42%, rgba(0, 40, 70, 0.55) 100%),
        url('https://interbasis.info/assets/interbasis/img/slidermain.jpg') center / cover no-repeat;
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(32px, 6vw, 64px);
}

.home-hero__panel {
    max-width: 38rem;
    padding: 28px 26px 26px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 50px rgba(0, 24, 48, 0.35);
}

.home-hero__kicker {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.92;
}

.home-hero__title {
    margin: 0 0 18px;
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-hero__list {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.home-hero__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.home-hero__list li:last-child {
    margin-bottom: 0;
}

.home-hero__list .material-symbols-outlined {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 22px;
    color: #8fe0ff;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-hero__actions .btn-light {
    box-shadow: 0 8px 24px rgba(0, 24, 48, 0.2);
}

.home-special__title,
.home-page .section-title {
    margin: 0 0 22px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.35px;
    color: var(--primary-dark);
}

.home-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.home-tabs__nav button {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    color: #2d4154;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: normal;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-tabs__nav button:hover {
    border-color: rgba(0, 97, 162, 0.35);
    color: var(--primary);
}

.home-tabs__nav button.is-active {
    border-color: rgba(0, 97, 162, 0.45);
    background: var(--primary-light);
    color: var(--primary-dark);
    box-shadow: 0 8px 22px rgba(0, 67, 112, 0.12);
}

.home-tabs__panel {
    padding: 8px 0 0;
}

.home-tabs__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.home-article__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.home-body .home-article p,
.home-body .home-article li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
}

.home-body__h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.home-stats--grid {
    list-style: none;
    margin: 36px 0 48px;
    padding: 0;
}

.home-faq-block .form-card.home-ask-card {
    height: auto;
    min-height: 0;
    align-self: flex-start;
}

.home-stats__card {
    height: 100%;
    padding: 18px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(0, 67, 112, 0.06);
}

.home-stats__num {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.home-stats__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.45;
}

.home-ask-card__title {
    margin: 0 0 16px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

.home-ask-card .btn {
    width: 100%;
    margin-top: 8px;
}

.home-map-section--full {
    padding-left: 0;
    padding-right: 0;
}

.home-map__frame--full {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    aspect-ratio: 21 / 9;
    min-height: 260px;
    max-height: min(50vh, 560px);
    background: #dfe9f2;
}

.home-map__frame--full iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .home-map__frame--full {
        aspect-ratio: 4 / 3;
        min-height: 220px;
        max-height: min(55vh, 420px);
    }
}

@media (max-width: 767px) {
    .home-hero {
        min-height: 520px;
    }

    .home-tabs__nav {
        gap: 6px;
    }

    .home-tabs__nav button {
        font-size: 13px;
        font-weight: 800;
        padding: 8px 12px;
    }
}

