/* ==========================================================================
   MAISONE UI Components
   Fashion Editorial Components
   ========================================================================== */

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(201, 184, 154, 0.08);
  z-index: 1000;
  transition: border-color 0.4s var(--ease-out),
              background 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              height 0.4s var(--ease-out),
              transform 0.4s var(--ease-out);
}

.nav.scrolled {
  border-bottom-color: rgba(201, 184, 154, 0.16);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.5);
  height: calc(var(--nav-height) - 8px);
  background: rgba(10, 10, 10, 0.92);
}

.nav.scrolled .nav__logo {
  font-size: 1.5rem;
}
.nav.scrolled .nav__logo-img {
  height: 60px;
}

/* Hide on scroll-down, show on scroll-up */
.nav.nav--hidden {
  transform: translateY(-100%);
}

.nav.nav--visible {
  transform: translateY(0);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  transition: opacity var(--duration-fast), font-size 0.35s var(--ease-out);
}

.nav__logo:hover {
  opacity: 0.7;
}

.nav__logo span {
  font-weight: 300;
}

/* Image variant of nav logo (gothic blackletter MAISONE wordmark) */
.nav__logo-img {
  height: 88px;
  width: auto;
  display: block;
  transition: height 0.35s var(--ease-out), filter 0.3s var(--ease-out);
  /* Original logo is dark-on-transparent. Invert + lift contrast so the
     gothic chrome reads on the dark nav background. */
  filter: invert(1) hue-rotate(180deg) brightness(1.05) contrast(1.1);
}
.nav.scrolled .nav__logo-img { height: 64px; }
.nav__logo:hover .nav__logo-img {
  filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(1.1);
}
@media (max-width: 640px) {
  .nav__logo-img { height: 36px; }
}

/* ---------- Preloader (first-load video intro) ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader video {
  width: min(86vw, 1100px);
  height: auto;
  display: block;
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
}

.nav__link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
  position: relative;
  padding: 4px 0;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-normal) var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 28px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.nav__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s var(--ease-out);
}

.nav__cta:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav__cta:hover::before {
  left: 100%;
}

/* Mobile menu button */
.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 1001;
}

.nav__menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.nav__menu-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.nav__menu-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: calc(var(--nav-height) + var(--sp-16)) var(--sp-8) var(--sp-8);
  flex-direction: column;
  gap: var(--sp-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.nav__mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.3s var(--ease-out), padding-left 0.4s var(--ease-luxury, var(--ease-out));
  opacity: 0;
  transform: translateY(20px);
}

.nav__mobile.open a {
  opacity: 1;
  transform: translateY(0);
  transition: color 0.3s var(--ease-out),
              padding-left 0.4s var(--ease-out),
              opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}

.nav__mobile.open a:nth-child(1) { transition-delay: 0.05s, 0s, 0.05s, 0.05s; }
.nav__mobile.open a:nth-child(2) { transition-delay: 0.1s, 0s, 0.1s, 0.1s; }
.nav__mobile.open a:nth-child(3) { transition-delay: 0.15s, 0s, 0.15s, 0.15s; }
.nav__mobile.open a:nth-child(4) { transition-delay: 0.2s, 0s, 0.2s, 0.2s; }
.nav__mobile.open a:nth-child(5) { transition-delay: 0.25s, 0s, 0.25s, 0.25s; }
.nav__mobile.open a:nth-child(6) { transition-delay: 0.3s, 0s, 0.3s, 0.3s; }
.nav__mobile.open a:nth-child(7) { transition-delay: 0.35s, 0s, 0.35s, 0.35s; }

.nav__mobile a:hover {
  color: var(--accent-2);
  padding-left: var(--sp-4);
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: flex; }
  .nav__inner { padding: 0 var(--sp-4); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: var(--radius-sm);
  transition: all 0.4s var(--ease-luxury, var(--ease-out));
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

/* Shine sweep on hover for all buttons */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transform: rotate(25deg) translateX(-200%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}

.btn:hover::after {
  transform: rotate(25deg) translateX(500%);
}

/* Override for ghost buttons (no sweep) */
.btn--ghost::after {
  content: '\2192';
  position: static;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  transition: transform var(--duration-normal) var(--ease-out);
  margin-left: 4px;
}

.btn--ghost:hover::after {
  transform: translateX(6px);
}

.btn--primary:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn--bronze {
  background: var(--accent-2);
  color: #fff;
  position: relative;
}

.btn--bronze::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.6s var(--ease-out);
}

.btn--bronze:hover {
  background: var(--accent-2-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 184, 154, 0.3);
}

.btn--bronze:hover::before {
  left: 100%;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  padding: 8px 0;
  letter-spacing: 0.1em;
}

.btn--ghost:hover {
  color: var(--accent-2);
}

.btn--sm {
  font-size: 0.6875rem;
  padding: 11px 22px;
}

.btn--lg {
  font-size: 0.75rem;
  padding: 22px 52px;
}

.btn--full {
  width: 100%;
}

.btn--white {
  background: #fff;
  color: var(--text);
}

.btn--white:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: box-shadow 0.6s var(--ease-luxury, var(--ease-out)),
              transform 0.6s var(--ease-luxury, var(--ease-out)),
              border-color 0.6s var(--ease-luxury, var(--ease-out));
  box-shadow: var(--shadow-card);
  transform: perspective(1000px) rotateX(0) rotateY(0) translateZ(0);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}

/* Subtle inner glow on cards */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(201, 184, 154, 0.15) 50%, transparent 90%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(201, 184, 154, 0.1);
  border-color: rgba(201, 184, 154, 0.15);
  transform: perspective(1000px) rotateX(-0.5deg) translateY(-8px) translateZ(4px);
}

.card--flat {
  border: none;
  background: var(--bg-alt);
  box-shadow: none;
}

.card--flat:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  background: var(--bg-card);
  border-color: rgba(201, 184, 154, 0.12);
}

.card--bordered {
  border: 1px solid var(--border);
}

.card--page {
  box-shadow: var(--shadow-page);
  border: none;
}

.card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-6);
  overflow: hidden;
  position: relative;
}

.card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--bg-alt) 0%, #e8e6e0 40%, #d8d4cc 60%, #e8e6e0 100%);
}

/* Editorial pattern for image placeholders */
.card__image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(201, 184, 154, 0.03) 20px,
      rgba(201, 184, 154, 0.03) 21px
    );
}

.card__image-placeholder::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(201, 184, 154, 0.08);
  border-radius: 2px;
}

.card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-3);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.card__meta {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---------- Process Steps (Editorial Timeline) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-10);
  counter-reset: step;
}

.steps--6 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .steps, .steps--6 {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

.step {
  counter-increment: step;
  position: relative;
  padding-top: var(--sp-10);
  padding-left: var(--sp-5);
  border-left: 1px solid var(--border-light);
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.step:hover {
  border-left-color: var(--accent-2);
  transform: translateX(4px);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  background: linear-gradient(180deg, rgba(201,184,154,0.15) 0%, rgba(201,184,154,0.03) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: -4px;
  left: var(--sp-5);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: opacity 0.4s var(--ease-out);
}

.step:hover::before {
  background: linear-gradient(180deg, rgba(201,184,154,0.3) 0%, rgba(201,184,154,0.08) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
  color: var(--text);
}

.step__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.step__timeline {
  font-size: 0.8125rem;
  color: var(--accent-2);
  font-weight: 500;
  margin-top: var(--sp-4);
  letter-spacing: 0.03em;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: var(--sp-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-2), var(--border));
}

.timeline__item {
  position: relative;
  padding-bottom: var(--sp-8);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-8));
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border);
  transition: all var(--duration-normal);
}

.timeline__item.active::before {
  background: var(--accent-2);
  box-shadow: 0 0 0 2px var(--accent-2), 0 0 0 6px var(--accent-2-light);
}

.timeline__item.completed::before {
  background: var(--success);
  box-shadow: 0 0 0 2px var(--success);
}

.timeline__date {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-1);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: var(--sp-2);
}

.timeline__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Form Inputs ---------- */
.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.9375rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  line-height: 1.5;
}

.form-input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-2-light);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input--lg {
  padding: 18px 22px;
  font-size: 1rem;
}

textarea.form-input {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  width: 100%;
  padding: 14px 42px 14px 18px;
  font-size: 0.9375rem;
  background: var(--bg-card) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-select:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-2-light);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: 0.9375rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-2);
  cursor: pointer;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: var(--sp-1);
}

.form-error {
  font-size: 0.8125rem;
  color: var(--error);
  margin-top: var(--sp-1);
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
  transition: transform 0.5s var(--ease-luxury, var(--ease-out)),
              box-shadow 0.5s var(--ease-luxury, var(--ease-out)),
              border-color 0.5s var(--ease-luxury, var(--ease-out));
  box-shadow: var(--shadow-card);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.07);
  border-color: rgba(201, 184, 154, 0.12);
}

.pricing-card--featured {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)),
                    linear-gradient(135deg, var(--accent-2) 0%, var(--accent-warm, var(--accent-warm)) 50%, var(--accent-2) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 8px 40px rgba(201, 184, 154, 0.15), 0 0 0 1px rgba(201, 184, 154, 0.05);
  position: relative;
  z-index: 1;
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 20px 60px rgba(201, 184, 154, 0.2), 0 0 0 1px rgba(201, 184, 154, 0.1);
}

.pricing-card--featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--accent-2), #a08868);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(201, 184, 154, 0.3);
}

/* Shimmer shine effect on featured card */
.pricing-card--featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 184, 154, 0.04),
    rgba(255, 255, 255, 0.08),
    rgba(201, 184, 154, 0.04),
    transparent
  );
  animation: shimmerSweep 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.pricing-card__name {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-5);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.03em;
}

.pricing-card__price span {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.pricing-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}

.pricing-card__features {
  text-align: left;
  margin-bottom: var(--sp-8);
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}

.pricing-card__feature::before {
  content: '\2713';
  color: var(--accent-2);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Testimonial Cards ---------- */
.testimonial {
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--sp-12) var(--sp-10);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow 0.6s var(--ease-luxury, var(--ease-out)), transform 0.6s var(--ease-luxury, var(--ease-out));
  background-image: linear-gradient(var(--bg-card), var(--bg-card)),
                    linear-gradient(135deg, rgba(201,184,154,0.2) 0%, transparent 40%, rgba(201,184,154,0.12) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.testimonial:hover {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08), 0 0 40px rgba(201, 184, 154, 0.04);
  transform: translateY(-4px);
}

/* Editorial border accent on left */
.testimonial::after {
  content: '';
  position: absolute;
  top: var(--sp-8);
  left: 0;
  width: 3px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-2), var(--accent-warm), rgba(201, 184, 154, 0.1));
  border-radius: 0 2px 2px 0;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: var(--sp-6);
  position: relative;
  padding-top: var(--sp-8);
  padding-left: var(--sp-3);
  color: var(--text);
}

.testimonial__quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent-2);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: -4px;
}

/* Closing quote mark */
.testimonial__quote::after {
  content: '\201D';
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent-2);
  opacity: 0.15;
  vertical-align: bottom;
  margin-left: 4px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(201, 184, 154, 0.2);
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- Stats / Metrics ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  text-align: center;
  position: relative;
  padding: var(--sp-8) var(--sp-4);
}

/* Subtle top accent line */
.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-warm));
  opacity: 0.4;
  border-radius: 1px;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--text) 20%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Status Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.badge--active {
  background: rgba(45, 106, 79, 0.1);
  color: var(--success);
}

.badge--pending {
  background: rgba(184, 134, 11, 0.1);
  color: var(--warning);
}

.badge--complete {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.badge--error {
  background: rgba(155, 34, 38, 0.1);
  color: var(--error);
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Progress Bar ---------- */
.progress {
  width: 100%;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), #a08868);
  border-radius: 2px;
  transition: width var(--duration-slow) var(--ease-out);
}

/* Stage progress (horizontal) */
.stage-progress {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.stage-progress__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stage-progress__step::before {
  content: '';
  position: absolute;
  top: 14px;
  left: -50%;
  right: 50%;
  height: 2px;
  background: var(--border-light);
}

.stage-progress__step:first-child::before {
  display: none;
}

.stage-progress__step.completed::before {
  background: var(--accent-2);
}

.stage-progress__step.active::before {
  background: var(--accent-2);
}

.stage-progress__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  z-index: 1;
  transition: all var(--duration-normal);
}

.stage-progress__step.completed .stage-progress__dot {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
}

.stage-progress__step.active .stage-progress__dot {
  border-color: var(--accent-2);
  color: var(--accent-2);
  box-shadow: 0 0 0 5px var(--accent-2-light);
}

.stage-progress__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: var(--sp-2);
  text-align: center;
}

.stage-progress__step.completed .stage-progress__label,
.stage-progress__step.active .stage-progress__label {
  color: var(--text);
}

@media (max-width: 768px) {
  .stage-progress__label {
    font-size: 0.5625rem;
    letter-spacing: 0.04em;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--sp-20) 0 var(--sp-10);
  position: relative;
}

/* Ornamental top separator */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent-2);
  background: var(--bg-dark);
  opacity: 0.7;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-14);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  color: #fff;
  position: relative;
  display: inline-block;
}

.footer__brand::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-2), transparent);
  margin-top: var(--sp-4);
  opacity: 0.4;
}

.footer__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  max-width: 320px;
}

.footer__heading {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-5);
}

.footer__link {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--sp-1) 0;
  transition: color var(--duration-fast), padding-left var(--duration-normal) var(--ease-out);
}

.footer__link:hover {
  color: #fff;
  padding-left: 4px;
}

.footer__newsletter {
  display: flex;
  gap: 0;
  margin-top: var(--sp-2);
}

.footer__newsletter input {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: #fff;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.footer__newsletter input:focus {
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.1);
}

.footer__newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer__newsletter button {
  padding: 14px 22px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent-2);
  color: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.footer__newsletter button:hover {
  background: var(--accent-2-hover);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-10);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.25);
  position: relative;
}

/* Subtle centered ornament on the border */
.footer__bottom::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: rgba(201, 184, 154, 0.4);
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-4);
    text-align: center;
  }
}

.footer__bottom-links {
  display: flex;
  gap: var(--sp-5);
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--duration-fast);
}

.footer__bottom-links a:hover {
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  padding-bottom: var(--sp-16);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 80%, rgba(201,184,154,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(201,184,154,0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(184, 132, 140,0.03) 0%, transparent 60%),
    var(--bg);
}

/* Subtle side lines for editorial feel */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  top: var(--nav-height);
  width: 1px;
  height: calc(100% - var(--nav-height));
  background: linear-gradient(to bottom, transparent, rgba(201,184,154,0.12), transparent);
  opacity: 0.4;
}

.hero::before { left: calc(50% - 600px); }
.hero::after { right: calc(50% - 600px); }

@media (max-width: 1280px) {
  .hero::before, .hero::after { display: none; }
}

.hero--sm {
  min-height: 60vh;
  padding-bottom: var(--sp-14);
}

.hero--xs {
  min-height: 50vh;
  padding-bottom: var(--sp-12);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-10);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px 10px 0;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-warm, var(--accent-warm)));
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  max-width: 920px;
  margin-bottom: var(--sp-10);
}

.hero__title br + * {
  opacity: 0.85;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.9;
  margin-bottom: var(--sp-12);
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  align-items: center;
}

/* Hero scroll indicator */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.5;
  animation: scrollHintFloat 3s ease-in-out infinite;
}

.hero__scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-2), transparent);
}

@keyframes scrollHintFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ---------- Page Header ---------- */
.page-header {
  padding: calc(var(--nav-height) + var(--sp-20)) 0 var(--sp-16);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,184,154,0.04) 0%, transparent 60%),
    var(--bg);
}

/* Decorative bottom accent */
.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
}

/* Subtle side ornament */
.page-header::before {
  content: '';
  position: absolute;
  top: calc(var(--nav-height) + var(--sp-10));
  right: var(--sp-10);
  width: 80px;
  height: 80px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .page-header::before { display: none; }
}

.page-header__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--sp-6);
  position: relative;
  display: inline-block;
}

.page-header__eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent-2);
  margin-right: 14px;
  vertical-align: middle;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.02;
  max-width: 800px;
  letter-spacing: -0.03em;
}

.page-header__desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-top: var(--sp-8);
  line-height: 1.85;
  letter-spacing: 0.005em;
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  gap: var(--sp-7);
  overflow-x: auto;
}

.tab {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--sp-4) 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  color: var(--text);
  border-bottom-color: var(--accent-2);
}

/* ---------- Modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--sp-10);
  box-shadow: var(--shadow-xl);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-8);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
}

.modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--duration-fast), color var(--duration-fast);
}

.modal__close:hover {
  background: var(--bg-alt);
  color: var(--text);
}

/* ---------- Messages / Chat ---------- */
.message {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
}

.message + .message {
  border-top: 1px solid var(--border-light);
}

.message__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-alt), #e0ddd8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.message__avatar--brand {
  background: linear-gradient(135deg, var(--accent), #333);
  color: #fff;
}

.message__content {
  flex: 1;
}

.message__header {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: var(--sp-1);
}

.message__author {
  font-weight: 600;
  font-size: 0.875rem;
}

.message__time {
  font-size: 0.75rem;
  color: var(--text-light);
}

.message__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.table td {
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border-light);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: var(--bg-alt);
}

/* ---------- Gantt Chart (CSS) ---------- */
.gantt {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gantt__labels {
  background: var(--bg-alt);
  border-right: 1px solid var(--border-light);
}

.gantt__label {
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.8125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  height: 44px;
  display: flex;
  align-items: center;
}

.gantt__bars {
  position: relative;
  min-height: 264px;
}

.gantt__header {
  display: flex;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  height: 44px;
}

.gantt__week {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-right: 1px solid var(--border-light);
}

.gantt__row {
  position: relative;
  height: 44px;
  border-bottom: 1px solid var(--border-light);
}

.gantt__bar {
  position: absolute;
  top: 8px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-3);
  font-size: 0.6875rem;
  font-weight: 500;
  color: #fff;
}

/* ---------- Icon Component ---------- */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  font-size: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.icon--sm { width: 36px; height: 36px; font-size: 1rem; }
.icon--lg { width: 68px; height: 68px; font-size: 1.75rem; border-radius: var(--radius-lg); }
.icon--accent {
  background: linear-gradient(135deg, rgba(201,184,154,0.08) 0%, rgba(201,184,154,0.12) 100%);
  color: var(--accent-2);
  border: 1px solid rgba(201, 184, 154, 0.1);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.icon--accent:hover,
.card:hover .icon--accent {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(201, 184, 154, 0.15);
  background: linear-gradient(135deg, rgba(201,184,154,0.12) 0%, rgba(201,184,154,0.18) 100%);
}

/* ---------- Dashboard Sidebar ---------- */
.dashboard {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-card);
  border-right: 1px solid var(--border-light);
  padding: var(--sp-6) var(--sp-4);
  flex-shrink: 0;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  box-shadow: 1px 0 20px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
  .sidebar { display: none; }
  .dashboard { flex-direction: column; }
}

.sidebar__section {
  margin-bottom: var(--sp-6);
}

.sidebar__heading {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--sp-3);
  padding: 0 var(--sp-3);
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all var(--duration-fast);
}

.sidebar__link:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.sidebar__link.active {
  background: var(--accent-2-light);
  color: var(--accent-2);
  font-weight: 500;
}

.main-content {
  flex: 1;
  padding: var(--sp-8) var(--sp-10);
  min-width: 0;
}

@media (max-width: 768px) {
  .main-content {
    padding: var(--sp-5) var(--sp-4);
  }
}

/* ---------- Notification Dot ---------- */
.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--error);
  display: inline-block;
  margin-left: var(--sp-2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ---------- Toggle Switch ---------- */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  border-radius: 12px;
  transition: background var(--duration-fast);
}

.toggle input:checked + .toggle__track {
  background: var(--accent-2);
}

.toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--duration-fast);
  box-shadow: var(--shadow-sm);
}

.toggle input:checked ~ .toggle__thumb {
  transform: translateX(20px);
}

/* ---------- Auth Layout ---------- */
.auth-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  background: var(--bg-alt);
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-12);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
}

.auth-card__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--sp-2);
}

.auth-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: var(--sp-8);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.auth-toggle {
  display: flex;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: var(--sp-6);
}

.auth-toggle__btn {
  flex: 1;
  padding: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
  background: transparent;
  color: var(--text-muted);
}

.auth-toggle__btn.active {
  background: var(--accent);
  color: #fff;
}

/* ---------- Editorial Section Header ---------- */
.section-header-editorial {
  text-align: center;
  margin-bottom: var(--sp-14);
  position: relative;
}

.section-header-editorial::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  margin: var(--sp-7) auto 0;
}

/* Optional flourish variant */
.section-header-editorial--flourish::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border));
  margin: 0 auto var(--sp-6);
}

/* ---------- Scroll Progress Indicator ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), #a08868, var(--accent-2));
  background-size: 200% 100%;
  z-index: 1001;
  transition: width 50ms linear;
}

/* ---------- Enhanced Form Inputs (Dark Sections) ---------- */
.section--dark .form-input,
.section--dark .form-select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section--dark .form-input:focus,
.section--dark .form-select:focus {
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(201, 184, 154, 0.15);
}

.section--dark .form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.section--dark .form-label {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- CTA Editorial Section Enhanced ---------- */
.cta-editorial {
  padding: var(--sp-20) 0;
  text-align: center;
  position: relative;
}

.cta-editorial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--border));
}

.cta-editorial__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.02em;
}

/* ---------- Hover Lift Enhanced (Perspective) ---------- */
.hover-lift {
  transition: transform 0.6s var(--ease-luxury, var(--ease-out)),
              box-shadow 0.6s var(--ease-luxury, var(--ease-out)),
              border-color 0.6s var(--ease-luxury, var(--ease-out));
  transform: perspective(800px) rotateX(0) translateY(0);
}

.hover-lift:hover {
  transform: perspective(800px) rotateX(-1deg) translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(201, 184, 154, 0.08);
  border-color: rgba(201, 184, 154, 0.15);
}

/* ---------- Section Dark CTA Enhancement ---------- */
.section--dark {
  position: relative;
}

.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(201, 184, 154, 0.3));
}

/* ---------- Pull Quote Section Enhancement ---------- */
.section--pullquote {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--sp-16) 0;
  position: relative;
}

.section--pullquote::before,
.section--pullquote::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.section--pullquote::before { top: -5px; }
.section--pullquote::after { bottom: -5px; }

/* ---------- Image Container Enhancement ---------- */
.editorial-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.editorial-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 184, 154, 0.1);
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
}

.editorial-image-frame::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 184, 154, 0.06);
  border-radius: calc(var(--radius-lg) - 4px);
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   PREMIUM DESIGN OVERRIDES
   Applied last for highest specificity
   ========================================================================== */

/* Enhanced bronze button with gradient */
.btn.btn--bronze {
  background: linear-gradient(135deg, var(--accent-2) 0%, #a08868 50%, var(--accent-2) 100%);
  background-size: 200% 200%;
  animation: prem-gradShift 6s ease-in-out infinite;
  box-shadow: 0 2px 12px rgba(201, 184, 154, 0.2);
  border: none;
}

.btn.btn--bronze:hover {
  background: linear-gradient(135deg, var(--accent-2-hover) 0%, #a08868 50%, var(--accent-2-hover) 100%);
  background-size: 200% 200%;
  box-shadow: 0 8px 30px rgba(201, 184, 154, 0.3);
  transform: translateY(-2px);
}

@keyframes prem-gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Large bronze CTA glow ring */
.btn.btn--lg.btn--bronze {
  position: relative;
}

.btn.btn--lg.btn--bronze::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-2), #a08868, var(--accent-2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(8px);
}

.btn.btn--lg.btn--bronze:hover::before {
  opacity: 0.35;
}

/* Enhanced card hover with guarantee icon lift */
.card:hover .guarantee-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(201, 184, 154, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .btn.btn--bronze { animation: none; }
  .nav__mobile a { opacity: 1; transform: none; }
}

/* ==========================================================================
   LUXURY REFINEMENTS V2
   Final polish for Cartier/Hermes/Dior level quality
   ========================================================================== */

/* ---------- Enhanced Modal ---------- */
.modal-overlay {
  backdrop-filter: blur(8px);
}

.modal {
  border: 1px solid var(--border-light);
}

/* ---------- Enhanced Section Header ---------- */
.section-header-editorial {
  margin-bottom: var(--sp-16);
}

.section-header-editorial .t-display-lg {
  margin-top: var(--sp-2);
}

/* ---------- Step Refinements ---------- */
.step {
  padding-top: var(--sp-12);
  padding-left: var(--sp-6);
}

.step::before {
  font-size: 5rem;
}

/* ---------- Card Image Refinements ---------- */
.card__image {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.card__image-placeholder {
  transition: transform 0.8s var(--ease-luxury, var(--ease-out));
}

.card:hover .card__image-placeholder {
  transform: scale(1.04);
}

/* ---------- Testimonial Quote Refinements ---------- */
.testimonial__quote {
  font-size: 1.3125rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
}

/* ---------- Footer Newsletter Refinements ---------- */
.footer__newsletter input {
  padding: 16px 20px;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.footer__newsletter button {
  padding: 16px 24px;
}

/* ---------- Luxury Selection ---------- */
::selection {
  background: rgba(201, 184, 154, 0.15);
  color: var(--text);
}

/* ---------- Scrollbar Styling (Webkit) ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 184, 154, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 184, 154, 0.35);
}

/* ---------- Focus Styles (Accessibility) ---------- */
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Body Scroll Lock for Mobile Menu ---------- */
body.menu-open {
  overflow: hidden;
}

/* ---------- Smooth Page Load ---------- */
@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: pageLoad 0.5s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}
