/* =============================================================
   IMMERSIVE BOOK PUBLISHERS — styles.css
   Premium, cinematic, author-focused design
   Mobile-first responsive architecture
   ============================================================= */

/* =============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================= */
:root {
  /* Brand Palette */
  --maroon:        #6B1C23;
  --maroon-dark:   #4E1119;
  --maroon-light:  #8E2C35;
  --gold:          #C9A84C;
  --gold-light:    #DFC278;
  --gold-dark:     #A8873A;
  --cream:         #FDFBF7;
  --cream-dark:    #F5F0E8;
  --charcoal:      #2A2A2A;
  --charcoal-light:#4A4A4A;
  --white:         #FFFFFF;
  --black:         #0D0D0D;

  /* UI Colors */
  --border:        rgba(107, 28, 35, 0.12);
  --border-light:  rgba(255,255,255,0.14);
  --shadow-sm:     0 2px 12px rgba(42,42,42,0.07);
  --shadow-md:     0 8px 32px rgba(42,42,42,0.12);
  --shadow-lg:     0 20px 60px rgba(42,42,42,0.18);
  --shadow-maroon: 0 12px 40px rgba(107,28,35,0.28);

  /* Typography */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-title:    'Cinzel', serif;
  --font-body:     'DM Sans', sans-serif;

  /* Spacing */
  --section-py:    100px;
  --container-max: 1260px;
  --container-pad: clamp(20px, 5vw, 60px);

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:      180ms;
  --dur-med:       360ms;
  --dur-slow:      600ms;

  /* Border Radius */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
}

/* =============================================================
   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(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--maroon);
  color: var(--white);
}

/* =============================================================
   3. LAYOUT UTILITIES
   ============================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(107,28,35,0.08);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--maroon);
}

.section-title.light {
  color: var(--white);
}

.section-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--charcoal-light);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.section-sub.light {
  color: rgba(255,255,255,0.78);
}

/* =============================================================
   4. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all var(--dur-med) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform var(--dur-med) var(--ease-out);
}

.btn:hover::before {
  transform: translateX(120%) skewX(-12deg);
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
  box-shadow: var(--shadow-maroon);
}

.btn-primary:hover {
  background: var(--maroon-dark);
  box-shadow: 0 16px 48px rgba(107,28,35,0.38);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 8px 28px rgba(201,168,76,0.35);
}

.btn-gold:hover {
  background: var(--gold-dark);
  box-shadow: 0 14px 40px rgba(201,168,76,0.45);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal-light);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--charcoal-light);
  color: var(--charcoal);
}

.btn-full {
  width: 100%;
}

/* =============================================================
   5. SCROLL REVEAL ANIMATIONS
   ============================================================= */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal-up   { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right{ transform: translateX(40px); }
.reveal-fade { }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-fade.revealed {
  opacity: 1;
  transform: none;
}

/* Stagger Delays */
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 240ms; }
.delay-3 { transition-delay: 360ms; }
.delay-4 { transition-delay: 480ms; }

/* =============================================================
   6. HEADER
   ============================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease),
              padding var(--dur-med) var(--ease);
  padding: 0;
}

.site-header.scrolled {
  background: rgba(253, 251, 247, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 80px;
  transition: height var(--dur-med) var(--ease);
}

.site-header.scrolled .header-inner {
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  transition: height var(--dur-med) var(--ease);
}

.site-header.scrolled .logo-img {
  height: 36px;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--white);
  transition: color var(--dur-med) var(--ease);
}

.logo-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.site-header.scrolled .logo-text,
.site-header.scrolled .logo-text strong {
  color: var(--charcoal);
}

/* Nav */
.main-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.88);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}

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

.nav-link:hover {
  color: var(--white);
}

.site-header.scrolled .nav-link {
  color: var(--charcoal-light);
}

.site-header.scrolled .nav-link:hover {
  color: var(--maroon);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color var(--dur-fast);
}

.header-phone:hover { color: var(--gold-light); }

.site-header.scrolled .header-phone {
  color: var(--charcoal-light);
}

.site-header.scrolled .header-phone:hover {
  color: var(--maroon);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease);
}

.site-header.scrolled .hamburger span { background: var(--charcoal); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   7. HERO SECTION
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 4, 5, 0.82) 0%,
    rgba(78, 17, 25, 0.65) 50%,
    rgba(10, 4, 5, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 100px;
  max-width: 840px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2.4s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.6; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 32px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.stat-num sup {
  font-size: 0.75em;
  color: var(--gold);
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  margin-right: 32px;
  flex-shrink: 0;
}

/* Scroll Cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  animation: scroll-bounce 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.55));
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================================
   8. PUBLISHING FUNNEL SECTION
   ============================================================= */
.funnel-section {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.funnel-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 16px;
}

.funnel-step {
  text-align: center;
  padding: 0 16px;
}

.funnel-step-num {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--maroon);
  opacity: 0.5;
  margin-bottom: 20px;
}

.funnel-step-icon {
  width: 80px;
  height: 80px;
  background: var(--cream-dark);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--dur-med) var(--ease);
}

.funnel-step-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.funnel-step:hover .funnel-step-icon {
  background: var(--maroon);
  border-color: var(--maroon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-maroon);
}

.funnel-step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.funnel-step p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

.funnel-connector {
  align-self: center;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  position: relative;
  margin-top: -24px;
}

.funnel-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

/* =============================================================
   9. SERVICES SECTION
   ============================================================= */
.services-section {
  padding: var(--section-py) 0;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.services-bg-shape {
  position: absolute;
  top: -120px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(107,28,35,0.055) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Tabs */
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal-light);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: all var(--dur-med) var(--ease);
}

.tab-btn:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.tab-btn.active {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
  box-shadow: var(--shadow-maroon);
}

/* Services Grid */
.services-panels { position: relative; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.services-grid:not(.active) { display: none; }

/* Service Cards */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--dur-med) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--maroon);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur-med) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(107,28,35,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--dur-med), transform var(--dur-med) var(--ease-spring);
}

.service-card:hover .service-card-icon {
  background: var(--maroon);
  transform: scale(1.08);
}

.service-card-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: invert(16%) sepia(68%) saturate(1200%) hue-rotate(326deg);
  transition: filter var(--dur-med);
}

.service-card:hover .service-card-icon img {
  filter: invert(1);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  line-height: 1.72;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--dur-fast), color var(--dur-fast);
}

.service-link::after {
  content: '\2192';
}

.service-link:hover {
  gap: 10px;
  color: var(--maroon-dark);
}

.services-cta {
  text-align: center;
  margin-top: 52px;
}

.services-cta p {
  color: var(--charcoal-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* =============================================================
   10. TRUST BAND
   ============================================================= */
.trust-band {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  opacity: 0.7;
  margin-bottom: 28px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-logos img {
  height: 28px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity var(--dur-med), filter var(--dur-med);
}

.trust-logos img:hover {
  opacity: 0.85;
  filter: grayscale(0);
}

/* =============================================================
   11. PORTFOLIO SECTION
   ============================================================= */
.portfolio-section {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.portfolio-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 22px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--charcoal-light);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: all var(--dur-med) var(--ease);
}

.filter-btn:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.filter-btn.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.portfolio-img-wrap.video-thumb {
  aspect-ratio: 16/9;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.portfolio-img-wrap:hover img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,4,5,0.88) 0%, rgba(10,4,5,0.2) 55%, transparent 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}

.portfolio-img-wrap:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-genre {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.portfolio-overlay h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-overlay p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
}

/* Play Button */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(201,168,76,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: all var(--dur-med) var(--ease-spring);
  z-index: 2;
}

.play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.play-btn:hover {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.12);
}

.portfolio-cta {
  text-align: center;
  margin-top: 52px;
}

/* =============================================================
   12. TESTIMONIALS SECTION
   ============================================================= */
.testimonials-section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.testimonials-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(78,17,25,0.94) 0%, rgba(10,4,5,0.9) 100%);
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.testimonials-section .section-label {
  color: var(--gold);
  background: rgba(201,168,76,0.15);
}

/* Slider */
.testimonials-slider-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.testimonials-slider {
  overflow: hidden;
  position: relative;
}

.testimonial-slide {
  display: none;
  animation: slide-in var(--dur-slow) var(--ease-out);
}

.testimonial-slide.active {
  display: block;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.star {
  color: var(--gold);
  font-size: 1.2rem;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  margin-bottom: 32px;
  position: relative;
}

.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  vertical-align: -0.55em;
  color: var(--gold);
  opacity: 0.35;
  margin-right: 4px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.testimonial-author strong {
  display: block;
  font-weight: 600;
  color: var(--white);
  font-size: 0.98rem;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--dur-med) var(--ease);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  transition: all var(--dur-med) var(--ease);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* =============================================================
   13. CTA BAND
   ============================================================= */
.cta-band {
  padding: 80px 0;
  background: var(--maroon);
  background-image: url('images/cta-texture.jpg');
  background-size: cover;
  background-blend-mode: multiply;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107,28,35,0.9), rgba(78,17,25,0.95));
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.cta-band-text h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.cta-band-text p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 480px;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-band .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.cta-band .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* =============================================================
   14. FAQ SECTION
   ============================================================= */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.faq-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-left .section-label {
  display: block;
  text-align: left;
  margin-bottom: 12px;
}

.faq-left .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.faq-left p {
  color: var(--charcoal-light);
  margin-bottom: 28px;
  line-height: 1.75;
}

.faq-contact-info {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-contact-info a {
  color: var(--maroon);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--dur-fast);
}

.faq-contact-info a:hover { color: var(--maroon-dark); }

/* Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--dur-fast), color var(--dur-fast);
  line-height: 1.5;
}

.faq-question:hover {
  background: var(--cream-dark);
  color: var(--maroon);
}

.faq-question[aria-expanded="true"] {
  color: var(--maroon);
  background: rgba(107,28,35,0.04);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  position: relative;
  transition: all var(--dur-med) var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--charcoal-light);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease);
}

.faq-icon::before {
  width: 10px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon {
  border-color: var(--maroon);
  background: var(--maroon);
}

.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after {
  background: var(--white);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out),
              padding var(--dur-med) var(--ease);
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--charcoal-light);
  line-height: 1.78;
}

/* =============================================================
   15. CONTACT SECTION
   ============================================================= */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--cream-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-label {
  display: block;
  text-align: left;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--charcoal-light);
  margin-bottom: 36px;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-details svg {
  width: 22px;
  height: 22px;
  color: var(--maroon);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 3px;
}

.contact-details a,
.contact-details span {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.6;
}

.contact-details a:hover { color: var(--maroon); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field-group:last-child { margin-bottom: 0; }

.field-group label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.field-group input,
.field-group select,
.field-group textarea {
  padding: 12px 16px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--charcoal);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  width: 100%;
  resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(42,42,42,0.38);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(107,28,35,0.1);
  background: var(--white);
}

.field-group select {
  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='%234A4A4A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--charcoal-light);
  opacity: 0.65;
  text-align: center;
  margin-top: 12px;
}

/* =============================================================
   16. FOOTER
   ============================================================= */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
}

.footer-top {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
}

.footer-logo .logo-text {
  color: rgba(255,255,255,0.75);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all var(--dur-med) var(--ease);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.52);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.52);
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  transition: border-color var(--dur-fast);
}

.newsletter-form:focus-within {
  border-color: var(--gold);
}

.newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 0.88rem;
  min-width: 0;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { outline: none; }

.newsletter-form button {
  padding: 0 16px;
  background: var(--gold);
  color: var(--charcoal);
  transition: background var(--dur-fast);
}

.newsletter-form button svg {
  width: 16px;
  height: 16px;
}

.newsletter-form button:hover { background: var(--gold-dark); }

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--dur-fast);
}

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

/* =============================================================
   17. POPUP / MODAL
   ============================================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,4,5,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease),
              visibility var(--dur-med) var(--ease);
  padding: 20px;
}

.popup-overlay.open {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background: var(--cream);
  border-radius: var(--radius-xl);
  max-width: 840px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--dur-med) var(--ease-spring);
  max-height: 90vh;
  overflow-y: auto;
}

.popup-overlay.open .popup-container {
  transform: none;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--charcoal-light);
  z-index: 2;
  transition: all var(--dur-fast);
  line-height: 1;
}

.popup-close:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
  transform: rotate(90deg);
}

/* Discount Popup */
.popup-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.popup-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: 420px;
}

.popup-left {
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  overflow: hidden;
}

.popup-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-right {
  padding: 48px 44px;
}

.popup-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.popup-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.popup-title .gold { color: var(--gold-dark); font-style: italic; }

.popup-desc {
  font-size: 0.92rem;
  color: var(--charcoal-light);
  line-height: 1.72;
  margin-bottom: 24px;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-form input {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--dur-fast);
}

.popup-form input:focus {
  outline: none;
  border-color: var(--maroon);
}

.popup-form .btn { width: 100%; }

.popup-disclaimer {
  font-size: 0.75rem;
  color: var(--charcoal-light);
  opacity: 0.6;
  margin-top: 8px;
  text-align: center;
}

/* Quote Modal */
.quote-modal-container {
  max-width: 620px;
  padding: 40px 48px 36px;
}

.quote-modal-header {
  margin-bottom: 32px;
}

.quote-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 14px;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal-light);
  background: var(--white);
  transition: all var(--dur-med) var(--ease);
  flex-shrink: 0;
}

.step-dot.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}

.step-dot.completed {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.step-line {
  height: 2px;
  width: 80px;
  background: var(--border);
  transition: background var(--dur-med);
}

.step-line.completed { background: var(--gold); }

.steps-label {
  text-align: center;
  font-size: 0.82rem;
  color: var(--charcoal-light);
}

.quote-step { display: none; }
.quote-step.active { display: block; }

.quote-step-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.quote-step-sub {
  font-size: 0.92rem;
  color: var(--charcoal-light);
  margin-bottom: 24px;
}

/* Genre Grid */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.genre-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--dur-med) var(--ease);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal-light);
}

.genre-card input[type="radio"] { display: none; }

.genre-icon {
  width: 36px;
  height: 36px;
  background: rgba(107,28,35,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon);
}

.genre-card:has(input:checked),
.genre-card.selected {
  border-color: var(--maroon);
  background: rgba(107,28,35,0.05);
  color: var(--maroon);
}

/* Services Check Grid */
.services-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur-fast);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal-light);
}

.check-card input[type="checkbox"] { display: none; }

.check-card::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--cream);
  transition: all var(--dur-fast);
}

.check-card:has(input:checked),
.check-card.checked {
  border-color: var(--maroon);
  color: var(--maroon);
  background: rgba(107,28,35,0.04);
}

.check-card:has(input:checked)::before,
.check-card.checked::before {
  background: var(--maroon);
  border-color: var(--maroon);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4l3 3 6-6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-fields .field-group { margin-bottom: 0; }
.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Quote Navigation */
.quote-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

#quote-prev { display: none; }

/* Success */
.success-content {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(107,28,35,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--maroon);
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

/* =============================================================
   18. VIDEO LIGHTBOX
   ============================================================= */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease),
              visibility var(--dur-med) var(--ease);
}

.video-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  transition: color var(--dur-fast);
}

.lightbox-close:hover { color: var(--white); }

#lightbox-video {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  background: #000;
}

/* =============================================================
   19. SCROLLBAR STYLING
   ============================================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--maroon); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--maroon-dark); }

/* =============================================================
   20. RESPONSIVE — TABLET (max 1024px)
   ============================================================= */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .funnel-timeline {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    row-gap: 48px;
  }

  .funnel-connector { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-left { max-width: 520px; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================
   21. RESPONSIVE — MOBILE (max 768px)
   ============================================================= */
@media (max-width: 768px) {
  :root {
    --section-py: 60px;
    --container-pad: 20px;
  }

  /* Header Mobile */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--cream);
    box-shadow: -4px 0 32px rgba(0,0,0,0.15);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease);
    z-index: 800;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 0;
    color: var(--charcoal) !important;
    display: block;
  }

  .nav-link::after {
    bottom: 8px;
    left: 0;
  }

  .header-cta { display: none; }
  .hamburger { display: flex; }

  .header-inner { gap: 16px; }

  /* Hero Mobile */
  .hero-content { padding-top: 100px; }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat-divider { display: none; }

  /* Funnel Mobile */
  .funnel-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Services Tabs Mobile */
  .services-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .services-tabs::-webkit-scrollbar { display: none; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Portfolio Mobile */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonial Mobile */
  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-card blockquote {
    font-size: 1.08rem;
  }

  /* Popup Mobile */
  .popup-inner {
    grid-template-columns: 1fr;
  }

  .popup-left { display: none; }

  .popup-right {
    padding: 48px 28px 32px;
  }

  /* Quote Modal Mobile */
  .quote-modal-container {
    padding: 36px 24px 28px;
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-check-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ Mobile */
  .faq-left .btn { width: 100%; }

  /* CTA Band Mobile */
  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-band-text p { margin: 0 auto; }

  /* Contact Form Mobile */
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap { padding: 28px 20px; }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Trust Band Mobile */
  .trust-logos {
    gap: 24px;
  }

  .trust-logos img { height: 22px; }
}

/* =============================================================
   22. RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================= */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.6rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn { width: 100%; justify-content: center; }

  .section-title { font-size: 1.85rem; }

  .hero-badge { font-size: 0.76rem; }

  .step-line { width: 40px; }
}

/* =============================================================
   23. PRINT STYLES
   ============================================================= */
@media print {
  .site-header,
  .popup-overlay,
  .video-lightbox,
  .hero-video-wrap,
  .hero-scroll-cue {
    display: none !important;
  }

  body { background: white; color: black; }
  .hero { min-height: auto; padding: 40px 0; }
}

/* =============================================================
   24. REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-fade {
    opacity: 1;
    transform: none;
  }
}
