/* ==========================================================================
   THE ROYAL CRIMSON™ — LUXURY BESPOKE DESIGN SYSTEM
   Artisanal Creamery & Crafted Beverages | FMCG Partnership Network
   Color Palette: Professional Royal Red, Champagne Gold, Pure Milk Cream & White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* Brand Red Spectrum */
  --crimson-primary: #b71c24;
  --crimson-dark: #800c12;
  --crimson-deep: #5a070c;
  --crimson-light: #d92534;
  --crimson-glow: rgba(183, 28, 36, 0.16);
  --crimson-subtle: #fdf2f2;
  
  /* Champagne Gold Accents */
  --gold-primary: #c59933;
  --gold-light: #e5b74b;
  --gold-dark: #9e751d;
  --gold-subtle: rgba(197, 153, 51, 0.12);

  /* Backgrounds & Dairy Cream Shades */
  --bg-page: #fffdfa;
  --bg-card: #ffffff;
  --bg-cream-soft: #fcf8f3;
  --bg-cream-warm: #f7efe6;
  --bg-dark-noir: #180507;

  /* Typography Colors */
  --text-dark: #1b0f10;
  --text-body: #4a3a3c;
  --text-muted: #796668;
  --text-light: #fffdfa;

  /* Borders & Shadows */
  --border-subtle: #ebdcd7;
  --border-crimson: rgba(183, 28, 36, 0.22);
  --border-gold: rgba(197, 153, 51, 0.35);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px rgba(183, 28, 36, 0.07);
  --shadow-hover: 0 16px 40px rgba(183, 28, 36, 0.14);
  --shadow-crimson: 0 12px 30px rgba(183, 28, 36, 0.28);

  /* Font Families */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-emblem: 'Cinzel', serif;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Scale & Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.font-sans-heading {
  font-family: var(--font-sans) !important;
  font-weight: 700;
}

.font-mono-num {
  font-family: var(--font-mono) !important;
}

.font-emblem-text {
  font-family: var(--font-emblem) !important;
  letter-spacing: 0.12em;
}

/* Color Utility Classes */
.text-crimson { color: var(--crimson-primary) !important; }
.text-crimson-dark { color: var(--crimson-dark) !important; }
.text-gold { color: var(--gold-primary) !important; }
.text-gold-light { color: var(--gold-light) !important; }
.text-dark-title { color: var(--text-dark) !important; }
.text-body-custom { color: var(--text-body) !important; }
.text-muted-custom { color: var(--text-muted) !important; }

.bg-crimson { background-color: var(--crimson-primary) !important; }
.bg-crimson-dark { background-color: var(--crimson-dark) !important; }
.bg-crimson-deep { background-color: var(--crimson-deep) !important; }
.bg-cream-soft { background-color: var(--bg-cream-soft) !important; }
.bg-cream-warm { background-color: var(--bg-cream-warm) !important; }
.bg-crimson-subtle { background-color: var(--crimson-subtle) !important; }

/* ==========================================================================
   HEADER & TOP NOTIFICATION BAR
   ========================================================================== */

.top-bar-corporate {
  background: var(--crimson-deep);
  color: rgba(255, 253, 249, 0.88);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(197, 153, 51, 0.25);
}

.top-bar-corporate a {
  color: var(--gold-light);
  text-decoration: none;
  transition: opacity 0.2s;
}

.top-bar-corporate a:hover {
  opacity: 0.85;
}

/* ==========================================================================
   STICKY MAIN NAVIGATION BAR
   ========================================================================== */

.navbar-royal {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.35rem 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.navbar-brand-emblem {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 110px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.brand-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

@media (max-width: 1199.98px) {
  .brand-logo-img {
    height: 95px;
  }
}

@media (max-width: 991.98px) {
  .brand-logo-img {
    height: 80px;
  }
}

@media (max-width: 575.98px) {
  .brand-logo-img {
    height: 65px;
  }
}

.brand-icon-shield {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--crimson-primary) 0%, var(--crimson-dark) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(183, 28, 36, 0.22);
  flex-shrink: 0;
}

.brand-title-wrap h3 {
  font-family: var(--font-emblem);
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
  color: var(--crimson-primary);
  line-height: 1.1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand-title-wrap span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  display: block;
  white-space: nowrap;
}

.navbar-royal .nav-link {
  font-weight: 600;
  font-size: 0.94rem;
  color: #2b2323;
  padding: 0.5rem 0.75rem !important;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.navbar-royal .nav-link:hover,
.navbar-royal .nav-link.active {
  color: var(--crimson-primary);
}

.navbar-royal .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2.5px;
  background: var(--crimson-primary);
  border-radius: 2px;
}

/* ==========================================================================
   BUTTONS (CLEAN, BOLD, ACCESSIBLE)
   ========================================================================== */

.btn-crimson {
  background: linear-gradient(135deg, var(--crimson-light) 0%, var(--crimson-primary) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50rem;
  border: none;
  box-shadow: var(--shadow-crimson);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-crimson:hover {
  background: linear-gradient(135deg, var(--crimson-primary) 0%, var(--crimson-dark) 100%);
  box-shadow: 0 16px 36px rgba(183, 28, 36, 0.38);
  transform: translateY(-2px);
}

.btn-crimson:active {
  transform: translateY(0);
}

.btn-outline-crimson {
  background: transparent;
  color: var(--crimson-primary) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem 1.55rem;
  border-radius: 50rem;
  border: 2px solid var(--crimson-primary);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline-crimson:hover {
  background: var(--crimson-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-crimson);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: var(--crimson-deep) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50rem;
  border: none;
  box-shadow: 0 10px 25px rgba(197, 153, 51, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   BADGES & PILLS
   ========================================================================== */

.badge-tag-crimson {
  background: var(--crimson-subtle);
  color: var(--crimson-primary);
  border: 1px solid var(--border-crimson);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-tag-gold {
  background: #fdfaf0;
  color: var(--gold-dark);
  border: 1px solid var(--border-gold);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   HERO SECTION (ALIGNED, IMPACTFUL, BALANCED)
   ========================================================================== */

.hero-section-crimson {
  position: relative;
  background: linear-gradient(180deg, #fffdfa 0%, #fdf5ef 50%, #fffdfa 100%);
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-headline {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-image-stage {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(183, 28, 36, 0.18), 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.hero-image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-card-top {
  position: absolute;
  top: -15px;
  left: -20px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero-floating-card-bottom {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--crimson-deep) 0%, var(--crimson-dark) 100%);
  color: #ffffff;
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 0.95rem 1.35rem;
  box-shadow: 0 16px 35px rgba(183, 28, 36, 0.35);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}

/* Hero Stats Strip */
.hero-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-subtle);
  height: 100%;
  border-top: 3px solid var(--crimson-primary);
}

.hero-stat-card .stat-val {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--crimson-primary);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.hero-stat-card .stat-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   PARTNERSHIP OPPORTUNITY CARDS (PERFECT ALIGNMENT)
   ========================================================================== */

.card-opportunity {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.card-opportunity::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson-primary), var(--gold-primary));
  opacity: 0.9;
}

.card-opportunity:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-crimson);
}

.card-opportunity .deed-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--crimson-primary);
  background: var(--crimson-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

.card-opportunity .opp-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--crimson-subtle);
  color: var(--crimson-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.card-opportunity h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.opp-spec-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

.opp-spec-list li {
  font-size: 0.92rem;
  color: var(--text-body);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px dashed #f0e6e4;
}

.opp-spec-list li:last-child {
  border-bottom: none;
}

.opp-spec-list li i {
  color: var(--crimson-primary);
  font-size: 1.05rem;
}

/* ==========================================================================
   PURITY DIAGNOSTIC COMPARISON (CLEAN DUAL GRID)
   ========================================================================== */

.diagnostic-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
}

.diag-col-mass {
  background: #faf8f7;
  padding: 2.75rem 2.25rem;
  border-right: 1px solid var(--border-subtle);
}

.diag-col-royal {
  background: linear-gradient(145deg, #ffffff 0%, #fff7f7 100%);
  padding: 2.75rem 2.25rem;
  border-top: 4px solid var(--crimson-primary);
}

.diag-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}

.diag-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.96rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.diag-list li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   FINANCIAL RETURN MATRIX (CORPORATE CALCULATOR)
   ========================================================================== */

.calc-matrix-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 16px 45px rgba(183, 28, 36, 0.08);
}

.calc-tier-btn {
  background: var(--bg-cream-soft);
  color: var(--text-body);
  border: 1.5px solid var(--border-subtle);
  border-radius: 50rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
}

.calc-tier-btn:hover {
  border-color: var(--crimson-primary);
  color: var(--crimson-primary);
}

.calc-tier-btn.active {
  background: var(--crimson-primary);
  color: #ffffff;
  border-color: var(--crimson-primary);
  box-shadow: 0 4px 14px rgba(183, 28, 36, 0.3);
}

.calc-slider-styled {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #e9dbd7;
  outline: none;
}

.calc-slider-styled::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--crimson-primary);
  border: 3px solid #ffffff;
  box-shadow: 0 3px 10px rgba(183, 28, 36, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-slider-styled::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-metric-box {
  background: var(--bg-cream-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  border-bottom: 3px solid var(--crimson-primary);
}

.calc-metric-box .metric-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--crimson-primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.calc-metric-box .metric-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   PRODUCT SHOWCASE & MENU CARDS
   ========================================================================== */

.card-product-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-product-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-crimson);
}

.product-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #fbf6f3;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-product-item:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-tag-float {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--crimson-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-body-wrap {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* ==========================================================================
   5-STEP SLA RUNWAY
   ========================================================================== */

.step-flow-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-subtle);
  height: 100%;
  transition: transform 0.25s ease;
}

.step-flow-box:hover {
  transform: translateY(-4px);
  border-color: var(--crimson-primary);
}

.step-flow-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson-primary) 0%, var(--crimson-dark) 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(183, 28, 36, 0.28);
}

/* ==========================================================================
   APPLICATION STEPPER FORM (APPLY.HTML)
   ========================================================================== */

.form-stepper-deck {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(183, 28, 36, 0.08);
}

.form-control-custom,
.form-select-custom {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.8rem 1.15rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--crimson-primary);
  box-shadow: 0 0 0 4px var(--crimson-glow);
  outline: none;
}

.form-step-pill-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.step-pip-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-pip-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.step-pip-node.active .step-pip-bubble {
  background: var(--crimson-primary);
  border-color: var(--crimson-primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(183, 28, 36, 0.35);
}

.step-pip-node.completed .step-pip-bubble {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #ffffff;
}

.step-pip-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step-pip-node.active .step-pip-title {
  color: var(--crimson-primary);
}

/* ==========================================================================
   FOOTER (EDITORIAL & CORPORATE AUTHORITY)
   ========================================================================== */

.footer-royal-crimson {
  background: var(--bg-dark-noir);
  color: rgba(255, 253, 249, 0.8);
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--crimson-primary);
}

.footer-royal-crimson h5 {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-royal-crimson a {
  color: rgba(255, 253, 249, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.92rem;
  display: inline-block;
  padding: 0.28rem 0;
}

.footer-royal-crimson a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3.5rem;
  padding-top: 1.8rem;
  font-size: 0.85rem;
  color: rgba(255, 253, 249, 0.55);
}

/* ==========================================================================
   HEADER & NAVBAR RESPONSIVE OVERFLOW SAFEGUARD (1200px and below)
   ========================================================================== */

.navbar-brand-emblem {
  flex-shrink: 0;
  max-width: 80%;
}

.navbar-toggler {
  border: 1.5px solid var(--crimson-primary) !important;
  border-radius: 10px !important;
  padding: 0.45rem 0.65rem !important;
  background: var(--crimson-subtle);
  color: var(--crimson-primary);
  flex-shrink: 0;
}

.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='%23b71c24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 1.25em;
  height: 1.25em;
}

/* Navbar Drawer when collapsed (screens < 1200px) */
@media (max-width: 1199.98px) {
  .navbar-royal .navbar-collapse {
    background: #ffffff;
    border: 1px solid rgba(183, 28, 36, 0.12);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    margin-top: 0.85rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  }
  .navbar-royal .nav-link {
    padding: 0.85rem 1rem !important;
    border-bottom: 1px solid #f6eee9;
    font-size: 1.02rem;
    font-weight: 600;
    color: #2c2424;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    margin-bottom: 3px;
    transition: all 0.2s ease;
  }
  .navbar-royal .nav-link::after {
    display: none !important;
  }
  .navbar-royal .nav-link:hover,
  .navbar-royal .nav-link.active {
    background: #fdf2f2;
    color: var(--crimson-primary);
    font-weight: 700;
  }
  .navbar-royal .nav-link:hover i,
  .navbar-royal .nav-link.active i {
    color: var(--crimson-primary) !important;
    opacity: 1 !important;
    transform: translateX(3px);
    transition: transform 0.2s ease;
  }
  .navbar-royal .btn-crimson {
    width: 100%;
    justify-content: center;
    margin-top: 0.75rem;
    padding: 0.75rem 1.25rem !important;
    font-size: 1.02rem !important;
    border-radius: 50px;
  }
}

/* ==========================================================================
   RESPONSIVENESS SUITE (320px - 1400px+)
   Guaranteed Zero Horizontal Overflow & Pristine Mobile Alignment
   ========================================================================== */

@media (max-width: 991.98px) {
  .hero-headline {
    font-size: 2.6rem;
  }
  .hero-image-frame img {
    height: 350px;
  }
  .hero-floating-card-top {
    left: 10px;
    top: 10px;
  }
  .hero-floating-card-bottom {
    right: 10px;
    bottom: 10px;
  }
  .diag-col-mass {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (max-width: 767.98px) {
  .hero-section-crimson {
    padding: 3rem 0 3.5rem;
  }
  .hero-headline {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 1.02rem;
  }
  .hero-image-frame img {
    height: 280px;
  }
  .calc-matrix-card {
    padding: 1.75rem 1.25rem;
  }
  .form-stepper-deck {
    padding: 2rem 1.25rem;
  }
  .btn-crimson, .btn-outline-crimson, .btn-gold {
    width: 100%;
    justify-content: center;
  }
  .top-bar-corporate {
    font-size: 0.75rem;
    padding: 0.35rem 0;
  }
  .top-bar-corporate .container {
    justify-content: center !important;
    text-align: center;
    gap: 0.4rem !important;
  }
  .hero-floating-card-top, .hero-floating-card-bottom {
    position: static;
    margin: 0.75rem 0;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .brand-icon-shield {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .brand-title-wrap h3 {
    font-size: 0.98rem !important;
    letter-spacing: 0.05em !important;
  }
  .brand-title-wrap span {
    font-size: 0.56rem !important;
    letter-spacing: 0.08em !important;
  }
  .navbar-toggler {
    padding: 0.35rem 0.55rem !important;
  }
  .hero-headline {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }
  .hero-image-frame img {
    height: 220px !important;
  }
  .calc-tier-btn {
    flex: 1 1 calc(50% - 6px);
    font-size: 0.78rem !important;
    padding: 0.5rem 0.5rem !important;
    text-align: center;
  }
  .calc-matrix-card {
    padding: 1.5rem 1rem !important;
  }
  .calc-metric-box .metric-value {
    font-size: 1.4rem !important;
  }
  .form-stepper-deck {
    padding: 1.5rem 1rem !important;
  }
  .card-opportunity {
    padding: 1.5rem 1.25rem !important;
  }
  .step-pip-title {
    font-size: 0.7rem;
  }
}

@media (max-width: 374.98px) {
  .brand-title-wrap h3 {
    font-size: 0.88rem !important;
  }
  .brand-icon-shield {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .navbar-toggler {
    padding: 0.35rem 0.45rem !important;
  }
  .step-pip-title {
    font-size: 0.62rem !important;
  }
  .step-pip-bubble {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
  }
}

/* ========================================================================= */
/* LUXURY HOME TOP BANNER CAROUSEL STYLES                                   */
/* ========================================================================= */
.home-carousel-banner-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

@media (max-width: 1199.98px) {
  .home-carousel-banner-img {
    height: 440px;
  }
}

@media (max-width: 991.98px) {
  .home-carousel-banner-img {
    height: 360px;
  }
}

@media (max-width: 767.98px) {
  .home-carousel-banner-img {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .home-carousel-banner-img {
    height: 220px;
  }
}

@media (max-width: 767.98px) {
  .home-carousel-banner-img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .home-carousel-banner-img {
    height: 210px;
  }
}

.carousel-caption-glass {
  background: rgba(24, 5, 8, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 153, 51, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  max-width: 550px;
}

.carousel-caption-glass-right {
  background: rgba(90, 7, 12, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 153, 51, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  max-width: 550px;
}

.home-top-slider-section .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: #fff;
  border: 2px solid #b71c24;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.home-top-slider-section .carousel-indicators .active {
  width: 32px;
  border-radius: 12px;
  background-color: #c59933;
  border-color: #c59933;
  opacity: 1;
}

.home-top-slider-section .carousel-control-prev,
.home-top-slider-section .carousel-control-next {
  width: 5%;
}

/* ========================================================================= */
/* HERO IMAGE STAGE CAROUSEL STYLES                                         */
/* ========================================================================= */
.hero-floating-card-top,
.hero-floating-card-bottom {
  z-index: 10 !important;
}

#heroImageCarousel {
  border-radius: 24px;
  overflow: hidden;
}

#heroImageCarousel .carousel-item img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991.98px) {
  #heroImageCarousel .carousel-item img {
    height: 350px;
  }
}

@media (max-width: 767.98px) {
  #heroImageCarousel .carousel-item img {
    height: 280px;
  }
}

@media (max-width: 480px) {
  #heroImageCarousel .carousel-item img {
    height: 230px !important;
  }
}

#heroImageCarousel .carousel-indicators {
  z-index: 5;
  margin-bottom: 0.75rem;
}

#heroImageCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  background-color: #ffffff;
  border: 1.5px solid #b71c24;
  opacity: 0.7;
  transition: all 0.3s ease;
}

#heroImageCarousel .carousel-indicators .active {
  width: 26px;
  border-radius: 10px;
  background-color: #c59933;
  border-color: #c59933;
  opacity: 1;
}

#heroImageCarousel .carousel-control-prev,
#heroImageCarousel .carousel-control-next {
  width: 14%;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-image-frame:hover #heroImageCarousel .carousel-control-prev,
.hero-image-frame:hover #heroImageCarousel .carousel-control-next {
  opacity: 0.9;
}


