/* ================================================================
   ULUWATU GOLDEN HILLS — Design System v3
   Boho-Luxury | Warm Premium | Sunset Aesthetic
================================================================ */

/* === Design Tokens === */
:root {
    --cream: #F7F1E8;
    --cream-deep: #EFE5D2;
    --sand: #E6D2B5;
    --sand-dark: #C9B08A;
    --gold: #C6A75E;
    --gold-light: #D9BC7A;
    --gold-dark: #A88840;
    --brown: #3B2A1F;
    --brown-deep: #2A1E16;
    --brown-mid: #5C3D28;
    --brown-light: #8B6347;
    --sunset-a: #C96B35;
    --sunset-b: #E8A070;
    --white: #FFFFFF;
    --ink: #1A1008;
    --muted: #7A6352;

    --sidebar-w: 268px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t: 0.3s;

    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Jost', 'Inter', system-ui, sans-serif;
}

/* === Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
}

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

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

button {
    font-family: var(--font-sans);
}

/* === Grain overlay === */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.036;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ================================================================
   SIDEBAR
================================================================ */
.site-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background: var(--brown-deep);
    z-index: 200;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(198, 167, 94, 0.12);
    transition: transform var(--t) var(--ease);
}

.sidebar-logo {
    padding: 30px 26px 22px;
    border-bottom: 1px solid rgba(198, 167, 94, 0.1);
}

.sidebar-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 8px;
}

.sidebar-logo-name {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(198, 167, 94, 0.65);
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0 12px;
    overflow-y: auto;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 26px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(230, 210, 181, 0.6);
    transition: color var(--t), background var(--t), border-color var(--t);
    border-left: 2px solid transparent;
}

.sidebar-nav a i {
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--gold);
    background: rgba(198, 167, 94, 0.06);
    border-left-color: var(--gold);
}

.sidebar-nav .nav-divider {
    height: 1px;
    background: rgba(198, 167, 94, 0.08);
    margin: 10px 26px;
}

.sidebar-cta {
    padding: 18px 22px;
    border-top: 1px solid rgba(198, 167, 94, 0.1);
}

.btn-sidebar-cta {
    display: block;
    width: 100%;
    padding: 11px 14px;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream) !important;
    background: linear-gradient(135deg, var(--sunset-a), var(--sunset-b));
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: filter var(--t), box-shadow var(--t);
    box-shadow: 0 6px 22px rgba(201, 107, 53, 0.28);
}

.btn-sidebar-cta:hover {
    filter: brightness(1.1);
    box-shadow: 0 8px 30px rgba(201, 107, 53, 0.42);
}

.sidebar-lang {
    padding: 14px 26px;
    border-top: 1px solid rgba(198, 167, 94, 0.08);
    display: flex;
    gap: 4px;
    align-items: center;
}

.sidebar-lang a {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(198, 167, 94, 0.45);
    padding: 4px 7px;
    border-radius: 4px;
    transition: color var(--t);
}

.sidebar-lang a:hover,
.sidebar-lang a.lang-active {
    color: var(--gold);
}

.sidebar-lang .lang-sep {
    color: rgba(198, 167, 94, 0.2);
    font-size: 0.6rem;
}

/* === Sidebar toggle (mobile) === */
#sidebarToggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 300;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(198, 167, 94, 0.3);
    background: var(--brown-deep);
    color: var(--gold);
    font-size: 1.05rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 16, 8, 0.55);
    z-index: 199;
    backdrop-filter: blur(3px);
}

body.sidebar-open .sidebar-backdrop {
    display: block;
}

/* === Main content === */
.site-main {
    margin-left: var(--sidebar-w);
}

/* ================================================================
   UTILITIES / ATOMS
================================================================ */
.section-kicker {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.gold-rule {
    width: 44px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border: none;
    margin: 14px 0 22px;
}

.gold-rule-center {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    width: 60px;
    margin: 14px auto 22px;
}

/* Buttons — all share identical box model so they stay the same height in a row */
.btn-brand,
.btn-outline-gold,
.btn-outline-cream {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    border: 1.5px solid transparent; /* unified border so all buttons are the same height */
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;
}

.btn-brand i,
.btn-outline-gold i,
.btn-outline-cream i {
    line-height: 1;
    flex-shrink: 0;
}

.btn-brand {
    color: var(--cream) !important;
    background: linear-gradient(135deg, var(--sunset-a), var(--sunset-b));
    border-color: transparent;
    box-shadow: 0 6px 22px rgba(201, 107, 53, 0.26);
    transition: filter var(--t), box-shadow var(--t), transform var(--t);
}

.btn-brand:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 30px rgba(201, 107, 53, 0.4);
    transform: translateY(-1px);
}

.btn-outline-gold {
    color: var(--gold) !important;
    background: transparent;
    border-color: var(--gold);
    transition: background var(--t), color var(--t), border-color var(--t);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--brown-deep) !important;
}

.btn-outline-cream {
    color: var(--cream) !important;
    background: transparent;
    border-color: rgba(247, 241, 232, 0.45);
    transition: background var(--t), border-color var(--t);
}

.btn-outline-cream:hover {
    background: rgba(247, 241, 232, 0.1);
    border-color: var(--cream);
}

/* Fade-in animations */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

.fade-up-delay-1 {
    transition-delay: 0.12s;
}

.fade-up-delay-2 {
    transition-delay: 0.24s;
}

.fade-up-delay-3 {
    transition-delay: 0.36s;
}

.fade-up-delay-4 {
    transition-delay: 0.48s;
}

/* ================================================================
   HERO
================================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--brown-deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-img, none);
    background-size: cover;
    background-position: center 30%;
    will-change: transform;
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(26, 16, 8, 0.94) 0%,
            rgba(42, 24, 14, 0.62) 38%,
            rgba(60, 35, 20, 0.22) 68%,
            transparent 100%
    );
}

.hero-overlay-side {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26, 16, 8, 0.52) 0%, transparent 58%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 72px 72px 80px;
    max-width: 780px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    font-weight: 500;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-title em {
    font-style: italic;
    color: var(--sand);
}

.hero-lead {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.72;
    color: rgba(230, 210, 181, 0.76);
    max-width: 50ch;
    margin-bottom: 36px;
}

.hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(198, 167, 94, 0.18);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(230, 210, 181, 0.58);
    letter-spacing: 0.02em;
}

.hero-trust-item i {
    color: var(--gold);
    font-size: 0.88rem;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    right: 52px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(198, 167, 94, 0.5);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-scroll-hint::after {
    content: '';
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(198, 167, 94, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* ================================================================
   SECTION GENERIC
================================================================ */
.section-pad {
    padding: 88px 72px;
}

.section-pad-sm {
    padding: 64px 72px;
}

.section-head {
    margin-bottom: 52px;
}

.section-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.2vw, 3rem);
    color: var(--brown);
}

/* ================================================================
   BENEFITS
================================================================ */
.benefits-section {
    background: var(--cream);
}

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

.benefit-card {
    background: var(--white);
    border: 1px solid rgba(198, 167, 94, 0.18);
    border-radius: 14px;
    padding: 34px 30px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    position: relative;
    overflow: hidden;
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--t);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 52px rgba(59, 42, 31, 0.09);
    border-color: rgba(198, 167, 94, 0.38);
}

.benefit-card:hover::after {
    opacity: 1;
}

.benefit-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(198, 167, 94, 0.28);
    border-radius: 12px;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 18px;
    background: rgba(198, 167, 94, 0.07);
}

.benefit-card h5 {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    color: var(--brown);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--muted);
}

/* ================================================================
   CATALOG
================================================================ */
.catalog-section {
    background: var(--cream-deep);
}

.catalog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 44px;
}

.catalog-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    color: var(--brown);
}

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

.prop-card {
    background: var(--white);
    border: 1px solid rgba(198, 167, 94, 0.16);
    border-radius: 14px;
    overflow: hidden;
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform var(--t), box-shadow var(--t);
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 60px rgba(59, 42, 31, 0.13);
}

.prop-img-wrap {
    position: relative;
    height: 216px;
    overflow: hidden;
    background: var(--sand);
}

.prop-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
}

.prop-card:hover .prop-img-wrap img {
    transform: scale(1.06);
}

.prop-img-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(42, 24, 14, 0.72);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(198, 167, 94, 0.28);
    border-radius: 5px;
    padding: 4px 9px;
}

.prop-body {
    padding: 22px;
}

.prop-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 11px;
}

.prop-tag {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--brown-light);
    background: rgba(198, 167, 94, 0.1);
    border: 1px solid rgba(198, 167, 94, 0.22);
    border-radius: 4px;
    padding: 3px 7px;
}

.prop-name {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 7px;
    line-height: 1.28;
}

.prop-size {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.prop-size i {
    color: var(--gold);
}

.prop-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(198, 167, 94, 0.14);
}

.prop-cta {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--t);
}

.prop-card:hover .prop-cta {
    gap: 10px;
}

/* ================================================================
   MAP SECTION
================================================================ */
.map-section {
    background: var(--brown);
    color: var(--cream);
}

.map-section .section-kicker {
    color: var(--gold-light);
}

.map-section h2 {
    color: var(--cream);
    margin-bottom: 18px;
}

.map-section p {
    color: rgba(230, 210, 181, 0.68);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
}

.map-placeholder {
    border-radius: 14px;
    min-height: 340px;
    border: 1px dashed rgba(198, 167, 94, 0.25);
    background: rgba(198, 167, 94, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(198, 167, 94, 0.38);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.map-embed-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 380px;
    border: 1px solid rgba(198, 167, 94, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.map-embed-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: sepia(0.25) saturate(0.85);
    transition: filter var(--t);
}

.map-embed-wrap:hover iframe {
    filter: sepia(0) saturate(1);
}

.map-open-link {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(42, 24, 14, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(198, 167, 94, 0.3);
    border-radius: 7px;
    transition: background var(--t), border-color var(--t);
    text-decoration: none;
}

.map-open-link:hover {
    background: var(--brown-deep);
    border-color: var(--gold);
    color: var(--gold);
}

.map-points {
    list-style: none;
    padding: 0;
    margin: 18px 0 28px;
}

.map-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(230, 210, 181, 0.6);
    margin-bottom: 10px;
}

.map-points li i {
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ================================================================
   PROCESS
================================================================ */
.process-section {
    background: var(--cream);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 29px;
    left: calc(12.5% + 12px);
    right: calc(12.5% + 12px);
    height: 1px;
    background: linear-gradient(90deg, var(--gold), rgba(198, 167, 94, 0.25), var(--gold));
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 18px;
    position: relative;
    z-index: 1;
}

.process-num {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 22px;
}

.process-step h6 {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 7px;
}

.process-step p {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.58;
}

/* ================================================================
   LEGAL
================================================================ */
.legal-section {
    background: var(--cream-deep);
}

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

/* ================================================================
   CTA BAND
================================================================ */
.cta-section {
    background: var(--cream);
}

.cta-band {
    position: relative;
    overflow: hidden;
    /*border-radius: 18px;*/
    background: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown) 100%);
    border: 1px solid rgba(198, 167, 94, 0.18);
    padding: 60px 64px;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cta-band-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 167, 94, 0.1), transparent 68%);
    pointer-events: none;
}

.cta-band h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 2.5vw, 2.4rem);
    color: var(--cream);
    margin-bottom: 10px;
}

.cta-band p {
    color: rgba(230, 210, 181, 0.58);
    font-size: 0.92rem;
    font-weight: 300;
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
    background: var(--brown-deep);
    color: var(--cream);
    padding: 68px 72px 44px;
    border-top: 1px solid rgba(198, 167, 94, 0.12);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 8px;
}

.footer-logo-name {
    font-family: var(--font-serif);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(198, 167, 94, 0.6);
}

.footer-tagline {
    font-size: 0.84rem;
    font-weight: 300;
    color: rgba(230, 210, 181, 0.44);
    margin-top: 10px;
    line-height: 1.62;
    max-width: 26ch;
}

.footer-heading {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding-left: 0; /* override Bootstrap's ul { padding-left: 2rem } */
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    display: block;
    font-size: 0.84rem;
    font-weight: 300;
    color: rgba(230, 210, 181, 0.5);
    transition: color var(--t);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    font-size: 0.84rem;
    font-weight: 300;
    color: rgba(230, 210, 181, 0.5);
}

.footer-contact-item i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-item a {
    color: inherit;
    transition: color var(--t);
}

.footer-contact-item a:hover {
    color: var(--gold);
}

.footer-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-bottom {
    margin-top: 52px;
    padding-top: 22px;
    border-top: 1px solid rgba(198, 167, 94, 0.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.72rem;
    color: rgba(198, 167, 94, 0.3);
}

/* ================================================================
   FLOATING WHATSAPP
================================================================ */
.float-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 500;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.38);
    transition: transform var(--t), box-shadow var(--t), opacity var(--t);
}

.float-cta:hover {
    transform: scale(1.09);
    box-shadow: 0 12px 34px rgba(37, 211, 102, 0.52);
    color: #fff;
}

.float-cta--hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* ================================================================
   LEAD MODAL
================================================================ */
.modal-content {
    border-radius: 14px;
    border: 1px solid rgba(198, 167, 94, 0.18);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(26, 16, 8, 0.35);
}

.modal-header {
    background: var(--brown-deep);
    border-bottom: 1px solid rgba(198, 167, 94, 0.12);
    padding: 20px 26px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--cream);
}

.modal-header .btn-close {
    filter: invert(1) opacity(0.6);
}

.modal-body {
    background: var(--cream);
    padding: 26px;
}

.modal-footer {
    background: var(--cream);
    border-top: 1px solid rgba(198, 167, 94, 0.12);
    padding: 14px 26px;
}

.modal-body .form-label {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brown-mid);
    margin-bottom: 7px;
}

.modal-body .form-control,
.modal-body .form-select {
    border: 1px solid rgba(198, 167, 94, 0.28);
    border-radius: 8px;
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--brown);
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.14);
    outline: none;
}

.modal-body .btn-group .btn {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-color: rgba(198, 167, 94, 0.28);
    color: var(--brown-mid);
}

.modal-body .btn-check:checked + .btn {
    background: var(--brown-deep);
    border-color: var(--brown-deep);
    color: var(--gold);
}

/* ================================================================
   LIGHTBOX
================================================================ */
#propLightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(26, 16, 8, 0.9);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#propLightbox.lb-open {
    display: flex;
}

#propLightbox .lb-box {
    display: flex;
    flex-direction: column;
    width: min(96vw, 980px);
    max-height: calc(100vh - 40px);
    background: var(--brown-deep);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(198, 167, 94, 0.12);
}

#propLightbox .lb-img-wrap {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

#propLightbox .lb-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#propLightbox .lb-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(198, 167, 94, 0.14);
    border: 1px solid rgba(198, 167, 94, 0.2);
    color: var(--sand);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background var(--t);
}

#propLightbox .lb-close:hover {
    background: rgba(198, 167, 94, 0.28);
}

#propLightbox .lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(198, 167, 94, 0.14);
    border: 1px solid rgba(198, 167, 94, 0.2);
    color: var(--sand);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background var(--t);
    z-index: 2;
}

#propLightbox .lb-nav:hover {
    background: rgba(198, 167, 94, 0.28);
}

#propLightbox .lb-prev {
    left: 12px;
}

#propLightbox .lb-next {
    right: 12px;
}

#propLightbox .lb-strip {
    flex-shrink: 0;
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.22);
    scrollbar-width: thin;
    scrollbar-color: rgba(198, 167, 94, 0.3) transparent;
}

#propLightbox .lb-strip img {
    flex-shrink: 0;
    width: 68px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity var(--t);
    border: 1px solid transparent;
}

#propLightbox .lb-strip img.lb-active {
    opacity: 1;
    border-color: var(--gold);
}

#propLightbox .lb-strip img:hover {
    opacity: 0.75;
}

#propLightbox .lb-footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 16px 12px;
    color: rgba(198, 167, 94, 0.55);
    font-size: 0.8rem;
}

#propLightbox .lb-footer .lb-title {
    color: var(--sand);
    font-weight: 500;
}

/* ================================================================
   SEARCH CARD (in hero)
================================================================ */
.search-card {
    border: 1px solid rgba(198, 167, 94, 0.22);
    background: rgba(42, 24, 14, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
}

.search-card .card-body {
    padding: 30px 26px;
}

.search-card .kicker {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.search-card .form-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(230, 210, 181, 0.72);
    margin-bottom: 6px;
}

.search-card .form-control,
.search-card .form-select {
    background: rgba(247, 241, 232, 0.9);
    border: 1px solid rgba(198, 167, 94, 0.3);
    border-radius: 8px;
    color: var(--brown);
    font-family: var(--font-sans);
    font-size: 0.88rem;
}

.search-card .form-control:focus,
.search-card .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.18);
    background: var(--white);
    outline: none;
}

/* ================================================================
   TOAST
================================================================ */
.toast-container .toast {
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
}

/* Rich-text description output from Summernote */
/*.property-description { line-height: 1.72; font-weight: 300; }*/
/*.property-description p  { margin-bottom: 0.75em; }*/
/*.property-description p:last-child { margin-bottom: 0; }*/
/*.property-description ul,*/
/*.property-description ol { padding-left: 1.4em; margin-bottom: 0.75em; }*/
/*.property-description li { margin-bottom: 0.3em; }*/
/*.property-description strong { font-weight: 600; color: var(--brown); }*/
/*.property-description a { color: var(--gold); text-decoration: underline; }*/
/*.property-description hr { border-color: rgba(198,167,94,0.25); margin: 1em 0; }*/

/* Bootstrap .btn centering fix — override inline-block with inline-flex */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

/* ================================================================
   UTILITIES (keep for Yii GridView / backend)
================================================================ */
.not-set {
    color: #c55;
    font-style: italic;
}

a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th, .grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input, .grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.breadcrumb {
    background-color: var(--cream-deep);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a {
    text-decoration: none;
}

.object-fit-cover {
    object-fit: cover;
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 991px) {
    .site-sidebar {
        transform: translateX(-100%);
    }

    body.sidebar-open .site-sidebar {
        transform: translateX(0);
    }

    .site-main {
        margin-left: 0;
    }

    #sidebarToggle {
        display: flex;
    }

    .hero-content {
        padding: 80px 24px 60px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .section-pad, .section-pad-sm {
        padding: 64px 24px;
    }

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

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

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

    .process-grid::before {
        display: none;
    }

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

    .footer-row {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .cta-band {
        padding: 36px 24px;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-actions {
        justify-content: flex-start;
        flex-direction: column;
    }

    .cta-actions .btn-brand,
    .cta-actions .btn-outline-cream {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        padding: 52px 24px 36px;
    }

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

    .hero-scroll-hint {
        display: none;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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