/* =========================================================
   ООО «ГАРАНТИЯ»
   ОСНОВНЫЕ СТИЛИ
========================================================= */

:root {

    --primary: #006b75;
    --primary-dark: #004c54;
    --primary-light: #008995;

    --accent: #f39a19;
    --accent-dark: #d77e05;

    --bg: #ffffff;
    --bg-light: #f3f8f7;
    --bg-soft: #edf5f4;

    --text: #263b3b;
    --text-light: #536967;
    --text-disabled: #a4afae;

    --border: #d5e3e1;
    --border-dark: #bdd2cf;

    --success: #238b61;
    --error: #c74343;

    --shadow:
        0 12px 40px rgba(0, 70, 78, 0.08);

    --shadow-hover:
        0 16px 45px rgba(0, 70, 78, 0.13);

    --radius: 14px;

    --container: 1120px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--bg);

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.container {

    width: calc(100% - 40px);
    max-width: var(--container);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom:
        1px solid var(--border);

    padding: 15px 0;
}

.header-flex {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.logo {

    display: flex;

    flex-direction: column;

    text-decoration: none;

    min-width: 220px;
}

.logo-main {

    color: var(--primary);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.45rem;

    font-weight: 700;
}

.logo-sub {

    margin-top: 2px;

    color: var(--text-light);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.3px;
}

.nav {

    display: flex;

    align-items: center;

    gap: 25px;
}

.nav a {

    text-decoration: none;

    color: var(--text);

    font-size: 0.92rem;

    font-weight: 800;

    transition:
        color 0.2s ease;
}

.nav a:hover {
    color: var(--primary-light);
}


/* =========================================================
   HERO
========================================================= */

.hero {

    padding:
        175px 0
        110px;

    color: #ffffff;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #003e45 0%,
            #006a74 55%,
            #007c85 100%
        );
}

.hero-container {

    max-width: 850px;
}

.badge {

    display: inline-block;

    margin-bottom: 24px;

    padding:
        7px 16px;

    border:
        1px solid
        rgba(255, 255, 255, 0.25);

    border-radius: 50px;

    background:
        rgba(255, 255, 255, 0.10);

    font-size: 0.82rem;

    font-weight: 800;
}

.hero h1 {

    margin-bottom: 22px;

    font-size:
        clamp(2.2rem, 5vw, 3.8rem);

    line-height: 1.12;

    letter-spacing: -1px;

    font-weight: 900;
}

.hero p {

    max-width: 720px;

    margin:
        0 auto 35px;

    font-size:
        clamp(1rem, 2vw, 1.2rem);

    font-weight: 600;

    color:
        rgba(255, 255, 255, 0.90);
}

.hero-actions {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn,
.btn-secondary {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        13px 26px;

    border-radius: 9px;

    text-decoration: none;

    font-weight: 900;

    font-size: 0.95rem;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.btn {

    background:
        var(--accent);

    color: #ffffff;

    border: none;

    box-shadow:
        0 6px 18px
        rgba(243, 154, 25, 0.25);
}

.btn:hover {

    background:
        var(--accent-dark);

    transform:
        translateY(-2px);
}

.btn-secondary {

    background:
        rgba(255, 255, 255, 0.10);

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {

    background:
        rgba(255, 255, 255, 0.18);
}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding:
        85px 0;
}

.bg-light {

    background:
        var(--bg-light);
}

.section-header {

    max-width: 760px;

    margin:
        0 auto 45px;

    text-align: center;
}

.section-title {

    margin-bottom: 12px;

    color:
        var(--primary);

    font-size:
        clamp(1.8rem, 4vw, 2.5rem);

    line-height: 1.2;

    font-weight: 900;
}

.section-subtitle {

    color:
        var(--text-light);

    font-size: 1rem;

    font-weight: 700;
}


/* =========================================================
   CALCULATOR
========================================================= */

.calc-box {

    max-width: 900px;

    margin:
        0 auto;

    padding:
        40px;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    box-shadow:
        var(--shadow);
}


/* =========================================================
   CITY TABS
========================================================= */

.city-tabs {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    margin-bottom: 35px;

    padding: 6px;

    background:
        var(--bg-soft);

    border-radius: 13px;
}

.city-tab {

    min-height: 68px;

    padding:
        10px 16px;

    border: none;

    border-radius: 9px;

    background: transparent;

    color: var(--text-light);

    cursor: pointer;

    text-align: center;

    transition:
        all 0.2s ease;
}

.city-tab span {

    display: block;

    font-size: 1rem;

    font-weight: 900;
}

.city-tab small {

    display: block;

    margin-top: 2px;

    font-size: 0.75rem;

    font-weight: 800;
}

.city-tab:hover {

    color:
        var(--primary);
}

.city-tab.active {

    color: #ffffff;

    background:
        var(--primary);

    box-shadow:
        0 4px 12px
        rgba(0, 107, 117, 0.18);
}


/* =========================================================
   CITY CONTENT
========================================================= */

.city-content {

    display: none;
}

.city-content.active {

    display: block;
}

.city-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--border);
}

.city-heading-label {

    display: block;

    margin-bottom: 3px;

    color:
        var(--text-light);

    font-size: 0.72rem;

    font-weight: 900;

    letter-spacing: 0.8px;
}

.city-heading h3 {

    color:
        var(--primary);

    font-size: 1.55rem;

    font-weight: 900;
}

.city-heading-info {

    color:
        var(--text-light);

    font-size: 0.82rem;

    font-weight: 800;

    text-align: right;
}


/* =========================================================
   DISTRICT GRID
========================================================= */

.district-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   DISTRICT CARD
========================================================= */

.district-card {

    min-width: 0;

    padding: 20px;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.district-card:hover {

    border-color:
        var(--border-dark);
}

.district-card.selected {

    border-color:
        var(--primary);

    background:
        #fbfefe;

    box-shadow:
        0 4px 15px
        rgba(0, 107, 117, 0.07);
}

.district-card-wide {

    grid-column:
        1 / -1;
}

.district-card-single {

    max-width: 620px;

    width: 100%;
}


/* =========================================================
   DISTRICT CHECKBOX
========================================================= */

.district-check {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    cursor: pointer;

    user-select: none;
}

.district-check input {

    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.custom-check {

    flex: 0 0 29px;

    width: 29px;
    height: 29px;

    margin-top: 1px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        2px solid #c8dcd9;

    border-radius: 7px;

    background: #ffffff;

    transition:
        all 0.2s ease;
}

.custom-check::after {

    content: "";

    width: 7px;
    height: 13px;

    margin-top: -3px;

    border:
        solid #ffffff;

    border-width:
        0 2px 2px 0;

    transform:
        rotate(45deg)
        scale(0);

    transition:
        transform 0.15s ease;
}

.district-check input:checked + .custom-check {

    background:
        var(--primary);

    border-color:
        var(--primary);
}

.district-check input:checked + .custom-check::after {

    transform:
        rotate(45deg)
        scale(1);
}

.district-title-wrap {

    min-width: 0;

    display: flex;

    flex-direction: column;
}

.district-name {

    color:
        var(--text);

    font-size: 1rem;

    line-height: 1.25;

    font-weight: 900;
}

.district-lifts {

    margin-top: 4px;

    color:
        var(--text-light);

    font-size: 0.82rem;

    font-weight: 800;
}

.district-note {

    margin-top: 7px;

    color:
        var(--text-light);

    font-size: 0.72rem;

    line-height: 1.3;

    font-weight: 700;
}


/* =========================================================
   FORMAT
========================================================= */

.district-format {

    margin-top: 18px;

    transition:
        opacity 0.2s ease;
}

.format-label {

    display: block;

    margin-bottom: 7px;

    color:
        var(--text-light);

    font-size: 0.75rem;

    font-weight: 900;

    letter-spacing: 0.5px;
}

.district-format select {

    width: 100%;

    min-height: 54px;

    padding:
        10px 42px 10px 15px;

    border:
        1px solid var(--border-dark);

    border-radius:
        10px;

    outline: none;

    background-color:
        #ffffff;

    color:
        var(--text);

    font-size: 0.95rem;

    font-weight: 900;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    appearance: auto;
}

.district-format select:focus {

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(0, 107, 117, 0.10);
}

.district-format select:disabled {

    color:
        var(--text-disabled);

    background:
        #f3f7f6;

    border-color:
        #e0e9e7;

    cursor:
        not-allowed;

    opacity: 1;
}

.district-format.format-disabled {

    opacity: 0.68;
}


/* =========================================================
   BONUS
========================================================= */

.bonus-wrapper {

    margin-top: 25px;

    padding:
        16px 18px;

    border-radius:
        11px;

    background:
        var(--bg-soft);

    border:
        1px solid
        #dce9e7;
}

.position-checkbox-label {

    display: flex;

    align-items: center;

    gap: 12px;

    cursor: pointer;

    user-select: none;
}

.position-checkbox-label input {

    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.checkmark {

    flex: 0 0 23px;

    width: 23px;
    height: 23px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        2px solid #c4d8d5;

    border-radius: 6px;

    background:
        #ffffff;
}

.checkmark::after {

    content: "";

    width: 6px;
    height: 11px;

    border:
        solid #ffffff;

    border-width:
        0 2px 2px 0;

    transform:
        rotate(45deg)
        scale(0);
}

.position-checkbox-label input:checked ~ .checkmark {

    background:
        var(--primary);

    border-color:
        var(--primary);
}

.position-checkbox-label input:checked ~ .checkmark::after {

    transform:
        rotate(45deg)
        scale(1);
}

.checkbox-text {

    color:
        var(--primary);

    font-size: 0.9rem;

    line-height: 1.35;

    font-weight: 800;
}


/* =========================================================
   RESULT
========================================================= */

.calc-result {

    margin-top: 30px;

    padding-top: 25px;

    border-top:
        1px solid var(--border);
}

.result-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    color:
        var(--text-light);

    font-size: 0.92rem;

    font-weight: 800;
}

.result-row strong {

    color:
        var(--text);

    font-size: 1.1rem;

    font-weight: 900;
}

.result-total-box {

    margin-top: 17px;

    padding:
        22px;

    border-radius:
        12px;

    background:
        var(--primary);

    color:
        #ffffff;
}

.total-label {

    display: block;

    color:
        rgba(255,255,255,0.82);

    font-size: 0.83rem;

    font-weight: 800;
}

.calc-result h4 {

    margin-top: 2px;

    color: #ffffff;

    font-size:
        clamp(2rem, 5vw, 2.8rem);

    line-height: 1.1;

    font-weight: 900;
}

.result-period {

    display: block;

    margin-top: 5px;

    color:
        rgba(255,255,255,0.75);

    font-size: 0.8rem;

    font-weight: 800;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.client-form-fields {

    margin-top: 35px;

    padding-top: 30px;

    border-top:
        1px solid var(--border);
}

.form-section-heading {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-bottom: 25px;
}

.step-number {

    flex: 0 0 31px;

    width: 31px;
    height: 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--primary);

    color:
        #ffffff;

    font-size: 0.85rem;

    font-weight: 900;
}

.form-section-heading h3 {

    color:
        var(--primary);

    font-size: 1.2rem;

    font-weight: 900;
}

.form-section-heading p {

    margin-top: 3px;

    color:
        var(--text-light);

    font-size: 0.83rem;

    font-weight: 700;
}

.input-field-group {

    margin-bottom: 15px;
}

.input-field-group label {

    display: block;

    margin-bottom: 6px;

    color:
        var(--text);

    font-size: 0.85rem;

    font-weight: 900;
}

.form-input {

    width: 100%;

    min-height: 54px;

    padding:
        13px 16px;

    border:
        1px solid var(--border-dark);

    border-radius:
        9px;

    outline: none;

    background:
        #fbfdfd;

    color:
        var(--text);

    font-size: 1rem;

    font-weight: 650;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-input::placeholder {

    color:
        #9aa8a6;

    font-weight: 600;
}

.form-input:focus {

    background:
        #ffffff;

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(0,107,117,0.10);
}

.btn-submit-form {

    width: 100%;

    margin-top: 7px;

    border: none;

    font-size: 1rem;
}

.btn-submit-form:disabled {

    opacity: 0.65;

    cursor:
        wait;

    transform: none;
}


/* =========================================================
   FORM STATUS
========================================================= */

.status-msg {

    min-height: 0;

    margin-top: 14px;

    text-align: center;

    border-radius: 8px;

    font-size: 0.9rem;

    font-weight: 800;
}

.status-msg.success {

    padding: 12px;

    color:
        #176c4b;

    background:
        #e8f7ef;
}

.status-msg.error {

    padding: 12px;

    color:
        #a63232;

    background:
        #fcecec;
}


/* =========================================================
   MAP
========================================================= */

.map-wrapper {

    width: 100%;

    height: 450px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        15px;

    box-shadow:
        var(--shadow);

    background:
        var(--bg-light);
}

.map-wrapper iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;
}


/* =========================================================
   CARDS
========================================================= */

.grid-4 {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.card {

    padding:
        28px 22px;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        13px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow-hover);
}

.card-icon {

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 11px;

    background:
        var(--bg-soft);

    color:
        var(--primary);

    font-size: 1.2rem;

    font-weight: 900;
}

.card h3 {

    margin-bottom: 8px;

    color:
        var(--primary);

    font-size: 1.05rem;

    font-weight: 900;
}

.card p {

    color:
        var(--text-light);

    font-size: 0.88rem;

    font-weight: 700;
}


/* =========================================================
   REQUIREMENTS
========================================================= */

.requirements-box {

    padding:
        35px;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        15px;

    box-shadow:
        var(--shadow);
}

.requirements-box h2 {

    margin-bottom: 25px;

    color:
        var(--primary);

    font-size: 1.45rem;

    font-weight: 900;
}

.req-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;

    padding-bottom: 25px;

    border-bottom:
        1px solid var(--border);
}

.req-grid strong {

    display: block;

    margin-bottom: 5px;

    color:
        var(--text-light);

    font-size: 0.72rem;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    font-weight: 900;
}

.req-grid p {

    color:
        var(--text);

    font-size: 0.92rem;

    font-weight: 800;
}

.important-notice {

    margin-top: 25px;

    padding:
        18px;

    border-radius:
        10px;

    background:
        #fff7e9;

    border-left:
        4px solid var(--accent);

    color:
        #61481e;
}

.important-notice strong {

    display: block;

    margin-bottom: 7px;

    color:
        #9a5f00;

    font-size: 0.9rem;

    font-weight: 900;
}

.important-notice p {

    margin-top: 5px;

    font-size: 0.83rem;

    font-weight: 750;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding:
        65px 0 30px;

    background:
        #003d44;

    color:
        #dfeceb;
}

.footer-grid {

    display: grid;

    grid-template-columns:
        1.3fr
        1fr
        1fr;

    gap: 20px;

    padding-bottom: 35px;

    border-bottom:
        1px solid
        rgba(255,255,255,0.10);
}

.footer-info h2 {

    margin-bottom: 12px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.45rem;

    font-weight: 700;
}

.footer-info p {

    color:
        rgba(255,255,255,0.78);

    font-size: 0.9rem;

    font-weight: 700;
}

.footer-info .schedule {

    margin-top: 14px;

    color:
        #a5c0bd;

    font-size: 0.82rem;
}

.footer-manager {

    padding:
        22px;

    border:
        1px solid
        rgba(255,255,255,0.10);

    border-radius:
        12px;

    background:
        rgba(255,255,255,0.045);
}

.manager-badge {

    display: inline-block;

    margin-bottom: 10px;

    padding:
        4px 9px;

    border-radius:
        4px;

    background:
        rgba(243,154,25,0.18);

    color:
        #ffb647;

    font-size: 0.68rem;

    text-transform: uppercase;

    font-weight: 900;
}

.footer-manager h3 {

    color: #ffffff;

    font-size: 1.1rem;

    font-weight: 900;
}

.footer-manager .post {

    margin-top: 3px;

    margin-bottom: 15px;

    color:
        #a5c0bd;

    font-size: 0.8rem;

    font-weight: 700;
}

.phone-link,
.email-link {

    display: block;

    text-decoration: none;

    transition:
        opacity 0.2s ease;
}

.phone-link {

    margin-bottom: 5px;

    color:
        #ffffff;

    font-size: 1.08rem;

    font-weight: 900;
}

.email-link {

    color:
        #ffb647;

    font-size: 0.88rem;

    font-weight: 800;
}

.phone-link:hover,
.email-link:hover {

    opacity: 0.75;
}

.copyright {

    padding-top: 25px;

    color:
        rgba(255,255,255,0.45);

    text-align: center;

    font-size: 0.75rem;

    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 0.82rem;
    }

    .grid-4 {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .req-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-grid {

        grid-template-columns:
            1fr 1fr;
    }

    .footer-info {

        grid-column:
            1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

    .container {

        width:
            calc(100% - 24px);
    }

    .header {

        padding:
            11px 0;
    }

    .header-flex {

        justify-content: center;
    }

    .logo {

        align-items: center;

        min-width: 0;

        text-align: center;
    }

    .logo-main {

        font-size: 1.15rem;
    }

    .logo-sub {

        font-size: 0.62rem;
    }

    .nav {

        display: none;
    }

    .hero {

        padding:
            140px 0
            75px;
    }

    .hero h1 {

        font-size:
            2.15rem;
    }

    .hero p {

        font-size:
            0.96rem;
    }

    .hero-actions {

        flex-direction:
            column;
    }

    .hero-actions .btn,
    .hero-actions .btn-secondary {

        width: 100%;
    }

    .section {

        padding:
            55px 0;
    }

    .section-header {

        margin-bottom:
            30px;
    }

    .calc-box {

        padding:
            18px 14px;

        border-radius:
            14px;
    }

    .city-tabs {

        grid-template-columns:
            1fr;

        gap: 6px;
    }

    .city-tab {

        min-height:
            60px;
    }

    .city-heading {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 8px;
    }

    .city-heading-info {

        text-align:
            left;
    }

    .district-grid {

        grid-template-columns:
            1fr;

        gap: 12px;
    }

    .district-card-wide {

        grid-column:
            auto;
    }

    .district-card {

        padding:
            17px;
    }

    .district-format select {

        min-height:
            56px;

        font-size:
            0.96rem;
    }

    .result-total-box {

        padding:
            18px;
    }

    .form-section-heading {

        align-items:
            flex-start;
    }

    .map-wrapper {

        height:
            350px;
    }

    .grid-4 {

        grid-template-columns:
            1fr;
    }

    .req-grid {

        grid-template-columns:
            1fr;
    }

    .requirements-box {

        padding:
            22px 18px;
    }

    .footer-grid {

        grid-template-columns:
            1fr;
    }

    .footer-info {

        grid-column:
            auto;
    }

    .footer-manager {

        padding:
            20px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .hero h1 {

        font-size:
            1.9rem;
    }

    .calc-box {

        padding:
            14px 10px;
    }

    .district-card {

        padding:
            15px;
    }

    .district-name {

        font-size:
            0.94rem;
    }

    .checkbox-text {

        font-size:
            0.82rem;
    }
}