/* ==========================================================================
   Vastu Shakti Rahasya - Bespoke Luxury E-Commerce Styles (contact.css)
   ========================================================================== */

:root {
  /* Exact Brand Color Palette */
  --clr-dark-900: #10041d;
  --clr-dark-800: #200a2d;
  --clr-dark-700: #461558;
  --clr-purple-main: #783f9f;
  --clr-purple-light: #ae7ec4;

  --clr-gold-dark: #c79d55;
  --clr-gold-main: #d8b671;
  --clr-gold-light: #efd795;

  --clr-brown: #503c27;
  --clr-white: #ffffff;
  --clr-muted: #f9f8f6;
  --clr-border: rgba(32, 10, 45, 0.08);

  /* Typography */
  --font-cinzel: "Cinzel", serif;
  --font-montserrat: "Montserrat", sans-serif;

  /* E-Commerce UI Variables */
  --nav-height: 85px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-float: 0 20px 40px rgba(16, 4, 29, 0.08);
  --shadow-glow: 0 0 30px rgba(216, 182, 113, 0.2);
}

/* ==========================================================================
     Global & Utility (Inherited from Master System)
     ========================================================================== */
html {
  scroll-behavior: smooth;
}

body.luxury-ecomm {
  font-family: var(--font-montserrat);
  color: var(--clr-dark-900);
  background-color: var(--clr-muted);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.cinzel-heading {
  font-family: var(--font-cinzel);
  font-weight: 500;
}
.font-montserrat {
  font-family: var(--font-montserrat);
}

a {
  text-decoration: none;
  transition: var(--transition-smooth);
}

.section-padding {
  padding: 120px 0;
}
.bg-muted {
  background-color: var(--clr-muted);
}
.bg-white {
  background-color: var(--clr-white);
}
.bg-dark-900 {
  background-color: var(--clr-dark-900);
}

.text-gold {
  color: var(--clr-gold-main) !important;
}
.text-purple {
  color: var(--clr-purple-main) !important;
}
.text-dark-900 {
  color: var(--clr-dark-900) !important;
}
.text-muted-large {
  color: var(--clr-brown);
  font-size: 1.1rem;
  line-height: 1.8;
}
.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.ornate-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--clr-gold-main),
    transparent
  );
}

/* Scroll Progress */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--clr-gold-main);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* ==========================================================================
     Buttons & Links
     ========================================================================== */
.btn-luxury-solid,
.btn-luxury-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-cinzel);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  border-radius: 0;
  cursor: pointer;
}

.btn-luxury-solid {
  background-color: var(--clr-gold-main);
  color: var(--clr-dark-900);
  border: 1px solid var(--clr-gold-main);
}
.btn-luxury-solid:hover {
  background-color: transparent;
  color: var(--clr-gold-main);
  box-shadow: var(--shadow-glow);
}

.btn-luxury-outline {
  background-color: transparent;
  color: var(--clr-gold-main);
  border: 1px solid rgba(216, 182, 113, 0.4);
}
.btn-luxury-outline:hover {
  border-color: var(--clr-gold-main);
  background-color: rgba(216, 182, 113, 0.05);
}

.link-luxury {
  font-family: var(--font-cinzel);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-dark-900);
  display: inline-flex;
  align-items: center;
}
.link-luxury .arrow {
  margin-left: 8px;
  font-family: sans-serif;
  transition: transform 0.3s;
}
.link-luxury:hover {
  color: var(--clr-gold-main);
}
.link-luxury:hover .arrow {
  transform: translateX(6px);
}

/* ==========================================================================
     Bespoke Navbar
     ========================================================================== */
.bespoke-navbar {
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(32, 10, 45, 0.08);
  transition: var(--transition-smooth);
  padding: 0;
}
.bespoke-navbar .container-fluid {
  height: 100%;
  display: flex;
  align-items: center;
}
.bespoke-navbar.scrolled {
  height: 68px;
  background: var(--clr-white);
  box-shadow: var(--shadow-float);
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 38px;
  width: auto;
  border-radius: 4px;
}
.logo-title {
  font-family: var(--font-cinzel);
  color: var(--clr-dark-900);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.5px;
}
.logo-subtitle {
  font-family: var(--font-montserrat);
  color: var(--clr-purple-main);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 4px;
  margin-top: 5px;
}

/* Navigation Links */
.nav-links-premium .nav-link {
  font-family: var(--font-cinzel);
  color: var(--clr-dark-900);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 11px;
  margin: 0;
  position: relative;
  white-space: nowrap;
  line-height: 1;
}
.nav-links-premium .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: var(--clr-gold-main);
  transition: var(--transition-smooth);
}
.nav-links-premium .nav-link:hover::after,
.nav-links-premium .nav-link.active::after {
  width: 60%;
}
.nav-links-premium .nav-link:hover {
  color: var(--clr-gold-dark);
}

/* User Greeting */
.user-greeting-link {
  font-family: var(--font-cinzel) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: var(--clr-dark-900) !important;
  letter-spacing: 0.4px;
  white-space: nowrap;
  padding: 0 !important;
}
.user-greeting-link:hover {
  color: var(--clr-gold-dark) !important;
}

/* Right-side actions — separator from nav links */
.nav-actions {
  border-left: 1px solid var(--clr-border);
  padding-left: 20px;
  margin-left: 4px;
}

/* Cart */
.cart-icon-btn {
  color: var(--clr-dark-900);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-muted);
}
.cart-icon-btn:hover {
  background: var(--clr-gold-light);
  color: var(--clr-dark-900);
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--clr-gold-main);
  color: var(--clr-dark-900);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  pointer-events: none;
}

/* Sign In button */
.btn-auth-premium {
  font-family: var(--font-cinzel);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-dark-900);
  border-bottom: 1px solid var(--clr-dark-900);
  padding-bottom: 2px;
}
.btn-auth-premium:hover {
  color: var(--clr-gold-main);
  border-color: var(--clr-gold-main);
}

/* Dropdowns */
.luxury-dropdown {
  border: 1px solid var(--clr-border);
  border-radius: 0;
  box-shadow: var(--shadow-float);
  padding: 15px;
  min-width: 200px;
}
.luxury-dropdown .dropdown-item {
  font-size: 0.85rem;
  padding: 10px;
  transition: var(--transition-smooth);
}
.luxury-dropdown .dropdown-item:hover {
  background: transparent;
  color: var(--clr-gold-main);
  padding-left: 15px;
}
.luxury-dropdown .dropdown-divider {
  border-color: var(--clr-border);
  margin: 10px 0;
}
.dropdown-toggle::after {
  vertical-align: middle;
  border-top-color: var(--clr-gold-main);
}

/* Custom Hamburger */
.custom-toggler {
  border-color: rgba(216, 182, 113, 0.4);
  border-radius: 0;
  padding: 8px 12px;
}
.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28216, 182, 113, 1%29' stroke-linecap='square' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop — dropdown hover trigger */
@media (min-width: 1200px) {
  .luxury-dropdown {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
  }
  .nav-item.dropdown:hover .luxury-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Mobile & Tablet */
@media (max-width: 1199px) {
  .navbar-collapse {
    background-color: var(--clr-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-float);
    margin-top: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--clr-border);
  }
  .nav-links-premium .nav-link {
    margin: 4px 0;
    padding: 10px 12px;
    display: inline-block;
    font-size: 0.82rem;
    white-space: normal;
  }
  .nav-actions {
    flex-direction: column;
    align-items: flex-start !important;
    border-left: none;
    padding-left: 12px;
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--clr-border);
    width: 100%;
  }
  .logo-text {
    display: flex !important;
  }
}
/* ==========================================================================
     Contact Hero & Specifics
     ========================================================================== */
.contact-editorial-hero {
  margin-top: var(--nav-height);
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}
.glow-1 {
  top: -20%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: var(--clr-gold-main);
}

/* Premium Form */
.luxury-form-card {
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-float);
  border-radius: 4px;
  height: 100%;
}

.luxury-input {
  background-color: var(--clr-muted);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--clr-dark-900);
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}
.luxury-input:focus {
  background-color: var(--clr-white);
  border-color: var(--clr-gold-main);
  box-shadow: none;
  outline: none;
}
select.luxury-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b671' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* Info Cards */
.contact-info-card {
  border-radius: 4px;
  border-color: var(--clr-border);
  transition: var(--transition-smooth);
}
.contact-info-card:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-float);
  border-color: rgba(216, 182, 113, 0.4);
}
.card-glow-overlay {
  position: absolute;
  top: 50%;
  right: -20%;
  transform: translateY(-50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(216, 182, 113, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

/* Custom Alert */
.luxury-alert {
  padding: 15px 20px;
  background-color: rgba(216, 182, 113, 0.1);
  border: 1px solid var(--clr-gold-main);
  border-radius: 4px;
  font-family: var(--font-montserrat);
  font-size: 0.95rem;
  color: var(--clr-dark-900);
}

/* ==========================================================================
     Premium Dark Footer
     ========================================================================== */
.bespoke-footer {
  background-color: var(--clr-dark-900);
  background-image: radial-gradient(
    circle at bottom center,
    rgba(70, 21, 88, 0.4) 0%,
    transparent 60%
  );
  padding: 80px 0 30px;
  border-top: 1px solid rgba(216, 182, 113, 0.2);
}
.footer-heading {
  font-family: var(--font-cinzel);
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 25px;
  color: var(--clr-gold-main);
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 15px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--clr-gold-main);
  transform: translateX(5px);
}
.footer-muted-text {
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.8;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-links a:hover {
  color: var(--clr-gold-main) !important;
}

/* ==========================================================================
     Animations
     ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}

/* ==========================================================================
     Responsive Adjustments
     ========================================================================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--clr-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--clr-border);
  }
  .nav-actions {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .logo-text {
    display: flex !important;
  }
}

/* ==========================================================================
   PREMIUM ENHANCEMENT LAYER - Contact form
   Depth, motion & micro-interactions. Palette, fonts and layout unchanged.
   Animations use transform / opacity / translate only.
   ========================================================================== */

::selection {
  background: var(--clr-gold-light);
  color: var(--clr-dark-900);
}

.contact-interface {
  position: relative;
  isolation: isolate;
}
/* Keep real content above the decorative layers */
.contact-editorial-hero > .container,
.contact-interface > .container {
  position: relative;
  z-index: 2;
}
.contact-interface {
  overflow-x: clip;
}
.glow-1 {
  translate: 0 var(--py, 0px);
}

/* --------------------------------------------------------------------------
   Shared ambient layer (orbs, floating shapes) - same as About page
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Animated ambient background (injected by about.js)
   -------------------------------------------------------------------------- */
.ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  contain: layout paint;
}
/* Softly fades the ambient layer at section edges on light sections */
.ambient--soft {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 14%,
    #000 86%,
    transparent 100%
  );
}
/* Animations only run while the section is on screen */
.ambient:not(.is-active) *,
.ambient:not(.is-active) *::after {
  animation-play-state: paused !important;
}
.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  animation: orbDrift var(--d, 30s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.orb-gold {
  background: radial-gradient(
    circle,
    rgba(216, 182, 113, 0.2) 0%,
    rgba(216, 182, 113, 0) 65%
  );
}
.orb-purple {
  background: radial-gradient(
    circle,
    rgba(120, 63, 159, 0.1) 0%,
    rgba(120, 63, 159, 0) 65%
  );
}
.ambient--dark .orb-gold {
  background: radial-gradient(
    circle,
    rgba(216, 182, 113, 0.12) 0%,
    rgba(216, 182, 113, 0) 65%
  );
}
.ambient--dark .orb-purple {
  background: radial-gradient(
    circle,
    rgba(120, 63, 159, 0.34) 0%,
    rgba(70, 21, 88, 0) 68%
  );
}
.ambient--faint .orb-gold {
  background: radial-gradient(
    circle,
    rgba(216, 182, 113, 0.12) 0%,
    rgba(216, 182, 113, 0) 65%
  );
}
.ambient--faint .orb-purple {
  background: radial-gradient(
    circle,
    rgba(174, 126, 196, 0.12) 0%,
    rgba(174, 126, 196, 0) 65%
  );
}

@keyframes orbDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6%, 8%, 0) scale(1.14);
  }
}

/* --------------------------------------------------------------------------
   Floating graphical elements
   .fx          -> parallax (uses the independent `translate` property)
   .fx-inner    -> ambient float / spin animation
   -------------------------------------------------------------------------- */
.fx {
  position: absolute;
  display: block;
  pointer-events: none;
  opacity: var(--o, 1);
  translate: 0 var(--py, 0px);
}
.fx-inner {
  display: block;
  position: relative;
}

.fx-diamond .fx-inner {
  width: var(--size);
  height: var(--size);
  rotate: 45deg;
  border: 1px solid rgba(216, 182, 113, 0.75);
  background: linear-gradient(
    135deg,
    rgba(239, 215, 149, 0.25),
    rgba(216, 182, 113, 0.04)
  );
  animation: floatA var(--dur, 8s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.fx-dot .fx-inner {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(239, 215, 149, 0.95) 0%,
    rgba(216, 182, 113, 0) 70%
  );
  animation: floatB var(--dur, 7s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.fx-ring .fx-inner {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  border: 1px solid rgba(216, 182, 113, 0.5);
  animation: floatA var(--dur, 12s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.fx-ring .fx-inner::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(216, 182, 113, 0.4);
}

/* Tilted orbital ring with a travelling gold bead - the subtle 3D accent */
.fx-orbit {
  perspective: 700px;
}
.fx-orbit .fx-inner {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  border: 1px solid rgba(216, 182, 113, 0.55);
  transform-style: preserve-3d;
  animation: orbitSpin var(--dur, 28s) linear infinite;
}
.fx-orbit .fx-inner::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--clr-gold-main);
  box-shadow: 0 0 12px 2px rgba(216, 182, 113, 0.65);
}

/* Slowly rotating sacred-geometry line art */
.fx-mandala {
  --msize: min(var(--size), 92vw);
  color: var(--clr-gold-main);
}
.fx-mandala .fx-inner {
  width: var(--msize);
  height: var(--msize);
  animation: slowSpin var(--dur, 150s) linear infinite;
}
.fx-mandala svg {
  display: block;
  width: 100%;
  height: 100%;
}
.fx-center {
  margin: calc(var(--msize) / -2) 0 0 calc(var(--msize) / -2);
}

@keyframes floatA {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(10px, -22px, 0);
  }
}
@keyframes floatB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-12px, 16px, 0) scale(1.2);
  }
}
@keyframes orbitSpin {
  from {
    transform: rotateX(68deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(68deg) rotateZ(360deg);
  }
}
@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(216, 182, 113, 0.16),
    transparent 55%
  );
  transition: opacity 0.4s ease;
  z-index: 1;
}
.is-tilting > .tilt-glare {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Form card: depth, offset gold frame, tilt, seal
   -------------------------------------------------------------------------- */
.luxury-form-card {
  position: relative;
  isolation: isolate;
  translate: 0 var(--py, 0px);
  transform: perspective(1200px) rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  box-shadow:
    0 40px 80px rgba(16, 4, 29, 0.1),
    0 12px 24px rgba(16, 4, 29, 0.06);
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
}
.luxury-form-card.is-tilting {
  transition:
    transform 0.14s ease-out,
    box-shadow 0.6s ease;
}
.luxury-form-card:focus-within {
  box-shadow:
    0 44px 90px rgba(16, 4, 29, 0.13),
    0 0 0 1px rgba(216, 182, 113, 0.35),
    var(--shadow-glow);
}
/* Offset gold frame sitting behind the card (own element, injected by JS).
   Matches the card box: the column's gutter is horizontal padding only. */
.contact-interface .col-lg-7 {
  position: relative;
}
.form-frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--bs-gutter-x, 3rem) * 0.5);
  right: calc(var(--bs-gutter-x, 3rem) * 0.5);
  border: 1px solid rgba(216, 182, 113, 0.55);
  border-radius: 4px;
  pointer-events: none;
  translate: 14px calc(14px + var(--py, 0px));
  transition: translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-frame.is-focus {
  translate: 20px calc(20px + var(--py, 0px));
}

/* Completion bar along the top edge */
.form-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(216, 182, 113, 0.15);
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  pointer-events: none;
}
.form-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--clr-gold-dark),
    var(--clr-gold-main),
    var(--clr-gold-light)
  );
  transform: scaleX(var(--fp, 0));
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating brand seal on the card corner */
.form-seal {
  position: absolute;
  top: -22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--clr-dark-900);
  color: var(--clr-gold-main);
  border: 1px solid var(--clr-gold-main);
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(16, 4, 29, 0.25), var(--shadow-glow);
  pointer-events: none;
  z-index: 3;
  animation: sealFloat 5s ease-in-out infinite alternate;
}
.form-seal::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(216, 182, 113, 0.5);
  animation: slowSpin 24s linear infinite;
}
@keyframes sealFloat {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(-6px) rotate(8deg);
  }
}

/* --------------------------------------------------------------------------
   Field reveal + interactions
   -------------------------------------------------------------------------- */
#contactForm > [class*="col-"] {
  position: relative;
}
.field-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.field-reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease calc(var(--i, 0) * 80ms + 250ms),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 80ms + 250ms);
}

/* Label: gold rule draws in before the text on focus */
#contactForm .form-label {
  display: block;
  transition: color 0.4s ease;
}
#contactForm .form-label::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--clr-gold-main);
  transition:
    width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    margin 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#contactForm > [class*="col-"]:focus-within .form-label {
  color: var(--clr-gold-dark) !important;
}
#contactForm > [class*="col-"]:focus-within .form-label::before {
  width: 16px;
  margin-right: 8px;
}

/* Inputs: animated gold underline, lift, glow */
.luxury-input {
  background-image: linear-gradient(
    to right,
    var(--clr-gold-dark),
    var(--clr-gold-light)
  );
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  transition:
    background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    background-size 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
select.luxury-input {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b671' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"),
    linear-gradient(to right, var(--clr-gold-dark), var(--clr-gold-light));
  background-repeat: no-repeat, no-repeat;
  background-position:
    right 1rem center,
    left bottom;
  background-size:
    1em,
    0% 2px;
}
.luxury-input:hover:not(:focus) {
  border-color: rgba(216, 182, 113, 0.45);
  border-bottom-color: rgba(216, 182, 113, 0.6);
  background-color: #f4f1ec;
}
.luxury-input:focus {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(216, 182, 113, 0.2),
    0 2px 6px rgba(16, 4, 29, 0.05);
  background-size: 100% 2px;
}
select.luxury-input:focus {
  background-size:
    1em,
    100% 2px;
}
.luxury-input::placeholder {
  transition: opacity 0.4s ease;
}
.luxury-input:focus::placeholder {
  opacity: 0.45;
}
textarea.luxury-input {
  resize: vertical;
  min-height: 140px;
}

/* Valid tick */
.field-tick {
  position: absolute;
  right: 14px;
  bottom: 15px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--clr-gold-main);
  color: var(--clr-dark-900);
  opacity: 0;
  transform: scale(0.4) rotate(-40deg);
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.field-tick.show {
  opacity: 1;
  transform: none;
}
#contactForm input.has-tick {
  padding-right: 46px;
}

/* Invalid submit: gentle shake */
.shake {
  animation: fieldShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes fieldShake {
  20%,
  60% {
    transform: translate3d(-5px, 0, 0);
  }
  40%,
  80% {
    transform: translate3d(5px, 0, 0);
  }
}

/* Submit button: shine, lift, loading ring */
#contactForm .btn-luxury-solid {
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}
#contactForm .btn-luxury-solid::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
#contactForm .btn-luxury-solid:hover::before {
  left: 140%;
}
#contactForm .btn-luxury-solid:hover {
  transform: translateY(-3px);
}
#contactForm .btn-luxury-solid:active {
  transform: translateY(-1px) scale(0.99);
}
#contactForm .btn-luxury-solid:disabled {
  cursor: progress;
  opacity: 0.85;
  transform: none;
}
#contactForm .btn-luxury-solid:disabled::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Alert slides in */
.luxury-alert:not(.d-none) {
  animation: alertIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.luxury-alert.alert-error {
  border-color: var(--clr-purple-main);
  background-color: rgba(120, 63, 159, 0.08);
}
@keyframes alertIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Info cards: depth & tilt (existing hover slide preserved)
   -------------------------------------------------------------------------- */
.contact-info-card {
  position: relative;
  translate: 0 var(--py, 0px);
  transform: translateX(var(--tx, 0px)) perspective(900px)
    rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}
.contact-info-card:hover {
  --tx: -5px;
  transform: translateX(var(--tx, 0px)) perspective(900px)
    rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.contact-info-card.is-tilting {
  transition:
    transform 0.14s ease-out,
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}
.contact-info-card h3 {
  overflow-wrap: anywhere;
}
.contact-info-card .link-luxury .arrow {
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .fx-hide-sm {
    display: none;
  }
  .orb {
    max-width: 420px;
    max-height: 420px;
  }
  .form-frame {
    translate: 8px calc(8px + var(--py, 0px));
  }
  .form-frame.is-focus {
    translate: 10px calc(10px + var(--py, 0px));
  }
  .form-seal {
    right: 18px;
    top: -18px;
    width: 38px;
    height: 38px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .orb,
  .fx-inner,
  .form-seal,
  .form-seal::before {
    animation: none !important;
  }
  .ambient-canvas {
    display: none;
  }
  .field-reveal,
  .field-reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .luxury-input,
  .field-tick,
  .form-progress i {
    transition-duration: 0.01s !important;
  }
  .luxury-form-card,
  .contact-info-card {
    transform: none !important;
  }
  .shake {
    animation: none !important;
  }
}