﻿:root {
    --ink: #102022;
    --muted: #526365;
    --line: #d9e2df;
    --paper: #ffffff;
    --soft: #f3f7f6;
    --deep: #053b3a;
    --blue: #0b468a;
    --accent: #ffc552;
    --accent-strong: #f2a900;
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
    background: var(--paper);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 4vw, 56px);
    color: #fff;
    background: rgba(3, 25, 25, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #142020;
    font-weight: 800;
    background: var(--accent);
    border-radius: 8px;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    font-size: 14px;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.nav-portal-btn {
    margin-left: 8px;
    padding: 7px 14px !important;
    background: var(--accent) !important;
    color: #142020 !important;
    border-radius: 6px;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

.nav-portal-btn:hover {
    background: var(--accent-strong) !important;
}

.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    overflow: hidden;
}

.lang-switcher .lang-opt,
.lang-switcher .lang-current {
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
}

.lang-switcher .lang-opt {
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-switcher .lang-opt:first-child {
    border-left: none;
}

.lang-switcher .lang-opt:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.lang-switcher .lang-current {
    color: #142020;
    background: var(--accent);
    cursor: default;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: transparent;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.hero {
    position: relative;
    min-height: 720px;
    padding: 150px clamp(20px, 5vw, 72px) 42px;
    color: #fff;
    background: #061f20;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 5, 5, 0.78), rgba(2, 5, 5, 0.66)), url('../img/bg.jpg') center / cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(44px, 7vw, 78px);
    line-height: 1.04;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.1;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.25;
}

.hero-lead {
    max-width: 700px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.hero-actions,
.cta .button {
    display: inline-flex;
}

.hero-actions {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.button {
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 800;
}

.button-primary {
    color: #152021;
    background: var(--accent);
}

.button-primary:hover {
    background: var(--accent-strong);
}

.button-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.service-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0;
    max-width: var(--max);
    margin: 88px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.service-tile.compact {
    min-height: 148px;
    padding: 28px 18px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(3, 25, 25, 0.28);
}

.service-tile.compact:hover {
    background: rgba(255, 197, 82, 0.12);
}

.service-tile.compact:last-child {
    border-right: 0;
}

.service-tile img,
.service-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.service-tile img {
    filter: invert(84%) sepia(45%) saturate(814%) hue-rotate(341deg) brightness(103%) contrast(101%);
}

.service-tile h2 {
    margin: 0;
    font-size: 18px;
}

.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 88px clamp(20px, 4vw, 32px);
}

.split,
.reasons,
.process-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.section-image img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.section-copy p {
    color: var(--muted);
}

.section-copy strong {
    color: var(--ink);
}

.centered {
    max-width: 740px;
    margin: 0 auto 42px;
    text-align: center;
}

.cards {
    display: grid;
    gap: 18px;
}

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

.card {
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.card p {
    margin-bottom: 0;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 800;
}

.text-link:hover {
    color: var(--deep);
}

.service-card {
    text-align: center;
}

.process-section {
    max-width: none;
    background: var(--soft);
}

.process-section > * {
    max-width: 560px;
}

.process-section .wide {
    justify-self: end;
    padding-left: clamp(20px, 5vw, 72px);
}

.timeline {
    display: grid;
    gap: 18px;
    padding-right: clamp(20px, 5vw, 72px);
}

.timeline-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    align-items: start;
}

.timeline-item span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--deep);
    font-weight: 800;
    border-radius: 50%;
    background: #e6f2f1;
}

.timeline-item p {
    margin-bottom: 0;
    color: var(--muted);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #0b468a;
}

.stats div {
    padding: 42px 20px;
    color: #fff;
    text-align: center;
    background: #0b468a;
}

.stats strong,
.stats span {
    display: block;
}

.stats strong {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1;
}

.stats span {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.reason-grid {
    grid-template-columns: repeat(2, 1fr);
}

.reason-card:nth-child(1),
.reason-card:nth-child(4) {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.reason-card:nth-child(1) p,
.reason-card:nth-child(4) p {
    color: rgba(255, 255, 255, 0.82);
}

.cta {
    display: block;
    min-height: 460px;
    padding: 90px 20px;
    color: #fff;
    background: linear-gradient(180deg, rgba(3, 18, 20, 0.72), rgba(3, 18, 20, 0.72)), url('../img/bg.jpg') center / cover fixed;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
    gap: clamp(32px, 6vw, 72px);
    max-width: var(--max);
    margin: 0 auto;
    align-items: start;
}

.cta p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.contact-details {
    display: grid;
    gap: 8px;
    margin-top: 28px;
    font-size: 18px;
    font-weight: 700;
}

.contact-details a {
    color: #fff;
}

.contact-form {
    display: grid;
    gap: 14px;
    padding: 28px;
    color: var(--ink);
    text-align: left;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #203437;
    font-size: 14px;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--ink);
    font: inherit;
    border: 1px solid #c9d5d2;
    border-radius: 6px;
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(255, 197, 82, 0.34);
    border-color: var(--accent-strong);
}

.form-note {
    margin: 0;
    color: var(--muted) !important;
    font-size: 13px !important;
}

.form-message {
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 700;
}

.form-message.success {
    color: #0d4b30;
    background: #dff4e9;
}

.form-message.error {
    color: #7a1c1c;
    background: #ffe4e4;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 34px clamp(20px, 5vw, 72px);
    color: rgba(255, 255, 255, 0.76);
    background: #071819;
}

.site-footer strong {
    color: #fff;
}

.site-footer p {
    margin: 6px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.footer-links a:hover {
    color: #fff;
}

.legal-hero {
    min-height: 360px;
}

.legal-content {
    max-width: 860px;
}

.legal-content h2 {
    margin-top: 34px;
    font-size: 28px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content a {
    color: var(--blue);
    font-weight: 800;
}

.subhero {
    min-height: 440px;
    padding: 148px clamp(20px, 5vw, 72px) 72px;
    color: #fff;
    background: linear-gradient(180deg, rgba(3, 18, 20, 0.78), rgba(3, 18, 20, 0.7)), url('../img/bg.jpg') center / cover;
}

.subhero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.subhero h1 {
    max-width: 780px;
}

.subhero p:not(.eyebrow) {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.back-link:hover {
    color: #fff;
}

.service-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(36px, 6vw, 72px);
    align-items: start;
}

.detail-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-bottom: 22px;
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--muted);
}

.check-list li::before {
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    content: "";
    border-radius: 50%;
    background: var(--accent);
}

.detail-aside {
    display: grid;
    gap: 18px;
}

.detail-aside > img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.aside-panel {
    padding: 26px;
    border-radius: 8px;
    background: var(--soft);
}

.aside-panel h2 {
    font-size: 26px;
}

.aside-panel .button {
    display: inline-flex;
    margin-top: 8px;
}

.mini-gallery {
    padding-top: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 980px) {
    .service-strip,
    .four-columns,
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .split,
    .reasons,
    .process-section,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .service-detail {
        grid-template-columns: 1fr;
    }

    .process-section .wide,
    .timeline {
        justify-self: stretch;
        max-width: var(--max);
        padding-left: clamp(20px, 5vw, 32px);
        padding-right: clamp(20px, 5vw, 32px);
        margin: 0 auto;
    }
}

@media (max-width: 740px) {
    .site-header {
        padding: 14px 18px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 73px;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        background: rgba(3, 25, 25, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 14px;
    }

    .lang-switcher {
        margin-left: 0;
        align-self: flex-start;
    }

    .lang-switcher .lang-opt,
    .lang-switcher .lang-current {
        padding: 8px 11px;
        font-size: 13px;
    }

    .hero {
        min-height: 760px;
        padding-top: 130px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .service-strip,
    .four-columns,
    .reason-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .service-tile.compact {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }

    .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .subhero {
        min-height: 380px;
        padding-top: 130px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-direction: column;
    }
}
