
:root {
    --bg: #faf8f4; --bg-soft: #f3eee5; --text: #2a2520; --text-muted: #6b6256;
    --accent: #8b6f47; --accent-dark: #6b5236; --border: #e8dfd0;
    --shadow: 0 4px 24px rgba(42,37,32,0.08); --radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px;
    -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }

.site-header { background: rgba(250,248,244,0.92); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between;
    padding-top: 0.9rem; padding-bottom: 0.9rem; flex-wrap: wrap; gap: 1rem; }
.brand { font-weight: 700; font-size: 1.05rem; color: var(--text); letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 0.7rem; }
.brand-icon { width: 38px; height: 38px; flex-shrink: 0; background: var(--bg-soft); border-radius: 8px;
    overflow: hidden; display: inline-flex; align-items: center; justify-content: center; }
.brand-icon img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.brand-text small { display: block; font-size: 0.78rem; font-weight: 400; color: var(--text-muted);
    margin-top: 1px; letter-spacing: 0.01em; }
.nav { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { color: var(--text); }
.nav a.active { color: var(--accent); font-weight: 500; }
.header-phone { font-weight: 600; color: var(--text); white-space: nowrap;
    display: inline-flex; align-items: center; gap: 0.4rem; }
.header-phone svg { width: 1em; height: 1em; color: var(--accent); }
.header-phone:hover { color: var(--accent); }

.hero { padding: 5rem 0 4rem; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700;
    letter-spacing: -0.02em; line-height: 1.15; display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.hero h1 .icon { width: 0.9em; height: 0.9em; color: var(--accent); }
.hero .tagline { font-size: 1.2rem; color: var(--text-muted); margin-top: 1rem; max-width: 720px; }
.hero .intro { font-size: 1.05rem; color: var(--text); margin-top: 1.5rem; max-width: 720px; line-height: 1.75; }

section { padding: 3rem 0; }
.section-title { font-size: 1.8rem; font-weight: 600; margin-bottom: 2rem; letter-spacing: -0.01em; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.card { background: var(--bg-soft); border-radius: var(--radius); overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s; display: block; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.25rem 1.5rem; }
.card-title { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem;
    display: flex; align-items: center; gap: 0.55rem; }
.card-title .icon { width: 1.2em; height: 1.2em; color: var(--accent); }
.card-meta { color: var(--text-muted); font-size: 0.92rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item { aspect-ratio: 1/1; background: var(--bg-soft); border-radius: var(--radius);
    overflow: hidden; cursor: pointer; transition: transform 0.2s; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 999;
    align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 95%; max-height: 95%; object-fit: contain; }

.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.contact-block { padding: 1.5rem; background: var(--bg-soft); border-radius: var(--radius);
    display: flex; flex-direction: column; gap: 0.4rem; }
.contact-block h3 { font-size: 0.92rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem;
    display: flex; align-items: center; gap: 0.5rem; }
.contact-block h3 .icon { width: 1em; height: 1em; color: var(--accent); }
.contact-block .value { font-size: 1.15rem; color: var(--text); font-weight: 500; line-height: 1.4; }
.contact-block .value a { color: var(--text); }
.contact-block .value a:hover { color: var(--accent); }

.map-block { margin-top: 2rem; height: 420px; border-radius: var(--radius); overflow: hidden;
.map-block iframe { width: 100%; height: 100%; border: 0; display: block; }
    box-shadow: var(--shadow); background: var(--bg-soft); }
.leaflet-popup-content { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; }
.leaflet-popup-content a { color: var(--accent); }

.site-footer { margin-top: 5rem; padding: 3rem 0 2rem; background: var(--bg-soft);
    border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.92rem; }
.site-footer .container { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
.site-footer h4 { color: var(--text); font-weight: 600; font-size: 0.98rem; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.5rem; }
.site-footer li .icon { width: 1em; height: 1em; color: var(--accent); flex-shrink: 0; }
.site-footer .copy { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.85rem; }

@media (max-width: 720px) {
    .nav { width: 100%; order: 3; }
    .hero { padding: 3rem 0 2rem; }
    .site-footer .container { grid-template-columns: 1fr; }
    .map-block { height: 300px; }
.map-block iframe { width: 100%; height: 100%; border: 0; display: block; }
}
