:root {
    --ink: #1f2630;
    --muted: #5b6471;
    --line: #d6dce2;
    --bg: #f4f7fb;
    --bg-deep: #0f2133;
    --brand: #1f3c52;
    --brand-soft: #2f5f7f;
    --accent: #be6a15;
    --surface: #ffffff;
    --radius: 14px;
    --shadow: 0 14px 32px rgba(12, 28, 44, 0.12);
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 14% 14%, #ffffff 0%, #eef2f7 44%, #e4ebf3 100%);
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 10px;
}

a {
    color: var(--brand);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(10px);
    background: rgba(244, 247, 251, 0.9);
    border-bottom: 1px solid rgba(31, 60, 82, 0.14);
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
}

.brand-logo {
    display: block;
    height: 44px;
    width: auto;
    object-fit: contain;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 1.1rem;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
}

.header-search {
    display: flex;
    gap: 0.35rem;
}

.header-search input {
    width: 140px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
}

.header-search button,
.button {
    border: none;
    border-radius: 999px;
    padding: 0.58rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.button {
    text-decoration: none;
    display: inline-block;
}

.button-primary,
.header-search button {
    background: linear-gradient(150deg, var(--brand), #13314a);
    color: #fff;
}

.button-ghost {
    background: rgba(19, 49, 74, 0.08);
    color: var(--brand);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 5.8rem 0 4.5rem;
    background: linear-gradient(130deg, #122638 0%, #1b3a54 46%, #2b5a76 100%);
    color: #f5f8fb;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 86% 18%, rgba(244, 159, 66, 0.38), transparent 34%);
    animation: pulse 10s ease-in-out infinite;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.77rem;
    color: #e8c191;
}

h1,
h2,
h3 {
    font-family: "Fraunces", Georgia, serif;
    line-height: 1.15;
    margin-top: 0;
}

.hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    margin: 0.6rem 0 1rem;
}

.hero-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

.hero-image-card,
.panel,
.card,
.rental-block,
.kpi,
.media-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-image-card {
    color: var(--ink);
    padding: 0.9rem;
}

.hero-image-card figcaption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.page-head {
    padding: 4rem 0 2rem;
}

.page-head h1 {
    margin-bottom: 0.4rem;
}

.section {
    padding: 2rem 0 3rem;
}

.section-toned {
    background: linear-gradient(180deg, rgba(31, 60, 82, 0.07), rgba(31, 60, 82, 0.01));
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.panel,
.card,
.kpi {
    padding: 1.2rem;
}

.panel ul,
.rental-block ul,
.legal-text ul {
    margin: 0.6rem 0 0 1rem;
}

.cards-grid,
.kpi-grid,
.gallery-grid {
    display: grid;
    gap: 1rem;
}

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

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

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

.gallery-item {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.rental-block {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1rem;
    padding: 0.9rem;
    margin-bottom: 1rem;
}

.logo-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    align-items: center;
    gap: 1rem;
}

.logo-strip img {
    max-height: 64px;
    object-fit: contain;
    background: #fff;
    padding: 0.5rem;
    border: 1px solid var(--line);
}

.contact-form .field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.6rem 0.7rem;
    font: inherit;
}

.checkline {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.error {
    color: #b52f2f;
    font-size: 0.85rem;
}

.search-results {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.search-results li {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.9rem;
}

.flash-wrap {
    margin-top: 0.7rem;
}

.flash {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid;
    margin-bottom: 0.5rem;
}

.flash.success {
    background: #ecf8f0;
    border-color: #6fb783;
}

.flash.error {
    background: #fdf0f0;
    border-color: #d27878;
}

.flash-close {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
}

.site-footer {
    background: var(--bg-deep);
    color: #e4edf6;
    margin-top: 3rem;
    padding: 2.4rem 0 1rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.footer-grid ul {
    margin: 0;
    padding-left: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(228, 237, 246, 0.24);
    margin-top: 1.2rem;
    padding-top: 1rem;
    font-size: 0.92rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(4, 10, 16, 0.9);
    display: grid;
    place-items: center;
    padding: 1rem;
    touch-action: pan-y;
}

.lightbox[hidden] {
    display: none;
}

.lightbox figure {
    margin: 0;
    max-width: min(980px, 95vw);
    width: 100%;
}

.lightbox img {
    max-height: 78vh;
    width: auto;
    margin: 0 auto;
}

.lightbox-caption {
    color: #e4edf6;
    text-align: center;
    margin-top: 0.7rem;
}

#lightbox-caption {
    color: #e4edf6;
    text-align: center;
    margin-top: 0.7rem;
    font-size: 0.95rem;
}

.lightbox-index {
    color: #cfd9e6;
    text-align: center;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    border-radius: 999px;
    width: 2.3rem;
    height: 2.3rem;
    background: #fff;
    cursor: pointer;
    z-index: 2;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    border-radius: 999px;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #102538;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.lightbox-nav.prev {
    left: 1rem;
}

.lightbox-nav.next {
    right: 1rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: #ffffff;
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    outline: 2px solid #f2b370;
    outline-offset: 2px;
}

.menu-button {
    display: none;
    border: none;
    background: none;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    margin: 0.28rem 0;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% { opacity: 0.45; }
    50% { opacity: 0.78; }
    100% { opacity: 0.45; }
}

@media (max-width: 980px) {
    .hero-grid,
    .split-grid,
    .rental-block,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-shell {
        grid-template-columns: auto auto;
        grid-template-areas:
            "brand menu"
            "nav nav"
            "search search";
    }

    .brand {
        grid-area: brand;
    }

    .menu-button {
        display: block;
        grid-area: menu;
        justify-self: end;
    }

    .primary-nav {
        grid-area: nav;
        display: none;
    }

    .primary-nav.open {
        display: block;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem 0;
    }

    .header-search {
        grid-area: search;
        width: 100%;
    }

    .header-search input {
        width: 100%;
    }

    .lightbox-nav {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1120px, 94vw);
    }

    .page-head {
        padding: 3rem 0 1.2rem;
    }

    .brand-logo {
        height: 38px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .lightbox {
        padding: 0.75rem;
    }

    .lightbox img {
        max-height: 68vh;
    }

    .lightbox-close {
        width: 2.6rem;
        height: 2.6rem;
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.1rem;
    }

    .lightbox-nav {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1.6rem;
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .lightbox-nav.prev {
        left: 0.75rem;
    }

    .lightbox-nav.next {
        right: 0.75rem;
    }

    #lightbox-caption {
        font-size: 0.88rem;
        margin-top: 0.55rem;
    }

    .lightbox-index {
        font-size: 0.78rem;
        margin-top: 0.25rem;
    }
}
