:root {
    --blue: #0056b7;
    --blue-dark: #004095;
    --blue-soft: #1a5fc1;
    --yellow: #ffcf21;
    --yellow-dark: #f0bc00;
    --white: #ffffff;
    --bg: #f3f7fc;
    --surface: #ffffff;
    --surface-alt: #eef4fb;
    --text: #17325c;
    --muted: #5e7ea8;
    --line: #d7e4f6;
    --shadow: 0 18px 40px rgba(4, 32, 84, 0.16);
    --card-shadow: 0 16px 28px rgba(0, 51, 122, 0.12);
    --container: 1240px;
    --radius: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

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

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(0, 51, 122, 0.86);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 24px rgba(0, 34, 79, 0.18);
}

.site-header.transparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
}

.header-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 1 1 auto;
}

.brand {
    font-size: 2.25rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.04em;
    color: var(--white);
    flex: 0 0 auto;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.98rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-main a {
    transition: color 0.2s ease;
}

.nav-main a:hover,
.nav-main a:focus-visible,
.nav-main a[aria-current="page"] {
    color: #d7ebff;
}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.search-box {
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.88);
}

.search-box.light {
    background: rgba(0, 86, 183, 0.08);
    color: var(--blue);
}

.search-box span {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
}

.search-icon::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 2px;
}

.login-button,
.button,
.info-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 20px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-button:hover,
.button:hover,
.info-action:hover,
.login-button:focus-visible,
.button:focus-visible,
.info-action:focus-visible {
    transform: translateY(-1px);
}

.login-button,
.button-primary,
.info-action {
    background: var(--yellow);
    color: #21406d;
    box-shadow: 0 12px 24px rgba(255, 207, 33, 0.24);
}

.button-secondary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(0, 86, 183, 0.20);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.login-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.hero-home {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(0, 60, 132, 0.10) 0%, rgba(0, 33, 79, 0.48) 72%, rgba(0, 24, 60, 0.68) 100%),
        url("https://images.unsplash.com/photo-1601322445587-3b999b0d4d2f?auto=format&fit=crop&w=1800&q=80")
        center center / cover no-repeat;
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 62, 145, 0.30) 0%, rgba(0, 72, 171, 0.08) 34%, rgba(0, 28, 69, 0.18) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 145px 0 42px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.84rem;
}

.headline {
    max-width: 660px;
    margin-bottom: 28px;
}

.headline h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.7rem);
    line-height: 0.95;
    margin-bottom: 16px;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.headline p {
    max-width: 560px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.92);
}

.page-hero {
    position: relative;
    padding: 150px 0 86px;
    color: var(--white);
    background: linear-gradient(135deg, #004095 0%, #0f66cc 100%);
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

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

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    line-height: 1;
    margin-bottom: 16px;
}

.page-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
}

.section {
    padding: 84px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-header span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.82rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    margin-bottom: 12px;
    color: #0d2f62;
}

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

.promo-row,
.grid-2,
.grid-3,
.grid-4,
.stats-grid,
.pricing-grid {
    display: grid;
    gap: 20px;
}

.promo-row {
    grid-template-columns: 1.05fr 1.05fr 1fr;
    gap: 12px;
    align-items: stretch;
}

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

.grid-3,
.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4,
.stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

.promo-card,
.card,
.info-card,
.price-card,
.stat-card,
.contact-card,
.table-wrap,
.timeline-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.promo-card {
    position: relative;
    overflow: hidden;
    min-height: 134px;
    padding: 26px 28px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-soft) 100%);
}

.promo-card::after {
    content: "";
    position: absolute;
    inset: auto -35px -45px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.promo-card.featured {
    border-bottom: 4px solid var(--yellow);
}

.promo-card h2 {
    max-width: 270px;
    font-size: 2rem;
    line-height: 1.02;
    margin: 8px 0 10px;
}

.promo-card p {
    max-width: 270px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.98rem;
    font-weight: 600;
}

.promo-card small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.promo-badge,
.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 800;
}

.promo-badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 1.5rem;
}

.card,
.info-card,
.price-card,
.stat-card,
.contact-card,
.timeline-card {
    padding: 28px;
}

.icon-box {
    margin-bottom: 18px;
    background: rgba(0, 86, 183, 0.08);
    color: var(--blue);
}

.card h3,
.info-card h3,
.price-card h3,
.contact-card h3,
.timeline-card h3 {
    margin-bottom: 10px;
    color: #103564;
    font-size: 1.24rem;
}

.card p,
.info-card p,
.price-card p,
.contact-card p,
.stat-card p {
    color: var(--muted);
}

.stat-card strong {
    display: block;
    margin-bottom: 8px;
    color: #0d2f62;
    font-size: 2rem;
}

.list {
    list-style: none;
    display: grid;
    gap: 12px;
}

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

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 5px rgba(255, 207, 33, 0.18);
}

.info-strip {
    padding: 38px 0;
    color: var(--white);
    background: linear-gradient(90deg, #0b4ea2 0%, #0e66cc 100%);
}

.info-strip-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.info-strip h3 {
    font-size: 1.7rem;
}

.info-strip p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.88);
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: #0d2f62;
    background: #f4f8fd;
    font-size: 0.95rem;
}

td {
    color: var(--muted);
}

tr:last-child td {
    border-bottom: 0;
}

.price-tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 183, 0.08);
    color: var(--blue);
    font-weight: 800;
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.timeline-item strong {
    display: block;
    margin-bottom: 6px;
    color: #0d2f62;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.field,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f9fbff;
    color: var(--text);
    font: inherit;
}

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

.field-full {
    grid-column: 1 / -1;
}

.floating-tab {
    position: fixed;
    top: 120px;
    right: 0;
    z-index: 20;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 16px 10px;
    border-radius: 18px 0 0 18px;
    background: var(--yellow);
    color: #14335f;
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(0, 44, 112, 0.22);
}

footer {
    padding: 30px 0 44px;
    color: #6d86aa;
    background: #eef4fb;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
}

.gallery-link::after {
    content: "Buyut";
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 45, 106, 0.72);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 800;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(7, 23, 52, 0.86);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-dialog {
    width: min(1000px, 100%);
    position: relative;
}

.lightbox-image {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 20px;
    background: #ffffff;
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -4px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--yellow);
    color: #17325c;
    font-size: 1.4rem;
    font-weight: 900;
    cursor: pointer;
}

.lightbox-caption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 700;
}

.video-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
}

.video-meta {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 183, 0.08);
    color: var(--blue);
    font-size: 0.84rem;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .nav-shell {
        flex-wrap: wrap;
        justify-content: center;
    }

    .promo-row,
    .grid-3,
    .grid-4,
    .stats-grid,
    .pricing-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .container {
        width: min(var(--container), calc(100% - 30px));
    }

    .nav-shell {
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-panel {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding-top: 16px;
    }

    .header-panel.is-open {
        display: flex;
    }

    .nav-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .nav-tools {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .search-box {
        width: 100%;
    }

    .hero-content {
        padding-top: 200px;
    }

    .headline h1 {
        line-height: 1;
    }

    .grid-2,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand {
        font-size: 1.9rem;
    }

    .headline p {
        font-size: 1rem;
    }

    .promo-card {
        min-height: 150px;
        padding: 24px 22px;
    }

    .promo-card h2 {
        font-size: 1.65rem;
    }

    .floating-tab {
        display: none;
    }
}
