/* ПТБ — базовые стили (шрифты пока fallback, woff2 добавим позже) */
:root {
    --bg: #f8f9fa;
    --surface: #ffffff;
    --ink: #1a2530;
    --text: #3b4754;
    --muted: #7a8691;
    --line: #e1e5e9;
    --navy: #1a2530;
    --navy-hover: #0e151c;
    --gold: #c5a880;
    --gold-hover: #b0936d;
    --gold-light: #f4f0e6;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--ink);
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}
h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.5vw, 42px); }
h3 { font-size: 24px; }

.eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    transition: all .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn--gold { color: #fff; background: var(--gold); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: #fff; }
.btn--outline-dark { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }
.btn--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 24px;
}
.header-actions { display: flex; gap: 12px; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
    width: 42px; height: 42px;
    border: 2px solid var(--gold);
    color: var(--ink);
    display: grid; place-items: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 16px;
}
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: .02em; }
.brand__sub { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.nav a { color: var(--text); }
.nav a:hover { color: var(--gold); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 60px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-family: var(--font-body); font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,.6); }
.footer-grid a:hover { color: var(--gold); }
.footer-link-gold { color: var(--gold) !important; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* Секции */
.section { padding: 100px 0; }
.section--bg { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* Адаптив */
@media (max-width: 1024px) {
    .nav { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header-actions__site { display: none; }
    .header-actions .btn--gold { min-height: 40px; padding: 0 14px; font-size: 11px; letter-spacing: .04em; }
    .brand__name { font-size: 15px; }
    .brand__sub { font-size: 10px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section { padding: 60px 0; }
}

/* 7.1: замены inline-стилей (для строгого CSP) */
.footer-about { max-width: 300px; margin-bottom: 20px; }
.section-head--left {
    text-align: left;
    margin: 0 0 40px;
    max-width: none;
}
