:root {
    --bg: #f7f2ea;
    --surface: rgba(255, 255, 255, 0.8);
    --surface-strong: #ffffff;
    --text: #152233;
    --muted: #687586;
    --line: rgba(21, 34, 51, 0.1);
    --accent: #a67c52;
    --accent-dark: #6f4f2d;
    --deep: #0e1a29;
    --success: #0b7a5e;
    --danger: #9a2f2f;
    --shadow: 0 24px 80px rgba(14, 26, 41, 0.12);
    --radius: 24px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(166, 124, 82, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(14, 26, 41, 0.08), transparent 35%),
        var(--bg);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); background: rgba(247, 242, 234, 0.82); border-bottom: 1px solid var(--line); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; position: relative; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--deep), #25354b); color: #fff; font-weight: 700; }
.brand-text strong { display: block; font-size: 1rem; }
.brand-text small { color: var(--muted); font-size: 0.8rem; }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 0.95rem; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .2s ease; }
.site-nav a:hover::after, .lang-switch a.active::after { width: 100%; }
.lang-switch { display: flex; gap: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.nav-toggle { display: none; border: 0; background: none; padding: 0; }
.nav-toggle span { display: block; width: 28px; height: 2px; background: var(--text); margin: 6px 0; }
.flash { margin: 14px auto; width: min(1180px, calc(100% - 32px)); padding: 14px 18px; border-radius: 16px; }
.flash-success { background: rgba(11, 122, 94, 0.12); color: var(--success); }
.flash-error { background: rgba(154, 47, 47, 0.12); color: var(--danger); }
.hero, .page-hero { padding: 88px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 32px; align-items: stretch; }
.hero-copy, .hero-card, .page-hero .container, .admin-panel, .card, .team-card, .quote-card, .blog-card, .contact-card, .contact-form {
    border: 1px solid rgba(255,255,255,.5);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.75));
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}
.hero-copy { padding: 48px; position: relative; overflow: hidden; }
.hero-copy::before { content: ""; position: absolute; inset: auto -80px -80px auto; width: 220px; height: 220px; background: radial-gradient(circle, rgba(166, 124, 82, 0.28), transparent 68%); }
.eyebrow { display: inline-flex; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent-dark); font-size: .78rem; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.1; }
h1 { font-size: clamp(2.3rem, 4vw, 4.8rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 12px; }
p { color: var(--muted); line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font: inherit; }
.button-primary { background: linear-gradient(135deg, var(--deep), #30435e); color: #fff; }
.button-secondary { background: transparent; color: var(--deep); border-color: var(--line); }
.button-danger { background: var(--danger); color: #fff; }
.full { width: 100%; }
.hero-card { padding: 28px; display: grid; gap: 18px; background: linear-gradient(180deg, rgba(14, 26, 41, 0.95), rgba(36, 53, 75, 0.92)); color: #fff; }
.metric { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.08); }
.metric strong { display: block; font-size: 2rem; margin-bottom: 4px; }
.metric span { color: rgba(255,255,255,.72); }
.section { padding: 34px 0 58px; }
.alt { background: rgba(255,255,255,.32); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.section-heading { margin-bottom: 24px; max-width: 780px; }
.card-grid, .team-grid, .testimonial-grid, .blog-grid, .stats-grid { display: grid; gap: 22px; }
.card-grid, .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-grid, .testimonial-grid, .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .team-card, .quote-card, .blog-card { padding: 26px; }
.card-icon, .avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, rgba(166, 124, 82, .18), rgba(14, 26, 41, .12)); margin-bottom: 16px; }
.avatar { font-size: 1.3rem; font-weight: 700; }
.chip { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(166,124,82,.12); color: var(--accent-dark); margin-bottom: 14px; font-size: .84rem; }
.muted { color: var(--accent-dark); }
.prose { padding: 34px; border-radius: var(--radius); background: rgba(255,255,255,.8); box-shadow: var(--shadow); }
.prose h3 { margin-top: 26px; }
.prose ul { padding-left: 20px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card, .contact-form { padding: 28px; }
label { display: grid; gap: 8px; color: var(--text); font-size: .92rem; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 12px 14px; font: inherit; color: var(--text); }
.site-footer { margin-top: 60px; padding: 42px 0 58px; border-top: 1px solid var(--line); background: rgba(14, 26, 41, 0.96); color: #f5efe5; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1.3fr 1fr 1fr; }
.footer-grid p { color: rgba(245,239,229,.76); }
.admin-body, .admin-shell { background: #eef2f6; font-family: "Segoe UI", Tahoma, sans-serif; }
.admin-login { width: min(460px, calc(100% - 32px)); margin: 7vh auto; padding: 34px; background: white; border-radius: 24px; box-shadow: var(--shadow); }
.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0f1722; color: #f7f7f7; padding: 28px 22px; }
.admin-sidebar nav { display: grid; gap: 10px; margin: 28px 0; }
.admin-sidebar nav a { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); }
.admin-main { padding: 28px; }
.admin-panel { padding: 26px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.inline-form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; margin-bottom: 18px; }
.translation-block { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.table-shell { overflow: auto; background: #fff; border-radius: 20px; border: 1px solid var(--line); margin-top: 18px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.stats-grid article { padding: 26px; border-radius: 20px; background: rgba(14,26,41,.95); color: #fff; }
.stats-grid strong { display: block; font-size: 2rem; margin-bottom: 6px; }

@media (max-width: 960px) {
    .hero-grid, .split, .contact-grid, .footer-grid, .admin-shell { grid-template-columns: 1fr; }
    .card-grid, .blog-grid, .team-grid, .testimonial-grid, .stats-grid, .form-grid, .inline-form { grid-template-columns: 1fr; }
    .site-nav { display: none; position: absolute; top: 82px; left: 16px; right: 16px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; }
    .site-nav.open { display: flex; }
    .nav-toggle { display: block; }
}
