/* ==========================================================================
   THE CROWN INTERIOR — BESPOKE SERVICES STYLESHEET
   Brand Colors:
   - Crown Crimson: #7A0F1A
   - Wood Gold: #C98A3D
   - Light Gold: #E3B565
   - Dark Maroon-Black: #2B0A0E
   - Warm Ivory: #FAF5EC
   - Charcoal: #2A2A2A
   ========================================================================== */

/* Google Fonts loaded via non-blocking <link> in HTML <head> */

:root {
  --crown-crimson: #7A0F1A;
  --wood-gold: #C98A3D;
  --light-gold: #E3B565;
  --dark-maroon: #2B0A0E;
  --maroon-deep: #180507;
  --warm-ivory: #FAF5EC;
  --charcoal: #2A2A2A;

  --border-gold-subtle: rgba(201, 138, 61, 0.25);
  --border-gold-hover: rgba(201, 138, 61, 0.65);

  /* Typography System */
  --font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --font-heading: var(--font-serif);
  --font-body: var(--font-sans);
  --font-brand: var(--font-serif);

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.1;
  --leading-heading: 1.18;
  --leading-snug: 1.25;
  --leading-body: 1.6;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  background-color: var(--dark-maroon);
  color: var(--warm-ivory);
  font-family: var(--font-body);
}

body {
  background-color: var(--dark-maroon);
  color: var(--warm-ivory);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: var(--leading-body);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
}

/* Subtle background grain overlay */
.bg-grain {
  position: fixed;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 1;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 1000;
  background: rgba(43, 10, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(24, 5, 7, 0.96);
  border-bottom-color: rgba(201, 138, 61, 0.35);
}

.header-inner {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: auto;
  height: 60px;
  max-height: 64px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid rgba(201, 138, 61, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-name {
  font-family: var(--font-brand);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--warm-ivory);
  text-transform: uppercase;
}

/* Desktop Nav (5 Links) */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(250, 245, 236, 0.8);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.link-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--wood-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--light-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--warm-ivory);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-consultation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-maroon);
  background: var(--light-gold);
  border: 1px solid var(--light-gold);
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 4px 14px rgba(227, 181, 101, 0.2);
}

.btn-consultation:hover {
  background: var(--crown-crimson);
  border-color: var(--crown-crimson);
  color: var(--warm-ivory);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 15, 26, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-gold-subtle);
  border-radius: 4px;
  padding: 8px 12px;
  color: var(--warm-ivory);
  cursor: pointer;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hamburger-icon {
  width: 18px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--wood-gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Slide-in Drawer */
.mobile-drawer {
  position: fixed;
  top: 76px;
  right: 0;
  width: min(320px, 85vw);
  height: calc(100vh - 76px);
  background: rgba(24, 5, 7, 0.98);
  backdrop-filter: blur(16px);
  border-left: 1px solid var(--border-gold-subtle);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s;
  z-index: 999;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--warm-ivory);
  transition: color 0.3s ease;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--light-gold);
}

.mobile-drawer-bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer-cta {
  width: 100%;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wood-gold);
  color: var(--warm-ivory);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
}

/* ==========================================================================
   PAGE HERO BANNER
   ========================================================================== */
.services-hero {
  position: relative;
  padding: 150px 4% 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, #4A0E18 0%, #2B0A0E 60%, #180507 100%);
  border-bottom: 1px solid var(--border-gold-subtle);
  overflow: hidden;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-eyebrow-line {
  width: 36px;
  height: 1px;
  background-color: var(--wood-gold);
}

.hero-eyebrow-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--wood-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--warm-ivory);
  margin-bottom: 16px;
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--light-gold);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(250, 245, 236, 0.85);
  max-width: 580px;
  margin: 0 auto 28px;
}

.hero-stats-bar {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 12px 28px;
  background: rgba(43, 10, 14, 0.6);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 30px;
  backdrop-filter: blur(8px);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(250, 245, 236, 0.85);
  letter-spacing: 0.04em;
}

.stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--wood-gold);
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-main-section {
  position: relative;
  padding: 80px 4% 110px;
  background-color: var(--dark-maroon);
  background-image: radial-gradient(ellipse at 50% 0%, #3D0E15 0%, #2B0A0E 55%, #180507 100%);
  min-height: 600px;
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* 10 Services Grid (3 Columns on Desktop) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 40px 32px;
}

/* Service Card — Luxury Elevation & Accessible Outline */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(43, 10, 14, 0.72);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 5, 8, 0.45);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  opacity: 1;
  transform: translateY(0);
  outline: none;
}

.service-card:focus-visible,
.service-enquire-link:focus-visible {
  outline: 2px solid var(--light-gold);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-10px);
    border-color: var(--light-gold);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6), 0 0 25px rgba(201, 138, 61, 0.35);
  }
}

/* Image Container (Consistent 4:5 Aspect Ratio) */
.service-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #1a050c;
  margin: 0;
  padding: 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  opacity: 0;
  transform: scale(1);
  transition: opacity 450ms ease-out, transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.service-card.is-visible .service-img,
.services-main-section.is-visible .service-img,
.service-img.is-loaded {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-img {
    transform: scale(1.05);
  }
}

/* Gold Shine Sweep Light Effect */
.service-img-wrap::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -120%;
  width: 70%;
  height: 220%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(227, 181, 101, 0) 25%,
    rgba(227, 181, 101, 0.25) 48%,
    rgba(250, 245, 236, 0.42) 52%,
    rgba(227, 181, 101, 0.25) 56%,
    rgba(227, 181, 101, 0) 75%,
    transparent 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-img-wrap::after {
    opacity: 1;
    transform: rotate(25deg) translate3d(260%, 50%, 0);
  }
}

/* Dark-Maroon Subtle Gradient Overlay */
.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 10, 14, 0.12) 0%, rgba(43, 10, 14, 0.55) 100%);
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-img-overlay {
    opacity: 0.32;
  }
}

.service-num-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--wood-gold);
  background: rgba(24, 5, 7, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(201, 138, 61, 0.3);
}

/* Card Body */
.service-content {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--warm-ivory);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--light-gold);
}

.service-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(250, 245, 236, 0.82);
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Deliverables Pill Tags */
.service-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 138, 61, 0.16);
}

.deliverable-tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(250, 245, 236, 0.75);
  background: rgba(201, 138, 61, 0.08);
  border: 1px solid rgba(201, 138, 61, 0.18);
  padding: 3px 8px;
  border-radius: 2px;
}

/* Action Link */
.service-enquire-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood-gold);
  text-decoration: none;
  transition: color 0.3s ease, gap 0.3s ease;
  margin-top: auto;
}

.service-enquire-link .arrow {
  transition: transform 0.3s ease;
}

.service-card:hover .service-enquire-link {
  color: var(--light-gold);
  gap: 12px;
}

.service-card:hover .service-enquire-link .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   CONSULTATION CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, #3D0E15 0%, #1F070A 100%);
  border-top: 1px solid var(--border-gold-subtle);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: 80px 4%;
  text-align: center;
  position: relative;
}

.cta-band-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cta-band-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wood-gold);
  margin-bottom: 14px;
}

.cta-band-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 500;
  color: var(--warm-ivory);
  margin-bottom: 16px;
  line-height: 1.18;
}

.cta-band-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(250, 245, 236, 0.85);
  max-width: 520px;
  margin: 0 auto 30px;
}

.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  height: 48px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wood-gold);
  color: var(--warm-ivory);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--wood-gold);
  transition: all 0.35s ease;
  box-shadow: 0 4px 16px rgba(201, 138, 61, 0.25);
}

.btn-cta-primary:hover {
  background-color: var(--crown-crimson);
  border-color: var(--crown-crimson);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 15, 26, 0.4);
}

.btn-cta-secondary {
  height: 48px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--warm-ivory);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid rgba(250, 245, 236, 0.28);
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  border-color: var(--light-gold);
  color: var(--light-gold);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--maroon-deep);
  border-top: 1px solid rgba(201, 138, 61, 0.18);
  padding: 60px 4% 30px;
  color: rgba(250, 245, 236, 0.7);
  font-size: 13px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 138, 61, 0.14);
}

.footer-col-brand .brand-link {
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(250, 245, 236, 0.72);
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood-gold);
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: rgba(250, 245, 236, 0.75);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.25s ease;
}

.footer-links-list a:hover {
  color: var(--light-gold);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(250, 245, 236, 0.5);
}
