/* =========================================================
   CRMedical Azerbaijan — FINAL CLEAN CSS
   Replace the old style.css completely with this file.
   Brand palette:
   #00D9B3 #00C4A8 #00B8C8 #5DA9D1
   Text: #3B4D5B
   ========================================================= */

* {
    box-sizing: border-box;
}

:root {
    --c1: #00D9B3;
    --c2: #00C4A8;
    --c3: #00B8C8;
    --c4: #5DA9D1;
    --text: #3B4D5B;

    --bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #F4FBFC;
    --muted: #6F818C;
    --line: #DCE9EE;
    --dark: #10394B;
    --dark-2: #0D2F40;
    --danger: #CD5C5C;
    --danger-neon: #FF4F64;
    --shadow: 0 18px 55px rgba(48, 84, 99, .12);
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
    font-family: "Montserrat", Arial, sans-serif;
}

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

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

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

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

.section {
    padding: 94px 0;
}

.soft {
    background:
        radial-gradient(circle at 8% 10%, rgba(0, 217, 179, .07), transparent 28%),
        radial-gradient(circle at 92% 90%, rgba(93, 169, 209, .08), transparent 28%),
        linear-gradient(180deg, #F9FDFE, #F2FAFB);
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--text);
    line-height: 1.17;
}

h1,
h2 {
    font-family: "Roboto", "Montserrat", sans-serif;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(42px, 6vw, 72px);
    letter-spacing: -.04em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.03em;
}

h3 {
    margin-bottom: 12px;
    font-size: 21px;
    letter-spacing: -.02em;
}

p {
    margin-top: 0;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--c3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--c1), var(--c3), var(--c4));
}

.kicker.light {
    color: #fff;
}

.kicker.light::before {
    background: #fff;
}

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

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.section-heading.center .kicker::before {
    display: none;
}

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

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));
    box-shadow: 0 14px 34px rgba(0, 184, 200, .22);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 184, 200, .28);
}

.btn.small {
    min-height: 43px;
    padding: 9px 16px;
    font-size: 12px;
}

.btn.ghost {
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn.white {
    color: var(--dark);
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 47, 64, .14);
}

.btn.outline-white {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: none;
}

.btn.full {
    width: 100%;
    margin-top: auto;
}

.material-symbols-rounded {
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(220, 233, 238, .9);
    backdrop-filter: blur(18px);
}

.header-row {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    width: 165px;
}

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

.nav a {
    color: #435966;
    font-size: 13px;
    font-weight: 600;
}

.nav a:hover {
    color: var(--c3);
}

.langs {
    display: flex;
    align-items: center;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #F5F9FA;
}

.langs a {
    min-width: 37px;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.langs a.active {
    color: #fff;
    background: var(--dark);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    background: #fff;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 82px;
    background:
        radial-gradient(circle at 86% 12%, rgba(0, 217, 179, .17), transparent 28%),
        radial-gradient(circle at 10% 90%, rgba(93, 169, 209, .16), transparent 30%),
        linear-gradient(180deg, #fff, #EFF9FB);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .34;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(59, 77, 91, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 77, 91, .04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
    gap: 64px;
    align-items: center;
}

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

.hero-lead {
    max-width: 710px;
    color: #627985;
    font-size: 19px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-language {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.hero-language .material-symbols-rounded {
    color: var(--c3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 36px;
}

.hero-stat {
    padding: 17px;
    border: 1px solid rgba(220, 233, 238, .9);
    border-radius: 16px;
    background: rgba(255, 255, 255, .74);
}

.hero-stat strong {
    display: block;
    color: var(--text);
    font-size: 16px;
}

.hero-stat span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.hero-visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 30px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 30px 90px rgba(48, 84, 99, .18);
    backdrop-filter: blur(10px);
}

.hero-visual > img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}

.visual-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 217, 179, .35), rgba(93, 169, 209, .30));
    filter: blur(48px);
}

.visual-card {
    position: absolute;
    z-index: 3;
    width: 235px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 11px;
    align-items: start;
    padding: 15px;
    border: 1px solid rgba(220, 233, 238, .9);
    border-radius: 17px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
}

.visual-card .material-symbols-rounded {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--c3);
    background: linear-gradient(135deg, rgba(0, 217, 179, .13), rgba(93, 169, 209, .16));
}

.visual-card strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text);
    font-size: 12px;
}

.visual-card small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
}

.visual-card-top {
    top: 30px;
    right: -32px;
}

.visual-card-bottom {
    left: -34px;
    bottom: 28px;
}

/* Benefits */

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

.benefit-card {
    min-height: 245px;
    padding: 27px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--c2);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(48, 84, 99, .05);
    transition: transform .22s ease, box-shadow .22s ease;
}

.benefit-card:nth-child(3n + 2) {
    border-top-color: var(--c3);
}

.benefit-card:nth-child(3n) {
    border-top-color: var(--c4);
}

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

.feature-icon,
.module-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 16px;
    color: var(--c3);
    background: linear-gradient(135deg, rgba(0, 217, 179, .13), rgba(93, 169, 209, .16));
}

.benefit-card p,
.module-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Modules */

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

.module-card {
    display: flex;
    flex-direction: column;
    min-height: 285px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(48, 84, 99, .06);
}

.module-card > img {
    width: 100%;
    height: 180px;
    margin-bottom: 22px;
    border-radius: 16px;
    object-fit: cover;
}

.module-card .module-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 12px;
    border: 1px solid rgba(0, 184, 200, .18);
    border-radius: 999px;
    background: #EFFAFB;
}

.module-price strong {
    color: var(--c3);
    font-size: 17px;
}

.module-price span {
    color: var(--muted);
    font-size: 10px;
}

/* Savings */

.savings-section {
    background: #fff;
}

.savings-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: 46px;
    align-items: center;
    padding: 54px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .18), transparent 26%),
        linear-gradient(135deg, var(--c1), var(--c2) 35%, var(--c3) 68%, var(--c4));
    box-shadow: 0 28px 75px rgba(0, 184, 200, .22);
}

.savings-panel::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    right: -130px;
    bottom: -180px;
    border: 60px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.savings-panel > * {
    position: relative;
    z-index: 2;
}

.savings-copy h2,
.savings-copy p {
    color: #fff;
}

.savings-copy p {
    color: rgba(255, 255, 255, .88);
}

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

.saving-card {
    min-height: 150px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 17px;
    background: rgba(255, 255, 255, .13);
    backdrop-filter: blur(8px);
}

.saving-card > .material-symbols-rounded {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--c3);
    background: #fff;
}

.saving-card h3 {
    margin-bottom: 7px;
    color: #fff;
    font-size: 15px;
}

.saving-card p {
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 11px;
    line-height: 1.55;
}

/* =========================================================
   TARIFFS — FINAL
   ========================================================= */

#prices .section-heading {
    max-width: 900px;
    margin: 0 auto 46px;
}

#prices .section-heading h2 {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

/* Main grid */

.tariff-main-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.tariff {
    position: relative;
    min-width: 0;
}

.tariff-main,
.tariff-main.featured {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 18px 48px rgba(48, 84, 99, .11);
    transform: none;
}

/* Header of tariff card */

.tariff-main .tariff-visual {
    min-height: 164px;
    display: flex;
    align-items: center;
    padding: 32px 34px;
    overflow: hidden;
}

.tariff-main .tariff-visual-content {
    width: 100%;
}

.tariff-main .tariff-visual h3,
.tariff-main.featured .tariff-visual h3 {
    max-width: calc(100% - 110px);
    margin: 0;
    color: #fff !important;
    font-size: clamp(29px, 2.5vw, 40px);
    line-height: 1.15;
}

.tariff-main .tariff-visual p,
.tariff-main .tariff-image {
    display: none !important;
}

.tariff-advanced .tariff-visual {
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.16), transparent 30%),
        linear-gradient(135deg, #00D9B3 0%, #00C4A8 100%);
}

.tariff-maximum .tariff-visual {
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.16), transparent 30%),
        linear-gradient(135deg, #00B8C8 0%, #5DA9D1 100%);
}

.tariff-premium .tariff-visual {
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.17), transparent 30%),
        linear-gradient(135deg, #00C4A8 0%, #00B8C8 50%, #5DA9D1 100%);
}

/* Popular badge — much more noticeable */

.tariff-main .popular-badge,
.tariff-main.featured .popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff !important;
    background: #10394B;
    box-shadow:
        0 0 0 4px rgba(0, 217, 179, .28),
        0 12px 30px rgba(13, 47, 64, .32);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.tariff-main .popular-badge::before,
.tariff-main.featured .popular-badge::before {
    content: "★";
    color: #00D9B3;
    font-size: 13px;
}

/* Body */

.tariff-main .tariff-body {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    padding: 30px 32px 24px;
}

/* Price blocks */

.tariff-main .tariff-price-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 14px;
    align-items: stretch;
    margin-bottom: 22px;
}

.tariff-main .main-price {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.tariff-main .price-period-top,
.solo-tariff .price-period-top {
    display: block;
    margin: 0 0 10px;
    color: var(--text) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.tariff-main .monthly-price-line,
.solo-tariff .monthly-price-line {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.tariff-main .monthly-price-line strong,
.solo-tariff .monthly-price-line strong {
    display: block;
    max-width: 100%;
    color: var(--text) !important;
    font-family: "Roboto", sans-serif;
    font-size: clamp(32px, 2.8vw, 44px);
    line-height: 1;
    white-space: nowrap;
}

.tariff-main .monthly-price-line span,
.solo-tariff .monthly-price-line span {
    display: block;
    width: 100%;
    color: var(--text) !important;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
}

/* Annual price */

.tariff-main .annual-box,
.solo-tariff .annual-box {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    border: 1px solid #BFE4EA;
    border-radius: 18px;
    background: #EFFAFB;
    text-align: left;
}

.annual-top-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

/* Neon/IndianRed discount badge */

.tariff-main .annual-discount,
.tariff-main.featured .annual-discount,
.solo-tariff .annual-discount {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-width: 58px;
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, #FF4F64, #CD5C5C) !important;
    box-shadow:
        0 0 14px rgba(255, 79, 100, .58),
        0 6px 16px rgba(205, 92, 92, .28) !important;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(91, 20, 28, .35);
}

.tariff-main .annual-caption,
.solo-tariff .annual-caption {
    min-width: 0;
    margin: 0;
    color: var(--text) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.annual-price-line {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 11px;
}

.tariff-main .annual-price-line strong,
.solo-tariff .annual-price-line strong {
    display: block;
    color: #008E91 !important;
    font-family: "Roboto", sans-serif;
    font-size: clamp(25px, 2.1vw, 32px);
    line-height: 1;
    white-space: nowrap;
}

.tariff-main .annual-price-line span,
.solo-tariff .annual-price-line span {
    display: block;
    color: var(--text) !important;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.3;
}

.tariff-main .annual-saving,
.solo-tariff .annual-saving {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 9px 11px;
    border: 0;
    border-radius: 11px;
    background: #fff;
}

.tariff-main .annual-saving span,
.solo-tariff .annual-saving span {
    color: #008E78 !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
}

.tariff-main .annual-saving b,
.solo-tariff .annual-saving b {
    color: #008E78 !important;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.tariff-main .annual-calculation,
.solo-tariff .annual-calculation {
    display: none !important;
}

/* Divider and features */

.tariff-main .tariff-divider {
    height: 1px;
    margin: 26px 0 22px;
    background: var(--line);
}

.tariff-main ul,
.solo-feature-list {
    list-style: none;
    padding: 0;
}

.tariff-main ul {
    flex: 1;
    display: grid;
    gap: 13px;
    margin: 0 0 28px;
}

.tariff-main li,
.solo-feature-list li {
    position: relative;
    padding-left: 30px;
    color: var(--text) !important;
    font-size: 13px;
    line-height: 1.5;
}

.tariff-main li::before,
.solo-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff !important;
    background: var(--c2);
    font-size: 11px;
    font-weight: 800;
}

.tariff-maximum li::before {
    background: var(--c3);
}

.tariff-premium li::before {
    background: var(--c4);
}

/* Buttons */

.tariff-main .tariff-button {
    min-height: 54px;
    border-radius: 15px;
    color: #fff;
}

.tariff-advanced .tariff-button,
.tariff-advanced.featured .tariff-button {
    background: linear-gradient(135deg, var(--c1), var(--c2));
}

.tariff-maximum .tariff-button {
    background: linear-gradient(135deg, var(--c3), var(--c4));
}

.tariff-premium .tariff-button {
    background: linear-gradient(135deg, var(--c2), var(--c3), var(--c4));
}

/* Solo tariff */

.solo-tariff-section {
    margin-top: 34px;
}

.solo-tariff {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(48, 84, 99, .08);
}

.solo-tariff .solo-tariff-visual {
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 36px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.16), transparent 30%),
        linear-gradient(135deg, var(--c4), var(--c3), var(--c2));
}

.solo-tariff .solo-tariff-visual h3 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    line-height: 1.15;
}

.solo-tariff .solo-label,
.solo-tariff .solo-tariff-image,
.solo-tariff .solo-tariff-visual p {
    display: none !important;
}

.solo-tariff .solo-tariff-content {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    grid-template-areas:
        "price features"
        "price button";
    gap: 24px 34px;
    align-items: start;
    padding: 34px 38px;
}

.solo-tariff .solo-price-block {
    grid-area: price;
    display: grid;
    gap: 12px;
}

.solo-tariff .main-price {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.solo-tariff .solo-feature-list {
    grid-area: features;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 14px 26px;
    margin: 0;
}

.solo-tariff .solo-button {
    grid-area: button;
    width: 100%;
    min-height: 54px;
    margin: 0;
}

/* Implementation */

.implementation {
    background: #fff;
}

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

.step-card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(48, 84, 99, .05);
}

.step-card > span {
    display: block;
    margin-bottom: 34px;
    color: var(--c3);
    font-family: "Roboto", sans-serif;
    font-size: 44px;
    line-height: 1;
}

.step-card:nth-child(2) > span {
    color: var(--c4);
}

.step-card:nth-child(3) > span {
    color: var(--c2);
}

.step-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

/* Mission */

.mission {
    padding-top: 0;
}

.mission-panel {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    align-items: center;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(135deg, #fff, #F1FAFB);
}

.mission-mark {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--c1), var(--c3), var(--c4));
}

.mission-mark .material-symbols-rounded {
    font-size: 34px;
}

.mission-panel h2 {
    margin-bottom: 10px;
    font-size: 32px;
}

.mission-panel p {
    margin: 0;
    color: var(--muted);
}

/* FAQ */

.faq-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 60px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.faq-question {
    width: 100%;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 21px;
    border: 0;
    color: var(--text);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-question .material-symbols-rounded {
    transition: transform .2s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 21px 20px;
    color: var(--muted);
    font-size: 13px;
}

.faq-item.open .faq-answer {
    max-height: 240px;
}

.faq-item.open .faq-question .material-symbols-rounded {
    transform: rotate(45deg);
}

/* Contact */

.contact-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 52px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, .18), transparent 24%),
        linear-gradient(135deg, var(--c1), var(--c2) 35%, var(--c3) 68%, var(--c4));
    box-shadow: 0 26px 70px rgba(0, 184, 200, .23);
}

.contact-panel::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -125px;
    top: -160px;
    border: 60px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.contact-panel > * {
    position: relative;
    z-index: 2;
}

.contact-panel h2,
.contact-panel p {
    color: #fff;
}

.contact-panel p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .88);
}

.contact-actions {
    min-width: 255px;
    display: grid;
    gap: 10px;
}

/* Footer */

footer {
    padding: 50px 0 25px;
    color: #C6D4DB;
    background: var(--dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr .75fr;
    gap: 42px;
    padding-bottom: 34px;
}

.footer-grid img {
    width: 165px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-grid p {
    max-width: 420px;
    color: #9FB1BB;
    font-size: 12px;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-links a {
    color: #C6D4DB;
    font-size: 12px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #8FA3AD;
    font-size: 11px;
}

.mobile-whatsapp {
    display: none;
}

/* Responsive */

@media (max-width: 1120px) {
    .nav {
        gap: 14px;
    }

    .nav a {
        font-size: 12px;
    }

    .hero-grid {
        grid-template-columns: 1fr 430px;
        gap: 38px;
    }

    .tariff-main-grid {
        gap: 14px;
    }

    .tariff-main .tariff-body {
        padding: 25px 20px 22px;
    }

    .tariff-main .tariff-price-layout {
        grid-template-columns: 1fr;
    }

    .tariff-main .main-price,
    .tariff-main .annual-box {
        min-height: 130px;
    }

    .solo-tariff {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .solo-tariff .solo-tariff-content {
        grid-template-columns: 205px minmax(0, 1fr);
        gap: 20px 24px;
        padding: 28px;
    }

    .solo-tariff .solo-feature-list {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 72px 0;
    }

    .nav,
    .header-cta {
        display: none;
    }

    .menu-button {
        margin-left: auto;
        display: grid;
    }

    .header.menu-open .nav {
        position: absolute;
        top: 70px;
        left: 14px;
        right: 14px;
        display: grid;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 17px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .header.menu-open .nav a {
        padding: 12px;
        border-radius: 10px;
    }

    .header.menu-open .nav a:hover {
        background: var(--surface-soft);
    }

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

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

    .hero-copy h1,
    .hero-lead {
        margin-inline: auto;
    }

    .hero-copy .kicker::before {
        display: none;
    }

    .hero-actions,
    .hero-language {
        justify-content: center;
    }

    .hero-visual {
        max-width: 650px;
        margin-inline: auto;
    }

    .benefit-grid,
    .module-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .savings-panel {
        grid-template-columns: 1fr;
    }

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

    .tariff-main {
        width: min(100%, 640px);
        margin-inline: auto;
    }

    .tariff-main .tariff-price-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solo-tariff {
        grid-template-columns: 1fr;
    }

    .solo-tariff .solo-tariff-visual {
        min-height: 145px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 22px), var(--container));
    }

    .section {
        padding: 58px 0;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 31px;
    }

    .header-row {
        min-height: 70px;
    }

    .logo img {
        width: 145px;
    }

    .langs a {
        min-width: 34px;
        padding: 7px 6px;
    }

    .hero {
        padding: 52px 0 48px;
    }

    .hero-actions {
        display: grid;
    }

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

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

    .hero-stat {
        display: grid;
        grid-template-columns: 120px 1fr;
        align-items: baseline;
        gap: 8px;
        text-align: left;
    }

    .hero-visual {
        min-height: 390px;
        padding: 14px;
        border-radius: 22px;
    }

    .visual-card {
        width: 190px;
        padding: 11px;
    }

    .visual-card-top {
        top: 12px;
        right: 4px;
    }

    .visual-card-bottom {
        left: 4px;
        bottom: 12px;
    }

    .visual-card small {
        display: none;
    }

    .benefit-grid,
    .module-grid,
    .savings-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .benefit-card,
    .module-card {
        min-height: auto;
    }

    .savings-panel {
        padding: 30px 21px;
        border-radius: 24px;
    }

    .saving-card {
        min-height: auto;
    }

    #prices .section-heading {
        margin-bottom: 32px;
    }

    .tariff-main .tariff-visual {
        min-height: 125px;
        padding: 24px 22px;
    }

    .tariff-main .tariff-visual h3 {
        max-width: calc(100% - 84px);
        font-size: 27px;
    }

    .tariff-main .popular-badge {
        top: 16px;
        right: 14px;
        padding: 8px 11px;
        font-size: 10px;
    }

    .tariff-main .tariff-body {
        min-height: auto;
        padding: 22px 18px;
    }

    .tariff-main .tariff-price-layout {
        grid-template-columns: 1fr;
    }

    .tariff-main .main-price,
    .tariff-main .annual-box {
        min-height: auto;
    }

    .annual-top-line {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .tariff-main .annual-caption,
    .solo-tariff .annual-caption {
        font-size: 12px;
    }

    .solo-tariff .solo-tariff-visual {
        min-height: 120px;
        padding: 25px 20px;
    }

    .solo-tariff .solo-tariff-visual h3 {
        font-size: 28px;
    }

    .solo-tariff .solo-tariff-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "price"
            "features"
            "button";
        padding: 22px 18px;
    }

    .solo-tariff .solo-feature-list {
        grid-template-columns: 1fr;
    }

    .mission-panel {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    .contact-panel {
        padding: 34px 22px;
        border-radius: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    .mobile-whatsapp {
        position: fixed;
        right: 14px;
        bottom: 14px;
        z-index: 999;
        width: 56px;
        height: 56px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        color: #fff;
        background: linear-gradient(135deg, var(--c1), var(--c3));
        box-shadow: 0 14px 35px rgba(0, 184, 200, .32);
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* ==================================================
   ТАРИФЫ — ШИРЕ БЛОК ЦЕНЫ + БЕЙДЖ ВЫШЕ
   ================================================== */

/* Чуть уменьшаем внутренние отступы карточки,
   чтобы цена получила больше реальной ширины */
.tariff-main .tariff-body {
    padding-left: 24px;
    padding-right: 24px;
}

/* Блоки цены шире, годовой вариант получает больше места */
.tariff-main .tariff-price-layout {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 12px;
}

/* Уменьшаем лишние внутренние отступы */
.tariff-main .main-price,
.tariff-main .annual-box {
    padding-left: 14px;
    padding-right: 14px;
}

/* Текст "при оплате за 12 месяцев" больше не сжимается по словам */
.tariff-main .annual-top-line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.tariff-main .annual-caption {
    display: block;
    min-width: 0;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}

/* Годовая цена и / месяц держатся компактнее */
.tariff-main .annual-price-line {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.tariff-main .annual-price-line strong {
    font-size: clamp(25px, 2vw, 31px);
}

.tariff-main .annual-price-line span {
    width: auto;
    white-space: nowrap;
}

/* Экономия не сжимается */
.tariff-main .annual-saving {
    gap: 12px;
}

.tariff-main .annual-saving span {
    flex: 1 1 auto;
}

.tariff-main .annual-saving b {
    flex: 0 0 auto;
}

/* Бейдж "Популярный" поднимаем над карточкой,
   чтобы он не перекрывал название */
.tariff-main .popular-badge,
.tariff-main.featured .popular-badge {
    top: -18px;
    right: 22px;
}

/* Даем место сверху под вынесенный бейдж */
.tariff-main.featured {
    overflow: visible;
}

.tariff-main.featured .tariff-visual {
    border-radius: 26px 26px 0 0;
}

/* Чтобы карточка не обрезала вынесенный бейдж */
.tariff-main-grid {
    padding-top: 22px;
}

/* На среднем ПК */
@media screen and (max-width: 1200px) {
    .tariff-main .tariff-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .tariff-main .tariff-price-layout {
        grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
        gap: 10px;
    }

    .tariff-main .main-price,
    .tariff-main .annual-box {
        padding-left: 12px;
        padding-right: 12px;
    }

    .tariff-main .annual-caption {
        font-size: 10px;
    }
}
/* =========================================================
   ПЕРВЫЙ ЭКРАН CRMEDICAL
   ========================================================= */

.hero-redesign {
    position: relative;
    overflow: hidden;
    padding: 68px 0 30px;
    background:
        radial-gradient(
            circle at 76% 20%,
            rgba(0, 217, 179, .12),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 90%,
            rgba(93, 169, 209, .12),
            transparent 28%
        ),
        #ffffff;
}

.hero-redesign::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .24;
    background-image:
        linear-gradient(
            rgba(59, 77, 91, .035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(59, 77, 91, .035) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
    mask-image: linear-gradient(
        to bottom,
        #000,
        transparent 84%
    );
}

.hero-redesign .hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(390px, .78fr)
        minmax(600px, 1.22fr);
    gap: 34px;
    align-items: center;
}

.hero-redesign .hero-copy {
    position: relative;
    z-index: 3;
    padding: 24px 0 44px;
}

.hero-redesign .hero-copy h1 {
    max-width: 580px;
    margin-bottom: 22px;
    color: #10394B;
    font-size: clamp(42px, 4.6vw, 68px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.hero-redesign .hero-lead {
    max-width: 560px;
    margin-bottom: 0;
    color: #617985;
    font-size: 17px;
    line-height: 1.75;
}

.hero-redesign .hero-actions {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-demo-button {
    min-height: 58px;
    padding-inline: 25px;
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            #00D9B3,
            #00C4A8,
            #00B8C8
        );
}

.hero-video-button {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 17px 8px 10px;
    border: 1px solid #DCE9EE;
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 30px rgba(48, 84, 99, .08);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.hero-video-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(48, 84, 99, .13);
}

.hero-play {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #00D9B3,
            #00B8C8
        );
}

.hero-play .material-symbols-rounded {
    font-size: 25px;
}

.hero-video-text {
    display: grid;
    gap: 1px;
}

.hero-video-text strong {
    color: #3B4D5B;
    font-size: 12px;
    line-height: 1.25;
}

.hero-video-text small {
    color: #7A8D96;
    font-size: 10px;
}

.hero-redesign .hero-language {
    margin-top: 18px;
}

/* Изображение системы */

.hero-product {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product-glow {
    position: absolute;
    width: 72%;
    height: 64%;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            rgba(0, 217, 179, .23),
            rgba(93, 169, 209, .22)
        );
    filter: blur(60px);
}

.hero-product-image {
    position: relative;
    z-index: 2;
    width: 118%;
    max-width: none;
    margin-right: -11%;
    object-fit: contain;
    filter:
        drop-shadow(
            0 26px 28px rgba(48, 84, 99, .16)
        );
}

/* Убираем старые плавающие карточки первого экрана */

.hero-redesign .visual-card,
.hero-redesign .visual-glow,
.hero-redesign .hero-stats {
    display: none;
}

/* =========================================================
   ПОЛОСА КЛИЕНТОВ
   ========================================================= */

.hero-clients {
    position: relative;
    z-index: 4;
    margin-top: 12px;
    padding-top: 23px;
    border-top: 1px solid #E2ECEF;
}

.hero-clients-title {
    margin-bottom: 15px;
    color: #7A8D96;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.hero-clients-track {
    display: flex;
    align-items: stretch;
    gap: 10px;
    overflow-x: auto;
    padding: 0 2px 10px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.hero-clients-track::-webkit-scrollbar {
    display: none;
}

.hero-client-logo,
.hero-client-more {
    min-width: 155px;
    min-height: 66px;
    flex: 1 0 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    border: 1px solid #E0EAEE;
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    scroll-snap-align: start;
}

/*
 * Текст генерируется визуально как логотип.
 * Названия можно менять прямо в массиве PHP.
 */

.hero-client-logo {
    color: #546A76;
    font-family: "Roboto", "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .045em;
    text-align: center;
    text-transform: uppercase;
}

.hero-client-logo:nth-child(3n + 1) {
    color: #008E78;
}

.hero-client-logo:nth-child(3n + 2) {
    color: #167E94;
}

.hero-client-logo:nth-child(3n) {
    color: #477D9B;
}

.hero-client-more {
    min-width: 175px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #ffffff;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            #00C4A8,
            #00B8C8,
            #5DA9D1
        );
}

.hero-client-more strong {
    font-family: "Roboto", sans-serif;
    font-size: 23px;
    line-height: 1;
}

.hero-client-more span {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;
}

/* =========================================================
   ПЛАНШЕТ
   ========================================================= */

@media screen and (max-width: 1100px) {

    .hero-redesign .hero-grid {
        grid-template-columns:
            minmax(330px, .82fr)
            minmax(470px, 1.18fr);
        gap: 20px;
    }

    .hero-redesign .hero-copy h1 {
        font-size: clamp(39px, 5vw, 57px);
    }

    .hero-product-image {
        width: 112%;
        margin-right: -7%;
    }
}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media screen and (max-width: 850px) {

    .hero-redesign {
        padding: 48px 0 26px;
    }

    .hero-redesign .hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-redesign .hero-copy {
        padding: 0;
        text-align: center;
    }

    .hero-redesign .hero-copy h1 {
        max-width: 680px;
        margin-inline: auto;
        font-size: clamp(38px, 8vw, 55px);
    }

    .hero-redesign .hero-lead {
        margin-inline: auto;
        font-size: 16px;
    }

    .hero-redesign .hero-actions {
        justify-content: center;
    }

    .hero-redesign .hero-language {
        justify-content: center;
    }

    .hero-product {
        order: 2;
    }

    .hero-product-image {
        width: 100%;
        margin: 0;
    }

    .hero-clients {
        margin-top: 17px;
    }
}

@media screen and (max-width: 560px) {

    .hero-redesign {
        padding-top: 38px;
    }

    .hero-redesign .hero-copy h1 {
        font-size: 37px;
        line-height: 1.1;
    }

    .hero-redesign .hero-lead {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-redesign .hero-actions {
        display: grid;
        width: 100%;
    }

    .hero-redesign .hero-actions > * {
        width: 100%;
    }

    .hero-video-button {
        justify-content: center;
    }

    .hero-client-logo {
        min-width: 138px;
        flex-basis: 138px;
        font-size: 13px;
    }

    .hero-client-more {
        min-width: 158px;
    }
}
/* =========================================================
   HERO — ТРИ УРОВНЯ ТЕКСТА
   ========================================================= */

.hero-redesign .hero-text-levels {
    max-width: 610px;
}

/* 1 уровень — основной заголовок */
.hero-redesign .hero-main-title {
    max-width: 610px;
    margin: 0 0 20px;
    color: #10394B;
    font-family: "Roboto", "Montserrat", sans-serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.045em;
}

/* 2 уровень — продающий акцент */
.hero-redesign .hero-accent-title {
    max-width: 570px;
    margin: 0 0 22px;
    color: #00A98F;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(27px, 2.7vw, 40px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -.025em;
}

/* 3 уровень — пояснение */
.hero-redesign .hero-lead {
    max-width: 560px;
    margin: 0;
    color: #617985;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.72;
}

/* Убираем влияние старого глобального hero h1 */
.hero-redesign .hero-copy h1 {
    max-width: 610px;
}

/* Планшет */
@media screen and (max-width: 1100px) {
    .hero-redesign .hero-main-title {
        font-size: clamp(43px, 5vw, 61px);
    }

    .hero-redesign .hero-accent-title {
        font-size: clamp(25px, 3vw, 34px);
    }
}

/* Телефон */
@media screen and (max-width: 850px) {
    .hero-redesign .hero-text-levels {
        max-width: 680px;
        margin-inline: auto;
        text-align: center;
    }

    .hero-redesign .hero-main-title,
    .hero-redesign .hero-accent-title,
    .hero-redesign .hero-lead {
        margin-inline: auto;
    }

    .hero-redesign .hero-main-title {
        font-size: clamp(38px, 8vw, 54px);
    }

    .hero-redesign .hero-accent-title {
        font-size: clamp(25px, 5vw, 34px);
    }
}

@media screen and (max-width: 560px) {
    .hero-redesign .hero-main-title {
        margin-bottom: 16px;
        font-size: 37px;
        line-height: 1.08;
    }

    .hero-redesign .hero-accent-title {
        margin-bottom: 17px;
        font-size: 25px;
        line-height: 1.25;
    }

    .hero-redesign .hero-lead {
        font-size: 15px;
        line-height: 1.65;
    }
}
/* =========================================================
   БЛОК «ВЫГОДА» С ВРАЧОМ И ПЛАВАЮЩИМИ КАРТОЧКАМИ
   ========================================================= */

.benefit-showcase {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    background:
        radial-gradient(
            circle at 76% 48%,
            rgba(0, 217, 179, .08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fcfd 100%
        );
}

.benefit-showcase-layout {
    display: grid;
    grid-template-columns:
        minmax(300px, .72fr)
        minmax(680px, 1.28fr);
    gap: 40px;
    align-items: center;
}

/* =========================================================
   ЛЕВАЯ ЧАСТЬ
   ========================================================= */

.benefit-showcase-copy {
    position: relative;
    z-index: 5;
    max-width: 470px;
}

.benefit-showcase-copy h2 {
    margin-bottom: 25px;
    color: #10394b;
    font-size: clamp(40px, 4.3vw, 62px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.benefit-showcase-copy p {
    max-width: 430px;
    margin-bottom: 0;
    color: #617985;
    font-size: 16px;
    line-height: 1.75;
}

.benefit-showcase-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 29px 0;
}

.benefit-showcase-line span {
    width: 73px;
    height: 4px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            #00d9b3,
            #00b8c8
        );
}

.benefit-showcase-line i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00b8c8;
}

.benefit-showcase-button {
    min-height: 55px;
}

/* =========================================================
   ПРАВАЯ КОМПОЗИЦИЯ
   ========================================================= */

.benefit-showcase-visual {
    position: relative;
    min-height: 720px;
}

.benefit-doctor {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: -35px;
    width: 400px;
    max-height: 660px;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%);
    filter:
        drop-shadow(
            0 24px 25px rgba(48, 84, 99, .14)
        );
}

.benefit-doctor-glow {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 60px;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(0, 217, 179, .2) 0%,
            rgba(0, 184, 200, .09) 47%,
            transparent 70%
        );
    transform: translateX(-50%);
}

/* =========================================================
   ОРБИТЫ
   ========================================================= */

.benefit-orbit {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    border: 2px solid rgba(0, 169, 143, .55);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.benefit-orbit-large {
    width: 690px;
    height: 590px;
}

.benefit-orbit-small {
    width: 455px;
    height: 455px;
    border-color: rgba(0, 184, 200, .16);
    background:
        radial-gradient(
            circle,
            rgba(0, 217, 179, .12),
            rgba(0, 184, 200, .04) 52%,
            transparent 70%
        );
}

.benefit-orbit-dot {
    position: absolute;
    z-index: 2;
    width: 12px;
    height: 12px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #00a98f;
    box-shadow: 0 5px 13px rgba(0, 169, 143, .28);
}

.orbit-dot-1 {
    top: 109px;
    left: 135px;
}

.orbit-dot-2 {
    top: 95px;
    right: 120px;
}

.orbit-dot-3 {
    left: 72px;
    bottom: 165px;
}

.orbit-dot-4 {
    right: 60px;
    bottom: 190px;
}

/* =========================================================
   КАРТОЧКИ
   ========================================================= */

.benefit-floating-card {
    position: absolute;
    z-index: 7;
    width: 245px;
    min-height: 150px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px;
    border: 1px solid rgba(220, 233, 238, .94);
    border-radius: 23px;
    background: rgba(255, 255, 255, .96);
    box-shadow:
        0 18px 48px rgba(48, 84, 99, .13);
    backdrop-filter: blur(14px);
    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.benefit-floating-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 25px 58px rgba(48, 84, 99, .18);
}

.benefit-floating-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #008e78;
    background:
        linear-gradient(
            135deg,
            rgba(0, 217, 179, .16),
            rgba(93, 169, 209, .16)
        );
}

.benefit-floating-icon .material-symbols-rounded {
    font-size: 29px;
}

.benefit-floating-content h3 {
    margin: 2px 0 8px;
    color: #10394b;
    font-size: 16px;
    line-height: 1.25;
}

.benefit-floating-content p {
    margin: 0;
    color: #617985;
    font-size: 10px;
    line-height: 1.55;
}

/* Позиции шести карточек */

.benefit-floating-card-1 {
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
}

.benefit-floating-card-1:hover {
    transform: translateX(-50%) translateY(-5px);
}

.benefit-floating-card-2 {
    top: 155px;
    left: 0;
}

.benefit-floating-card-3 {
    top: 145px;
    right: 0;
}

.benefit-floating-card-4 {
    left: 3px;
    bottom: 60px;
}

.benefit-floating-card-5 {
    right: 4px;
    bottom: 62px;
}

.benefit-floating-card-6 {
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
}

.benefit-floating-card-6:hover {
    transform: translateX(-50%) translateY(-5px);
}

/* Карточки получают небольшие фирменные различия */

.benefit-floating-card-2 .benefit-floating-icon,
.benefit-floating-card-5 .benefit-floating-icon {
    color: #00869b;
    background:
        linear-gradient(
            135deg,
            rgba(0, 184, 200, .14),
            rgba(93, 169, 209, .17)
        );
}

.benefit-floating-card-3 .benefit-floating-icon,
.benefit-floating-card-6 .benefit-floating-icon {
    color: #477f9e;
    background:
        linear-gradient(
            135deg,
            rgba(93, 169, 209, .15),
            rgba(0, 196, 168, .12)
        );
}

/* =========================================================
   ЭКРАНЫ ДО 1200 PX
   ========================================================= */

@media screen and (max-width: 1200px) {

    .benefit-showcase-layout {
        grid-template-columns:
            minmax(280px, .65fr)
            minmax(610px, 1.35fr);
        gap: 20px;
    }

    .benefit-showcase-visual {
        min-height: 680px;
    }

    .benefit-orbit-large {
        width: 615px;
        height: 550px;
    }

    .benefit-doctor {
        width: 360px;
    }

    .benefit-floating-card {
        width: 220px;
        padding: 17px;
    }

    .benefit-floating-card-2,
    .benefit-floating-card-4 {
        left: -8px;
    }

    .benefit-floating-card-3,
    .benefit-floating-card-5 {
        right: -8px;
    }
}

/* =========================================================
   ПЛАНШЕТ
   ========================================================= */

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

    .benefit-showcase {
        padding: 80px 0;
    }

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

    .benefit-showcase-copy {
        max-width: 760px;
        margin-inline: auto;
        text-align: center;
    }

    .benefit-showcase-copy p {
        margin-inline: auto;
    }

    .benefit-showcase-line {
        justify-content: center;
    }

    .benefit-showcase-visual {
        width: min(100%, 730px);
        min-height: 720px;
        margin: 25px auto 0;
    }
}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media screen and (max-width: 700px) {

    .benefit-showcase {
        padding: 62px 0;
    }

    .benefit-showcase-copy h2 {
        font-size: 36px;
    }

    .benefit-showcase-visual {
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding-top: 0;
    }

    .benefit-orbit,
    .benefit-orbit-dot,
    .benefit-doctor-glow {
        display: none;
    }

    .benefit-doctor {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(86%, 340px);
        max-height: 470px;
        margin: 0 auto -45px;
        transform: none;
        order: 1;
    }

    .benefit-floating-cards {
        order: 2;
        position: relative;
        z-index: 10;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .benefit-floating-card,
    .benefit-floating-card-1,
    .benefit-floating-card-2,
    .benefit-floating-card-3,
    .benefit-floating-card-4,
    .benefit-floating-card-5,
    .benefit-floating-card-6 {
        position: relative;
        inset: auto;
        width: auto;
        min-height: 155px;
        display: block;
        padding: 17px;
        transform: none;
    }

    .benefit-floating-card:hover,
    .benefit-floating-card-1:hover,
    .benefit-floating-card-6:hover {
        transform: translateY(-3px);
    }

    .benefit-floating-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 13px;
        border-radius: 15px;
    }

    .benefit-floating-content h3 {
        font-size: 14px;
    }

    .benefit-floating-content p {
        font-size: 10px;
    }
}

@media screen and (max-width: 460px) {

    .benefit-floating-cards {
        grid-template-columns: 1fr;
    }

    .benefit-floating-card {
        min-height: auto;
        display: grid;
        grid-template-columns: 50px 1fr;
    }

    .benefit-floating-icon {
        margin-bottom: 0;
    }
}
/* =========================================================
   ВЫГОДА — КРУПНЫЕ ЦИФРЫ БЕЗ МЕЛКИХ ОПИСАНИЙ
   ========================================================= */

.benefit-floating-card {
    min-height: 158px;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    padding: 20px 21px;
}

.benefit-floating-icon {
    width: 62px;
    height: 62px;
    border-radius: 19px;
}

.benefit-floating-icon .material-symbols-rounded {
    font-size: 32px;
}

.benefit-floating-content {
    min-width: 0;
}

.benefit-floating-content h3 {
    margin: 0 0 7px;
    color: #10394B;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.benefit-floating-value {
    display: block;
    margin-bottom: 5px;
    color: #009B73;
    font-family: "Roboto", "Montserrat", sans-serif;
    font-size: 37px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    white-space: nowrap;
}

.benefit-floating-result {
    display: block;
    color: #3B4D5B;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

/* Положительные показатели делаем ярче */
.benefit-floating-card-1 .benefit-floating-value,
.benefit-floating-card-4 .benefit-floating-value,
.benefit-floating-card-5 .benefit-floating-value,
.benefit-floating-card-6 .benefit-floating-value {
    color: #00A078;
}

/* Показатели экономии */
.benefit-floating-card-2 .benefit-floating-value,
.benefit-floating-card-3 .benefit-floating-value {
    color: #008DA1;
}

/* Убираем старые мелкие тексты */
.benefit-floating-content p {
    display: none !important;
}

/* Карточки немного шире */
.benefit-floating-card {
    width: 255px;
}

.benefit-floating-card-1,
.benefit-floating-card-6 {
    width: 270px;
}

/* Телефон */
@media screen and (max-width: 700px) {
    .benefit-floating-card,
    .benefit-floating-card-1,
    .benefit-floating-card-6 {
        width: auto;
        min-height: 145px;
    }

    .benefit-floating-value {
        font-size: 32px;
    }

    .benefit-floating-result {
        font-size: 11px;
    }
}

@media screen and (max-width: 460px) {
    .benefit-floating-card {
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: center;
    }

    .benefit-floating-icon {
        width: 52px;
        height: 52px;
    }
}
/* =========================================================
   ВЫГОДА — ВРАЧ ВЫШЕ, КАРТОЧКИ РАВНОМЕРНО
   ========================================================= */

@media screen and (min-width: 981px) {

    /* Чуть увеличиваем рабочую область композиции */
    .benefit-showcase-visual {
        min-height: 760px;
    }

    /* Врач выше и немного крупнее */
    .benefit-doctor {
        left: 50%;
        bottom: 5px;
        width: 430px;
        max-height: 710px;
        transform: translateX(-50%);
    }

    /* Свечение следует за врачом */
    .benefit-doctor-glow {
        bottom: 95px;
        width: 440px;
        height: 440px;
    }

    /* Орбиты центрируем относительно новой позиции врача */
    .benefit-orbit {
        top: 49%;
    }

    .benefit-orbit-large {
        width: 700px;
        height: 610px;
    }

    .benefit-orbit-small {
        width: 470px;
        height: 470px;
    }

    /* Все карточки одинаковые */
    .benefit-floating-card,
    .benefit-floating-card-1,
    .benefit-floating-card-2,
    .benefit-floating-card-3,
    .benefit-floating-card-4,
    .benefit-floating-card-5,
    .benefit-floating-card-6 {
        width: 245px;
        min-height: 155px;
    }

    /*
     * Равномерная схема:
     *
     *        карточка 1
     *
     * карточка 2   карточка 3
     *
     * карточка 4   карточка 5
     *
     *        карточка 6
     */

    .benefit-floating-card-1 {
        top: 0;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translateX(-50%);
    }

    .benefit-floating-card-2 {
        top: 165px;
        left: 0;
        right: auto;
        bottom: auto;
        transform: none;
    }

    .benefit-floating-card-3 {
        top: 165px;
        right: 0;
        left: auto;
        bottom: auto;
        transform: none;
    }

    .benefit-floating-card-4 {
        top: 430px;
        left: 0;
        right: auto;
        bottom: auto;
        transform: none;
    }

    .benefit-floating-card-5 {
        top: 430px;
        right: 0;
        left: auto;
        bottom: auto;
        transform: none;
    }

    .benefit-floating-card-6 {
        top: 600px;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translateX(-50%);
    }

    /* Hover без смещения базовой позиции */
    .benefit-floating-card-1:hover,
    .benefit-floating-card-6:hover {
        transform: translateX(-50%) translateY(-5px);
    }

    .benefit-floating-card-2:hover,
    .benefit-floating-card-3:hover,
    .benefit-floating-card-4:hover,
    .benefit-floating-card-5:hover {
        transform: translateY(-5px);
    }

    /* Точки орбиты симметричнее */
    .orbit-dot-1 {
        top: 120px;
        left: 125px;
    }

    .orbit-dot-2 {
        top: 120px;
        right: 125px;
    }

    .orbit-dot-3 {
        left: 82px;
        bottom: 150px;
    }

    .orbit-dot-4 {
        right: 82px;
        bottom: 150px;
    }
}
@media screen and (min-width: 981px) and (max-width: 1200px) {

    .benefit-showcase-visual {
        min-height: 720px;
    }

    .benefit-doctor {
        bottom: 12px;
        width: 385px;
        max-height: 660px;
    }

    .benefit-floating-card,
    .benefit-floating-card-1,
    .benefit-floating-card-2,
    .benefit-floating-card-3,
    .benefit-floating-card-4,
    .benefit-floating-card-5,
    .benefit-floating-card-6 {
        width: 218px;
        min-height: 148px;
        padding: 17px;
    }

    .benefit-floating-card-2,
    .benefit-floating-card-4 {
        left: -5px;
    }

    .benefit-floating-card-3,
    .benefit-floating-card-5 {
        right: -5px;
    }

    .benefit-floating-card-4,
    .benefit-floating-card-5 {
        top: 410px;
    }

    .benefit-floating-card-6 {
        top: 570px;
    }
}
/* =========================================================
   ВЫГОДА — ДВУХЦВЕТНЫЙ ЗАГОЛОВОК
   ========================================================= */

.benefit-showcase-copy .benefit-showcase-title {
    max-width: 500px;
    margin: 0 0 24px;
    font-size: clamp(36px, 3.7vw, 54px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.benefit-title-main,
.benefit-title-accent {
    display: block;
}

/* Результат работы клиники */
.benefit-title-main {
    color: #10394B;
}

/* Виден в цифрах */
.benefit-title-accent {
    margin-top: 8px;
    color: #00A078;
}

/* Планшет */
@media screen and (max-width: 980px) {
    .benefit-showcase-copy .benefit-showcase-title {
        max-width: 650px;
        margin-inline: auto;
        font-size: clamp(34px, 5vw, 48px);
    }
}

/* Телефон */
@media screen and (max-width: 560px) {
    .benefit-showcase-copy .benefit-showcase-title {
        font-size: 33px;
        line-height: 1.12;
    }

    .benefit-title-accent {
        margin-top: 6px;
    }
}