/* SMG V30.3 Touch Action & Alignment Polish — staging hotfix.
   Fixes: clickable service cards, visible touch feedback, straight grids/cards, control dock at beginning. */
:root{--smg-v303-gold:#f5d98b;--smg-v303-gold2:#d9a33f;--smg-v303-white:#fff7e8;--smg-v303-line:rgba(245,217,139,.34);}
/* Make actionable cards behave clearly on touch devices */
.card[data-smg-href],.smg-card[data-smg-href],.panel[data-smg-href],[data-smg-href]{
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:rgba(245,217,139,.22)!important;
}
.card[data-smg-href]:active,.smg-card[data-smg-href]:active,.panel[data-smg-href]:active,[data-smg-href]:active,
.smg-card-tap-active{
  transform:translateY(1px)!important;
  border-color:rgba(245,217,139,.62)!important;
  box-shadow:0 0 0 1px rgba(245,217,139,.18),0 18px 52px rgba(0,0,0,.50)!important;
}
.card[data-smg-href]::before,.smg-card[data-smg-href]::before,.panel[data-smg-href]::before{
  content:"Open";
  position:absolute;
  top:clamp(14px,1.4vw,18px);
  right:clamp(14px,1.4vw,18px);
  padding:7px 12px;
  border:1px solid rgba(245,217,139,.32);
  border-radius:999px;
  color:var(--smg-v303-gold);
  -webkit-text-fill-color:var(--smg-v303-gold);
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  background:rgba(0,0,0,.36);
  opacity:.72;
  pointer-events:none;
}
/* Every visual square/grid must stay straight, equal and not skewed */
.card,.panel,.smg-card,.smg-media-card,.service-card,.property-card,.job-card,article,[class*="card"],[class*="Card"],[class*="panel"],[class*="Panel"]{
  position:relative!important;
  transform:none!important;
  rotate:0deg!important;
  skew:0deg!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.grid,.cards,.smg-media-grid,[class*="grid"],[class*="Grid"]{
  transform:none!important;
  rotate:0deg!important;
  skew:0deg!important;
  align-items:stretch!important;
  justify-items:stretch!important;
}
.grid>* ,.cards>* ,.smg-media-grid>* ,[class*="grid"]>* ,[class*="Grid"]>*{
  transform:none!important;
  rotate:0deg!important;
  skew:0deg!important;
  align-self:stretch!important;
}
/* Prevent labels from looking tappable when no action exists */
.card:not([data-smg-href]) h3,.panel:not([data-smg-href]) h3,.smg-card:not([data-smg-href]) h3{
  pointer-events:none;
}
/* Keep SMG Control visible at the beginning and not floating over content */
.smg-executive-control-card{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;}
.smg-control-dock{position:relative!important;z-index:30!important;}
/* Fill leftover empty lower zones with subtle premium blueprint, not blank black */
section,.section,.hero{background-clip:padding-box!important;}
section::before,.section::before{
  transform:none!important;
}
@media (max-width:760px){
  .card[data-smg-href]::before,.smg-card[data-smg-href]::before,.panel[data-smg-href]::before{font-size:10px;padding:6px 10px;opacity:.62;}
}
