:root {
    --navy: #081327;
    --navy-2: #101f3a;
    --gold: #d8ad52;
    --gold-2: #f1d58a;
    --cream: #f7f3ea;
    --ink: #172033;
    --muted: #5f6877;
    --line: #ded7c7;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Poppins, Inter, Segoe UI, Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
}
a { color: inherit; }
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px clamp(18px, 5vw, 70px);
    background: var(--navy);
    color: white;
}
.brand { color: var(--gold-2); font-weight: 800; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 16px; }
nav a { color: white; text-decoration: none; font-size: 14px; }
.hero {
    background: radial-gradient(circle at top right, rgba(216,173,82,.24), transparent 34%), linear-gradient(135deg, var(--navy), var(--navy-2));
    color: white;
    padding: clamp(58px, 9vw, 112px) clamp(18px, 5vw, 70px);
}
.hero-grid, .section, .footer-inner { max-width: 1120px; margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 42px; align-items: center; }
.hero-grid > * { min-width: 0; }
.prehead { color: var(--gold-2); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; margin: 12px 0 18px; letter-spacing: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin: 0 0 18px; letter-spacing: 0; }
h3 { margin: 0 0 10px; line-height: 1.2; }
.lead { font-size: clamp(17px, 2vw, 21px); max-width: 760px; color: #eef2f8; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid transparent;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    min-width: 0;
    overflow-wrap: anywhere;
}
.gold { background: var(--gold); color: #10131a; }
.outline { border-color: rgba(255,255,255,.55); color: white; }
.dark { background: var(--navy); color: white; }
.product-visual, .mini-box {
    border: 1px solid rgba(241,213,138,.55);
    background: linear-gradient(150deg, #111d34, #071024);
    color: white;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0,0,0,.32);
}
.product-visual { padding: 34px; min-height: 330px; display: grid; align-content: center; gap: 12px; }
.product-visual strong { display: block; font-size: clamp(30px, 4vw, 48px); line-height: 1; color: var(--gold-2); }
.product-visual span { color: #cbd5e1; overflow-wrap: anywhere; }
.section { padding: clamp(44px, 7vw, 82px) clamp(18px, 4vw, 28px); }
.white { background: white; max-width: none; }
.white > .section { padding-top: clamp(44px, 7vw, 82px); padding-bottom: clamp(44px, 7vw, 82px); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel, .product-card, .faq-item, .admin-panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}
.white .panel, .white .product-card, .white .faq-item { background: var(--cream); }
.price { font-size: 34px; line-height: 1; color: var(--navy); font-weight: 900; margin: 8px 0 14px; }
.note, .muted { color: var(--muted); font-size: 14px; }
.mini-box { padding: 16px; margin-bottom: 18px; box-shadow: none; }
.mini-box span, .mini-box small { display: block; color: #dbe4f0; }
.mini-box strong { display: block; color: var(--gold-2); font-size: 22px; }
.comparison { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; }
.comparison th, .comparison td { padding: 14px; border: 1px solid var(--line); text-align: left; }
.comparison th { background: var(--navy); color: white; }
.site-footer { background: #06101f; color: #d5dbea; padding: 30px clamp(18px, 5vw, 70px); font-size: 13px; }
.admin-shell { max-width: 1180px; margin: 30px auto; padding: 0 18px; }
label { display: block; font-weight: 700; margin-top: 14px; }
input, textarea, select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #c8c1b2;
    border-radius: 6px;
    font: inherit;
}
textarea { min-height: 110px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.alert { padding: 12px 14px; border-radius: 6px; background: #e8f7ee; border: 1px solid #a8dbb8; }

@media (max-width: 820px) {
    body { overflow-x: hidden; }
    .site-header { align-items: flex-start; flex-direction: column; }
    .hero-grid, .grid, .grid.two { grid-template-columns: 1fr; }
    .hero { overflow-x: hidden; }
    .product-visual { min-height: 260px; min-width: 0; }
    .prehead, .lead, h1, h2, h3 { overflow-wrap: anywhere; }
    .button { width: 100%; }
}
