/* ===== Brand mark (shared between public + admin) ===== */
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .55);
  box-shadow:
    0 2px 10px rgba(10, 9, 8, .2),
    0 0 0 4px rgba(212, 175, 55, .08),
    inset 0 1px 0 rgba(212, 175, 55, .15);
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 220deg, transparent 0%, rgba(212, 175, 55, .35) 25%, transparent 50%, rgba(212, 175, 55, .35) 75%, transparent 100%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  opacity: .65;
  pointer-events: none;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand:hover .brand-mark {
  box-shadow:
    0 4px 16px rgba(10, 9, 8, .25),
    0 0 0 5px rgba(212, 175, 55, .12),
    inset 0 1px 0 rgba(212, 175, 55, .2);
}
.brand-name { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--ink-900);
}
.brand-name .sub {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-top: 5px;
  font-weight: 500;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .015em;
  transition: all var(--t);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-gold {
  background: var(--gradient-gold);
  color: var(--ink-900);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212, 175, 55, .4); }

.btn-ink {
  background: var(--ink-900);
  color: var(--ivory-50);
}
.btn-ink:hover:not(:disabled) { background: var(--ink-700); }

.btn-outline {
  border-color: var(--ink-200);
  color: var(--ink-700);
}
.btn-outline:hover:not(:disabled) { border-color: var(--ink-900); color: var(--ink-900); }

.btn-outline-gold {
  border-color: var(--gold-400);
  color: var(--gold-500);
}
.btn-outline-gold:hover:not(:disabled) {
  background: var(--gradient-gold);
  color: var(--ink-900);
  border-color: transparent;
}

.btn-ghost { color: var(--ink-500); }
.btn-ghost:hover:not(:disabled) { background: var(--ivory-200); color: var(--ink-900); }

.btn-danger { background: var(--color-error); color: white; }
.btn-danger:hover:not(:disabled) { background: #991b1b; }

.btn-sm { padding: .5rem 1rem; font-size: .8rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-icon { padding: .5rem; width: 36px; height: 36px; }

/* ===== Inputs ===== */
.input, .select, .textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--ink-800);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .12);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.textarea { resize: vertical; min-height: 100px; line-height: 1.55; }

.label {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: .5rem;
  font-weight: 500;
}

.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

/* ===== Card ===== */
.card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-gold {
  background: linear-gradient(180deg, var(--ivory-50) 0%, white 100%);
  border: 1px solid rgba(212, 175, 55, .2);
}
.card-dark {
  background: var(--ink-900);
  color: var(--ivory-50);
  border-color: rgba(212, 175, 55, .15);
}

/* ===== Chip / badge ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .75rem;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 500;
  background: var(--ivory-200);
  color: var(--ink-600);
}
.chip-gold {
  background: var(--gradient-gold-soft);
  color: var(--gold-600);
  border: 1px solid rgba(212, 175, 55, .3);
}
.chip-dark {
  background: var(--ink-900);
  color: var(--gold-200);
}

/* ===== Toggle ===== */
.toggle {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 20px;
  border-radius: 99px;
  background: var(--ink-200);
  cursor: pointer;
  transition: background var(--t);
  border: 0;
  padding: 0;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 99px;
  transition: transform var(--t);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle.is-on { background: var(--gold-400); }
.toggle.is-on::after { transform: translateX(16px); }

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 9, 8, .7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(.98);
  transition: transform var(--t);
}
.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }
.modal-head {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.modal-body { padding: 1.75rem; overflow-y: auto; flex: 1; }
.modal-foot {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  background: var(--ivory-50);
}
.modal-close {
  width: 32px; height: 32px; border-radius: 99px;
  display: grid; place-items: center;
  color: var(--ink-400);
  transition: all var(--t-fast);
}
.modal-close:hover { background: var(--ivory-200); color: var(--ink-900); }

/* ===== Toast ===== */
.toast-host {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 360px;
}
.toast {
  background: var(--ink-900);
  color: var(--ivory-50);
  padding: .85rem 1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold-400);
  box-shadow: var(--shadow-lift);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: toast-in .25s var(--ease);
}
.toast.is-success { border-left-color: #4ade80; }
.toast.is-error { border-left-color: #f87171; }
@keyframes toast-in {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== Property card ===== */
.property-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--t), box-shadow var(--t);
  display: block;
  color: inherit;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.property-card .media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ivory-200);
  overflow: hidden;
}
.property-card .media img,
.property-card .media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}
.property-card:hover .media img { transform: scale(1.04); }
.property-card .media-badges {
  position: absolute; top: .75rem; left: .75rem; display: flex; gap: .4rem;
}
.property-card .media-tag {
  background: rgba(255,255,255,.95);
  color: var(--ink-900);
  padding: .25rem .75rem;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.property-card .media-tag.gold {
  background: var(--gradient-gold);
}
.property-card .media-code {
  position: absolute; bottom: .75rem; right: .75rem;
  background: rgba(255,255,255,.95);
  padding: .2rem .6rem;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-700);
}
.property-card .media-video-icon {
  position: absolute; bottom: .75rem; left: .75rem;
  width: 32px; height: 32px;
  background: rgba(10, 9, 8, .7);
  color: var(--gold-300);
  border-radius: 99px;
  display: grid; place-items: center;
  font-size: 12px;
  backdrop-filter: blur(4px);
}
.property-card .body { padding: 1.25rem; }
.property-card .title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink-900);
}
.property-card .location {
  margin-top: .4rem;
  font-size: .8rem;
  color: var(--ink-400);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.property-card .price {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--ink-900);
  font-weight: 600;
  letter-spacing: -.02em;
}
.property-card .price-period { font-family: var(--font-sans); font-size: .75rem; color: var(--ink-400); font-weight: 400; }
.property-card .meta {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border);
  display: flex; gap: 1rem; font-size: .8rem; color: var(--ink-500);
}
.property-card .meta span { display: inline-flex; align-items: center; gap: .25rem; }

/* ===== Status pills ===== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .65rem;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 99px; }
.status-active { background: rgba(34, 197, 94, .12); color: #15803d; }
.status-active .dot { background: #22c55e; }
.status-inactive { background: rgba(120, 113, 108, .12); color: var(--ink-500); }
.status-inactive .dot { background: var(--ink-400); }

/* ===== Empty state ===== */
.empty {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--ink-400);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

/* ===== Divider gold ===== */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  margin: 2rem 0;
}

/* ===== Floating WhatsApp CTA — mobile-first ===== */
.wa-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: #25D366;
  color: white;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35), 0 2px 6px rgba(0, 0, 0, .12);
  text-decoration: none;
  overflow: visible;
  transition: transform var(--t), box-shadow var(--t);
  isolation: isolate;
  max-width: calc(100vw - 2rem);
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .45), 0 4px 10px rgba(0, 0, 0, .14);
}
.wa-fab:active { transform: translateY(0); }

.wa-fab .icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 99px;
}
.wa-fab .icon svg { width: 28px; height: 28px; }

/* Label: hidden by default (mobile) — only icon shows */
.wa-fab .label {
  display: none;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Tablet + desktop: show label inline next to icon */
@media (min-width: 768px) {
  .wa-fab {
    right: 1.5rem;
    bottom: 1.5rem;
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    gap: .5rem;
    padding-right: 1.35rem;
  }
  .wa-fab .label { display: inline-block; }
}

/* Very small phones — slightly smaller icon */
@media (max-width: 360px) {
  .wa-fab .icon { width: 50px; height: 50px; }
  .wa-fab .icon svg { width: 24px; height: 24px; }
}

/* Pulse halo */
.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: rgba(37, 211, 102, .5);
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab::before { animation: none; opacity: 0; }
}

/* ===== Lightbox with zoom ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(10, 9, 8, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
}
.lightbox-stage.is-zoomed { cursor: grab; }
.lightbox-stage.is-grabbing { cursor: grabbing; }
.lightbox-img {
  max-width: 92%;
  max-height: 90%;
  transition: transform var(--t);
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  border-radius: 8px;
  will-change: transform;
}
.lightbox-toolbar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: .5rem;
  z-index: 2;
}
.lightbox-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: rgba(253, 251, 246, .12);
  color: var(--ivory-50);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, .25);
  transition: all var(--t-fast);
}
.lightbox-btn:hover { background: var(--gradient-gold); color: var(--ink-900); border-color: transparent; }
.lightbox-btn:disabled { opacity: .3; cursor: not-allowed; }
.lightbox-btn svg { width: 18px; height: 18px; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--ivory-100);
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: rgba(10, 9, 8, .6);
  border: 1px solid rgba(212, 175, 55, .25);
  padding: .4rem 1rem;
  border-radius: 99px;
  backdrop-filter: blur(6px);
}
.lightbox-counter .gold { color: var(--gold-300); font-weight: 600; }
.lightbox-thumbs {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .35rem;
  max-width: 80%;
  overflow-x: auto;
  padding: .5rem;
  z-index: 2;
  scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumbs button {
  width: 56px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  opacity: .5;
  transition: all var(--t-fast);
}
.lightbox-thumbs button.is-active { opacity: 1; border-color: var(--gold-300); transform: translateY(-2px); }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Make gallery cells clickable with subtle "zoom" affordance on hover */
.detail-gallery > [data-action="zoom"] {
  cursor: zoom-in;
}
.detail-gallery > [data-action="zoom"]::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(10, 9, 8, 0)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fdfbf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3M11 8v6M8 11h6'/></svg>")
    center no-repeat;
  background-size: 0;
  transition: background var(--t);
}
.detail-gallery > [data-action="zoom"]:hover::after {
  background-color: rgba(10, 9, 8, .35);
  background-size: 44px;
}
.detail-gallery > [data-action="video"] { cursor: pointer; }

/* ===== Section heads with numbering ===== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.section-head .num {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--gold-400);
  font-size: 1.5rem;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .4rem;
}
.section-head .num::after {
  content: '';
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--gradient-gold);
  margin-left: .35rem;
}
.section-head h2 .em,
.h-display .em {
  font-family: var(--font-accent);
  font-style: italic;
  letter-spacing: .005em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.testimonial::before {
  content: '“';
  position: absolute;
  top: -22px;
  left: 1.5rem;
  font-family: var(--font-accent);
  font-size: 6.5rem;
  line-height: 1;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  font-style: italic;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-700);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
  flex: 1;
}
.testimonial-rating {
  display: inline-flex;
  gap: 2px;
  margin-top: 1.25rem;
  color: var(--gold-300);
}
.testimonial-rating svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial-author {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: .85rem;
}
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 99px;
  object-fit: cover;
  border: 2px solid var(--gold-300);
  flex-shrink: 0;
}
.testimonial-author .who { min-width: 0; }
.testimonial-author .name {
  font-weight: 600;
  color: var(--ink-900);
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonial-author .context {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-top: 2px;
}

/* Dark band variant */
.band-ink .testimonial {
  background: rgba(253, 251, 246, .04);
  border-color: rgba(212, 175, 55, .15);
  backdrop-filter: blur(4px);
}
.band-ink .testimonial-text { color: var(--ivory-100); }
.band-ink .testimonial-author { border-top-color: rgba(212, 175, 55, .15); }
.band-ink .testimonial-author .name { color: var(--ivory-50); }

/* ===== Star rating input (admin) ===== */
.rating-input { display: inline-flex; gap: 4px; align-items: center; }
.rating-input button {
  color: var(--ink-200);
  transition: color var(--t-fast), transform var(--t-fast);
}
.rating-input button:hover { transform: scale(1.1); }
.rating-input button.is-on { color: var(--gold-300); }
.rating-input svg { width: 22px; height: 22px; fill: currentColor; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--color-border); overflow-x: auto; }
.tab { padding: .75rem 1rem; font-size: .875rem; color: var(--ink-400); border-bottom: 2px solid transparent; white-space: nowrap; transition: color var(--t-fast), border-color var(--t-fast); }
.tab.is-active { color: var(--ink-900); border-color: var(--gold-400); }

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* ===== Scroll reveal (driven by animations.js + IntersectionObserver) ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1),
              transform .8s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Nav links with animated gold underline ===== */
.nav a { position: relative; }
.nav a::after {
  content: '';
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .35rem;
  height: 1px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.is-dark .nav a::after { background: var(--gradient-gold); }

/* ===== Footer links subtle slide ===== */
.site-footer a {
  display: inline-block;
  transition: transform var(--t-fast), color var(--t-fast);
}
.site-footer a:hover { transform: translateX(3px); }

/* ===== Shine sweep on gold/ink buttons ===== */
.btn-gold::before,
.btn-ink::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}
.btn-gold:hover::before,
.btn-ink:hover::before { transform: translateX(120%); }

.btn-gold:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212, 175, 55, .35); }
.btn-ink:hover:not(:disabled)  { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10, 9, 8, .25); }
.btn-outline-gold:hover:not(:disabled),
.btn-outline:hover:not(:disabled) { transform: translateY(-1px); }

/* ===== Property card image — soft zoom + glow halo on hover ===== */
.property-card {
  transition: transform .45s cubic-bezier(.22, .61, .36, 1),
              box-shadow .45s cubic-bezier(.22, .61, .36, 1);
}
.property-card .media img {
  transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}
.property-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(10, 9, 8, .15); }
.property-card:hover .media img { transform: scale(1.08); }

/* ===== Value card / Agent card hover ===== */
.value-card { transition: transform .35s, box-shadow .35s, border-color .35s; }
.value-card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, .35); box-shadow: 0 16px 40px rgba(10, 9, 8, .08); }

/* ===== Testimonial soft lift ===== */
.testimonial { transition: transform .35s, box-shadow .35s; }
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10, 9, 8, .12); }

/* ===== Hero content fade-in (rises into place) ===== */
.hero-content > * {
  animation: rise-fade .9s cubic-bezier(.22, .61, .36, 1) both;
}
.hero-content > *:nth-child(1) { animation-delay: .12s; }
.hero-content > *:nth-child(2) { animation-delay: .22s; }
.hero-content > *:nth-child(3) { animation-delay: .32s; }
.hero-content > *:nth-child(4) { animation-delay: .42s; }
.hero-content > *:nth-child(5) { animation-delay: .52s; }
@keyframes rise-fade {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Brand-mark subtle pulse on hover ===== */
.brand:hover .brand-mark {
  animation: brand-glow 1.4s ease-in-out;
}
@keyframes brand-glow {
  0%, 100% { filter: drop-shadow(0 2px 6px rgba(212, 175, 55, .2)); }
  50%      { filter: drop-shadow(0 4px 14px rgba(212, 175, 55, .55)); }
}

/* ===== Eyebrow line subtle expand on section hover ===== */
.section-head:hover .eyebrow::before {
  width: 64px;
  transition: width .4s cubic-bezier(.22, .61, .36, 1);
}
.eyebrow::before { transition: width .4s cubic-bezier(.22, .61, .36, 1); }

/* ===== Hero image gentle scale on load (slow Ken Burns-ish) ===== */
.hero-bg img,
.hero-bg video {
  animation: hero-zoom 14s ease-out forwards;
  transform-origin: center;
}
@keyframes hero-zoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}

/* ===== Respect reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-content > *,
  .hero-bg img, .hero-bg video,
  .btn-gold::before, .btn-ink::before {
    animation: none !important;
    transition: none !important;
  }
  .property-card:hover, .value-card:hover, .testimonial:hover,
  .btn-gold:hover, .btn-ink:hover {
    transform: none !important;
  }
}
