/* Buttons and location-card hover in the clinic sites' style.
   Gold CTAs: shared/css/cta-gold-beam.css (a byte-for-byte copy of sites/*/assets/cta-gold-beam.css); nova.js adds .gold-beam.
   Dark buttons: the gallery's "I want this result" button (.hg-want): glossy black, gold edge, a gold light orbiting the border on hover.
   Location cards: lift 6px on hover, gold border appears and a gold light runs around it (the .hg-card / .hg-want hover). */
@property --nv-orbit { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes nvOrbit { to { --nv-orbit: 360deg; } }

.nv-btn { font: 700 12px/1.2 var(--sans); letter-spacing: 1.8px; text-transform: uppercase; min-height: 46px; padding: 12px 20px; border-radius: 12px; }
.nv-btn-sm { font-size: 12px; min-height: 44px; padding: 10px 14px; }
.nv-btn svg { flex: none; }
.nv-btn-gold { background: linear-gradient(135deg, #f6dc8c 0%, #e2b54a 32%, #c8902c 64%, #e9c25e 100%); color: #000; border: 1px solid rgba(255, 228, 150, .9); }
.nv-btn-gold:hover { background: linear-gradient(135deg, #f6dc8c 0%, #e2b54a 32%, #c8902c 64%, #e9c25e 100%); }

/* dark glossy button (was .nv-btn-line) */
.nv-btn-line, .nv-light .nv-btn-line {
  position: relative; isolation: isolate; overflow: hidden; color: #f4f2ee;
  background: linear-gradient(180deg, #2a272c 0%, #141316 48%, #0a0a0c 52%, #141316 100%);
  border: 1px solid rgba(212, 168, 67, .45);
  box-shadow: 0 6px 16px rgba(8, 8, 9, .22), inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -2px 6px rgba(0, 0, 0, .5);
}
.nv-btn-line svg { color: var(--gold); }
.nv-btn-line::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; opacity: 0; pointer-events: none;
  background: conic-gradient(from var(--nv-orbit), rgba(255,255,255,0) 0deg, rgba(255,255,255,0) 250deg, rgba(240,205,120,.95) 320deg, #fff3c8 340deg, rgba(255,255,255,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.nv-btn-line:hover, .nv-btn-line:focus-visible { border-color: rgba(232, 190, 90, .85); box-shadow: 0 0 0 4px rgba(212,168,67,.14), 0 12px 30px rgba(180,130,40,.38), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 6px rgba(0,0,0,.5); }
.nv-btn-line:hover::after, .nv-btn-line:focus-visible::after { opacity: 1; }
.nv-btn-link { letter-spacing: 1.4px; }

/* Location cards: lift + gold border + orbiting light */
.l-card, .p-card, .a-row, .nv-clinic, .lc-card { position: relative; }
.l-card::before, .p-card::before, .a-row::before, .nv-clinic::before, .lc-card::before {
  content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 2px; opacity: 0; pointer-events: none;
  background: conic-gradient(from var(--nv-orbit), rgba(212,168,67,.55) 0deg, rgba(212,168,67,.55) 240deg, rgba(255,236,170,1) 315deg, #fff3c8 335deg, rgba(212,168,67,.55) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.l-card:hover::before, .l-card:focus-within::before, .p-card:hover::before, .p-card:focus-visible::before,
.a-row:hover::before, .a-row:focus-visible::before, .a-row.is-hl::before, .nv-clinic:hover::before, .lc-card:hover::before, .lc-card:focus-visible::before { opacity: 1; }
.l-card:hover, .l-card:focus-within, .p-card:hover, .p-card:focus-visible, .nv-clinic:hover, .lc-card:hover, .lc-card:focus-visible { border-color: transparent; box-shadow: 0 22px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(212,168,67,.5); }
.a-row { border-radius: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .l-card, .p-card, .a-row, .nv-clinic, .lc-card { transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s, border-color .4s; }
  .l-card:hover, .l-card:focus-within, .p-card:hover, .p-card:focus-visible, .nv-clinic:hover, .lc-card:hover, .lc-card:focus-visible { transform: translateY(-6px); }
  .a-row:hover, .a-row:focus-visible { transform: translateX(4px); }
  .l-card:hover::before, .l-card:focus-within::before, .p-card:hover::before, .p-card:focus-visible::before,
  .a-row:hover::before, .a-row:focus-visible::before, .nv-clinic:hover::before, .lc-card:hover::before, .lc-card:focus-visible::before,
  .nv-btn-line:hover::after, .nv-btn-line:focus-visible::after { animation: nvOrbit 2.5s linear infinite; }
  .nv-btn-line { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s; }
  .nv-btn-line:hover { transform: translateY(-2px); }
  .nv-btn-line:hover svg, .l-card:hover .l-visit svg, .a-row:hover .a-go svg { transform: translateX(4px); transition: transform .3s; }
}
