@font-face {
    font-family: 'VT323';
    src: url('/fonts/vt323-v18-latin-ext-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('/fonts/exo-2-v26-latin_latin-ext-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('/fonts/exo-2-v26-latin_latin-ext-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('/fonts/exo-2-v26-latin_latin-ext-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('/fonts/exo-2-v26-latin_latin-ext-600italic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('/fonts/exo-2-v26-latin_latin-ext-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('/fonts/exo-2-v26-latin_latin-ext-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #010B2E;
    --bg-2: #051F57;
    --bg-3: #0B1B3A;
    --blue: #0A2E73;
    --blue-mid: #0D4098;
    --blue-light: #244D9B;
    --blue-soft: #6D93C1;
    --sky: #A9D9F2;
    --red: #E32415;
    --red-dark: #B01619;
    --orange: #DE6D2D;
    --yellow: #FCC36C;
    --white: #F1F1EF;
    --font-pixel: 'VT323', monospace;
    --font-main: 'Exo 2', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--yellow);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--orange);
}

img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    max-width: 100%;
    height: auto;
}

.avatar-pixelate {
    cursor: crosshair;
    transition: filter 0.15s;
}

.avatar-pixelate:hover {
    filter: drop-shadow(0 0 8px var(--yellow));
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--bg);
    border-bottom: 3px solid var(--blue-mid);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background-color: var(--bg-2);
    padding: 6px 0;
    font-size: 0.82rem;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    align-items: center;
}

.header-top a {
    color: var(--sky);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top a:hover {
    color: var(--white);
}

.header-top a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 52px;
    width: auto;
}

nav {
    display: flex;
    gap: 4px;
}

nav a {
    color: var(--white);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: var(--yellow);
    border-color: var(--yellow);
    background-color: rgba(252, 195, 108, 0.08);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.btn {
    display: inline-block;
    padding: 13px 28px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
    box-shadow: 4px 4px 0 var(--red-dark);
}

.btn-primary:hover {
    background-color: var(--red-dark);
    color: var(--white);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #7a0000;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--bg);
}

.btn-yellow {
    background-color: var(--yellow);
    color: var(--bg);
    font-weight: 900;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    line-height: 1.4;
}

.btn-yellow:hover {
    background-color: var(--orange);
    color: var(--white);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(1,11,46,0.93) 45%, rgba(1,11,46,0.45));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content {
    max-width: 560px;
}

.hero-content h1 {
    font-family: var(--font-pixel);
    font-size: 3.4rem;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 3px 3px 0 var(--bg);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--sky);
    margin-bottom: 32px;
    font-weight: 500;
    border: 2px solid var(--blue-mid);
    padding: 10px 18px;
    display: inline-block;
    background-color: rgba(1,11,46,0.6);
}

.hero-avatar {
    flex-shrink: 0;
    position: relative;
}

.hero-avatar img {
    height: 280px;
    width: auto;
    filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.5));
}

.hero-bubble {
    position: absolute;
    top: -50px;
    left: -48px;
    width: 200px !important;
    height: auto !important;
    filter: none !important;
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-pixel);
    font-size: 2.2rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 48px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--blue-mid);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--yellow);
    opacity: 0.55;
    margin: 10px auto 0;
}

.services-overview {
    background-color: var(--bg-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--bg-3);
    border: 2px solid var(--blue-mid);
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
}

.service-card:hover {
    border-color: var(--yellow);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
}

.service-card img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    margin-bottom: 16px;
}

.service-card h3 {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--sky);
    line-height: 1.5;
}

.services-more-text {
    text-align: right;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    margin-top: -20px;
    margin-bottom: 20px;
}

.services-more {
    text-align: center;
}

.about-teaser {
    background-color: var(--bg);
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex-shrink: 0;
}

.about-image img {
    height: 300px;
    width: auto;
    filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.5));
}

.about-text h2 {
    font-family: var(--font-pixel);
    font-size: 2.2rem;
    color: var(--yellow);
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 var(--bg);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--sky);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-text .btn {
    margin-top: 8px;
}

.about-link {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.about-link:hover {
    color: var(--orange);
}

.cases-section {
    background-color: var(--bg-2);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.case-card {
    background-color: var(--bg-3);
    border: 2px solid var(--blue-mid);
    border-top: 3px solid var(--yellow);
    padding: 28px 24px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
}

.case-card:hover {
    border-color: var(--yellow);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
}

.case-card h3 {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.case-card p {
    font-size: 0.9rem;
    color: var(--sky);
    line-height: 1.65;
}

.testimonials {
    background-color: var(--bg-2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.testimonial-card {
    background-color: var(--sky);
    color: var(--bg);
    padding: 28px 24px 24px;
    border: 2px solid var(--blue-soft);
    box-shadow: 4px 4px 0 var(--blue-mid);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--blue-mid);
    position: absolute;
    top: 4px;
    left: 14px;
    line-height: 1;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-left: 20px;
    font-weight: 500;
    color: var(--bg-2);
}

.testimonial-card .author {
    margin-top: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
    margin-left: 20px;
}

.testimonials-more {
    text-align: center;
}

.contact-cta {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 64px 0;
}

.contact-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
}

.contact-cta h2 {
    font-family: var(--font-pixel);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 2px 2px 0 var(--red-dark);
}

.contact-cta-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-cta-info a {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-cta-info a:hover {
    color: var(--yellow);
}

.page-hero {
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
    padding: 60px 0;
    border-bottom: 3px solid var(--blue-mid);
}

.page-hero h1 {
    font-family: var(--font-pixel);
    font-size: 2.8rem;
    color: var(--white);
    text-shadow: 2px 2px 0 var(--blue-mid);
    margin-bottom: 12px;
    line-height: 1.6;
}

.page-hero p {
    color: var(--sky);
    font-size: 1.05rem;
    max-width: 600px;
}

.services-page {
    background-color: var(--bg);
}

.services-categories {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.service-category {
    border: 2px solid var(--blue-mid);
    background-color: var(--bg-3);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.category-header {
    background: linear-gradient(90deg, var(--blue-mid), var(--blue));
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.category-header .emoji {
    font-size: 1.4rem;
}

.category-header h2 {
    font-family: var(--font-pixel);
    font-size: 1.7rem;
    color: var(--yellow);
    text-transform: uppercase;
    line-height: 1.5;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table tr {
    border-bottom: 1px solid rgba(13,64,152,0.4);
    transition: background 0.15s;
}

.price-table tr:last-child {
    border-bottom: none;
}

.price-table tr:hover {
    background-color: rgba(13,64,152,0.25);
}

.price-table td {
    padding: 14px 24px;
    font-size: 0.95rem;
    color: var(--white);
    vertical-align: middle;
}

.price-table td:last-child {
    text-align: right;
    color: var(--yellow);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.price-table .note {
    font-size: 0.78rem;
    color: var(--blue-soft);
    display: block;
    margin-top: 2px;
}

.price-note {
    text-align: center;
    margin-top: 48px;
    padding: 22px 32px;
    background-color: var(--bg-3);
    border: 2px solid var(--yellow);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    font-size: 1rem;
    color: var(--yellow);
    font-weight: 600;
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    line-height: 1.8;
}

.about-page {
    background-color: var(--bg);
}

.about-page .about-inner {
    gap: 64px;
    align-items: flex-start;
}

.about-page .about-image {
    flex-shrink: 0;
}

.about-page .about-image img {
    height: 420px;
    width: auto;
    max-width: none;
}

.about-page .about-text h1 {
    font-family: var(--font-pixel);
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 var(--bg-2);
    line-height: 1.6;
}

.about-page .about-text p {
    font-size: 1.05rem;
    color: var(--sky);
    margin-bottom: 16px;
    line-height: 1.75;
}

.about-highlights {
    margin: 32px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.highlight-cta {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 8px;
}

.highlight-item {
    background-color: var(--bg-3);
    border: 2px solid var(--blue-mid);
    padding: 20px;
    text-align: center;
}

.highlight-item .hi-number {
    font-family: var(--font-pixel);
    font-size: 2.4rem;
    color: var(--yellow);
    display: block;
    margin-bottom: 6px;
}

.highlight-item .hi-label {
    font-size: 0.85rem;
    color: var(--sky);
}

.contact-page {
    background-color: var(--bg);
}

.map-section {
    background-color: var(--bg);
    padding: 48px 0 64px;
}

.map-section .section-title {
    margin-bottom: 0;
}

.map-note {
    text-align: center;
    color: var(--sky);
    font-size: 1.05rem;
    margin: 10px auto 28px;
    max-width: 620px;
}

.map-wrapper {
    position: relative;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 55%;
    border-radius: 8px;
    overflow: hidden;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-pixel);
    font-size: 1.8rem;
    color: var(--yellow);
    margin-bottom: 28px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background-color: var(--blue-mid);
    border: 2px solid var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-text strong {
    display: block;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.contact-item-text a,
.contact-item-text span {
    color: var(--sky);
    font-size: 1rem;
}

.contact-item-text a:hover {
    color: var(--white);
}

.contact-area-link {
    text-decoration: none;
}

.contact-area-link:hover {
    text-decoration: underline;
}

.contact-avatar {
    margin-top: 32px;
    text-align: center;
}

.contact-avatar img {
    height: 200px;
    width: auto;
    filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.4));
}

.contact-form h2 {
    font-family: var(--font-pixel);
    font-size: 1.8rem;
    color: var(--yellow);
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--sky);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-3);
    border: 2px solid var(--blue-mid);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.2s;
    outline: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--blue-soft);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--yellow);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group select option {
    background-color: var(--bg-3);
    color: var(--white);
}

.form-notice {
    font-size: 0.82rem;
    color: var(--blue-soft);
    margin-top: 12px;
    line-height: 1.5;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.form-success {
    color: #6fcf97;
    font-weight: 600;
    margin-bottom: 12px;
}

.form-error {
    color: var(--red);
    font-weight: 600;
    margin-bottom: 12px;
}

.legal-page {
    background-color: var(--bg);
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-pixel);
    font-size: 1.7rem;
    color: var(--yellow);
    margin: 36px 0 16px;
    line-height: 1.6;
}

.legal-content h3 {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin: 24px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.legal-content p {
    color: var(--sky);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.legal-content ul {
    color: var(--sky);
    margin: 0 0 16px 24px;
    line-height: 1.8;
    font-size: 0.95rem;
    list-style: disc;
}

.legal-content ul li {
    margin-bottom: 6px;
}

.legal-content strong {
    color: var(--white);
    font-weight: 700;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 0.92rem;
}

.legal-table th {
    background-color: var(--blue-mid);
    color: var(--white);
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
}

.legal-table td {
    color: var(--sky);
    padding: 10px 14px;
    border-bottom: 1px solid var(--blue);
    vertical-align: top;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:nth-child(even) td {
    background-color: rgba(255,255,255,0.03);
}

.withdrawal-box {
    background-color: var(--bg-3);
    border: 2px solid var(--blue-mid);
    border-radius: 8px;
    padding: 32px;
    margin: 32px 0 40px;
}

.withdrawal-box h3 {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    color: var(--yellow);
    margin-bottom: 12px;
    line-height: 1.5;
}

.withdrawal-box > p {
    color: var(--sky);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.withdrawal-download {
    display: inline-block;
    margin-bottom: 28px;
}

.withdrawal-template {
    border-left: 3px solid var(--blue-mid);
    padding: 16px 20px;
    margin-top: 8px;
}

.withdrawal-template p {
    color: var(--sky);
    font-size: 0.92rem;
    line-height: 1.9;
    margin-bottom: 4px;
}

.cookie-settings-page {
    background-color: var(--bg-3);
    border: 2px solid var(--blue-mid);
    padding: 40px;
    max-width: 640px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    margin: 40px 0;
}

.cookie-settings-page h2 {
    font-family: var(--font-pixel);
    font-size: 1.7rem;
    color: var(--yellow);
    margin-bottom: 28px;
    line-height: 1.6;
}

.cookie-category {
    border-bottom: 1px solid var(--blue-mid);
    padding: 20px 0;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 16px;
}

.cookie-category-header h3 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.cookie-category p {
    font-size: 0.85rem;
    color: var(--blue-soft);
    line-height: 1.5;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--blue-mid);
    transition: background 0.2s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--red);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.55;
    cursor: default;
}

.cookie-settings-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-2);
    border-top: 3px solid var(--blue-mid);
    padding: 20px 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 0 var(--bg-3);
}

.cookie-text {
    flex: 1;
    min-width: 260px;
    font-size: 0.87rem;
    color: var(--sky);
    line-height: 1.6;
}

.cookie-text a {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(1,11,46,0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.visible {
    display: flex;
}

.cookie-modal-inner {
    background-color: var(--bg-3);
    border: 3px solid var(--blue-mid);
    padding: 40px;
    max-width: 560px;
    width: 100%;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-inner h2 {
    font-family: var(--font-pixel);
    font-size: 1.8rem;
    color: var(--yellow);
    margin-bottom: 24px;
    line-height: 1.6;
}

.cookie-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.faq-page {
    background-color: var(--bg);
}

.error-page {
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
    padding: 80px 0 100px;
    text-align: center;
}

.error-page .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.error-page-avatar {
    height: 200px;
    width: auto;
    filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.5));
}

.error-page-title {
    font-family: var(--font-pixel);
    font-size: 3.2rem;
    color: var(--white);
    text-shadow: 2px 2px 0 var(--blue-mid);
    line-height: 1.2;
}

.error-page-text {
    color: var(--sky);
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .error-page-avatar {
        height: 130px;
    }

    .error-page-title {
        font-size: 2.2rem;
    }
}

.page-hero-split .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.page-hero-text {
    max-width: 560px;
}

.page-hero-avatar {
    flex-shrink: 0;
}

.page-hero-avatar img {
    height: 280px;
    width: auto;
    filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.5));
}

.faq-group {
    margin-bottom: 52px;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group-header {
    background: linear-gradient(90deg, var(--blue-mid), var(--blue));
    padding: 16px 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid var(--blue-mid);
}

.faq-group-header h2 {
    font-family: var(--font-pixel);
    font-size: 1.7rem;
    color: var(--yellow);
    text-transform: uppercase;
    line-height: 1.5;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background-color: var(--bg-3);
    border: 2px solid var(--blue-mid);
    padding: 20px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.faq-item:hover {
    border-color: var(--yellow);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
}

.faq-num {
    font-family: var(--font-pixel);
    font-size: 1.8rem;
    color: var(--yellow);
    line-height: 1;
    min-width: 32px;
    text-align: right;
    flex-shrink: 0;
    padding-top: 2px;
}

.faq-body {
    flex: 1;
}

.faq-q {
    font-weight: 700;
    color: var(--white);
    font-size: 0.97rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.faq-a {
    color: var(--sky);
    font-size: 0.93rem;
    line-height: 1.75;
}

.faq-link {
    color: var(--yellow);
    font-weight: 600;
}

.faq-link:hover {
    color: var(--orange);
}

footer {
    background-color: var(--bg-3);
    border-top: 3px solid var(--blue-mid);
    padding-top: 52px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo img {
    height: 48px;
    width: auto;
    margin-bottom: 14px;
    display: block;
}

.footer-logo p {
    color: var(--blue-soft);
    font-size: 0.87rem;
    line-height: 1.65;
    max-width: 220px;
}

.footer-col h3 {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    color: var(--yellow);
    margin-bottom: 18px;
    text-transform: uppercase;
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: var(--blue-soft);
    font-size: 0.92rem;
}

.footer-col ul li a {
    color: var(--blue-soft);
    font-size: 0.92rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--blue-mid);
    padding: 16px 0;
    text-align: center;
    color: var(--blue-soft);
    font-size: 0.8rem;
}

.footer-bottom-link {
    color: inherit;
    text-decoration: none;
}

.footer-bottom-link:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--blue-mid);
    border-radius: 6px;
    color: var(--blue-soft);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
    color: var(--yellow);
    border-color: var(--yellow);
    background: rgba(252, 195, 108, 0.08);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 860px) {
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-avatar img {
        height: 200px;
    }

    .hero-bubble {
        top: -100px;
        left: auto;
        right: -10px;
        width: 110px;
    }

    .page-hero-split .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .page-hero-avatar img {
        height: 80px;
    }

    .about-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-page .about-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-cta .container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg);
        flex-direction: column;
        border-top: 2px solid var(--blue-mid);
        padding: 12px 0;
        border-bottom: 2px solid var(--blue-mid);
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 12px 24px;
        border: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .price-table td {
        padding: 12px 14px;
        font-size: 0.87rem;
    }

    .price-table td:last-child {
        font-size: 0.9rem;
    }

    .cookie-settings-page {
        padding: 24px 20px;
    }

    section {
        padding: 56px 0;
    }

    .about-highlights {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-bubble {
        width: 90px;
        top: -85px;
        right: -5px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 11px 20px;
        font-size: 0.9rem;
    }

    .header-top .container {
        gap: 12px;
        font-size: 0.75rem;
    }

    .cookie-modal-inner {
        padding: 24px 18px;
    }
}
