:root{
    /* LIVARA Brand Colors - Realtor.com Style */
    /* Color 1: Brown/Gold - #C09970 */
    --brand-accent: #C09970;
    /* Color 2: Dark Blue/Navy - #202944 */
    --brand-primary: #202944;
    /* Brand Accent Color (Gold) */
    --realtor-red: #C09970;
    /* Professional Light Mode Colors */
    --brand-1: #FFFFFF;
    --brand-2: #F8F9FA;
    --text: #1A1A1A;
    --muted: #6B7280;
    --border: #E5E7EB;
  
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --max: 1280px;
  
    /* Responsive breakpoints (for reference; use in media queries) */
    --bp-xs: 360px;
    --bp-sm: 480px;
    --bp-md: 640px;
    --bp-lg: 768px;
    --bp-xl: 900px;
    --bp-2xl: 980px;
    --bp-3xl: 1200px;
  
    /* LIVARA Brand Typography - Montserrat as per Guidelines */
    --font-primary: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
  }
  
  *{box-sizing:border-box}
  html{ overflow-x: hidden; -webkit-text-size-adjust: 100%; }
  html,body{ height: 100%; width: 100%; max-width: 100vw; }
  body{
    margin: 0;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    background: var(--brand-1);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
  }
  main{ min-width: 0; }
  
  a{color:inherit;text-decoration:none}
  img, video, iframe{ max-width: 100%; height: auto; }
  .container{max-width:var(--max); margin:0 auto; padding:0 20px; width:100%; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right))}
  .section{padding: clamp(40px, 8vw, 100px) 0}
  .section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}
  h1,h2,h3,h4,h5,h6{
    font-family:var(--font-primary);
    font-weight:var(--font-weight-semibold);
    letter-spacing:-.02em;
    margin:0;
  }
  h1{font-size:clamp(36px, 4vw, 58px); line-height:1.1; font-weight:var(--font-weight-bold)}
  h2{font-size:clamp(26px, 3vw, 38px); line-height:1.2; font-weight:var(--font-weight-semibold)}
  h3{font-size:22px; line-height:1.3; font-weight:var(--font-weight-semibold); color:var(--brand-primary)}
  h4{font-size:18px; line-height:1.4; font-weight:var(--font-weight-medium)}
  h5{font-size:16px; line-height:1.4; font-weight:var(--font-weight-medium)}
  .kicker{letter-spacing:.18em;text-transform:uppercase;font-size:12px;color:var(--muted);margin:0 0 10px}
  .lead{font-size:16px; line-height:1.7; color:var(--muted); max-width:52ch}
  .muted{color:var(--muted)}
  .tiny{font-size:12px}
  
  .header{
    position:sticky; top:0; left:0; right:0; z-index:50;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: all .3s ease;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .header.is-scrolled{
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
  }
  .header__inner{
    height: 68px; 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    gap:32px;
  }
  .brand{
    display:flex;
    align-items:center;
    text-decoration:none;
    transition: opacity .2s ease;
  }
  .brand:hover{
    opacity: .85;
  }
  .brand__logo{
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform .2s ease;
  }
  .brand:hover .brand__logo{
    transform: scale(1.02);
  }
  .brand__icon{
    width: 32px;
    height: 32px;
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .brand__name{
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    letter-spacing: -.2px;
  }
  .brand__mark{
    width:34px; height:34px; border-radius:12px;
    background: linear-gradient(135deg, rgba(192,153,112,.95), rgba(192,153,112,.35));
    box-shadow: 0 14px 26px rgba(192,153,112,.22);
  }
  .footer .brand__logo{
    height:48px;
    margin-bottom:20px;
  }
  .nav{
    display:flex; 
    gap:2px; 
    align-items:center;
    flex: 1;
    justify-content: center;
  }
  .nav a{
    font-size:15px;
    font-weight:var(--font-weight-medium);
    color:var(--text);
    padding:10px 16px;
    border-radius:6px;
    letter-spacing:.01em;
    transition: all .2s ease;
    position: relative;
    white-space: nowrap;
  }
  .nav a:hover{
    color:var(--brand-primary);
    background: var(--brand-2);
  }
  .nav a.active{
    color: var(--brand-primary);
    font-weight: var(--font-weight-semibold);
  }
  .header__actions{
    display:flex; 
    gap:16px; 
    align-items:center;
  }
  .header__link{
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--text);
    transition: color .2s ease;
  }
  .header__link:hover{
    color: var(--brand-primary);
  }
  .btn--header{
    background: var(--brand-accent);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    transition: all .2s ease;
    box-shadow: 0 2px 6px rgba(192,153,112,.2);
  }
  .btn--header:hover{
    background: #B0885F;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(192,153,112,.3);
  }
  
  .btn{
    border:1px solid var(--border);
    background:transparent;
    color:var(--text);
    padding:10px 20px;
    border-radius:8px;
    font-size:15px;
    font-weight:var(--font-weight-medium);
    font-family:var(--font-primary);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    cursor:pointer;
    transition: all .2s ease;
    letter-spacing:.01em;
  }
  .btn:hover{
    background:var(--brand-2);
    border-color:var(--border);
  }
  .btn--ghost{
    background:var(--brand-2);
    border-color:var(--border);
  }
  .btn--ghost:hover{
    background:#E5E7EB;
    border-color:#D1D5DB;
  }
  .btn--primary{
    border:none;
    background:var(--brand-accent);
    color:#FFFFFF;
    font-weight:var(--font-weight-semibold);
    box-shadow: var(--shadow);
  }
  .btn--primary:hover{
    background:#B0885F;
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
  }
  .w-full{width:100%}
  
  .iconbtn{
    width:40px; 
    height:40px;
    border-radius:8px;
    border:1px solid var(--border);
    background:transparent;
    display:none;
    cursor:pointer;
    position:relative;
    transition: all .2s ease;
  }
  .iconbtn:hover{
    background:var(--brand-2);
    border-color:var(--border);
  }
  .iconbtn span{
    position:absolute; 
    left:10px; 
    right:10px; 
    height:2px;
    background: var(--text);
    border-radius:99px;
    transition: all .2s ease;
  }
  .iconbtn span:first-child{top:14px}
  .iconbtn span:last-child{top:22px}
  
  .hero--realtor{
    position:relative;
    min-height:600px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding: 100px 0 40px;
  }
  .hero--realtor .hero__bg{
    position:absolute;
    inset:0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
  }
  .hero--realtor .hero__inner{
    position:relative;
    z-index:2;
    text-align:center;
  }
  /* Home hero: stacked headline + wide search */
  .hero--home.hero--realtor{
    min-height: 620px;
    padding: 80px 0 60px;
  }
  .hero__inner--stack{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
  }
  .hero__inner--stack .hero__headline{
    margin-bottom: 36px;
  }
  .hero__headline h1{
    color: #FFFFFF;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: var(--font-weight-bold);
    margin-bottom: 12px;
    text-shadow: 0 4px 12px rgba(0,0,0,.4);
    line-height: 1.2;
  }
  .hero__sub{
    color: rgba(255,255,255,.9);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
  }
  .hero__inner{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:48px;
    align-items:center;
  }
  .hero__copy{
    position:relative;
    z-index:3;
  }
  .hero__copy .kicker{
    color:var(--brand-accent);
    font-weight:var(--font-weight-semibold);
    margin-bottom:16px;
    font-size:13px;
  }
  .hero__copy h1{
    color:var(--brand-primary);
    font-weight:var(--font-weight-bold);
    margin-bottom:20px;
    font-size:clamp(32px, 5vw, 56px);
    line-height:1.1;
  }
  .hero__copy .lead{
    color:var(--muted);
    font-size:18px;
    line-height:1.7;
    max-width:540px;
    margin-bottom:32px;
  }
  .hero__ctas{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
  
  .searchcard{
    background: #FFFFFF;
    border:1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow:hidden;
    position:relative;
  }
  .searchcard__tabs{
    display:flex; 
    gap:0; 
    padding:0; 
    border-bottom:2px solid var(--border);
    background:var(--brand-2);
  }
  .tab{
    flex:1; 
    padding:16px 20px; 
    border:none;
    border-bottom:3px solid transparent;
    background:transparent;
    color: var(--muted);
    cursor:pointer;
    font-weight:var(--font-weight-medium);
    font-size:15px;
    transition: all .2s ease;
  }
  .tab:hover{
    background:rgba(255,255,255,.5);
    color:var(--text);
  }
  .tab.is-active{
    background:#FFFFFF;
    border-bottom-color:var(--brand-accent);
    color:var(--brand-primary);
    font-weight:var(--font-weight-semibold);
  }
  .searchcard__grid{
    display:grid; 
    grid-template-columns: 1fr 1fr; 
    gap:16px; 
    padding:24px;
  }
  
  .field{display:flex; flex-direction:column; gap:6px}
  .field span{font-size:12px; color:var(--text); font-weight:var(--font-weight-medium)}
  input,select{
    border-radius:8px;
    border:1px solid var(--border);
    background: #FFFFFF;
    color: var(--text);
    padding:12px 16px;
    outline:none;
    font-family:var(--font-primary);
    font-size:15px;
    transition: all .2s ease;
  }
  input:focus, select:focus{
    border-color:var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(192,153,112,.1);
  }
  input::placeholder{color:var(--muted)}
  select option{color:var(--text); background:#FFFFFF}
  
  /* Featured Section */
  .section--featured{padding:100px 0}
  .section__head--featured{margin-bottom:42px}
  .section__head-content .kicker{
    margin-bottom:8px;
    color:var(--brand-accent);
    font-weight:var(--font-weight-semibold);
    position:relative;
    padding-left:16px;
  }
  .section__head-content .kicker::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:4px;
    height:16px;
    background:var(--brand-primary);
    border-radius:2px;
  }
  .section__head--featured .link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:12px 18px;
    border-radius:14px;
    transition: all .25s ease;
  }
  .section__head--featured .link:hover{
    background: rgba(255,255,255,.06);
    transform: translateX(4px);
  }
  .section__head--featured .arrow{
    transition: transform .25s ease;
  }
  .section__head--featured .link:hover .arrow{
    transform: translateX(4px);
  }

  .grid{display:grid; gap:22px}
  .grid--featured{
    grid-template-columns: repeat(3, 1fr);
    gap:24px;
    align-items:stretch;
  }
  .card{
    border:1px solid var(--border);
    background: #FFFFFF;
    border-radius: var(--radius);
    overflow:hidden;
    transition: all .25s ease;
    display:flex;
    flex-direction:column;
    box-shadow: var(--shadow);
  }
  .card:hover{
    transform: translateY(-4px);
    border-color:#D1D5DB;
    box-shadow: var(--shadow-lg);
    background: #FFFFFF;
  }
  .card--featured{position:relative}
  .card__media{
    height:240px;
    background: var(--brand-2);
    background-size:cover;
    background-position:center;
    position:relative;
    overflow:hidden;
  }
  .card__media::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 40%, rgba(0,0,0,.3) 100%);
    transition: opacity .3s ease;
    z-index:1;
  }
  .card:hover .card__media::before{opacity:.8}
  .card__overlay{
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.5) 100%);
    transition: opacity .3s ease;
    z-index:1;
  }
  .card:hover .card__overlay{opacity:.85}
  .card__badges-top{
    position:absolute;
    top:14px;
    left:14px;
    right:14px;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    z-index:3;
  }
  .card__body{
    padding:20px;
    flex:1;
    display:flex;
    flex-direction:column;
    position:relative;
    z-index:2;
  }
  .card__location{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:14px;
    color:var(--muted);
    margin-bottom:12px;
    font-weight:var(--font-weight-medium);
  }
  .location-icon{
    width:14px;
    height:14px;
    stroke:var(--brand-accent);
    opacity:1;
    flex-shrink:0;
  }
  .card__specs{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    margin:16px 0;
    padding:16px 0;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
  }
  .spec-item{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    color:var(--muted);
    font-weight:var(--font-weight-medium);
  }
  .spec-icon{
    width:14px;
    height:14px;
    stroke:var(--brand-accent);
    opacity:.85;
    flex-shrink:0;
  }
  .card__foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:auto;
    padding-top:16px;
    border-top:1px solid var(--border);
  }
  .price{
    font-weight:var(--font-weight-bold);
    font-size:22px;
    color:var(--brand-primary);
    letter-spacing:-.5px;
  }
  .price-group{
    display:flex;
    flex-direction:column;
    gap:6px;
  }
  .price-per-sqft{
    font-size:11px;
    color:var(--muted);
    font-weight:400;
    letter-spacing:.2px;
  }
  .btn--small{
    padding:10px 16px;
    font-size:12px;
    display:inline-flex;
    align-items:center;
    gap:6px;
  }
  .btn--small svg{
    width:12px;
    height:12px;
    transition: transform .25s ease;
  }
  .btn--small:hover svg{
    transform: translateX(2px);
  }
  /* Ensure all cards have equal height */
  .card{
    min-height:100%;
  }
  
  .badges{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px}
  .badge{
    font-size:12px;
    padding:6px 12px;
    border-radius:6px;
    border:none;
    background:var(--brand-accent);
    color:#FFFFFF;
    font-weight:var(--font-weight-semibold);
    letter-spacing:.3px;
    text-transform:uppercase;
    box-shadow: var(--shadow);
    transition: all .2s ease;
  }
  .card:hover .badge{
    box-shadow: var(--shadow-lg);
  }
  .badge--soft{
    border:none;
    background:var(--brand-2);
    color:var(--text);
    box-shadow: none;
  }
  .card:hover .badge--soft{
    background:#E5E7EB;
  }
  
  .section--cta{
    background: linear-gradient(135deg, rgba(32,41,68,.06), rgba(192,153,112,.08));
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    position:relative;
  }
  .section--cta::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(135deg, rgba(32,41,68,.03), transparent);
    pointer-events:none;
  }
  .cta{display:flex; align-items:center; justify-content:space-between; gap:18px}
  
  .link{color:var(--text); font-weight:var(--font-weight-medium)}
  .link:hover{color:var(--brand-accent)}
  
  .modal{position:fixed; inset:0; display:none; z-index:80}
  .modal.is-open{display:block}
  .modal__backdrop{position:absolute; inset:0; background: rgba(32,41,68,.4)}
  .modal__panel{
    position:absolute; right:18px; top:92px;
    width:min(420px, calc(100vw - 36px));
    max-width: calc(100% - 36px);
    background: #FFFFFF;
    border:1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(32,41,68,.15);
    backdrop-filter: blur(18px);
    overflow:hidden;
  }
  .modal__head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 14px 10px}
  .modal__form{padding:0 14px 14px; display:grid; gap:10px}
  .modal__head .iconbtn{display:inline-flex; width:40px; height:40px}
  .modal__head .iconbtn span:first-child{transform: rotate(45deg); top:19px}
  .modal__head .iconbtn span:last-child{transform: rotate(-45deg); top:19px}
  
  /* Feature Cards */
  .grid--two{grid-template-columns: 1fr 1fr; gap:18px}
  .feature-card{
    border:1px solid var(--border);
    background: #FFFFFF;
    border-radius: 16px;
    overflow:hidden;
    backdrop-filter: blur(16px);
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    display:flex;
    flex-direction: column;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(32,41,68,.08);
    height: 100%;
  }
  .feature-card:hover{
    transform: translateY(-8px);
    border-color: var(--brand-accent);
    box-shadow: 0 16px 48px rgba(192,153,112,.2);
  }
  .feature-card__media{
    height:200px;
    background: linear-gradient(135deg, rgba(192,153,112,.08), rgba(192,153,112,.03)),
                url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
    position:relative;
  }
  .feature-card__media::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.3) 100%);
  }
  .feature-card__media--news{
    background: linear-gradient(135deg, rgba(111,174,175,.08), rgba(111,174,175,.03)),
                url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  }
  .feature-card__body{
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .feature-card h3{
    color:var(--brand-primary);
    font-weight:var(--font-weight-semibold);
    margin-bottom:16px;
    font-size:22px;
    line-height: 1.3;
    transition: color .2s ease;
  }
  .feature-card:hover h3{
    color: var(--brand-accent);
  }
  .feature-card .muted{
    color:var(--muted);
    line-height:1.7;
    font-size: 15px;
    flex: 1;
  }

  /* Split Content */
  .section--alt{
    background: linear-gradient(180deg, rgba(32,41,68,.02) 0%, rgba(248,246,240,.4) 100%);
    position:relative;
    padding: 100px 0;
  }
  .section--alt::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:1px;
    background: linear-gradient(90deg, transparent, rgba(32,41,68,.1), transparent);
  }
  .split-content{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:60px;
    align-items:center;
  }
  .split-content--reverse{grid-template-columns: 1fr 1fr}
  .split-content--reverse .split-content__text{order:2}
  .split-content--reverse .split-content__media{order:1}
  .split-content__text{
    padding: 20px 0;
  }
  .split-content__text h2{
    font-size: clamp(32px, 4vw, 44px);
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    margin-bottom: 24px;
    line-height: 1.2;
  }
  .split-content__text .muted{
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 32px;
    color: var(--muted);
  }
  .split-content__text h3.h4{font-size:18px; font-weight:400; margin:8px 0 14px; color:var(--muted)}
  .split-content__actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:20px}
  .split-content__media{
    height:450px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    border:1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
  }
  .split-content__media::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.02), transparent);
    pointer-events: none;
  }
  .split-content__media--brochure{
    background: linear-gradient(135deg, rgba(192,153,112,.12), rgba(192,153,112,.04)),
                url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  }

  /* Projects Carousel */
  .projects-carousel{position:relative}
  .projects-carousel__controls{
    display:flex;
    justify-content:space-between;
    margin-bottom:18px;
  }
  .carousel-btn{
    border:1px solid var(--border);
    background: rgba(255,255,255,.04);
    color:var(--text);
    padding:10px 16px;
    border-radius:14px;
    font-size:13px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
    transition: background .18s ease, border-color .18s ease;
  }
  .carousel-btn:hover{
    background: rgba(255,255,255,.08);
    border-color: rgba(192,153,112,.35);
  }
  .projects-carousel__track{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:18px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:thin;
    scrollbar-color: rgba(201,168,106,.3) transparent;
  }
  .projects-carousel__track::-webkit-scrollbar{height:6px}
  .projects-carousel__track::-webkit-scrollbar-track{background:transparent}
  .projects-carousel__track::-webkit-scrollbar-thumb{
    background: rgba(192,153,112,.3);
    border-radius:99px;
  }
  .card--project{min-width:320px}

  /* Footer */
  .footer{
    background: var(--brand-2);
    border-top:1px solid var(--border);
    padding:72px 0 32px;
    margin-top:80px;
  }
  .footer__grid{
    display:grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap:40px;
    margin-bottom:48px;
  }
  .footer__col--wide{max-width:400px}
  .footer__col .brand{margin-bottom:20px}
  .footer__col p.muted{
    color:var(--muted);
    line-height:1.7;
    font-size:14px;
  }
  .footer__col h4, .footer__col h5{
    font-size:16px;
    margin:0 0 18px;
    font-weight:var(--font-weight-semibold);
    color:var(--brand-primary);
  }
  .footer__col h5{
    font-size:15px;
    margin-bottom:12px;
  }
  .footer__links{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    flex-direction:column;
    gap:12px;
  }
  .footer__links a{
    color:var(--muted);
    font-size:14px;
    transition: all .18s ease;
    font-weight:var(--font-weight-regular);
  }
  .footer__links a:hover{
    color:var(--brand-accent);
    transform: translateX(4px);
  }
  .footer__contact{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin:24px 0;
  }
  .contact-item{
    display:flex;
    align-items:center;
    gap:12px;
    color:var(--muted);
    font-size:14px;
    transition: all .18s ease;
    padding:8px 0;
  }
  .contact-item:hover{
    color:var(--brand-primary);
    transform: translateX(4px);
  }
  .contact-item__icon{
    width:18px;
    height:18px;
    stroke:var(--brand-accent);
    flex-shrink:0;
    transition: stroke .18s ease;
  }
  .contact-item:hover .contact-item__icon{
    stroke:var(--brand-accent);
  }
  .footer__office{
    margin-top:32px;
    padding-top:24px;
    border-top:1px solid var(--border);
  }
  .footer__office p{
    margin:6px 0;
    font-size:14px;
    color:var(--muted);
  }
  .footer__newsletter{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:16px;
  }
  .footer__newsletter input{
    width:100%;
    border-radius:12px;
    border:1px solid var(--border);
    background: #FFFFFF;
    color:var(--text);
    padding:12px 14px;
    font-size:14px;
    outline:none;
    font-family:var(--font-primary);
    transition: all .18s ease;
  }
  .footer__newsletter input:focus{
    border-color:var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(192,153,112,.1);
  }
  .footer__newsletter input::placeholder{color:var(--muted)}
  .footer__newsletter .btn{
    width:100%;
    justify-content:center;
  }
  .footer__social{
    margin-top:24px;
    padding-top:20px;
    border-top:1px solid var(--border);
  }
  .footer__social .tiny{
    margin-bottom:12px;
    font-weight:var(--font-weight-medium);
  }
  .social-links{
    display:flex;
    gap:10px;
    margin-top:12px;
  }
  .social-links a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background: #FFFFFF;
    border:1px solid var(--border);
    color:var(--text);
    transition: all .18s ease;
  }
  .social-links a svg{
    stroke:var(--brand-primary);
    transition: stroke .18s ease;
  }
  .social-links a:hover{
    transform: translateY(-3px);
    background: var(--brand-accent);
    border-color:var(--brand-accent);
    box-shadow: 0 4px 12px rgba(192,153,112,.25);
  }
  .social-links a:hover svg{
    stroke:#FFFFFF;
  }
  .footer__bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding-top:28px;
    border-top:1px solid var(--border);
    flex-wrap:wrap;
  }
  .footer__bottom .tiny{
    color:var(--muted);
    font-size:13px;
  }
  .footer__legal{
    display:flex;
    gap:20px;
    align-items:center;
    flex-wrap:wrap;
  }
  .footer__legal a{
    color:var(--muted);
    font-size:13px;
    transition: color .18s ease;
    font-weight:var(--font-weight-regular);
  }
  .footer__legal a:hover{color:var(--brand-accent)}
  .footer__legal .muted{
    font-size:12px;
    color:var(--muted);
  }

  /* Page Header */
  .page-header{
    padding:120px 0 60px;
    background: linear-gradient(135deg, rgba(192,153,112,.05) 0%, rgba(111,174,175,.05) 100%);
    border-bottom: 1px solid var(--border);
  }
  .page-header__content{
    max-width: 100%;
    width: 100%;
  }
  .page-header .kicker{
    color: var(--brand-accent);
    font-weight: var(--font-weight-medium);
  }
  .page-header h1{
    margin-bottom: 16px;
    color: var(--brand-primary);
  }
  .page-header .lead{
    font-size: 18px;
    max-width: 100%;
  }

  /* Static page (About, Contact, etc.) */
  .page-header--static{
    padding: 80px 0 48px;
    background: linear-gradient(180deg, rgba(32,41,68,.03) 0%, rgba(248,249,250,1) 100%);
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .page-header--static .page-header__content{
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  .page-header__kicker{
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 12px 0;
  }
  .page-header__title{
    font-size: clamp(32px, 5vw, 44px);
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    line-height: 1.2;
    margin: 0 0 16px 0;
  }
  .page-header__lead{
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
  }
  .static-page .section--static{
    padding: 56px 0;
  }
  .static-page .section--static:nth-child(even){
    background: var(--brand-2);
  }
  .static-page .section--static:nth-child(odd){
    background: #FFFFFF;
  }
  .content-section--page{
    max-width: 100%;
    width: 100%;
  }
  .content-section--full{
    max-width: none;
  }
  .content-section__title{
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-primary);
    margin: 0 0 1.25rem 0;
    line-height: 1.3;
  }
  .content-body--static{
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
  }
  .content-body--static p{
    margin-bottom: 1.25rem;
  }
  .content-body--static p:last-child{
    margin-bottom: 0;
  }
  .content-body--static a{
    color: var(--brand-accent);
    text-decoration: underline;
  }
  .content-body--static a:hover{
    color: var(--brand-primary);
  }
  .cta-block{
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #2a3550 100%);
    border-radius: 16px;
    color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(32,41,68,.15);
  }
  .cta-block__title{
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 16px 0;
    color: #FFFFFF;
  }
  .cta-block__text{
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 28px 0;
    opacity: .95;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-block .btn--primary{
    background: var(--brand-accent);
    color: #FFFFFF;
    padding: 14px 28px;
    font-weight: var(--font-weight-semibold);
  }
  .cta-block .btn--primary:hover{
    background: #B0885F;
    color: #FFFFFF;
  }
  .btn--lg{
    padding: 16px 32px;
    font-size: 16px;
  }
  .features-section--page .features-section__title{
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.5rem;
    color: var(--brand-primary);
  }
  .features-section--page .feature-card{
    padding: 28px 24px;
  }
  .features-section--page .feature-card h3{
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .features-section--page .feature-card p{
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
  }
  .cta-block .cta-block__text a{
    color: rgba(255,255,255,.95);
    text-decoration: underline;
  }
  .cta-block .cta-block__text a:hover{
    color: #FFFFFF;
  }
  /* Contact page: info block + form */
  .contact-info-block{
    padding: 24px 0;
  }
  .contact-info-block__title{
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-primary);
    margin: 0 0 28px 0;
  }
  .contact-info-block__grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }
  .contact-info-card{
    padding: 28px 24px;
    background: var(--brand-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .contact-info-card:hover{
    border-color: var(--brand-accent);
    box-shadow: 0 4px 16px rgba(192,153,112,.12);
  }
  .contact-info-card__icon{
    display: inline-flex;
    color: var(--brand-accent);
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: rgba(192,153,112,.1);
    border-radius: 12px;
  }
  .contact-info-card__label{
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
  }
  .contact-info-card__value{
    font-size: 17px;
    font-weight: var(--font-weight-medium);
    color: var(--brand-primary);
    text-decoration: none;
    line-height: 1.4;
  }
  .contact-info-card__value:hover{
    color: var(--brand-accent);
  }
  .contact-form-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 40px 0;
    width: 100%;
  }
  .contact-form-section__form{
    max-width: none;
  }
  .contact-form-section__map{
    position: sticky;
    top: 24px;
  }
  .contact-map{
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--brand-2);
    border: 1px solid var(--border);
  }
  .contact-map iframe{
    display: block;
    width: 100%;
    min-height: 420px;
    height: 100%;
  }
  @media (max-width: 900px){
    .contact-form-section{
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .contact-form-section__map{ position: static; }
    .contact-map{ min-height: 320px; }
    .contact-map iframe{ min-height: 320px; }
  }
  .contact-form-block{
    padding: 0;
    max-width: none;
  }
  .contact-form-block__title{
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-primary);
    margin: 0 0 24px 0;
  }
  .contact-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .contact-form .field{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .contact-form .field span{
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--text);
  }
  .contact-form .field em{ color: var(--brand-accent); }
  .contact-form .form-control{
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
  }
  .contact-form .form-control:focus{
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(192,153,112,.15);
  }
  .contact-form textarea.form-control{ resize: vertical; min-height: 120px; }
  .contact-form .field-error{ font-size: 13px; color: #dc2626; }
  .contact-form-alert{
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
  }
  .contact-form-alert--success{
    background: rgba(34,197,94,.1);
    color: #15803d;
    border: 1px solid rgba(34,197,94,.3);
  }
  .contact-form-alert--error{
    background: rgba(220,38,38,.08);
    color: #b91c1c;
    border: 1px solid rgba(220,38,38,.25);
  }
  .empty-page-message{
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 18px;
  }
  .empty-page-message .btn{
    margin-top: 20px;
  }
  /* Stats block (About page) */
  .stats-block{
    padding: 24px 0;
  }
  .stats-block__grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    text-align: center;
  }
  .stats-block__item{
    padding: 24px 16px;
    background: rgba(32,41,68,.04);
    border-radius: 12px;
    border: 1px solid var(--border);
  }
  .stats-block__value{
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--brand-accent);
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .stats-block__label{
    font-size: 14px;
    color: var(--muted);
    font-weight: var(--font-weight-medium);
  }

  /* Filters Card */
  .section--filters{
    padding: 40px 0;
    background: var(--brand-2);
  }
  .filters-card{
    background: var(--brand-1);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }
  .filters-card__grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    align-items: end;
  }
  .filters-card .field input[type="text"]{
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: var(--font-primary);
  }
  .filters-card .field input[type="text"]:focus{
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(192,153,112,.15);
  }

  /* Properties Grid */
  .properties-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
  }
  .card--property{
    background: var(--brand-1);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all .25s ease;
  }
  .card--property:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(32,41,68,.12);
  }

  /* View Toggle */
  .view-toggle{
    display: flex;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
    background: var(--brand-2);
  }
  .view-btn{
    padding: 8px 14px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: var(--muted);
    transition: all .18s ease;
  }
  .view-btn:hover{
    color: var(--brand-primary);
    background: rgba(32,41,68,.05);
  }
  .view-btn.active{
    background: var(--brand-1);
    color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(32,41,68,.08);
  }

  /* Pagination */
  .pagination{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
  }
  .pagination__btn{
    padding: 10px 18px;
    border: 1px solid var(--border);
    background: var(--brand-1);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: all .18s ease;
    font-family: var(--font-primary);
  }
  .pagination__btn:hover:not(:disabled){
    background: var(--brand-2);
    border-color: var(--brand-accent);
    color: var(--brand-accent);
  }
  .pagination__btn:disabled{
    opacity: .4;
    cursor: not-allowed;
  }
  .pagination__pages{
    display: flex;
    gap: 6px;
  }
  .pagination__page{
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--brand-1);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: all .18s ease;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pagination__page:hover{
    background: var(--brand-2);
    border-color: var(--brand-accent);
  }
  .pagination__page.active{
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #FFFFFF;
  }

  /* Blog Grid */
  .blog-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
  }
  .blog-card{
    background: var(--brand-1);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
  }
  .blog-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(32,41,68,.12);
  }
  .blog-card__media{
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .blog-card__body{
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .blog-card__meta{
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--muted);
  }
  .blog-card__category{
    color: var(--brand-accent);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: .1em;
  }
  .blog-card h3{
    margin-bottom: 12px;
    color: var(--brand-primary);
    font-size: 20px;
    line-height: 1.3;
  }
  .blog-card .muted{
    margin-bottom: 16px;
    flex: 1;
  }
  .blog-card .link{
    color: var(--brand-accent);
    font-weight: var(--font-weight-medium);
    font-size: 14px;
  }

  /* Blog single post page */
  .container--narrow{
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .blog-post-page{
    padding-bottom: 60px;
  }
  .blog-post-header{
    padding: 48px 0 32px;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .blog-post__kicker{
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
  }
  .blog-post__title{
    font-size: clamp(28px, 4vw, 38px);
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    line-height: 1.25;
    margin: 0 0 12px 0;
  }
  .blog-post__date{
    font-size: 15px;
    color: var(--muted);
    margin: 0;
  }
  .blog-post-hero{
    margin: 0;
    overflow: hidden;
    max-height: 420px;
  }
  .blog-post-hero__img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
  }
  .section--blog-body{
    padding: 48px 0 60px;
  }
  .content-body--blog{
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
  }
  .content-body--blog h2,
  .content-body--blog h3{
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--brand-primary);
    font-weight: var(--font-weight-semibold);
  }
  .content-body--blog h2{ font-size: 1.5rem; }
  .content-body--blog h3{ font-size: 1.25rem; }
  .content-body--blog p{
    margin-bottom: 1.25rem;
  }
  .content-body--blog p:last-child{ margin-bottom: 0; }
  .content-body--blog a{
    color: var(--brand-accent);
    text-decoration: underline;
  }
  .content-body--blog a:hover{ color: var(--brand-primary); }
  .blog-post__back{
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }
  .blog-post__back .btn{
    padding: 12px 24px;
    font-size: 15px;
  }

  /* Feature List */
  .feature-list{
    list-style: none;
    padding: 0;
    margin: 24px 0;
  }
  .feature-list li{
    padding: 12px 0 12px 28px;
    position: relative;
    color: var(--text);
    line-height: 1.6;
  }
  .feature-list li::before{
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-accent);
    font-weight: var(--font-weight-bold);
    font-size: 18px;
  }

  /* Feature Card Icon */
  .feature-card__icon{
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(192,153,112,.15), rgba(192,153,112,.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all .3s ease;
    flex-shrink: 0;
  }
  .feature-card:hover .feature-card__icon{
    background: linear-gradient(135deg, var(--brand-accent), #B0885F);
    transform: scale(1.1) rotate(5deg);
  }
  .feature-card__icon svg{
    stroke: var(--brand-accent);
    width: 32px;
    height: 32px;
    transition: all .3s ease;
  }
  .feature-card:hover .feature-card__icon svg{
    stroke: #FFFFFF;
    transform: scale(1.1);
  }
  .grid--features{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
  }
  @media (min-width: 1200px){
    .grid--features{
      grid-template-columns: repeat(4, 1fr);
    }
  }

  /* Projects Carousel Card */
  .projects-carousel__card{
    background: var(--brand-1);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all .25s ease;
  }
  .projects-carousel__card:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(32,41,68,.12);
  }
  .projects-carousel__media{
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .projects-carousel__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(32,41,68,.4), transparent);
  }
  .projects-carousel__body{
    padding: 20px;
  }
  .projects-carousel__body h3{
    color: var(--brand-primary);
    margin-bottom: 8px;
  }
  .projects-carousel__location{
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0;
    font-size: 14px;
    color: var(--muted);
  }
  .projects-carousel__body .price{
    margin: 12px 0;
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-primary);
  }

  /* Button Small */
  .btn--small{
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Nav Active State */
  .nav a.active{
    color: var(--brand-accent);
    font-weight: var(--font-weight-medium);
  }
  .mobilemenu__panel a.active{
    color: var(--brand-accent);
    background: rgba(192,153,112,.1);
  }

  /* Property Details Page */
  .property-gallery{
    margin-top: 74px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    max-height: 600px;
  }
  .property-gallery__main{
    border-radius: var(--radius);
    overflow: hidden;
  }
  .property-gallery__image{
    width: 100%;
    height: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
  }
  .property-gallery__thumbs{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .property-gallery__thumb{
    flex: 1;
    min-height: 144px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform .2s ease;
  }
  .property-gallery__thumb:hover{
    transform: scale(1.02);
  }

  .property-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
  }
  .property-header__content{
    flex: 1;
  }
  .property-header__badges{
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
  }
  .property-header h1{
    margin-bottom: 12px;
    color: var(--brand-primary);
  }
  .property-header__location{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 16px;
  }
  .property-header__location .location-icon{
    stroke: var(--brand-accent);
  }
  .property-header__price{
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
  }
  .price--large{
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
  }
  .property-header__actions{
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
  }

  .property-details{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-top: 40px;
  }
  .property-section{
    margin-bottom: 48px;
  }
  .property-section h2{
    color: var(--brand-primary);
    margin-bottom: 20px;
  }
  .property-section .muted{
    line-height: 1.8;
    margin-bottom: 16px;
  }

  .property-specs{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
  }
  .property-specs__item{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--brand-2);
    border-radius: 14px;
    border: 1px solid var(--border);
  }
  .property-specs__item .spec-icon{
    stroke: var(--brand-accent);
    flex-shrink: 0;
  }
  .property-specs__label{
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .1em;
  }
  .property-specs__value{
    display: block;
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-primary);
  }

  .property-features{
    margin-top: 24px;
  }
  .property-features__grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  .property-feature{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--brand-2);
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 14px;
    color: var(--text);
  }
  .property-feature svg{
    stroke: var(--brand-accent);
    flex-shrink: 0;
  }

  .property-location-list{
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }
  .property-location-list li{
    padding: 10px 0 10px 24px;
    position: relative;
    color: var(--text);
    line-height: 1.6;
  }
  .property-location-list li::before{
    content: "→";
    position: absolute;
    left: 0;
    color: var(--brand-accent);
    font-weight: var(--font-weight-bold);
  }

  .property-map{
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
  }

  .property-contact-card{
    background: var(--brand-1);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    position: sticky;
    top: 100px;
  }
  .property-contact-card h3{
    color: var(--brand-primary);
    margin-bottom: 20px;
  }
  .property-contact-form{
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .property-contact-form textarea{
    resize: vertical;
    min-height: 100px;
  }

  .property-agent-card{
    background: var(--brand-2);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
  }
  .property-agent-card h4{
    color: var(--brand-primary);
    margin-bottom: 20px;
  }
  .property-agent{
    display: flex;
    gap: 16px;
  }
  .property-agent__avatar{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 3px solid var(--brand-accent);
  }
  .property-agent__info{
    flex: 1;
  }
  .property-agent__info h5{
    color: var(--brand-primary);
    margin-bottom: 4px;
  }
  .property-agent__info .muted{
    font-size: 13px;
    margin-bottom: 12px;
  }
  .property-agent__contact{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .property-agent__contact .contact-item{
    font-size: 13px;
  }

  .mobilemenu{display:none}
  @media (max-width: 980px){
    .nav{display:none}
    .iconbtn{display:inline-flex}
    .hero__inner{grid-template-columns:1fr; align-items:start}
    .searchcard__grid{grid-template-columns:1fr}
    .section--featured{padding:60px 0}
    .section__head--featured{margin-bottom:32px}
    .section__head--featured .link{padding:10px 14px}
    .grid--featured{grid-template-columns:1fr}
    .grid--two{grid-template-columns:1fr}
    .card__media{height:200px}
    .card__body{padding:16px}
    .card__specs{gap:12px; margin:10px 0 12px}
    .card__foot{flex-wrap:wrap; gap:10px}
    .price-group{margin-bottom:8px}
    .price{font-size:18px}
    .cta{flex-direction:column; align-items:flex-start}
    .split-content{grid-template-columns:1fr; gap:40px}
    .split-content--reverse .split-content__text{order:1}
    .split-content--reverse .split-content__media{order:2}
    .split-content__media{height:350px}
    .split-content__text{padding: 0}
    .feature-section{grid-template-columns: 1fr; gap: 48px}
    .feature-section--reverse .feature-section__content{order: 1}
    .feature-section--reverse .feature-section__image{order: 2}
    .feature-section__image{height: 400px}
    .feature-section__content{padding: 0}
    .local-search-form__wrapper{max-width: 100%}
    .modern-card{
      min-height: 450px;
    }
    .modern-card__content{
      padding: 50px 40px;
    }
    .modern-card__icon{
      width: 72px;
      height: 72px;
    }
    .modern-card__content h2{
      font-size: clamp(28px, 3.5vw, 40px);
    }
    .modern-search-form{
      max-width: 100%;
    }
    .projects-carousel__track{grid-template-columns:1fr}
    .card--project{min-width:auto}
    .footer__grid{grid-template-columns:1fr; gap:28px}
    .footer__col--wide{max-width:100%}
    .footer__bottom{flex-direction:column; align-items:flex-start}
    .mobilemenu{display:block}
    .mobilemenu[aria-hidden="true"]{pointer-events:none}
    .mobilemenu__panel{
      position:fixed; inset:86px 18px auto 18px;
      background: rgba(17,26,46,.86);
      border:1px solid var(--border);
      border-radius: var(--radius);
      backdrop-filter: blur(18px);
      padding:12px;
      display:none;
    }
    .mobilemenu.is-open .mobilemenu__panel{display:grid; gap:6px}
    .mobilemenu__panel a{
      padding:12px; border-radius:14px;
      color:#FFFFFF;
      font-weight:var(--font-weight-medium);
    }
    .mobilemenu__panel a:hover{background: rgba(255,255,255,.12); color:#FFFFFF}
    .page-header{padding:100px 0 40px}
    .filters-card__grid{grid-template-columns:1fr}
    .properties-grid{grid-template-columns:1fr; gap:20px}
    .blog-grid{grid-template-columns:1fr; gap:24px}
    .blog-card__media{height:200px}
    .pagination{flex-wrap:wrap}
    .grid--features{grid-template-columns:1fr}
    .projects-carousel__media{height:200px}
    .property-gallery{grid-template-columns:1fr; max-height:none; margin-top:74px}
    .property-gallery__image{min-height:400px}
    .property-gallery__thumbs{grid-template-columns:repeat(4, 1fr); max-height:400px; overflow:auto}
    .property-gallery__thumb{min-height:90px}
    .property-header{flex-direction:column; gap:24px}
    .property-header__actions{flex-direction:row; width:100%}
    .property-details{grid-template-columns:1fr; gap:32px}
    .property-contact-card{position:static}
    .property-specs{grid-template-columns:repeat(2, 1fr); gap:16px}
    .property-features__grid{grid-template-columns:1fr}
  }

  /* Realtor.com Style Components */
  .section-title{
    font-size: clamp(28px, 4vw, 36px);
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    margin-bottom: 40px;
    text-align: center;
  }

  /* Search Widget */
  .search-widget{
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border);
  }
  /* Hero search: wider, more prominent */
  .search-widget--hero{
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.08);
    border: 1px solid rgba(255,255,255,.25);
  }
  .search-widget--hero .search-widget__tabs{
    padding: 0;
  }
  .search-widget--hero .search-tab{
    padding: 18px 28px;
    font-size: 16px;
  }
  .search-widget--hero .search-widget__input-wrapper{
    padding: 20px 24px;
    gap: 16px;
    align-items: center;
  }
  .search-widget--hero .search-widget__input{
    padding: 18px 20px;
    font-size: 17px;
    border-radius: 10px;
    min-height: 56px;
    border: 2px solid var(--border);
  }
  .search-widget--hero .search-widget__input:focus{
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 4px rgba(192,153,112,.2);
  }
  .search-widget--hero .search-widget__input::placeholder{
    color: var(--muted);
  }
  .search-widget--hero .search-widget__submit{
    padding: 18px 32px;
    border-radius: 10px;
    min-height: 56px;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(192,153,112,.35);
  }
  .search-widget--hero .search-widget__submit:hover{
    background: #B0885F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192,153,112,.4);
  }
  .search-widget__icon{
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    display: none;
  }
  .search-widget--hero .search-widget__input-wrapper{
    position: relative;
  }
  .search-widget--hero .search-widget__icon{
    display: block;
  }
  .search-widget__submit-text{
    display: none;
  }
  .search-widget--hero .search-widget__submit-text{
    display: inline;
  }
  .search-widget__tabs{
    display: flex;
    border-bottom: 2px solid var(--border);
    background: var(--brand-2);
  }
  .search-tab{
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all .2s ease;
    border-bottom: 3px solid transparent;
  }
  .search-tab:hover{
    background: rgba(255,255,255,.5);
    color: var(--text);
  }
  .search-tab.is-active{
    background: #FFFFFF;
    color: var(--brand-primary);
    border-bottom-color: var(--brand-accent);
    font-weight: var(--font-weight-semibold);
  }
  .search-widget__input-wrapper{
    display: flex;
    padding: 16px;
    gap: 12px;
  }
  .search-widget__input{
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 16px;
    outline: none;
  }
  .search-widget__input:focus{
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(192,153,112,.15);
  }
  .search-widget__submit{
    background: var(--brand-accent);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius);
    padding: 14px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    box-shadow: var(--shadow);
  }
  .search-widget__submit:hover{
    background: #B0885F;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
  }

  /* Promo Banner */
  .promo-banner{
    background: linear-gradient(135deg, var(--brand-accent), #B0885F);
    color: #FFFFFF;
    padding: 18px 0;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(192,153,112,.2);
  }
  .promo-banner__content{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  .promo-banner__text{
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
  }
  .btn--promo{
    background: #FFFFFF;
    color: var(--brand-accent);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: var(--font-weight-semibold);
    transition: all .2s ease;
    box-shadow: var(--shadow);
  }
  .btn--promo:hover{
    background: var(--brand-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }

  /* Browse Homes Section */
  .section--browse{
    padding: 72px 0 80px;
    background: linear-gradient(180deg, var(--brand-2) 0%, #FFFFFF 100%);
  }
  .section--browse .container{
    max-width: var(--max);
  }
  .section--browse .section-title{
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    text-align: center;
    margin: 0 0 48px;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }
  .browse-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  @media (min-width: 768px){
    .browse-grid{
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
  }
  @media (min-width: 1200px){
    .browse-grid{ gap: 28px; }
  }
  .browse-card{
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--border);
    transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  }
  .browse-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.06);
    border-color: rgba(192,153,112,.4);
  }
  .browse-card:focus-visible{
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
  }
  .browse-card__image{
    width: 100%;
    aspect-ratio: 4/3;
    min-height: 140px;
    max-height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform .35s ease;
  }
  .browse-card:hover .browse-card__image{
    transform: scale(1.06);
  }
  .browse-card__placeholder{
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, var(--brand-2), #FFFFFF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
    transition: background .3s ease;
  }
  .browse-card:hover .browse-card__placeholder{
    background: linear-gradient(135deg, rgba(192,153,112,.1), rgba(192,153,112,.05));
  }
  .browse-card__badge{
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--brand-accent);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    box-shadow: 0 2px 8px rgba(192,153,112,.3);
  }
  .browse-card__label{
    padding: 18px 16px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-primary);
    text-align: center;
    background: #FFFFFF;
    border-top: 1px solid var(--border);
    transition: background .2s ease, color .2s ease;
  }
  .browse-card:hover .browse-card__label{
    background: var(--brand-2);
    color: var(--brand-primary);
  }

  /* Agents Section (RealChoice Selling) */
  .section--agents{
    padding: 64px 0 72px;
    background: #FFFFFF;
    border-top: 1px solid var(--border);
  }
  .agents-section__header{
    text-align: center;
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .agents-section__header .kicker{
    color: var(--brand-accent);
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: .2em;
    font-weight: var(--font-weight-semibold);
  }
  .agents-section__header h2{
    font-size: clamp(22px, 2.8vw, 30px);
    margin: 0;
    color: var(--brand-primary);
    line-height: 1.3;
    font-weight: var(--font-weight-semibold);
  }
  .agents-section__profiles{
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
  }
  .agent-profile{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
  }
  .agent-profile__avatar{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 4px solid var(--brand-accent);
    box-shadow: 0 4px 16px rgba(192,153,112,.2);
    margin-bottom: 20px;
    transition: all .25s ease;
  }
  .agent-profile:hover .agent-profile__avatar{
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(192,153,112,.3);
  }
  .agent-profile__avatar--more{
    background: var(--brand-2);
    border: 2px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 14px;
    gap: 4px;
  }
  .agent-profile__name{
    font-weight: var(--font-weight-semibold);
    color: var(--brand-primary);
    margin-bottom: 4px;
  }
  .agent-profile__title{
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .agent-profile__stats{
    font-size: 12px;
    color: var(--muted);
    display: flex;
    gap: 6px;
    align-items: center;
  }
  .btn--compare{
    display: block;
    margin: 0 auto;
    max-width: 220px;
    text-align: center;
    background: var(--brand-accent);
    color: #FFFFFF;
    border: none;
    padding: 14px 28px;
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow);
  }
  .btn--compare:hover{
    background: #B0885F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }

  /* Properties Grid */
  .section--properties{
    padding: 100px 0;
    background: #FFFFFF;
  }
  .properties-section .section__head{
    margin-bottom: 48px;
  }
  .properties-section .section__head h2{
    font-size: clamp(32px, 4vw, 42px);
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    margin-bottom: 12px;
  }
  .properties-section .section__head .muted{
    font-size: 17px;
    color: var(--muted);
  }
  .properties-grid--featured{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .card--property{
    transition: all .3s ease;
    position: relative;
  }
  .card--property .card__link{
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .card--property:hover{
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
  }
  .card--property .card__media{
    height: 280px;
    position: relative;
    overflow: hidden;
  }
  .card--property .card__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.3) 100%);
    transition: opacity .3s ease;
    z-index: 1;
  }
  .card--property:hover .card__overlay{
    opacity: .8;
  }
  .card--property .card__badges-top{
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
  }
  .card--property .card__body{
    padding: 24px;
  }
  .card--property .card__location{
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: var(--font-weight-medium);
  }
  .card--property .card__location .location-icon{
    stroke: var(--brand-accent);
    flex-shrink: 0;
  }
  .card--property h3{
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-primary);
    margin-bottom: 16px;
    line-height: 1.3;
  }
  .card--property .card__specs{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 16px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .card--property .spec-item{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    font-weight: var(--font-weight-medium);
  }
  .card--property .spec-icon{
    stroke: var(--brand-accent);
    flex-shrink: 0;
  }
  .card--property .card__foot{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .card--property .card__price{
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    letter-spacing: -.5px;
  }
  .card--property .card__arrow{
    font-size: 20px;
    color: var(--brand-accent);
    transition: transform .3s ease;
  }
  .card--property:hover .card__arrow{
    transform: translateX(4px);
  }

  /* Unique Homes Section */
  .section--unique{
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(192,153,112,.05), rgba(192,153,112,.02));
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .unique-section .kicker{
    color: var(--brand-accent);
    margin-bottom: 16px;
  }
  .unique-section h2{
    font-size: clamp(20px, 3vw, 28px);
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.4;
  }
  .btn--read{
    background: var(--brand-primary);
    color: #FFFFFF;
    border: none;
  }
  .btn--read:hover{
    background: #0F1620;
    color: #FFFFFF;
  }

  /* News Section */
  .section--news{
    padding: 60px 0;
  }
  .news-tabs__header{
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
  }
  .news-tab{
    padding: 14px 24px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all .2s ease;
  }
  .news-tab:hover{
    color: var(--text);
  }
  .news-tab.is-active{
    color: var(--brand-primary);
    border-bottom-color: var(--brand-accent);
    font-weight: var(--font-weight-semibold);
  }
  .news-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .news-card{
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .25s ease;
    background: #FFFFFF;
    box-shadow: var(--shadow);
  }
  .news-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-accent);
  }
  .news-card__image{
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform .3s ease;
  }
  .news-card:hover .news-card__image{
    transform: scale(1.05);
  }
  .news-card__badge{
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-accent);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(192,153,112,.3);
  }
  .news-card__title{
    padding: 16px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--text);
    line-height: 1.4;
  }

  /* Discover How We Can Help Section */
  .section--discover{
    padding: 100px 0;
    background: var(--brand-2);
  }
  .discover-section__title{
    font-size: clamp(32px, 4vw, 42px);
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: 48px;
  }
  .discover-tabs{
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    border-bottom: 2px solid var(--border);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .discover-tab{
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all .2s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    top: 2px;
  }
  .discover-tab:hover{
    color: var(--brand-primary);
  }
  .discover-tab.is-active{
    color: var(--brand-primary);
    font-weight: var(--font-weight-semibold);
    border-bottom-color: var(--brand-accent);
  }
  .discover-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .discover-card{
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all .3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
  }
  .discover-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-accent);
    transform: scaleX(0);
    transition: transform .3s ease;
  }
  .discover-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-accent);
  }
  .discover-card:hover::before{
    transform: scaleX(1);
  }
  .discover-card__icon{
    width: 64px;
    height: 64px;
    background: rgba(192,153,112,.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--brand-accent);
    transition: all .3s ease;
  }
  .discover-card:hover .discover-card__icon{
    background: var(--brand-accent);
    color: #FFFFFF;
    transform: scale(1.1);
  }
  .discover-card__title{
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-primary);
    margin-bottom: 16px;
    line-height: 1.3;
  }
  .discover-card__description{
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .discover-card__link{
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s ease;
  }
  .discover-card__link:hover{
    color: #B0885F;
    gap: 12px;
  }
  .discover-card__link::after{
    content: '→';
    transition: transform .2s ease;
  }
  .discover-card__link:hover::after{
    transform: translateX(4px);
  }

  /* Pre-approval & Local Sections */
  /* Feature Section - Beautiful Design */
  .feature-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
  }
  .feature-section--reverse{
    grid-template-columns: 1fr 1fr;
  }
  .feature-section--reverse .feature-section__content{
    order: 2;
  }
  .feature-section--reverse .feature-section__image{
    order: 1;
  }
  .feature-section__image{
    position: relative;
    height: 500px;
  }
  .feature-section__image-inner{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    position: relative;
    overflow: hidden;
  }
  .feature-section__image-inner::before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(192,153,112,.05), transparent);
    pointer-events: none;
  }
  .feature-section__image-inner::after{
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192,153,112,.1) 0%, transparent 70%);
    pointer-events: none;
  }
  .feature-section__content{
    padding: 40px 0;
  }
  .feature-section__content h2{
    font-size: clamp(36px, 5vw, 48px);
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
    margin-bottom: 24px;
    line-height: 1.2;
  }
  .feature-section__content .muted{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--muted);
  }
  .feature-section__actions{
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .feature-section__link{
    font-size: 13px;
    color: var(--muted);
    text-decoration: underline;
    transition: color .2s ease;
  }
  .feature-section__link:hover{
    color: var(--brand-primary);
  }

  .section--preapproval,
  .section--local,
  .section--stats{
    padding: 80px 0;
  }
  .section--preapproval{
    background: var(--brand-2);
  }
  .section--local{
    background: #FFFFFF;
  }
  .section--stats{
    background: var(--brand-2);
  }

  /* Modern Card Design */
  .modern-card{
    position: relative;
    min-height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }
  .modern-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
  }
  .modern-card__background{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .modern-card:hover .modern-card__background{
    transform: scale(1.08);
  }
  .modern-card__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(32,41,68,.85) 0%, rgba(32,41,68,.75) 50%, rgba(192,153,112,.4) 100%);
    z-index: 1;
  }
  .modern-card__content{
    position: relative;
    z-index: 2;
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF;
  }
  .modern-card__icon{
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: #FFFFFF;
    transition: all .3s ease;
  }
  .modern-card:hover .modern-card__icon{
    background: var(--brand-accent);
    transform: scale(1.1) rotate(5deg);
  }
  .modern-card__content h2{
    font-size: clamp(32px, 4vw, 48px);
    font-weight: var(--font-weight-bold);
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  .modern-card__description{
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.9);
    margin-bottom: 40px;
    max-width: 600px;
  }
  .modern-card__actions{
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .modern-card__link{
    font-size: 14px;
    color: rgba(255,255,255,.8);
    text-decoration: underline;
    transition: color .2s ease;
  }
  .modern-card__link:hover{
    color: #FFFFFF;
  }
  .btn--large{
    padding: 18px 36px;
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
  }

  /* Modern Search Form */
  .modern-search-form{
    margin-top: 40px;
    max-width: 700px;
  }
  .modern-search-form__wrapper{
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    border: 2px solid rgba(255,255,255,.3);
    transition: all .3s ease;
  }
  .modern-search-form__wrapper:focus-within{
    border-color: var(--brand-accent);
    box-shadow: 0 12px 40px rgba(192,153,112,.3);
    transform: translateY(-2px);
  }
  .modern-search-form__icon{
    color: var(--muted);
    margin-right: 16px;
    flex-shrink: 0;
  }
  .modern-search-form__input{
    flex: 1;
    padding: 16px 0;
    border: none;
    font-size: 16px;
    background: transparent;
    outline: none;
    color: var(--text);
    font-family: var(--font-primary);
  }
  .modern-search-form__input::placeholder{
    color: var(--muted);
  }
  .modern-search-form__button{
    padding: 16px 32px;
    border: none;
    background: var(--brand-accent);
    color: #FFFFFF;
    border-radius: 12px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
  }
  .modern-search-form__button:hover{
    background: #B0885F;
    transform: scale(1.05);
  }
  .modern-search-form__button:active{
    transform: scale(0.98);
  }

  /* Footer Realtor Style – full width */
  .footer--realtor{
    width: 100%;
    background: var(--brand-2);
    padding: 60px 0 32px;
    border-top: 1px solid var(--border);
  }
  .footer--realtor .container.footer__container{
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .footer__logo-section{
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
  }
  .footer__logo-section .brand__logo{
    height: 50px;
    width: auto;
    object-fit: contain;
  }
  .footer--realtor .footer__social{
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
  }
  .footer--realtor .footer__social a{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    transition: all .2s ease;
  }
  .footer--realtor .footer__social a:hover{
    background: var(--brand-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192,153,112,.25);
  }
  .footer--realtor .footer__grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
    margin-bottom: 40px;
    width: 100%;
    max-width: none;
  }
  .footer--realtor .footer__col{
    text-align: left;
  }
  .footer--realtor .footer__col h4{
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 14px;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .footer--realtor .footer__links{
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer--realtor .footer__links a{
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
  }
  .footer--realtor .footer__links a:hover{
    color: var(--brand-primary);
  }
  .footer__bottom{
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer__logos{
    display: flex;
    gap: 24px;
    align-items: center;
  }
  .footer__logo-text{
    font-size: 12px;
    color: var(--muted);
  }
  .footer__logo-brand{
    display: inline-block;
    line-height: 0;
  }
  .footer__logo-brand img{
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
  }
  .footer__copyright{
    font-size: 12px;
    color: var(--muted);
  }

  @media (max-width: 980px){
    .header__inner{height: 64px; gap: 20px}
    .nav{display: none}
    .header__actions{display: none}
    .iconbtn{display: inline-flex}
    .browse-grid{grid-template-columns: repeat(2, 1fr); gap: 16px}
    .news-grid{grid-template-columns: repeat(2, 1fr)}
    .footer--realtor .footer__grid{grid-template-columns: repeat(2, 1fr); max-width: none}
    .search-widget__tabs{flex-wrap: wrap}
    .search-tab{flex: 1 1 33.333%; min-width: 0}
    .brand__logo{height: 42px}
    .discover-cards{grid-template-columns: 1fr; gap: 24px}
    .discover-card{padding: 24px}
    .properties-grid--featured{grid-template-columns: repeat(2, 1fr); gap: 20px}
  }
  @media (max-width: 640px){
    .browse-grid{grid-template-columns: repeat(2, 1fr); gap: 12px}
    .news-grid{grid-template-columns: 1fr}
    .footer--realtor .footer__grid{grid-template-columns: 1fr}
    .search-tab{flex: 1 1 50%; min-width: 0}
    .properties-grid--featured{grid-template-columns: 1fr; gap: 16px}
    .modern-card{
      min-height: 400px;
    }
    .modern-card__content{
      padding: 40px 28px;
    }
    .modern-card__icon{
      width: 64px;
      height: 64px;
      margin-bottom: 24px;
    }
    .modern-card__content h2{
      font-size: 28px;
      margin-bottom: 16px;
    }
    .modern-card__description{
      font-size: 16px;
      margin-bottom: 32px;
    }
    .modern-search-form__wrapper{
      flex-direction: column;
      padding: 16px;
      gap: 12px;
    }
    .modern-search-form__icon{
      display: none;
    }
    .modern-search-form__input{
      padding: 14px 0;
    }
    .modern-search-form__button{
      width: 100%;
      padding: 14px 24px;
    }
    .btn--large{
      padding: 16px 28px;
      font-size: 16px;
    }
  }

  /* ===== Responsive: container, section, hero (site-wide) ===== */
  @media (max-width: 768px){
    .container{ padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)) }
    .section{ padding: 60px 0 }
    .hero--realtor{ min-height: 450px; padding: 60px 0 32px }
    .hero--home.hero--realtor{ min-height: 520px; padding: 60px 0 40px }
    .hero--realtor .hero__headline h1{ font-size: clamp(28px, 6vw, 40px) }
    .hero__inner--stack .hero__headline{ margin-bottom: 28px }
    .search-widget--hero{ max-width: 100%; border-radius: 12px }
    .search-widget--hero .search-tab{ padding: 14px 16px; font-size: 15px }
    .search-widget--hero .search-widget__input-wrapper{ padding: 16px }
    .search-widget--hero .search-widget__input{ padding: 14px 16px; font-size: 16px; min-height: 48px }
    .search-widget--hero .search-widget__submit{ padding: 14px 20px; min-height: 48px }
    .search-widget--hero .search-widget__submit-text{ display: none }
    .page-header{ padding: 60px 0 32px }
    .page-header--static{ padding: 56px 0 36px }
    .page-header h1{ font-size: clamp(24px, 5vw, 32px) }
    .page-header__title{ font-size: clamp(28px, 4vw, 38px) }
    .static-page .section--static{ padding: 40px 0 }
    .cta-block{ padding: 36px 24px; border-radius: 12px }
    .cta-block__title{ font-size: 1.25rem }
    .cta-block__text{ font-size: 16px; margin-bottom: 24px }
  }
  @media (max-width: 640px){
    .container{ padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)) }
    .section{ padding: 40px 0 }
    .hero--realtor{ min-height: 380px; padding: 48px 0 24px }
    .hero--home.hero--realtor{ min-height: 460px; padding: 48px 0 32px }
    .content-body{ font-size: 1rem }
    .content-body img{ max-width: 100%; height: auto }
  }

  /* ===== Page Builder content: responsive columns + sections ===== */
  .page-builder-content{ width: 100%; overflow-x: hidden }
  .page-builder-content .container{ width: 100% }
  .page-builder-content img{ max-width: 100%; height: auto }
  .page-builder-content figure{ margin: 0; max-width: 100% }
  @media (max-width: 768px){
    .pb-section--small{ padding-top: 0.75rem; padding-bottom: 0.75rem }
    .pb-section--medium{ padding-top: 1.25rem; padding-bottom: 1.25rem }
    .pb-section--large{ padding-top: 1.75rem; padding-bottom: 1.75rem }
    .pb-columns__grid{ grid-template-columns: 1fr !important; gap: 20px !important }
    .pb-columns__cell{ min-height: 0 }
  }
  @media (max-width: 640px){
    .pb-section--small{ padding-top: 0.5rem; padding-bottom: 0.5rem }
    .pb-section--medium{ padding-top: 1rem; padding-bottom: 1rem }
    .pb-section--large{ padding-top: 1.25rem; padding-bottom: 1.25rem }
    .pb-columns__grid{ gap: 16px !important }
  }

  /* ===== Extra small screens (480px, 360px) ===== */
  @media (max-width: 480px){
    .container{ padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)) }
    .section{ padding: 36px 0 }
    .hero--realtor{ min-height: 340px; padding: 40px 0 20px }
    .hero--home.hero--realtor{ min-height: 420px; padding: 40px 0 24px }
    .hero__headline h1{ font-size: clamp(22px, 6vw, 32px) }
    .hero__sub{ font-size: 14px }
    .browse-grid{ grid-template-columns: 1fr; gap: 10px }
    .browse-card__image{ min-height: 120px; max-height: 160px }
    .browse-card__label{ padding: 14px 12px; font-size: 14px }
    .promo-banner__content{ gap: 14px; padding: 0 4px }
    .promo-banner__text{ font-size: 14px; text-align: center }
    .btn--promo{ padding: 10px 18px; font-size: 14px }
    .page-header{ padding: 48px 0 24px }
    .page-header--static{ padding: 44px 0 28px }
    .page-header h1, .page-header__title{ font-size: clamp(22px, 5vw, 28px) }
    .cta-block{ padding: 28px 16px }
    .cta-block__title{ font-size: 1.15rem }
    .cta-block__text{ font-size: 15px }
    .card__body{ padding: 14px }
    .card__specs{ gap: 10px; margin: 8px 0 10px }
    .price{ font-size: 16px }
    .footer__bottom{ flex-direction: column; align-items: center; text-align: center; gap: 12px }
    .footer__logos{ flex-direction: column }
    .modal__panel{ right: 12px; left: 12px; width: auto; max-width: none; top: 80px }
    .search-widget__input-wrapper{ flex-wrap: wrap }
    .search-widget__input{ min-width: 0 }
    .search-widget__submit{ min-height: 44px }
    .iconbtn{ min-width: 44px; min-height: 44px }
    .nav a{ padding: 12px 14px; min-height: 44px; display: inline-flex; align-items: center }
    .mobilemenu__panel a{ padding: 14px; min-height: 44px }
  }
  @media (max-width: 360px){
    .container{ padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)) }
    .section{ padding: 28px 0 }
    .hero--realtor{ min-height: 300px; padding: 32px 0 16px }
    .hero--home.hero--realtor{ min-height: 380px; padding: 32px 0 20px }
    .hero__headline h1{ font-size: 20px }
    .section-title{ font-size: clamp(20px, 6vw, 26px) }
    .search-tab{ padding: 12px 10px; font-size: 13px }
    .btn--primary, .btn--promo{ padding: 10px 16px; font-size: 14px }
    .pagination__btn, .pagination__page{ padding: 8px 14px; min-height: 44px }
    .property-header__price .price--large{ font-size: 24px }
  }

  /* ===== Touch-friendly and overflow safety ===== */
  @media (hover: none) and (pointer: coarse){
    .nav a, .btn, .search-tab, .tab{ min-height: 44px; display: inline-flex; align-items: center; justify-content: center }
    .iconbtn{ min-width: 44px; min-height: 44px }
  }
