/*
Theme Name: AMMA-MED
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Кастомная медицинская тема WordPress для клиники AMMA-MED с услугами, врачами и ACF.
Version: 1.9.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: amma-med
*/

:root {
    --amma-bg: #f6f9fc;
    --amma-surface: #ffffff;
    --amma-text: #19324a;
    --amma-muted: #5f7183;
    --amma-border: #dbe6f0;
    --amma-accent: #0f7c90;
    --amma-accent-dark: #0a5f6d;
    --amma-success: #2f855a;
    --amma-shadow: 0 12px 40px rgba(25, 50, 74, 0.08);
    --amma-radius: 20px;
    --amma-container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--amma-bg);
    color: var(--amma-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

a {
    color: var(--amma-accent);
    text-decoration: none;
}

a:hover {
    color: var(--amma-accent-dark);
}

.container {
    width: min(100% - 32px, var(--amma-container));
    margin-inline: auto;
}

.amma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--amma-accent);
    color: #fff;
    font-weight: 700;
    transition: .2s ease;
    cursor: pointer;
}

.amma-btn:hover {
    background: var(--amma-accent-dark);
    color: #fff;
}

.amma-card {
    background: var(--amma-surface);
    border: 1px solid var(--amma-border);
    border-radius: var(--amma-radius);
    box-shadow: var(--amma-shadow);
}

.amma-section {
    padding: 56px 0;
}

.amma-section-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.amma-section-text {
    margin: 0;
    color: var(--amma-muted);
}

.amma-grid {
    display: grid;
    gap: 24px;
}

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

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

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

@media (max-width: 1100px) {
    .amma-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    .amma-grid-2,
    .amma-grid-3,
    .amma-grid-4 {
        grid-template-columns: 1fr;
    }

    .amma-section {
        padding: 40px 0;
    }
}
.amma-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(219, 230, 240, 0.8);
}

.amma-header__row {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 82px;
}

.amma-header__logo img {
    max-height: 56px;
    width: auto;
}

.amma-header__logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f7c90, #13a7c1);
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
}

.amma-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.amma-menu li {
    margin: 0;
}

.amma-menu a {
    color: var(--amma-text);
    font-weight: 600;
}

.amma-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amma-header__phone,
.amma-header__whatsapp {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--amma-border);
    border-radius: 999px;
    background: #fff;
    color: var(--amma-text);
    font-weight: 700;
    white-space: nowrap;
}

.amma-btn--ghost {
    background: transparent;
    color: var(--amma-accent);
    border: 1px solid var(--amma-accent);
}

.amma-btn--ghost:hover {
    background: var(--amma-accent);
    color: #fff;
}

.amma-btn--small {
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
}

.amma-breadcrumbs {
    padding: 14px 0;
    background: #f1f6fb;
    border-bottom: 1px solid var(--amma-border);
    font-size: 14px;
}

.amma-breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--amma-muted);
}

.amma-breadcrumbs-sep {
    opacity: .5;
}

.amma-hero {
    padding: 56px 0 32px;
}

.amma-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: stretch;
}

.amma-hero__content,
.amma-hero__panel {
    padding: 34px;
    border-radius: 28px;
}

.amma-hero__content {
    background: linear-gradient(135deg, #ffffff 0%, #eef8fb 100%);
    border: 1px solid var(--amma-border);
    box-shadow: var(--amma-shadow);
}

.amma-hero__badge {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(15, 124, 144, 0.12);
    color: var(--amma-accent-dark);
    font-weight: 700;
    margin-bottom: 16px;
}

.amma-hero__title {
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.02;
}

.amma-hero__text {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: 18px;
    color: var(--amma-muted);
}

.amma-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.amma-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.amma-hero__meta-item {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.amma-hero-panel__title {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 800;
}

.amma-hero-panel__list {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--amma-muted);
}

.amma-hero-panel__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.amma-hero-panel__links a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #f3fbfd;
    border: 1px solid var(--amma-border);
    font-weight: 700;
}

.amma-section--alt {
    background: #eef5fb;
}

.amma-section--accent {
    padding-top: 0;
}

.amma-section-heading {
    margin-bottom: 24px;
}

.amma-section-heading--between {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.amma-link-more {
    font-weight: 700;
    white-space: nowrap;
}

.amma-category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    padding: 24px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.amma-category-card:hover,
.amma-service-card:hover,
.amma-doctor-card:hover {
    transform: translateY(-4px);
}

.amma-category-card__name {
    font-size: 20px;
    font-weight: 800;
    color: var(--amma-text);
}

.amma-category-card__count {
    margin-top: 18px;
    color: var(--amma-muted);
}

.amma-service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
}

.amma-service-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.amma-service-card__category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f2fafc;
    color: var(--amma-accent-dark);
    font-size: 13px;
    font-weight: 700;
}

.amma-service-card__code {
    color: var(--amma-muted);
    font-size: 13px;
    text-align: right;
}

.amma-service-card__title {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.2;
}

.amma-service-card__title a {
    color: var(--amma-text);
}

.amma-service-card__bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.amma-service-card__price {
    font-size: 24px;
    font-weight: 800;
}

.amma-doctor-card {
    overflow: hidden;
}

.amma-doctor-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #edf5fb;
}

.amma-doctor-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amma-doctor-card__placeholder,
.amma-doctor-hero__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #ebf5fb, #d8edf2);
    color: var(--amma-accent-dark);
    font-size: 28px;
    font-weight: 800;
}

.amma-doctor-card__content {
    padding: 22px;
}

.amma-doctor-card__name {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.15;
}

.amma-doctor-card__name a {
    color: var(--amma-text);
}

.amma-doctor-card__position {
    margin-bottom: 10px;
    color: var(--amma-accent-dark);
    font-weight: 700;
}

.amma-doctor-card__experience {
    margin-bottom: 14px;
    color: var(--amma-muted);
}

.amma-doctor-card__services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.amma-doctor-card__services span {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    background: #f5f9fd;
    border: 1px solid var(--amma-border);
    font-size: 13px;
    color: var(--amma-text);
}

.amma-page-hero {
    padding: 38px 0 20px;
}

.amma-page-hero__title {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
}

.amma-page-hero__text {
    margin: 0;
    max-width: 760px;
    color: var(--amma-muted);
    font-size: 18px;
}

.amma-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.amma-filter-pill {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--amma-border);
    color: var(--amma-text);
    font-weight: 700;
}

.amma-content-box,
.amma-info-box {
    padding: 28px;
}

.amma-entry-content h2,
.amma-entry-content h3 {
    margin-top: 0;
}

.amma-entry-content > *:first-child {
    margin-top: 0;
}

.amma-sidebar-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.amma-info-list {
    margin: 0;
    padding-left: 18px;
}

.amma-service-hero,
.amma-doctor-hero {
    padding: 32px;
}

.amma-service-hero__category {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef9fc;
    color: var(--amma-accent-dark);
    font-weight: 700;
    margin-bottom: 14px;
}

.amma-service-hero__meta,
.amma-doctor-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 22px 0;
}

.amma-service-hero__meta-item,
.amma-doctor-hero__meta-item {
    min-width: 180px;
    padding: 16px 18px;
    border: 1px solid var(--amma-border);
    border-radius: 18px;
    background: #f9fcff;
}

.amma-service-hero__meta-item span,
.amma-doctor-hero__meta-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--amma-muted);
    font-size: 14px;
}

.amma-service-hero__meta-item strong,
.amma-doctor-hero__meta-item strong {
    font-size: 20px;
}

.amma-service-hero__actions,
.amma-doctor-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.amma-doctor-hero {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: center;
}

.amma-doctor-hero__image-wrap {
    border-radius: 24px;
    overflow: hidden;
    background: #edf5fb;
}

.amma-doctor-hero__image {
    width: 100%;
    height: auto;
    display: block;
}

.amma-doctor-hero__position {
    font-size: 20px;
    font-weight: 700;
    color: var(--amma-accent-dark);
    margin-bottom: 14px;
}

.amma-empty-state {
    padding: 34px;
    text-align: center;
}

.amma-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 34px;
    background: linear-gradient(135deg, #ffffff 0%, #eaf8fc 100%);
}

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

.amma-pagination {
    margin-top: 28px;
}

.amma-pagination .nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.amma-pagination .page-numbers {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--amma-border);
    color: var(--amma-text);
    font-weight: 700;
}

.amma-pagination .page-numbers.current {
    background: var(--amma-accent);
    color: #fff;
    border-color: var(--amma-accent);
}

.amma-footer {
    margin-top: 48px;
    padding: 40px 0 18px;
    background: #143147;
    color: rgba(255,255,255,.88);
}

.amma-footer a {
    color: #fff;
}

.amma-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 28px;
}

.amma-footer__title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
}

.amma-footer__text,
.amma-footer__phone {
    color: rgba(255,255,255,.82);
}

.amma-footer-menu,
.amma-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.amma-footer-menu li,
.amma-footer-links li {
    margin-bottom: 10px;
}

.amma-footer__bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255,255,255,.7);
}

@media (max-width: 1200px) {
    .amma-header__row {
        grid-template-columns: 1fr;
        padding: 14px 0;
    }

    .amma-header__nav,
    .amma-header__actions {
        justify-self: start;
    }

    .amma-hero__grid,
    .amma-doctor-hero,
    .amma-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .amma-header__actions,
    .amma-hero__actions,
    .amma-service-card__bottom,
    .amma-section-heading--between,
    .amma-cta,
    .amma-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .amma-menu {
        flex-wrap: wrap;
    }

    .amma-hero__content,
    .amma-hero__panel,
    .amma-service-hero,
    .amma-doctor-hero,
    .amma-content-box,
    .amma-info-box,
    .amma-cta {
        padding: 22px;
    }

    .amma-service-hero__meta,
    .amma-doctor-hero__meta {
        flex-direction: column;
    }
}
.amma-lock {
    overflow: hidden;
}

.amma-header__search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--amma-border);
    background: #fff;
    color: var(--amma-text);
    font-weight: 700;
    cursor: pointer;
}

.amma-burger {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--amma-border);
    border-radius: 14px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.amma-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--amma-text);
    border-radius: 10px;
}

.amma-mobile-drawer,
.amma-search-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    pointer-events: none;
}

.amma-mobile-drawer.is-open,
.amma-search-drawer.is-open {
    pointer-events: auto;
}

.amma-mobile-drawer__overlay,
.amma-search-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 29, 43, 0.45);
    opacity: 0;
    transition: opacity .22s ease;
}

.amma-mobile-drawer__panel,
.amma-search-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 420px);
    height: 100%;
    background: #fff;
    box-shadow: -16px 0 44px rgba(25, 50, 74, 0.16);
    transform: translateX(100%);
    transition: transform .22s ease;
    padding: 24px;
    overflow-y: auto;
}

.amma-search-drawer__panel {
    width: min(100%, 560px);
}

.amma-mobile-drawer.is-open .amma-mobile-drawer__overlay,
.amma-search-drawer.is-open .amma-search-drawer__overlay {
    opacity: 1;
}

.amma-mobile-drawer.is-open .amma-mobile-drawer__panel,
.amma-search-drawer.is-open .amma-search-drawer__panel {
    transform: translateX(0);
}

.amma-mobile-drawer__head,
.amma-search-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.amma-mobile-drawer__title,
.amma-search-drawer__title {
    font-size: 24px;
    font-weight: 800;
}

.amma-mobile-drawer__close,
.amma-search-drawer__close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--amma-border);
    border-radius: 12px;
    background: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.amma-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amma-mobile-menu li {
    margin: 0 0 10px;
}

.amma-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    background: #f7fbff;
    border: 1px solid var(--amma-border);
    color: var(--amma-text);
    font-weight: 700;
}

.amma-mobile-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}

.amma-search-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.amma-search-form__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--amma-text);
}

.amma-search-form__row {
    display: flex;
    gap: 12px;
}

.amma-search-form__input {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid var(--amma-border);
    background: #fff;
    color: var(--amma-text);
    font-size: 16px;
    outline: none;
}

.amma-search-form__input:focus {
    border-color: var(--amma-accent);
    box-shadow: 0 0 0 4px rgba(15, 124, 144, 0.12);
}

.amma-search-page-form {
    padding: 24px;
    margin-bottom: 24px;
}

.amma-search-results {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.amma-search-result {
    padding: 24px;
}

.amma-search-result__badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #f0f9fc;
    color: var(--amma-accent-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.amma-search-result__title {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.15;
}

.amma-search-result__title a {
    color: var(--amma-text);
}

.amma-search-result__excerpt {
    margin-bottom: 14px;
    color: var(--amma-muted);
}

.amma-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.amma-404__card {
    padding: 34px;
    text-align: center;
}

.amma-404__code {
    font-size: clamp(72px, 12vw, 140px);
    line-height: 1;
    font-weight: 900;
    color: var(--amma-accent);
    margin-bottom: 12px;
}

.amma-404__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 28px;
}

.amma-mobile-sticky-bar {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 90;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 44px rgba(25, 50, 74, 0.18);
    border: 1px solid rgba(219, 230, 240, 0.95);
}

.amma-mobile-sticky-bar__item {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
    border-radius: 14px;
    background: #f4f9fd;
    color: var(--amma-text);
    font-size: 14px;
    font-weight: 800;
    border: 1px solid var(--amma-border);
}

.amma-mobile-sticky-bar__item--accent {
    background: var(--amma-accent);
    color: #fff;
    border-color: var(--amma-accent);
}

@media (max-width: 1200px) {
    .amma-header__nav {
        display: none;
    }

    .amma-burger {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .amma-header__phone,
    .amma-header__whatsapp,
    .amma-header__cta {
        display: none;
    }

    .amma-header__row {
        grid-template-columns: 1fr auto;
        gap: 16px;
        min-height: 74px;
    }

    .amma-header__actions {
        justify-content: end;
    }

    .amma-header__search-toggle {
        min-height: 44px;
        padding: 0 14px;
        font-size: 14px;
    }

    .amma-search-form__row {
        flex-direction: column;
    }

    .amma-mobile-sticky-bar {
        display: grid;
    }

    body {
        padding-bottom: 96px;
    }
}
:root {
    --amma-bg: #f4f7fb;
    --amma-surface: #ffffff;
    --amma-surface-2: #eef4f9;
    --amma-text: #2b2e33;
    --amma-muted: #6a7380;
    --amma-border: #d9e3ee;
    --amma-accent: #176bb8;
    --amma-accent-2: #2a86d1;
    --amma-accent-dark: #114e86;
    --amma-radius: 26px;
    --amma-shadow: 0 18px 50px rgba(23, 107, 184, 0.08);
    --amma-container: 1320px;
}

body {
    background: linear-gradient(180deg, #f7fafd 0%, #eef4f9 100%);
    color: var(--amma-text);
}

.container {
    width: min(100% - 32px, var(--amma-container));
    margin-inline: auto;
}

.amma-btn {
    background: var(--amma-accent);
    border: 1px solid var(--amma-accent);
    color: #fff;
    border-radius: 999px;
    min-height: 56px;
    padding: 0 24px;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(23, 107, 184, 0.14);
}

.amma-btn:hover {
    background: var(--amma-accent-dark);
    border-color: var(--amma-accent-dark);
    color: #fff;
}

.amma-btn--ghost {
    background: #fff;
    color: var(--amma-accent);
    border: 1px solid rgba(23, 107, 184, 0.5);
    box-shadow: none;
}

.amma-btn--ghost:hover {
    background: var(--amma-accent);
    color: #fff;
    border-color: var(--amma-accent);
}

.amma-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(217, 227, 238, 0.85);
    border-radius: 26px;
    box-shadow: var(--amma-shadow);
    backdrop-filter: blur(8px);
}

.amma-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(217, 227, 238, 0.85);
}

.amma-header__row {
    display: grid;
    grid-template-columns: 290px 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 88px;
}

.amma-header__logo--custom .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.amma-header__logo--custom img,
.amma-home-brand-panel__custom-logo img {
    width: auto;
    max-height: 74px;
}

.amma-header__nav {
    display: flex;
    justify-content: center;
}

.amma-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.amma-menu li {
    margin: 0;
}

.amma-menu a {
    color: var(--amma-text);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.amma-menu a:hover {
    color: var(--amma-accent);
}

.amma-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amma-header__search-toggle,
.amma-header__phone,
.amma-header__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 107, 184, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: var(--amma-text);
    font-weight: 700;
}

.amma-header__phone:hover,
.amma-header__whatsapp:hover,
.amma-header__search-toggle:hover {
    color: var(--amma-accent);
    border-color: rgba(23, 107, 184, 0.35);
}

.amma-breadcrumbs {
    background: transparent;
    border-bottom: 0;
    padding: 12px 0 0;
}

.amma-breadcrumbs .container {
    color: var(--amma-muted);
    font-size: 13px;
}

.amma-home-hero {
    position: relative;
    padding: 28px 0 18px;
    overflow: hidden;
}

.amma-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(23, 107, 184, 0.08), transparent 22%),
        radial-gradient(circle at 82% 14%, rgba(23, 107, 184, 0.08), transparent 18%),
        radial-gradient(circle at 72% 72%, rgba(23, 107, 184, 0.06), transparent 22%);
    pointer-events: none;
}

.amma-home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 26px;
    align-items: stretch;
}

.amma-home-hero__content {
    padding: 34px 12px 12px 0;
}

.amma-home-hero__eyebrow,
.amma-home-section__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(23, 107, 184, 0.1);
    color: var(--amma-accent-dark);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.amma-home-hero__title {
    margin: 16px 0 18px;
    max-width: 760px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--amma-text);
}

.amma-home-hero__lead {
    max-width: 680px;
    margin: 0 0 24px;
    color: var(--amma-muted);
    font-size: 20px;
    line-height: 1.65;
}

.amma-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.amma-home-hero__primary,
.amma-home-hero__secondary {
    min-width: 220px;
}

.amma-home-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 720px;
}

.amma-home-trust__item {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(217, 227, 238, 0.92);
    box-shadow: 0 10px 30px rgba(23, 107, 184, 0.06);
}

.amma-home-trust__value {
    margin-bottom: 6px;
    color: var(--amma-accent);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.amma-home-trust__label {
    color: var(--amma-muted);
    font-size: 14px;
    line-height: 1.4;
}

.amma-home-hero__visual {
    display: flex;
    align-items: stretch;
}

.amma-home-brand-panel {
    position: relative;
    width: 100%;
    padding: 28px;
    overflow: hidden;
}

.amma-home-brand-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 107, 184, 0.13) 0%, rgba(23, 107, 184, 0.02) 68%, transparent 70%);
}

.amma-home-brand-panel::after {
    content: "";
    position: absolute;
    left: -50px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 46, 51, 0.08) 0%, rgba(43, 46, 51, 0.02) 68%, transparent 70%);
}

.amma-home-brand-panel__logo-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.amma-home-brand-panel__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.amma-home-brand-panel__mark {
    position: relative;
    width: 72px;
    height: 88px;
    flex: 0 0 72px;
}

.amma-home-brand-panel__mark::before,
.amma-home-brand-panel__mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px 50px 14px 50px;
    background: linear-gradient(180deg, #176bb8 0%, #1f7fce 100%);
    transform-origin: bottom center;
}

.amma-home-brand-panel__mark::before {
    clip-path: polygon(0 8%, 64% 0, 100% 35%, 78% 100%, 0 74%);
    transform: rotate(-6deg);
}

.amma-home-brand-panel__mark::after {
    width: 56%;
    height: 62%;
    top: 28%;
    left: 24%;
    background: #ffffff;
    clip-path: ellipse(40% 50% at 50% 50%);
    box-shadow: inset 0 0 0 2px rgba(23, 107, 184, 0.12);
}

.amma-home-brand-panel__name {
    color: var(--amma-text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
}

.amma-home-brand-panel__sub {
    color: var(--amma-accent);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
}

.amma-home-brand-panel__text {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    color: var(--amma-muted);
    font-size: 16px;
    line-height: 1.6;
}

.amma-home-hero-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.amma-home-hero-card {
    display: block;
    padding: 18px;
    border-radius: 22px;
    background: rgba(248, 250, 253, 0.92);
    border: 1px solid rgba(217, 227, 238, 0.95);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-home-hero-card:hover {
    transform: translateY(-3px);
    border-color: rgba(23, 107, 184, 0.35);
    box-shadow: 0 18px 36px rgba(23, 107, 184, 0.08);
}

.amma-home-hero-card__title {
    margin-bottom: 8px;
    color: var(--amma-text);
    font-size: 18px;
    font-weight: 800;
}

.amma-home-hero-card__text {
    color: var(--amma-muted);
    font-size: 14px;
    line-height: 1.5;
}

.amma-home-shortcuts {
    padding: 8px 0 6px;
}

.amma-home-shortcuts__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.amma-home-shortcut {
    display: block;
    min-height: 156px;
    padding: 24px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-home-shortcut:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.32);
    box-shadow: 0 20px 38px rgba(23, 107, 184, 0.08);
}

.amma-home-shortcut__title {
    margin-bottom: 10px;
    color: var(--amma-text);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.amma-home-shortcut__text {
    color: var(--amma-muted);
    font-size: 15px;
    line-height: 1.6;
}

.amma-home-section {
    padding: 26px 0;
}

.amma-home-section--soft {
    background: linear-gradient(180deg, rgba(238, 244, 249, 0.72) 0%, rgba(248, 250, 253, 0.72) 100%);
    border-top: 1px solid rgba(217, 227, 238, 0.7);
    border-bottom: 1px solid rgba(217, 227, 238, 0.7);
}

.amma-home-section__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 22px;
}

.amma-home-section__title {
    margin: 12px 0 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 900;
    color: var(--amma-text);
    letter-spacing: -0.02em;
}

.amma-home-section__link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 107, 184, 0.25);
    background: rgba(255, 255, 255, 0.84);
    color: var(--amma-accent);
    font-weight: 800;
    white-space: nowrap;
}

.amma-home-section__link:hover {
    color: #fff;
    background: var(--amma-accent);
    border-color: var(--amma-accent);
}

.amma-home-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.amma-home-category {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 152px;
    padding: 22px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-home-category:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.3);
    box-shadow: 0 18px 34px rgba(23, 107, 184, 0.08);
}

.amma-home-category__name {
    color: var(--amma-text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}

.amma-home-category__count {
    margin-top: 18px;
    color: var(--amma-muted);
    font-size: 15px;
    font-weight: 700;
}

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

.amma-home-service {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 22px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-home-service:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.32);
    box-shadow: 0 20px 40px rgba(23, 107, 184, 0.08);
}

.amma-home-service__term {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(23, 107, 184, 0.1);
    color: var(--amma-accent-dark);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.amma-home-service__title {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.24;
    font-weight: 900;
}

.amma-home-service__title a {
    color: var(--amma-text);
}

.amma-home-service__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--amma-muted);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.amma-home-service__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.amma-home-service__link {
    color: var(--amma-accent);
    font-weight: 800;
}

.amma-home-service__book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--amma-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.amma-home-service__book:hover {
    background: var(--amma-accent-dark);
    color: #fff;
}

.amma-home-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.amma-home-about,
.amma-home-brand-showcase {
    padding: 28px;
}

.amma-home-about__text {
    margin: 14px 0 18px;
    color: var(--amma-muted);
    font-size: 17px;
    line-height: 1.7;
}

.amma-home-about__list {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.amma-home-about__list li {
    position: relative;
    padding-left: 28px;
    color: var(--amma-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.amma-home-about__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(180deg, #176bb8 0%, #2a86d1 100%);
    box-shadow: 0 0 0 6px rgba(23, 107, 184, 0.08);
}

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

.amma-home-brand-showcase {
    position: relative;
    overflow: hidden;
}

.amma-home-brand-showcase::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 107, 184, 0.12) 0%, transparent 70%);
}

.amma-home-brand-showcase__top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.amma-home-brand-showcase__leaf {
    position: relative;
    width: 82px;
    height: 120px;
    flex: 0 0 82px;
}

.amma-home-brand-showcase__leaf::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #176bb8 0%, #1e7ccc 100%);
    clip-path: polygon(48% 0, 72% 4%, 84% 18%, 82% 28%, 68% 33%, 80% 48%, 70% 62%, 53% 63%, 64% 78%, 52% 100%, 28% 84%, 26% 61%, 12% 54%, 22% 39%, 10% 26%, 18% 12%, 34% 3%);
    border-radius: 14px;
}

.amma-home-brand-showcase__name {
    color: var(--amma-text);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.amma-home-brand-showcase__sub {
    margin-top: 6px;
    color: var(--amma-accent);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.amma-home-brand-showcase__palette {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.amma-home-brand-showcase__swatch {
    display: flex;
    align-items: end;
    min-height: 110px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(217, 227, 238, 0.92);
    background: var(--amma-surface-2);
    overflow: hidden;
    position: relative;
}

.amma-home-brand-showcase__swatch::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--swatch-color, #176bb8);
    opacity: 0.16;
}

.amma-home-brand-showcase__swatch span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--amma-text);
    font-size: 13px;
    font-weight: 800;
}

.amma-home-brand-showcase__swatch[data-color="#176BB8"] { --swatch-color: #176BB8; }
.amma-home-brand-showcase__swatch[data-color="#2B2E33"] { --swatch-color: #2B2E33; }
.amma-home-brand-showcase__swatch[data-color="#EEF3F8"] { --swatch-color: #EEF3F8; }
.amma-home-brand-showcase__swatch[data-color="#F8FAFD"] { --swatch-color: #F8FAFD; }

.amma-home-brand-showcase__note {
    position: relative;
    z-index: 1;
    color: var(--amma-muted);
    font-size: 15px;
    line-height: 1.7;
}

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

.amma-home-doctor {
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-home-doctor:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.3);
    box-shadow: 0 20px 40px rgba(23, 107, 184, 0.08);
}

.amma-home-doctor__media {
    display: block;
    aspect-ratio: 4 / 4.3;
    background: linear-gradient(180deg, #eef4f9 0%, #f8fafd 100%);
    overflow: hidden;
}

.amma-home-doctor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amma-home-doctor__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amma-accent);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.amma-home-doctor__body {
    padding: 22px;
}

.amma-home-doctor__name {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.amma-home-doctor__name a {
    color: var(--amma-text);
}

.amma-home-doctor__position {
    color: var(--amma-accent);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
}

.amma-home-doctor__experience {
    color: var(--amma-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.amma-home-doctor__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(23, 107, 184, 0.1);
    color: var(--amma-accent-dark);
    font-size: 14px;
    font-weight: 800;
}

.amma-home-doctor__link:hover {
    background: var(--amma-accent);
    color: #fff;
}

.amma-home-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.amma-home-contact,
.amma-home-legal {
    padding: 28px;
}

.amma-home-contact__row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(217, 227, 238, 0.86);
}

.amma-home-contact__row span {
    display: block;
    margin-bottom: 8px;
    color: var(--amma-muted);
    font-size: 14px;
    font-weight: 700;
}

.amma-home-contact__row div,
.amma-home-contact__row a {
    color: var(--amma-text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.amma-home-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.amma-home-contact__more {
    display: inline-flex;
    margin-top: 18px;
    color: var(--amma-accent);
    font-weight: 800;
}

.amma-home-legal__list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.amma-home-legal__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 74px;
    padding: 0 18px;
    border-radius: 20px;
    background: rgba(248, 250, 253, 0.9);
    border: 1px solid rgba(217, 227, 238, 0.92);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-home-legal__item:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 107, 184, 0.3);
    box-shadow: 0 16px 28px rgba(23, 107, 184, 0.06);
}

.amma-home-legal__item-title {
    color: var(--amma-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.amma-home-legal__item-arrow {
    color: var(--amma-accent);
    font-size: 22px;
    font-weight: 900;
    flex: 0 0 auto;
}

.amma-home-legal__empty {
    margin-top: 14px;
    color: var(--amma-muted);
    font-size: 15px;
    line-height: 1.6;
}

.amma-home-reviews {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 28px;
}

.amma-home-reviews__text {
    margin: 14px 0 0;
    color: var(--amma-muted);
    font-size: 16px;
    line-height: 1.7;
}

.amma-footer {
    margin-top: 36px;
    padding: 44px 0 24px;
    background:
        radial-gradient(circle at 8% 14%, rgba(255, 255, 255, 0.08), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.06), transparent 18%),
        linear-gradient(180deg, #22313f 0%, #2b2e33 100%);
    color: rgba(255, 255, 255, 0.86);
}

.amma-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 24px;
}

.amma-footer__title {
    margin-bottom: 14px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.amma-footer__text,
.amma-footer__phone,
.amma-footer a {
    color: rgba(255, 255, 255, 0.84);
}

.amma-footer__phone {
    display: inline-block;
    margin-top: 12px;
    font-weight: 800;
}

.amma-footer-menu,
.amma-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.amma-footer-menu li,
.amma-footer-links li {
    margin-bottom: 10px;
}

.amma-footer__bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.amma-mobile-sticky-bar {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(217, 227, 238, 0.92);
    box-shadow: 0 16px 34px rgba(23, 107, 184, 0.14);
}

.amma-mobile-sticky-bar__item {
    font-weight: 800;
}

.amma-mobile-sticky-bar__item--accent {
    background: var(--amma-accent);
    border-color: var(--amma-accent);
}

@media (max-width: 1280px) {
    .amma-header__row {
        grid-template-columns: 250px 1fr auto;
    }

    .amma-menu {
        gap: 18px;
    }

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

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

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

@media (max-width: 1100px) {
    .amma-home-hero__grid,
    .amma-home-about-grid,
    .amma-home-info-grid,
    .amma-home-reviews,
    .amma-footer__grid {
        grid-template-columns: 1fr;
    }

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

    .amma-home-hero__content {
        padding-right: 0;
    }

    .amma-home-trust {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .amma-header__nav {
        display: none;
    }

    .amma-burger {
        display: inline-flex;
    }

    .amma-header__row {
        grid-template-columns: 1fr auto;
    }

    .amma-header__actions {
        justify-content: flex-end;
    }

    .amma-home-hero-cards {
        grid-template-columns: 1fr;
    }

    .amma-home-services {
        grid-template-columns: 1fr;
    }

    .amma-home-categories,
    .amma-home-shortcuts__grid,
    .amma-home-doctors {
        grid-template-columns: 1fr;
    }

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

    .amma-home-section__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .amma-home-reviews__actions {
        width: 100%;
    }

    .amma-home-reviews__actions .amma-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .amma-header__phone,
    .amma-header__whatsapp,
    .amma-header__cta {
        display: none;
    }

    .amma-home-hero {
        padding-top: 18px;
    }

    .amma-home-hero__title {
        font-size: clamp(34px, 10vw, 52px);
    }

    .amma-home-hero__lead {
        font-size: 17px;
    }

    .amma-home-hero__actions,
    .amma-home-about__actions,
    .amma-home-contact__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .amma-home-hero__primary,
    .amma-home-hero__secondary,
    .amma-home-about__actions .amma-btn,
    .amma-home-contact__actions .amma-btn {
        width: 100%;
    }

    .amma-home-brand-panel,
    .amma-home-about,
    .amma-home-brand-showcase,
    .amma-home-contact,
    .amma-home-legal,
    .amma-home-reviews {
        padding: 22px;
    }

    .amma-home-service__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .amma-home-service__book {
        width: 100%;
    }

    .amma-home-doctor__link {
        width: 100%;
        justify-content: center;
    }
}
.amma-home-service__desc {
    margin-bottom: 14px;
    color: var(--amma-muted);
    font-size: 15px;
    line-height: 1.6;
}

.amma-home-trust__icon,
.amma-home-hero-card__icon,
.amma-home-shortcut__icon,
.amma-home-category__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(23, 107, 184, 0.12) 0%, rgba(23, 107, 184, 0.06) 100%);
    border: 1px solid rgba(23, 107, 184, 0.16);
    position: relative;
    flex: 0 0 52px;
}

.amma-home-trust__icon {
    margin-bottom: 12px;
}

.amma-home-hero-card__icon,
.amma-home-shortcut__icon,
.amma-home-category__icon {
    margin-bottom: 14px;
}

.amma-icon--plus::before,
.amma-icon--doctor::before,
.amma-icon--scan::before,
.amma-icon--phone::before,
.amma-icon--list::before,
.amma-icon--wallet::before,
.amma-icon--grid::before,
.amma-icon--folder::before,
.amma-icon--heart::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
}

.amma-icon--plus::before {
    width: 22px;
    height: 22px;
    background:
        linear-gradient(var(--amma-accent), var(--amma-accent)) center / 4px 22px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) center / 22px 4px no-repeat;
    border-radius: 4px;
}

.amma-icon--doctor::before {
    width: 24px;
    height: 24px;
    border: 3px solid var(--amma-accent);
    border-radius: 50%;
    box-shadow:
        0 16px 0 -5px var(--amma-accent),
        0 23px 0 -8px var(--amma-accent);
    top: 8px;
}

.amma-icon--scan::before {
    width: 26px;
    height: 18px;
    border: 3px solid var(--amma-accent);
    border-radius: 10px;
    box-shadow:
        0 -13px 0 -8px var(--amma-accent),
        0 0 0 3px transparent;
}

.amma-icon--phone::before {
    width: 18px;
    height: 28px;
    border: 3px solid var(--amma-accent);
    border-radius: 10px;
    box-shadow: inset 0 -4px 0 0 var(--amma-accent);
}

.amma-icon--list::before {
    width: 24px;
    height: 20px;
    background:
        radial-gradient(circle, var(--amma-accent) 0 2px, transparent 3px) left 2px top 2px / 6px 6px no-repeat,
        radial-gradient(circle, var(--amma-accent) 0 2px, transparent 3px) left 2px center / 6px 6px no-repeat,
        radial-gradient(circle, var(--amma-accent) 0 2px, transparent 3px) left 2px bottom 2px / 6px 6px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right 0 top 4px / 16px 3px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right 0 center / 16px 3px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right 0 bottom 4px / 16px 3px no-repeat;
}

.amma-icon--wallet::before {
    width: 28px;
    height: 18px;
    border: 3px solid var(--amma-accent);
    border-radius: 8px;
    box-shadow: inset -8px 0 0 0 rgba(23, 107, 184, 0.14);
}

.amma-icon--grid::before {
    width: 24px;
    height: 24px;
    background:
        linear-gradient(var(--amma-accent), var(--amma-accent)) left top / 9px 9px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right top / 9px 9px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) left bottom / 9px 9px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right bottom / 9px 9px no-repeat;
    border-radius: 4px;
}

.amma-icon--folder::before {
    width: 28px;
    height: 18px;
    border: 3px solid var(--amma-accent);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: -6px -6px 0 -3px var(--amma-accent);
}

.amma-icon--heart::before {
    width: 24px;
    height: 22px;
    background:
        radial-gradient(circle at 30% 35%, var(--amma-accent) 0 7px, transparent 8px),
        radial-gradient(circle at 70% 35%, var(--amma-accent) 0 7px, transparent 8px),
        linear-gradient(45deg, transparent 46%, var(--amma-accent) 47% 53%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, var(--amma-accent) 47% 53%, transparent 54%);
    transform: rotate(45deg);
}

.amma-home-shortcut__icon,
.amma-home-category__icon {
    display: block;
}

.amma-home-category__icon {
    margin-bottom: 16px;
}

.amma-home-shortcut__icon {
    margin-bottom: 16px;
}

.amma-home-shortcut {
    position: relative;
}

.amma-home-shortcut__title,
.amma-home-category__name,
.amma-home-hero-card__title {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .amma-home-service__desc {
        font-size: 14px;
        line-height: 1.55;
    }
}
.amma-lp-section {
    padding: 32px 0;
}

.amma-lp-section--soft {
    background: linear-gradient(180deg, rgba(238, 244, 249, 0.72) 0%, rgba(248, 250, 253, 0.72) 100%);
    border-top: 1px solid rgba(217, 227, 238, 0.7);
    border-bottom: 1px solid rgba(217, 227, 238, 0.7);
}

.amma-lp-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(23, 107, 184, 0.1);
    color: var(--amma-accent-dark);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.amma-lp-section__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 24px;
}

.amma-lp-section__title {
    margin: 12px 0 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
    font-weight: 900;
    color: var(--amma-text);
    letter-spacing: -0.02em;
}

.amma-lp-section__link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 107, 184, 0.25);
    background: rgba(255, 255, 255, 0.84);
    color: var(--amma-accent);
    font-weight: 800;
    white-space: nowrap;
}

.amma-lp-section__link:hover {
    color: #fff;
    background: var(--amma-accent);
    border-color: var(--amma-accent);
}

.amma-lp-hero {
    position: relative;
    padding: 28px 0 20px;
    overflow: hidden;
}

.amma-lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(23, 107, 184, 0.08), transparent 22%),
        radial-gradient(circle at 82% 14%, rgba(23, 107, 184, 0.08), transparent 18%),
        radial-gradient(circle at 72% 72%, rgba(23, 107, 184, 0.06), transparent 22%);
    pointer-events: none;
}

.amma-lp-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 26px;
    align-items: stretch;
}

.amma-lp-hero__content {
    padding: 36px 12px 12px 0;
}

.amma-lp-hero__title {
    margin: 16px 0 18px;
    max-width: 760px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--amma-text);
}

.amma-lp-hero__lead {
    max-width: 700px;
    margin: 0 0 24px;
    color: var(--amma-muted);
    font-size: 20px;
    line-height: 1.65;
}

.amma-lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.amma-lp-hero__primary,
.amma-lp-hero__secondary {
    min-width: 220px;
}

.amma-lp-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
}

.amma-lp-trust__item {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(217, 227, 238, 0.92);
    box-shadow: 0 10px 30px rgba(23, 107, 184, 0.06);
}

.amma-lp-trust__value {
    margin: 0 0 6px;
    color: var(--amma-accent);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.amma-lp-trust__label {
    color: var(--amma-muted);
    font-size: 14px;
    line-height: 1.45;
}

.amma-lp-hero__visual {
    display: flex;
    align-items: stretch;
}

.amma-lp-brand-panel {
    width: 100%;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.amma-lp-brand-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 107, 184, 0.13) 0%, rgba(23, 107, 184, 0.02) 68%, transparent 70%);
}

.amma-lp-brand-panel::after {
    content: "";
    position: absolute;
    left: -50px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 46, 51, 0.08) 0%, rgba(43, 46, 51, 0.02) 68%, transparent 70%);
}

.amma-lp-brand-panel__top,
.amma-lp-brand-panel__text,
.amma-lp-hero-cards {
    position: relative;
    z-index: 1;
}

.amma-lp-brand-panel__top {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.amma-lp-brand-panel__logo img {
    width: auto;
    max-height: 88px;
}

.amma-lp-brand-panel__brandmark {
    position: relative;
    width: 72px;
    height: 88px;
    flex: 0 0 72px;
}

.amma-lp-brand-panel__brandmark::before,
.amma-lp-brand-panel__brandmark::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px 50px 14px 50px;
    background: linear-gradient(180deg, #176bb8 0%, #1f7fce 100%);
    transform-origin: bottom center;
}

.amma-lp-brand-panel__brandmark::before {
    clip-path: polygon(0 8%, 64% 0, 100% 35%, 78% 100%, 0 74%);
    transform: rotate(-6deg);
}

.amma-lp-brand-panel__brandmark::after {
    width: 56%;
    height: 62%;
    top: 28%;
    left: 24%;
    background: #ffffff;
    clip-path: ellipse(40% 50% at 50% 50%);
    box-shadow: inset 0 0 0 2px rgba(23, 107, 184, 0.12);
}

.amma-lp-brand-panel__name {
    color: var(--amma-text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
}

.amma-lp-brand-panel__sub {
    color: var(--amma-accent);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
}

.amma-lp-brand-panel__text {
    margin-bottom: 18px;
    color: var(--amma-muted);
    font-size: 16px;
    line-height: 1.65;
}

.amma-lp-hero-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.amma-lp-hero-card {
    display: block;
    padding: 18px;
    border-radius: 22px;
    background: rgba(248, 250, 253, 0.92);
    border: 1px solid rgba(217, 227, 238, 0.95);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-lp-hero-card:hover {
    transform: translateY(-3px);
    border-color: rgba(23, 107, 184, 0.35);
    box-shadow: 0 18px 36px rgba(23, 107, 184, 0.08);
}

.amma-lp-hero-card__title {
    margin-bottom: 8px;
    color: var(--amma-text);
    font-size: 18px;
    font-weight: 800;
}

.amma-lp-hero-card__text {
    color: var(--amma-muted);
    font-size: 14px;
    line-height: 1.5;
}

.amma-lp-intro {
    padding: 28px;
}

.amma-lp-intro__text {
    margin: 14px 0 0;
    color: var(--amma-muted);
    font-size: 17px;
    line-height: 1.8;
}

.amma-lp-shortcuts {
    padding: 8px 0 10px;
}

.amma-lp-shortcuts__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.amma-lp-shortcut {
    display: block;
    min-height: 170px;
    padding: 24px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-lp-shortcut:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.32);
    box-shadow: 0 20px 38px rgba(23, 107, 184, 0.08);
}

.amma-lp-shortcut__title {
    margin-bottom: 10px;
    color: var(--amma-text);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.amma-lp-shortcut__text {
    color: var(--amma-muted);
    font-size: 15px;
    line-height: 1.6;
}

.amma-lp-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.amma-lp-category {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 172px;
    padding: 22px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-lp-category:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.3);
    box-shadow: 0 18px 34px rgba(23, 107, 184, 0.08);
}

.amma-lp-category__name {
    color: var(--amma-text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}

.amma-lp-category__count {
    margin-top: 18px;
    color: var(--amma-muted);
    font-size: 15px;
    font-weight: 700;
}

.amma-lp-table-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.amma-lp-table-nav__item {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(23, 107, 184, 0.2);
    color: var(--amma-text);
    font-size: 14px;
    font-weight: 800;
}

.amma-lp-table-nav__item:hover {
    background: var(--amma-accent);
    color: #fff;
    border-color: var(--amma-accent);
}

.amma-lp-service-table-section {
    margin-bottom: 28px;
}

.amma-lp-service-table-section__head h3 {
    margin: 0 0 14px;
    color: var(--amma-text);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
}

.amma-lp-service-table-wrap {
    overflow-x: auto;
}

.amma-lp-service-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.amma-lp-service-table thead th {
    padding: 16px 18px;
    text-align: left;
    background: linear-gradient(180deg, rgba(23, 107, 184, 0.08) 0%, rgba(23, 107, 184, 0.03) 100%);
    color: var(--amma-text);
    font-size: 14px;
    font-weight: 900;
    border-bottom: 1px solid rgba(217, 227, 238, 0.92);
}

.amma-lp-service-table tbody td {
    padding: 18px;
    border-bottom: 1px solid rgba(217, 227, 238, 0.88);
    vertical-align: top;
    background: rgba(255, 255, 255, 0.72);
}

.amma-lp-service-table tbody tr:hover td {
    background: rgba(248, 250, 253, 0.94);
}

.amma-lp-service-table__title-cell a {
    color: var(--amma-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.amma-lp-service-table__desc-cell {
    color: var(--amma-muted);
    font-size: 14px;
    line-height: 1.65;
}

.amma-lp-service-table__price-cell {
    color: var(--amma-accent-dark);
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.amma-lp-service-table__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--amma-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.amma-lp-service-table__button:hover {
    background: var(--amma-accent-dark);
    color: #fff;
}

.amma-lp-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.amma-lp-about,
.amma-lp-brand-showcase {
    padding: 28px;
}

.amma-lp-about__text {
    margin: 14px 0 18px;
    color: var(--amma-muted);
    font-size: 17px;
    line-height: 1.75;
}

.amma-lp-about__list {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.amma-lp-about__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--amma-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.amma-lp-about__list-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 12px;
    background: rgba(23, 107, 184, 0.1);
    border: 1px solid rgba(23, 107, 184, 0.18);
    position: relative;
    margin-top: 2px;
}

.amma-lp-about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.amma-lp-brand-showcase {
    position: relative;
    overflow: hidden;
}

.amma-lp-brand-showcase::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 107, 184, 0.12) 0%, transparent 70%);
}

.amma-lp-brand-showcase__top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.amma-lp-brand-showcase__leaf {
    position: relative;
    width: 82px;
    height: 120px;
    flex: 0 0 82px;
}

.amma-lp-brand-showcase__leaf::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #176bb8 0%, #1e7ccc 100%);
    clip-path: polygon(48% 0, 72% 4%, 84% 18%, 82% 28%, 68% 33%, 80% 48%, 70% 62%, 53% 63%, 64% 78%, 52% 100%, 28% 84%, 26% 61%, 12% 54%, 22% 39%, 10% 26%, 18% 12%, 34% 3%);
    border-radius: 14px;
}

.amma-lp-brand-showcase__name {
    color: var(--amma-text);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.amma-lp-brand-showcase__sub {
    margin-top: 6px;
    color: var(--amma-accent);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.amma-lp-brand-showcase__palette {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.amma-lp-brand-showcase__swatch {
    display: flex;
    align-items: end;
    min-height: 110px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(217, 227, 238, 0.92);
    background: var(--amma-surface-2);
    overflow: hidden;
    position: relative;
}

.amma-lp-brand-showcase__swatch::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--swatch-color, #176bb8);
    opacity: 0.16;
}

.amma-lp-brand-showcase__swatch span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--amma-text);
    font-size: 13px;
    font-weight: 800;
}

.amma-lp-brand-showcase__swatch[data-color="#176BB8"] { --swatch-color: #176BB8; }
.amma-lp-brand-showcase__swatch[data-color="#2B2E33"] { --swatch-color: #2B2E33; }
.amma-lp-brand-showcase__swatch[data-color="#EEF3F8"] { --swatch-color: #EEF3F8; }
.amma-lp-brand-showcase__swatch[data-color="#F8FAFD"] { --swatch-color: #F8FAFD; }

.amma-lp-brand-showcase__note {
    position: relative;
    z-index: 1;
    color: var(--amma-muted);
    font-size: 15px;
    line-height: 1.7;
}

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

.amma-lp-doctor {
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-lp-doctor:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.3);
    box-shadow: 0 20px 40px rgba(23, 107, 184, 0.08);
}

.amma-lp-doctor__media {
    display: block;
    aspect-ratio: 4 / 4.3;
    background: linear-gradient(180deg, #eef4f9 0%, #f8fafd 100%);
    overflow: hidden;
}

.amma-lp-doctor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amma-lp-doctor__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amma-accent);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.amma-lp-doctor__body {
    padding: 22px;
}

.amma-lp-doctor__name {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.amma-lp-doctor__name a {
    color: var(--amma-text);
}

.amma-lp-doctor__position {
    color: var(--amma-accent);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
}

.amma-lp-doctor__experience {
    color: var(--amma-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.amma-lp-doctor__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(23, 107, 184, 0.1);
    color: var(--amma-accent-dark);
    font-size: 14px;
    font-weight: 800;
}

.amma-lp-doctor__link:hover {
    background: var(--amma-accent);
    color: #fff;
}

.amma-lp-seo {
    padding: 28px;
}

.amma-lp-seo__text {
    margin-top: 16px;
    color: var(--amma-muted);
    font-size: 17px;
    line-height: 1.8;
    max-width: 980px;
}

.amma-lp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.amma-lp-contact,
.amma-lp-legal {
    padding: 28px;
}

.amma-lp-contact__row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(217, 227, 238, 0.86);
}

.amma-lp-contact__row small {
    display: block;
    margin-bottom: 6px;
    color: var(--amma-muted);
    font-size: 13px;
    font-weight: 700;
}

.amma-lp-contact__row div,
.amma-lp-contact__row a {
    color: var(--amma-text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.amma-lp-contact__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(23, 107, 184, 0.1);
    border: 1px solid rgba(23, 107, 184, 0.16);
    position: relative;
    display: block;
}

.amma-lp-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.amma-lp-contact__more {
    display: inline-flex;
    margin-top: 18px;
    color: var(--amma-accent);
    font-weight: 800;
}

.amma-lp-legal__list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.amma-lp-legal__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 74px;
    padding: 0 18px;
    border-radius: 20px;
    background: rgba(248, 250, 253, 0.9);
    border: 1px solid rgba(217, 227, 238, 0.92);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.amma-lp-legal__item:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 107, 184, 0.3);
    box-shadow: 0 16px 28px rgba(23, 107, 184, 0.06);
}

.amma-lp-legal__item-title {
    color: var(--amma-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.amma-lp-legal__item-arrow {
    color: var(--amma-accent);
    font-size: 22px;
    font-weight: 900;
    flex: 0 0 auto;
}

.amma-lp-legal__empty {
    margin-top: 14px;
    color: var(--amma-muted);
    font-size: 15px;
    line-height: 1.6;
}

.amma-lp-reviews {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 28px;
}

.amma-lp-reviews__text {
    margin: 14px 0 0;
    color: var(--amma-muted);
    font-size: 16px;
    line-height: 1.7;
}

.amma-lp-trust__icon,
.amma-lp-hero-card__icon,
.amma-lp-shortcut__icon,
.amma-lp-category__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(23, 107, 184, 0.12) 0%, rgba(23, 107, 184, 0.06) 100%);
    border: 1px solid rgba(23, 107, 184, 0.16);
    position: relative;
    flex: 0 0 52px;
}

.amma-lp-trust__icon {
    margin-bottom: 12px;
}

.amma-lp-hero-card__icon,
.amma-lp-shortcut__icon,
.amma-lp-category__icon {
    margin-bottom: 14px;
}

.amma-lp-icon--plus::before,
.amma-lp-icon--doctor::before,
.amma-lp-icon--scan::before,
.amma-lp-icon--phone::before,
.amma-lp-icon--table::before,
.amma-lp-icon--wallet::before,
.amma-lp-icon--grid::before,
.amma-lp-icon--folder::before,
.amma-lp-icon--heart::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
}

.amma-lp-icon--plus::before {
    width: 22px;
    height: 22px;
    background:
        linear-gradient(var(--amma-accent), var(--amma-accent)) center / 4px 22px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) center / 22px 4px no-repeat;
    border-radius: 4px;
}

.amma-lp-icon--doctor::before {
    width: 24px;
    height: 24px;
    border: 3px solid var(--amma-accent);
    border-radius: 50%;
    box-shadow:
        0 16px 0 -5px var(--amma-accent),
        0 23px 0 -8px var(--amma-accent);
    top: 8px;
}

.amma-lp-icon--scan::before {
    width: 26px;
    height: 18px;
    border: 3px solid var(--amma-accent);
    border-radius: 10px;
    box-shadow:
        0 -13px 0 -8px var(--amma-accent),
        0 0 0 3px transparent;
}

.amma-lp-icon--phone::before {
    width: 18px;
    height: 28px;
    border: 3px solid var(--amma-accent);
    border-radius: 10px;
    box-shadow: inset 0 -4px 0 0 var(--amma-accent);
}

.amma-lp-icon--table::before {
    width: 24px;
    height: 20px;
    background:
        linear-gradient(var(--amma-accent), var(--amma-accent)) left top / 24px 3px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) left center / 24px 3px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) left bottom / 24px 3px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) left top / 3px 20px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) center top / 3px 20px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right top / 3px 20px no-repeat;
    border-radius: 4px;
}

.amma-lp-icon--wallet::before {
    width: 28px;
    height: 18px;
    border: 3px solid var(--amma-accent);
    border-radius: 8px;
    box-shadow: inset -8px 0 0 0 rgba(23, 107, 184, 0.14);
}

.amma-lp-icon--grid::before {
    width: 24px;
    height: 24px;
    background:
        linear-gradient(var(--amma-accent), var(--amma-accent)) left top / 9px 9px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right top / 9px 9px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) left bottom / 9px 9px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right bottom / 9px 9px no-repeat;
    border-radius: 4px;
}

.amma-lp-icon--folder::before {
    width: 28px;
    height: 18px;
    border: 3px solid var(--amma-accent);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: -6px -6px 0 -3px var(--amma-accent);
}

.amma-lp-icon--heart::before {
    width: 24px;
    height: 22px;
    background:
        radial-gradient(circle at 30% 35%, var(--amma-accent) 0 7px, transparent 8px),
        radial-gradient(circle at 70% 35%, var(--amma-accent) 0 7px, transparent 8px),
        linear-gradient(45deg, transparent 46%, var(--amma-accent) 47% 53%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, var(--amma-accent) 47% 53%, transparent 54%);
    transform: rotate(45deg);
}

@media (max-width: 1280px) {
    .amma-lp-shortcuts__grid,
    .amma-lp-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 1100px) {
    .amma-lp-hero__grid,
    .amma-lp-about-grid,
    .amma-lp-info-grid,
    .amma-lp-reviews {
        grid-template-columns: 1fr;
    }

    .amma-lp-trust {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .amma-lp-trust,
    .amma-lp-shortcuts__grid,
    .amma-lp-categories,
    .amma-lp-doctors,
    .amma-lp-hero-cards {
        grid-template-columns: 1fr;
    }

    .amma-lp-section__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .amma-lp-reviews__actions {
        width: 100%;
    }

    .amma-lp-reviews__actions .amma-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .amma-lp-hero {
        padding-top: 18px;
    }

    .amma-lp-hero__title {
        font-size: clamp(34px, 10vw, 52px);
    }

    .amma-lp-hero__lead,
    .amma-lp-intro__text,
    .amma-lp-about__text,
    .amma-lp-seo__text {
        font-size: 16px;
        line-height: 1.7;
    }

    .amma-lp-hero__actions,
    .amma-lp-about__actions,
    .amma-lp-contact__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .amma-lp-hero__primary,
    .amma-lp-hero__secondary,
    .amma-lp-about__actions .amma-btn,
    .amma-lp-contact__actions .amma-btn {
        width: 100%;
    }

    .amma-lp-brand-panel,
    .amma-lp-intro,
    .amma-lp-about,
    .amma-lp-brand-showcase,
    .amma-lp-contact,
    .amma-lp-legal,
    .amma-lp-reviews,
    .amma-lp-seo {
        padding: 22px;
    }

    .amma-lp-service-table {
        min-width: 760px;
    }
}
body,
button,
input,
textarea,
select {
    font-family: Inter, "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    text-rendering: optimizeLegibility;
}

.home .amma-breadcrumbs {
    display: none;
}

.smed-home-section {
    padding: 34px 0;
}

.smed-home-section--soft {
    background: linear-gradient(180deg, rgba(238, 244, 249, 0.82) 0%, rgba(248, 250, 253, 0.72) 100%);
    border-top: 1px solid rgba(217, 227, 238, 0.75);
    border-bottom: 1px solid rgba(217, 227, 238, 0.75);
}

.smed-home-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(23, 107, 184, 0.1);
    color: var(--amma-accent-dark);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.smed-home-section__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 24px;
}

.smed-home-section__title {
    margin: 12px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    font-weight: 900;
    color: var(--amma-text);
    letter-spacing: -0.03em;
}

.smed-home-section__text {
    margin: 12px 0 0;
    max-width: 760px;
    color: var(--amma-muted);
    font-size: 16px;
    line-height: 1.7;
}

.smed-home-section__link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 107, 184, 0.25);
    background: rgba(255, 255, 255, 0.84);
    color: var(--amma-accent);
    font-weight: 800;
    white-space: nowrap;
}

.smed-home-section__link:hover {
    color: #fff;
    background: var(--amma-accent);
    border-color: var(--amma-accent);
}

.smed-home-hero {
    position: relative;
    padding: 28px 0 18px;
    overflow: hidden;
}

.smed-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(23, 107, 184, 0.08), transparent 22%),
        radial-gradient(circle at 82% 14%, rgba(23, 107, 184, 0.08), transparent 18%),
        radial-gradient(circle at 72% 72%, rgba(23, 107, 184, 0.06), transparent 22%);
    pointer-events: none;
}

.smed-home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.smed-home-hero__content {
    padding: 34px 12px 12px 0;
}

.smed-home-hero__title {
    margin: 16px 0 18px;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--amma-text);
}

.smed-home-hero__lead {
    max-width: 700px;
    margin: 0 0 24px;
    color: var(--amma-muted);
    font-size: 20px;
    line-height: 1.68;
}

.smed-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.smed-home-hero__primary,
.smed-home-hero__secondary {
    min-width: 220px;
}

.smed-home-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
}

.smed-home-trust__item {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(217, 227, 238, 0.92);
    box-shadow: 0 10px 30px rgba(23, 107, 184, 0.06);
}

.smed-home-trust__value {
    margin: 0 0 6px;
    color: var(--amma-accent);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.smed-home-trust__label {
    color: var(--amma-muted);
    font-size: 14px;
    line-height: 1.45;
}

.smed-home-hero__visual {
    display: flex;
    align-items: stretch;
}

.smed-home-hero__image-wrap {
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    padding: 0;
}

.smed-home-hero__image {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    display: block;
}

.smed-placeholder {
    width: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background:
        radial-gradient(circle at 20% 20%, rgba(23, 107, 184, 0.12), transparent 24%),
        radial-gradient(circle at 80% 20%, rgba(23, 107, 184, 0.08), transparent 18%),
        linear-gradient(180deg, #f7fafd 0%, #eef4f9 100%);
    color: var(--amma-accent);
    text-align: center;
    padding: 32px;
}

.smed-placeholder--hero {
    min-height: 540px;
}

.smed-placeholder--about {
    min-height: 460px;
}

.smed-placeholder__label {
    color: var(--amma-muted);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.smed-home-intro {
    padding: 30px;
}

.smed-home-intro__text {
    margin: 14px 0 0;
    color: var(--amma-muted);
    font-size: 17px;
    line-height: 1.82;
}

.smed-home-shortcuts {
    padding: 10px 0;
}

.smed-home-shortcuts__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.smed-home-shortcut {
    display: block;
    min-height: 178px;
    padding: 24px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.smed-home-shortcut:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.32);
    box-shadow: 0 20px 38px rgba(23, 107, 184, 0.08);
}

.smed-home-shortcut__title {
    margin-bottom: 10px;
    color: var(--amma-text);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.smed-home-shortcut__text {
    color: var(--amma-muted);
    font-size: 15px;
    line-height: 1.6;
}

.smed-home-hero-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.smed-home-hero-card {
    display: block;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(217, 227, 238, 0.92);
    box-shadow: var(--amma-shadow);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.smed-home-hero-card:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.32);
    box-shadow: 0 20px 38px rgba(23, 107, 184, 0.08);
}

.smed-home-hero-card__title {
    margin-bottom: 8px;
    color: var(--amma-text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.smed-home-hero-card__text {
    color: var(--amma-muted);
    font-size: 14px;
    line-height: 1.55;
}

.smed-home-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.smed-home-category {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 172px;
    padding: 22px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.smed-home-category:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.3);
    box-shadow: 0 18px 34px rgba(23, 107, 184, 0.08);
}

.smed-home-category__name {
    color: var(--amma-text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}

.smed-home-category__count {
    margin-top: 18px;
    color: var(--amma-muted);
    font-size: 15px;
    font-weight: 700;
}

.smed-home-accordion {
    display: grid;
    gap: 16px;
}

.smed-home-accordion__item {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(217, 227, 238, 0.92);
    box-shadow: var(--amma-shadow);
    overflow: hidden;
}

.smed-home-accordion__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.9);
}

.smed-home-accordion__summary::-webkit-details-marker {
    display: none;
}

.smed-home-accordion__summary-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.smed-home-accordion__summary-title {
    color: var(--amma-text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}

.smed-home-accordion__summary-count {
    color: var(--amma-muted);
    font-size: 14px;
    font-weight: 700;
}

.smed-home-accordion__summary-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(23, 107, 184, 0.1);
    border: 1px solid rgba(23, 107, 184, 0.18);
    position: relative;
    flex: 0 0 42px;
}

.smed-home-accordion__summary-toggle::before,
.smed-home-accordion__summary-toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    background: var(--amma-accent);
    border-radius: 4px;
    transition: transform .2s ease, opacity .2s ease;
}

.smed-home-accordion__summary-toggle::before {
    width: 18px;
    height: 3px;
}

.smed-home-accordion__summary-toggle::after {
    width: 3px;
    height: 18px;
}

.smed-home-accordion__item[open] .smed-home-accordion__summary-toggle::after {
    opacity: 0;
    transform: scaleY(.5);
}

.smed-home-accordion__content {
    padding: 0 22px 22px;
}

.smed-home-service-table-wrap {
    overflow-x: auto;
    padding: 0;
}

.smed-home-service-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.smed-home-service-table thead th {
    padding: 16px 18px;
    text-align: left;
    background: linear-gradient(180deg, rgba(23, 107, 184, 0.08) 0%, rgba(23, 107, 184, 0.03) 100%);
    color: var(--amma-text);
    font-size: 14px;
    font-weight: 900;
    border-bottom: 1px solid rgba(217, 227, 238, 0.92);
}

.smed-home-service-table tbody td {
    padding: 18px;
    border-bottom: 1px solid rgba(217, 227, 238, 0.88);
    vertical-align: top;
    background: rgba(255, 255, 255, 0.74);
}

.smed-home-service-table tbody tr:hover td {
    background: rgba(248, 250, 253, 0.94);
}

.smed-home-service-table__title-cell a {
    color: var(--amma-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.smed-home-service-table__desc-cell {
    color: var(--amma-muted);
    font-size: 14px;
    line-height: 1.65;
}

.smed-home-service-table__price-cell {
    color: var(--amma-accent-dark);
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.smed-home-service-table__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--amma-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.smed-home-service-table__button:hover {
    background: var(--amma-accent-dark);
    color: #fff;
}

.smed-home-accordion__footer {
    padding-top: 14px;
}

.smed-home-accordion__more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(23, 107, 184, 0.08);
    color: var(--amma-accent);
    font-size: 14px;
    font-weight: 800;
}

.smed-home-accordion__more:hover {
    background: var(--amma-accent);
    color: #fff;
}

.smed-home-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.smed-home-about,
.smed-home-about-image {
    padding: 28px;
}

.smed-home-about__text {
    margin: 14px 0 18px;
    color: var(--amma-muted);
    font-size: 17px;
    line-height: 1.78;
}

.smed-home-about__list {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.smed-home-about__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--amma-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.smed-home-about__list-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 12px;
    background: rgba(23, 107, 184, 0.1);
    border: 1px solid rgba(23, 107, 184, 0.18);
    position: relative;
    margin-top: 2px;
}

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

.smed-home-about-image {
    overflow: hidden;
}

.smed-home-about-image__img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

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

.smed-home-doctor {
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.smed-home-doctor:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 107, 184, 0.3);
    box-shadow: 0 20px 40px rgba(23, 107, 184, 0.08);
}

.smed-home-doctor__media {
    display: block;
    aspect-ratio: 4 / 4.3;
    background: linear-gradient(180deg, #eef4f9 0%, #f8fafd 100%);
    overflow: hidden;
}

.smed-home-doctor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smed-home-doctor__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amma-accent);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.smed-home-doctor__body {
    padding: 22px;
}

.smed-home-doctor__name {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.smed-home-doctor__name a {
    color: var(--amma-text);
}

.smed-home-doctor__position {
    color: var(--amma-accent);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
}

.smed-home-doctor__experience {
    color: var(--amma-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.smed-home-doctor__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(23, 107, 184, 0.1);
    color: var(--amma-accent-dark);
    font-size: 14px;
    font-weight: 800;
}

.smed-home-doctor__link:hover {
    background: var(--amma-accent);
    color: #fff;
}

.smed-home-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 28px;
}

.smed-home-cta__text {
    margin: 14px 0 0;
    color: var(--amma-muted);
    font-size: 16px;
    line-height: 1.72;
    max-width: 720px;
}

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

.smed-home-seo {
    padding: 28px;
}

.smed-home-seo__text {
    margin-top: 16px;
    color: var(--amma-muted);
    font-size: 17px;
    line-height: 1.8;
    max-width: 980px;
}

.smed-home-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.smed-home-contact,
.smed-home-legal {
    padding: 28px;
}

.smed-home-contact__row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(217, 227, 238, 0.86);
}

.smed-home-contact__row small {
    display: block;
    margin-bottom: 6px;
    color: var(--amma-muted);
    font-size: 13px;
    font-weight: 700;
}

.smed-home-contact__row div,
.smed-home-contact__row a {
    color: var(--amma-text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.smed-home-contact__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(23, 107, 184, 0.1);
    border: 1px solid rgba(23, 107, 184, 0.16);
    position: relative;
    display: block;
}

.smed-home-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.smed-home-contact__more {
    display: inline-flex;
    margin-top: 18px;
    color: var(--amma-accent);
    font-weight: 800;
}

.smed-home-legal__list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.smed-home-legal__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 74px;
    padding: 0 18px;
    border-radius: 20px;
    background: rgba(248, 250, 253, 0.9);
    border: 1px solid rgba(217, 227, 238, 0.92);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.smed-home-legal__item:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 107, 184, 0.3);
    box-shadow: 0 16px 28px rgba(23, 107, 184, 0.06);
}

.smed-home-legal__item-title {
    color: var(--amma-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.smed-home-legal__item-arrow {
    color: var(--amma-accent);
    font-size: 22px;
    font-weight: 900;
    flex: 0 0 auto;
}

.smed-home-legal__empty {
    margin-top: 14px;
    color: var(--amma-muted);
    font-size: 15px;
    line-height: 1.6;
}

.smed-home-reviews {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 28px;
}

.smed-home-reviews__text {
    margin: 14px 0 0;
    color: var(--amma-muted);
    font-size: 16px;
    line-height: 1.7;
}

.smed-home-trust__icon,
.smed-home-shortcut__icon,
.smed-home-hero-card__icon,
.smed-home-category__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(23, 107, 184, 0.12) 0%, rgba(23, 107, 184, 0.06) 100%);
    border: 1px solid rgba(23, 107, 184, 0.16);
    position: relative;
    flex: 0 0 52px;
}

.smed-home-trust__icon {
    margin-bottom: 12px;
}

.smed-home-shortcut__icon,
.smed-home-hero-card__icon,
.smed-home-category__icon {
    margin-bottom: 14px;
}

.smed-home-about__list-icon::before,
.smed-home-contact__icon::before,
.smed-home-trust__icon::before,
.smed-home-shortcut__icon::before,
.smed-home-hero-card__icon::before,
.smed-home-category__icon::before,
.smed-placeholder__icon::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
}

.smed-icon--plus::before {
    width: 22px;
    height: 22px;
    background:
        linear-gradient(var(--amma-accent), var(--amma-accent)) center / 4px 22px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) center / 22px 4px no-repeat;
    border-radius: 4px;
}

.smed-icon--doctor::before {
    width: 24px;
    height: 24px;
    border: 3px solid var(--amma-accent);
    border-radius: 50%;
    box-shadow:
        0 16px 0 -5px var(--amma-accent),
        0 23px 0 -8px var(--amma-accent);
    top: 8px;
}

.smed-icon--scan::before {
    width: 26px;
    height: 18px;
    border: 3px solid var(--amma-accent);
    border-radius: 10px;
    box-shadow: 0 -13px 0 -8px var(--amma-accent);
}

.smed-icon--phone::before {
    width: 18px;
    height: 28px;
    border: 3px solid var(--amma-accent);
    border-radius: 10px;
    box-shadow: inset 0 -4px 0 0 var(--amma-accent);
}

.smed-icon--table::before {
    width: 24px;
    height: 20px;
    background:
        linear-gradient(var(--amma-accent), var(--amma-accent)) left top / 24px 3px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) left center / 24px 3px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) left bottom / 24px 3px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) left top / 3px 20px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) center top / 3px 20px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right top / 3px 20px no-repeat;
    border-radius: 4px;
}

.smed-icon--wallet::before {
    width: 28px;
    height: 18px;
    border: 3px solid var(--amma-accent);
    border-radius: 8px;
    box-shadow: inset -8px 0 0 0 rgba(23, 107, 184, 0.14);
}

.smed-icon--grid::before {
    width: 24px;
    height: 24px;
    background:
        linear-gradient(var(--amma-accent), var(--amma-accent)) left top / 9px 9px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right top / 9px 9px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) left bottom / 9px 9px no-repeat,
        linear-gradient(var(--amma-accent), var(--amma-accent)) right bottom / 9px 9px no-repeat;
    border-radius: 4px;
}

.smed-icon--folder::before {
    width: 28px;
    height: 18px;
    border: 3px solid var(--amma-accent);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: -6px -6px 0 -3px var(--amma-accent);
}

.smed-icon--heart::before {
    width: 24px;
    height: 22px;
    background:
        radial-gradient(circle at 30% 35%, var(--amma-accent) 0 7px, transparent 8px),
        radial-gradient(circle at 70% 35%, var(--amma-accent) 0 7px, transparent 8px),
        linear-gradient(45deg, transparent 46%, var(--amma-accent) 47% 53%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, var(--amma-accent) 47% 53%, transparent 54%);
    transform: rotate(45deg);
}

.smed-icon--image::before {
    width: 28px;
    height: 22px;
    border: 3px solid var(--amma-accent);
    border-radius: 8px;
    background:
        radial-gradient(circle at 72% 30%, var(--amma-accent) 0 3px, transparent 4px),
        linear-gradient(135deg, transparent 48%, var(--amma-accent) 49% 54%, transparent 55%) left 4px bottom 2px / 18px 12px no-repeat;
}

@media (max-width: 1280px) {
    .smed-home-shortcuts__grid,
    .smed-home-categories,
    .smed-home-hero-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 1100px) {
    .smed-home-hero__grid,
    .smed-home-about-grid,
    .smed-home-info-grid,
    .smed-home-cta,
    .smed-home-reviews {
        grid-template-columns: 1fr;
    }

    .smed-home-trust {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .smed-home-trust,
    .smed-home-shortcuts__grid,
    .smed-home-categories,
    .smed-home-doctors,
    .smed-home-hero-cards {
        grid-template-columns: 1fr;
    }

    .smed-home-section__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .smed-home-reviews__actions {
        width: 100%;
    }

    .smed-home-reviews__actions .amma-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .smed-home-hero {
        padding-top: 18px;
    }

    .smed-home-hero__title {
        font-size: clamp(34px, 10vw, 54px);
    }

    .smed-home-hero__lead,
    .smed-home-intro__text,
    .smed-home-about__text,
    .smed-home-seo__text {
        font-size: 16px;
        line-height: 1.72;
    }

    .smed-home-hero__actions,
    .smed-home-about__actions,
    .smed-home-contact__actions,
    .smed-home-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .smed-home-hero__primary,
    .smed-home-hero__secondary,
    .smed-home-about__actions .amma-btn,
    .smed-home-contact__actions .amma-btn,
    .smed-home-cta__actions .amma-btn {
        width: 100%;
    }

    .smed-home-intro,
    .smed-home-about,
    .smed-home-about-image,
    .smed-home-contact,
    .smed-home-legal,
    .smed-home-reviews,
    .smed-home-seo,
    .smed-home-cta {
        padding: 22px;
    }

    .smed-home-service-table {
        min-width: 760px;
    }

    .smed-home-hero__image {
        min-height: 340px;
    }

    .smed-placeholder--hero {
        min-height: 340px;
    }

    .smed-placeholder--about {
        min-height: 320px;
    }
}