:root {
    --bg: #f4f7f7;
    --surface: #ffffff;
    --text: #142126;
    --muted: #53646b;
    --line: #d7e1e6;
    --primary: #0d5a5f;
    --primary-strong: #094247;
    --accent: #f3b61f;
    --dark: #0c1c22;
    --radius: 16px;
    --shadow: 0 16px 40px rgba(12, 28, 34, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Barlow", "Segoe UI", Tahoma, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 90% -10%, rgba(243, 182, 31, 0.2), transparent 42%),
        radial-gradient(circle at -10% 20%, rgba(13, 90, 95, 0.17), transparent 38%),
        var(--bg);
    line-height: 1.6;
}

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

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.section-space {
    padding: 84px 0;
}

.section-muted {
    background: linear-gradient(180deg, #ecf2f4 0%, #f9fbfc 100%);
}

.section-dark {
    background: linear-gradient(140deg, #0e2830, #17353c 55%, #1e444d);
    color: #f4f8fa;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    min-height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(12, 28, 34, 0.15);
}

.brand-text {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-nav {
    display: flex;
    gap: 8px;
}

.site-nav a {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--muted);
    transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a.is-active,
.site-nav a:hover {
    background: #e6f1f2;
    color: var(--primary-strong);
    text-decoration: none;
}

.hero {
    position: relative;
    min-height: 76vh;
    display: grid;
    align-items: center;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(8, 22, 26, 0.84), rgba(8, 22, 26, 0.58) 52%, rgba(8, 22, 26, 0.32)),
        repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 2px, transparent 2px, transparent 9px);
    z-index: -1;
}

.hero-content {
    color: #ffffff;
    padding: 86px 0;
    max-width: 780px;
    animation: fadeInUp 700ms ease both;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(243, 182, 31, 0.2);
    border: 1px solid rgba(243, 182, 31, 0.5);
    color: #ffd46c;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.hero h1 {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    line-height: 1.1;
}

.hero p {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #f1f6f8;
}

.hero-cta {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #222;
    box-shadow: 0 10px 24px rgba(243, 182, 31, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    line-height: 1.2;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.card {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(13, 90, 95, 0.08);
    transform: translateY(16px);
    animation: riseIn 600ms ease forwards;
}

.card:nth-child(2) {
    animation-delay: 80ms;
}

.card:nth-child(3) {
    animation-delay: 160ms;
}

.card:nth-child(4) {
    animation-delay: 240ms;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.14rem;
}

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

.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

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

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

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffe296, var(--accent));
    box-shadow: 0 0 0 4px rgba(243, 182, 31, 0.2);
}

.image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

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

.gallery-grid figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    min-height: 220px;
    border: 1px solid var(--line);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease;
}

.gallery-grid img:hover {
    transform: scale(1.06);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
    align-items: start;
}

.contact-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 20px;
}

.contact-box p {
    margin: 0 0 10px;
}

.contact-box a {
    color: #fce4a0;
}

.legal-container {
    width: min(900px, 92vw);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 10px 30px rgba(8, 22, 26, 0.08);
}

.legal h1 {
    margin-top: 0;
    margin-bottom: 24px;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.legal h2 {
    margin-top: 26px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.site-footer {
    background: #09161b;
    color: #d3e0e5;
    padding-top: 54px;
}

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

.site-footer h3 {
    margin-top: 0;
    color: #ffffff;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.site-footer a {
    color: #d3f5ff;
}

.footer-bottom {
    margin-top: 20px;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #90a7af;
    font-size: 0.95rem;
}

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

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

    .split-layout,
    .contact-wrap,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-wrap {
        min-height: auto;
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .hero {
        min-height: 68vh;
    }

    .hero-content {
        padding: 72px 0;
    }

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

    .legal-container {
        padding: 24px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes riseIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
