/* =========================================================
   TMB-URIST.RU
   INDIVIDUALS / CIVIL
   STYLE 1 — PREMIUM / CLEAN / CORPORATE
   ========================================================= */


/* =========================================================
   01. VARIABLES
   ========================================================= */

:root {

    --civil-blue: #2563eb;
    --civil-blue-dark: #1d4ed8;

    --civil-blue-light: #eff6ff;
    --civil-blue-border: #dbeafe;

    --civil-dark: #0f172a;
    --civil-text: #334155;
    --civil-muted: #64748b;

    --civil-border: #e2e8f0;

    --civil-white: #ffffff;
    --civil-bg: #f8fafc;

    --civil-container: 1320px;

    --civil-radius: 16px;

    --civil-shadow:
        0 8px 25px rgba(15, 23, 42, 0.04);

    --civil-shadow-hover:
        0 18px 40px rgba(15, 23, 42, 0.08);
}


/* =========================================================
   02. RESET / SAFETY
   ========================================================= */

.civil-hero *,
.civil-services *,
.civil-advantages *,
.civil-benefits *,
.civil-formats *,
.civil-cta * {
    box-sizing: border-box;
}


.civil-hero,
.civil-services,
.civil-advantages,
.civil-benefits,
.civil-formats,
.civil-cta {

    width: 100%;
    max-width: 100%;

    overflow: hidden;
}


/* =========================================================
   03. CONTAINER
   ========================================================= */

.civil-hero .container,
.civil-services .container,
.civil-advantages .container,
.civil-benefits .container,
.civil-formats .container,
.civil-cta .container {

    width: 100%;

    max-width: var(--civil-container);

    margin-left: auto;
    margin-right: auto;

    padding-left: 30px;
    padding-right: 30px;
}


/* =========================================================
   04. HERO
   ========================================================= */

.civil-hero {

    position: relative;

    padding-top: 72px;
    padding-bottom: 76px;

    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #f4f8fd 100%
        );

    border-bottom: 1px solid #e5edf7;
}


.civil-hero::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -330px;
    right: -140px;

    border-radius: 50%;

    background:
        rgba(37, 99, 235, 0.045);

    pointer-events: none;
}


.civil-hero::after {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -220px;
    bottom: -270px;

    border-radius: 50%;

    background:
        rgba(96, 165, 250, 0.045);

    pointer-events: none;
}


/* =========================================================
   05. HERO GRID
   ========================================================= */

.civil-hero-grid {

    position: relative;

    z-index: 2;

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(190px, 0.60fr)
        minmax(220px, 0.75fr);

    gap: 46px;

    align-items: center;
}


/* =========================================================
   06. HERO LEFT
   ========================================================= */

.civil-hero-left {

    width: 100%;

    min-width: 0;

    max-width: 740px;
}


/* =========================================================
   07. EYEBROW
   ========================================================= */

.civil-eyebrow {

    display: inline-flex;

    align-items: center;

    min-height: 32px;

    margin-bottom: 20px;

    padding:
        6px
        12px;

    color: var(--civil-blue);

    background: var(--civil-blue-light);

    border: 1px solid var(--civil-blue-border);

    border-radius: 8px;

    font-size: 12px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: .3px;

    text-transform: uppercase;
}


/* =========================================================
   08. HERO TITLE
   ========================================================= */

.civil-hero-title {

    margin: 0;

    color: var(--civil-dark);

    font-size: clamp(42px, 4.3vw, 58px);

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -2.2px;
}


.civil-hero-title span {

    display: block;

    margin-top: 5px;

    color: var(--civil-blue);
}


/* =========================================================
   09. HERO SUBTITLE
   ========================================================= */

.civil-hero-subtitle {

    max-width: 680px;

    margin: 28px 0 0;

    color: var(--civil-muted);

    font-size: 17px;

    line-height: 1.7;

    font-weight: 400;
}


/* =========================================================
   10. HERO CENTER
   ========================================================= */

.civil-hero-center {

    width: 100%;

    min-width: 0;

    max-width: 235px;

    display: flex;

    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   11. HERO BUTTONS
   ========================================================= */

.civil-hero .btn {

    width: 100%;

    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    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;
}


/* =========================================================
   12. PRIMARY BUTTON
   ========================================================= */

.civil-hero .btn-primary,
.civil-cta .btn-primary {

    color: #ffffff;

    background: var(--civil-blue);

    border: 1px solid var(--civil-blue);

    box-shadow:
        0 7px 18px rgba(37, 99, 235, .15);
}


.civil-hero .btn-primary:hover,
.civil-cta .btn-primary:hover {

    color: #ffffff;

    background: var(--civil-blue-dark);

    border-color: var(--civil-blue-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(37, 99, 235, .22);
}


/* =========================================================
   13. OUTLINE BUTTON
   ========================================================= */

.civil-hero .btn-outline {

    color: var(--civil-blue);

    background: #ffffff;

    border: 1px solid var(--civil-blue);
}


.civil-hero .btn-outline:hover {

    color: var(--civil-blue-dark);

    background: var(--civil-blue-light);

    border-color: var(--civil-blue-dark);

    transform: translateY(-2px);
}


/* =========================================================
   14. HERO RIGHT
   ========================================================= */

.civil-hero-right {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 19px;
}


.civil-feature {

    position: relative;

    min-width: 0;

    padding-left: 28px;

    color: var(--civil-dark);

    font-size: 14px;

    line-height: 1.55;

    font-weight: 600;
}


.civil-feature::before {

    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: #16a34a;

    font-size: 15px;

    line-height: 1.55;

    font-weight: 800;
}


/* =========================================================
   15. SERVICES
   ========================================================= */

.civil-services {

    padding-top: 78px;
    padding-bottom: 78px;

    background: #ffffff;
}


/* =========================================================
   16. ADVANTAGES / STEPS
   ========================================================= */

.civil-advantages {

    padding-top: 78px;
    padding-bottom: 78px;

    background: var(--civil-bg);
}


/* =========================================================
   17. BENEFITS
   ========================================================= */

.civil-benefits {

    padding-top: 78px;
    padding-bottom: 78px;

    background: #ffffff;
}


/* =========================================================
   18. FORMATS
   ========================================================= */

.civil-formats {

    padding-top: 78px;
    padding-bottom: 78px;

    background: var(--civil-bg);
}


/* =========================================================
   19. CTA
   ========================================================= */

.civil-cta {

    padding-top: 35px;
    padding-bottom: 80px;

    background: #ffffff;
}


/* =========================================================
   20. SECTION TITLE
   ========================================================= */

.civil-section-title {

    position: relative;

    display: block;

    width: fit-content;

    margin: 0 0 40px;

    padding-bottom: 14px;

    color: var(--civil-dark);

    font-size: clamp(34px, 3.2vw, 43px);

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;
}


.civil-section-title::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 70px;
    height: 4px;

    border-radius: 4px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #60a5fa
        );
}


/* =========================================================
   21. SERVICES GRID
   ========================================================= */

.civil-grid {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


/* =========================================================
   22. SERVICE CARD
   ========================================================= */

.civil-item {

    position: relative;

    min-width: 0;

    min-height: 220px;

    padding:
        29px
        25px
        29px
        76px;

    background: #ffffff;

    border: 1px solid var(--civil-border);

    border-radius: var(--civil-radius);

    box-shadow: var(--civil-shadow);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.civil-item::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: var(--civil-blue);

    border-radius: 4px 0 0 4px;
}


.civil-item:hover {

    transform: translateY(-4px);

    border-color: var(--civil-blue-border);

    box-shadow: var(--civil-shadow-hover);
}


/* =========================================================
   23. SERVICE NUMBER
   ========================================================= */

.civil-item > span {

    position: absolute;

    left: 19px;
    top: 30px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--civil-blue-light);

    border: 1px solid var(--civil-blue-border);

    color: var(--civil-blue);

    font-size: 14px;

    line-height: 1;

    font-weight: 800;
}


/* =========================================================
   24. SERVICE TITLE
   ========================================================= */

.civil-item h3 {

    margin: 0 0 10px;

    color: var(--civil-dark);

    font-size: 20px;

    line-height: 1.3;

    font-weight: 700;
}


/* =========================================================
   25. SERVICE TEXT
   ========================================================= */

.civil-item p {

    margin: 0;

    color: var(--civil-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   26. STEPS LIST
   ========================================================= */

.civil-steps {

    width: 100%;

    display: flex;

    flex-direction: column;

    border-top: 1px solid var(--civil-border);
}


/* =========================================================
   27. STEP
   ========================================================= */

.civil-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(--civil-border);
}


/* =========================================================
   28. STEP NUMBER
   ========================================================= */

.civil-step-number {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--civil-blue-light);

    border: 1px solid var(--civil-blue-border);

    color: var(--civil-blue);

    font-size: 15px;

    line-height: 1;

    font-weight: 800;
}


/* =========================================================
   29. STEP CONTENT
   ========================================================= */

.civil-step-content {

    min-width: 0;
}


.civil-step-content h3 {

    margin: 0 0 8px;

    color: var(--civil-dark);

    font-size: 19px;

    line-height: 1.4;

    font-weight: 700;
}


.civil-step-content p {

    max-width: 850px;

    margin: 0;

    color: var(--civil-muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   30. BENEFITS LIST
   ========================================================= */

.civil-benefits-list {

    width: 100%;

    display: flex;

    flex-direction: column;

    border-top: 1px solid var(--civil-border);
}


/* =========================================================
   31. BENEFIT ROW
   ========================================================= */

.civil-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(--civil-border);
}


.civil-benefit-row h3 {

    position: relative;

    margin: 0;

    padding-left: 27px;

    color: var(--civil-dark);

    font-size: 19px;

    line-height: 1.4;

    font-weight: 700;
}


.civil-benefit-row h3::before {

    content: "";

    position: absolute;

    left: 0;
    top: 8px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--civil-blue);
}


.civil-benefit-row p {

    max-width: 700px;

    margin: 0;

    color: var(--civil-muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   32. FORMATS GRID
   ========================================================= */

.civil-formats-grid {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


/* =========================================================
   33. FORMAT CARD
   ========================================================= */

.civil-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(--civil-border);

    border-radius: var(--civil-radius);

    box-shadow: var(--civil-shadow);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.civil-format-card:hover {

    transform: translateY(-4px);

    border-color: var(--civil-blue-border);

    box-shadow: var(--civil-shadow-hover);
}


/* =========================================================
   34. FORMAT NUMBER
   ========================================================= */

.civil-format-number {

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 23px;

    border-radius: 10px;

    background: var(--civil-blue-light);

    border: 1px solid var(--civil-blue-border);

    color: var(--civil-blue);

    font-size: 14px;

    line-height: 1;

    font-weight: 800;
}


/* =========================================================
   35. FORMAT TITLE
   ========================================================= */

.civil-format-card h3 {

    margin: 0 0 11px;

    color: var(--civil-dark);

    font-size: 20px;

    line-height: 1.3;

    font-weight: 700;
}


/* =========================================================
   36. FORMAT TEXT
   ========================================================= */

.civil-format-card p {

    margin: 0;

    color: var(--civil-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   37. FORMAT LINK
   ========================================================= */

.civil-format-card a {

    margin-top: auto;
    padding-top: 25px;

    color: var(--civil-blue);

    font-size: 14px;

    line-height: 1.4;

    font-weight: 700;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}


.civil-format-card a:hover {

    color: var(--civil-blue-dark);

    transform: translateX(3px);
}


/* =========================================================
   38. CTA BOX
   ========================================================= */

.civil-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);
}


.civil-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;
}


.civil-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;
}


/* =========================================================
   39. CTA CONTENT
   ========================================================= */

.civil-cta-content {

    position: relative;

    z-index: 2;

    min-width: 0;

    max-width: 800px;
}


/* =========================================================
   40. CTA TITLE
   ========================================================= */

.civil-cta-box h2 {

    margin: 0 0 15px;

    color: #ffffff;

    font-size: 36px;

    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -1px;
}


/* =========================================================
   41. CTA TEXT
   ========================================================= */

.civil-cta-box p {

    max-width: 720px;

    margin: 0;

    color: #cbd5e1;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   42. CTA BUTTON
   ========================================================= */

.civil-cta-box .btn {

    position: relative;

    z-index: 3;

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 190px;

    min-height: 52px;

    padding: 0 25px;

    border-radius: 10px;

    color: #ffffff;

    background: var(--civil-blue);

    border: 1px solid var(--civil-blue);

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.civil-cta-box .btn:hover {

    color: #ffffff;

    background: var(--civil-blue-dark);

    border-color: var(--civil-blue-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, .25);
}


/* =========================================================
   43. 1200 PX
   ========================================================= */

@media (max-width: 1200px) {

    .civil-hero .container,
    .civil-services .container,
    .civil-advantages .container,
    .civil-benefits .container,
    .civil-formats .container,
    .civil-cta .container {

        padding-left: 25px;
        padding-right: 25px;
    }


    .civil-hero-grid {

        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(190px, .62fr)
            minmax(210px, .72fr);

        gap: 30px;
    }


    .civil-hero-title {

        font-size: 47px;
    }


    .civil-hero-subtitle {

        font-size: 16px;
    }


    .civil-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .civil-formats-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .civil-format-card:last-child {

        grid-column: 1 / -1;
    }
}


/* =========================================================
   44. 1000 PX
   ========================================================= */

@media (max-width: 1000px) {

    .civil-hero-grid {

        grid-template-columns:
            minmax(0, 1fr)
            220px;

        gap: 30px;
    }


    .civil-hero-center {

        grid-column: 2;

        grid-row: 1;

        max-width: 220px;
    }


    .civil-hero-right {

        grid-column: 1 / -1;

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 22px;
    }


    .civil-hero-title {

        font-size: 43px;
    }


    .civil-benefit-row {

        grid-template-columns:
            minmax(220px, .7fr)
            minmax(0, 1.3fr);

        gap: 35px;
    }


    .civil-cta-box {

        gap: 30px;

        padding-left: 45px;
        padding-right: 45px;
    }
}


/* =========================================================
   45. 850 PX
   ========================================================= */

@media (max-width: 850px) {

    .civil-hero-grid {

        grid-template-columns: 1fr;
    }


    .civil-hero-center {

        grid-column: auto;

        grid-row: auto;

        max-width: 300px;
    }


    .civil-hero-right {

        grid-column: auto;

        display: flex;

        flex-direction: column;

        gap: 14px;
    }


    .civil-hero-title {

        font-size: 42px;
    }


    .civil-cta-box {

        align-items: flex-start;

        flex-direction: column;
    }


    .civil-cta-box .btn {

        min-width: 220px;
    }
}


/* =========================================================
   46. 700 PX
   ========================================================= */

@media (max-width: 700px) {

    .civil-hero .container,
    .civil-services .container,
    .civil-advantages .container,
    .civil-benefits .container,
    .civil-formats .container,
    .civil-cta .container {

        padding-left: 20px;
        padding-right: 20px;
    }


    .civil-hero {

        padding-top: 45px;

        padding-bottom: 50px;
    }


    .civil-eyebrow {

        margin-bottom: 17px;

        font-size: 11px;
    }


    .civil-hero-title {

        font-size: 38px;

        line-height: 1.05;

        letter-spacing: -1.3px;
    }


    .civil-hero-subtitle {

        margin-top: 20px;

        font-size: 15px;

        line-height: 1.65;
    }


    .civil-hero-center {

        max-width: 100%;
    }


    .civil-hero .btn {

        min-height: 50px;
    }


    .civil-section-title {

        font-size: 32px;

        margin-bottom: 30px;
    }


    .civil-services,
    .civil-advantages,
    .civil-benefits,
    .civil-formats {

        padding-top: 55px;

        padding-bottom: 55px;
    }


    .civil-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .civil-item {

        min-height: auto;

        padding:
            26px
            20px
            26px
            68px;
    }


    .civil-item > span {

        left: 18px;

        top: 27px;

        width: 38px;

        height: 38px;
    }


    .civil-item h3 {

        font-size: 18px;
    }


    .civil-item p {

        font-size: 14px;
    }


    .civil-step {

        grid-template-columns:
            58px
            minmax(0, 1fr);

        gap: 20px;

        align-items: start;

        padding:
            23px 0;
    }


    .civil-step-number {

        width: 48px;
        height: 48px;

        font-size: 13px;
    }


    .civil-step-content h3 {

        font-size: 18px;
    }


    .civil-step-content p {

        font-size: 14px;
    }


    .civil-benefit-row {

        grid-template-columns: 1fr;

        gap: 10px;

        padding:
            23px 0;
    }


    .civil-benefit-row h3 {

        font-size: 18px;
    }


    .civil-benefit-row p {

        font-size: 14px;
    }


    .civil-formats-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .civil-format-card:last-child {

        grid-column: auto;
    }


    .civil-format-card {

        min-height: 250px;

        padding:
            26px
            22px;
    }


    .civil-format-card h3 {

        font-size: 18px;
    }


    .civil-format-card p {

        font-size: 14px;
    }


    .civil-cta {

        padding:
            25px 20px
            55px;
    }


    .civil-cta-box {

        min-height: auto;

        padding:
            38px 25px;

        border-radius: 18px;
    }


    .civil-cta-box h2 {

        font-size: 29px;
    }


    .civil-cta-box p {

        font-size: 14px;
    }


    .civil-cta-box .btn {

        width: 100%;

        min-width: 0;
    }
}


/* =========================================================
   47. 500 PX
   ========================================================= */

@media (max-width: 500px) {

    .civil-hero-title {

        font-size: 34px;

        letter-spacing: -1px;
    }


    .civil-hero-subtitle {

        font-size: 14px;
    }


    .civil-section-title {

        font-size: 28px;

        letter-spacing: -.5px;
    }


    .civil-item {

        padding-right: 18px;
    }


    .civil-benefit-row h3 {

        font-size: 17px;
    }


    .civil-benefit-row p {

        font-size: 14px;
    }


    .civil-step {

        grid-template-columns:
            50px
            minmax(0, 1fr);

        gap: 16px;
    }


    .civil-step-number {

        width: 44px;
        height: 44px;
    }


    .civil-step-content h3 {

        font-size: 17px;
    }


    .civil-format-card {

        padding:
            25px 20px;
    }


    .civil-cta-box {

        padding:
            30px 20px;
    }


    .civil-cta-box h2 {

        font-size: 25px;
    }
}


/* =========================================================
   48. 380 PX
   ========================================================= */

@media (max-width: 380px) {

    .civil-hero-title {

        font-size: 31px;
    }


    .civil-section-title {

        font-size: 25px;
    }


    .civil-item {

        padding-left: 64px;
    }


    .civil-item > span {

        left: 16px;
    }


    .civil-step {

        grid-template-columns:
            46px
            minmax(0, 1fr);

        gap: 14px;
    }


    .civil-step-number {

        width: 42px;
        height: 42px;

        font-size: 12px;
    }


    .civil-cta-box {

        padding-left: 18px;
        padding-right: 18px;
    }
}


/* =========================================================
   49. FOCUS
   ========================================================= */

.civil-hero a:focus-visible,
.civil-format-card a:focus-visible,
.civil-cta a:focus-visible {

    outline: 3px solid rgba(37, 99, 235, .28);

    outline-offset: 3px;
}


/* =========================================================
   50. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .civil-item,
    .civil-format-card,
    .civil-hero .btn,
    .civil-format-card a,
    .civil-cta-box .btn {

        transition: none;
    }
}