/* ============================================================
   MATERNITY-DECORATION.CSS — Sri Garuda Decorators
   Maternity & Baby Shower subpage. Zero inline CSS. Mobile-first.
   ============================================================ */

:root {
  --champagne: #F2E5C6;
  --text-mid: #4A3728;
  --near-black: #1A1A1A;
  --font-display: 'Cinzel', serif;
  --font-accent: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --section-pad: clamp(60px, 10vw, 110px);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   SHARED UTILITIES
   ============================================================ */

.md-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.md-section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.md-section-label::before,
.md-section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 28px;
  background: var(--burgundy);
  opacity: 0.5;
}

.md-section-label--gold {
  color: var(--sand-gold);
}

.md-section-label--gold::before,
.md-section-label--gold::after {
  background: var(--sand-gold);
}

.md-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--deep-wine);
  margin-bottom: 20px;
}

.md-heading em {
  font-style: italic;
  color: var(--burgundy);
  font-family: var(--font-accent);
  font-size: 1.05em;
  font-weight: 300;
}

.md-heading--light {
  color: var(--champagne);
}

.md-heading--light em {
  color: var(--sand-gold);
}

.md-gold-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.md-gold-divider::before,
.md-gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-gold), transparent);
}

.md-gold-diamond {
  width: 10px;
  height: 10px;
  background: var(--sand-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.34s;
}

/* Buttons */
.md-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--burgundy);
  color: var(--champagne);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  z-index: 1;
}

.md-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--deep-wine);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
  z-index: -1;
}

.md-btn-primary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.md-btn-primary span {
  position: relative;
  z-index: 1;
}

.md-btn-primary--sm {
  padding: 10px 22px;
  font-size: 0.72rem;
}

.md-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border: 1.5px solid var(--burgundy);
  color: var(--burgundy);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: var(--transition);
}

.md-btn-outline:hover {
  background: var(--burgundy);
  color: var(--champagne);
}

.md-btn-outline--light {
  border-color: rgba(242, 229, 198, 0.5);
  color: var(--champagne);
}

.md-btn-outline--light:hover {
  background: rgba(242, 229, 198, 0.1);
  border-color: var(--sand-gold);
  color: var(--sand-gold);
}


/* ============================================================
   SECTION 1 — HERO
   ============================================================ */

.md-hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--deep-wine);
}

.md-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/maternity/hero-maternity.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transform: scale(1.06);
  transition: transform 8s ease;
}

.md-hero.loaded .md-hero-bg {
  transform: scale(1);
}

.md-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(59, 1, 11, 0.6) 0%, rgba(59, 1, 11, 0.1) 50%, rgba(59, 1, 11, 0.75) 100%);
  z-index: 1;
}

.md-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--sand-gold), transparent);
  z-index: 2;
}

.md-hero-deco-text {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 14rem);
  font-weight: 700;
  color: rgba(242, 217, 160, 0.04);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.md-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  padding-bottom: 100px;
}

.md-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(242, 217, 160, 0.3);
  color: var(--sand-gold);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: mdHeroUp 0.7s 0.2s forwards;
}

.md-hero-badge svg {
  width: 13px;
  height: 13px;
  stroke: var(--sand-gold);
  fill: none;
}

.md-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 5.8rem);
  font-weight: 500;
  color: var(--champagne);
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(24px);
  animation: mdHeroUp 0.9s 0.4s forwards;
}

.md-hero-title em {
  font-style: italic;
  color: var(--sand-gold);
  font-family: var(--font-accent);
  font-weight: 300;
  font-size: 1.1em;
}

.md-hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: rgba(242, 229, 198, 0.7);
  margin-bottom: 28px;
  opacity: 0;
  animation: mdHeroUp 0.8s 0.6s forwards;
}

.md-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  animation: mdHeroUp 0.8s 0.8s forwards;
}

.md-breadcrumb-link {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 229, 198, 0.55);
  text-decoration: none;
  font-family: var(--font-body);
  transition: color 0.2s ease;
}

.md-breadcrumb-link:hover {
  color: var(--sand-gold);
}

.md-breadcrumb-sep {
  color: rgba(242, 217, 160, 0.3);
}

.md-breadcrumb-current {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-gold);
  font-family: var(--font-body);
}

/* Stats strip */
.md-hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  background: rgba(59, 1, 11, 0.82);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(242, 217, 160, 0.15);
}

.md-hero-stat {
  flex: 1;
  max-width: 180px;
  text-align: center;
  padding: 14px 16px;
  border-right: 1px solid rgba(242, 217, 160, 0.12);
}

.md-hero-stat:last-child {
  border-right: none;
}

.md-hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sand-gold);
  line-height: 1;
}

.md-hero-stat-num em {
  font-style: normal;
  font-size: 0.7em;
  color: var(--champagne);
}

.md-hero-stat-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 229, 198, 0.55);
  display: block;
  margin-top: 4px;
}

.md-hero-scroll {
  position: absolute;
  bottom: 60px;
  right: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--champagne);
  font-family: var(--font-body);
  font-size: 0.52rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0.5;
}

.md-hero-scroll-line {
  width: 1px;
  height: 44px;
  background: var(--sand-gold);
  animation: scrollPulse 1.8s infinite;
}

@keyframes mdHeroUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.7;
  }

  50% {
    transform: scaleY(0.5);
    opacity: 0.3;
  }
}


/* ============================================================
   SECTION 2 — OVERVIEW
   ============================================================ */

.md-overview {
  padding: var(--section-pad) 0;
  background: var(--off-white, #FAF7F2);
  overflow: hidden;
}

.md-overview-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

/* Image side */
.md-overview-img {
  position: relative;
  padding-bottom: 24px;
}

.md-overview-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.md-overview-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.md-overview-img-main:hover img {
  transform: scale(1.04);
}

.md-overview-img-float {
  position: absolute;
  bottom: 0;
  right: -12px;
  width: 42%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 5px solid var(--off-white, #FAF7F2);
  box-shadow: 0 12px 36px rgba(59, 1, 11, 0.18);
  display: none;
}

.md-overview-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-overview-badge {
  position: absolute;
  top: 20px;
  left: -12px;
  background: var(--burgundy);
  padding: 16px 20px;
  text-align: center;
  display: none;
}

.md-overview-badge-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 6px;
}

.md-overview-badge-text {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--champagne);
  line-height: 1.4;
}

/* Text side */
.md-overview-lead {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}

.md-overview-body {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #5a4a3a;
  margin-bottom: 28px;
}

/* Age range strip */
.md-age-range {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid rgba(86, 11, 24, 0.12);
  overflow: hidden;
  margin-bottom: 32px;
}

.md-age-item {
  text-align: center;
  padding: 18px 12px;
  border-right: 1px solid rgba(86, 11, 24, 0.1);
  border-bottom: 1px solid rgba(86, 11, 24, 0.1);
  transition: background var(--transition);
}

.md-age-item:nth-child(even) {
  border-right: none;
}

.md-age-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.md-age-item:hover {
  background: rgba(117, 22, 45, 0.04);
}

.md-age-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.2;
  margin-bottom: 5px;
}

.md-age-num em {
  font-style: normal;
  font-size: 0.65em;
  color: var(--sand-gold);
}

.md-age-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.md-overview-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (min-width: 960px) {
  .md-overview-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .md-overview-img-float {
    display: block;
  }

  .md-overview-badge {
    display: block;
  }
}


/* ============================================================
   SECTION 3 — THEMES
   ============================================================ */

.md-themes {
  padding: var(--section-pad) 0;
  background: var(--deep-wine);
  overflow: hidden;
  position: relative;
}

.md-themes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-gold), transparent);
}

.md-themes-header {
  text-align: center;
  margin-bottom: 52px;
}

.md-themes-desc {
  color: rgba(242, 229, 198, 0.6);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

.md-themes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Theme card */
.md-theme-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 217, 160, 0.1);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.md-theme-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 217, 160, 0.28);
}

.md-theme-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.md-theme-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.5s ease;
  filter: brightness(0.75);
}

.md-theme-card:hover .md-theme-img img {
  transform: scale(1.06);
  filter: brightness(0.55);
}

.md-theme-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 1, 11, 0.7) 0%, transparent 60%);
}

.md-theme-body {
  padding: 20px 18px;
}

.md-theme-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--champagne);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.md-theme-card:hover .md-theme-title {
  color: var(--sand-gold);
}

.md-theme-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(242, 229, 198, 0.6);
  margin-bottom: 12px;
}

.md-theme-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-gold);
  border: 1px solid rgba(242, 217, 160, 0.25);
  padding: 3px 10px;
}

/* Custom theme card */
.md-theme-card--custom {
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.md-theme-custom-inner {
  text-align: center;
  padding: 28px 24px;
}

.md-theme-custom-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.md-theme-custom-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--champagne);
  margin-bottom: 10px;
}

.md-theme-custom-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(242, 229, 198, 0.7);
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .md-themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .md-themes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ============================================================
   SECTION 4 — WHAT'S INCLUDED
   ============================================================ */

.md-included {
  padding: var(--section-pad) 0;
  background: var(--off-white, #FAF7F2);
}

.md-included-header {
  text-align: center;
  margin-bottom: 48px;
}

.md-included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.md-included-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid rgba(86, 11, 24, 0.1);
  border-left: 3px solid var(--burgundy);
  transition: transform var(--transition), box-shadow var(--transition), border-left-color var(--transition);
}

.md-included-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 24px rgba(59, 1, 11, 0.08);
  border-left-color: var(--sand-gold);
}

.md-included-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(117, 22, 45, 0.2);
  transition: border-color var(--transition), background var(--transition);
}

.md-included-item:hover .md-included-icon {
  border-color: var(--burgundy);
  background: rgba(117, 22, 45, 0.05);
}

.md-included-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--burgundy);
  fill: none;
  stroke-width: 1.5;
}

.md-included-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--deep-wine);
  margin-bottom: 5px;
}

.md-included-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-mid);
}

@media (min-width: 768px) {
  .md-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .md-included-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ============================================================
   SECTION 5 — GALLERY
   ============================================================ */

.md-gallery {
  padding: var(--section-pad) 0;
  background: var(--deep-wine);
  overflow: hidden;
}

.md-gallery-header {
  text-align: center;
  margin-bottom: 36px;
}

/* Section label on dark background — use gold variant */
.md-gallery-header .md-section-label {
  color: var(--sand-gold);
  justify-content: center;
}

.md-gallery-header .md-section-label::before,
.md-gallery-header .md-section-label::after {
  background: var(--sand-gold);
}

.md-gallery-desc {
  color: rgba(242, 229, 198, 0.65);
  font-size: 0.88rem;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Filter tabs */
.md-filter-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid rgba(242, 217, 160, 0.2);
  overflow: hidden;
}

.md-filter-tabs::-webkit-scrollbar {
  display: none;
}

.md-filter-tab {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 229, 198, 0.6);
  background: rgba(255, 255, 255, 0.04);
  border: none;
  padding: 11px 18px;
  cursor: pointer;
  white-space: nowrap;
  border-right: 1px solid rgba(242, 217, 160, 0.12);
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}

.md-filter-tab:last-child {
  border-right: none;
}

.md-filter-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sand-gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.md-filter-tab:hover {
  color: var(--sand-gold);
  background: rgba(242, 217, 160, 0.06);
}

.md-filter-tab.active {
  color: var(--sand-gold);
  background: rgba(242, 217, 160, 0.08);
}

.md-filter-tab.active::after {
  transform: scaleX(1);
}

/* Gallery grid — uniform squares only, no spanning */
.md-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* All items are uniform squares */
.md-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: rgba(59, 1, 11, 0.4);
}

.md-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.md-gallery-item:hover img {
  transform: scale(1.08);
}

.md-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(59, 1, 11, 0.52);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
}

.md-gallery-item:hover .md-gallery-overlay {
  opacity: 1;
}

.md-gallery-cat {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-gold);
  background: rgba(59, 1, 11, 0.75);
  padding: 4px 10px;
}

.md-gallery-zoom {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 229, 198, 0.4);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.md-gallery-zoom:hover {
  background: rgba(242, 229, 198, 0.15);
}

.md-gallery-zoom svg {
  width: 13px;
  height: 13px;
  stroke: var(--champagne);
}

.md-gallery-item.md-hidden {
  display: none;
}

.md-gallery-empty {
  display: none;
  text-align: center;
  padding: 48px 24px;
  color: rgba(242, 229, 198, 0.6);
  font-size: 0.9rem;
}

.md-gallery-empty.visible {
  display: block;
}

.md-gallery-cta {
  text-align: center;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .md-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .md-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

/* Lightbox */
.md-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 3, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.md-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.md-lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 20px 40px;
}

.md-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease;
}

.md-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 229, 198, 0.3);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.md-lightbox-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--champagne);
}

.md-lightbox-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 12px;
}

.md-lightbox-prev,
.md-lightbox-next {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(242, 229, 198, 0.3);
  background: rgba(59, 1, 11, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: background var(--transition);
}

.md-lightbox-prev:hover,
.md-lightbox-next:hover {
  background: var(--burgundy);
}

.md-lightbox-prev svg,
.md-lightbox-next svg {
  width: 20px;
  height: 20px;
  stroke: var(--champagne);
}

.md-lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(242, 229, 198, 0.6);
}


/* ============================================================
   SECTION 6 — PROCESS TIMELINE (NEW)
   ============================================================ */

.md-process {
  padding: var(--section-pad) 0;
  background: var(--deep-wine);
  overflow: hidden;
  position: relative;
}

.md-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-gold), transparent);
}

.md-process-header {
  text-align: center;
  margin-bottom: 56px;
}

.md-process-desc {
  color: rgba(242, 229, 198, 0.6);
  font-size: 0.9rem;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.8;
}

.md-process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.md-process-steps::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(242, 217, 160, 0.3), transparent);
}

.md-process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  position: relative;
}

.md-process-step-num {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--champagne);
  background: var(--burgundy);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  border: 3px solid var(--deep-wine);
  box-shadow: 0 0 0 1.5px var(--burgundy);
  transition: background var(--transition);
}

.md-process-step:hover .md-process-step-num {
  background: var(--dark-maroon);
}

.md-process-connector {
  display: none;
}

.md-process-connector--last {
  display: none;
}

.md-process-content {
  flex: 1;
}

.md-process-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}

.md-process-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--sand-gold);
  fill: none;
  stroke-width: 1.5;
}

.md-process-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--champagne);
  margin-bottom: 8px;
}

.md-process-desc-item {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(242, 229, 198, 0.6);
}

@media (min-width: 900px) {
  .md-process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .md-process-steps::before {
    display: none;
  }

  .md-process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
  }

  .md-process-step-num {
    margin-bottom: 16px;
  }

  .md-process-icon {
    margin: 0 auto 12px;
  }
}


/* ============================================================
   SECTION 7 — TESTIMONIALS (SWIPER SLIDER)
   ============================================================ */

.md-testimonials {
  padding: var(--section-pad) 0;
  background: var(--dark-maroon);
  overflow: hidden;
  position: relative;
}

.md-testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-gold), transparent);
}

.md-testimonials-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.md-testimonials-header .md-section-label {
  justify-content: center;
  color: var(--sand-gold);
}

.md-testimonials-header .md-section-label::before,
.md-testimonials-header .md-section-label::after {
  background: var(--sand-gold);
}

/* Swiper classes adapted for testimonials */
.md-swiper-track-wrap {
  position: relative;
  overflow: hidden;
}

.md-swiper-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  padding: 0 20px;
  cursor: grab;
  user-select: none;
}

.md-swiper-track.dragging {
  cursor: grabbing;
  transition: none;
}

.md-swiper-slide {
  flex: 0 0 calc(100% - 40px);
  position: relative;
  overflow: hidden;
}

.md-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(59, 1, 11, 0.8);
  border: 1px solid rgba(242, 217, 160, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition);
}

.md-swiper-btn:hover {
  background: var(--burgundy);
}

.md-swiper-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--champagne);
  fill: none;
}

.md-swiper-btn--prev {
  left: 4px;
}

.md-swiper-btn--next {
  right: 4px;
}

.md-swiper-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0 20px;
}

.md-swiper-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(242, 217, 160, 0.25);
  border: none;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
  padding: 0;
}

.md-swiper-dot.active {
  background: var(--sand-gold);
  width: 22px;
  border-radius: 3px;
}

@media (min-width: 600px) {
  .md-swiper-slide {
    flex: 0 0 calc(50% - 28px);
  }
}

@media (min-width: 1024px) {
  .md-swiper-slide {
    flex: 0 0 calc(33.333% - 24px);
  }
}

/* Testimonial Card Styling */
.md-testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 217, 160, 0.15);
  padding: 36px 30px;
  position: relative;
  border-bottom: 3px solid var(--burgundy);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.md-testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--sand-gold);
  box-shadow: 0 12px 36px rgba(59, 1, 11, 0.3);
}

.md-testimonial-quote {
  font-family: var(--font-accent);
  font-size: 5rem;
  color: rgba(242, 217, 160, 0.06);
  line-height: 0.7;
  position: absolute;
  top: 16px;
  left: 20px;
  font-weight: 700;
  user-select: none;
  pointer-events: none;
}

.md-testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.md-testimonial-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--sand-gold);
}

.md-testimonial-text {
  font-family: var(--font-accent);
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-style: italic;
  color: rgba(242, 229, 198, 0.85);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.md-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(242, 217, 160, 0.15);
  padding-top: 18px;
  margin-top: auto;
}

.md-testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 1.5px solid var(--sand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--champagne);
  font-weight: 600;
  flex-shrink: 0;
}

.md-testimonial-name {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--champagne);
}

.md-testimonial-event {
  font-size: 0.72rem;
  color: var(--sand-gold);
  opacity: 0.85;
  letter-spacing: 0.04em;
  margin-top: 2px;
}


/* ============================================================
   SECTION 8 — CTA BANNER
   ============================================================ */

.md-cta {
  padding: 100px 0 60px;
  background: var(--dark-maroon);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.md-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(117, 22, 45, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(117, 22, 45, 0.45) 0%, transparent 60%);
  pointer-events: none;
}

.md-cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 14rem);
  font-weight: 700;
  color: rgba(242, 217, 160, 0.03);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.md-cta-content {
  position: relative;
  z-index: 1;
}

.md-cta-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sand-gold);
  margin-bottom: 18px;
}

.md-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  font-weight: 500;
  color: var(--champagne);
  line-height: 1.12;
  margin-bottom: 20px;
}

.md-cta-heading em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--sand-gold);
  font-size: 1.1em;
}

.md-cta-subtext {
  color: rgba(242, 229, 198, 0.6);
  font-size: 0.9rem;
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.md-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.md-cta-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 36px;
  max-width: 280px;
}

.md-cta-line {
  flex: 1;
  height: 1px;
  background: rgba(242, 217, 160, 0.2);
}

.md-cta-diamond {
  width: 8px;
  height: 8px;
  background: var(--sand-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.md-subpage-nav {
  border-top: 1px solid rgba(242, 217, 160, 0.12);
  padding-top: 32px;
}

.md-subpage-nav-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(242, 229, 198, 0.4);
  margin-bottom: 16px;
}

.md-subpage-nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.md-subpage-nav-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 229, 198, 0.45);
  text-decoration: none;
  padding: 8px 18px;
  border-right: 1px solid rgba(242, 217, 160, 0.12);
  transition: color 0.2s ease;
}

.md-subpage-nav-link:last-child {
  border-right: none;
}

.md-subpage-nav-link:hover {
  color: var(--sand-gold);
}

@media (max-width: 480px) {
  .md-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .md-btn-primary,
  .md-btn-outline {
    width: 100%;
    justify-content: center;
  }

  .md-cta {
    padding: 72px 0 48px;
  }

  .md-overview-cta {
    flex-direction: column;
  }
}