:root {
    --bg: #ffffff;
    --surface: #f7f8fa;
    --surface-2: #eef0f3;
    --border: #dde1e7;
    --text: #171a21;
    --muted: #667085;
    --accent: #2563eb;
    --accent-2: #16a34a;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Trebuchet MS", Verdana, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

header.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.2px;
}

.brand span {
    color: var(--accent);
}

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

nav.main-nav a {
    color: var(--muted);
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

nav.main-nav a:hover {
    color: var(--text);
}

/* Hero */

.hero {
    padding: 56px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
}

.hero h1 {
    font-size: 2.1rem;
    margin: 0 0 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--accent-2);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.hero p.lead {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 46ch;
}

.hero-photo {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
}

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

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-ghost {
    background: transparent;
    border-color: var(--text);
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--text);
    color: var(--bg);
}

/* Sections */

section {
    padding: 44px 0;
    border-top: 1px solid var(--border);
}

section h2 {
    font-size: 1.4rem;
    margin: 0 0 6px;
}

section .section-sub {
    color: var(--muted);
    margin: 0 0 24px;
    font-size: 0.95rem;
}

/* Gallery */

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

.gallery-photo {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
}

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

@media (max-width: 720px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Stats */

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

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.stat-card .value {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-card .label {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Pricing */

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.price-table th, .price-table td {
    padding: 14px 18px;
    text-align: left;
}

.price-table thead {
    background: var(--surface-2);
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price-table tbody tr + tr {
    border-top: 1px solid var(--border);
}

.price-table .amount {
    color: var(--accent-2);
    font-weight: 700;
}

/* Map */

.map-frame {
    width: 100%;
    height: 380px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact / operator */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.info-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.info-card dl {
    margin: 0;
}

.info-card dt {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

.info-card dt:first-child {
    margin-top: 0;
}

/* Requisites */

.requisites-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.requisites-entity {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.requisites-entity-short {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 4px;
    margin-bottom: 20px;
}

.requisites-list {
    margin: 0;
    display: grid;
    gap: 14px;
}

.requisites-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    align-items: baseline;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.requisites-row:first-child {
    padding-top: 0;
    border-top: none;
}

.requisites-row dt {
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.requisites-row dd {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-2);
    word-break: break-word;
}

.info-card dd {
    margin: 2px 0 0;
    font-size: 0.98rem;
}

/* Footer */

footer.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0 40px;
    color: var(--muted);
    font-size: 0.85rem;
}

footer.site-footer .footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

footer.site-footer nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

@media (max-width: 720px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    nav.main-nav {
        display: none;
    }
}
