:root {
    --bg: #edf0f3;
    --panel: #ffffff;
    --panel-alt: #f6f8fb;
    --navy: #12324c;
    --navy-2: #1d4b6a;
    --steel: #68829a;
    --silver: #d8e2ec;
    --gold: #d0a86b;
    --gold-deep: #b98b46;
    --text: #1c2d3b;
    --muted: #586c7b;
    --border: rgba(18, 50, 76, 0.12);
    --shadow: 0 20px 42px rgba(18, 50, 76, 0.12);
    --shadow-soft: 0 14px 28px rgba(18, 50, 76, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #eef2f5 0%, #e7edf2 100%);
    color: var(--text);
    line-height: 1.7;
}

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

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: rgba(17, 48, 68, 0.97);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 96px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.brand img {
    width: 180px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, opacity 0.2s ease;
}

nav a:hover,
nav a.active {
    color: #ffffff;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    background: linear-gradient(135deg, #153a57 0%, #1b4d73 42%, #2d678d 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slider {
    position: relative;
    min-height: 720px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 28, 36, 0.72) 0%, rgba(17, 28, 36, 0.58) 35%, rgba(17, 28, 36, 0.2) 100%),
        linear-gradient(180deg, rgba(17, 28, 36, 0.06), rgba(17, 28, 36, 0.34));
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 42px;
    align-items: center;
    min-height: 720px;
    padding-top: 84px;
    padding-bottom: 72px;
}

.eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--silver);
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
    max-width: 680px;
    margin-bottom: 26px;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #1d1a17;
    box-shadow: 0 14px 28px rgba(202, 165, 105, 0.22);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    background: rgba(255, 255, 255, 0.04);
}

.slider-controls {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: min(1180px, calc(100% - 48px));
}

.slider-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(10, 20, 31, 0.38);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: rgba(10, 20, 31, 0.6);
    transform: translateY(-1px);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 20, 31, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 8px 14px;
    backdrop-filter: blur(8px);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dot.is-active {
    background: var(--gold);
    transform: scale(1.15);
}

.hero-card {
    background: rgba(18, 30, 40, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(9, 18, 28, 0.18);
}

.hero-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.stat-list {
    display: grid;
    gap: 18px;
}

.stat-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item strong {
    display: block;
    color: white;
    font-size: 1.7rem;
    margin-bottom: 4px;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

main {
    padding: 78px 0;
}

section {
    margin-bottom: 78px;
}

.section-head {
    text-align: center;
    margin-bottom: 38px;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.section-head p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

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

.card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
}

.card h3 {
    color: var(--navy);
    margin-bottom: 12px;
    font-size: 1.35rem;
}

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

.feature-band {
    background: linear-gradient(180deg, rgba(16, 43, 67, 0.04), rgba(16, 43, 67, 0.01));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 26px 0;
}

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

.list-item {
    background: linear-gradient(180deg, #ffffff 0%, #f8f5f0 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 18px;
    color: var(--navy);
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(20, 42, 61, 0.04);
}

.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.article {
    background: linear-gradient(180deg, #ffffff 0%, #f8f6f2 100%);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.article h3,
.info-box h3 {
    color: var(--navy);
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.article p,
.article li,
.info-box p,
.info-box li {
    color: var(--muted);
    margin-bottom: 12px;
}

.info-box {
    background: linear-gradient(180deg, #183c58 0%, #12324c 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px 26px;
    box-shadow: 0 24px 46px rgba(18, 50, 76, 0.12);
}

.info-box h3,
.info-box p,
.info-box li,
.info-box strong,
.info-box a {
    color: white;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box li:last-child {
    border-bottom: none;
}

.page-hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(18, 50, 76, 0.92), rgba(31, 75, 109, 0.8)),
        url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
    color: white;
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(202, 165, 105, 0.12), transparent 50%);
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.3rem);
    letter-spacing: -0.04em;
    margin-bottom: 14px;
    color: #fdfaf6;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.84);
    max-width: 700px;
}

.legal-box,
.contact-box,
.service-feature {
    background: linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.legal-box h3,
.contact-box h3,
.service-feature h3 {
    color: var(--navy);
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.legal-box p,
.legal-box li,
.contact-box p,
.contact-box li,
.service-feature p,
.service-feature li {
    color: var(--muted);
}

.legal-box ul,
.contact-box ul,
.service-feature ul {
    margin-left: 18px;
    margin-bottom: 12px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: var(--navy);
    font-weight: 600;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    font: inherit;
    background: white;
}

.field textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    color: white;
    padding: 15px 24px;
    border-radius: 999px;
    font-weight: 700;
    width: fit-content;
    box-shadow: 0 14px 28px rgba(13, 36, 56, 0.18);
}

footer {
    background: linear-gradient(180deg, #102d47 0%, #0c2439 100%);
    color: rgba(255, 255, 255, 0.82);
    padding: 42px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr;
    gap: 22px;
    margin-bottom: 24px;
}

.footer-brand h4,
.footer-links h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
    .hero-inner,
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand img {
        width: 150px;
    }
}

@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 18px 0 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 22px;
    }

    .hero {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-head h2 {
        font-size: 2.1rem;
    }
}
