:root {
    --bg-page: #f4eee7;
    --bg-section-light: #ffffff;
    --bg-section-muted: #f6f0e8;
    --bg-section-dark: #2e1b11;

    --color-primary: #f6a623;
    --color-primary-dark: #d57c05;
    --color-text: #2c2621;
    --color-muted: #7f756d;
    --color-light: #ffffff;

    --card-radius: 14px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.12);
}

/* СБРОС */

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

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
    background: var(--bg-page);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ОБЩАЯ СЕТКА */

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* ШАПКА */

.site-header {
    background: var(--bg-section-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 24px;
}

.logo img {
    height: 70px;
    width: auto;
}

.main-nav {
    flex: 1;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 0.95rem;
}

.nav-list a {
    color: var(--color-text);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-list a:hover {
    border-bottom-color: var(--color-primary);
}

.header-contact {
    text-align: right;
    font-size: 0.85rem;
}

.header-phone {
    font-weight: 600;
}

.header-note {
    color: var(--color-muted);
}

/* HERO */

.hero {
    background: radial-gradient(circle at top left, #ffe2b3 0, #f4eee7 40%, #f4eee7 100%);
    padding: 40px 0 50px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 32px;
    align-items: center;
}

.hero-left {
    max-width: 580px;
}

.hero-tagline {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--color-muted);
    margin-bottom: 10px;
}

.hero-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

.hero-subtitle {
    color: var(--color-muted);
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-highlights {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* КНОПКИ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #2e1b11;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(0,0,0,0.12);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.7);
}

.btn-full {
    width: 100%;
}

/* HERO СПРАВА */

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-panel {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: var(--shadow-soft);
}

.hero-panel-logo {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-wrap img {
    max-height: 150px;
}

.hero-panel-info {
    font-size: 0.9rem;
}

.hero-company-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-company-name span {
    font-weight: 500;
    font-size: 0.9em;
}

.hero-company-line {
    color: var(--color-muted);
    margin-bottom: 8px;
}

.hero-company-contact {
    font-size: 0.9rem;
}

/* СЕКЦИИ */

.section {
    padding: 40px 0;
}

.section-light {
    background: var(--bg-section-light);
}

.section-muted {
    background: var(--bg-section-muted);
}

.section-dark {
    background: var(--bg-section-dark);
    color: var(--color-light);
}

.section-header {
    text-align: center;
    margin-bottom: 22px;
}

.section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.section-header p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
}

.section-header-row h2 {
    margin-bottom: 4px;
}

.section-link {
    font-size: 0.95rem;
}

/* СЕТКИ */

.grid {
    display: grid;
    gap: 18px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* КАРТОЧКИ */

.card {
    background: #ffffff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    padding: 16px 18px;
}

.section-muted .card {
    background: #ffffff;
}

/* Сервисные карточки */

.card-service h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card-service p {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 10px;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Цифры */

.card-stat {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* Текстовые блоки */

.text-block p {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

/* Сферы деятельности */

.card-activity h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.card-activity p {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* Объекты */

.card-object {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.object-image {
    height: 190px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.9rem;
}

.object-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.object-body {
    padding: 12px 14px 14px;
}

.object-body h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.object-location {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ШАГИ */

.steps {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.step {
    flex: 1 1 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #2e1b11;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-top: 4px;
}

.step-body h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.step-body p {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* КОНТАКТНЫЙ БЛОК */

.section-dark .container {
    color: var(--color-light);
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 30px;
    align-items: flex-start;
}

.contact-left h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-left p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.contact-list {
    list-style: none;
    font-size: 0.9rem;
}

.contact-list li + li {
    margin-top: 4px;
}

/* ФОРМА */

.contact-form {
    background: rgba(0,0,0,0.25);
    border-radius: 16px;
    padding: 16px 18px;
}

.form-row {
    margin-bottom: 10px;
}

.form-row label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.9);
}

.form-row input,
.form-row textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 10px;
    background: rgba(0,0,0,0.25);
    color: #ffffff;
    font: inherit;
    outline: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--color-primary);
    background: rgba(0,0,0,0.35);
}

.section-dark .btn-primary {
    background: var(--color-primary);
    color: #2e1b11;
}

.section-dark .btn-primary:hover {
    background: var(--color-primary-dark);
}

.form-note {
    margin-top: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

/* ФУТЕР */

.site-footer {
    background: #21140d;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
}



/* === NEW BUTTON STYLE (VARIANT 2, CORPORATE) === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid transparent;

    font-size: 0.9rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;

    cursor: pointer;
    text-decoration: none;

    transition:
        background 0.16s ease-out,
        color 0.16s ease-out,
        border-color 0.16s ease-out,
        box-shadow 0.16s ease-out,
        transform 0.06s ease-out;
}

.btn-primary {
    background: #f6a623;
    color: #2e1b11;
    border-color: #e28a0c;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.btn-primary:hover {
    background: #e89516;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #2c2621;
    border-color: rgba(0, 0, 0, 0.18);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.02);
}

.btn-secondary:active {
    transform: translateY(0);
}

.section-dark .btn-primary {
    background: #f6a623;
    color: #2e1b11;
    border-color: #e28a0c;
}

.section-dark .btn-secondary {
    color: #fdf7ef;
    border-color: rgba(255, 255, 255, 0.5);
}

.section-dark .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
}

.btn--sm {
    padding: 7px 16px;
    font-size: 0.8rem;
}

.btn--lg {
    padding: 13px 28px;
    font-size: 1rem;
}

.hero-actions .btn + .btn {
    margin-left: 10px;
}

.btn[disabled],
.btn.disabled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}




/* === NAVIGATION STYLE: VARIANT 2 (TABS) === */

/* Выравнивание хедера */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Контейнер меню */
.nav-list {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    list-style: none;
    margin: 0;
}

/* Пункты меню как капсулы */
.nav-list a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #4a3b30;
    transition:
        background 0.16s ease-out,
        color 0.16s ease-out,
        box-shadow 0.16s ease-out,
        transform 0.06s ease-out;
}

.nav-list a:hover {
    background: #f6f1ea;
    transform: translateY(-1px);
}

/* Активный пункт меню */
.nav-list li.active > a,
.nav-list a.active {
    background: #f6a623;
    color: #2e1b11;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}




/* === LINK-STYLE BUTTONS FOR CARD CTAS === */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 0;
    border: none;
    border-radius: 0;

    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f08c17;
    text-decoration: none;
    cursor: pointer;

    transition: color 0.16s ease-out, transform 0.06s ease-out;
}

.btn-link::after {
    content: "→";
    font-size: 0.9em;
    transform: translateY(1px);
}

.btn-link:hover {
    color: #c76f10;
    transform: translateX(2px);
}



/* === CARD HOVER EFFECTS === */
.card {
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}



/* === RESPONSIVE LAYOUT === */
@media (max-width: 1024px) {
    .hero-inner,
    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 16px;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .hero {
        padding: 30px 0 36px;
    }

    .hero-inner {
        gap: 24px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-inner {
        gap: 20px;
    }
}




/* === OBJECTS PAGE: TOP BLOCK & TAGS === */
.page-header-objects {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 32px;
    align-items: flex-start;
}

.page-header-objects-text p {
    margin-bottom: 14px;
}

.page-header-objects-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.95rem;
    color: #6c5f55;
}

.page-header-objects-list li {
    margin-bottom: 4px;
}

.page-header-objects-facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-stat-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

.card-stat-inline .stat-value {
    font-size: 1.4rem;
    line-height: 1;
}

.card-stat-inline .stat-label {
    font-size: 0.85rem;
    color: #6c5f55;
}

.page-header-objects-note {
    font-size: 0.9rem;
    color: #6c5f55;
}

.object-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.object-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: #f6f1ea;
    color: #6c5f55;
}

.objects-footnote {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #7f756d;
}

@media (max-width: 1024px) {
    .page-header-objects {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header-objects {
        gap: 20px;
    }
}


/* ФОТОГАЛЕРЕЯ: заглушка */
.gallery-single {
    max-width: 980px;
    margin: 0 auto;
}

.gallery-placeholder {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
}


/* Сообщение после отправки формы */
.form-result {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-result-success {
    background: #edf7ed;
    color: #275d2b;
    border: 1px solid #b8dfba;
}

.form-result-error {
    background: #fff1f1;
    color: #8a1f1f;
    border: 1px solid #f0b8b8;
}


.contact-form button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}
