
/* ==============================
   1. ОСНОВНЫЕ НАСТРОЙКИ
============================== */

:root {
    --dark: #17251f;
    --dark-light: #21352b;
    --green: #456c50;
    --green-light: #eaf0e9;
    --accent: #c9a66b;
    --background: #f7f7f3;
    --white: #ffffff;
    --text: #25312a;
    --muted: #758078;
    --border: #e4e8e1;
    --container: 1160px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

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

button {
    font: inherit;
}

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


/* ==============================
   2. ШАПКА
============================== */

.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.header-inner {
    min-height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--dark);
    color: var(--accent);
    border-radius: 10px;
    font-size: 26px;
    font-weight: 800;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-text strong {
    font-size: 15px;
    letter-spacing: 1.2px;
    color: var(--dark);
}

.logo-text small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    color: #4c5850;
    font-size: 14px;
    transition: color 0.2s;
}

.navigation a:hover {
    color: var(--green);
}

.navigation .logout-link {
    color: #a14d40;
}

[hidden] {
    display: none !important;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}


/* ==============================
   3. ГЛАВНЫЙ ЭКРАН
============================== */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 85% 15%,
            rgba(201, 166, 107, 0.17),
            transparent 35%
        ),
        linear-gradient(120deg, #17251f 0%, #263e30 65%, #304a38 100%);
    color: var(--white);
    min-height: 510px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            90deg,
            transparent 49%,
            rgba(255, 255, 255, 0.025) 50%,
            transparent 51%
        );
    background-size: 80px 80px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    padding-bottom: 76px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d6dfd6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 24px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.12;
    letter-spacing: -1.7px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-content > p {
    max-width: 510px;
    color: #c8d2ca;
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-height: 58px;
    padding: 0 24px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s, background 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: #1c2921;
}

.button-primary:hover {
    background: #d7b982;
}

.button-arrow {
    font-size: 20px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: #aebdb1;
    font-size: 12px;
}

.hero-note span {
    color: var(--accent);
    font-size: 9px;
}

.hero-number {
    position: absolute;
    right: max(calc((100vw - var(--container)) / 2), 24px);
    bottom: -95px;
    color: rgba(255, 255, 255, 0.035);
    font-size: clamp(200px, 28vw, 390px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -20px;
    pointer-events: none;
}


/* ==============================
   4. БЫСТРЫЙ ДОСТУП
============================== */

.quick-section {
    padding: 80px 0 88px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 35px;
}

.eyebrow {
    display: block;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
}

.section-heading h2,
.about-preview h2 {
    color: var(--dark);
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.section-heading > p {
    max-width: 320px;
    color: var(--muted);
    font-size: 14px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.quick-card {
    position: relative;
    display: block;
    min-height: 230px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: transform 0.2s, border-color 0.2s,
                box-shadow 0.2s;
}

.quick-card:hover {
    transform: translateY(-4px);
    border-color: #c2d0c2;
    box-shadow: 0 12px 32px rgba(23, 37, 31, 0.06);
}

.quick-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 8px;
    font-size: 23px;
    margin-bottom: 23px;
}

.quick-card h3 {
    font-size: 17px;
    color: var(--dark);
    margin-bottom: 8px;
}

.quick-card p {
    max-width: 280px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.card-arrow {
    position: absolute;
    top: 28px;
    right: 28px;
    color: #9ba69c;
    font-size: 20px;
    transition: color 0.2s;
}

.quick-card:hover .card-arrow {
    color: var(--green);
}


/* ==============================
   5. О КООПЕРАТИВЕ
============================== */

.about-preview {
    background: #edf0e9;
    padding: 72px 0;
}

.about-preview-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-text p {
    color: #58665b;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
}

.text-link span {
    font-size: 19px;
}


/* ==============================
   6. ПОДВАЛ
============================== */

.footer {
    background: var(--dark);
    color: #c0ccc2;
    padding: 54px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 44px;
}

.footer-logo .logo-icon {
    background: #304538;
}

.footer-logo .logo-text strong {
    color: var(--white);
}

.footer-logo .logo-text small {
    color: #9eafa2;
}

.footer-brand > p {
    max-width: 250px;
    margin-top: 18px;
    color: #9eafa2;
    font-size: 13px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-column a,
.footer-column p {
    color: #aebbb1;
    font-size: 13px;
    line-height: 1.7;
}

.footer-column a:hover {
    color: var(--accent);
}

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


/* ==============================
   7. МОБИЛЬНЫЕ УСТРОЙСТВА
============================== */

@media (max-width: 900px) {
    .navigation {
        gap: 17px;
    }

    .navigation a {
        font-size: 13px;
    }

    .quick-card {
        padding: 22px;
    }

    .footer-main {
        gap: 30px;
    }
}

@media (max-width: 700px) {
    .container {
        width: calc(100% - 36px);
    }

    .header-inner {
        min-height: 76px;
    }

    .logo-icon {
        width: 41px;
        height: 41px;
        font-size: 23px;
    }

    .logo-text strong {
        font-size: 13px;
    }

    .menu-toggle {
        display: flex;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 18px 18px;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 13px 4px;
        font-size: 14px;
        border-bottom: 1px solid var(--border);
    }

    .navigation a:last-child {
        border-bottom: none;
    }

    .hero {
        min-height: 470px;
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero h1 {
        font-size: clamp(36px, 9vw, 48px);
        letter-spacing: -1px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-number {
        right: 0;
        bottom: -30px;
        font-size: 190px;
    }

    .quick-section {
        padding: 58px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 15px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .quick-card {
        min-height: 190px;
        padding: 23px;
    }

    .quick-icon {
        margin-bottom: 16px;
    }

    .about-preview {
        padding: 55px 0;
    }

    .about-preview-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}

/* ==============================
   ВНУТРЕННИЕ СТРАНИЦЫ
============================== */

.page-header {
    background: #edf0e9;
    padding: 75px 0;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    color: var(--dark);
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.page-header p {
    max-width: 580px;
    color: var(--muted);
    font-size: 15px;
}


/* ==============================
   НОВОСТИ
============================== */

.news-section {
    padding: 65px 0 90px;
}

.news-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 35px;
    padding: 35px 0;
    border-bottom: 1px solid var(--border);
}

.news-card:first-child {
    padding-top: 0;
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 76px;
    height: 76px;
    padding-top: 9px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 9px;
}

.news-date span {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.1;
}

.news-date small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.news-category {
    display: inline-block;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.news-content h2 {
    max-width: 720px;
    color: var(--dark);
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.news-content p {
    max-width: 720px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* ==============================
   АДАПТИВНОСТЬ НОВОСТЕЙ
============================== */

@media (max-width: 700px) {

    .page-header {
        padding: 55px 0;
    }

    .news-section {
        padding: 50px 0 70px;
    }

    .news-card {
        grid-template-columns: 70px 1fr;
        gap: 20px;
    }

    .news-date {
        width: 62px;
        height: 62px;
    }

    .news-date span {
        font-size: 22px;
    }

    .news-content h2 {
        font-size: 20px;
    }

}

/* ==============================
   ЛИЧНЫЙ КАБИНЕТ
============================== */

.garage-section {
    padding: 55px 0 90px;
}

.garage-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 20px;
}


/* Карточка профиля */

.garage-profile {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
}

.garage-profile-top {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.garage-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    background: var(--dark);
    color: var(--accent);
    border-radius: 10px;
    font-size: 28px;
    font-weight: 800;
}

.garage-label {
    display: block;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.garage-profile h2 {
    color: var(--dark);
    font-size: 26px;
    line-height: 1.2;
}

.garage-owner {
    padding: 20px 0;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
    font-size: 13px;
}

.profile-row span {
    color: var(--muted);
}

.profile-row strong {
    color: var(--dark);
    text-align: right;
}

.outline-button {
    min-height: 43px;
    padding: 0 17px;
    background: transparent;
    border: 1px solid #cbd4cb;
    border-radius: 6px;
    color: var(--green);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s, border-color 0.2s;
}

.outline-button:hover {
    background: var(--green-light);
    border-color: #aebcaf;
}

.small-button {
    min-height: 38px;
    white-space: nowrap;
}

.garage-number-note {
    display: inline-block;
    margin-left: 12px;
    color: #9aa39d;
    font-size: 11px;
}


/* Баланс */

.balance-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    padding: 30px;
    background: var(--dark);
    color: var(--white);
    border-radius: 10px;
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9eafa2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.balance-status {
    color: #79a77f;
    font-size: 15px;
}

.balance-value {
    margin: 30px 0 5px;
    font-size: clamp(42px, 5vw, 58px);
    font-weight: 700;
    letter-spacing: -2px;
}

.balance-card > p {
    color: #9eafa2;
    font-size: 12px;
}

.balance-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9eafa2;
    font-size: 11px;
}

.balance-footer strong {
    color: var(--white);
}


/* Универсальная карточка */

.dashboard-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
}

.dashboard-card-header .eyebrow {
    margin-bottom: 7px;
}

.dashboard-card-header h2 {
    color: var(--dark);
    font-size: 24px;
    line-height: 1.3;
}

.updated-label {
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}


/* Счётчик */

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

.meter-value {
    padding: 22px;
    background: var(--background);
    border-radius: 8px;
}

.meter-value > span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.meter-value strong {
    display: inline-block;
    color: var(--dark);
    font-size: 30px;
    line-height: 1;
}

.meter-value small {
    margin-left: 5px;
    color: var(--muted);
    font-size: 11px;
}

.meter-value.consumption {
    background: var(--green-light);
}

.meter-history {
    margin-top: 35px;
}

.meter-history h3 {
    color: var(--dark);
    font-size: 15px;
    margin-bottom: 15px;
}

.history-table {
    border-top: 1px solid var(--border);
}

.history-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.history-row strong {
    color: var(--dark);
}

.history-head {
    min-height: 38px;
    color: #929b95;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Платежи */

.payments-list {
    border-top: 1px solid var(--border);
}

.payment-row {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 82px;
    border-bottom: 1px solid var(--border);
}

.payment-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--green-light);
    border-radius: 7px;
}

.payment-date strong {
    color: var(--dark);
    font-size: 18px;
    line-height: 1;
}

.payment-date span {
    color: var(--green);
    font-size: 8px;
    font-weight: 700;
    margin-top: 4px;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.payment-info strong {
    color: var(--dark);
    font-size: 13px;
}

.payment-info span {
    color: var(--muted);
    font-size: 11px;
}

.payment-amount {
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
}


/* График */

.chart-total {
    color: var(--green);
    font-size: 20px;
    font-weight: 700;
}

.chart {
    position: relative;
    height: 280px;
    padding: 15px 10px 0;
}

.chart-grid-lines {
    position: absolute;
    inset: 15px 10px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-grid-lines span {
    width: 100%;
    height: 1px;
    background: var(--border);
}

.chart-bars {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    height: 100%;
    gap: 10px;
}

.chart-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.chart-column .bar {
    width: min(34px, 70%);
    min-height: 15px;
    background: #8da390;
    border-radius: 5px 5px 2px 2px;
    transition: height 0.3s, background 0.2s;
}

.chart-column:hover .bar {
    background: var(--green);
}

.chart-column span {
    color: var(--muted);
    font-size: 9px;
}

.chart-column.current span {
    color: var(--green);
    font-weight: 700;
}


/* Заявки */

.request-list {
    border-top: 1px solid var(--border);
}

.request-row {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 78px;
    border-bottom: 1px solid var(--border);
}

.request-number {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.request-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.request-info strong {
    color: var(--dark);
    font-size: 13px;
}

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

.request-status {
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}

.status-work {
    background: #fff3db;
    color: #a97929;
}

.status-done {
    background: var(--green-light);
    color: var(--green);
}


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

@media (max-width: 800px) {

    .garage-top {
        grid-template-columns: 1fr;
    }

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

    .dashboard-card {
        padding: 22px;
    }

    .dashboard-card-header {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 22px;
    }

    .updated-label {
        white-space: normal;
    }

    .chart {
        height: 230px;
    }

    .chart-bars {
        gap: 4px;
    }

    .chart-column .bar {
        width: 60%;
    }

}


@media (max-width: 550px) {

    .garage-section {
        padding-top: 35px;
    }

    .garage-profile,
    .balance-card {
        padding: 22px;
    }

    .profile-row {
        flex-direction: column;
        gap: 2px;
    }

    .profile-row strong {
        text-align: left;
    }

    .garage-number-note {
        display: block;
        margin: 10px 0 0;
    }

    .history-row {
        grid-template-columns: 1fr 1fr;
    }

    .history-row span:last-child {
        display: none;
    }

    .payment-row {
        grid-template-columns: 55px 1fr;
        gap: 12px;
    }

    .payment-amount {
        grid-column: 2;
        margin-top: -25px;
        margin-bottom: 12px;
    }

    .request-row {
        grid-template-columns: 50px 1fr;
        gap: 12px;
    }

    .request-status {
        grid-column: 2;
        justify-self: start;
        margin-bottom: 12px;
    }

}

/* ==============================
   ЗАЯВКИ
============================== */

.requests-section {
    padding: 55px 0 90px;
}


/* ==============================
   НОВАЯ ЗАЯВКА
============================== */

.new-request-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
    margin-bottom: 20px;
}

.new-request-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
}

.new-request-header h2 {
    color: var(--dark);
    font-size: 24px;
    line-height: 1.3;
}

.request-create-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 8px;
    font-size: 25px;
}


/* ==============================
   ФОРМА
============================== */

.request-form {
    border-top: 1px solid var(--border);
    padding-top: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d5dcd5;
    border-radius: 6px;
    background: #fafbf9;
    color: var(--dark);
    font: inherit;
    font-size: 13px;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.form-group select {
    height: 48px;
    padding: 0 13px;
    cursor: pointer;
}

.form-group textarea {
    display: block;
    padding: 13px;
    min-height: 145px;
    resize: vertical;
    line-height: 1.7;
}

.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(69, 108, 80, 0.08);
}

.form-group textarea::placeholder {
    color: #a4ada6;
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 7px;
    color: #9aa39d;
    font-size: 10px;
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 8px;
}

.form-security {
    max-width: 360px;
    color: #929b95;
    font-size: 11px;
    line-height: 1.6;
}


/* ==============================
   УСПЕШНАЯ ОТПРАВКА
============================== */

.request-success {
    text-align: center;
    padding: 45px 20px 25px;
    border-top: 1px solid var(--border);
}

.success-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 50%;
    font-size: 26px;
    font-weight: 700;
}

.request-success h3 {
    color: var(--dark);
    font-size: 22px;
    margin-bottom: 8px;
}

.request-success p {
    color: var(--muted);
    font-size: 13px;
}

.request-success > strong {
    display: block;
    color: var(--green);
    font-size: 25px;
    margin-top: 5px;
}


/* ==============================
   ИСТОРИЯ ЗАЯВОК
============================== */

.requests-count {
    color: var(--muted);
    font-size: 11px;
}

.full-request-list {
    border-top: 1px solid var(--border);
}

.full-request-item {
    padding: 27px 0;
    border-bottom: 1px solid var(--border);
}

.full-request-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.full-request-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
}

.full-request-number {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.full-request-date {
    margin-left: 10px;
    color: #9aa39d;
    font-size: 10px;
}

.full-request-item h3 {
    color: var(--dark);
    font-size: 16px;
    margin-bottom: 7px;
}

.full-request-item > p {
    max-width: 750px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}


/* Ответ администрации */

.admin-answer {
    max-width: 750px;
    margin-top: 20px;
    padding: 15px 18px;
    background: #f5f7f3;
    border-left: 3px solid #c5a76c;
    border-radius: 0 6px 6px 0;
}

.admin-answer > span {
    display: block;
    color: #8a7450;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
}

.admin-answer p {
    color: #647066;
    font-size: 12px;
    line-height: 1.6;
}

.completed-answer {
    border-left-color: var(--green);
}

.completed-answer > span {
    color: var(--green);
}


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

@media (max-width: 700px) {

    .requests-section {
        padding: 35px 0 70px;
    }

    .new-request-card {
        padding: 22px;
    }

    .new-request-header {
        margin-bottom: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-submit-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-submit-row .button {
        width: 100%;
    }

    .full-request-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .full-request-top .request-status {
        order: -1;
    }

    .textarea-footer {
        flex-direction: column;
        gap: 4px;
    }

}
/* =========================
   Загрузка фотографий
   ========================= */

   .photo-upload {
    margin-top: 10px;
}

.photo-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 25px;
    border: 2px dashed var(--gold);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    text-align: center;
    transition: 0.2s ease;
}

.photo-upload-area:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.photo-upload-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.photo-upload-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 5px;
}

.photo-upload-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* Превью фотографий */

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.photo-preview {
    position: relative;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-photo {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}

.remove-photo:hover {
    background: #b33;
}

/* На телефоне */

@media (max-width: 600px) {
    .photo-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-preview {
        height: 140px;
    }
}

   /* ==============================
      СТРАНИЦА «О НАС»
   ============================== */
   
   .section {
       padding: 70px 0;
   }
   
   .section-muted {
       background: #edf0e9;
   }
   
   .page-kicker,
   .section-kicker {
       display: block;
       color: var(--green);
       font-size: 11px;
       font-weight: 700;
       letter-spacing: 1.8px;
       text-transform: uppercase;
       margin-bottom: 10px;
   }
   
   
   /* Кто мы */
   
   .about-grid {
       display: grid;
       grid-template-columns: 1.4fr 0.8fr;
       gap: 70px;
       align-items: center;
   }
   
   .about-content h2 {
       color: var(--dark);
       margin: 8px 0 22px;
       font-size: clamp(28px, 4vw, 40px);
       line-height: 1.2;
       letter-spacing: -0.8px;
   }
   
   .about-content p {
       max-width: 680px;
       margin-bottom: 17px;
       color: var(--muted);
       font-size: 14px;
       line-height: 1.8;
   }
   
   
   /* Выделенный блок */
   
   .about-highlight {
       padding: 45px 35px;
       background: var(--green-light);
       border: 1px solid var(--border);
       border-radius: 10px;
       text-align: center;
   }
   
   .about-highlight-icon {
       display: grid;
       place-items: center;
       width: 70px;
       height: 70px;
       margin: 0 auto 22px;
       background: var(--dark);
       color: var(--accent);
       border-radius: 10px;
       font-size: 32px;
       font-weight: 800;
   }
   
   .about-highlight h3 {
       color: var(--dark);
       font-size: 24px;
       margin-bottom: 10px;
   }
   
   .about-highlight p {
       margin: 0;
       color: var(--muted);
       font-size: 13px;
       line-height: 1.7;
   }
   
   
   /* Заголовок секции */
   
   .section-heading {
       display: block;
       margin-bottom: 35px;
   }
   
   .section-heading h2 {
       color: var(--dark);
       font-size: clamp(27px, 3vw, 36px);
       line-height: 1.2;
       letter-spacing: -0.7px;
       margin: 8px 0 12px;
   }
   
   .section-heading p {
       max-width: 650px;
       color: var(--muted);
       font-size: 14px;
       line-height: 1.7;
   }
   
   
   /* Карточки направлений */
   
   .features-grid {
       display: grid;
       grid-template-columns: repeat(4, minmax(0, 1fr));
       gap: 20px;
   }
   
   .feature-card {
       min-height: 220px;
       padding: 28px;
       background: var(--white);
       border: 1px solid var(--border);
       border-radius: 10px;
       transition: transform 0.2s, border-color 0.2s,
                   box-shadow 0.2s;
   }
   
   .feature-card:hover {
       transform: translateY(-4px);
       border-color: #c2d0c2;
       box-shadow: 0 12px 32px rgba(23, 37, 31, 0.06);
   }
   
   .feature-icon {
       display: grid;
       place-items: center;
       width: 44px;
       height: 44px;
       margin-bottom: 20px;
       background: var(--green-light);
       color: var(--green);
       border-radius: 8px;
       font-size: 22px;
   }
   
   .feature-card h3 {
       color: var(--dark);
       font-size: 17px;
       margin-bottom: 9px;
   }
   
   .feature-card p {
       margin: 0;
       color: var(--muted);
       font-size: 13px;
       line-height: 1.7;
   }
   
   
   /* Контакты */
   
   .contact-grid {
       display: grid;
       grid-template-columns: repeat(3, minmax(0, 1fr));
       gap: 20px;
   }
   
   .contact-card {
       padding: 28px;
       background: var(--white);
       border: 1px solid var(--border);
       border-radius: 10px;
   }
   
   .contact-label {
       display: block;
       color: var(--green);
       font-size: 10px;
       font-weight: 700;
       letter-spacing: 1.5px;
       text-transform: uppercase;
       margin-bottom: 10px;
   }
   
   .contact-card strong {
       display: block;
       color: var(--dark);
       font-size: 17px;
       margin-bottom: 10px;
   }
   
   .contact-card p {
       margin: 0;
       color: var(--muted);
       font-size: 13px;
       line-height: 1.6;
   }
   
   
   /* Призыв к действию */
   
   .about-cta {
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 35px;
       padding: 40px;
       background: var(--dark);
       border-radius: 10px;
       color: var(--white);
   }
   
   .about-cta .section-kicker {
       color: var(--accent);
   }
   
   .about-cta h2 {
       color: var(--white);
       font-size: 30px;
       margin: 7px 0 10px;
   }
   
   .about-cta p {
       max-width: 650px;
       margin: 0;
       color: #aebbb1;
       font-size: 13px;
       line-height: 1.7;
   }
   
   
   /* Кнопка */
   
   .btn {
       display: inline-flex;
       align-items: center;
       justify-content: center;
       min-height: 48px;
       padding: 0 22px;
       border-radius: 7px;
       font-size: 13px;
       font-weight: 700;
       white-space: nowrap;
       transition: transform 0.2s, background 0.2s;
   }
   
   .btn:hover {
       transform: translateY(-2px);
   }
   
   .btn-primary {
       background: var(--accent);
       color: #1c2921;
   }
   
   .btn-primary:hover {
       background: #d7b982;
   }
   
   
   /* ==============================
      МОБИЛЬНАЯ ВЕРСИЯ
   ============================== */
   
   @media (max-width: 900px) {
   
       .about-grid {
           grid-template-columns: 1fr;
           gap: 35px;
       }
   
       .features-grid {
           grid-template-columns: repeat(2, minmax(0, 1fr));
       }
   
       .contact-grid {
           grid-template-columns: 1fr;
       }
   }
   
   
   @media (max-width: 700px) {
   
       .section {
           padding: 55px 0;
       }
   
       .page-header {
           padding: 55px 0;
       }
   
       .about-content h2 {
           font-size: 28px;
       }
   
       .about-highlight {
           padding: 32px 25px;
       }
   
       .features-grid {
           grid-template-columns: 1fr;
       }
   
       .feature-card {
           min-height: auto;
       }
   
       .about-cta {
           align-items: flex-start;
           flex-direction: column;
           padding: 30px 25px;
       }
   
       .about-cta .btn {
           width: 100%;
       }
   }   
  
   /* ==============================
      ОТДЕЛЬНАЯ НОВОСТЬ
   ============================== */
   
   .news-article {
       max-width: 820px;
       margin: 0 auto;
   }
   
   .news-article-meta {
       display: flex;
       align-items: center;
       gap: 12px;
       margin-bottom: 20px;
   }
   
   .news-article-meta span {
       display: inline-flex;
       align-items: center;
       min-height: 28px;
       padding: 0 11px;
       border-radius: 5px;
       background: var(--green-light);
       color: var(--green);
       font-size: 11px;
       font-weight: 700;
   }
   
   .news-article-meta span:first-child {
       background: transparent;
       padding-left: 0;
       color: var(--muted);
       font-weight: 400;
   }
   
   .news-article h2 {
       color: var(--dark);
       font-size: clamp(30px, 4vw, 42px);
       line-height: 1.2;
       letter-spacing: -0.8px;
       margin-bottom: 28px;
   }
   
   .news-article p {
       margin-bottom: 20px;
       color: var(--muted);
       font-size: 15px;
       line-height: 1.85;
   }
   
   .news-article .news-article-lead {
       margin-bottom: 28px;
       color: var(--text);
       font-size: 18px;
       line-height: 1.7;
   }
   
   .news-article-note {
       margin: 35px 0;
       padding: 25px 28px;
       background: var(--green-light);
       border-left: 4px solid var(--green);
       border-radius: 0 8px 8px 0;
   }
   
   .news-article-note strong {
       display: block;
       margin-bottom: 8px;
       color: var(--dark);
       font-size: 15px;
   }
   
   .news-article-note p {
       margin: 0;
       font-size: 13px;
   }
   
   .news-article-actions {
       display: flex;
       align-items: center;
       gap: 12px;
       margin-top: 40px;
       padding-top: 30px;
       border-top: 1px solid var(--border);
   }
   
   .news-article-actions .btn {
       text-decoration: none;
   }
   
   .btn-secondary {
       display: inline-flex;
       align-items: center;
       justify-content: center;
       min-height: 48px;
       padding: 0 22px;
       border: 1px solid var(--border);
       border-radius: 7px;
       background: var(--white);
       color: var(--dark);
       font-size: 13px;
       font-weight: 700;
       transition: background 0.2s, border-color 0.2s;
   }
   
   .btn-secondary:hover {
       background: var(--green-light);
       border-color: #c2d0c2;
   }
   
   
   /* Мобильная версия */
   
   @media (max-width: 700px) {
   
       .news-article h2 {
           font-size: 29px;
       }
   
       .news-article p {
           font-size: 14px;
       }
   
       .news-article .news-article-lead {
           font-size: 16px;
       }
   
       .news-article-actions {
           flex-direction: column;
           align-items: stretch;
       }
   
       .news-article-actions .btn {
           width: 100%;
       }
   
       .news-article-meta {
           flex-wrap: wrap;
       }
   }   

   
   /* ==============================
      ФОТОГРАФИЯ НОВОСТИ
   ============================== */
   
   .news-article-image {
       width: 100%;
       margin-bottom: 30px;
       overflow: hidden;
       border-radius: 10px;
       background: var(--green-light);
   }
   
   .news-article-image img {
       display: block;
       width: 100%;
       height: auto;
       max-height: 520px;
       object-fit: cover;
   }
   
   
   /* Мобильная версия */
   
   @media (max-width: 700px) {
   
       .news-article-image {
           margin-bottom: 24px;
           border-radius: 8px;
       }
   
       .news-article-image img {
           max-height: 320px;
       }
   
   }
   