@layer variable, reset, buttons, components;

/* #region ====== VARIABLE (layer) ====== */
    @layer variable {
        :root {
            color-scheme: light dark;

            /* container */
            --max-page: 100%;
            --content-max: 100%;
            --main-padding-x: var(--space-md);
            --section-padding-y: var(--space-2xl);

            /* fonts & font-size */
            --font-main: "Inter", sans-serif;
            --font-second: "Sora", sans-serif;

            --font-size-xs: 0.75rem;    /* 12px */
            --font-size-sm: 0.875rem;   /* 14px */
            --font-size:    1rem;       /* 16px */
            --font-size-lg: 1.125rem;   /* 18px */
            --font-size-xl: 1.25rem;    /* 20px */
            --font-size-2xl: 1.5rem;    /* 24px */
            --font-size-3xl: 1.875rem;  /* 30px */
            --font-size-4xl: 2.25rem;   /* 36px */
            --font-size-5xl: 3rem;      /* 48px */
            --font-size-6xl: 3.75rem;      /* 60px */

            /* spacing */
            --space-3xs: 0.25rem;   /* 4px  — gap ikon/label kecil */
            --space-2xs: 0.5rem;    /* 8px  — gap antar elemen inline */
            --space-xs:  0.75rem;   /* 12px — padding komponen kecil (badge, chip) */
            --space-sm:  1rem;      /* 16px — padding tombol, gap antar item list */
            --space-md:  1.5rem;    /* 24px — jarak antar card, gap grid */
            --space-lg:  2rem;      /* 32px — padding container kecil */
            --space-xl:  2.5rem;    /* 40px — jarak antar blok dalam section */
            --space-2xl: 3rem;      /* 48px — padding section (mobile) */
            --space-3xl: 4rem;      /* 64px — padding section (desktop) */
            --space-4xl: 5rem;      /* 80px — jarak antar section besar */
            --space-5xl: 6rem;      /* 96px — hero padding-top/bottom */

            /* primary */
            --pr-50:  #eef1fb;
            --pr-100: #dbe1f7;
            --pr-200: #b7c3ef;
            --pr-300: #8fa0e3;
            --pr-400: #5f74d4;
            --pr-500: #3650c2; /* default dark */
            --pr-600: #2a3fa0;
            --pr-700: #1e2e80; /* default light */
            --pr-800: #16225c;
            --pr-900: #101a47;
            --pr-950: #0a1230;

            /* secondary */
            --sc-50:  #fffaf0;
            --sc-100: #fef2d5;
            --sc-200: #fde2a8;
            --sc-300: #fbd075;
            --sc-400: #f0a93d; /* default light */
            --sc-500: #d98f1f;
            --sc-600: #b8751a;
            --sc-700: #925c14;
            --sc-800: #6b420e;
            --sc-900: #472b07;
            --sc-950: #291702;

            /* semantic */
            --primary: light-dark(var(--pr-700), var(--pr-500));
            --primary-hover: light-dark(var(--pr-800), var(--pr-400));
            --primary-active: light-dark(var(--pr-900), var(--pr-300));
            --secondary: light-dark(var(--sc-400), var(--sc-400));
            --secondary-hover: light-dark(var(--sc-600), var(--sc-300));
            --secondary-active: light-dark(var(--sc-700), var(--sc-200));

            /* background */
            --main-bg: light-dark(#f6f7fb, #060b1f);

            /* surface */
            --surface-0:   light-dark(#fcfcfe, #0b1230);
            --surface-50:  light-dark(#f9f9fd, #0e1638);
            --surface-100: light-dark(#f3f4fb, #141f52);
            --surface-200: light-dark(#e9ebf6, #1c2c6e);

            /* text */
            --text-primary: light-dark(#161b33, #fafbff);
            --text-secondary: light-dark(#525a7a, #b7c1ea);
            --text-light: light-dark(#fafbff, #161b33);
            --text-muted: light-dark(#6c7396, #7c86ba);

            /* static */
            --static-white: #fafbff;
            --static-black: #161b33;

            /* border */
            --border: light-dark(#dde1f0, #22306e);
            --border-light: light-dark(#e6e9f5, #182252);

            /* status */
            --red: light-dark(#dc3545, #f06a78);
            --green: light-dark(#1e9e63, #5fcf9a);
            --orange: light-dark(#d99100, #f2b83f);
            --blue: light-dark(#3182ce, #63a4e8);
            --purple: light-dark(#7050b8, #a586e0);

            /* effect */
            --shadow: light-dark(rgba(20, 31, 82, 0.12), rgba(0, 0, 0, 0.45));
            --anim: .25s ease;
            --anim-lg: .5s ease;
        }

        :root[data-theme="light"] {
            color-scheme: light;
        }
        :root[data-theme="dark"] {
            color-scheme: dark;
        }
        :root[data-theme="system"] {
            color-scheme: light dark;
        }
    }
/* #endregion ====================== */

/* #region ====== RESET (layer) ====== */
    @layer reset {
        /* box model */
        *, *::before, *::after {
            box-sizing: border-box;
        }
        *:not(dialog) {
            margin: 0;
        }

        /* root */
        html {
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }
        @media (prefers-reduced-motion: no-preference) {
            html {
                interpolate-size: allow-keywords;
            }
        }
        body {
            min-height: 100vh;
            overflow: hidden auto;
            color: var(--text-primary);
            background-color: var(--main-bg);
            font-family: var(--font-main);
            font-size: var(--font-size);
            font-optical-sizing: auto;
            line-height: 1.6;
        }

        /* typography */
        p, h1, h2, h3, h4, h5, h6 {
            overflow-wrap: break-word;
        }
        p {
            text-wrap: pretty;
            margin-bottom: 1rem;
        }
        h1, h2, h3, h4, h5, h6 {
            text-wrap: balance;
            margin-bottom: .5rem;
        }
        a:not([class]) {
            color: currentColor;
            text-decoration-skip-ink: auto;
        }

        /* media */
        img, picture, video, canvas, svg {
            display: block;
            max-width: 100%;
        }

        /* forms & interactive */
        input, button, textarea, select {
            font: inherit;
        }
        button {
            cursor: pointer;
        }
        button:disabled {
            cursor: not-allowed;
        }

        /* lists */
        ul[class], ol[class] {
            list-style: none;
            padding: 0;
        }

        /* table */
        table {
            border-collapse: collapse;
            border-spacing: 0;
        }

        /* scroll & focus */
        :target {
            scroll-margin-block: 3ex;
        }
        :focus-visible {
            outline: 2px solid var(--primary, currentColor);
            outline-offset: 2px;
        }

        /* stacking context */
        #root, #-next {
            isolation: isolate;
        }

        /* motion accessibility */
        @media (prefers-reduced-motion: reduce) {
            :root {
                --anim: 0s;
                --anim-lg: 0s;
            }
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

    }
/* #endregion ====================== */

/* #region ====== BUTTONS (layer) ====== */
    @layer buttons {
        .rv-btn {
            --btn-bg: var(--primary);
            --btn-bg-hover: var(--primary-hover);
            --btn-bg-active: var(--primary-active);
            --btn-color: var(--text-light);
            --btn-border: transparent;
            --btn-padding-y: var(--space-sm);
            --btn-padding-x: var(--space-md);
            --btn-font-size: var(--font-size);

            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-2xs);
            border: 1.5px solid var(--btn-border);
            border-radius: 999px;
            padding: var(--btn-padding-y) var(--btn-padding-x);
            background-color: var(--btn-bg);
            color: var(--btn-color);
            font-family: var(--font-main);
            font-size: var(--btn-font-size);
            text-transform: capitalize;
            font-weight: 600;
            line-height: 1;
            white-space: nowrap;
            text-decoration: none;
            transition: background-color var(--anim), border-color var(--anim), color var(--anim), transform var(--anim);
        }

        .rv-btn:hover {
            background-color: var(--btn-bg-hover);
            border-color: var(--btn-bg-hover);
        }
        .rv-btn:active {
            background-color: var(--btn-bg-active);
            border-color: var(--btn-bg-active);
            transform: translateY(1px);
        }
        .rv-btn:disabled,
        .rv-btn[aria-disabled="true"] {
            opacity: 0.5;
            pointer-events: none;
            cursor: not-allowed;
            transform: none;
        }

        /* ===== primary ===== */
        .rv-primary {
            --btn-bg: var(--primary);
            --btn-bg-hover: var(--primary-hover);
            --btn-bg-active: var(--primary-active);
            --btn-color: var(--text-light);
        }
        .rv-primary-outline {
            --btn-bg: transparent;
            --btn-bg-hover: var(--primary);
            --btn-bg-active: var(--primary-active);
            --btn-color: var(--primary);
            --btn-border: var(--primary);
        }
        .rv-primary-outline:hover,
        .rv-primary-outline:active {
            color: var(--text-light);
        }

        /* ===== secondary ===== */
        .rv-secondary {
            --btn-bg: var(--secondary);
            --btn-bg-hover: var(--secondary-hover);
            --btn-bg-active: var(--secondary-active);
            --btn-color: var(--pr-900);
        }
        .rv-secondary-outline {
            --btn-bg: transparent;
            --btn-bg-hover: var(--secondary);
            --btn-bg-active: var(--secondary-active);
            --btn-color: var(--secondary);
            --btn-border: var(--secondary);
        }
        .rv-secondary-outline:hover,
        .rv-secondary-outline:active {
            color: var(--pr-900);
        }

        /* ===== size ===== */
        .rv-sm {
            --btn-padding-y: var(--space-xs);
            --btn-padding-x: var(--space-sm);
            --btn-font-size: var(--font-size-sm);
        }
        .rv-lg {
            --btn-padding-y: var(--space-md);
            --btn-padding-x: var(--space-lg);
            --btn-font-size: var(--font-size-lg);
        }

    }
/* #endregion ====================== */

/* #region ====== THEME SWITCH & SCROLL LOCK (layer) ====== */
    @layer components {
        .dropdown-theme {
            position: relative;
            display: inline-flex;
        }
        .theme-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 2rem;
            min-height: 2rem;
            padding: 0;
            font-family: var(--font-main);
            font-size: 1.8rem;
            line-height: 1;
            color: var(--static-white);
            background-color: transparent;
            border: none;
            border-radius: 999px;
            cursor: pointer;
            transition: background-color var(--anim), border-color var(--anim), color var(--anim);

            &:is(:hover, :focus-visible) {
                color: var(--primary);
            }
            &:focus-visible {
                outline: 2px solid var(--primary);
                outline-offset: 3px;
            }
        }

        .theme-menu {
            position: absolute;
            top: calc(100% + var(--space-2xs));
            right: 0;
            z-index: 10;
            display: grid;
            gap: var(--space-3xs);
            min-width: 6rem;
            padding: var(--space-3xs);
            background-color: var(--surface-0);
            border: 1px solid var(--border);
            border-radius: .875rem;
            box-shadow: 0 16px 40px -12px var(--shadow);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-.5rem);
            pointer-events: none;
            transition: opacity var(--anim), transform var(--anim), visibility var(--anim);
        }
        .dropdown-theme.open .theme-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }

        .theme-menu [data-theme-value] {
            display: flex;
            align-items: center;
            gap: var(--space-2xs);
            width: 100%;
            padding: var(--space-2xs) var(--space-xs);
            font-family: var(--font-main);
            font-size: var(--font-size-sm);
            font-weight: 500;
            color: var(--text-secondary);
            text-align: left;
            background-color: transparent;
            border: 0;
            border-radius: .625rem;
            cursor: pointer;
            transition: background-color var(--anim), color var(--anim);

            i {
                font-size: var(--font-size-lg);
                color: currentcolor;
            }
            &:is(:hover, :focus-visible) {
                color: var(--text-primary);
                background-color: var(--surface-100);
            }
            &:focus-visible {
                outline: 2px solid var(--primary);
                outline-offset: -2px;
            }
            &.active {
                color: var(--primary);
                background-color: hsl(from var(--primary) h s l / .12);
                font-weight: 600;
            }
        }

        /* scroll-lock mobile only */
        @media (width < 48em) {
            body:has(#nav-toggle:checked) {
                overflow: hidden;
            }
        }
    }
/* #endregion ====================== */

/* #region ====== GENERAL ====== */    
    .subtitle {
        color: var(--sc-400);
        font-weight: 600;
        line-height: 1.3;
        text-transform: uppercase;
        margin-bottom: 1rem;
    }
    .title {
        position: relative;
        color: var(--primary);
        font-family: var(--font-second);
        font-size: var(--font-size-3xl);
        font-weight: 800;
        line-height: 1.3;
        text-transform: capitalize;
        margin-bottom: .75rem;
    }
    .focus {
        color: var(--secondary);
    }
    .desc {
        font-size: var(--font-size-lg);
        margin-bottom: 2rem;

        span {
            display: block;
            margin-top: 1rem;
        }
    }

    .polka {
        position: absolute;
        width: 140px;
        height: 80px;
        background-image: radial-gradient(var(--clr, var(--pr-300)) 26%, transparent 26%);
        background-size: 20px 20px;
        pointer-events: none;
        opacity: var(--opc, 0.2);
    }

    .net {
        position: absolute;
        width: var(--size, 200px);
        aspect-ratio: 1;
        background-image:
            linear-gradient(to right, hsl(from var(--clr, var(--primary)) h s l / var(--opc, 0.2)) 1px, transparent 1px),
            linear-gradient(to bottom, hsl(from var(--clr, var(--primary)) h s l / var(--opc, 0.2)) 1px, transparent 1px)
        ;
        background-size: var(--sqr, 45px) var(--sqr, 45px);
        mask-image: radial-gradient(circle at var(--pos, center), #000 0%, transparent 65%);
        pointer-events: none;
    }
/* #endregion ====================== */

/* #region ====== SECTION CONTROL ====== */
    section {
        width: 100%;
        max-width: var(--max-page);
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
    }
    #navbar,
    header,
    section,
    footer {
        width: 100%;
        max-width: var(--max-page);
        margin-inline: auto;
    }
    #navbar .navbar-wrap,
    #mainHeader .hero,
    #mainHeader .running-logo,
    #problem .wrapper,
    #consequence .wrapper,
    #comparison .wrapper,
    #solution .wrapper,
    #flow .wrapper,
    #property .wrapper,
    #faq .wrapper,
    #gallery .wrapper,
    #contact .wrapper,
    #location .wrapper,
    footer .footer-wrap {
        width: 100%;
        max-width: var(--content-max);
        margin-inline: auto;
    }
/* #endregion ====================== */

/* #region ====== LENIS GLIGHTBOX MAPLIBRE ====== */
    html.lenis,
    html.lenis body {
        height: auto;
    }
    .lenis.lenis-smooth {
        scroll-behavior: auto !important;
    }
    .lenis.lenis-scrolling iframe {
        pointer-events: none;
    }
    .lenis.lenis-stopped {
        overflow: clip;
    }
    
    .gslide-image img {
        object-fit: contain !important;
    }
    .glightbox-clean .gslide-title {
        font-family: var(--font-second) !important;
        font-size: var(--font-size-xl) !important;
        font-weight: 700 !important;
        text-transform: capitalize;
        margin-bottom: .25rem !important;
    }
    .glightbox-clean .gslide-desc {
        font-size: var(--font-size) !important;
    }

    .maplibregl-cooperative-gesture-screen.maplibregl-show {
        opacity: 0 !important;
    }
    .maplibregl-ctrl-attrib.maplibregl-compact,
    .maplibregl-ctrl-attrib.maplibregl-compact-show {
        visibility: hidden !important;
    }
/* #endregion ====================== */

/* #region ====== SCROLLBAR ====== */
    *::-webkit-scrollbar {
        height: 10px;
        width: 8px;
    }
    *::-webkit-scrollbar-track {
        background: #dde1f0;
        margin: 0;
    }
    *::-webkit-scrollbar-thumb {
        background-color: var(--primary);
        background: linear-gradient(to top, var(--primary) 0%, var(--primary) 60%);
        border: 2px solid transparent;
        border-radius: 10px;
        background-clip: content-box;
    }
/* #endregion ====================== */

/* #region ====== BACK TO TOP ====== */
    #bttBtn {
        position: fixed;
        right: 1.5rem;
        bottom: 1.5rem;
        display: grid;
        place-items: center;
        width: 50px;
        height: 50px;
        border: none;
        outline: none;
        color: var(--primary);
        font-size: var(--font-size-4xl);
        background-color: var(--secondary);
        border-radius: 50%;
        box-shadow: 2px 2px 8px var(--shadow);
        transform: scale(0);
        transition: var(--anim);
        transform-origin: center bottom;
        -webkit-animation: showBtt linear forwards;
                animation: showBtt linear forwards;
        animation-timeline: scroll();
	    animation-range: 0vh 50vh;
        cursor: pointer;
        z-index: 99;
    }
    @-webkit-keyframes showBtt {
        to {
            transform: scale(1);
        }
    }
    @keyframes showBtt {
        to {
            transform: scale(1);
        }
    }
/* #endregion ====================== */

/* #region ====== HIDE ARROW INPUT ====== */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
/* #endregion ====================== */

/* #region ====== CUSTOM SELECTION COLOR ====== */
    ::-moz-selection {
        color: var(--static-white);
        background: var(--red);
    }
    ::selection {
        color: var(--static-white);
        background: var(--red);
    }
    ::-moz-selection {
        color: var(--static-white);
        background: var(--red);
    }
/* #endregion ====================== */

/* #region ====== NAVBAR ====== */
    #navbar {
        --nav-scroll-range: 0vh 25vh;

        position: fixed;
        top: 0;
        left: 0;
        right: 0;        
        padding: 0;
        transition: var(--anim);
        isolation: isolate;
        z-index: 100;        
    
        .navbar-wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 5%;
            padding: 1.1rem var(--main-padding-x);
        }
    
        .nav-brand {
            position: relative;
            color: var(--static-white);
            
            svg {
                height: 36px;
                aspect-ratio: 1;
            }
        }    
        
        .nav-menu {
            position: fixed;
            inset: 0;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            padding: 1.1rem var(--main-padding-x);
            background-color: light-dark(var(--pr-700), var(--pr-800));
            opacity: 0;
            pointer-events: none;

             &::before {
                content: '';
                position: absolute;
                inset: 0;
                background: linear-gradient(to top, light-dark(var(--pr-900), var(--pr-950)) 0%, transparent 60%);
                z-index: -1;
            }
        }
    
        .logo-nav-mobile {
            position: relative;
            display: flex;
            align-items: center;
            color: var(--static-white);
    
            svg {
                height: 36px;
                aspect-ratio: 1;
            }
        }
    
        .nav-menu ul {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            gap: .5rem;
            width: 100%;
            padding: 0;
        }
        .nav-menu ul li {
            position: relative;
            width: 100%;
            list-style: none;
    
            .nav-link {
                display: block;
                color: var(--static-white);
                font-size: var(--font-size);
                text-transform: capitalize;
                text-decoration: none;
                width: 100%;
                padding: .75rem 1rem;
                background-color: hsl(from var(--static-white) h s l / .05);
                border-radius: .75rem;
                transition: var(--anim);
                
                &::after {
                    content: '\e0f5';
                    position: absolute;
                    right: 1rem;
                    font-family: crumbsiconhuge;
                    color: var(--static-white);
                }
            }
            .nav-link.active {
                color: var(--secondary);
                background-color: hsl(from var(--secondary) h s l / .1);
    
                &::after {
                    color: var(--secondary);
                }
            }
        }
    
        .actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .theme-switch {
            display: none;
        }
        #nav-toggle:checked ~ .actions .theme-switch {
            display: block;
        }
        #nav-toggle {
            display: none;
        }
        .open-menu {
            display: grid;
            place-items: center;
            width: 2.2rem;
            height: 2.2rem;
            color: var(--static-white);
            cursor: pointer;
            
            i {
                font-size: 2rem;
            }
        }
        #nav-toggle:checked ~ .nav-menu {
            opacity: 1;
            pointer-events: all;
        }
        .close-menu {
            position: absolute;
            top: 1.1rem;
            right: var(--main-padding-x);
            display: grid;
            place-items: center;
            width: 2.2rem;
            height: 2.2rem;
            cursor: pointer;
    
            i {
                font-size: 2rem;
                color: var(--red);
            }
        }

        .nav-layer {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--pr-800);
            z-index: -2;
            
            &.trans {
                -webkit-animation: showLayerNav linear forwards;
                        animation: showLayerNav linear forwards;
                animation-timeline: scroll();
                animation-range: var(--nav-scroll-range);
                opacity: 0;
            }
        }
    }
    
    @-webkit-keyframes showLayerNav {
        to {
            opacity: 1;
        }
    }
    @keyframes showLayerNav {
        to {
            opacity: 1;
        }
    }
/* #endregion ====================== */

/* #region ====== FOOTER ====== */
    footer {
        position: relative;
        color: var(--static-white);
        padding: 0;
        margin: 0 auto;
        margin-top: var(--section-padding-y);
        background: linear-gradient(30deg, var(--pr-900), var(--pr-800) 20%, var(--pr-800) 70%, var(--pr-900));
        isolation: isolate;
        overflow: hidden;

        .footer-wrap {
            position: relative;
            padding: calc(var(--section-padding-y) / 2) var(--main-padding-x) 1.5rem var(--main-padding-x);
            overflow: hidden;
        }

        .top {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: repeat(4, -webkit-max-content);
            grid-template-rows: repeat(4, max-content);
            gap: 2rem;
            font-size: var(--font-size-sm);
            margin-bottom: 2rem;
        }
        .profile {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: .5rem;

            .txt {
                font-size: var(--font-size);
                margin-bottom: 0;
            }
        }
        .logo {
            display: flex;
            align-items: center;
            gap: .75rem;

            svg {
                color: var(--secondary);
                min-width: 35px;
                width: 35px;
                aspect-ratio: 1;
            }
            span {
                display: block;
                color: var(--secondary);
                font-family: var(--font-second);
                font-size: var(--font-size-xl);
                font-weight: 700;
            }
        }
        .sub {
            color: var(--secondary);
            font-family: var(--font-second);
            font-size: var(--font-size-lg);
            font-weight: 700;
            text-transform: capitalize;
            margin-bottom: .5rem;
        }

        .navigate ul {
            display: grid;
            grid-template-columns: repeat(2, auto);
            grid-template-rows: repeat(6, auto); 
            grid-auto-flow: column; 
            list-style-type: none;
            text-transform: capitalize;
            padding: 0;

            li:not(:last-child) {
                margin-bottom: .1rem;
            }
            a {
                text-decoration: none;
                white-space: nowrap;

                &:hover {
                    color: var(--secondary);
                    text-decoration: underline;
                }
            }
            span {
                color: var(--secondary);
                display: inline-block;
            }
            i {
                color: var(--secondary);
                margin-right: .75rem;
            }
        }
        .cta-footer {
            display: flex;
            flex-direction: column;

            div {
                flex: 1;
            }
            p:nth-child(2) {
                margin-bottom: 1.5rem;
            }
        }
        
        .mark {
            padding-top: 1.5rem;
            border-top: 1px solid var(--secondary);
            opacity: .75;
            
            .social {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 1rem;
                font-size: var(--font-size-xl);
                margin-bottom: .75rem;
            }
            > p {
                font-size: var(--font-size-xs);
                text-align: center;
                margin-bottom: 0;
            }
            b {
                display: block;
                font-weight: 400;
            }
        }

        .net {
            --size: 275px;
            --sqr: 40px;
            --clr: var(--static-white);
            --pos: left bottom;

            bottom: 0;
            left: -2px;
            z-index: -1;
        }
        .polka {
            --clr: var(--secondary);

            right: 0;
            top: 2rem;
        }
    }
/* #endregion ====================== */

/* >>>>>>>>>>>>>>>>>>>>>>>>>  INDEX  <<<<<<<<<<<<<<<<<<<<<<<<< */

/* #region ====== MAIN HEADER ====== */
    #mainHeader {
        position: relative;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        margin: 0 auto;
        isolation: isolate;
        transition: height var(--anim);
        overflow: hidden;

        &::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, var(--pr-800), var(--pr-700), var(--pr-600), var(--pr-500) 80%);
            pointer-events: none;
            z-index: -3;
        }        
        &::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(to right, hsl(from var(--static-white) h s l / .2) 1px, transparent 1px),
                linear-gradient(to bottom, hsl(from var(--static-white) h s l / .2) 1px, transparent 1px)
            ;
            background-size: 45px 45px;
            mask-image: radial-gradient(ellipse 80% 80% at 100% 100%, #000 60%, transparent 90%);
            -webkit-mask-image: radial-gradient(ellipse 80% 80% at 100% 100%, #000 60%, transparent 90%);
            pointer-events: none;
            z-index: -2;
        }
        .blob {
            position: absolute;
            inset: 0;
            background-image: url(https://rv-affiliate.azureedge.net/revolution-property/landing-page/images/rv-img-blob-hero.png?se=2099-12-31T23%3A59Z&sp=r&sv=2026-02-06&sr=b&sig=D4GC2NR1ffWQ9Sn0%2Bfd8UeBpm%2BGeFTzyO7qBS1I3XZw%3D);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center bottom;
            z-index: -1;
        }

        .hero {
            display: flex;
            flex-direction: column;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .text {
            flex: 1;
            color: var(--static-white);
            padding: var(--main-padding-x);
            padding-top: calc(70px + 1rem);
            
            h1 {
                font-family: var(--font-second);
                font-size: var(--font-size-4xl);
                font-weight: 800;
                line-height: 1.3;
                text-transform: uppercase;
                margin-bottom: .75rem;
            }
            h4 {
                color: var(--secondary);
                font-weight: 400;
                margin-bottom: .75rem;
            }
            h3 {
                display: block;
                font-weight: 400;
                margin-bottom: 1.5rem;
            }
            .cta-hero {
                display: flex;
                align-items: center;
                gap: .5rem;
                margin-top: 1.5rem;
            }
            .rv-secondary-outline {
                display: none;
            }
        }
        
        .image {
            position: absolute;
            right: 0;
            bottom: 65px;
            width: 100%;
            height: calc(50% - 65px);
            background-image: url(https://rv-affiliate.azureedge.net/revolution-property/landing-page/images/rv-img-main-hero.webp?se=2099-12-31T23%3A59Z&sp=r&sv=2026-02-06&sr=b&sig=2adLkXpvxwmjttk%2F0i13yNGfizIrS5jqYMhV1IMQ6Ps%3D);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center bottom;
            transition: all var(--anim);
            animation: fade-in 1.5s ease forwards;
            pointer-events: none;
        }

        .wrap-logo {
            background-color: var(--primary);
        }
        .running-logo {
            --card-w: 40px;
            --ratio: 1/1;
            --speed: 15s;
            --gap: 2rem;
            --jml-slide: 10;

            height: 65px;
            padding: 0 1rem;
            background-color: var(--primary);
            -webkit-mask: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
            mask: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
            overflow: hidden;

            .track {
                display: flex;
                align-items: center;
                gap: var(--gap);
                height: 100%;
                width: -webkit-max-content;
                width: -moz-max-content;
                width: max-content;
                -webkit-animation: logoRunning var(--speed) linear infinite;
                        animation: logoRunning var(--speed) linear infinite;
                will-change: transform;

                &::-webkit-scrollbar {
                    display: none;
                }
                div {
                    position: relative;
                    flex-shrink: 0;

                    img {
                        flex: 0 0 auto;
                        height: var(--card-w);
                        aspect-ratio: var(--ratio);
                        -o-object-fit: cover;
                            object-fit: cover;
                        -webkit-user-select: none;
                            -moz-user-select: none;
                            -ms-user-select: none;
                                user-select: none;
                        pointer-events: none;
                    }
                }
            }
        }
    }

    @keyframes fade-in {
        from {
            opacity: 0;
            transform: translateY(15%);
        }
    }
    @-webkit-keyframes logoRunning {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-1 * (var(--card-w) + var(--gap)) * var(--jml-slide)));
        }
    }
    @keyframes logoRunning {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-1 * (var(--card-w) + var(--gap)) * var(--jml-slide)));
        }
    }
/* #endregion ====================== */

/* #region ====== PROBLEM ====== */
    #problem {
        position: relative;
        padding: calc(var(--section-padding-y) * 1.5) var(--main-padding-x) var(--section-padding-y) var(--main-padding-x);
        overflow: hidden;

        .image {
            display: none;
        }

        .problem-wrap {
            display: grid;
            align-items: stretch;
            gap: 3rem;
            margin-top: 2.5rem;
        }
        .feature {
            position: relative;
            padding: 1.5rem;
            background: linear-gradient(to bottom, var(--pr-800), var(--pr-500));
            border-radius: 1rem;
            isolation: isolate;
            
            .feature-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 56px;
                height: 56px;
                color: var(--secondary);
                font-size: var(--font-size-3xl);
                margin-bottom: 1.5rem;
                border-radius: .75rem;
                background: hsl(from var(--sc-300) h s 80 / .2);
            }
            h3 {
                color: var(--secondary);
                font-family: var(--font-second);
                font-weight: 700;
                font-size: var(--font-size-2xl);
                line-height: 1.35;
                text-transform: capitalize;
            }
            p {
                color: var(--static-white);
                line-height: 1.7;
                margin-bottom: .75rem;
            }
            .feature-bg {
                position: relative;
                width: 100%;
                height: 225px;

                img {
                    position: absolute;
                    left: 50%;
                    transform: translateX(-50%);
                    min-width: 90%;
                    width: 90%;
                    aspect-ratio: 1;
                    object-fit: contain;
                    object-position: center top;
                }
            }
        }

        .problem-list {
            display:flex;
            flex-direction:column;
        }
        .problem-row {
            display: flex;
            gap: 1.25rem;
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--border);
            
            &:first-child {
                padding-top: 1rem;
            }
            &:last-child {
                padding-bottom: 1rem;
                border-bottom: none;
            }
            img {
                flex-shrink: 0;
                width: 48px;
                height: 48px;
                object-fit: contain;
            }
            .row-title {
                color: var(--primary);
                font-family: var(--font-second);
                font-weight: 700;
                text-transform: capitalize;
                margin-bottom: .25rem;
            }
            .row-desc {
                color: var(--text-muted);
                font-size: var(--font-size-sm);
                max-width: 550px;
            }
        }

        .net {
            --size: 275px;
            --sqr: 40px;
            --clr: var(--secondary);
            --pos: right top;
            --opc: 0.3;

            top: 0;
            right: 0;
        }
    }
/* #endregion ====================== */

/* #region ====== CONSEQUENCE ====== */
    #consequence {
        position: relative;
        padding: var(--section-padding-y) var(--main-padding-x);
        background: linear-gradient(50deg, var(--pr-900), var(--pr-600));
        isolation: isolate;
        overflow: hidden;

        .head-sect {
            text-align: center;

            .title, .desc {
                color: var(--static-white);
            }
        }
        .consequence-wrap {
            display: flex;
            flex-direction: column;
            margin-top: 2.5rem;

            .item {
                position: relative;
                display: flex;
                gap: 1.25rem;
                color: var(--static-white);
                padding-bottom: 2rem;
            }
            .item:last-child {
                padding-bottom:0;
            }
            img {
                flex-shrink: 0;
                width: 48px;
                height: 48px;
                object-fit: contain;
            }
            p:nth-of-type(1) {
                font-family: var(--font-second);
                font-weight: 700;
                text-transform: capitalize;
                margin-bottom: .25rem;
            }
            p:nth-of-type(1) span {
                color: var(--secondary);
            }
            p:nth-of-type(2) {
                max-width: 520px;
                font-size: var(--font-size-sm);
            }
        }
        .right {
            display: none;
        }

        .polka {
            --clr: var(--secondary);

            right: 0;
            top: 85%;
        }
    }
/* #endregion ====================== */

/* #region ====== COMPARISON ====== */
    #comparison {
        position: relative;
        padding: var(--section-padding-y) var(--main-padding-x) 0 var(--main-padding-x);
        overflow: hidden;

        .bg-img {
            position: absolute;
            inset: 0;
            bottom: 0;
            isolation: isolate;
            z-index: -1;

            &::before,
            &::after {
                content: '';
                position: absolute;                
                bottom: 2rem;                
                background-image: url(https://rv-affiliate.azureedge.net/revolution-property/landing-page/images/rv-img-comparison-house.png?se=2099-12-31T23%3A59Z&sp=r&sv=2026-02-06&sr=b&sig=dap5O5SGUdAjoyGvAu9G7qUuYlIv71kJCDTTJZTCh%2Fw%3D);
                background-size: contain;
                background-position: center bottom;
                background-repeat: no-repeat;
                opacity: .25;
            }
            &::before {
                display: none;
            }
            &::after {
                left: 50%;
                width: 100%;
                aspect-ratio: 1;
                transform: translateX(-50%);
            }
        }
        .head-sect {
            text-align: center;
        }
        
        .diff {
            display: grid;
            gap: 2rem;
            margin-top: 2.5rem;
        }
        .diff-card {
            position: relative;
            height: fit-content;
            color: var(--static-black);
            padding: 1.5rem 1.5rem 2rem 1.5rem;
            background-color: var(--static-white);
            border-radius: 1.5rem;
            box-shadow: 3px 6px 30px 0 rgba(0, 0, 0, 0.25);
        }
        .old .diff-card {
            color: var(--text-muted);
            filter: grayscale(0.5);
            background-color: #e9e9e9;
        }

        .diff-title {
            color: var(--static-white);
            font-size: var(--font-size-xl);
            font-weight: 700;
            text-align: center;
            padding: 1rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(to right, hsl(from var(--red) h s 40), var(--red));
            border-radius: .75rem;
        }
        .new .diff-title {
            background: linear-gradient(to right, hsl(from var(--primary) h s 40), var(--pr-400));
        }

        .diff-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;

            p {
                position: relative;
                display: flex;
                align-items: center;
                gap: .75rem;
                line-height: 1.5;
                margin-bottom: 0;
            }
            p::before {
                content: '';
                flex-shrink: 0;
                display: block;
                width: 30px;
                height: 30px;
                background-image: url(https://rv-affiliate.azureedge.net/revolution-property/landing-page/images/rv-img-comparison-x.png?se=2099-12-31T23%3A59Z&sp=r&sv=2026-02-06&sr=b&sig=%2Fd4HX0wrKM1WISMHRzncxN7JEv67xXaMg3VeL9R6FmU%3D);
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;
                opacity: .8;
            }
        }
        .new .diff-list {
            p {
                font-weight: 600;
            }
            p::before {
                background-image: url(https://rv-affiliate.azureedge.net/revolution-property/landing-page/images/rv-img-comparison-y.png?se=2099-12-31T23%3A59Z&sp=r&sv=2026-02-06&sr=b&sig=Y%2FE5qJ63TjNCAQfzmY8IkysxIjNeUkmxDlcGh%2FjyC78%3D);
                opacity: 1;
            }
        }

        .diff-img {
            position: relative;
            width: 75%;
            margin: 0 auto;

            img {
                width: 100%;
                height: auto;
                object-fit: contain;
                object-position: center bottom;
            }
        }
    }
/* #endregion ====================== */

/* #region ====== SOLUTION ====== */
    #solution {
        position: relative;
        padding: calc(var(--section-padding-y) * 1.35) var(--main-padding-x);
        background: linear-gradient(50deg, var(--pr-900), var(--pr-600));
        isolation: isolate;
        overflow: hidden;

        :is(.title, .desc) {
            color: var(--static-white);
        }
        
        .wrapper {
            display: grid;
            gap: 2rem;            
        }
        .solution-grid {
            display: grid;
        }
        .item {
            display: flex;
            gap: 1.25rem;
            color: var(--static-white);
            padding: 1.5rem 0;
            border: 1px solid hsl(from var(--sc-500) h s l / .65);
            border-left-width: 0;
            border-right-width: 0;
            border-bottom-width: 0;
        }
        .item:first-child {
            border-top-width: 0;
        }
        .icon {
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            display:flex;
            align-items:center;
            justify-content:center;
            background: var(--static-white);
            border-radius: .75rem;
        }
        .icon img {
            width: 75%;
            height: 75%;
            object-fit: contain;
        }
        .item-title {
            color: var(--secondary);
            font-family: var(--font-second);
            font-weight: 700;
            text-transform: capitalize;
            margin-bottom: .25rem;
        }
        .item-desc {
            font-size: var(--font-size-sm);
            max-width: 520px;
        }

        .net {
            --size: 350px;
            --clr: var(--secondary);
            --pos: left bottom;
            --opc: 0.45;

            bottom: 0;
            left: 0;
        }
    }
/* #endregion ====================== */

/* #region ====== FLOW ====== */
    #flow {
        position: relative;
        padding: var(--section-padding-y) var(--main-padding-x);
        overflow: hidden;
        
        :is(.title, .desc) {
            width: fit-content;
            margin-inline: auto;
            text-align: center;
        }
        .flow-wrap {
            position: relative;
            padding-left: 4.5rem;
            margin-top: 3.25rem;

            .moving-arrow {
                position: absolute;
                top: 5%;
                left: 1.1rem;
                animation: arrowDownLoop 2.25s linear infinite;
            }
            .moving-arrow div {
                display: flex;
                flex-direction: column;
                gap: 2px;
            }
            .moving-arrow span {
                display: inline-block;
                border-left: 7px solid transparent;
                border-right: 7px solid transparent;
                border-top: 10px solid var(--secondary);
            }

            .step {
                position: relative;
                padding-bottom: 2.5rem;
            }
            .step:last-child {
                padding-bottom:0;
            }
            .step::before {
                position: absolute;
                content: "";
                top: .5rem;
                left: -3.05rem;
                bottom: 0;
                width: 0;
                border-left: 2px dashed var(--text-muted);
                opacity: .7;
                z-index: -1;
            }
            .step:last-child::before {
                display: none;
            }
            .icon-wrap {
                position: absolute;
                top: 0;
                left: -4.5rem;
                width: 3rem;
                height: 3rem;
                display: flex;
                align-items: center;
                justify-content: center;
                background: var(--pr-700);
                border-radius: 50%;
                z-index: 5;
            }
            .icon-wrap img {
                position: absolute;
                top: .15rem;
                right: .25rem;
                width: 100%;
                height: 100%;
            }
            .badge {
                position: absolute;
                left: 75%;
                top: -6px;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 22px;
                height: 22px;
                color: var(--primary);
                font-size: var(--font-size-xs);
                font-weight: 700;
                border-radius: 50%;
                background: var(--sc-400);
            }
            p:nth-of-type(1) {
                font-family: var(--font-second);
                font-weight: 700;
                text-transform: capitalize;
                margin-bottom: .25rem;
            }
            p:nth-of-type(2) {
                font-size: var(--font-size-sm);
                max-width: 520px;
            }
        }
    }

    @keyframes arrowDownLoop {
        to {
            top: 85%;
        }
    }
    @keyframes arrowRightLoop {
        to {
            left: 88%;
        }
    }
/* #endregion ====================== */

/* #region ====== PROPERTY ====== */
    #property {
        position: relative;
        padding: var(--section-padding-y) var(--main-padding-x);
        
        .head-sect {
            margin-bottom: 2.5rem;
        }

        .property-list {
            display: grid;
            gap: 2rem;
        }
        .property-item {
            position: relative;
            display: flex;
            flex-direction: column;
            width: 100%;
            height: fit-content;
            background: var(--surface-0);
            border: 1px solid var(--border);
            border-radius: 1rem;
            box-shadow: 0 0 20px var(--shadow);
            transition: var(--anim);
            isolation: isolate;
            overflow: hidden;
            
            img {
                width: 100%;
                height: 200px;
                object-fit: cover;
            }
            .prop-info {
                position: relative;
                font-size: var(--font-size-sm);
                padding: 1.25rem;
            }
            .prop-info::before {
                content: '';
                position: absolute;
                top: -46px;
                left: 0;
                width: 100%;
                height: 50px;
                background: linear-gradient(to top, var(--surface-0) 10%, hsl(from var(--surface-0) h s l / .5), transparent);
            }
            span {
                --clrChips: var(--green);

                display: block;
                width: fit-content;
                color: var(--clrChips);
                font-size: var(--font-size-xs);
                font-weight: 600;
                letter-spacing: .04em;
                text-transform: uppercase;
                padding: .3rem .75rem;
                margin-bottom: .75rem;
                background-color: hsl(from var(--clrChips) h s l / .2);
                border-radius: 2rem;
            }
            .mid {
                --clrChips: var(--orange);
            }
            .top {
                --clrChips: var(--purple);
            }
            p:nth-of-type(1) {
                font-family: var(--font-second);
                font-weight: 800;
                font-size: var(--font-size-lg);
                text-transform: capitalize;
                margin-bottom: .1rem;
            }
            p:nth-of-type(2) {
                color: var(--text-secondary);
                margin-bottom: .75rem;
            }
            p:nth-of-type(3) {
                flex: 1;
                line-height: 1.5;
                margin-bottom: 1.5rem;
                display: -webkit-box;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            .rv-btn {
                width: 100%;
            }
        }
        .net {
            --size: 275px;
            --sqr: 40px;
            --clr: var(--primary);
            --pos: left bottom;
            --opc: 0.35;

            bottom: 0;
            left: -2px;
            z-index: -1;
        }
    }
/* #endregion ====================== */

/* #region ====== MODAL PROPERTY ====== */
    body.modal-open {
        overflow: hidden;
    }
    .property-modal {
        position: fixed;
        inset: 0;
        display: grid;
        place-items: center;
        align-items: start;
        padding: 0 1rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        transition: opacity .25s ease, visibility .25s ease;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1000;
    }
    .property-modal.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .property-modal-backdrop {
        position: absolute;
        inset: 0;
        background: hsl(0 0% 0% / .7);
        backdrop-filter: blur(5px);
    }
    .property-modal-dialog {
        position: relative;
        height: min(96vh, 750px);
        width: min(950px, 100%);
        max-height: 96vh;
        min-height: 0;
        margin: auto 0;
        background: var(--main-bg);
        border-radius: 1.25rem;
        box-shadow: 0 1.5rem 4rem hsl(0 0% 0% / .3);
        overflow-y: auto;
        overscroll-behavior: contain;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        z-index: 1;
    }
    .property-modal-dialog::-webkit-scrollbar {
        display: none;
    }

    .property-modal-close-wrapper {
        position: sticky;
        top: 0;
        z-index: 10;
    }
    .property-modal-close {
        position: absolute;
        top: .75rem;
        right: .75rem;
        width: 2.5rem;
        height: 2.5rem;
        color: var(--red);
        font-size: 1.5rem;
        line-height: 1;
        background: var(--surface-0);
        border: none;
        border-radius: 50%;
        box-shadow: 2px 2px 20px var(--shadow);
        transition: var(--anim);
        cursor: pointer;
        z-index: 2;

        &:is(:hover, :focus-visible) {
            color: var(--static-white);
            background: var(--red);
            transform: rotate(90deg);
        }
    }

    .property-modal-hero {
        display: grid;
        grid-template-columns: 1fr;
        background: var(--surface-0);

        .property-modal-pic {
            height: 14rem;
            overflow: hidden;
        }
        .property-modal-pic img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .property-modal-desc {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 1.5rem 1rem;
        }
        .property-modal-desc div {
            flex: 1;
        }
        .property-modal-status {
            --clrChips: var(--green);
    
            display: block;
            width: fit-content;
            color: var(--clrChips);
            font-size: var(--font-size-xs);
            font-weight: 600;
            letter-spacing: .04em;
            text-transform: uppercase;
            padding: .3rem .75rem;
            margin-bottom: .75rem;
            background-color: hsl(from var(--clrChips) h s l / .2);
            border-radius: 2rem;
        }
        .mid {
            --clrChips: var(--orange);
        }
        .top {
            --clrChips: var(--purple);
        }
        .property-modal-desc h2 {
            color: var(--primary);
            font-family: var(--font-second);
            font-size: var(--font-size-2xl);
            line-height: 1.1;
            margin-bottom: .5rem;
        }
        .property-modal-location {
            display: flex;
            align-items: center;
            gap: .5rem;
            color: var(--text-secondary);
            font-size: var(--font-size-sm);
            margin-bottom: 1rem;
        }
        .property-modal-location::before {
            content: "";
            width: .45rem;
            height: .45rem;
            flex: 0 0 auto;
            background: var(--secondary);
            border-radius: 50%;
        }
        .property-modal-description {
            color: var(--text-secondary);
            font-size: var(--font-size-sm);
            line-height: 1.75;
            margin-bottom: 0;
        }
        a {
            width: 100%;
        }
    }

    .property-modal h4 {
        display: flex;
        align-items: center;
        gap: .6rem;
        color: var(--primary);
        font-family: var(--font-second);
        text-transform: capitalize;
        margin-bottom: 1rem;
        
        &::before {
            content: "";
            width: .3rem;
            height: 1.5rem;
            flex: 0 0 auto;
            background: var(--secondary);
            border-radius: 1rem;
        }
    }
    
    .property-modal-room {
        padding: 2rem 1rem 1rem 1rem;
        
        .room-type {
            display: grid;
            gap: 1.25rem;
            padding: .75rem;
            margin-bottom: 1rem;
            background: var(--surface-0);
            border: 1px solid var(--border);
            border-radius: .85rem;
            box-shadow: 0 8px 24px var(--shadow);
        }
        .room-images-area {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: .5rem;
        }
        .room-images-area img {
            width: 100%;
            aspect-ratio: 1.15;
            object-fit: cover;
            border-radius: .55rem;
        }
        
        .room-desc-area {
            padding: .25rem .25rem .5rem;
        }
        .room-head {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            padding-bottom: .85rem;
            border-bottom: 1px solid var(--border);
        }
        .room-head p:nth-child(1) {
            color: var(--primary);
            font-family: var(--font-second);
            font-size: var(--font-size-xl);
            font-weight: 800;
            text-transform: capitalize;
            margin-bottom: 0;
        }
        .room-head p:nth-child(2) {
            color: var(--text-secondary);
            font-size: var(--font-size-xs);
            text-align: left;
            margin-bottom: 0;
        }
        .room-desc {
            color: var(--text-secondary);
            font-size: var(--font-size-sm);
            line-height: 1.7;
            padding: 1rem 0;
        }

        .room-facility > p {
            color: var(--text-primary);
            font-size: var(--font-size-sm);
            font-weight: 700;
            margin-bottom: .65rem;
        }
        .room-facility-list {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: .5rem;
        }
        .room-facility-list > div {
            display: flex;
            align-items: center;
            gap: .65rem;
            min-width: 0;
            padding: .55rem;
            color: var(--text-secondary);
            font-size: var(--font-size-xs);
            background: var(--surface-100);
            border-radius: .45rem;
        }
        .room-facility-list i {
            flex: 0 0 auto;
            color: var(--primary);
            font-size: var(--font-size-lg);
        }
        .room-facility-list span {
            text-transform: capitalize;
            line-height: 1.3;
            overflow-wrap: anywhere;
        }
    }

    .property-modal-tourism {
        padding: 1rem 1.25rem 2rem;
        background: var(--surface-100);

        .tourism-places {
            display: grid;
            gap: .75rem;
        }
        .place {
            display: flex;
            flex-direction: column;
            min-height: 100%;
            padding: 1rem;
            background: var(--surface-0);
            border: 1px solid var(--border);
            border-radius: .75rem;
            box-shadow: 0 6px 18px var(--shadow);
            transition: var(--anim);
        }
        .place:is(:hover, :focus-within) {
            border-color: hsl(from var(--primary) h s l / .45);
            transform: translateY(-2px);
        }
        .thumb {
            height: 125px;
            margin-bottom: 1rem;
            border-radius: .5rem;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
        .place-info p:nth-child(1) {
            color: var(--text-primary);
            font-family: var(--font-second);
            font-weight: 800;
            line-height: 1.25;
            text-transform: capitalize;
            margin-bottom: .25rem;
        }
        .place-info p:nth-child(2) {
            flex: 1;
            color: var(--text-secondary);
            font-size: var(--font-size-sm);
            line-height: 1.6;
            margin-bottom: 1rem;
        }
        .place .distance {
            display: flex;
            flex-wrap: wrap;
            gap: .4rem;
            padding-top: .75rem;
            border-top: 1px solid var(--border);
        }
        .place .distance span {
            display: inline-flex;
            align-items: center;
            gap: .3rem;
            padding: .35rem .55rem;
            color: var(--primary);
            font-size: var(--font-size-xs);
            font-weight: 700;
            line-height: 1.2;
            background: hsl(from var(--primary) h s l / .1);
            border-radius: 2rem;
        }
        .place .distance i {
            font-size: var(--font-size-sm);
        }
    }
/* #endregion ====================== */

/* #region ====== FAQ ====== */
    #faq {
        position: relative;
        padding: calc(var(--section-padding-y) * 1.75) var(--main-padding-x) var(--section-padding-y) var(--main-padding-x);
        
        .head-sect {
            margin-bottom: 2.5rem;
        }
        
        .faq-list {
            display: grid;
            gap: .75rem;
        }
        .faq-item {
            background: var(--surface-0);
            border: 1px solid var(--border);
            border-radius: 1rem;
            overflow: hidden;
        }
        .faq-q {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            width :100%;
            font-family: var(--font-second);
            font-weight: 700;
            text-align: left;
            text-transform: capitalize;
            padding: 1rem;
            background :none;
            border :none;
            box-shadow: none;
            cursor :pointer;
        }
        .faq-q .plus {
            flex-shrink: 0;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border:1.5px solid var(--primary);
            transition: transform .2s;
        }
        .faq-q .plus::before,
        .faq-q .plus::after {
            content: "";
            position: absolute;
            background: var(--primary);
        }
        .faq-q .plus::before {
            width: 10px;
            height: 1.6px;
        }
        .faq-q .plus::after {
            width: 1.6px;
            height: 10px;
            transition: opacity .2s;
        }
        .faq-item.open .faq-q .plus::after {
            opacity: 0;
        }
        .faq-item.open .faq-q .plus {
            background: var(--primary);
        }
        .faq-item.open .faq-q .plus::before,
        .faq-item.open .faq-q .plus::after {
            background: var(--static-white);
        }
        .faq-a {
            max-height: 0;
            transition: max-height .25s ease;
            overflow: hidden;
        }
        .faq-a p {
            line-height: 1.6;
            font-size: var(--font-size-sm);
            padding: 1.1rem 1rem 1.5rem 1rem;
            margin: 0;
            border-top: 1px solid var(--border);
        }
        .faq-a span {
            display: block;
            margin-top: .75rem;
        }
        .faq-a strong {
            font-weight: 600;
        }

        .net {
            --pos: right 65%;

            top: 20%;
            right: 0;
        }
    }
/* #endregion ====================== */

/* #region ====== GALLERY ====== */
    #gallery {
        position: relative;
        padding: var(--section-padding-y) var(--main-padding-x);
        background: linear-gradient(30deg, var(--pr-900), var(--pr-600));
        overflow: hidden;

        .head-sect {
            .title,
            .desc {
                color: var(--static-white);
            }
        }

        .gallery-layout {
            margin-top: 3rem;
        }
        .filter-gallery {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            gap: .75rem .5rem   ;
            margin-bottom: 2rem;

            .filter-btn {
                color: var(--static-white);
                font-size: .86rem;
                text-transform: capitalize;
                padding: .35rem .75rem;
                background: transparent;
                border: 1px solid var(--static-white);
                border-radius: 999px;
                opacity: .7;
            }
            .filter-btn:hover {
                opacity: 1;
            }
            .filter-btn.active {
                color: var(--primary);
                background: var(--secondary);
                border-color: var(--secondary);
                opacity: 1;
            }
        }

        .grid-gallery {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        .gallery-card {
            width: 100%;
            aspect-ratio: 16/9;
            border-radius: .75rem;
            overflow: hidden;
            
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: var(--anim);
            }
        }
        .gallery-card:hover img {
            transform: scale(1.075);
        }
        .gallery-card.hidden {
            display: none;
        }

        .polka {
            --clr: var(--secondary);

            right: 0;
            top: 1rem;
        }
    }

    @-webkit-keyframes galleryRunning {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-1 * (var(--card-w) + var(--gap)) * 6));
        }
    }
    @keyframes galleryRunning {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-1 * (var(--card-w) + var(--gap)) * 6));
        }
    }
/* #endregion ====================== */

/* #region ====== CONTACT ====== */
    #contact {
        position: relative;
        padding: var(--section-padding-y) var(--main-padding-x);
        overflow: hidden;
        
        .head-sect {
            margin-bottom: 2.5rem;

            img {
                height: 80px;
                aspect-ratio: 1;
                object-fit: contain;
                margin-bottom: 1.5rem;
            }
        }
        .form-area {
            padding: 1.75rem 1.25rem;
            background-color: var(--surface-200);
            border: 1px solid var(--border);
            border-radius: 1rem;
            box-shadow: 6px 10px 15px hsl(from var(--primary) h s l / .25);
        }
        form {
            display: flex;
            flex-direction: column;
            gap: 1rem;

            label {
                display: block;
                font-size: .9rem;
                font-weight: 600;
                margin-bottom: .5rem;
            }
            input,
            textarea {
                -webkit-appearance: none;
                   -moz-appearance: none;
                        appearance: none;
                width: 100%;
                font-size: 1.1rem;
                font-weight: 400;
                padding: .75rem 1rem;
                background-color: var(--static-white);
                border: 1px solid var(--border);
                border-radius: .75rem;
                outline: none;
                transition: all .2s ease;
                
                &:focus {
                    box-shadow: 0 0 0 6px hsl(from var(--primary) h s l / .15);
                    border-color: var(--primary);
                }
                &:not(:placeholder-shown) {
                    border-color: var(--primary);
                }
                &::placeholder {
                    font-size: 1rem;
                    font-weight: 300;
                    font-style: italic;
                }
            }

            button {
                width: 100%;
                margin-top: .5rem;

                &.loading {
                    opacity: 0.5;
                    pointer-events: none;
                }
                .spinner-border {
                    display: none;
                    width: 1.25rem;
                    height: 1.25rem;
                    vertical-align: -3px;
                    margin-right: .5rem;
                    border: 3px solid var(--secondary);
                    border-top-color: transparent;
                    border-radius: 50%;
                    -webkit-animation: spinnerAnim .5s linear infinite;
                            animation: spinnerAnim .5s linear infinite;
                }
                &.loading .spinner-border {
                    display: inline-block;
                }
                &.loading span {
                    display: none;
                }
            }
        }
    }

    #alertEmail {
        position: fixed;
        inset: 0;
        display: none;
        place-items: center;
        overflow: hidden;
        z-index: 99999;

        .wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: min(500px, 90%);
            text-align: center;
            padding: 1.75rem 1.5rem 2.25rem 1.5rem;
            background-color: var(--static-white);
            border-radius: 1.5rem;
            box-shadow: 0 0 0 9999px rgba(0,0,0,.75);

            svg {
                width: 125px;
                height: 125px;
                margin-bottom: 1.25rem;
            }
            p:nth-of-type(1) {
                font-size: 1.5rem;
                font-weight: 700;
                margin-bottom: .5rem;
            }
            p:nth-of-type(2) {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }
            p:nth-of-type(3) {
                color: var(--grey);
                font-size: .9rem;
                margin-bottom: 0;

                span{
                    display: inline-block;
                    position: relative;
                    font-weight: 600;

                    &::before {
                        content: '5';
                        display: inline-block;
                        -webkit-animation: countdown 5s ease forwards;
                                animation: countdown 5s ease forwards;
                    }
                }
            }
        }

        &.show-alert {
            display: grid;
        }
    }

    @keyframes spinnerAnim {
        to {
            transform: rotate(360deg);
        }
    }

    @-webkit-keyframes countdown {
        0%, 19% {
            content: '5';
        }
        20%, 39% {
            content: '4';
        }
        40%, 59% {
            content: '3';
        }
        60%, 79% {
            content: '2';
        }
        80%, 100% {
            content: '1';
        }
    }
    @keyframes countdown {
        0%, 19% {
            content: '5';
        }
        20%, 39% {
            content: '4';
        }
        40%, 59% {
            content: '3';
        }
        60%, 79% {
            content: '2';
        }
        80%, 100% {
            content: '1';
        }
    }
/* #endregion ====================== */

/* #region ====== LOCATION ====== */
    #location {
        position: relative;
        padding: var(--section-padding-y) 0;
        
        .head-sect {
            text-align: center;
            padding: 0 var(--main-padding-x);
        }
        .map {
            position: relative;
            width: 100%;
            height: 100vh;
            z-index: 1;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 20%;
                background: linear-gradient(to bottom, var(--main-bg) 15%, transparent);
                pointer-events: none;
                z-index: 3;
            }
            &::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: -2px;
                width: 100%;
                height: 25%;
                background: linear-gradient(to top, var(--main-bg) 15%, transparent);
                pointer-events: none;
                z-index: 3;
            }
        }

        .map-info {
            position: absolute;
            top: 12%;
            right: 5%;
            z-index: 15;

            .icon {
                display: grid;
                place-items: center;
                width: 30px;
                height: 30px;
                color: var(--static-white);
                font-size: 1.1rem;
                background-color: var(--green);
                border-radius: 50%;
                box-shadow: 0 0 0 0px hsl(from var(--green) h s l / .35);
                will-change: box-shadow;
                -webkit-animation: pulseHintMap 1s linear infinite;
                        animation: pulseHintMap 1s linear infinite;
                cursor: pointer;
            }
            .text {
                position: absolute;
                top: calc(100% + .5rem);
                right: 0;
                min-width: 275px;
                padding: 1rem;
                background-color: var(--surface-0);
                border: 1px solid var(--border);
                border-radius: .75rem;
                box-shadow: 0 0 20px hsl(from var(--border) h s l / .15);
                opacity: 0;
                pointer-events: none;

                .pc {
                    display: none;
                }
                p {
                    color: var(--primary);
                    font-weight: 600;
                    text-align: center;
                    margin-bottom: .5rem;
                }
                ul {
                    padding-left: 1rem;
                }
                li {
                    font-size: .9rem;
                    line-height: 1.3;
                    margin-bottom: .5rem;
                }
            }
            &:focus-within .text {
                opacity: 1;
                pointer-events: all;
            }
        }

        .wrap-location {
            position: absolute;
            left: var(--main-padding-x);
            right: var(--main-padding-x);
            bottom: calc(var(--section-padding-y) * 2);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            color: var(--static-black);
            font-size: var(--font-size-sm);
            padding: 1rem;
            background-color: var(--static-white);
            border-radius: 1.5rem;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
            pointer-events: none;
            isolation: isolate;
            overflow: hidden;
            z-index: 2;            
        }
        .address img {
            margin-bottom: 1rem;
            border-radius: .5rem;
        }
        .address p:nth-of-type(1) {
            font-weight: 600;
            margin-bottom: .25rem;
        }
        .address p:nth-of-type(2) {
            line-height: 1.4;
            margin-bottom: .75rem;
        }
        .address p:has(i) {
            font-size: .9rem;
            margin-bottom: .15rem;
        }
        .address i {
            margin-right: .75rem;
        }
        a {
            width: 100%;
            margin-top: 1rem;
        }
    }

    @-webkit-keyframes pulseHintMap {
        50% {
            box-shadow: 0 0 0 6px hsl(from var(--green) h s l / .35);
        }
    }
    @keyframes pulseHintMap {
        50% {
            box-shadow: 0 0 0 6px hsl(from var(--green) h s l / .35);
        }
    }
/* #endregion ====================== */


/* #region ====== XXX ====== */
/* #endregion ====================== */



/* >>>>>>>>>>>>>>>>>>>>>>>>>  DARK MODE OVERRIDE  <<<<<<<<<<<<<<<<<<<<<<<<< */

/* #region ====== PICK DARK MANUAL ====== */
    :root[data-theme="dark"] #problem {
        
    }

/* #endregion ====================== */

/* #region ====== PICK SYSTEM + OS DARK ACTIVE ====== */
    @media (prefers-color-scheme: dark) {
        :root[data-theme="system"] #problem {
            
        }
    }

/* #endregion ====================== */
