:root {
    --paper: #fbf8f3;
    --paper-2: #f8f7f4;
    --ink: #1d2433;
    --navy: #082c4b;
    --navy-deep: #062440;
    --red: #b5122b;
    --gold: #eab64f;
    --gold-deep: #d9a441;
    --line: rgba(8, 44, 75, 0.12);
    --shadow: 0 12px 32px rgba(8, 44, 75, 0.08);
    --width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.vpl-body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy); }

h1, h2, h3 {
    font-family: Lora, Georgia, serif;
    line-height: 1.25;
    color: var(--navy);
}

.vpl-skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: white;
    padding: 8px 12px;
    z-index: 50;
}

.vpl-skip:focus { top: 12px; }

.vpl-wrap {
    width: min(var(--width), calc(100% - 32px));
    margin: 0 auto;
}

.vpl-header { background: white; }

.vpl-top, .vpl-nav-row, .vpl-hero-grid, .vpl-split, .vpl-footer-grid {
    display: grid;
    gap: 24px;
}

.vpl-top {
    width: min(var(--width), calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 14px;
    align-items: center;
}

.vpl-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.vpl-brand img, .vpl-footer img { width: 72px; height: auto; }

.vpl-brand strong, .vpl-brand em { display: block; }

.vpl-brand strong { font-family: Lora, Georgia, serif; font-size: 1.15rem; color: var(--navy); }

.vpl-brand em { font-style: normal; color: var(--gold-deep); font-weight: 600; }

.vpl-top-meta { font-size: 0.92rem; }

.vpl-top-meta p { margin: 0; }

.vpl-top-meta a { font-weight: 700; color: var(--red); text-decoration: none; }

.vpl-lang {
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.82rem;
    font-weight: 700;
}

.vpl-nav {
    background: var(--red);
    position: sticky;
    top: 0;
    z-index: 20;
}

body.admin-bar .vpl-nav { top: 32px; }

.vpl-nav-row {
    min-height: 64px;
    align-items: center;
    grid-template-columns: auto 1fr auto auto;
}

.vpl-nav a, .vpl-burger, .vpl-search-open { color: white; }

.vpl-menu { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; align-items: center; }

.vpl-menu a, .vpl-menu summary {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.vpl-menu summary { list-style: none; }

.vpl-menu summary::-webkit-details-marker { display: none; }

.vpl-menu details { position: relative; }

.vpl-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px;
    z-index: 30;
}

.vpl-menu details[open] .vpl-sub, .vpl-menu details:hover .vpl-sub { display: grid; }

.vpl-sub a { color: var(--navy); padding: 8px 10px; border-radius: 8px; }

.vpl-sub a:hover { background: var(--paper); }

.vpl-cta, .vpl-form button, .vpl-search button, .vpl-library-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: white;
    text-decoration: none;
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.vpl-nav .vpl-cta { background: var(--gold); color: var(--navy-deep); }

.vpl-cta-gold { background: var(--gold); color: var(--navy-deep); }

.vpl-burger, .vpl-search-open {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    padding: 8px 12px;
    font: inherit;
    font-weight: 700;
}

.vpl-burger { display: none; }

.vpl-search { background: var(--navy); padding: 16px 0; }

.vpl-search form, .vpl-library-search { display: flex; gap: 12px; align-items: end; }

.vpl-search label, .vpl-library-search label { flex: 1; color: white; }

.vpl-library-search label { color: var(--ink); }

.vpl-drawer { background: var(--navy-deep); color: white; padding: 12px 16px 24px; }

.vpl-drawer a { color: white; }

.vpl-menu-mobile { display: grid; gap: 8px; }

.vpl-menu-mobile ul { margin: 4px 0 8px 16px; padding: 0; list-style: none; }

.vpl-hero { padding: 48px 0 28px; }

.vpl-hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }

.vpl-hero img, .vpl-split img, .vpl-feature img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    object-fit: cover;
    max-height: 460px;
}

.vpl-kicker {
    margin: 0 0 8px;
    color: var(--gold-deep);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.vpl-lead { font-size: 1.25rem; color: var(--navy); }

.vpl-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.vpl-trust { background: var(--navy); color: white; }

.vpl-trust-grid, .vpl-value-grid, .vpl-service-grid, .vpl-cards, .vpl-steps {
    display: grid;
    gap: 16px;
}

.vpl-trust-grid { grid-template-columns: repeat(4, 1fr); padding: 22px 0; }

.vpl-trust p { margin: 0; }

.vpl-trust strong, .vpl-trust span { display: block; }

.vpl-trust strong { font-family: Lora, Georgia, serif; font-size: 1.35rem; color: var(--gold); }

.vpl-band { padding: 56px 0; }

.vpl-band-alt { background: var(--paper-2); }

.vpl-split { grid-template-columns: 1fr 1fr; align-items: start; }

.vpl-service-grid, .vpl-value-grid, .vpl-cards { grid-template-columns: repeat(3, 1fr); }

.vpl-service, .vpl-value-grid article, .vpl-card, .vpl-anchor {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.vpl-service ul { padding-left: 18px; }

.vpl-steps { grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; counter-reset: step; }

.vpl-steps li {
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.vpl-steps strong { display: block; font-family: Lora, Georgia, serif; color: var(--navy); }

.vpl-more { font-weight: 700; color: var(--red); }

.vpl-form, .vpl-content input, .vpl-content textarea, .vpl-content select,
.vpl-search input, .vpl-library-search input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    background: white;
}

.vpl-form {
    display: grid;
    gap: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.vpl-form label, .vpl-check { display: grid; gap: 6px; font-weight: 600; }

.vpl-check { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; }

.vpl-hp { position: absolute; left: -9999px; }

.vpl-note { border-radius: 12px; padding: 10px 12px; }

.vpl-note.is-ok { background: #e8f6ee; }

.vpl-note.is-warn { background: #fff4e5; }

.vpl-page-hero { padding: 36px 0 8px; }

.vpl-crumb { font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 6px; }

.vpl-content { padding-bottom: 64px; }

.vpl-content > *:first-child { margin-top: 0; }

.vpl-anchor { margin-top: 28px; }

.vpl-card-media { display: block; margin: -20px -20px 12px; }

.vpl-card-media img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px 12px 0 0; }

.vpl-list { padding: 12px 0 64px; }

.vpl-footer { background: var(--navy-deep); color: white; padding: 40px 0 24px; }

.vpl-footer a { color: white; }

.vpl-footer-grid { grid-template-columns: 1.4fr 1fr 0.7fr 0.8fr; }

.vpl-footer h2 { color: var(--gold); font-size: 1.1rem; }

.vpl-footer ul { margin: 0; padding: 0; list-style: none; }

.vpl-legal { border-top: 1px solid rgba(255, 255, 255, 0.16); margin-top: 20px; padding-top: 16px; font-size: 0.92rem; }

.vpl-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: grid;
    gap: 8px;
    z-index: 25;
}

.vpl-float a {
    background: var(--red);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.vpl-float a:last-child { background: var(--navy); }

@media (max-width: 980px) {
    .vpl-top, .vpl-hero-grid, .vpl-split, .vpl-trust-grid, .vpl-service-grid,
    .vpl-value-grid, .vpl-cards, .vpl-steps, .vpl-footer-grid, .vpl-nav-row {
        grid-template-columns: 1fr;
    }
    .vpl-nav-desktop { display: none; }
    .vpl-burger { display: inline-flex; }
    .vpl-lang { display: none; }
    body.admin-bar .vpl-nav { top: 46px; }
}

@media (min-width: 981px) {
    .vpl-top { grid-template-columns: auto 1fr auto; }
    .vpl-drawer { display: none; }
}
