:root {
    /* === Trimed responsive contract ===
       Breakpoint tokens are DOCUMENTATION-ONLY: CSS custom properties cannot
       be used inside @media queries, so keep media declarations in px.
       Always prefer these tokens when authoring new component values.
       Current legacy breakpoints:
         - main.css: 768px, 1200px, 480px
         - laboratory.css: 768px, 1200px
         - home.css: 991px / 992px, 480px, 520px, 360px
    */
    --bp-mobile: 480px;
    --bp-tablet: 768px;
    --bp-desktop: 1024px;
    --bp-wide: 1200px;
    /* Legacy page-specific breakpoints (preserve until unified) */
    --bp-home-tablet: 991px;
    --bp-home-desktop: 992px;

    --color-white: #EFEFEF;
    --color-pure-white: #FFFFFF;
    --color-white-2: #F9F9F9;
    --color-gray: #E6E7E8;
    --color-gray-2: #D1D3D4;
    --color-black: #353535;
    --color-black-muted: rgba(53, 53, 53, 0.7);
    --color-dark-green: #315046;
    --color-green: #367643;
    --color-light-green-1: #3F8D50;
    --color-light-green-2: #51A462;
    --gradient-green: linear-gradient(271.52deg, #367643 0%, #315046 100%);
    --gradient-light-green: linear-gradient(46.27deg, #3F8D50 18.16%, #51A462 79.56%);
    --gradient-gray: linear-gradient(330.13deg, #CDCDCD 17.07%, #E1E1E1 91.62%);
    --font-main: 'Exo 2', sans-serif;
    --container: 1344px;
    --container-padding-mobile: 16px;
    --container-padding-xs: 12px;
    --mobile-content-width: min(343px, calc(100vw - 32px));
    --radius-small: 4px;
    --radius-control: 8px;
    --radius-card: 12px;
    --control-height: 52px;
    --button-height: 57px;
    --form-checkbox-size: 15px;
    --form-checkbox-size-lg: 16px;
    --project-card-height: 220px;
    --project-card-image-width: 175px;
    --project-card-gap: 36px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip; /* keeps position:sticky working where overflow:hidden breaks it */
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-black);
    background: var(--color-white);
    font-size: 16px;
    line-height: 1.4;
    overflow-x: hidden;
    overflow-x: clip; /* keeps position:sticky working where overflow:hidden breaks it */
    position: relative;
}

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

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

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

:where(.mc-container, .stom-container, .lab-container) {
    width: 100%;
    max-width: 1344px;
    margin: 0 auto;
    padding: 0;
}

:where(.mc-section-inner, .stom-section-inner, .lab-section-inner) {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

:where(.medcentry-page, .stomatology-page, .laboratory-page, .disinfection-page) {
    box-sizing: border-box;
    font-family: 'Exo 2', sans-serif;
    color: var(--color-black);
    background: var(--color-white);
    font-size: 16px;
    line-height: 1.4;
}

:where(.medcentry-page, .stomatology-page, .laboratory-page, .disinfection-page),
:where(.medcentry-page, .stomatology-page, .laboratory-page, .disinfection-page) *::before,
:where(.medcentry-page, .stomatology-page, .laboratory-page, .disinfection-page) *::after,
:where(.medcentry-page, .stomatology-page, .laboratory-page, .disinfection-page) * {
    box-sizing: border-box;
}

:where(.medcentry-page, .stomatology-page, .laboratory-page, .disinfection-page) :is(h1, h2, h3, h4, h5, h6, p) {
    margin: 0;
}

:where(.medcentry-page, .stomatology-page, .laboratory-page, .disinfection-page) img {
    max-width: 100%;
    height: auto;
    display: block;
}

:where(.medcentry-page, .stomatology-page, .laboratory-page, .disinfection-page) a {
    text-decoration: none;
    color: inherit;
}

:where(.medcentry-page, .stomatology-page, .laboratory-page, .disinfection-page) .text-green {
    color: var(--color-green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    border-radius: var(--radius-control);
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--color-white);
}

.btn-secondary {
    background: var(--gradient-gray);
    color: var(--color-black);
    backdrop-filter: blur(30px);
}

.section-header {
    margin-bottom: 40px;
}

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

.section-label {
    display: block;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-black);
    margin-bottom: 12px;
}

.section-title {
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--color-black);
}

.section-title.green {
    color: var(--color-green);
}

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

.section-desc {
    font-size: 16px;
    line-height: 19px;
    color: var(--color-black);
    max-width: 436px;
}

.text-green { color: var(--color-green); }

/* Header */
.site-header {
    padding: 12px 0 0;
}

/* Sticky header on mobile/tablet only; desktop layout is unchanged */
@media (max-width: 991px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: var(--color-white);
    }

    body.admin-bar .site-header {
        top: 46px; /* WP mobile admin bar height */
    }
}

.site-header .container {
    max-width: 1344px;
    padding: 0;
}

.site-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--color-gray);
    border-radius: 8px;
    padding: 12px 28px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.logo img {
    width: 140px;
    height: auto;
}

.main-nav .nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 17px;
}

.main-nav .nav-menu li {
    position: relative;
}

.main-nav .nav-menu a {
    display: inline-block;
    padding: 4px 0;
}

.main-nav .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.main-nav .nav-menu li:hover > .sub-menu,
.main-nav .nav-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.main-nav .nav-menu .sub-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    line-height: 17px;
    color: var(--color-black);
    white-space: nowrap;
}

.main-nav .nav-menu .sub-menu a:hover,
.main-nav .nav-menu .sub-menu a:focus {
    background: var(--color-white-2);
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    line-height: 14px;
}

.header-address,
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone a {
    text-decoration: none;
}

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

.header-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: auto;
    height: auto;
    color: var(--color-dark-green);
    background: transparent;
    border-radius: 0;
    transition: opacity 0.2s ease;
}

.header-action:nth-child(2) {
    margin-right: 24px;
}

.header-action:hover {
    opacity: 0.75;
}

.header-action svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.action-count {
    position: static;
    width: 24px;
    height: 24px;
    background: var(--color-gray-2);
    color: var(--color-dark-green);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 12px;
    font-weight: 400;
    padding: 0;
    border: none;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark-green);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-menu a {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
}

.mobile-nav-menu .sub-menu {
    list-style: none;
    padding-left: 16px;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-menu .sub-menu a {
    font-size: 16px;
    font-weight: 400;
}

.mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray);
    font-size: 14px;
}

.mobile-contacts a {
    color: var(--color-dark-green);
    font-weight: 600;
    text-decoration: none;
}

/* Hero */
.hero-section {
    padding: 20px 0 70px;
}

.hero-section .container {
    max-width: 1344px;
    padding: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 594px;
    grid-template-areas:
        "title image"
        "body image";
    gap: 0 64px;
    align-items: start;
    position: relative;
}

.hero-title {
    grid-area: title;
}

.hero-image-wrap {
    grid-area: image;
}

.hero-body {
    grid-area: body;
}

.hero-title {
    font-size: 56px;
    line-height: 94%;
    letter-spacing: -0.03em;
    font-weight: 400;
    margin-bottom: 28px;
    color: #343434;
}

.hero-title .text-green {
    color: var(--color-green);
    font-weight: 600;
    white-space: nowrap;
}

.hero-title-line {
    display: inline;
    white-space: nowrap;
    color: inherit;
    font-weight: inherit;
}

.hero-desc {
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 44px;
    max-width: 686px;
    color: #343434;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 39px;
    max-width: 677px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: var(--radius-control);
    padding: 20px 16px;
    font-size: 14px;
    line-height: 120%;
    font-weight: 400;
    min-height: 56px;
    width: auto;
    box-sizing: border-box;
}

.hero-feature:nth-child(1) { width: 360px; }
.hero-feature:nth-child(2) { width: 305px; }
.hero-feature:nth-child(3) { width: 262px; }
.hero-feature:nth-child(4) { width: 386px; }

.hero-feature img {
    width: auto;
    height: 24px;
    object-fit: contain;
}

.hero-btn-main {
    width: 686px;
    max-width: 100%;
    border-radius: var(--radius-control);
    padding: 20px;
}

.hero-image-wrap {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 556px;
    object-fit: cover;
    border-radius: var(--radius-card);
}

.hero-badges {
    position: absolute;
    top: 16px;
    left: 118px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    align-items: start;
    justify-items: start;
    max-width: 460px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(54, 118, 67, 0.5);
    border-radius: var(--radius-control);
    padding: 12px 16px;
    color: var(--color-white);
    font-size: 14px;
    line-height: 110%;
    font-weight: 400;
}

.hero-badge:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: end;
    width: 385px;
    max-width: 100%;
    border-radius: var(--radius-control);
    padding: 14px 18px;
    font-size: 14px;
    line-height: 110%;
}

.hero-badge .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-light-green);
    flex-shrink: 0;
    position: relative;
}

.hero-btn-consult {
    position: absolute;
    right: 28px;
    bottom: 28px;
    width: 216px;
    border-radius: var(--radius-control);
    background: var(--gradient-gray);
    color: #343434;
    font-size: 14px;
    line-height: 120%;
    font-weight: 400;
    white-space: nowrap;
    padding: 20px 28px;
    z-index: 3;
}

.hero-badge .check::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Audience */
.audience-section {
    padding: 70px 0;
}

.audience-inner {
    max-width: 1205px;
    margin: 0 auto;
}

.audience-section .section-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 53px;
}

.audience-section .section-label {
    margin: 17px 0 0;
    text-align: left;
}

.audience-section .section-title {
    max-width: 743px;
}

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

.audience-card {
    position: relative;
    background: var(--color-white-2);
    border-radius: 8px;
    padding: 24px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #343434;
}

.audience-card.gray {
    background: var(--color-gray);
    color: #343434;
}

.audience-card.green {
    background: var(--gradient-light-green);
    color: var(--color-white);
}

.audience-card.has-image {
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

.audience-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(54, 118, 67, 0.6);
}

.audience-card h3 {
    position: relative;
    z-index: 1;
    font-size: 18px;
    line-height: 110%;
    font-weight: 600;
    max-width: 170px;
}

.audience-card .arrow {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: auto;
}

/* Supplies */
.supplies-section {
    padding: 70px 0;
}

.supplies-section .container {
    max-width: 1344px;
    padding: 0;
}

.supplies-box {
    position: relative;
    background: #F9F9F9;
    border-radius: 20px;
    width: 100%;
    max-width: 1344px;
    height: 1115px;
    margin: 0 auto;
    overflow: hidden;
}

.supplies-box .section-header {
    position: absolute;
    left: 72px;
    top: 68px;
    margin: 0;
    z-index: 5;
}

.supplies-box .section-label {
    display: block;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-black);
    margin-bottom: 14px;
}

.supplies-box .section-title {
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: var(--color-black);
    max-width: 743px;
    margin: 0;
}

.supplies-title-line {
    display: block;
}

.supplies-diagram {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.supplies-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 304px;
    height: 304px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
}

.supplies-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supplies-rings {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(54, 118, 67, 0.2);
    border-radius: 50%;
}

.ring-1 { width: 532px; height: 532px; }
.ring-2 { width: 760px; height: 760px; }
.ring-3 { width: 979px; height: 979px; }

.supplies-items {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.supply-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    font-size: 16px;
    line-height: 110%;
    font-weight: 400;
    color: var(--color-black);
    white-space: nowrap;
}

/* Right arc — точка слева, подпись справа */
.supply-item:nth-child(1)  { left: 962px; top: 148px;  width: 288px; }
.supply-item:nth-child(2)  { left: 794px; top: 305px;  width: 354px; }
.supply-item:nth-child(3)  { left: 915px; top: 456px;  width: 382px; }
.supply-item:nth-child(4)  { left: 1036px; top: 607px; width: 337px; }
.supply-item:nth-child(5)  { left: 806px; top: 758px;  width: 414px; }

/* Left arc — подпись слева, точка справа */
.supply-item:nth-child(6)  { left: 93px;  top: 326px; width: 275px; flex-direction: row-reverse; }
.supply-item:nth-child(7)  { left: 144px; top: 466px; width: 283px; flex-direction: row-reverse; }
.supply-item:nth-child(8)  { left: 40px;  top: 607px; width: 158px; flex-direction: row-reverse; }
.supply-item:nth-child(9)  { left: 183px; top: 747px; width: 337px; flex-direction: row-reverse; }

/* Bottom items */
.supply-item:nth-child(10) { left: 234px; top: 911px; width: 390px; flex-direction: row-reverse; }
.supply-item:nth-child(11) { left: 886px; top: 971px; width: 404px; }

.supply-item .dot {
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2.82353px solid rgba(54, 118, 67, 0.5);
    border-radius: 50%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.supply-item .supply-text {
    background: var(--color-white);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 110%;
    font-weight: 400;
    color: var(--color-black);
}

/* Included */
.included-section {
    padding: 70px 0;
}

.included-section .container {
    max-width: 1204px;
    padding: 0;
}

.included-section .section-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 64px;
}

.included-section .section-label {
    margin: 17px 0 0;
    text-align: left;
}

.included-section .section-title {
    max-width: 743px;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    row-gap: 36px;
}

.included-card {
    position: relative;
}

.included-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-card);
    margin-bottom: 12px;
}

.included-card h3 {
    font-size: 20px;
    line-height: 120%;
    letter-spacing: -0.03em;
    font-weight: 400;
    padding-left: 40px;
}

.included-card .num {
    position: absolute;
    left: 0;
    top: 192px;
    width: 24px;
    height: 24px;
    background: var(--gradient-light-green);
    border-radius: 2px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.included-card.green-wide {
    position: relative;
    grid-column: span 1;
    background: var(--gradient-light-green);
    border-radius: var(--radius-card);
    padding: 24px;
    color: var(--color-white);
    min-height: 240px;
    display: flex;
    align-items: flex-end;
}

.included-card.green-wide::after {
    content: '';
    position: absolute;
    top: 24px;
    right: 24px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-white);
    border-right: 2px solid var(--color-white);
    transform: rotate(45deg);
}

.included-card.green-wide p {
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
}

/* Tasks */
.tasks-section {
    padding: 70px 0;
}

.tasks-section .container {
    max-width: 1202px;
    padding: 0;
}

.tasks-grid {
    display: grid;
    grid-template-columns: 588px 1fr;
    gap: 24px;
}

.tasks-intro.green-card {
    position: relative;
    background: var(--gradient-green);
    border-radius: var(--radius-card);
    padding: 44px;
    color: var(--color-white);
    min-height: 520px;
}

.tasks-intro .tag {
    position: absolute;
    top: 44px;
    left: 44px;
    display: inline-flex;
    align-self: flex-start;
    background: rgba(54, 118, 67, 0.5);
    border-radius: var(--radius-control);
    padding: 12px 18px;
    font-size: 14px;
    line-height: 110%;
}

.tasks-intro h2 {
    position: absolute;
    left: 44px;
    bottom: 44px;
    font-size: 36px;
    line-height: 110%;
    letter-spacing: -0.03em;
    font-weight: 700;
    max-width: 345px;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    min-height: 520px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-white-2);
    border-radius: var(--radius-control);
    padding: 12px 16px;
    font-size: 20px;
    line-height: 24px;
}

.task-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Why choose */
.why-section {
    padding: 70px 0;
}

.why-section .container {
    max-width: 1200px;
    padding: 0;
}

.why-section .section-header {
    margin-bottom: 40px;
}

.why-section .section-label {
    margin-bottom: 48px;
}

.why-section .section-title {
    font-size: 34px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    align-items: stretch;
}

.why-image-card {
    grid-column: 1;
    grid-row: 1 / 3;
    border-radius: var(--radius-card);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    min-height: 0;
}

.why-stats {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    flex-wrap: nowrap;
    width: 100%;
}

.why-stat {
    border-radius: var(--radius-card);
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 126px;
    flex: 1;
    min-height: 100px;
    height: auto;
    box-sizing: border-box;
    justify-content: flex-start;
}

.why-stat.glass {
    background: rgba(39, 81, 69, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(40px);
    color: var(--color-white);
}

.why-stat.green {
    background: var(--gradient-light-green);
    backdrop-filter: blur(20px);
    color: var(--color-white);
}

.why-stat strong {
    font-size: 28px;
    line-height: 1;
    font-weight: 600;
    white-space: normal;
}

.why-stat span {
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
}

.why-info-card {
    grid-column: 2;
    grid-row: 1 / 3;
    background: var(--color-white-2);
    border-radius: var(--radius-card);
    padding: 24px 28px 28px;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.why-info-card h3 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    max-width: 100%;
}

.why-plus {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    color: #3A7D44;
}

.why-warehouse-card {
    grid-column: 3;
    grid-row: 1;
    border-radius: var(--radius-card);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    height: 187px;
}

.why-warehouse-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0) 100%);
    border-radius: var(--radius-card);
}

.why-warehouse-card h3 {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    font-size: 24px;
    line-height: 29px;
    font-weight: 600;
}

.why-features-list {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
}

.why-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-gray);
    border-radius: var(--radius-control);
    padding: 12px 16px;
    font-size: 14px;
    line-height: 110%;
    font-weight: 600;
    min-height: auto;
    max-width: 320px;
}

.why-feature .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-light-green);
    flex-shrink: 0;
    position: relative;
}

.why-feature .check::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Projects */
.projects-section {
    padding: 70px 0;
}

.projects-section .container {
    max-width: 1298px;
    padding: 0;
}

.projects-section-title {
    color: var(--color-black);
}

.projects-section .section-header.row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 75px;
}

.projects-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
}

.slides-track {
    position: relative;
    flex: 1;
    min-height: 540px;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 0;
}

.project-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    background: #3A7D44;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.slider-arrow:hover {
    background: #2D5A3D;
}

.slider-arrow.prev {
    left: -24px;
}

.slider-arrow.next {
    right: -24px;
}

.slider-arrow::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
}

.slider-arrow.next::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.slider-dots {
    position: absolute;
    bottom: 60px;
    right: 60px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(58, 125, 68, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background: #3A7D44;
}

/* Shared project cards for service pages */
:where(.mc-projects, .stom-projects) {
    padding: 0;
    margin-top: 141px;
}

:where(.mc-projects-header, .stom-projects-header) {
    text-align: center;
}

:where(.mc-projects-title, .stom-projects-title) {
    margin: 0 auto 32px;
    color: var(--color-black);
    font-size: 48px;
    line-height: 110%;
    font-weight: 600;
    letter-spacing: -0.03em;
    text-align: center;
}

:where(.mc-projects-desc, .stom-projects-desc) {
    max-width: 892px;
    margin: 0 auto;
    color: var(--color-black);
    font-size: 16px;
    line-height: 120%;
}

:where(.mc-projects-grid, .stom-projects-grid) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

:where(.mc-project-card, .stom-project-card) {
    display: flex;
    height: var(--project-card-height);
    gap: var(--project-card-gap);
    overflow: hidden;
    background: var(--color-white-2);
    border-radius: var(--radius-card);
}

:where(.mc-project-card-img, .stom-project-card-img) {
    width: var(--project-card-image-width);
    height: var(--project-card-height);
    flex-shrink: 0;
    background: var(--color-gray-2);
    border-radius: var(--radius-card);
    overflow: hidden;
}

:where(.mc-project-card-img, .stom-project-card-img) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

:where(.mc-project-card-body, .stom-project-card-body) {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

:where(.mc-project-card-top, .stom-project-card-top) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

:where(.mc-project-card-num, .stom-project-card-num) {
    color: var(--color-black);
    font-size: 12px;
    line-height: 14.4px;
}

:where(.mc-project-card-arrow, .stom-project-card-arrow) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-small);
    background: var(--gradient-green);
    color: var(--color-white);
}

:where(.mc-project-card-arrow, .stom-project-card-arrow) svg {
    width: 14px;
    height: 14px;
}

:where(.mc-project-card-title, .stom-project-card-title) {
    margin-bottom: 12px;
    color: var(--color-black);
    font-size: 20px;
    line-height: 120%;
    font-weight: 600;
    letter-spacing: -0.04em;
}

:where(.mc-project-card-text, .stom-project-card-text) {
    color: var(--color-black);
    font-size: 16px;
    line-height: 120%;
    opacity: 0.8;
}

/* Shared project/case card pattern */
@media (max-width: 768px) {
    .trimed-projects-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .trimed-projects-grid::-webkit-scrollbar {
        display: none;
    }

    .trimed-projects .case-card {
        width: 328px;
        height: 426px;
        flex: 0 0 328px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        scroll-snap-align: start;
        background: transparent;
        border-radius: 0;
        overflow: visible;
    }

    .trimed-projects .case-card__image {
        width: 328px;
        height: 194px;
        flex: 0 0 194px;
        border-radius: var(--radius-card);
        overflow: hidden;
    }

    .trimed-projects .case-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .trimed-projects .case-card__body {
        width: 328px;
        height: var(--project-card-height);
        flex: 0 0 var(--project-card-height);
        padding: 20px 24px;
        background: #fff;
        border-radius: var(--radius-card);
        box-sizing: border-box;
    }

    .trimed-projects .case-card__arrow {
        width: 32px;
        height: 32px;
        border-radius: var(--radius-small);
    }
}

/* Shared process sections for service pages */
:where(.mc-process, .stom-process) {
    padding: 0;
    margin-top: 140px;
}

:where(.mc-process-grid, .stom-process-grid) {
    display: grid;
    grid-template-columns: 680px 522px;
    grid-template-rows: auto 1fr;
    gap: 0;
}

:where(.mc-process-header, .stom-process-header) {
    grid-column: 1;
    grid-row: 1;
}

:where(.mc-process-title, .stom-process-title) {
    width: 568px;
    margin: 0 0 12px;
    color: var(--color-black);
    font-size: 48px;
    line-height: 110%;
    font-weight: 600;
    letter-spacing: -0.03em;
}

:where(.mc-process-cards, .stom-process-cards) {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, 324px);
    gap: 16px;
}

:where(.mc-process-card, .stom-process-card) {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 324px;
    height: 280px;
    padding: 0 0 28px;
    overflow: hidden;
    border-radius: var(--radius-card);
}

:where(.mc-process-card--green, .stom-process-card--green) {
    background: var(--gradient-green);
    color: var(--color-white);
}

:where(.mc-process-card--light, .stom-process-card--light) {
    background: var(--color-white-2);
    color: var(--color-black);
}

:where(.mc-process-card-num, .stom-process-card-num) {
    position: absolute;
    top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: var(--gradient-green);
    color: var(--color-white);
    font-size: 24px;
    line-height: 26.4px;
    font-weight: 800;
}

:where(.mc-process-card--green, .stom-process-card--green)
:where(.mc-process-card-num, .stom-process-card-num) {
    background: rgba(255, 255, 255, 0.2);
}

:where(.mc-process-card-title, .stom-process-card-title) {
    font-size: 24px;
    line-height: 110%;
    font-weight: 600;
}

:where(.mc-process-card-text, .stom-process-card-text) {
    font-size: 14px;
    line-height: 110%;
}

:where(.mc-process-image, .stom-process-image) {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 522px;
    height: 689px;
    margin-top: 22px;
    overflow: hidden;
    background: var(--color-gray-2);
    border-radius: var(--radius-card);
}

:where(.mc-process-image, .stom-process-image) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    /* Shared mobile process sections for service pages */
    :where(.mc-process-grid, .stom-process-grid) {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    :where(.mc-process-header, .stom-process-header) {
        grid-column: auto;
        grid-row: auto;
    }

    :where(.mc-process-title, .stom-process-title) {
        font-size: 24px;
        line-height: 26.4px;
        letter-spacing: -0.72px;
        font-weight: 600;
        width: auto;
        text-align: center;
    }

    :where(.mc-process-image, .stom-process-image) {
        display: block;
        order: 2;
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        border-radius: var(--radius-card);
        overflow: hidden;
    }

    :where(.mc-process-cards, .stom-process-cards) {
        order: 3;
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    :where(.mc-process-card, .stom-process-card) {
        width: 100%;
    }

    :where(.mc-process-card-num, .stom-process-card-num) {
        top: 16px;
        width: 24px;
        height: 24px;
        border-radius: 6px;
        font-size: 14px;
        line-height: 15px;
    }

    :where(.mc-process-card--green .mc-process-card-num, .stom-process-card--green .stom-process-card-num) {
        background: #fff;
        color: var(--color-green);
    }

    :where(.mc-process-card--light .mc-process-card-num, .stom-process-card--light .stom-process-card-num) {
        background: var(--gradient-green);
        color: #fff;
    }

    :where(.mc-process-card-title, .stom-process-card-title) {
        font-size: 16px;
        line-height: 17.6px;
        letter-spacing: 0;
        font-weight: 600;
    }

    :where(.mc-process-card-text, .stom-process-card-text) {
        font-size: 14px;
        line-height: 15.4px;
        letter-spacing: 0;
    }
}

:where(.mc-why-cta-btn, .stom-cta-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--button-height);
    border: none;
    border-radius: var(--radius-control);
    color: var(--color-white);
    font-family: inherit;
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    cursor: pointer;
}

/* Shared Medcentry + Stomatology core blocks */
.medcentry-page .mc-hero-grid,
.stomatology-page .stom-hero-grid {
    display: grid;
    grid-template-columns: 726px 594px;
    gap: 24px;
    align-items: start;
    min-height: 550px;
}

.medcentry-page .mc-hero-badge-glass span,
.stomatology-page .stom-hero-badge-glass span {
    width: 275px;
}

.medcentry-page .mc-hero-badge-green .num,
.stomatology-page .stom-hero-badge-green .num {
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
}

.medcentry-page .mc-audience-title,
.stomatology-page .stom-audience-title {
    font-size: 48px;
    line-height: 110%;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.medcentry-page .mc-audience-body,
.stomatology-page .stom-audience-body {
    display: grid;
    grid-template-columns: 362px 792px;
    gap: 46px;
    margin-top: 32px;
}

.medcentry-page .mc-audience-lead,
.stomatology-page .stom-audience-lead {
    width: 362px;
    align-self: start;
    font-size: 32px;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: var(--color-black);
    margin: 26px 0 0 0;
}

.medcentry-page .mc-audience-grid,
.stomatology-page .stom-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 382px);
    gap: 28px;
}

.medcentry-page .mc-included-card-img,
.stomatology-page .stom-included-card-img {
    width: 280px;
    height: 180px;
    background: var(--color-gray-2);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.medcentry-page .mc-included-card-img img,
.stomatology-page .stom-included-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medcentry-page .mc-included-card-num,
.stomatology-page .stom-included-card-num {
    width: 24px;
    height: 24px;
    border-radius: 2.18px;
    background: var(--gradient-green);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.09px;
    line-height: 14.4px;
    font-weight: 800;
    flex-shrink: 0;
}

.medcentry-page .mc-included-card-title,
.stomatology-page .stom-included-card-title {
    font-size: 20px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--color-black);
}

.medcentry-page .mc-why-left,
.stomatology-page .stom-why-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.medcentry-page .mc-why-stat .num,
.stomatology-page .stom-why-stat .num {
    font-size: 62.4px;
    line-height: 74.9px;
    font-weight: 600;
    position: relative;
    margin-bottom: 4px;
}

.medcentry-page .mc-why-stat .txt,
.stomatology-page .stom-why-stat .txt {
    font-size: 21.8px;
    line-height: 26.2px;
    position: relative;
}

.project-card {
    background: #F5F5F5;
    border-radius: 16px;
    padding: 40px;
}

.project-card-inner {
    display: grid;
    grid-template-columns: 1fr 427px;
    gap: 12px;
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.project-info {
    padding: 24px;
}

.project-num {
    font-size: 12px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--color-black);
    display: block;
    margin-bottom: 28px;
}

.project-info h3 {
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.03em;
    font-weight: 600;
    margin-bottom: 24px;
}

.project-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 24px;
}

.project-columns strong,
.project-result strong {
    display: block;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -0.03em;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-columns p,
.project-result p {
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -0.03em;
}

.project-result {
    background: var(--color-green);
    border-radius: 8px;
    padding: 16px 20px;
    color: var(--color-white);
}

.project-image img {
    width: 100%;
    height: 462px;
    object-fit: cover;
}

/* Partners */
.partners-section {
    padding: 70px 0;
}

.partners-section .container {
    max-width: 1202px;
    padding: 0;
}

.partners-section .section-header {
    margin-bottom: 54px;
}

.partners-section .partners-title {
    font-weight: 400;
}

.partners-section .partners-title strong {
    font-weight: 600;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.partner-card {
    background: var(--color-white-2);
    border-radius: 8px;
    padding: 16px 24px;
    text-align: center;
    height: auto;
    min-height: unset;
}

.partner-card img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.partner-card h3 {
    font-size: 15px;
    line-height: 120%;
    letter-spacing: -0.03em;
    font-weight: 600;
    margin-bottom: 8px;
}

.partner-card p {
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #666;
}

/* FAQ */
.faq-section {
    padding: 70px 0;
}

.faq-section .container {
    max-width: 1200px;
    padding: 0;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}

.faq-header .section-title {
    text-align: left;
    margin: 0;
}

.faq-description {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    max-width: 320px;
    text-align: right;
    margin: 0;
}

.faq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    align-items: flex-start;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-grid > .faq-item {
    width: 100%;
}

.faq-grid > .faq-item:only-child {
    width: 100%;
}

.faq-item {
    background: var(--color-white-2);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.faq-item span:first-child {
    font-size: 16px;
    line-height: 19px;
    font-weight: 600;
}

.faq-icon {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: transform 0.2s ease;
}

.faq-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item p {
    width: 100%;
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.faq-item.active p {
    max-height: 500px;
    opacity: 1;
    margin-top: 16px;
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-gray);
    border-radius: var(--radius-control);
    padding: 16px;
}

.phone-input img {
    width: 20px;
    height: 13px;
    flex-shrink: 0;
}

.phone-input input {
    background: transparent !important;
    padding: 0 !important;
}

.form-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: -0.02em;
    color: var(--color-dark-green);
    opacity: 0.6;
    margin-top: 4px;
}

.form-agree input {
    width: 14px;
    height: 14px;
    border: 1px solid var(--color-dark-green);
    border-radius: calc(var(--radius-small) / 2);
    flex-shrink: 0;
    margin-top: 1px;
}

.form-agree span {
    font-size: 11px;
    line-height: 1.3;
}

/* Shared service request block */
:where(.mc-request-inner, .stom-request-inner) {
    max-width: 1200px;
    min-height: 448px;
    margin: 0 auto;
    padding: 32px 30px 32px 48px;
    display: grid;
    grid-template-columns: 445px 490px;
    gap: 187px;
    position: relative;
    border-radius: 20px;
    background: var(--gradient-light-green);
}

:where(.mc-request-left, .stom-request-inner > div) {
    margin-top: 154px;
}

:where(.mc-request-clover, .stom-request-icon) {
    position: absolute;
    left: 48px;
    top: 32px;
    width: 40px;
    height: 40px;
    color: var(--color-white);
}

:where(.mc-request-title, .stom-request-title) {
    margin: 0 0 16px;
    color: var(--color-white);
    font-size: 36px;
    line-height: 110%;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mc-request-title em {
    font-style: italic;
    font-weight: 400;
}

:where(.mc-request-desc, .stom-request-desc) {
    color: var(--color-white);
    font-size: 16px;
}

:where(.mc-request-note, .stom-request-note) {
    align-items: center;
    margin-top: 41px;
    color: var(--color-white);
    font-size: 16px;
    line-height: 18px;
}

:where(.mc-request-note, .stom-request-note) .check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

:where(.request-form) .form-message {
    min-height: 0;
    margin: 0;
}

:where(.request-form) .form-message:not(:empty) {
    min-height: 20px;
    margin-top: 8px;
}

:where(.request-form) .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 24px;
    margin-bottom: 12px;
    color: var(--color-dark-green);
    font-size: 12px;
    line-height: 12px;
}

:where(.request-form) .checkbox span {
    display: block;
    width: 278px;
    opacity: 0.6;
}

:where(.request-form) .checkbox input {
    width: var(--form-checkbox-size);
    height: var(--form-checkbox-size);
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-dark-green);
    border-radius: calc(var(--radius-small) / 2);
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

:where(.request-form) .checkbox input:checked {
    background: var(--color-dark-green);
}

:where(.request-form) {
    display: flex;
    flex-direction: column;
    width: 490px;
    height: 358px;
    padding: 32px 30px 32px 31px;
    border-radius: var(--radius-card);
    background: var(--color-white);
}

:where(.request-form) input,
:where(.request-form) textarea {
    width: 429px;
    height: var(--control-height);
    flex-shrink: 0;
    padding: 20px 16px;
    border: none;
    border-radius: var(--radius-control);
    background: var(--color-gray);
    box-sizing: border-box;
    color: var(--color-black);
    font-family: inherit;
    font-size: 12px;
    line-height: 12px;
}

:where(.request-form) input[name="name"] {
    margin-bottom: 12px;
}

:where(.request-form) textarea[name="comment"] {
    height: var(--control-height);
    margin-bottom: 20px;
    padding-top: 20px;
    overflow: hidden;
    resize: none;
}

:where(.request-form) input::placeholder,
:where(.request-form) textarea::placeholder {
    color: var(--color-black);
    opacity: 0.6;
}

:where(.request-form) button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 429px;
    height: var(--button-height);
    flex-shrink: 0;
    border: none;
    border-radius: var(--radius-control);
    background: var(--gradient-green);
    color: var(--color-white);
    font-family: inherit;
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    cursor: pointer;
}


/* Shared row-based request form controls */
.home-request-form .form-row {
    margin-bottom: 14px;
}

.form-field {
    display: block;
}

.form-field-label {
    display: block;
    margin-bottom: 4px;
    color: var(--color-black);
    font-size: 12px;
    line-height: 130%;
    opacity: 0.7;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-gray);
    border-radius: var(--radius-control);
    background: var(--color-white-2);
    color: var(--color-black);
    font-family: var(--font-main);
    font-size: 14px;
    overflow: hidden;
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--color-green);
}

.form-field-phone {
    position: relative;
}

.form-field-phone .phone-flag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 20px;
    height: auto;
}

.form-field-phone input {
    padding-left: 40px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-black);
    font-size: 12px;
    line-height: 140%;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0;
    border: 1px solid var(--color-green);
    border-radius: var(--radius-small);
    background: var(--color-white);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--color-green);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: var(--color-green);
    text-decoration: underline;
}

.request-submit {
    width: auto;
    min-width: 220px;
    align-self: flex-start;
    padding: 16px 32px;
    font-size: 14px;
}

.form-message {
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
}

.form-message.success {
    color: #2e7d32;
}

.form-message.error {
    color: #c62828;
}

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Footer */
.site-footer {
    background: var(--color-white);
    padding-top: 0;
}

.footer-main {
    position: relative;
    min-height: 470px;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.footer-card {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    width: 371px;
    background: var(--color-green);
    border-radius: var(--radius-card);
    padding: 34px;
    color: var(--color-white);
    z-index: 2;
}

.footer-logo {
    width: 164px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 34px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 34px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    text-decoration: none;
    white-space: nowrap;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 34px;
    width: 176px;
    height: 21px;
    margin-bottom: 34px;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 21px;
    color: var(--color-white);
}

.footer-social img {
    width: 36px;
    height: 21px;
    display: block;
}

.footer-callback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 299px;
    height: var(--button-height);
    padding: 20px 14px;
    border-radius: var(--radius-control);
    background: linear-gradient(11.271deg, var(--color-light-green-1) 18.162%, var(--color-light-green-2) 79.556%);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    min-height: 101px;
    padding: 28px 0;
    gap: 40px;
    background: var(--color-white);
}

.footer-info,
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info p,
.footer-links a,
.footer-copyright {
    margin: 0;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    color: var(--color-black-muted);
}

.footer-links a {
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: 24px;
    }
    .hero-title,
    .hero-image-wrap,
    .hero-body {
        grid-area: auto;
    }
    .hero-image {
        height: 400px;
    }
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    .why-section .section-title {
        white-space: normal;
        font-size: 28px;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .why-image-card,
    .why-warehouse-card,
    .why-info-card,
    .why-features-list {
        grid-column: auto;
        grid-row: auto;
        height: auto;
        min-height: auto;
    }
    .why-image-card {
        min-height: 280px;
    }
    .slides-track {
        min-height: 620px;
    }
    .project-card {
        padding: 24px;
    }
    .project-card-inner {
        grid-template-columns: 1fr;
    }
    .project-image img {
        height: 300px;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    .slider-arrow.prev {
        left: -10px;
    }
    .slider-arrow.next {
        right: -10px;
    }
    .slider-dots {
        bottom: 40px;
        right: 40px;
    }
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .supplies-box {
        height: auto;
        padding: 40px;
    }
    .supplies-box .section-header {
        position: static;
        left: auto;
        top: auto;
        margin-bottom: 24px;
    }
    .supplies-diagram {
        position: relative;
        height: auto;
        margin-top: 24px;
    }
    .supplies-rings,
    .supplies-center {
        display: none;
    }
    .supplies-items {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .supply-item {
        position: static !important;
        flex-direction: row !important;
    }
}

@media (max-width: 768px) {
    body.medcentry-page .site-header .header-container,
    body.stomatology-page .site-header .header-container,
    body.laboratory-page .site-header .header-container,
    body.disinfection-page .site-header .header-container {
        flex-wrap: nowrap;
        width: min(351px, calc(100vw - 24px));
        min-height: 44px;
        margin: 0 auto;
        padding: 0;
        gap: 8px;
        background: transparent;
        border-radius: 0;
    }

    body.medcentry-page .site-header .container,
    body.stomatology-page .site-header .container,
    body.laboratory-page .site-header .container,
    body.disinfection-page .site-header .container {
        padding: 0;
    }

    body.medcentry-page .site-header .logo img,
    body.stomatology-page .site-header .logo img,
    body.laboratory-page .site-header .logo img,
    body.disinfection-page .site-header .logo img {
        width: 100px;
        height: auto;
    }

    body.medcentry-page .site-header .header-actions,
    body.stomatology-page .site-header .header-actions,
    body.laboratory-page .site-header .header-actions,
    body.disinfection-page .site-header .header-actions {
        gap: 8px;
    }

    body.medcentry-page .site-header .header-action,
    body.stomatology-page .site-header .header-action,
    body.laboratory-page .site-header .header-action,
    body.disinfection-page .site-header .header-action {
        width: 46px;
        height: 20px;
    }

    body.medcentry-page .site-header .header-action svg,
    body.stomatology-page .site-header .header-action svg,
    body.laboratory-page .site-header .header-action svg,
    body.disinfection-page .site-header .header-action svg {
        width: 20px;
        height: 20px;
    }

    body.medcentry-page .site-header .action-count,
    body.stomatology-page .site-header .action-count,
    body.laboratory-page .site-header .action-count,
    body.disinfection-page .site-header .action-count {
        width: 20px;
        height: 20px;
    }

    body.medcentry-page .menu-toggle,
    body.stomatology-page .menu-toggle,
    body.laboratory-page .menu-toggle,
    body.disinfection-page .menu-toggle {
        width: 44px;
        height: 44px;
        margin-left: 8px;
        background: var(--color-green);
        border-radius: var(--radius-control);
    }

    body.medcentry-page .menu-toggle span,
    body.stomatology-page .menu-toggle span,
    body.laboratory-page .menu-toggle span,
    body.disinfection-page .menu-toggle span {
        background: var(--color-white);
    }

    .site-header .header-container {
        flex-wrap: nowrap;
        width: var(--mobile-content-width);
        min-height: 44px;
        margin: 0 auto;
        gap: 8px;
        padding: 0;
        background: transparent;
        border-radius: 0;
    }
    .main-nav,
    .header-contacts {
        display: none;
    }
    .menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
    }
    .logo {
        order: 1;
    }

    .logo img {
        width: 100px;
        height: auto;
    }

    .header-actions {
        order: 2;
        margin-left: auto;
        gap: 8px;
    }

    .menu-toggle {
        order: 3;
        margin-left: 8px;
        flex: 0 0 44px;
        background: var(--color-green);
        border-radius: var(--radius-control);
    }

    .menu-toggle span {
        background: var(--color-white);
    }

    .header-action:nth-child(2) {
        margin-right: 0;
    }

    .header-action-search {
        display: none;
    }

    .header-action-compare {
        display: none;
    }

    .header-action svg {
        width: 20px;
        height: 20px;
    }

    .action-count {
        width: 20px;
        height: 20px;
        border-radius: 4px;
        font-size: 8px;
        line-height: 10px;
    }
    .section-title {
        font-size: 28px;
    }

    /* Hero mobile */
    .hero-section .container {
        padding: 0 16px;
    }
    .hero-section {
        padding: 16px 0 40px;
    }
    .hero-grid {
        gap: 20px;
    }
    .hero-title {
        font-size: 28px;
        line-height: 94%;
        letter-spacing: -0.03em;
        color: #28282A;
        margin-bottom: 0;
    }
    .hero-title-line {
        display: block;
    }
    .hero-image-wrap::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: var(--radius-card);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 31.86%, rgba(0, 0, 0, 0.44) 111.73%);
        pointer-events: none;
        z-index: 1;
    }
    .hero-image {
        width: 100%;
        height: 226px;
        border-radius: var(--radius-card);
    }
    .hero-badges {
        position: absolute;
        left: 16px;
        right: auto;
        bottom: 16px;
        top: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 12px 8px;
        max-width: calc(100% - 32px);
        z-index: 2;
    }
    .hero-badge {
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        color: var(--color-white);
        font-size: 11px;
        line-height: 110%;
        width: auto;
    }
    .hero-badge .check {
        width: 16px;
        height: 16px;
    }
    .hero-badge .check::after {
        left: 5px;
        top: 3px;
        width: 4px;
        height: 7px;
        border-width: 0 1.5px 1.5px 0;
    }
    .hero-badge:nth-child(3) {
        grid-column: auto;
        justify-self: auto;
        padding: 0;
        max-width: none;
        border-radius: 0;
        width: auto;
        font-size: 11px;
        line-height: 110%;
    }
    .hero-desc {
        font-size: 16px;
        line-height: 19px;
        color: var(--color-black);
        margin-bottom: 0;
    }
    .hero-features {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 7px;
        margin-bottom: 0;
        width: 100%;
        max-width: none;
    }
    .hero-feature {
        min-height: 58px;
        padding: 8px 13px;
        font-size: 12px;
        line-height: 14px;
        gap: 12px;
        box-sizing: border-box;
    }
    .hero-feature:nth-child(1) { width: 178px !important; }
    .hero-feature:nth-child(2) { width: 158px !important; }
    .hero-feature:nth-child(3) { width: 144px !important; }
    .hero-feature:nth-child(4) { width: 191px !important; }
    .hero-feature img {
        width: auto;
        height: 28px;
    }
    .hero-body {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .hero-btn-main,
    .hero-btn-consult {
        width: 100%;
        max-width: none;
        height: var(--button-height);
        border-radius: var(--radius-control);
        padding: 0 20px;
        font-size: 14px;
        line-height: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .hero-btn-main {
        background: var(--gradient-green);
    }
    .hero-btn-consult {
        position: static;
        background: var(--gradient-light-green);
        color: var(--color-white);
    }

    /* Audience */
    .audience-section .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 24px;
    }
    .audience-section .section-label {
        margin: 0 0 8px;
        font-size: 14px;
    }
    .audience-section .section-title {
        max-width: none;
        font-size: 24px;
    }
    .audience-grid {
        gap: 8px;
    }
    .audience-card {
        min-height: 108px;
        padding: 16px;
        border-radius: 8px;
    }
    .audience-card h3 {
        font-size: 14px;
        line-height: 110%;
        max-width: 120px;
    }
    .audience-card .arrow {
        width: 20px;
        height: 20px;
        margin-left: 0;
    }

    /* Supplies */
    .supplies-box {
        height: auto;
        padding: 24px 20px;
    }
    .supplies-box .section-header {
        position: static;
        left: auto;
        top: auto;
        margin-bottom: 16px;
    }
    .supplies-diagram {
        position: relative;
        height: auto;
        margin-top: 16px;
    }
    .supplies-section .section-title {
        font-size: 24px;
    }
    .supplies-items {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .supply-item {
        position: static !important;
        background: transparent;
        padding: 0;
        font-size: 14px;
        gap: 8px;
        white-space: normal;
    }
    .supply-item .dot {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }
    .supply-item > span:last-child {
        background: var(--color-white);
        border-radius: 20px;
        padding: 8px 12px;
    }

    /* Included */
    .included-section .container {
        max-width: 295px;
        padding: 0;
    }
    .included-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 24px;
    }
    .included-section .section-label {
        margin: 0 0 8px;
        font-size: 14px;
    }
    .included-section .section-title {
        font-size: 24px;
    }
    .included-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        row-gap: 16px;
    }
    .included-card img {
        height: 180px;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    .included-card h3 {
        font-size: 18px;
        line-height: 120%;
        padding-left: 40px;
    }
    .included-card .num {
        top: 192px;
        width: 20px;
        height: 20px;
        font-size: 11px;
        border-radius: 2px;
    }
    .included-card.green-wide {
        min-height: auto;
        padding: 24px;
    }
    .included-card.green-wide p {
        font-size: 13px;
        line-height: 16px;
    }
    .included-card.green-wide::after {
        top: 24px;
        right: 24px;
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }

    /* Tasks */
    .tasks-grid {
        gap: 16px;
    }
    .tasks-intro.green-card {
        min-height: auto;
        padding: 24px;
    }
    .tasks-intro .tag {
        position: absolute;
        top: 24px;
        left: 24px;
        margin-bottom: 0;
        padding: 10px 14px;
        font-size: 14px;
    }
    .tasks-intro h2 {
        position: absolute;
        left: 24px;
        bottom: 24px;
        font-size: 24px;
    }
    .tasks-list {
        min-height: auto;
    }
    .task-item {
        padding: 10px 14px;
        font-size: 14px;
        gap: 12px;
    }
    .task-item img {
        width: 24px;
        height: 24px;
    }

    /* Why */
    .why-section .section-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 24px;
    }
    .why-section .section-label {
        margin-bottom: 8px;
        font-size: 14px;
    }
    .why-section .section-title {
        white-space: normal;
        font-size: 24px;
        line-height: 1.2;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 8px;
    }
    .why-image-card {
        grid-column: 1 / -1;
        grid-row: span 1;
        height: auto;
        min-height: 293px;
        padding: 20px;
    }
    .why-info-card {
        grid-column: span 1;
        grid-row: span 1;
        height: auto;
        min-height: 167px;
        padding: 16px;
    }
    .why-warehouse-card {
        grid-column: span 1;
        grid-row: span 1;
        height: auto;
        min-height: 167px;
        padding: 16px;
    }
    .why-plus {
        width: 24px;
        height: 24px;
        top: 16px;
        right: 16px;
    }
    .why-info-card h3,
    .why-warehouse-card h3 {
        font-size: 14px;
        line-height: 1.2;
    }
    .why-features-list {
        grid-column: 1 / -1;
        gap: 8px;
    }
    .why-feature {
        padding: 12px 16px;
        font-size: 14px;
        max-width: none;
    }
    .why-feature .check {
        width: 16px;
        height: 16px;
    }
    .why-feature .check::after {
        left: 5px;
        top: 3px;
        width: 4px;
        height: 7px;
        border-width: 0 1.5px 1.5px 0;
    }
    .why-stat {
        padding: 10px 14px;
        min-width: auto;
        height: auto;
        white-space: normal;
    }
    .why-stat strong {
        font-size: 24px;
        line-height: 1.2;
        white-space: normal;
    }
    .why-stat span {
        white-space: normal;
    }
    .why-stats {
        gap: 8px;
    }

    /* Projects */
    .projects-section .section-header.row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }
    .projects-section .section-title {
        font-size: 24px;
    }
    .projects-section .section-desc {
        font-size: 16px;
    }
    .projects-slider {
        gap: 0;
    }
    .slides-track {
        min-height: 720px;
    }
    .project-card {
        padding: 16px;
    }
    .project-card-inner {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }
    .project-image img {
        height: 194px;
        border-radius: 8px 8px 0 0;
    }
    .project-num {
        margin-bottom: 16px;
    }
    .project-info h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    .project-columns {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    .project-columns strong,
    .project-result strong {
        font-size: 14px;
    }
    .project-columns p,
    .project-result p {
        font-size: 13px;
    }
    .project-result {
        padding: 12px 16px;
    }
    .slider-arrow {
        width: 36px;
        height: 36px;
        top: auto;
        bottom: 16px;
        transform: none;
    }
    .slider-arrow.prev {
        left: 16px;
    }
    .slider-arrow.next {
        right: 16px;
    }
    .slider-dots {
        bottom: 26px;
        right: 50%;
        transform: translateX(50%);
    }

    /* Partners */
    .partners-section .section-title {
        font-size: 24px;
    }
    .partners-section .section-header {
        margin-bottom: 24px;
    }
    .partners-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .partners-grid::-webkit-scrollbar {
        display: none;
    }
    .partner-card {
        flex: 0 0 220px;
        width: 220px;
        height: auto;
        min-height: unset;
        padding: 16px;
    }
    .partner-card img {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }
    .partner-card h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .partner-card p {
        font-size: 11px;
        line-height: 1.4;
    }

    /* FAQ */
    .faq-section .section-title {
        font-size: 24px;
    }
    .faq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }
    .faq-description {
        text-align: left;
        max-width: 100%;
    }
    .faq-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .faq-item {
        padding: 20px 24px;
        font-size: 14px;
    }
    .faq-icon {
        width: 10px;
        height: 6px;
    }
    .faq-item p {
        font-size: 14px;
    }
    .faq-item.active p {
        margin-top: 12px;
    }

    .phone-input {
        padding: 12px;
    }
}

@media (max-width: 340px) {
    .site-header .header-container {
        width: calc(100vw - 24px);
        gap: 6px;
    }

    .logo img {
        width: 90px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-action {
        gap: 4px;
    }

    .header-action svg,
    .action-count {
        width: 18px;
        height: 18px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        margin-left: 6px;
    }
}


/* Mobile footer + map consolidation */
@media (max-width: 768px) {
    .site-footer {
        overflow: hidden;
    }

    .site-footer .footer-main {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .site-footer .footer-bg {
        width: 100vw;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        /* Zoom so the Gladkova 8A block stays visible above the footer card */
        background-size: auto 145%;
        background-position: 50% 100%;
    }

    .footer-main {
        min-height: 560px;
    }

    .footer-card {
        position: absolute;
        left: 50%;
        right: auto;
        top: auto;
        bottom: 16px;
        transform: translateX(-50%);
        width: var(--mobile-content-width);
        max-width: none;
        box-sizing: border-box;
        padding: 24px;
    }

    .footer-logo {
        width: 164px;
        margin-bottom: 20px;
    }

    .footer-contacts {
        gap: 10px;
        margin-bottom: 20px;
    }

    .footer-contact {
        font-size: 14px;
    }

    .footer-socials {
        gap: 16px;
        margin-bottom: 20px;
    }

    .footer-callback {
        width: 100%;
        max-width: 100%;
        padding: 14px;
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        padding: 20px 0;
        gap: 16px;
    }

    .footer-info p,
    .footer-links a,
    .footer-copyright {
        font-size: 12px;
    }

    .map-pulse {
        left: calc(50% - 72px);
        top: 31%;
    }

    .site-footer .map-pulse {
        left: calc(50% - 72px);
        top: 31%;
        z-index: 3;
    }

    body.trimed-service-page .site-footer {
        margin-top: 0;
        padding-bottom: 0;
    }

    body.trimed-service-page .site-footer .footer-main {
        min-height: 560px;
        height: 560px;
    }

    body.trimed-service-page .site-footer .footer-card {
        bottom: 16px;
        min-height: 0;
    }

    body.trimed-service-page .site-footer .map-pulse {
        left: calc(50% - 72px);
        top: 31%;
    }
}

@media (max-width: 480px) {
    .audience-grid {
        grid-template-columns: 1fr 1fr;
    }
    .audience-card {
        min-height: 108px;
        padding: 16px;
    }
    .audience-card h3 {
        font-size: 14px;
    }
    .task-item {
        font-size: 14px;
    }
    .partner-card img {
        width: 90px;
        height: 90px;
    }
    .footer-card {
        padding: 20px;
    }
}


/* Map pulse: points to Gladkova 8A on footer-map-trimed.png (verified vs Yandex/OSM) */
.map-pulse {
    position: absolute;
    left: 43.8%;
    top: 54%;
    z-index: 1;
    width: 14px;
    height: 14px;
}

@keyframes map-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.6);
        opacity: 0;
    }
}

.map-pulse span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--color-green);
}

.map-pulse span:nth-child(1) {
    width: 46px;
    height: 46px;
    opacity: 0.2;
    animation: map-pulse 2.4s infinite ease-out;
}

.map-pulse span:nth-child(2) {
    width: 29px;
    height: 29px;
    opacity: 0.6;
    animation: map-pulse 2.4s infinite ease-out;
    animation-delay: 1.2s;
}

.map-pulse span:nth-child(3) {
    width: 14px;
    height: 14px;
    opacity: 1;
}

/* Shared footer: map component aligned to 1200px grid across all pages */
.site-footer .footer-container {
    max-width: 1344px;
    width: calc(100% - 96px);
    margin: 0 auto;
    padding: 0;
}

.site-footer .footer-bg {
    background-image: url('../img/footer-map-trimed.png');
}

@media (min-width: 769px) {
    .site-footer {
        padding-bottom: 32px;
    }

    .site-footer .map-pulse {
        left: 43.8%;
        top: 54%;
    }

    .site-footer .footer-main {
        min-height: 470px;
        height: 470px;
    }

    .site-footer .footer-card {
        right: 72px;
        top: 50px;
        transform: none;
        height: 376px;
        min-height: 0;
        padding: 36px;
    }

    .site-footer .footer-logo {
        margin-bottom: 34px;
    }

    .site-footer .footer-contacts {
        margin-bottom: 24px;
    }

    .site-footer .footer-bottom {
        position: relative;
        display: block;
        height: 101px;
        min-height: 101px;
        padding: 0;
        box-sizing: border-box;
    }

    .site-footer .footer-copyright {
        position: absolute;
        left: 72px;
        top: 28px;
        width: 307px;
        margin: 0;
    }

    .site-footer .footer-info {
        position: absolute;
        left: 72px;
        top: 55px;
        width: 307px;
    }

    .site-footer .footer-links {
        position: absolute;
        left: 901px;
        top: 28px;
        width: 351px;
    }

    .site-footer .footer-info p,
    .site-footer .footer-links a,
    .site-footer .footer-copyright {
        color: var(--color-black-muted);
        font-size: 16px;
        line-height: 19px;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-container {
        width: 100%;
    }

    :where(.mc-request-inner, .stom-request-inner) {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 16px;
        border-radius: var(--radius-card);
    }

    :where(.mc-request-left, .stom-request-inner > div) {
        margin-top: 0;
        text-align: center;
    }

    :where(.mc-request-title, .stom-request-title) {
        font-size: 24px;
        line-height: 26.4px;
        font-weight: 600;
        letter-spacing: 0;
    }

    :where(.mc-request-desc, .stom-request-desc) {
        font-size: 14px;
        line-height: 15.4px;
        letter-spacing: 0;
    }

    :where(.mc-request-note, .stom-request-note) {
        justify-content: center;
        margin-top: 16px;
        gap: 8px;
        font-size: 12px;
        line-height: 13.2px;
        letter-spacing: 0;
    }

    :where(.request-form) {
        padding: 20px;
    }

    :where(.request-form) .checkbox {
        height: auto;
        min-height: 24px;
        align-items: flex-start;
    }

    :where(.request-form) .checkbox span {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    /* Shared mobile service request-form controls */
    :where(.mc-request-form, .stom-request-form) {
        width: min(308px, 100%);
        margin: 0 auto;
    }

    :where(.mc-request-form, .stom-request-form) input:not(.checkbox input),
    :where(.mc-request-form, .stom-request-form) textarea,
    :where(.mc-request-form, .stom-request-form) .phone-input {
        width: 100%;
    }

    :where(.mc-request-form, .stom-request-form) input:not(.checkbox input),
    :where(.mc-request-form, .stom-request-form) textarea,
    :where(.mc-request-form, .stom-request-form) textarea[name="comment"] {
        height: var(--control-height);
    }

    :where(.mc-request-form, .stom-request-form) .checkbox {
        height: auto;
        align-items: flex-start;
        margin-bottom: 8px;
    }

    :where(.mc-request-form, .stom-request-form) .checkbox input {
        width: var(--form-checkbox-size);
        height: var(--form-checkbox-size);
        margin: 0;
        flex-shrink: 0;
    }

    :where(.mc-request-form, .stom-request-form) .checkbox span {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        opacity: 1;
    }

    :where(.mc-request-form, .stom-request-form) button {
        width: 100%;
        font-size: 0;
    }

    /* Shared mobile project/case cards (medcentry + stomatology) */
    :where(.mc-projects-grid, .stom-projects-grid) {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    :where(.mc-project-card, .stom-project-card) {
        flex: 0 0 328px;
        width: 328px;
        height: 426px;
        flex-direction: column;
        scroll-snap-align: start;
    }

    :where(.mc-project-card-img, .stom-project-card-img) {
        height: 194px;
    }

    :where(.mc-project-card-title, .stom-project-card-title) {
        font-size: 20px;
        line-height: 24px;
        letter-spacing: -0.6px;
        font-weight: 600;
    }

    :where(.mc-project-card-text, .stom-project-card-text) {
        font-size: 16px;
        line-height: 19.2px;
        opacity: 1;
    }
}





:where(.laboratory-page, .disinfection-page) .home-request-form .form-row {
    margin-bottom: 12px;
}

:where(.laboratory-page, .disinfection-page) .home-request-form .form-field-label {
    display: none;
}

/* Shared legal pages */
.legal-section {
    padding: 72px 0 96px;
}

.legal-container {
    max-width: 1200px;
}

.legal-title {
    max-width: 900px;
    margin: 0 0 40px;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 600;
    color: var(--color-text, #353535);
}

.legal-content {
    max-width: 900px;
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-text, #353535);
}

.legal-content :where(h2, h3) {
    margin: 36px 0 16px;
    line-height: 1.2;
}

.legal-content :where(p, ul, ol) {
    margin: 0 0 16px;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 40px 0 64px;
    }

    .legal-title {
        margin-bottom: 28px;
        font-size: 32px;
        line-height: 1.1;
    }

    .legal-content {
        font-size: 16px;
    }
}

/* ==========================================================================
   Unified mobile slider controls (service pages)
   Arrows + centered bottom dots are generated by assets/js/main.js
   (initScrollDotsSlider) for the mobile scroll-snap carousels:
   - page-medcentry  .mc-projects-grid.trimed-projects-grid
   - page-stomatology .stom-projects-grid
   - page-laboratory .lab-partners .partners-grid
   - page-disinfection .partners-section .partners-grid
   Same control row pattern as the home sliders (home.css). Desktop layouts
   are unchanged: controls stay hidden above 768px.
   ========================================================================== */
.scroll-slider-dots,
.scroll-slider-arrow {
    display: none;
}

@media (max-width: 768px) {
    body.medcentry-page .scroll-slider-arrow,
    body.stomatology-page .scroll-slider-arrow,
    body.laboratory-page .scroll-slider-arrow,
    body.disinfection-page .scroll-slider-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--color-green);
        cursor: pointer;
        position: relative;
        transition: opacity 0.2s ease;
    }

    body.medcentry-page .scroll-slider-arrow:hover,
    body.stomatology-page .scroll-slider-arrow:hover,
    body.laboratory-page .scroll-slider-arrow:hover,
    body.disinfection-page .scroll-slider-arrow:hover {
        opacity: 0.85;
    }

    body.medcentry-page .scroll-slider-arrow::before,
    body.stomatology-page .scroll-slider-arrow::before,
    body.laboratory-page .scroll-slider-arrow::before,
    body.disinfection-page .scroll-slider-arrow::before {
        content: '';
        width: 8px;
        height: 8px;
        border: solid var(--color-white);
        border-width: 0 2px 2px 0;
        transform: translateX(1px) rotate(135deg);
    }

    body.medcentry-page .scroll-slider-arrow.next::before,
    body.stomatology-page .scroll-slider-arrow.next::before,
    body.laboratory-page .scroll-slider-arrow.next::before,
    body.disinfection-page .scroll-slider-arrow.next::before {
        transform: translateX(-1px) rotate(-45deg);
    }

    body.medcentry-page .scroll-slider-dots,
    body.stomatology-page .scroll-slider-dots,
    body.laboratory-page .scroll-slider-dots,
    body.disinfection-page .scroll-slider-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        margin-top: 12px;
    }

    body.medcentry-page .scroll-slider-dot,
    body.stomatology-page .scroll-slider-dot,
    body.laboratory-page .scroll-slider-dot,
    body.disinfection-page .scroll-slider-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(54, 118, 67, 0.22);
        cursor: pointer;
        transition: width .2s ease, background-color .2s ease, border-radius .2s ease;
    }

    body.medcentry-page .scroll-slider-dot.active,
    body.stomatology-page .scroll-slider-dot.active,
    body.laboratory-page .scroll-slider-dot.active,
    body.disinfection-page .scroll-slider-dot.active {
        width: 24px;
        border-radius: 999px;
        background: var(--color-green);
    }
}
