/* ============================================================
   Bluestream Entertainment — Master Stylesheet
   SmartersWeb Tech | 2026
   Client: Bluestream Entertainment, Fairview, Alberta
   Design: Wedding-primary, Birthday-secondary, Community-tertiary
   Palette: Deep Navy #0D1B2A | Gold #C9A84C | Ivory #F8F4EE |
            Slate #4A5568 | Blush #F2E8E4 | Charcoal #1E2A38

   Asset inventory (referenced throughout this file):
     /assets/images/logo.png      — Primary brand logo (nav, footer,
                                    watermarks, placeholders)
     /assets/images/og-image.jpg  — Social share / hero fallback bg
     /favicon.ico                 — Browser tab icon (site root)
   ============================================================ */


/* ── 1. CSS Custom Properties ──────────────────────────────── */
:root {
  /* ── Colour Palette ───────────────────────────────────────── */
  --navy:        #0D1B2A;
  --navy-mid:    #1E2A38;
  --navy-light:  #2C3E50;
  --gold:        #C9A84C;
  --gold-light:  #E8C96A;
  --gold-dark:   #A07830;
  --ivory:       #F8F4EE;
  --ivory-dark:  #EDE8E0;
  --blush:       #F2E8E4;
  --slate:       #4A5568;
  --slate-light: #718096;
  --white:       #FFFFFF;
  --black:       #0A0E14;
  --success:     #2F855A;
  --error:       #C53030;
  --warning:     #B7791F;

  /* ── Typography ───────────────────────────────────────────── */
  --font-head:   'Playfair Display', 'Georgia', serif;
  --font-body:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;

  /* ── Border Radius ────────────────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* ── Shadows ──────────────────────────────────────────────── */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.15), 0 2px 6px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.20), 0 4px 12px rgba(0,0,0,.12);
  --shadow-gold: 0 4px 24px rgba(201,168,76,.25);

  /* ── Transitions ──────────────────────────────────────────── */
  --transition:      all .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .6s cubic-bezier(.4,0,.2,1);

  /* ── Layout ───────────────────────────────────────────────── */
  --max-width:   1280px;
  --section-pad: clamp(60px, 8vw, 120px);
  --nav-height:  80px;

  /* ── Asset Paths ────────────────────────────────────────────
     Centralised here so a single edit updates every reference.
     Used in CSS background-image rules throughout the file.
     ─────────────────────────────────────────────────────────── */
  --logo-path:     url('/assets/images/logo.png');
  --og-image-path: url('/assets/images/og-image.jpg');

  /* ── Geo-template variable aliases ─────────────────────────
     Bridges geo-template inline styles to master CSS tokens.
     Must remain inside :root {} to be valid custom properties.
     ─────────────────────────────────────────────────────────── */
  --font-serif:  var(--font-head);
  --bg-light:    var(--ivory-dark);
  --border:      rgba(0,0,0,0.08);
  --text-muted:  var(--slate-light);
  --text-body:   var(--slate);
  --radius:      var(--radius-md);
}


/* ── 2. Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Image & Media Defaults ─────────────────────────────────
   All <img> elements default to block + max-width so they
   never overflow their containers. logo.png, og-image.jpg
   and all content images benefit from these rules.
   ─────────────────────────────────────────────────────────── */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent dragging of brand images */
img[src*="logo"],
img[src*="og-image"] {
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Global Focus Ring ──────────────────────────────────────
   Gold-tinted focus ring for keyboard accessibility.
   Applies to all interactive elements site-wide.
   ─────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ── 3. Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw,   4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw,   1.4rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--slate);
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
}

p:last-child {
  margin-bottom: 0;
}

/* ── Text Colour Utilities ──────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-ivory  { color: var(--ivory); }
.text-slate  { color: var(--slate); }
.text-white  { color: var(--white); }

/* ── Text Alignment Utilities ───────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ── Eyebrow Label ──────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}

/* ── Section Heading Cluster ────────────────────────────────── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--slate);
  max-width: 620px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: clamp(40px, 5vw, 70px);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ── Lead / Intro Paragraph ─────────────────────────────────── */
.lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--slate);
  line-height: 1.8;
  max-width: 680px;
}

/* ── Highlighted Accent ─────────────────────────────────────── */
.highlight {
  color: var(--gold);
  font-style: italic;
}

/* ── Bold Inline ────────────────────────────────────────────── */
strong, b {
  font-weight: 700;
  color: var(--navy);
}


/* ── 4. Layout Utilities ───────────────────────────────────── */

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ── Section Wrappers ───────────────────────────────────────── */
.section       { padding: var(--section-pad) 0; }
.section-light { background: var(--ivory); }
.section-dark  { background: var(--navy);     color: var(--ivory); }
.section-navy  { background: var(--navy-mid); color: var(--ivory); }
.section-blush { background: var(--blush); }
.section-ivory { background: var(--ivory-dark); }

/* ── CSS Grid Helpers ───────────────────────────────────────── */
.grid      { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2    { grid-template-columns: repeat(2, 1fr); }
.grid-3    { grid-template-columns: repeat(3, 1fr); }
.grid-4    { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── Flexbox Helpers ────────────────────────────────────────── */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { flex-direction: column; }

/* ── Gap Helpers ────────────────────────────────────────────── */
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 32px; }

/* ── Spacing Helpers ────────────────────────────────────────── */
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 32px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 32px; }

/* ── Accessibility ──────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── 4b. Geo / Section Utility Classes ─────────────────────── */

/* Mirrors .section padding for geo sections using it as a class */
.section-pad { padding: var(--section-pad) 0; }

/* Eyebrow-style label used in geo-template */
.section-label {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}

.section-label--gold { color: var(--gold); }

/* Section description text */
.section-desc {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--slate);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.section-desc--light { color: rgba(248,244,238,.75); }

/* Dark-bg section header overrides */
.section-header--light .section-title    { color: var(--ivory); }
.section-header--light .section-subtitle { color: rgba(248,244,238,.75); }
.section-title--light                    { color: var(--ivory); }
.section-subtitle--light                 { color: rgba(248,244,238,.75); }

/* CTA banner sub-elements (geo-template) */
.cta-banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-banner-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner-label {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}

.cta-banner-title {
  color: var(--ivory);
  margin-bottom: 16px;
}

.cta-banner-desc {
  color: rgba(248,244,238,.75);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}


/* ── 5. Buttons ────────────────────────────────────────────── */

/* ── 5a. Base Button ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
  user-select: none;
}

/* ── 5b. Button Variants ────────────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,.4);
}

.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}

.btn-secondary:hover {
  background: var(--ivory);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(0,0,0,.15);
}

.btn-ghost:hover {
  background: var(--ivory-dark);
  border-color: rgba(0,0,0,.25);
  transform: translateY(-1px);
}

/* ── 5c. Button Sizes ───────────────────────────────────────── */
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-xl { padding: 20px 52px; font-size: 1.1rem; }

/* ── 5d. Button Group ───────────────────────────────────────── */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ── 5e. BEM Button Aliases (geo-template compatibility) ────── */
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,.4);
}

.btn--secondary {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}

.btn--secondary:hover {
  background: var(--ivory);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.btn--dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm   { padding: 10px 22px; font-size: .85rem; }
.btn--lg   { padding: 18px 44px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }


/* ── 6. Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: var(--transition);
}

.site-nav.scrolled {
  background: rgba(13,27,42,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

/* ── FIX: Container must be full height so nav-inner
   can use height:100% and align-items:center correctly ── */
.site-nav .container {
  height: 100%;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── Nav Logo Wrapper ───────────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── logo.png — Primary brand image in the nav bar ──────────
   • height fixed to sit inside the 80px nav with breathing room
   • width: auto preserves the logo's natural aspect ratio
   • object-fit: contain prevents any cropping
   • fetchpriority="high" + loading="eager" set in the PHP <img>
   ─────────────────────────────────────────────────────────── */
.nav-logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  transition: opacity .25s ease;
}

.nav-logo-img:hover {
  opacity: .85;
}

/* ── Text fallback — shown only when logo.png fails to load ──
   Triggered by onerror on the <img> in header.php.
   Replicates the original mark + text layout exactly.
   ─────────────────────────────────────────────────────────── */
.nav-logo-fallback {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Gold square mark — "BE" initials */
.nav-logo-mark {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  flex-shrink: 0;
}

/* Stacked brand name + tagline */
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: -.01em;
}

.nav-logo-text .brand-tag {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Desktop Nav Links ──────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  /* Stretch list items to full nav height so clicks
     are easier and alignment is perfectly centred    */
  align-self: stretch;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(248,244,238,.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: .02em;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,.1);
}

/* ── Dropdown ───────────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-dropdown > a {
  height: 100%;
}

.nav-dropdown > a::after {
  content: '▾';
  margin-left: 4px;
  font-size: .7rem;
  display: inline-block;
  transition: transform var(--transition);
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;               /* flush to bottom of nav bar */
  left: 50%;
  min-width: 220px;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: .85rem;
  color: rgba(248,244,238,.8);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  height: auto;             /* reset — dropdown items use auto height */
}

.dropdown-menu li a:hover {
  color: var(--gold);
  background: rgba(201,168,76,.08);
}

/* ── Nav CTA Button ─────────────────────────────────────────── */
.nav-cta {
  margin-left: 8px;
  flex-shrink: 0;
}

/* ── Hamburger (mobile toggle) ──────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  flex-shrink: 0;
  height: 40px;
  width: 40px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Navigation Panel ────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  padding: calc(var(--nav-height) + 24px) 24px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ivory);
  border-bottom: 1px solid rgba(248,244,238,.08);
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-nav .mobile-cta {
  margin-top: 24px;
  display: block;
  text-align: center;
}

/* ── Responsive: logo.png sizing ────────────────────────────── */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  .nav-logo-img {
    height: 40px;
    max-width: 160px;
  }
}

@media (max-width: 640px) {
  .nav-logo-img {
    height: 34px;
    max-width: 130px;
  }
}

/* ── 7. Hero Sections ──────────────────────────────────────── */

/* ── 7a. Full-height Homepage Hero ─────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* ── Hero Background Image ──────────────────────────────────
   Used as a CSS background-image on the .hero-bg div.
   The og-image.jpg can serve as a fallback background source
   when no dedicated hero photo is available:
   style="background-image: url('/assets/images/og-image.jpg')"
   Primary hero photos should be high-res (1920×1080px min).
   ─────────────────────────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .35;
  transform: scale(1.05);
  transition: transform 8s ease;
  /* Fallback: og-image.jpg used when no inline style is set */
  background-image: url('/assets/images/og-image.jpg');
}

.hero:hover .hero-bg {
  transform: scale(1);
}

/* ── Hero Gradient Overlay ──────────────────────────────────
   Sits above .hero-bg, below .hero-content.
   Ensures text legibility over any background image.
   ─────────────────────────────────────────────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,.92) 0%,
    rgba(13,27,42,.75) 50%,
    rgba(13,27,42,.85) 100%
  );
}

/* ── Hero Content ───────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-height) + 60px) 0 80px;
}

/* ── Hero Badge (eyebrow pill label) ───────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

/* ── Hero Title ─────────────────────────────────────────────── */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
}

/* Italic gold accent word within the title */
.hero-title .highlight {
  color: var(--gold);
  font-style: italic;
}

/* ── Hero Description ───────────────────────────────────────── */
.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(248,244,238,.8);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ── Hero Stats Row ─────────────────────────────────────────── */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(248,244,238,.12);
}

.hero-stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(248,244,238,.6);
}

/* ── Hero Logo Watermark (optional) ────────────────────────
   Displays logo.png as a large faded watermark in the hero.
   Add <div class="hero-logo-watermark" aria-hidden="true">
        <img src="/assets/images/logo.png" alt="">
       </div>
   inside .hero if desired. Remove the div to disable.
   ─────────────────────────────────────────────────────────── */
.hero-logo-watermark {
  position: absolute;
  bottom: 40px;
  right: clamp(24px, 5vw, 80px);
  z-index: 1;
  pointer-events: none;
  opacity: .06;
  filter: brightness(10);        /* forces logo to render white */
}

.hero-logo-watermark img {
  width: clamp(160px, 20vw, 320px);
  height: auto;
  object-fit: contain;
}

/* ── 7b. Page Hero (shorter — inner pages) ──────────────────── */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* ── Page Hero Background Image ─────────────────────────────
   Set via inline style on the element:
   style="background-image: url('/assets/images/your-photo.jpg')"
   og-image.jpg is used as the CSS fallback below so the
   section never renders as a plain navy block.
   ─────────────────────────────────────────────────────────── */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .3;
  /* Fallback to og-image.jpg when no inline style provided */
  background-image: url('/assets/images/og-image.jpg');
}

/* ── Page Hero Overlay ──────────────────────────────────────── */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,.9) 0%,
    rgba(13,27,42,.6) 100%
  );
}

/* ── Page Hero Content ──────────────────────────────────────── */
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.page-hero-content h1 {
  color: var(--ivory);
  margin-bottom: 16px;
}

.page-hero-content p {
  color: rgba(248,244,238,.75);
  font-size: 1.15rem;
  max-width: 600px;
}

/* ── Page Hero Logo Stamp ───────────────────────────────────
   Small logo.png shown bottom-right of every page hero.
   Reinforces branding on inner pages.
   Add <div class="page-hero-logo" aria-hidden="true">
        <img src="/assets/images/logo.png" alt="">
       </div>
   as the last child inside .page-hero to enable.
   ─────────────────────────────────────────────────────────── */
.page-hero-logo {
  position: absolute;
  bottom: 24px;
  right: clamp(16px, 4vw, 48px);
  z-index: 3;
  pointer-events: none;
  opacity: .12;
  filter: brightness(10);
}

.page-hero-logo img {
  width: clamp(100px, 12vw, 180px);
  height: auto;
  object-fit: contain;
}

/* ── 7c. Hero Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content {
    padding: calc(var(--nav-height) + 40px) 0 60px;
  }

  .hero-stats {
    gap: 20px;
    margin-top: 40px;
    padding-top: 28px;
  }

  .hero-logo-watermark {
    opacity: .04;
    bottom: 20px;
  }

  .page-hero {
    min-height: 380px;
  }

  .page-hero-content {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: calc(var(--nav-height) + 28px) 0 48px;
  }

  .hero-stats {
    gap: 16px;
    flex-direction: column;
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

  /* Hide watermark on small screens — too distracting */
  .hero-logo-watermark,
  .page-hero-logo {
    display: none;
  }

  .page-hero {
    min-height: 320px;
  }

  .page-hero-content {
    padding: 48px 0;
  }

  .page-hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 2rem;
  }

  .page-hero {
    min-height: 280px;
  }
}

/* ── 8. Cards ──────────────────────────────────────────────── */

/* ── 8a. Base Card ──────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ── Card Image ─────────────────────────────────────────────
   Used for event/gallery preview cards.
   Inline style sets the actual src; these rules handle
   sizing, cropping, and the subtle zoom-on-hover effect.
   Recommended image size: 800×500px (16:10 ratio).
   ─────────────────────────────────────────────────────────── */
.card-img-wrap {
  overflow: hidden;
  position: relative;
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition-slow);
}

.card:hover .card-img {
  transform: scale(1.04);
}

/* ── Card Image Placeholder ─────────────────────────────────
   Shown while card image loads or if src is missing.
   Uses og-image.jpg as a branded fallback background.
   ─────────────────────────────────────────────────────────── */
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--navy-mid);
  background-image: url('/assets/images/og-image.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Branded logo.png centred inside the placeholder */
.card-img-placeholder img {
  width: clamp(80px, 30%, 140px);
  height: auto;
  object-fit: contain;
  opacity: .18;
  filter: brightness(10);       /* renders logo white over dark bg */
}

/* ── Card Body ──────────────────────────────────────────────── */
.card-body {
  padding: 28px;
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.card-text {
  color: var(--slate);
  font-size: .95rem;
  line-height: 1.7;
}

/* ── 8b. Service Card ───────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Animated gold top-border reveal on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ── Service Icon ───────────────────────────────────────────
   Emoji or SVG icon displayed above the service title.
   On hover the background fills gold for contrast.
   ─────────────────────────────────────────────────────────── */
.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(201,168,76,.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  background: var(--gold);
}

/* ── Service Card Image (optional photo variant) ────────────
   When a service card includes a photo instead of an icon,
   wrap the <img> in .service-card-img-wrap.
   Recommended size: 640×360px.
   ─────────────────────────────────────────────────────────── */
.service-card-img-wrap {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.service-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-img {
  transform: scale(1.04);
}

/* ── 8c. Pricing Card ───────────────────────────────────────── */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Featured / highlighted tier */
.pricing-card.featured {
  background: var(--navy);
  border-color: var(--gold);
}

.pricing-card.featured * {
  color: var(--ivory);
}

.pricing-card.featured .pricing-price {
  color: var(--gold);
}

.pricing-card.featured .pricing-desc {
  color: rgba(248,244,238,.7);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ── Pricing Card Logo Watermark ────────────────────────────
   Faint logo.png stamped in the bottom-right corner of
   featured pricing cards for brand reinforcement.
   Add <div class="pricing-logo-mark" aria-hidden="true">
        <img src="/assets/images/logo.png" alt="">
       </div>
   as the last child inside .pricing-card.featured.
   ─────────────────────────────────────────────────────────── */
.pricing-logo-mark {
  position: absolute;
  bottom: 16px;
  right: 16px;
  pointer-events: none;
  opacity: .07;
  filter: brightness(10);
}

.pricing-logo-mark img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.pricing-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.pricing-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--slate);
}

.pricing-desc {
  color: var(--slate);
  font-size: .9rem;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .92rem;
  color: var(--slate);
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.pricing-card.featured .pricing-features li {
  color: rgba(248,244,238,.75);
  border-color: rgba(248,244,238,.08);
}

.pricing-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: .7rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ── 8d. Testimonial Card ───────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

/* Large decorative opening quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: .25;
  pointer-events: none;
}

.testimonial-text {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 24px;
  margin-top: 16px;
  font-style: italic;
}

/* ── Testimonial Author Row ─────────────────────────────────── */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Testimonial Avatar ─────────────────────────────────────
   Two variants supported:
   1. Initials avatar  — default gradient circle with text
   2. Photo avatar     — <img> inside .testimonial-avatar
      Recommended size: 96×96px square, cropped to circle.
   ─────────────────────────────────────────────────────────── */
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--ivory);
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;           /* clips photo to circle shape */
}

/* Photo variant: <img> inside .testimonial-avatar */
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.testimonial-name {
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
}

.testimonial-role {
  font-size: .8rem;
  color: var(--slate-light);
}

/* ── Star Rating ────────────────────────────────────────────── */
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.stars span {
  color: var(--gold);
  font-size: 1rem;
}

/* ── 8e. Card Responsive ────────────────────────────────────── */
@media (max-width: 640px) {
  .card-body {
    padding: 20px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .pricing-card {
    padding: 32px 22px;
  }

  .pricing-price {
    font-size: 2.2rem;
  }

  .testimonial-card {
    padding: 28px 22px;
  }

  /* Hide pricing watermark on small screens */
  .pricing-logo-mark {
    display: none;
  }
}


/* ── 9. Feature / Icon Lists ───────────────────────────────── */

/* ── 9a. Base Feature List ──────────────────────────────────── */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .95rem;
  color: var(--slate);
  line-height: 1.6;
  transition: var(--transition);
}

.feature-list li:last-child {
  border-bottom: none;
}

/* Subtle left-shift on hover for interactivity feel */
.feature-list li:hover {
  color: var(--navy);
  padding-left: 4px;
}

/* ── Feature List Icon ──────────────────────────────────────
   Default: emoji or text character centred in a gold-tinted
   square badge. No image assets required for this variant.
   ─────────────────────────────────────────────────────────── */
.feature-list .icon {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background var(--transition);
}

.feature-list li:hover .icon {
  background: rgba(201,168,76,.22);
}

/* ── 9b. Feature List — Logo Icon Variant ───────────────────
   When a feature list item uses logo.png as its icon,
   wrap the image in .feature-list .icon-logo.
   The logo is forced white via filter so it reads clearly
   on the gold-tinted background square.

   Usage in HTML:
   <li>
     <span class="icon-logo" aria-hidden="true">
       <img src="/assets/images/logo.png" alt="">
     </span>
     Feature text here
   </li>
   ─────────────────────────────────────────────────────────── */
.feature-list .icon-logo {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  overflow: hidden;
  transition: background var(--transition);
}

.feature-list .icon-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%)
          invert(72%) sepia(42%) saturate(500%)
          hue-rotate(5deg) brightness(95%);
  /* Renders logo.png in --gold (#C9A84C) tone */
}

.feature-list li:hover .icon-logo {
  background: var(--gold);
}

.feature-list li:hover .icon-logo img {
  filter: brightness(0) invert(0);
  /* Switches to navy on gold background hover */
}

/* ── 9c. Feature List — Dark Background Variant ────────────
   Used inside .section-dark or .section-navy containers.
   Borders and text lighten to stay visible on dark bg.
   Add class .feature-list--light to the <ul>.
   ─────────────────────────────────────────────────────────── */
.feature-list--light li {
  color: rgba(248,244,238,.75);
  border-bottom-color: rgba(248,244,238,.08);
}

.feature-list--light li:last-child {
  border-bottom: none;
}

.feature-list--light li:hover {
  color: var(--ivory);
}

.feature-list--light .icon {
  background: rgba(201,168,76,.18);
}

.feature-list--light li:hover .icon {
  background: rgba(201,168,76,.32);
}

.feature-list--light .icon-logo img {
  filter: brightness(10);     /* forces logo white on dark bg */
}

.feature-list--light li:hover .icon-logo {
  background: var(--gold);
}

.feature-list--light li:hover .icon-logo img {
  filter: brightness(0) invert(0);
}

/* ── 9d. Feature List — Compact Variant ────────────────────
   Tighter padding for sidebar or card-body contexts.
   Add class .feature-list--compact to the <ul>.
   ─────────────────────────────────────────────────────────── */
.feature-list--compact li {
  padding: 8px 0;
  font-size: .88rem;
  gap: 10px;
}

.feature-list--compact .icon,
.feature-list--compact .icon-logo {
  width: 26px;
  height: 26px;
  font-size: .78rem;
}

.feature-list--compact .icon-logo img {
  width: 16px;
  height: 16px;
}

/* ── 9e. Feature Grid ───────────────────────────────────────
   Two-column icon-list layout for wider sections.
   Wraps to single column below 640px.
   Add class .feature-grid to the <ul>.
   ─────────────────────────────────────────────────────────── */
.feature-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
}

.feature-grid li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .95rem;
  color: var(--slate);
  line-height: 1.6;
  transition: var(--transition);
}

.feature-grid li:hover {
  color: var(--navy);
  padding-left: 4px;
}

.feature-grid li:last-child,
.feature-grid li:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.feature-grid .icon,
.feature-grid .icon-logo {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
  overflow: hidden;
  transition: background var(--transition);
}

.feature-grid li:hover .icon,
.feature-grid li:hover .icon-logo {
  background: rgba(201,168,76,.22);
}

.feature-grid .icon-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%)
          invert(72%) sepia(42%) saturate(500%)
          hue-rotate(5deg) brightness(95%);
}

/* ── 9f. Check List ─────────────────────────────────────────
   Simple tick-mark list — no icon element needed in HTML.
   Gold checkmark injected via ::before pseudo-element.
   Add class .check-list to the <ul>.
   ─────────────────────────────────────────────────────────── */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: .95rem;
  color: var(--slate);
  line-height: 1.6;
}

.check-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Light variant for dark backgrounds */
.check-list--light li {
  color: rgba(248,244,238,.8);
}

.check-list--light li::before {
  color: var(--gold-light);
}

/* ── 9g. Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Feature grid collapses to single column */
  .feature-grid {
    grid-template-columns: 1fr;
  }

  /* Restore border on all items in single-column layout */
  .feature-grid li:nth-last-child(2):nth-child(odd) {
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

  .feature-grid li:last-child {
    border-bottom: none;
  }

  /* Slightly smaller icons on mobile */
  .feature-list .icon,
  .feature-list .icon-logo,
  .feature-grid .icon,
  .feature-grid .icon-logo {
    width: 28px;
    height: 28px;
  }

  .feature-list .icon-logo img,
  .feature-grid .icon-logo img {
    width: 17px;
    height: 17px;
  }
}


/* ── 10. Gallery Grid ──────────────────────────────────────── */

/* ── 10a. Gallery Grid Container ───────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* ── Masonry-style variant ──────────────────────────────────
   Add class .gallery-grid--masonry to the grid container
   for a Pinterest-style uneven column layout.
   ─────────────────────────────────────────────────────────── */
.gallery-grid--masonry {
  columns: 3;
  column-gap: 16px;
  display: block;           /* overrides grid for column layout */
}

.gallery-grid--masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  aspect-ratio: unset;      /* allow natural image height       */
}

.gallery-grid--masonry .gallery-item img {
  height: auto;
  aspect-ratio: unset;
}

/* ── Featured layout variant ────────────────────────────────
   First item spans 2 columns and 2 rows.
   Add class .gallery-grid--featured to the grid container.
   ─────────────────────────────────────────────────────────── */
.gallery-grid--featured {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
}

.gallery-grid--featured .gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* ── 10b. Gallery Item ──────────────────────────────────────── */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background-color: var(--navy-mid);   /* visible while image loads */
}

/* ── Gallery Item Image ─────────────────────────────────────
   Actual event/wedding photos set via <img src="...">
   Recommended sizes:
     Standard grid item : 800×600px  (4:3)
     Featured first item: 1200×900px (4:3, spans 2 cols)
   og-image.jpg is used as the CSS fallback background so
   the grid never shows empty navy boxes.
   ─────────────────────────────────────────────────────────── */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition-slow);
  /* Fallback handled by onerror on the <img> tag in HTML  */
}

.gallery-item img:hover {
  transform: scale(1.08);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ── Gallery Item Placeholder ───────────────────────────────
   Shown when no image src is provided or image fails.
   Uses og-image.jpg as branded background fallback.
   Add class .gallery-item--placeholder to .gallery-item,
   or trigger via JS onerror on the <img>.

   HTML usage:
   <div class="gallery-item gallery-item--placeholder">
     <img src="/assets/images/logo.png"
          alt="Bluestream Entertainment"
          class="gallery-placeholder-logo">
   </div>
   ─────────────────────────────────────────────────────────── */
.gallery-item--placeholder {
  background-image: url('/assets/images/og-image.jpg');
  background-size: cover;
  background-position: center;
  cursor: default;
}

/* Centred logo.png inside placeholder item */
.gallery-placeholder-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(60px, 25%, 100px);
  height: auto;
  object-fit: contain;
  opacity: .18;
  filter: brightness(10);     /* renders logo white over dark bg */
  pointer-events: none;
}

/* ── 10c. Gallery Overlay ───────────────────────────────────── */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,27,42,.85) 0%,
    rgba(13,27,42,.3)  50%,
    rgba(13,27,42,.0)  100%
  );
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ── Gallery Caption ────────────────────────────────────────── */
.gallery-caption {
  color: var(--ivory);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
  transform: translateY(6px);
  transition: transform .3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Optional category tag above caption */
.gallery-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
  transform: translateY(6px);
  transition: transform .3s ease .05s;
}

.gallery-item:hover .gallery-tag {
  transform: translateY(0);
}

/* ── Zoom / Expand icon on hover ────────────────────────────── */
.gallery-overlay::after {
  content: '⤢';
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--ivory);
  font-size: 1.1rem;
  opacity: .7;
  transform: scale(.8);
  transition: transform .25s ease, opacity .25s ease;
}

.gallery-item:hover .gallery-overlay::after {
  opacity: 1;
  transform: scale(1);
}

/* ── 10d. Gallery Filter Bar ────────────────────────────────
   Tab-style filter buttons above the gallery grid.
   JS toggles .active on the clicked button and
   shows/hides .gallery-item elements by data-category.
   ─────────────────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  align-items: center;
}

.gallery-filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--white);
  border: 1px solid rgba(0,0,0,.1);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover {
  color: var(--navy);
  border-color: var(--gold);
  background: rgba(201,168,76,.06);
}

.gallery-filter-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* ── 10e. Lightbox Trigger State ────────────────────────────
   When a lightbox library (e.g. GLightbox, Fancybox) is
   active it adds [data-lightbox] or .glightbox to items.
   These rules ensure the cursor and focus ring are correct.
   ─────────────────────────────────────────────────────────── */
.gallery-item[data-lightbox],
.gallery-item.glightbox {
  cursor: zoom-in;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ── 10f. Gallery Empty State ───────────────────────────────
   Shown when filter returns zero results.
   Add .gallery-empty inside .gallery-grid via JS.
   ─────────────────────────────────────────────────────────── */
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--slate-light);
}

/* logo.png displayed in the empty state */
.gallery-empty-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  opacity: .15;
  margin: 0 auto 20px;
  display: block;
  filter: grayscale(1);
}

.gallery-empty p {
  font-size: 1rem;
  color: var(--slate-light);
  margin: 0;
}

/* ── 10g. Gallery Responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .gallery-grid--featured {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid--featured .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-grid--masonry {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }

  .gallery-grid--featured {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-grid--featured .gallery-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-grid--masonry {
    columns: 1;
  }

  /* Always show overlay on touch devices */
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(13,27,42,.75) 0%,
      transparent 60%
    );
  }

  .gallery-caption {
    transform: translateY(0);
    font-size: .8rem;
  }

  .gallery-tag {
    transform: translateY(0);
  }

  /* Hide expand icon on mobile — no hover state */
  .gallery-overlay::after {
    display: none;
  }
}

@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 11. Forms ─────────────────────────────────────────────── */

/* ── 11a. Form Group & Labels ───────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: .02em;
}

/* Required field asterisk */
.form-label .required {
  color: var(--error);
  margin-left: 3px;
}

/* ── 11b. Form Controls ─────────────────────────────────────── */
.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid rgba(0,0,0,.1);
  border-radius: var(--radius-md);
  font-size: .95rem;
  color: var(--navy);
  transition: var(--transition);
  outline: none;
  line-height: 1.5;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}

.form-control::placeholder {
  color: var(--slate-light);
}

.form-control:disabled {
  background: var(--ivory-dark);
  color: var(--slate-light);
  cursor: not-allowed;
  opacity: .7;
}

.form-control.error  { border-color: var(--error); }
.form-control.success { border-color: var(--success); }

/* Select */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--white);
  padding-right: 44px;
  cursor: pointer;
}

/* Textarea */
textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

/* ── 11c. Form Layout ───────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── 11d. Form Feedback Text ────────────────────────────────── */
.form-error {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--error);
  margin-top: 6px;
}

.form-error::before {
  content: '✕';
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-hint {
  display: block;
  font-size: .8rem;
  color: var(--slate-light);
  margin-top: 6px;
  line-height: 1.5;
}

.form-success-msg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--success);
  margin-top: 6px;
}

.form-success-msg::before {
  content: '✓';
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── 11e. Checkbox & Radio ──────────────────────────────────── */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .92rem;
  color: var(--slate);
  line-height: 1.5;
  user-select: none;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

/* ── 11f. Form Card Wrapper ─────────────────────────────────
   White card container for contact / quote forms.
   logo.png is used as a faint watermark in the top-right
   corner to brand the form panel.

   Add <div class="form-card"> around your <form>.
   The logo watermark is injected via ::after — no extra
   HTML element needed.
   ─────────────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

/* Gold top accent bar */
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* Faint logo.png watermark — bottom-right corner */
.form-card::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 100px;
  height: 40px;
  background-image: url('/assets/images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  opacity: .05;
  pointer-events: none;
  filter: grayscale(1);
}

/* ── 11g. Alert / Notice Banners ────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: .92rem;
  margin-bottom: 24px;
  border-left: 4px solid transparent;
  line-height: 1.6;
}

.alert-success {
  background: rgba(47,133,90,.08);
  border-color: var(--success);
  color: var(--success);
}

.alert-success::before {
  content: '✓';
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-error {
  background: rgba(197,48,48,.08);
  border-color: var(--error);
  color: var(--error);
}

.alert-error::before {
  content: '✕';
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-info {
  background: rgba(13,27,42,.06);
  border-color: var(--navy);
  color: var(--navy);
}

.alert-info::before {
  content: 'ℹ';
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-warning {
  background: rgba(183,121,31,.08);
  border-color: var(--warning);
  color: var(--warning);
}

.alert-warning::before {
  content: '⚠';
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── 11h. Form Responsive ───────────────────────────────────── */
@media (max-width: 640px) {
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px 20px;
  }

  /* Hide logo watermark on small screens */
  .form-card::after {
    display: none;
  }
}


/* ── 12. Dividers & Decorative ─────────────────────────────── */

/* ── 12a. Gold Accent Divider ───────────────────────────────── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px 0 24px;
  border: none;
}

.divider.centered {
  margin-left: auto;
  margin-right: auto;
}

/* Wider variant */
.divider--wide {
  width: 120px;
}

/* Thin hairline variant */
.divider--thin {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* ── 12b. Full-width Gold Line ──────────────────────────────── */
.gold-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 40px 0;
  opacity: .4;
  border: none;
}

/* ── 12c. Ornament Divider ──────────────────────────────────
   Horizontal rule with a centred decorative character.
   Default character: ✦  (gold diamond)
   Usage: <div class="ornament">✦</div>
   ─────────────────────────────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-size: 1.2rem;
  opacity: .6;
  margin: 32px 0;
  user-select: none;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
}

/* ── 12d. Logo Ornament Divider ─────────────────────────────
   Centred logo.png between two gold lines.
   Usage:
   <div class="ornament-logo" aria-hidden="true">
     <img src="/assets/images/logo.png" alt="">
   </div>
   ─────────────────────────────────────────────────────────── */
.ornament-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
  opacity: .35;
}

.ornament-logo::before,
.ornament-logo::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament-logo::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament-logo img {
  width: clamp(60px, 8vw, 100px);
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(.6);
  flex-shrink: 0;
}

/* ── 12e. Section Separator ─────────────────────────────────
   Full-bleed wave/angle separator between sections.
   Add .section-sep between two .section divs.
   ─────────────────────────────────────────────────────────── */
.section-sep {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201,168,76,.3) 25%,
    rgba(201,168,76,.6) 50%,
    rgba(201,168,76,.3) 75%,
    transparent 100%
  );
  border: none;
  margin: 0;
}


/* ── 13. Breadcrumb ────────────────────────────────────────── */

/* ── 13a. Breadcrumb Nav ────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  font-size: .82rem;
  margin-bottom: 16px;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(248,244,238,.6);
}

.breadcrumb li a {
  color: rgba(248,244,238,.8);
  transition: var(--transition);
  text-decoration: none;
  padding: 2px 0;
}

.breadcrumb li a:hover {
  color: var(--gold);
}

.breadcrumb li.active {
  color: var(--gold);
  font-weight: 500;
}

/* Separator between items */
.breadcrumb li:not(:last-child)::after {
  content: '/';
  opacity: .4;
  margin-left: 4px;
  font-size: .75rem;
}

/* ── 13b. Breadcrumb Home Icon ──────────────────────────────
   First breadcrumb item uses logo.png as a tiny home icon.
   Usage:
   <li>
     <a href="/" class="breadcrumb-home" aria-label="Home">
       <img src="/assets/images/logo.png" alt="Home">
     </a>
   </li>
   ─────────────────────────────────────────────────────────── */
.breadcrumb-home {
  display: flex;
  align-items: center;
}

.breadcrumb-home img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(10);       /* renders white on dark bg     */
  opacity: .7;
  transition: opacity var(--transition);
}

.breadcrumb-home:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%)
          invert(72%) sepia(42%) saturate(500%)
          hue-rotate(5deg) brightness(95%);
  /* Switches to gold on hover */
}

/* ── 13c. Breadcrumb — Light variant (dark page backgrounds) ── */
.breadcrumb--light li {
  color: rgba(248,244,238,.55);
}

.breadcrumb--light li a {
  color: rgba(248,244,238,.75);
}

.breadcrumb--light li a:hover {
  color: var(--gold);
}

.breadcrumb--light li.active {
  color: var(--gold);
}

/* ── 13d. Breadcrumb — Dark variant (light page backgrounds) ── */
.breadcrumb--dark li {
  color: var(--slate-light);
}

.breadcrumb--dark li a {
  color: var(--slate);
}

.breadcrumb--dark li a:hover {
  color: var(--navy);
}

.breadcrumb--dark li.active {
  color: var(--navy);
  font-weight: 600;
}

.breadcrumb--dark li:not(:last-child)::after {
  color: var(--slate-light);
}

/* ── 13e. Breadcrumb Responsive ─────────────────────────────── */
@media (max-width: 640px) {
  .breadcrumb {
    font-size: .76rem;
    gap: 2px;
  }

  /* Truncate long breadcrumb trails on mobile:
     show only first and last items */
  .breadcrumb li:not(:first-child):not(:last-child):not(.active) {
    display: none;
  }

  /* Show ellipsis after first item when middle items hidden */
  .breadcrumb li:first-child::after {
    content: '/ … /';
    opacity: .4;
    margin-left: 4px;
    font-size: .72rem;
  }

  /* Reset separator for last visible item */
  .breadcrumb li:last-child::after {
    display: none;
  }
}


/* ── 14. FAQ Accordion ─────────────────────────────────────── */

/* ── 14a. FAQ Item Wrapper ──────────────────────────────────── */
.faq-item {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
  border-color: rgba(201,168,76,.25);
}

/* ── 14b. FAQ Question Button ───────────────────────────────── */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  border: none;
  line-height: 1.5;
}

.faq-question:hover {
  background: var(--ivory-dark);
}

.faq-item.open .faq-question {
  background: var(--navy);
  color: var(--ivory);
}

/* ── 14c. FAQ Icon ──────────────────────────────────────────── */
.faq-icon {
  width: 24px;
  height: 24px;
  background: rgba(201,168,76,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}

/* ── 14d. FAQ Answer Panel ──────────────────────────────────── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  background: var(--ivory);
}

.faq-item.open .faq-answer {
  max-height: 600px;          /* increased from 400px for longer answers */
}

.faq-answer-inner {
  padding: 20px 24px;
  font-size: .95rem;
  color: var(--slate);
  line-height: 1.8;
}

/* Links inside FAQ answers */
.faq-answer-inner a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.faq-answer-inner a:hover {
  color: var(--gold);
}

/* ── 14e. FAQ — Logo Branded Header ─────────────────────────
   Optional section header above the FAQ list that includes
   a small logo.png beside the heading.
   Usage:
   <div class="faq-header">
     <img src="/assets/images/logo.png"
          alt="Bluestream Entertainment"
          class="faq-header-logo">
     <h2>Frequently Asked Questions</h2>
   </div>
   ─────────────────────────────────────────────────────────── */
.faq-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.faq-header-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: .55;
  flex-shrink: 0;
  filter: grayscale(1);
}

/* ── 14f. FAQ — Dark Background Variant ─────────────────────
   Add class .faq-item--dark to each .faq-item when the
   FAQ section sits on a .section-dark or .section-navy bg.
   ─────────────────────────────────────────────────────────── */
.faq-item--dark {
  border-color: rgba(248,244,238,.1);
  background: rgba(255,255,255,.04);
}

.faq-item--dark .faq-question {
  background: rgba(255,255,255,.04);
  color: var(--ivory);
}

.faq-item--dark .faq-question:hover {
  background: rgba(255,255,255,.08);
}

.faq-item--dark.open .faq-question {
  background: var(--gold);
  color: var(--navy);
}

.faq-item--dark.open .faq-icon {
  background: var(--navy);
  color: var(--gold);
}

.faq-item--dark .faq-answer {
  background: rgba(255,255,255,.03);
}

.faq-item--dark .faq-answer-inner {
  color: rgba(248,244,238,.75);
}

.faq-item--dark .faq-answer-inner a {
  color: var(--gold-light);
}

/* ── 14g. FAQ Responsive ────────────────────────────────────── */
@media (max-width: 640px) {
  .faq-question {
    padding: 16px 18px;
    font-size: .95rem;
  }

  .faq-answer-inner {
    padding: 16px 18px;
    font-size: .9rem;
  }

  .faq-header {
    gap: 12px;
  }

  .faq-header-logo {
    width: 36px;
    height: 36px;
  }
}

/* ── 15. Footer ────────────────────────────────────────────── */

/* ── 15a. Footer Wrapper ────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: var(--ivory);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind footer content */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(201,168,76,.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ── 15b. Footer Grid ───────────────────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
  position: relative;
  z-index: 1;
}

/* ── 15c. Footer Brand Column ───────────────────────────────
   logo.png is displayed here as the primary footer brand
   image above the tagline and contact details.
   Falls back to text mark if image is unavailable.
   ─────────────────────────────────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
}

/* logo.png in footer */
.footer-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
  filter: brightness(10);       /* renders logo white on black bg */
  opacity: .85;
  transition: opacity .25s ease;
}

.footer-logo:hover {
  opacity: 1;
}

/* Text fallback — shown when logo.png fails */
.footer-brand .brand-name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--ivory);
  margin-bottom: 8px;
  display: block;
}

.footer-brand .brand-tag {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  color: rgba(248,244,238,.6);
  font-size: .9rem;
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 24px;
}

/* ── 15d. Footer Contact Items ──────────────────────────────── */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: rgba(248,244,238,.7);
  margin-bottom: 10px;
}

.footer-contact-item a {
  color: rgba(248,244,238,.7);
  transition: var(--transition);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-contact-item .icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── 15e. Footer Column Headings ────────────────────────────── */
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ivory);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(248,244,238,.08);
}

/* ── 15f. Footer Links ──────────────────────────────────────── */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: .88rem;
  color: rgba(248,244,238,.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-links a::before {
  content: '›';
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── 15g. Footer Newsletter ─────────────────────────────────── */
.footer-newsletter p {
  color: rgba(248,244,238,.6);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  color: var(--ivory);
  font-size: .88rem;
  outline: none;
  transition: var(--transition);
  min-width: 0;             /* prevents flex overflow */
}

.newsletter-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.12);
}

.newsletter-input::placeholder {
  color: rgba(248,244,238,.4);
}

.newsletter-btn {
  padding: 12px 20px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── 15h. Social Links ──────────────────────────────────────── */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(248,244,238,.7);
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201,168,76,.3);
}

/* ── 15i. Footer Bottom Bar ─────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(248,244,238,.4);
  margin: 0;
  line-height: 1.5;
}

/* Small logo.png inline in copyright line */
.footer-bottom-logo {
  display: inline-block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 3px;
  filter: brightness(10);
  opacity: .4;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: .82rem;
  color: rgba(248,244,238,.4);
  transition: var(--transition);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ── 15j. Footer Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 14px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .social-links {
    justify-content: flex-start;
  }
}


/* ── 16. CTA Banner ────────────────────────────────────────── */

/* ── 16a. CTA Banner Wrapper ────────────────────────────────── */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--navy)     0%,
    var(--navy-mid) 50%,
    var(--navy)     100%
  );
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) 0;
}

/* Gold radial glow from top */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(201,168,76,.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ── CTA Banner logo.png Watermark ──────────────────────────
   Large faded logo.png centred behind the CTA text.
   Reinforces brand identity on the conversion section.
   Add <div class="cta-banner-watermark" aria-hidden="true">
        <img src="/assets/images/logo.png" alt="">
       </div>
   as the first child inside .cta-banner to enable.
   ─────────────────────────────────────────────────────────── */
.cta-banner-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.cta-banner-watermark img {
  width: clamp(200px, 30vw, 420px);
  height: auto;
  object-fit: contain;
  opacity: .04;
  filter: brightness(10);
}

/* ── 16b. CTA Banner Content ────────────────────────────────── */
.cta-banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-banner h2 {
  color: var(--ivory);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(248,244,238,.75);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── 16c. CTA Banner Responsive ─────────────────────────────── */
@media (max-width: 640px) {
  .cta-banner-watermark img {
    width: 180px;
    opacity: .03;
  }
}


/* ── 17. Process Steps ─────────────────────────────────────── */

/* ── 17a. Steps Grid ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
  position: relative;
}

/* ── 17b. Individual Step ───────────────────────────────────── */
.process-step {
  text-align: center;
  position: relative;
  padding: 32px 24px;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
}

/* Connector line between steps */
.process-step::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.process-step:last-child::after {
  display: none;
}

/* ── 17c. Step Number Circle ────────────────────────────────── */
.step-number {
  width: 60px;
  height: 60px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 20px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.process-step:hover .step-number {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 0 6px rgba(201,168,76,.15);
}

/* ── 17d. Step Logo Icon variant ────────────────────────────
   Replace the number with a small logo.png icon.
   Usage: add class .step-number--logo to .step-number,
   place <img src="/assets/images/logo.png" alt=""> inside.
   ─────────────────────────────────────────────────────────── */
.step-number--logo {
  padding: 0;
  overflow: hidden;
}

.step-number--logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) saturate(100%)
          invert(72%) sepia(42%) saturate(500%)
          hue-rotate(5deg) brightness(95%);
  transition: filter var(--transition);
}

.process-step:hover .step-number--logo img {
  filter: brightness(0) invert(0);
}

.process-step h4 {
  color: var(--navy);
  margin-bottom: 10px;
}

.process-step p {
  color: var(--slate);
  font-size: .9rem;
  line-height: 1.7;
}

/* Dark background variant */
.process-steps--dark .process-step h4 {
  color: var(--ivory);
}

.process-steps--dark .process-step p {
  color: rgba(248,244,238,.7);
}

.process-steps--dark .step-number {
  background: rgba(255,255,255,.05);
  border-color: var(--gold);
}

/* ── 17e. Process Steps Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .process-step::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-step {
    padding: 24px 16px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .step-number {
    margin: 0;
    flex-shrink: 0;
  }
}


/* ── 18. Tab Component ─────────────────────────────────────── */

/* ── 18a. Tab Bar ───────────────────────────────────────────── */
.tabs {
  border-bottom: 2px solid rgba(0,0,0,.08);
  margin-bottom: 40px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  position: relative;
}

/* ── 18b. Tab Buttons ───────────────────────────────────────── */
.tab-btn {
  padding: 12px 24px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .02em;
  white-space: nowrap;
  position: relative;
}

.tab-btn:hover {
  color: var(--navy);
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── 18c. Tab Panels ────────────────────────────────────────── */
.tab-panel {
  display: none;
  animation: fadeIn .3s ease both;
}

.tab-panel.active {
  display: block;
}

/* ── 18d. Tabs — Dark variant ───────────────────────────────── */
.tabs--dark {
  border-bottom-color: rgba(248,244,238,.1);
}

.tabs--dark .tab-btn {
  color: rgba(248,244,238,.6);
}

.tabs--dark .tab-btn:hover {
  color: var(--ivory);
}

.tabs--dark .tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── 18e. Tabs — Pill variant ───────────────────────────────── */
.tabs--pill {
  border-bottom: none;
  gap: 8px;
  margin-bottom: 32px;
}

.tabs--pill .tab-btn {
  border: 1px solid rgba(0,0,0,.1);
  border-radius: var(--radius-pill);
  border-bottom: 1px solid rgba(0,0,0,.1);
  margin-bottom: 0;
  padding: 8px 20px;
  font-size: .82rem;
  background: var(--white);
}

.tabs--pill .tab-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.tabs--pill .tab-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* ── 18f. Tabs Responsive ───────────────────────────────────── */
@media (max-width: 640px) {
  .tabs {
    gap: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1px;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: .82rem;
    flex-shrink: 0;
  }
}


/* ── 19. Back to Top / Floating ────────────────────────────── */

/* ── 19a. Back to Top Button ────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 500;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201,168,76,.35);
}

/* ── 19b. Floating Contact Button ───────────────────────────── */
.float-contact {
  position: fixed;
  bottom: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
  transition: var(--transition);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
}

.float-contact.visible {
  opacity: 1;
  visibility: visible;
}

.float-contact:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,.5);
}

/* ── 19c. Floating Responsive ───────────────────────────────── */
@media (max-width: 640px) {
  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .float-contact {
    bottom: 20px;
    left: 16px;
    padding: 10px 16px;
    font-size: .8rem;
  }
}


/* ── 20. Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid-3                { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta   { display: none; }
  .hamburger             { display: flex; }
  .form-row              { grid-template-columns: 1fr; }
  .process-step::after   { display: none; }
}

@media (max-width: 640px) {
  :root { --section-pad: 60px; }

  .grid-2,
  .grid-3,
  .grid-4          { grid-template-columns: 1fr; }

  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom   { flex-direction: column; text-align: center; }

  .hero-stats      { gap: 20px; }

  .btn-group       { flex-direction: column; align-items: flex-start; }

  .newsletter-form { flex-direction: column; }

  .pricing-card    { padding: 32px 24px; }

  /* Nav logo sizing — mirrors Section 6 responsive rules */
  .nav-logo-img    { height: 34px; max-width: 130px; }
}

@media (max-width: 400px) {
  .hero-title  { font-size: 2rem; }
  .page-hero   { min-height: 360px; }
}


/* ── 21. Animations ────────────────────────────────────────── */

/* ── 21a. Keyframes ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,.4); }
  50%       { box-shadow: 0 0 0 10px rgba(201,168,76,0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── 21b. Animation Utility Classes ─────────────────────────── */
.animate-fadeup   { animation: fadeUp   .7s ease both; }
.animate-fadein   { animation: fadeIn   .7s ease both; }
.animate-fadedown { animation: fadeDown .7s ease both; }
.animate-float    { animation: float    4s ease-in-out infinite; }
.animate-pulse    { animation: pulse    2s ease-in-out infinite; }
.animate-spin     { animation: spin     1s linear infinite; }

/* ── 21c. Delay Helpers ─────────────────────────────────────── */
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }
.delay-6 { animation-delay: .6s; }
.delay-7 { animation-delay: .7s; }
.delay-8 { animation-delay: .8s; }

/* ── 21d. Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── 21e. Shimmer Loading Skeleton ──────────────────────────
   Apply .skeleton to any placeholder element while
   content is loading (e.g. image cards, text blocks).
   ─────────────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--ivory-dark) 25%,
    var(--ivory)      50%,
    var(--ivory-dark) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
  color: transparent;
  pointer-events: none;
  user-select: none;
}

.skeleton * {
  visibility: hidden;
}

/* ── 21f. Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}


/* ── 22. Print ─────────────────────────────────────────────── */
@media print {
  /* ── Hide interactive / decorative elements ─────────────── */
  .site-nav,
  .hamburger,
  .mobile-nav,
  .back-to-top,
  .float-contact,
  .cta-banner,
  .newsletter-form,
  .social-links,
  .gallery-overlay,
  .gallery-filters,
  .tabs,
  .faq-icon,
  .hero-logo-watermark,
  .page-hero-logo,
  .cta-banner-watermark,
  .pricing-logo-mark,
  .form-card::after  { display: none !important; }

  /* ── Base print styles ───────────────────────────────────── */
  body {
    background: white;
    color: black;
    font-size: 11pt;
    line-height: 1.5;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  /* Print URLs after links */
  a[href^="http"]::after {
    content: ' (' attr(href) ')';
    font-size: .75em;
    color: #666;
  }

  /* ── Hero sections ───────────────────────────────────────── */
  .hero,
  .page-hero {
    min-height: auto;
    background: white;
    padding: 20px 0;
  }

  .hero-overlay,
  .page-hero-overlay,
  .hero-bg,
  .page-hero-bg { display: none; }

  .hero-title,
  .hero-description,
  .page-hero-content h1,
  .page-hero-content p { color: black; }

  /* ── Footer for print ────────────────────────────────────── */
  .site-footer {
    background: white;
    color: black;
    padding: 20px 0;
    border-top: 1px solid #ccc;
  }

  .footer-logo {
    filter: none;
    opacity: 1;
  }

  .footer-brand .brand-name,
  .footer-brand .brand-tag,
  .footer-brand p,
  .footer-contact-item,
  .footer-contact-item a,
  .footer-col h4,
  .footer-links a,
  .footer-bottom p { color: black; }

  /* ── Cards & sections ────────────────────────────────────── */
  .card,
  .service-card,
  .pricing-card,
  .testimonial-card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }

  .section-dark,
  .section-navy {
    background: white;
    color: black;
  }

  /* ── Page breaks ─────────────────────────────────────────── */
  h1, h2, h3 { break-after: avoid; }
  img         { break-inside: avoid; max-width: 100%; }

  /* ── logo.png in print ───────────────────────────────────── */
  .footer-logo,
  .nav-logo-img {
    filter: none;
    opacity: 1;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}