/*
 * Digital Media Forge — Main Stylesheet
 * North East England's Premium Digital Media Agency
 * Version: 1.0.0
 * ============================================================ */

/* ===== 1. RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; border: none; background: none; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ===== 2. CSS VARIABLES ===== */
:root {
  /* Palette */
  --bg:             #080808;
  --bg-2:           #0e0e0e;
  --bg-3:           #161616;
  --bg-card:        #1c1c1c;
  --gold:           #C9A84C;
  --gold-light:     #E2C46A;
  --gold-dark:      #9A7A2E;
  --white:          #FFFFFF;
  --text:           #DCDCDC;
  --text-muted:     #7A7A7A;
  --text-subtle:    #444444;
  --border:         #1e1e1e;
  --border-light:   #2c2c2c;

  /* Typography */
  --font-display:   'Bebas Neue', 'Impact', sans-serif;
  --font-heading:   'Raleway', 'Segoe UI', sans-serif;
  --font-body:      'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --sp-12: 6rem;
  --sp-16: 8rem;

  /* Layout */
  --max-w:     1400px;
  --pad-x:     clamp(1.25rem, 5vw, 3.5rem);
  --nav-h:     80px;
  --radius-sm: 3px;
  --radius:    6px;
  --radius-lg: 14px;

  /* Effects */
  --transition:      0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:          0 6px 30px rgba(0,0,0,0.5);
  --shadow-gold:     0 0 40px rgba(201,168,76,0.12);
  --glow-gold:       0 0 60px rgba(201,168,76,0.2);
}

/* ===== 3. TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Raleway:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; color: var(--white); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { font-weight: 300; color: var(--text); }

.display-text {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 14rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}
.section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--sp-3);
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ===== 4. BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: #000;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-gold-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== 5. LAYOUT UTILITIES ===== */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section-pad { padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(4rem, 8vw, 8rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }

/* Image placeholder (swap with real photos) */
.img-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #222222 50%, #181818 100%);
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ===== 6. NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-light);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--sp-4);
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
}
.nav-logo .logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--gold);
  color: #000;
  font-size: 1.1rem;
  font-family: var(--font-display);
  letter-spacing: 0;
  border-radius: 3px;
}
.nav-logo .logo-text span { color: var(--gold); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-item > a:hover,
.nav-item.active > a { color: var(--gold); }
.nav-item.has-dropdown > a svg { width: 10px; height: 10px; transition: transform var(--transition); }
.nav-item.has-dropdown:hover > a svg,
.nav-item.has-dropdown.open > a svg { transform: rotate(180deg); }

.nav-cta { margin-left: var(--sp-2); }
.nav-cta .btn { padding: 0.65rem 1.5rem; font-size: 0.72rem; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== 7. MEGA-MENU ===== */
.mega-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(11,11,11,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: var(--sp-6) var(--pad-x);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  z-index: 800;
}
.nav-item.has-dropdown:hover .mega-menu,
.nav-item.has-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 260px;
  gap: var(--sp-4);
}
.mega-col h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-1);
  border-bottom: 1px solid var(--border-light);
}
.mega-col ul { display: flex; flex-direction: column; gap: 0.1rem; }
.mega-col ul li a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--transition), padding-left var(--transition);
}
.mega-col ul li a:hover { color: var(--white); padding-left: 6px; }
.mega-featured {
  background: var(--bg-3);
  border-radius: var(--radius);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.mega-featured .featured-img {
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #252525);
}
.mega-featured .featured-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.mega-featured .featured-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.mega-featured .featured-link {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}
.mega-featured .featured-link:hover { color: var(--gold-light); }

/* ===== 8. HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
/* Animated orbs */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 60%);
  animation: orb-float 12s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  bottom: -15%;
  left: -5%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 60%);
  animation: orb-float 16s ease-in-out infinite alternate-reverse;
}
@keyframes orb-float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, 30px) scale(1.1); }
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
}
.hero h1.display-text {
  margin-bottom: var(--sp-4);
  max-width: 14ch;
}
.hero h1.display-text em {
  font-style: normal;
  color: var(--gold);
  -webkit-text-stroke: 0;
}
.hero-sub {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.hero-scroll .scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== 9. MARQUEE / TICKER ===== */
.ticker {
  background: var(--gold);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 3rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
}
.ticker-item::after {
  content: '◆';
  font-size: 0.5rem;
  opacity: 0.5;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== 10. SECTION COMPONENTS ===== */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-label::before { display: none; }
.section-header h2 { margin-bottom: var(--sp-2); }
.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* Gold rule divider */
.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: var(--sp-3) 0;
}
.centered .gold-rule { margin-left: auto; margin-right: auto; }

/* ===== 11. SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}
.service-card {
  background: var(--bg);
  padding: var(--sp-6) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: background var(--transition);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { background: var(--bg-2); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-card-icon { color: var(--gold); border-color: var(--gold); }
.service-card-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.service-card-icon svg { width: 24px; height: 24px; }
.service-card h3 { color: var(--white); font-size: 1.25rem; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.service-card-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}
.service-card:hover .service-card-link { gap: 0.7rem; }
.service-card-link svg { width: 14px; height: 14px; }
.service-card-number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--border-light);
  line-height: 1;
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  transition: color var(--transition);
}
.service-card:hover .service-card-number { color: var(--border); }

/* ===== 12. ABOUT INTRO ===== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.about-intro-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
}
.about-intro-img img,
.about-intro-img .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-intro-img::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.about-badges {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
}
.badge {
  padding: 0.4rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== 13. PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: var(--sp-2);
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg-3);
}
.portfolio-item:nth-child(1) { grid-column: span 7; grid-row: span 2; aspect-ratio: 4/3; }
.portfolio-item:nth-child(2) { grid-column: span 5; aspect-ratio: 16/9; }
.portfolio-item:nth-child(3) { grid-column: span 5; aspect-ratio: 16/9; }
.portfolio-item:nth-child(4) { grid-column: span 6; aspect-ratio: 16/9; }
.portfolio-item:nth-child(5) { grid-column: span 6; aspect-ratio: 16/9; }
.portfolio-item img,
.portfolio-item .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-3);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-item img { transition: transform var(--transition-slow); }
.portfolio-overlay .tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.portfolio-overlay h3 { font-size: 1.1rem; color: var(--white); }

/* ===== 14. STATS BAR ===== */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--sp-8) var(--pad-x);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: block;
}

/* ===== 15. TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  font-size: 0.9rem;
}
.testimonial-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.testimonial-text::before { content: '\201C'; }
.testimonial-text::after  { content: '\201D'; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-3);
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-author-info .name { font-size: 0.85rem; font-weight: 700; color: var(--white); }
.testimonial-author-info .role { font-size: 0.75rem; color: var(--text-muted); }

/* ===== 16. BLOG PREVIEW ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: var(--border-light); transform: translateY(-4px); }
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img img,
.blog-card-img .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img img { transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: var(--sp-3); flex: 1; display: flex; flex-direction: column; gap: var(--sp-2); }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.blog-cat { color: var(--gold); }
.blog-card h3 { font-size: 1rem; line-height: 1.4; color: var(--white); flex: 1; }
.blog-card-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

/* ===== 17. CTA SECTIONS ===== */
.cta-full {
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
  text-align: center;
}
.cta-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.cta-full-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.cta-full .display-text { font-size: clamp(3rem, 8vw, 7rem); }
.cta-full-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; justify-content: center; }

.cta-banner {
  background: var(--gold);
  padding: var(--sp-6) var(--pad-x);
}
.cta-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.cta-banner h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); color: #000; }
.cta-banner p { color: rgba(0,0,0,0.65); font-size: 0.9rem; }
.cta-banner .btn { background: #000; color: var(--gold); flex-shrink: 0; }
.cta-banner .btn:hover { background: #111; }

/* ===== 18. PROCESS STEPS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light) 20%, var(--gold) 50%, var(--border-light) 80%, transparent);
}
.process-step { text-align: center; position: relative; padding-top: var(--sp-6); }
.process-step-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
}
.process-step h4 { color: var(--white); margin-bottom: var(--sp-1); }
.process-step p { font-size: 0.83rem; color: var(--text-muted); }

/* ===== 19. SERVICE PAGE HERO ===== */
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 14ch; margin-bottom: var(--sp-2); }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; line-height: 1.75; margin-bottom: var(--sp-4); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--text-subtle); font-size: 0.6rem; }

/* ===== 20. FEATURES LIST ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.feature-item {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.feature-item:hover { border-color: var(--border-light); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-text h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 0.3rem; }
.feature-text p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ===== 21. FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.faq-item { background: var(--bg); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-heading);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 var(--sp-4) var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ===== 22. PACKAGES ===== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--transition), transform var(--transition);
}
.package-card.featured {
  border-color: var(--gold);
  position: relative;
}
.package-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.package-card:hover { transform: translateY(-4px); }
.package-name { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.package-price { font-family: var(--font-display); font-size: 3rem; color: var(--white); line-height: 1; }
.package-price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-muted); }
.package-desc { font-size: 0.83rem; color: var(--text-muted); }
.package-features { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.package-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--text);
}
.package-features li svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

/* ===== 23. CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-8); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-detail { display: flex; gap: var(--sp-2); align-items: flex-start; }
.contact-detail-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail h4 { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.contact-detail p, .contact-detail a { font-size: 0.9rem; color: var(--white); }
.contact-detail a:hover { color: var(--gold); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--white);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--bg-3); }
.contact-form { display: flex; flex-direction: column; gap: var(--sp-2); }

/* ===== 24. FOOTER ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-light);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-brand .footer-logo { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); display: flex; align-items: center; gap: 0.5rem; }
.footer-brand .footer-logo .logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--gold); color: #000; font-family: var(--font-display); font-size: 1rem; border-radius: 3px; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; max-width: 300px; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--sp-3);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; flex-direction: column; margin-bottom: var(--sp-2); }
.footer-contact-item span:first-child { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 0.2rem; }
.footer-contact-item a, .footer-contact-item p { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-subtle); }
.footer-legal {
  display: flex;
  gap: var(--sp-3);
}
.footer-legal a { font-size: 0.75rem; color: var(--text-subtle); transition: color var(--transition); }
.footer-legal a:hover { color: var(--text-muted); }

/* ===== 25. SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== 26. CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, transform 0.12s ease;
}
body.cursor-hover .cursor { width: 12px; height: 12px; }
body.cursor-hover .cursor-ring { width: 52px; height: 52px; }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ===== 27. MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 850;
  padding: var(--sp-4) var(--pad-x);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--white);
}
.mobile-sub { display: none; padding: var(--sp-1) 0 var(--sp-2) var(--sp-3); }
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.mobile-nav-cta { margin-top: auto; display: flex; flex-direction: column; gap: var(--sp-2); }

/* ===== 28. RESPONSIVE ===== */
@media (max-width: 1200px) {
  .mega-menu-inner { grid-template-columns: repeat(2, 1fr) 240px; }
  .mega-col:nth-child(n+3):not(.mega-featured) { display: none; }
}
@media (max-width: 1024px) {
  .nav-list, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .about-intro-grid { grid-template-columns: 1fr; }
  .about-intro-img { max-height: 400px; }
  .portfolio-item:nth-child(1) { grid-column: span 12; grid-row: span 1; }
  .portfolio-item:nth-child(n+2) { grid-column: span 6; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { grid-column: span 1 !important; aspect-ratio: 16/9; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero h1.display-text { font-size: clamp(3.5rem, 16vw, 6rem); }
  .services-grid { grid-template-columns: 1fr; }
}
