:root {
    --color-primary-900: #0A1B2E;
    --color-primary-700: #10294A;
    --color-primary-600: #3C6CB0;
    --color-primary-500: #1D5FA6;
    --color-primary-400: #046CF0;
    --color-accent-500: #F88C1C;
    --color-neutral-900: #101828;
    --color-neutral-700: #344054;
    --color-neutral-600: #475467;
    --color-neutral-500: #5F6B7C;
    --color-neutral-200: #D0D5DD;
    --color-neutral-100: #F2F4F7;
    --color-neutral-050: #F5F7FB;
    --color-white: #ffffff;

    --shadow-soft: 0 18px 40px rgba(10, 27, 46, 0.16);
    --shadow-card: 0 12px 28px rgba(16, 41, 74, 0.12);
    --shadow-overlay: 0 30px 60px rgba(16, 24, 40, 0.35);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;

    --container-max: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-neutral-900);
    line-height: 1.65;
    background: var(--color-white);
}

img,
video {
    display: block;
    max-width: 100%;
    border-radius: var(--radius-md);
}

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

a:hover {
    color: var(--color-primary-500);
}

.container {
    width: min(100% - 2.5rem, var(--container-max));
    margin-inline: auto;
}

h1,
h2,
h3,
h4 {
    font-family: "Lexend", "Inter", sans-serif;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    color: var(--color-neutral-900);
}

p {
    margin: 0 0 1rem;
    color: var(--color-neutral-500);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lead {
    font-size: 1.1rem;
    color: var(--color-neutral-600, var(--color-neutral-500));
}

.lead--light {
    color: rgba(255, 255, 255, 0.82);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(4, 108, 240, 0.12);
    color: var(--color-primary-500);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.badge--accent {
    background: rgba(248, 140, 28, 0.18);
    color: var(--color-accent-500);
}

.badge--light {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-pill);
    font-family: "Lexend", sans-serif;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary-400), var(--color-primary-600));
    color: #fff;
    box-shadow: var(--shadow-card);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 45px rgba(4, 108, 240, 0.3);
}

.btn--outline {
    border: 1px solid rgba(4, 108, 240, 0.4);
    color: var(--color-primary-600);
    background: transparent;
}

.btn--outline:hover {
    background: rgba(4, 108, 240, 0.08);
}

.btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
}

.btn--ghost-light {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.text-link {
    color: var(--color-primary-500);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.text-link::after {
    content: \"\\f061\";
    font-family: \"Font Awesome 6 Free\";
    font-weight: 900;
    font-size: 0.8em;
}

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

.chip {
    border: 1px solid rgba(16, 41, 74, 0.2);
    border-radius: var(--radius-pill);
    background: transparent;
    padding: 0.45rem 0.95rem;
    font-weight: 600;
    font-family: "Lexend", sans-serif;
    cursor: pointer;
    transition: background var(--transition);
}

.chip--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
}

.utility-bar {
    background: var(--color-primary-900);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
}

.utility-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
}

.utility-bar__info,
.utility-bar__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.utility-bar__divider {
    opacity: 0.4;
}

.utility-bar__link {
    color: var(--color-accent-500);
    font-weight: 600;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 27, 46, 0.9);
    backdrop-filter: blur(12px);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.9rem 0;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
}

.brand__mark {
    font-size: 1.1rem;
    letter-spacing: 0.25em;
}

.brand__tagline {
    font-size: 0.65rem;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav {
    position: relative;
}

.nav a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 26px;
    height: 2px;
    background: #fff;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero {
    background: linear-gradient(135deg, #F5F7FB 0%, #ffffff 60%);
    padding: 4rem 0;
}

.hero__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero__bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    color: var(--color-neutral-700);
}

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

.hero__stat {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary-600);
}

.hero__media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__poster {
    display: none;
}

.hero__media-overlay {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    padding: 0.75rem 1rem;
    background: rgba(10, 27, 46, 0.75);
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.hero__weather {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero__weather strong {
    font-size: 1.8rem;
    color: var(--color-primary-600);
}

.hero__weather ul {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.metrics {
    padding: 1.5rem 0 3rem;
}

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

.metric-card {
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.metric-card__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-neutral-500);
}

.metric-card__value {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary-600);
}

.section {
    padding: 4rem 0;
}

.section--light {
    background: var(--color-white);
}

.section--pale {
    background: var(--color-neutral-050);
}

.section--gallery {
    background: #0f1f36;
    color: #fff;
}

.section--gallery p {
    color: rgba(255, 255, 255, 0.85);
}

.section--dark {
    background: linear-gradient(135deg, var(--color-primary-900), #071120);
    color: #fff;
}

.section__split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.section__intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section__media img {
    width: 100%;
}

.section__media--glow img {
    box-shadow: var(--shadow-overlay);
}

.section__media figcaption {
    font-size: 0.85rem;
    color: inherit;
    margin-top: 0.75rem;
}

.section__content .list {
    margin-bottom: 1.75rem;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.list--check li {
    position: relative;
    padding-left: 1.6rem;
}

.list--check li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-primary-400);
    position: absolute;
    left: 0;
    top: 0;
}

.list--bullet li {
    position: relative;
    padding-left: 1.25rem;
}

.list--bullet li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--color-primary-500);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.6rem;
}

.gallery--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery__item img,
.gallery__slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.gallery--slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gallery__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
}

.gallery__slide {
    scroll-snap-align: start;
}

.gallery__control {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.amenity-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.amenity-card i {
    font-size: 1.5rem;
    color: var(--color-primary-500);
    margin-bottom: 0.5rem;
}

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

.stats__value {
    font-size: 2rem;
    font-weight: 600;
}

.stats__label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.climate {
    background: var(--color-primary-900);
    color: #fff;
    padding: 2.5rem 0;
}

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

.climate__inner > div {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.portfolio {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.portfolio__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 1rem 0;
}

.portfolio-card {
    scroll-snap-align: start;
}

.portfolio-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.portfolio-card img {
    height: 60px;
    object-fit: contain;
    margin-inline: auto;
}

.portfolio__control {
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(4, 108, 240, 0.1);
    color: var(--color-primary-500);
    cursor: pointer;
}

.tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tab {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(4, 108, 240, 0.3);
    background: transparent;
    cursor: pointer;
    font-family: "Lexend", sans-serif;
}

.tab--active {
    background: var(--color-primary-500);
    color: #fff;
    border-color: var(--color-primary-500);
}

.plan-panel {
    display: none;
}

.plan-panel--active {
    display: block;
}

.plan-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    max-width: 640px;
    margin: 0 auto;
}

.plan-card ul {
    margin-bottom: 1.25rem;
}

.cta {
    background: linear-gradient(120deg, var(--color-primary-600), var(--color-primary-400));
    color: #fff;
    padding: 3rem 0;
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.contact__form {
    display: grid;
    gap: 1.25rem;
}

.contact__form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--color-neutral-700);
}

.contact__form input,
.contact__form select,
.contact__form textarea {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-neutral-200);
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 1rem;
}

.contact__span {
    grid-column: span 2;
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-neutral-500);
}

.site-footer {
    background: var(--color-primary-900);
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 0 2rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.site-footer__grid a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__meta {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.socials {
    display: flex;
    gap: 0.75rem;
}

.socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.floating-cta {
    position: fixed;
    right: 1.5rem;
    bottom: 4.5rem;
    padding: 0.9rem 1.4rem;
    background: var(--color-accent-500);
    color: #101828;
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: var(--shadow-card);
    z-index: 60;
}

.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary-600);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition);
    transform: translateY(10px);
    z-index: 70;
}

.scroll-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform-origin: left;
    transform: scaleX(0);
    background: var(--color-primary-400);
    z-index: 80;
}

[data-animate="slide-up"] {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

[data-animate="fade-in"] {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

html[data-theme="dark"],
html[data-theme="dark"] body {
    background: #020b16;
    color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .section--light,
html[data-theme="dark"] .section--pale,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .amenity-card,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .hero__weather,
html[data-theme="dark"] .contact__form input,
html[data-theme="dark"] .contact__form select,
html[data-theme="dark"] .contact__form textarea,
html[data-theme="dark"] .portfolio-card {
    background: rgba(10, 27, 46, 0.7);
    color: #fff;
    border: 1px solid rgba(4, 108, 240, 0.2);
}

html[data-theme="dark"] .contact__form input,
html[data-theme="dark"] .contact__form select,
html[data-theme="dark"] .contact__form textarea {
    border-color: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .hero {
    background: rgba(3, 14, 28, 0.95);
}

@media (max-width: 992px) {
    .site-header__inner {
        flex-wrap: wrap;
    }

    .nav__toggle {
        display: flex;
    }

    .nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 27, 46, 0.97);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        transform: translateY(-200%);
        transition: transform var(--transition);
    }

    .nav ul.nav--open {
        transform: translateY(0);
    }

    .site-header__actions {
        width: 100%;
        justify-content: flex-end;
    }

    .hero__inner,
    .section__split,
    .contact,
    .cta__inner {
        grid-template-columns: 1fr;
    }

    .hero__video {
        display: none;
    }

    .hero__poster {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

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

@media (max-width: 768px) {
    .utility-bar__inner {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

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

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

    .cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .contact__span {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .gallery__track,
    .portfolio__track {
        grid-auto-columns: 85%;
    }

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

    .floating-cta {
        right: 1rem;
        bottom: 1rem;
    }

    .scroll-top {
        right: 1rem;
        bottom: 1rem;
    }
}
