/* =========================================================
   TMB-URIST.RU
   PRACTICE / CLAIMS
   ЕДИНАЯ UI-СИСТЕМА
   ========================================================= */

:root {
    --claims-blue: #2563eb;
    --claims-blue-dark: #1d4ed8;

    --claims-blue-light: #eff6ff;
    --claims-blue-border: #dbeafe;

    --claims-dark: #0f172a;
    --claims-text: #334155;
    --claims-muted: #64748b;

    --claims-border: #e2e8f0;

    --claims-white: #ffffff;
    --claims-bg: #f8fafc;

    --claims-container: 1320px;
    --claims-radius: 16px;

    --claims-shadow:
        0 8px 25px rgba(15, 23, 42, .04);

    --claims-shadow-hover:
        0 18px 40px rgba(15, 23, 42, .08);
}


/* =========================================================
   01. RESET / SAFETY
   ========================================================= */

.claims-hero *,
.claims-services *,
.claims-advantages *,
.claims-benefits *,
.claims-formats *,
.claims-cta * {
    box-sizing: border-box;
}


.claims-hero,
.claims-services,
.claims-advantages,
.claims-benefits,
.claims-formats,
.claims-cta {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}


/* =========================================================
   02. CONTAINER
   ========================================================= */

.claims-hero .container,
.claims-services .container,
.claims-advantages .container,
.claims-benefits .container,
.claims-formats .container,
.claims-cta .container {
    width: 100%;
    max-width: var(--claims-container);

    margin-left: auto;
    margin-right: auto;

    padding-left: 30px;
    padding-right: 30px;
}


/* =========================================================
   03. HERO
   ========================================================= */

.claims-hero {
    position: relative;

    padding-top: 72px;
    padding-bottom: 76px;

    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #f4f8fd 100%
        );

    border-bottom: 1px solid #e5edf7;
}


.claims-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -330px;
    right: -140px;

    border-radius: 50%;

    background:
        rgba(37, 99, 235, .045);

    pointer-events: none;
}


.claims-hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -220px;
    bottom: -270px;

    border-radius: 50%;

    background:
        rgba(96, 165, 250, .045);

    pointer-events: none;
}


/* =========================================================
   04. HERO GRID
   ========================================================= */

.claims-hero-grid {
    position: relative;
    z-index: 2;

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(190px, .60fr)
        minmax(220px, .75fr);

    gap: 46px;

    align-items: center;
}


/* =========================================================
   05. HERO LEFT
   ========================================================= */

.claims-hero-left {
    width: 100%;
    min-width: 0;

    max-width: 740px;
}


/* =========================================================
   06. HERO TITLE
   ========================================================= */

.claims-hero-title {
    margin: 0;

    color: var(--claims-dark);

    font-size: clamp(42px, 4.3vw, 58px);

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -2.2px;
}


.claims-hero-title span {
    display: block;

    margin-top: 5px;

    color: var(--claims-blue);
}


/* =========================================================
   07. HERO SUBTITLE
   ========================================================= */

.claims-hero-subtitle {
    max-width: 680px;

    margin: 28px 0 0;

    color: var(--claims-muted);

    font-size: 17px;

    line-height: 1.7;

    font-weight: 400;
}


/* =========================================================
   08. HERO CENTER
   ========================================================= */

.claims-hero-center {
    width: 100%;
    min-width: 0;

    max-width: 235px;

    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   09. BUTTONS
   ========================================================= */

.claims-hero .btn,
.claims-cta .btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 18px;

    border-radius: 10px;

    font-size: 14px;

    line-height: 1.2;

    font-weight: 700;

    text-align: center;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        border-color .25s ease;
}


.claims-hero .btn {
    width: 100%;
}


.claims-hero .btn-primary,
.claims-cta .btn-primary {
    color: #ffffff;

    background: var(--claims-blue);

    border: 1px solid var(--claims-blue);

    box-shadow:
        0 7px 18px rgba(37, 99, 235, .15);
}


.claims-hero .btn-primary:hover,
.claims-cta .btn-primary:hover {
    color: #ffffff;

    background: var(--claims-blue-dark);

    border-color: var(--claims-blue-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(37, 99, 235, .22);
}


.claims-hero .btn-outline {
    color: var(--claims-blue);

    background: #ffffff;

    border: 1px solid var(--claims-blue);
}


.claims-hero .btn-outline:hover {
    color: var(--claims-blue-dark);

    background: var(--claims-blue-light);

    border-color: var(--claims-blue-dark);

    transform: translateY(-2px);
}


/* =========================================================
   10. HERO RIGHT
   ========================================================= */

.claims-hero-right {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 19px;
}


.claims-feature {
    position: relative;

    min-width: 0;

    padding-left: 28px;

    color: var(--claims-dark);

    font-size: 14px;

    line-height: 1.55;

    font-weight: 600;
}


.claims-feature::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: #16a34a;

    font-size: 15px;

    line-height: 1.55;

    font-weight: 800;
}


/* =========================================================
   11. SECTIONS
   ========================================================= */

.claims-services {
    padding-top: 78px;
    padding-bottom: 78px;

    background: #ffffff;
}


.claims-advantages {
    padding-top: 78px;
    padding-bottom: 78px;

    background: var(--claims-bg);
}


.claims-benefits {
    padding-top: 78px;
    padding-bottom: 78px;

    background: #ffffff;
}


.claims-formats {
    padding-top: 78px;
    padding-bottom: 78px;

    background: var(--claims-bg);
}


.claims-cta {
    padding-top: 25px;
    padding-bottom: 80px;

    background: #ffffff;
}


/* =========================================================
   12. SECTION TITLE
   ========================================================= */

.claims-section-title {
    position: relative;

    display: block;

    width: fit-content;

    margin: 0 0 40px;

    padding-bottom: 14px;

    color: var(--claims-dark);

    font-size: clamp(34px, 3.2vw, 43px);

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;
}


.claims-section-title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 70px;
    height: 4px;

    border-radius: 4px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #60a5fa
        );
}


/* =========================================================
   13. CLAIMS LIST
   ========================================================= */

.claims-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    border-top: 1px solid var(--claims-border);
}


/* =========================================================
   14. CLAIM ROW
   ========================================================= */

.claim-row {
    position: relative;

    width: 100%;

    padding: 28px 0 30px;

    border-bottom: 1px solid var(--claims-border);

    transition:
        padding-left .25s ease,
        background .25s ease;
}


.claim-row::before {
    content: "";

    position: absolute;

    left: -30px;
    top: 0;
    bottom: 0;

    width: 3px;

    background: var(--claims-blue);

    opacity: 0;

    transition: opacity .25s ease;
}


.claim-row:hover::before {
    opacity: 1;
}


/* =========================================================
   15. CLAIM TOP
   ========================================================= */

.claim-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 10px;
}


.claim-top h3 {
    min-width: 0;

    margin: 0;

    color: var(--claims-dark);

    font-size: 20px;

    line-height: 1.35;

    font-weight: 700;
}


.claim-top span {
    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 30px;

    padding: 0 12px;

    border-radius: 999px;

    background: var(--claims-blue-light);

    border: 1px solid var(--claims-blue-border);

    color: var(--claims-blue);

    font-size: 12px;

    line-height: 1;

    font-weight: 700;
}


.claim-row p {
    max-width: 900px;

    margin: 0;

    color: var(--claims-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   16. STEPS
   ========================================================= */

.claims-steps {
    width: 100%;

    display: flex;
    flex-direction: column;

    border-top: 1px solid var(--claims-border);
}


.claims-step {
    display: grid;

    grid-template-columns:
        90px
        minmax(0, 1fr);

    gap: 30px;

    align-items: center;

    min-height: 125px;

    padding: 27px 0;

    border-bottom: 1px solid var(--claims-border);
}


.claims-step-number {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--claims-blue-light);

    border: 1px solid var(--claims-blue-border);

    color: var(--claims-blue);

    font-size: 15px;

    line-height: 1;

    font-weight: 800;
}


.claims-step-content {
    min-width: 0;
}


.claims-step-content h3 {
    margin: 0 0 8px;

    color: var(--claims-dark);

    font-size: 19px;

    line-height: 1.4;

    font-weight: 700;
}


.claims-step-content p {
    max-width: 850px;

    margin: 0;

    color: var(--claims-muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   17. BENEFITS
   ========================================================= */

.claims-benefits-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    border-top: 1px solid var(--claims-border);
}


.claims-benefit-row {
    display: grid;

    grid-template-columns:
        minmax(280px, .7fr)
        minmax(0, 1.3fr);

    gap: 55px;

    align-items: center;

    min-height: 125px;

    padding: 27px 0;

    border-bottom: 1px solid var(--claims-border);
}


.claims-benefit-row h3 {
    position: relative;

    margin: 0;

    padding-left: 27px;

    color: var(--claims-dark);

    font-size: 19px;

    line-height: 1.4;

    font-weight: 700;
}


.claims-benefit-row h3::before {
    content: "";

    position: absolute;

    left: 0;
    top: 8px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--claims-blue);
}


.claims-benefit-row p {
    max-width: 700px;

    margin: 0;

    color: var(--claims-muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   18. FORMATS
   ========================================================= */

.claims-formats-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


.claims-format-card {
    position: relative;

    min-width: 0;

    min-height: 285px;

    display: flex;
    flex-direction: column;

    padding:
        30px
        28px
        27px;

    background: #ffffff;

    border: 1px solid var(--claims-border);

    border-radius: var(--claims-radius);

    box-shadow: var(--claims-shadow);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.claims-format-card:hover {
    transform: translateY(-4px);

    border-color: var(--claims-blue-border);

    box-shadow: var(--claims-shadow-hover);
}


.claims-format-number {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 23px;

    border-radius: 10px;

    background: var(--claims-blue-light);

    border: 1px solid var(--claims-blue-border);

    color: var(--claims-blue);

    font-size: 14px;

    line-height: 1;

    font-weight: 800;
}


.claims-format-card h3 {
    margin: 0 0 11px;

    color: var(--claims-dark);

    font-size: 20px;

    line-height: 1.3;

    font-weight: 700;
}


.claims-format-card p {
    margin: 0;

    color: var(--claims-muted);

    font-size: 14px;

    line-height: 1.7;
}


.claims-format-card a {
    margin-top: auto;

    padding-top: 25px;

    color: var(--claims-blue);

    font-size: 14px;

    line-height: 1.4;

    font-weight: 700;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}


.claims-format-card a:hover {
    color: var(--claims-blue-dark);

    transform: translateX(3px);
}


/* =========================================================
   19. CTA
   ========================================================= */

.claims-cta-box {
    position: relative;

    overflow: hidden;

    width: 100%;

    min-height: 245px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 45px;

    padding: 50px 60px;

    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #172554 100%
        );

    border-radius: 20px;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, .12);
}


.claims-cta-box::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -130px;
    top: -220px;

    border-radius: 50%;

    background:
        rgba(96, 165, 250, .11);

    pointer-events: none;
}


.claims-cta-box::after {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    left: -100px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(37, 99, 235, .10);

    pointer-events: none;
}


.claims-cta-content {
    position: relative;
    z-index: 2;

    min-width: 0;

    max-width: 800px;
}


.claims-cta-box h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 36px;

    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -1px;
}


.claims-cta-box p {
    max-width: 720px;

    margin: 0;

    color: #cbd5e1;

    font-size: 15px;

    line-height: 1.7;
}


.claims-cta-box .btn {
    position: relative;
    z-index: 3;

    flex: 0 0 auto;

    min-width: 190px;
}


/* =========================================================
   20. 1200 PX
   ========================================================= */

@media (max-width: 1200px) {

    .claims-hero .container,
    .claims-services .container,
    .claims-advantages .container,
    .claims-benefits .container,
    .claims-formats .container,
    .claims-cta .container {
        padding-left: 25px;
        padding-right: 25px;
    }


    .claims-hero-grid {
        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(190px, .62fr)
            minmax(210px, .72fr);

        gap: 30px;
    }


    .claims-hero-title {
        font-size: 47px;
    }


    .claims-hero-subtitle {
        font-size: 16px;
    }


    .claims-formats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .claims-format-card:last-child {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   21. 1000 PX
   ========================================================= */

@media (max-width: 1000px) {

    .claims-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            220px;

        gap: 30px;
    }


    .claims-hero-center {
        grid-column: 2;
        grid-row: 1;

        max-width: 220px;
    }


    .claims-hero-right {
        grid-column: 1 / -1;

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 22px;
    }


    .claims-hero-title {
        font-size: 43px;
    }


    .claims-benefit-row {
        grid-template-columns:
            minmax(220px, .7fr)
            minmax(0, 1.3fr);

        gap: 35px;
    }


    .claims-cta-box {
        gap: 30px;

        padding-left: 45px;
        padding-right: 45px;
    }
}


/* =========================================================
   22. 850 PX
   ========================================================= */

@media (max-width: 850px) {

    .claims-hero-grid {
        grid-template-columns: 1fr;
    }


    .claims-hero-center {
        grid-column: auto;
        grid-row: auto;

        max-width: 300px;
    }


    .claims-hero-right {
        grid-column: auto;

        display: flex;
        flex-direction: column;

        gap: 14px;
    }


    .claims-hero-title {
        font-size: 42px;
    }


    .claims-cta-box {
        align-items: flex-start;

        flex-direction: column;
    }


    .claims-cta-box .btn {
        min-width: 220px;
    }
}


/* =========================================================
   23. 700 PX
   ========================================================= */

@media (max-width: 700px) {

    .claims-hero .container,
    .claims-services .container,
    .claims-advantages .container,
    .claims-benefits .container,
    .claims-formats .container,
    .claims-cta .container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .claims-hero {
        padding-top: 45px;
        padding-bottom: 50px;
    }


    .claims-hero-title {
        font-size: 38px;

        line-height: 1.05;

        letter-spacing: -1.3px;
    }


    .claims-hero-subtitle {
        margin-top: 20px;

        font-size: 15px;

        line-height: 1.65;
    }


    .claims-hero-center {
        max-width: 100%;
    }


    .claims-hero .btn {
        min-height: 50px;
    }


    .claims-section-title {
        font-size: 32px;

        margin-bottom: 30px;
    }


    .claims-services,
    .claims-advantages,
    .claims-benefits,
    .claims-formats {
        padding-top: 55px;
        padding-bottom: 55px;
    }


    .claim-row {
        padding-top: 24px;
        padding-bottom: 26px;
    }


    .claim-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 9px;
    }


    .claim-top h3 {
        font-size: 18px;
    }


    .claim-top span {
        min-height: 28px;

        font-size: 11px;
    }


    .claim-row p {
        font-size: 14px;
    }


    .claims-step {
        grid-template-columns:
            58px
            minmax(0, 1fr);

        gap: 20px;

        align-items: start;

        padding: 23px 0;
    }


    .claims-step-number {
        width: 48px;
        height: 48px;

        font-size: 13px;
    }


    .claims-step-content h3 {
        font-size: 18px;
    }


    .claims-step-content p {
        font-size: 14px;
    }


    .claims-benefit-row {
        grid-template-columns: 1fr;

        gap: 10px;

        padding: 23px 0;
    }


    .claims-benefit-row h3 {
        font-size: 18px;
    }


    .claims-benefit-row p {
        font-size: 14px;
    }


    .claims-formats-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .claims-format-card:last-child {
        grid-column: auto;
    }


    .claims-format-card {
        min-height: 250px;

        padding:
            26px
            22px;
    }


    .claims-format-card h3 {
        font-size: 18px;
    }


    .claims-format-card p {
        font-size: 14px;
    }


    .claims-cta {
        padding:
            20px
            55px;
    }


    .claims-cta-box {
        min-height: auto;

        padding:
            38px 25px;

        border-radius: 18px;
    }


    .claims-cta-box h2 {
        font-size: 29px;
    }


    .claims-cta-box p {
        font-size: 14px;
    }


    .claims-cta-box .btn {
        width: 100%;

        min-width: 0;
    }
}


/* =========================================================
   24. 500 PX
   ========================================================= */

@media (max-width: 500px) {

    .claims-hero-title {
        font-size: 34px;

        letter-spacing: -1px;
    }


    .claims-hero-subtitle {
        font-size: 14px;
    }


    .claims-section-title {
        font-size: 28px;

        letter-spacing: -.5px;
    }


    .claim-top h3 {
        font-size: 17px;
    }


    .claim-row p {
        font-size: 14px;
    }


    .claims-benefit-row h3 {
        font-size: 17px;
    }


    .claims-step {
        grid-template-columns:
            50px
            minmax(0, 1fr);

        gap: 16px;
    }


    .claims-step-number {
        width: 44px;
        height: 44px;
    }


    .claims-step-content h3 {
        font-size: 17px;
    }


    .claims-format-card {
        padding:
            25px 20px;
    }


    .claims-cta-box {
        padding:
            30px 20px;
    }


    .claims-cta-box h2 {
        font-size: 25px;
    }
}


/* =========================================================
   25. 380 PX
   ========================================================= */

@media (max-width: 380px) {

    .claims-hero-title {
        font-size: 31px;
    }


    .claims-section-title {
        font-size: 25px;
    }


    .claims-step {
        grid-template-columns:
            46px
            minmax(0, 1fr);

        gap: 14px;
    }


    .claims-step-number {
        width: 42px;
        height: 42px;

        font-size: 12px;
    }


    .claims-cta-box {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* =========================================================
   26. FOCUS
   ========================================================= */

.claims-hero a:focus-visible,
.claims-format-card a:focus-visible,
.claims-cta a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);

    outline-offset: 3px;
}


/* =========================================================
   27. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .claim-row,
    .claims-format-card,
    .claims-hero .btn,
    .claims-format-card a,
    .claims-cta-box .btn {
        transition: none;
    }
}