/* HORIZON PROPERTIES · PRIVATE OWNER + INTERIOR EDITORIAL LUXE
   Source-of-truth hero design remains the approved homepage image.
   PUBLIC OWNER BUTTON IS HIDDEN AS A PRESENTATION CHOICE ONLY.
   Security depends on Supabase authentication and strict RLS policies.
*/
:root{
  --hp-forest:#173e2d;
  --hp-forest-dark:#0e3526;
  --hp-sage:#7a947d;
  --hp-ivory:#faf9f5;
  --hp-cream:#f4f0e7;
  --hp-quiet-gold:#b69a68;
  --hp-line:rgba(107,131,107,.20);
  --hp-soft-shadow:0 15px 36px rgba(24,49,31,.10),0 3px 11px rgba(30,53,38,.045);
}

/* The original approved screenshot contains Owner Login in its pixels.
   Conceal this one baked-in item with a soft matching header fill,
   without touching the headline, map, cards, or screenshot source. */
@media(min-width:1101px){
  .screenshot-stage::after{
    content:'';
    position:absolute;
    z-index:5;
    pointer-events:none;
    left:80.85%;top:1.35%;width:14.35%;height:8.6%;
    border-radius:50px;
    background:linear-gradient(90deg,
      rgba(250,247,241,0) 0%,
      #faf7f1 13%,
      #faf7f1 40%,
      #f8f4ed 75%,
      rgba(248,245,239,0) 100%);
  }
  .screenshot-hotspot.hotspot-owner{display:none!important}
  /* The approved owner sees the original button in the header. */
  html.hp-owner-approved .screenshot-stage::after{display:none}
  html.hp-owner-approved .screenshot-hotspot.hotspot-owner{display:block!important}
}
/* Hide every public-facing entrance, including tablet/mobile and footer. */
#adminLaunch,#footerOwner{display:none!important}
html.hp-owner-approved #adminLaunch{display:inline-flex!important}
html.hp-owner-approved #footerOwner{display:inline-flex!important}

/* Premium restraint in below-the-fold sections, not a homepage redesign. */
.site-container main>.section{scroll-margin-top:28px}
.site-container main>.section:not(.communities-section) .section-head .eyebrow{
  color:#788c74;letter-spacing:.19em;font-weight:800;
}
.property-section .section-head,.map-section .section-head{margin-bottom:32px}
.property-section .area-tabs{gap:9px}
.property-section .area-tabs button{
  border:1px solid var(--hp-line);
  background:rgba(255,254,250,.95);
  box-shadow:0 4px 9px rgba(40,60,46,.035);
  border-radius:999px;
  transition:transform .18s,box-shadow .18s,border-color .18s,background .18s;
}
.property-section .area-tabs button:hover{transform:translateY(-1px);border-color:#c7caae;box-shadow:0 8px 16px rgba(34,60,39,.09)}
.property-section .area-tabs button.selected{background:var(--hp-forest);color:#fff;border-color:var(--hp-forest);box-shadow:0 9px 19px rgba(17,58,38,.15)}
.property-card{
  border-radius:25px!important;
  overflow:hidden;
  background:linear-gradient(165deg,#fffefa,#faf9f5);
  border:1px solid rgba(171,187,168,.35)!important;
  box-shadow:var(--hp-soft-shadow)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.property-card:hover{transform:translateY(-4px);box-shadow:0 23px 45px rgba(27,54,35,.15),0 6px 13px rgba(25,53,37,.08)!important;border-color:rgba(131,159,125,.55)!important}
.property-card .card-art{overflow:hidden}
.property-card .card-art img{transition:transform .4s ease}
.property-card:hover .card-art img{transform:scale(1.025)}
.property-card .card-body{padding:24px 23px}
.property-card .card-body h3{letter-spacing:-.022em}
.property-card .card-foot{border-top:1px solid var(--hp-line);padding-top:13px}
.map-layout{
  border-radius:28px;
  border:1px solid rgba(171,187,168,.42);
  box-shadow:0 24px 56px rgba(33,55,33,.12),0 5px 16px rgba(31,52,37,.06);
}
.about-layout .about-visual,.contact-section{
  box-shadow:var(--hp-soft-shadow);
  border:1px solid rgba(171,187,168,.33);
}
/* All regular inner-page action buttons have calmer finish and clear hierarchy. */
.property-section .btn,.map-section .btn,.contact-section .btn,
#propertyDialog .btn,.dashboard .btn{
  border-radius:999px;
  font-weight:700;
  box-shadow:0 8px 19px rgba(24,52,33,.10);
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.property-section .btn:hover,.map-section .btn:hover,.contact-section .btn:hover,
#propertyDialog .btn:hover,.dashboard .btn:hover{
  transform:translateY(-2px);
  box-shadow:0 13px 26px rgba(24,52,33,.16);
}
/* Interior card gallery and controls with soft sage leaves come from
   styles.css's already-approved, isolated botanical design. */
#propertyDialog.property-dialog{border:1px solid rgba(255,255,255,.78);box-shadow:0 31px 90px rgba(7,31,17,.29),0 9px 25px rgba(11,40,23,.11)}
#propertyDialog .detail-badges span{border-radius:999px}
#propertyDialog .detail-tabs{gap:7px}
#propertyDialog .detail-tabs button{border-radius:999px;transition:background .16s,transform .16s}
#propertyDialog .detail-tabs button:hover{transform:translateY(-1px)}
#propertyDialog .detail-pane>img{box-shadow:0 20px 50px rgba(25,52,32,.18),0 6px 16px rgba(25,52,32,.07)}
#heroMapDialog.hero-map-dialog{box-shadow:0 35px 100px rgba(7,30,18,.30),0 10px 25px rgba(12,40,23,.11)}
#heroMapDialog .hero-map-close,#propertyDialog .close-btn{
  background:rgba(255,254,249,.96);
  box-shadow:0 6px 17px rgba(28,52,33,.14);
  border:1px solid rgba(197,211,193,.9);
  border-radius:50%;
}
.dashboard{background:linear-gradient(135deg,#fcfbf6 0%,#f4f6ee 100%);box-shadow:-28px 0 70px rgba(8,37,23,.28)}
.dash-heading{background:linear-gradient(115deg,#154634,#0a3928)}
.dash-field>input,.dash-field>textarea,.dash-property-bar select{
  border:1px solid rgba(137,160,132,.38);border-radius:14px;background:#fffefa;
  box-shadow:0 3px 9px rgba(32,53,35,.035);
}
.dash-field>input:focus,.dash-field>textarea:focus,.dash-property-bar select:focus{outline:2px solid #a9bb9c;outline-offset:2px}
.dash-tabs button{border-radius:14px}
.dash-close{border-radius:50%;box-shadow:0 5px 13px rgba(0,0,0,.13)}
@media(prefers-reduced-motion:reduce){.property-card,.property-card img,.property-section .btn,.map-section .btn,.contact-section .btn{transition:none!important}}
