@import url("normal.css");
@import url("font.css");
:root {
    --content-width: 120rem;
    --page-width:90rem;
    --page-bg: #2b3032;
    --panel-bg: #3b4246;
    --panel-soft: rgba(60, 67, 71, 0.72);
    --accent: #ef682e;
    --accent-light: #ff8a52;
    --text-soft: rgba(255, 255, 255, 0.78);
}
html{
    scroll-behavior: smooth;
}
body {
    font-family: 'DIN Pro', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    background:
        radial-gradient(circle at 18% 0%, rgba(239, 104, 46, 0.13), transparent 30rem),
        linear-gradient(180deg, #303638 0%, var(--page-bg) 42%, #25292b 100%);
    min-height: 100vh;
    scroll-behavior: smooth;
    color: #ffffff;
    text-rendering: geometricPrecision;
}
h1{
    font-size: clamp(2.30rem, 2.1709rem + 0.67vw, 3.00rem);
    font-weight: 600;
    line-height: 1.2;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: white;
}
h2 {
    font-size: clamp(1.00rem, 0.8120rem + 0.96vw, 2.00rem);
    font-weight: 600;
    line-height: 1.2rem;
    color: white;
}
.outer-container {
   max-width: var(--content-width);
   margin:0 auto;
    min-height: 100vh;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 96px 1fr 450px;
    grid-template-areas: "header"
                          "main"
                          "footer";

}

.header{
    max-width: var(--page-width);
    margin: 0 auto;
    grid-area: header;
    display: grid;
    grid-template-rows: 96px;
    grid-template-columns: 190px 1fr 430px;
    grid-template-areas:"logo nav contacts";
    align-items: center;
    justify-items: center;
    text-transform: uppercase;
    color: #ffffff;
    width: 100%;
    position: sticky;
    top: 0px;
    background: rgba(46, 50, 52, 0.92);
    backdrop-filter: blur(14px);
    z-index: 10;
}
.header--modern {
    gap: 1rem;
    padding: 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}
.header__nav{
    grid-area: nav;
    align-self: center;
    justify-self: center;
}
.header__logo {
    grid-area: logo;
    justify-self: start;
}
.header__logo img {
    max-width: 170px;
    width: 100%;
    height: auto;
    display: block;
}
.header__contacts {
    grid-area: contacts;
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas:
        "mail cta"
        "phone cta";
    align-items: center;
    justify-items: end;
    column-gap: 1rem;
    row-gap: 0.2rem;
    text-transform: none;
    font-size: 0.9rem;
    line-height: 1.2;
    min-width: 0;
    width: 100%;
}
.header__contacts a {
    color: #ffffff;
    text-decoration: none;
}
.header__mail {
    grid-area: mail;
    opacity: 0.82;
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header__phone {
    grid-area: phone;
    font-weight: 700;
    white-space: nowrap;
}
.header__cta {
    grid-area: cta;
    margin-top: 0;
    padding: 0.56rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    box-shadow: 0 8px 22px rgba(239, 104, 46, 0.28);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.header__cta:hover {
    background-color: #ffffff;
    color: var(--accent);
}


.logo {
    grid-area: logo;
    padding: 1rem 1rem;
    align-self: center;
    justify-self: center;
}
.logo img{
    max-width: 100%;
    display: block;
    height: 100px;
    width: auto;
}

footer{
    grid-area: footer;
    border-top: 2px solid rgba(255, 133, 98, 0.88);
    background: linear-gradient(180deg, #151718, #070808);
    padding:6rem 0;
}
.footer{
    max-width: var(--page-width);
    margin: 0 auto;
    display: grid;
    grid-template-rows: max-content;
    grid-template-columns: 20% 1fr 20%;
    grid-template-areas:"footer-nav footer-info  footer-adr";
    align-items: center;
    justify-items: center;
    gap:4rem;
    color: #ffffff;
}
.footer__nav{
    grid-area: footer-nav;
    display: flex;
    flex-direction: column;
    }
.footer__nav__head span{
    font-size: 1.1rem;
}
.footer__info{
    grid-area: footer-info;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:2rem;
    align-items: center;

}
.footer__info img{
    width: 350px;
}
.footer__info p{
    text-align: center;
    font-size: 0.9rem;
}
.footer__info{
    text-align: center;
    font-size: 0.9rem;
color:#ffffff;
}
.footer__info a{
    font-size: 1.3rem;
    color:#ffffff;
}
.footer__adr{
     grid-area: footer-adr;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:2rem;
    align-items: center;
 }
.footer__adr__head{
    font-size: 1.1rem;
}
.footer__adr p{
    text-align: center;
}
 #main{
     max-width: var(--page-width);
     margin: 0 auto;
     width: 100%;
 }
img {
    max-width: 100%;
    height: auto;
}
.request-section {
    width: min(92%, 1120px);
    margin: 3.5rem auto;
}
.request-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.58fr) minmax(0, 560px);
    gap: clamp(1.4rem, 3vw, 2.4rem);
    align-items: start;
    justify-content: center;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        var(--panel-soft);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
    color: #ffffff;
}
.request-kicker {
    color: var(--accent-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.request-copy h1 {
    font-size: clamp(1.55rem, 1.25rem + 0.8vw, 2.1rem);
    padding-top: 0.45rem;
    padding-bottom: 0.8rem;
}
.request-copy p {
    max-width: 30rem;
    font-size: 0.96rem;
}
.request-copy p,
.request-note {
    color: var(--text-soft);
}
.request-form {
    display: grid;
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
    gap: 0.82rem;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}
.request-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    font-weight: 500;
    text-transform: none;
}
.request-form__hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.request-form input,
.request-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: #2e3234;
    padding: 0.66rem 0.85rem;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.request-form input:focus,
.request-form textarea:focus {
    border-color: rgba(239, 104, 46, 0.78);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(239, 104, 46, 0.14);
}
.request-form input[type="file"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.58rem 0.75rem;
}
.request-form textarea {
    resize: vertical;
    min-height: 105px;
}
.request-form__wide,
.request-form > button[type="submit"],
.request-note {
    grid-column: auto;
}
.request-form > button[type="submit"] {
    border: 0;
    border-radius: 12px;
    padding: 0.78rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(239, 104, 46, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.request-form > button[type="submit"]:hover {
    background-color: #ffffff;
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(239, 104, 46, 0.24);
}
.request-note {
    margin: 0;
    font-size: 0.84rem;
    text-align: center;
}
.request-agreement {
    display: grid !important;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 0.55rem !important;
    color: var(--text-soft) !important;
    font-size: 0.82rem !important;
    line-height: 1.35;
}
.request-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0.1rem 0 0;
    padding: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.request-agreement a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.request-status {
    margin: 0;
    color: #ffffff;
    font-size: 0.88rem;
    text-align: center;
}
.policy-page {
    width: min(92%, 980px);
    margin: 2.5rem auto 4rem;
}
.policy-hero {
    padding: clamp(1.4rem, 3vw, 2.4rem) 0 1rem;
}
.policy-hero h1 {
    padding: 0.4rem 0 0.8rem;
}
.policy-hero p {
    max-width: 52rem;
    color: var(--text-soft);
}
.policy-content {
    display: grid;
    gap: 1rem;
}
.policy-section,
.policy-requisites {
    padding: clamp(1.1rem, 2vw, 1.6rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(60, 67, 71, 0.72);
}
.policy-section h2,
.policy-requisites h2 {
    margin: 0 0 0.9rem;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
    line-height: 1.25;
}
.policy-section p,
.policy-section li,
.policy-requisites p,
.policy-requisites li {
    color: var(--text-soft);
}
.policy-section a,
.policy-requisites a {
    color: #ffffff;
}
.policy-list {
    margin: 0;
    padding-left: 1.2rem;
}
.policy-list li + li {
    margin-top: 0.45rem;
}
.policy-requisites dl {
    display: grid;
    grid-template-columns: minmax(150px, 0.4fr) 1fr;
    gap: 0.45rem 1rem;
    margin: 0;
}
.policy-requisites dt {
    color: #ffffff;
    font-weight: 700;
}
.policy-requisites dd {
    margin: 0;
    color: var(--text-soft);
}
.request-status--error {
    color: #ffb39a;
}
 .b-404{
     margin: 4rem auto;
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
 }
.b-404 img{
    width: 50%;
}
.b-404 a{
    color:#ffffff;
}
@media (max-width: 1024px) {
    .header {
        grid-template-columns: 150px 1fr;
        grid-template-areas:"logo contacts" "nav nav";
        grid-template-rows: minmax(86px, auto) auto;
        height: auto;
        padding: 0.9rem 1rem 1rem;
        overflow: visible;
    }
    .header__contacts {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        grid-template-areas:
            "phone cta";
        align-items: center;
        justify-self: end;
        column-gap: 0.85rem;
        font-size: 0.82rem;
        line-height: 1;
        max-width: 100%;
        align-self: center;
    }
    .header__mail {
        display: none;
    }
    .header__phone {
        white-space: nowrap;
        justify-self: end;
    }
    .header__cta {
        margin-top: 0;
        padding: 0.48rem 0.9rem;
        font-size: 0.78rem;
    }
    .header__nav {
        width: 100%;
    }
    .footer{
        grid-template-columns: 1fr;
        grid-template-rows: 20% 50% 30%;
        grid-template-areas:"footer-info" "footer-nav" "footer-adr";
        gap:1rem;
    }
    .footer__info img{
        width: 90%;
    }
    .outer-container{
        grid-template-rows: auto 1fr;
    }

}

@media (max-width: 768px) {
    :root {
        --page-width: 100%;
    }

    h1 {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    #main {
        width: 100%;
    }
    .header {
        grid-template-columns: 1fr;
        grid-template-areas:"nav" "contacts";
        grid-template-rows: auto auto;
        min-height: 142px;
        padding: 1rem 0.9rem 1.05rem;
        align-content: center;
    }
    .header__logo {
        display: none;
    }
    .header__contacts {
        grid-template-columns: max-content max-content;
        grid-template-areas:"phone cta";
        justify-content: center;
        column-gap: 0.85rem;
        width: 100%;
        margin-top: 0.75rem;
    }
    .header__mail {
        display: none;
    }
    .header__cta {
        padding: 0.58rem 1.15rem;
    }
    .request-card {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
    }
    .request-form {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    footer {
        padding: 3rem 1rem;
    }

    .footer {
        gap: 2rem;
    }

    .footer__info a {
        font-size: 1rem;
    }

    .footer__adr,
    .footer__info,
    .footer__nav {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .header {
        grid-template-columns: 1fr;
        grid-template-rows: 0;
        height: 0;
        min-height: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .outer-container {
        grid-template-rows: 0 1fr;
    }

    .header__nav {
        position: fixed;
        top: 0.75rem;
        right: 0.75rem;
        z-index: 30;
        justify-self: auto;
        align-self: auto;
    }

    .header__logo {
        display: none;
    }
    .header__contacts {
        display: none;
    }

    .header {
        pointer-events: none;
    }

    .header__nav {
        pointer-events: auto;
    }

    footer {
        padding: 2.5rem 0.75rem;
    }
    .request-section {
        width: 92%;
        margin: 4rem auto;
    }
    .request-card {
        border-radius: 22px;
        padding: 1.2rem;
    }
    .footer__info img {
        width: 240px;
    }

    .footer__info p,
    .footer__adr p,
    .footer__nav a,
    .footer__info a {
        font-size: 0.95rem;
    }

    .policy-requisites dl {
        grid-template-columns: 1fr;
    }

    .policy-requisites dd {
        word-break: break-word;
    }
}
