:root {
    --c-bg: #F1F0FB;
    --c-card: #FFFFFF;
    --c-ink: #141414;
    --c-mut: #6B7280;
    --c-acc: #4E5BF2;
    --c-acc2: #3E4BE0;
    --c-top: #FFFFFF;
    --r: 16px;
    --f-head: 'Space Grotesk', sans-serif;
    --f-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--f-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--f-head); font-weight: 800; color: var(--c-ink); }
a { text-decoration: none; color: inherit; transition: 0.2s ease; }

.site-topbar {
    background: var(--c-top);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mark-name {
    font-family: var(--f-head);
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #111;
}

.menu-panel { display: flex; align-items: center; gap: 30px; }
.menu-list { display: flex; list-style: none; gap: 24px; margin: 0; padding: 0; }
.menu-list a { font-size: 0.9rem; font-weight: 600; color: var(--c-ink); }
.menu-list a:hover { color: var(--c-acc); }
.topbar-cta { padding: 10px 24px; font-size: 0.9rem; }

.banner {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.banner-media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.banner-photo { width: 100%; height: 100%; object-fit: cover; }
.banner-veil { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }

.banner-wrap {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.banner-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: var(--r);
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.card-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.property-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin: 0;
    color: #111;
    flex: 1;
}

.tag {
    background: #FEF3C7; color: #D97706;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    padding: 6px 10px; border-radius: 6px; letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 5px;
}

.intro-block { margin-bottom: 25px; flex-grow: 1; }
.intro-text {
    font-size: 1rem; color: var(--c-mut); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 10; -webkit-box-orient: vertical; overflow: hidden;
}

.cta {
    background-color: var(--c-acc); color: #fff; border-radius: 8px;
    font-family: var(--f-head); font-weight: 700; display: inline-block;
    border: none; cursor: pointer; transition: 0.2s;
    line-height: 1.2; text-decoration: none !important;
}
.cta:hover { background-color: var(--c-acc2); transform: translateY(-2px); }

.cta-lg { 
    width: 100%; text-align: center; padding: 18px 24px; font-size: 1.1rem; 
    max-width: 320px; margin: 0 auto; display: block; 
}

.main-area { padding: 60px 0; }
.wrap-narrow { max-width: 1000px; margin: 0 auto; width: 90%; }
.panel { background: var(--c-card); border-radius: var(--r); padding: 50px; border: 1px solid #E5E7EB; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.panel-title h2 { font-size: 2rem; margin-bottom: 40px; }

.doc-head { margin-bottom: 30px; }
.doc-head h1 { font-size: 2.5rem; margin-bottom: 15px; color: var(--c-ink); }
.rule { width: 80px; height: 6px; background: var(--c-acc); border-radius: 3px; }

.doc-body { font-size: 1.05rem; color: var(--c-ink); line-height: 1.8; }
.doc-body p { margin-bottom: 25px; }

.panel-foot.is-spaced {
    margin-top: 50px; padding-top: 20px; border-top: 1px solid #f0f0f0; text-align: center;
}

.dual-list-container { display: flex; gap: 50px; margin-bottom: 50px; }
.upsides-list, .downsides-list { flex: 1; }
.upsides-list h3, .downsides-list h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--c-mut); margin-bottom: 20px; }
.upsides-list ul, .downsides-list ul { list-style: none; }
.upsides-list li, .downsides-list li { margin-bottom: 18px; display: flex; gap: 15px; align-items: flex-start; }

.icon-box {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box.pro { background: #DCFCE7; color: #16A34A; }
.icon-box.con { background: #FEE2E2; color: #DC2626; }
.icon { font-weight: 700; font-size: 1.5rem; line-height: 1; padding-bottom: 2px; }
.list-text { font-size: 1rem; font-weight: 500; color: var(--c-ink); padding-top: 2px; }

.panel-foot { text-align: center; padding-top: 30px; border-top: 1px solid #F3F4F6; }
.link-cta { font-weight: 700; color: var(--c-acc); font-size: 1.1rem; border-bottom: 2px solid transparent; }
.link-cta:hover { border-bottom-color: var(--c-acc); }

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

.criteria-list li {
    display: grid;
    grid-template-columns: 1fr auto; 
    grid-template-rows: auto auto;
    align-items: center;
    gap: 5px 15px; 
    margin-bottom: 35px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 25px;
}
.criteria-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.criteria-name {
    grid-column: 1; grid-row: 1;
    font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; color: var(--c-ink);
}
.stars {
    grid-column: 2; grid-row: 1;
    display: flex; gap: 4px;
}
.star {
    width: 18px; height: 18px; background-color: #ddd;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.star.filled { background-color: #F59E0B; }
.criteria-description {
    grid-column: 1 / span 2; grid-row: 2;
    font-size: 1rem; color: var(--c-mut); line-height: 1.6; margin-top: 5px;
    display: block;
}

.site-foot { background: #fff; border-top: 1px solid #eee; padding: 60px 0; color: #999; font-size: 0.85rem; }
.site-foot .bar-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-main { flex: 1 1 50%; max-width: 600px; text-align: left; }
.foot-note { line-height: 1.6; }
.foot-aux { flex: 0 0 auto; }
.foot-links { display: flex; gap: 25px; white-space: nowrap; }

#cbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    background: #1F2937;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 90vw;
}

#cbar p {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
}

#cbar a {
    color: var(--c-acc);
    text-decoration: underline;
    margin-left: 6px;
}

#cbar-ok {
    background: #fff;
    color: #000;
    padding: 10px 30px;
    margin: 0 0 0 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    border: none;
    flex-shrink: 0;
    transition: background 0.2s;
}

#cbar-ok:hover {
    background: #f0f0f0;
}

.burger { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 26px; height: 3px; background: #000; margin: 5px 0; border-radius: 3px; }

@media (max-width: 768px) {
    .burger { display: block; }
    
    .menu-panel { 
        display: none; position: absolute; top: 100%; left: 0; width: 100%; 
        background: #fff; padding: 30px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
        flex-direction: column; text-align: center; gap: 20px; border-bottom: 1px solid #eee;
    }
    .menu-panel.shown { display: flex; }
    .menu-list { flex-direction: column; gap: 20px; }
    .topbar-cta { display: inline-block; width: 100%; max-width: 300px; }
    
    .card-head-row { flex-direction: column; gap: 10px; align-items: flex-start; }
    .tag { margin-top: 0; align-self: flex-start; }
    .property-title { font-size: 1.8rem; }
    
    .banner { height: auto; min-height: 500px; padding: 40px 0; align-items: flex-start; }
    .banner-card { padding: 30px 20px; width: 100%; margin-top: 20px; }
    .intro-text { -webkit-line-clamp: unset; display: block; overflow: visible; }
    .cta-lg { max-width: 100%; }
    
    .dual-list-container { flex-direction: column; gap: 30px; }
    .panel { padding: 30px 20px; }
    
    .doc-head h1 { font-size: 2rem; }
    .doc-panel { padding: 30px 20px !important; }
    
    .criteria-list li { grid-template-columns: 1fr; gap: 5px; }
    .stars { grid-column: 1; grid-row: 2; justify-self: start; margin-bottom: 5px; }
    .criteria-description { grid-column: 1; grid-row: 3; }
    
    .site-foot .bar-inner { flex-direction: column; gap: 30px; align-items: center; text-align: center; }
    .foot-main { text-align: center; max-width: 100%; }
    .foot-links { flex-direction: column; gap: 15px; }
}

@media (max-width: 480px) {
    #cbar {
        flex-direction: column;
        width: calc(100% - 40px);
        max-width: none;
        padding: 20px;
    }
    
    #cbar p {
        white-space: normal;
        text-align: center;
    }
    
    #cbar-ok {
        width: 100%;
        margin: 15px 0 0 0;
        padding: 14px 20px;
    }
}

/* ================= theme adjustments ================= */
.site-topbar{ background:transparent; box-shadow:none; border-bottom:none; padding:24px 0; }
.site-topbar .bar-inner{ background:#fff; border:1px solid #ECEBFB; border-radius:999px; padding:12px 26px; box-shadow:0 10px 30px rgba(78,91,242,.10); }
.mark-name{ color:#141414; }
.menu-list a{ color:#141414; }
.menu-list a:hover{ color:var(--c-acc); }
.tag{ background:var(--c-acc); color:#fff; }
.star.filled{ background:var(--c-acc); }
.icon-box.pro{ background:#E9EAFE; color:var(--c-acc); --glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.icon-box.con{ background:#FEE2E2; color:#DC2626; --glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.icon{ display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; font-size:0; line-height:0; }
.icon::before{ content:""; width:18px; height:18px; background-color:currentColor; -webkit-mask:var(--glyph) center/contain no-repeat; mask:var(--glyph) center/contain no-repeat; }
.link-cta{ display:inline; font-weight:700; }
.link-arrow{ font-weight:700; margin-left:4px; }
.banner-action{ text-align:center; }
.cta-lg{ display:inline-block; width:auto; max-width:none; margin:0; padding:16px 44px; }
.site-foot{ background:#fff; border-top-color:#ECEBFB; }


/* desktop: nav links centered in the free space, Book Now stays right */
@media (min-width: 769px){
  .site-topbar .menu-panel{ flex: 1; }
  .site-topbar .menu-list{ margin-left: auto; margin-right: auto; }
}
