/* ==========================================================================
   MARS WEB DEVELOPMENT STUDIO — LUXURY EDITORIAL CREAM & OBSIDIAN STYLESHEET
   Matching Reference Image 1 (Cream Texture BG), Image 2 (Hero Design),
   and Image 3 (Expanded Floating Brown Card with In-Card Service Detail Views)
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  /* Warm Luxury Champagne & Metallic Gold */
  --gold-primary: #C59B4B;
  --gold-light: #F7DC8D;
  --gold-sheen: #FFF5D6;
  --gold-dark: #8F6218;
  --gold-border: rgba(212, 175, 75, 0.42);
  --gold-glow: rgba(212, 175, 75, 0.25);
  
  /* Espresso & Charcoal Typography (on Cream Background) */
  --text-dark: #1A1412;
  --text-body: #4A3E38;
  --text-muted: #7E7169;
  --text-light: #FFFDF9;
  
  /* Cream Background & Accents */
  --cream-base: #F8F5F0;
  --cream-card: rgba(255, 255, 255, 0.65);
  --cream-border: rgba(197, 160, 89, 0.28);

  /* Dark Espresso Coding Card Aesthetics */
  --card-espresso-top: #241A14;
  --card-espresso-bot: #140E0A;
  --card-border: rgba(212, 175, 75, 0.42);
  --card-border-glow: rgba(247, 220, 141, 0.6);
  --card-shadow: 0 35px 80px -15px rgba(16, 10, 7, 0.75), 
                 0 15px 35px rgba(24, 16, 11, 0.4), 
                 0 0 50px rgba(212, 175, 75, 0.15);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Smooth Transitions */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-luxury);
  --transition-medium: 0.35s var(--ease-luxury);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  background-color: var(--cream-base);
  background-image: url('assets/website-bg.png');
  background-repeat: repeat;
  background-size: auto;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream-base);
  background-image: url('assets/website-bg.png');
  background-repeat: repeat;
  background-size: auto;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

/* Custom Selection */
::selection {
  background: #241A14;
  color: #F7DC8D;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: rgba(240, 235, 225, 0.8);
}
::-webkit-scrollbar-thumb {
  background: #C59B4B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8F6218;
}

/* Hide old video canvas */
#scroll-bg-canvas {
  display: none !important;
}

/* Ambient Canvas Background (Subtle Champagne Particles over Cream) */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* Main Page Wrapper */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION (MATCHING REFERENCE IMAGE 2)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0 16px 0;
  background: transparent;
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  padding: 14px 0;
  background: rgba(248, 245, 240, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.22);
  box-shadow: 0 4px 20px rgba(30, 20, 15, 0.05);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo: MARS✦ with gold star above R */
.brand-group {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(30, 20, 15, 0.12);
  transition: transform 0.3s ease;
}

.brand-group:hover .brand-logo-img {
  transform: scale(1.05) rotate(2deg);
}

.brand-mars-logo {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1A1412;
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-mars-star {
  font-size: 1.05rem;
  color: #C59B4B;
  position: absolute;
  top: -8px;
  left: 56%;
  transform: translateX(-50%);
  display: inline-block;
  line-height: 1;
  filter: drop-shadow(0 1px 3px rgba(197, 155, 75, 0.4));
}

/* Desktop Navigation Links */
.desktop-nav {
  display: block;
}

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

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: #2D2421;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 4px 2px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #C59B4B;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(45, 36, 33, 0.22);
  background: transparent;
  color: #2D2421;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.nav-search-btn:hover {
  border-color: #C59B4B;
  color: #C59B4B;
  transform: scale(1.05);
}

.nav-search-btn svg {
  width: 17px;
  height: 17px;
}

/* "Get a Quote →" and "Start a Project →" Capsule Pill Buttons */
.cta-pill-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1E1612;
  color: #FFFDF9;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid rgba(30, 22, 18, 0.9);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(30, 22, 18, 0.15);
  outline: none;
}

.cta-pill-dark:hover {
  background: #2D221C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 22, 18, 0.25);
  color: #FFFDF9;
}

.cta-pill-dark .arrow-right {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
  line-height: 1;
}

.cta-pill-dark:hover .arrow-right {
  transform: translateX(4px);
}

/* Glass CTA Pill */
.cta-pill-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFDF9;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 75, 0.35);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-pill-glass:hover {
  background: rgba(212, 175, 75, 0.16);
  border-color: #F7DC8D;
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.mobile-drawer.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 8, 0.6);
  backdrop-filter: blur(8px);
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #FAF7F2;
  border-left: 1px solid rgba(197, 160, 89, 0.35);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-medium), visibility var(--transition-medium);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.active .drawer-content {
  transform: translateX(0);
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  padding-bottom: 16px;
}

.drawer-close {
  background: rgba(30, 22, 18, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: #1A1412;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.drawer-close:hover {
  background: #1E1612;
  color: #FFFDF9;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
}

.drawer-link {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1A1412;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active {
  color: #C59B4B;
}

.drawer-contact-info {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #7E7169;
}

.drawer-contact-info a {
  color: #1A1412;
  text-decoration: none;
}

.w-100 {
  width: 100%;
}

/* ==========================================================================
   HERO SCROLL-TRACK & STAGE (MATCHING IMAGE 2 & 3)
   "isk baad scroll na ho" -> Compact track terminating at opened card!
   ========================================================================== */

.hero-scroll-track {
  position: relative;
  height: auto;
  width: 100%;
}

.hero-sticky-viewport {
  position: relative;
  height: auto;
  min-height: calc(100vh - 90px);
  width: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
}

.hero-section {
  position: relative;
  padding: 10px 0 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  width: 100%;
}

/* ==========================================================================
   HERO LEFT CONTENT: TYPOGRAPHY & BUTTONS (MATCHING REFERENCE IMAGE 2)
   ========================================================================== */

.hero-left-content {
  display: flex;
  flex-direction: column;
  z-index: 5;
  transition: opacity 0.3s ease;
}

/* Eyebrow Tag with Horizontal Gold Line */
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-eyebrow-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2D2421;
}

.hero-eyebrow-line {
  display: block;
  width: 54px;
  height: 1.5px;
  background: #C59B4B;
  border-radius: 1px;
}

/* Main Headline: WE BUILD DIGITAL EXPERIENCES */
.hero-main-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 26px;
  line-height: 1.02;
}

.hero-main-title .title-serif {
  font-family: var(--font-serif);
  font-size: 4.4rem;
  font-weight: 700;
  color: #1A1412;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1.02;
}

.hero-main-title .title-gold-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 4.8rem;
  font-weight: 500;
  color: #C59B4B;
  background: linear-gradient(135deg, #A87A2E 0%, #CFA556 45%, #E2BE78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.04;
  letter-spacing: 0;
  margin-top: 2px;
}

/* Subhead */
.hero-description {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 400;
  color: #554A43;
  line-height: 1.62;
  max-width: 480px;
  margin-bottom: 36px;
}

/* Buttons Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  outline: none;
}

.play-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #2D2421;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2D2421;
  transition: all 0.25s ease;
}

.play-icon-circle svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.play-text {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  color: #2D2421;
  transition: color 0.2s ease;
}

.hero-play-btn:hover .play-icon-circle {
  background: #1E1612;
  border-color: #1E1612;
  color: #FFFDF9;
  transform: scale(1.08);
}

.hero-play-btn:hover .play-text {
  color: #C59B4B;
}

/* ==========================================================================
   HERO RIGHT STAGE: 3D STAGE & MASTER DARK BROWN CODING CARD
   The Single Master Animated Element that opens on scroll
   ========================================================================== */

.hero-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  margin: 0 auto;
}

/* Stage Art: Frosted Glass Window & 3D Golden Ribbon */
.hero-stage-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-stage-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(45, 36, 33, 0.16));
}

/* THE ORIGINAL DARK BROWN CODING CARD (The One & Only Master Animated Card) */
.mars-coding-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 255px;
  margin-left: -130px;
  margin-top: -127px;
  background: linear-gradient(145deg, #241A14 0%, #150F0B 100%);
  border: 1.5px solid rgba(212, 175, 75, 0.42);
  border-radius: 26px;
  box-shadow: 0 30px 70px -10px rgba(10, 6, 4, 0.55), 
              0 12px 28px rgba(24, 16, 11, 0.35), 
              inset 0 1px 1.5px rgba(255, 238, 195, 0.38), 
              inset 0 0 30px rgba(212, 175, 55, 0.08);
  transform: translate3d(28px, -6px, 0) perspective(1200px) rotateY(-16deg) rotateX(8deg) rotateZ(4deg);
  transform-origin: center center;
  z-index: 90;
  overflow: hidden;
  cursor: default;
  animation: marsCardFloatIdle 6s ease-in-out infinite;
  text-decoration: none;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mars-coding-card:hover {
  transform: translate3d(28px, -14px, 0) perspective(1200px) rotateY(-12deg) rotateX(4deg) rotateZ(2deg) scale(1.03);
  box-shadow: 0 40px 90px -10px rgba(10, 6, 4, 0.65), 
              0 16px 36px rgba(24, 16, 11, 0.4), 
              0 0 50px rgba(212, 175, 75, 0.22), 
              inset 0 1px 1.5px rgba(255, 238, 195, 0.5);
}

.mars-coding-card.is-animating {
  animation: none !important;
}

.mars-coding-card.is-expanded {
  cursor: auto;
  overflow-y: auto;
}

@keyframes marsCardFloatIdle {
  0%, 100% {
    transform: translate3d(28px, -6px, 0) perspective(1200px) rotateY(-16deg) rotateX(8deg) rotateZ(4deg);
  }
  50% {
    transform: translate3d(28px, -14px, 0) perspective(1200px) rotateY(-13deg) rotateX(5deg) rotateZ(2.5deg);
  }
}

/* Ambient Glow & Specular Glass Reflection */
.card-ambient-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 40% 30%, rgba(212, 175, 75, 0.18) 0%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
  z-index: 0;
}

.card-glass-specular {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 240, 205, 0.12) 0%, rgba(255, 240, 205, 0) 100%);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* Resting State: The Golden Code Symbol Visible Initially (Image 2) */
.card-resting-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gold-code-symbol {
  width: 140px;
  height: 100px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(212, 167, 69, 0.45));
}

/* ==========================================================================
   EXPANDED STATE CONTENT: REVEALS INSIDE THE SAME CARD (MATCHING IMAGE 3)
   ========================================================================== */

.card-expanded-content {
  position: absolute;
  inset: 0;
  padding: 26px 34px 22px 34px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 75, 0.35) transparent;
}

.card-expanded-content::-webkit-scrollbar {
  width: 5px;
}
.card-expanded-content::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 75, 0.35);
  border-radius: 999px;
}

/* Window Titlebar with Dots & Badges (Matching Image 3) */
.panel-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 75, 0.16);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.panel-window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.p-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.p-dot:hover {
  transform: scale(1.2);
}
.p-dot.dot-1 { background: #E11D48; box-shadow: 0 0 8px rgba(225, 29, 72, 0.5); }
.p-dot.dot-2 { background: #D97706; box-shadow: 0 0 8px rgba(217, 119, 6, 0.5); }
.p-dot.dot-3 { background: #10B981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }

.panel-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 75, 0.12);
  border: 1px solid rgba(212, 175, 75, 0.38);
  padding: 5px 14px;
  border-radius: 999px;
}

.badge-mini-gold-code {
  width: 20px;
  height: 15px;
}

.panel-badge-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F7DC8D;
}

.panel-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #CFC5B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   VIEW 1: OVERVIEW 6-SERVICE GRID (MATCHING IMAGE 3)
   ========================================================================== */

.panel-view-overview {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Panel Header & About */
.panel-header-block {
  margin-bottom: 18px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.panel-main-heading {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 700;
  color: #FFFDF9;
  line-height: 1.15;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5DCA3 70%, #D4AF67 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel-about-wrap {
  max-width: 820px;
}

.panel-about-text {
  font-size: 0.94rem;
  font-weight: 400;
  color: #DDD4C8;
  line-height: 1.55;
}

/* Services 6-Card Grid (3 Columns x 2 Rows) */
.panel-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-bottom: 16px;
}

.service-panel-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 75, 0.22);
  border-radius: 16px;
  padding: 15px 15px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              background-color 0.25s ease, 
              box-shadow 0.25s ease;
  cursor: pointer;
  outline: none;
  user-select: none;
}

.service-panel-card:hover,
.service-panel-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 75, 0.65);
  background: rgba(212, 175, 75, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 175, 75, 0.16);
}

.service-card-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(212, 175, 75, 0.14);
  border: 1px solid rgba(212, 175, 75, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F7DC8D;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-panel-card:hover .service-card-icon-box,
.service-panel-card:focus-visible .service-card-icon-box {
  transform: scale(1.08);
  background: rgba(212, 175, 75, 0.24);
}

.service-card-icon-box svg {
  width: 18px;
  height: 18px;
}

.service-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #FFFDF9;
  margin-bottom: 3px;
}

.service-card-desc {
  font-size: 0.79rem;
  color: #BDB2A4;
  line-height: 1.45;
}

/* Guidance Footer */
.panel-footer-guidance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.76rem;
  color: #D4AF67;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.guidance-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #D4AF67;
}

/* ==========================================================================
   VIEW 2: IN-CARD DETAIL VIEW (OPENS INSIDE THE SAME CARD)
   "ab iske andr jitne options hai unko clik kre to wo open ho srif aur wo bhi is card mech"
   ========================================================================== */

.panel-view-detail {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fadeInDetail 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDetail {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.detail-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 75, 0.12);
  border: 1px solid rgba(212, 175, 75, 0.38);
  color: #F7DC8D;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.detail-back-pill:hover {
  background: rgba(212, 175, 75, 0.24);
  border-color: #F7DC8D;
  transform: translateX(-3px);
}

.detail-breadcrumb-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #CFC5B8;
  text-transform: uppercase;
}

.detail-header-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.detail-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(212, 175, 75, 0.18);
  border: 1.5px solid rgba(212, 175, 75, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F7DC8D;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(212, 175, 75, 0.25);
}

.detail-icon-box svg {
  width: 24px;
  height: 24px;
}

.detail-header-titles .detail-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFDF9;
  line-height: 1.15;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5DCA3 70%, #D4AF67 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.detail-header-titles .detail-tagline {
  font-size: 0.86rem;
  color: #D6CCC0;
  font-weight: 500;
  margin-top: 2px;
}

.detail-overview-text {
  font-size: 0.92rem;
  color: #E2DDD5;
  line-height: 1.55;
  margin-bottom: 18px;
}

.detail-deliverables-section {
  margin-bottom: 20px;
}

.detail-section-title {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F7DC8D;
  margin-bottom: 10px;
}

.detail-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.deliverable-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 75, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.deliverable-spark {
  color: #F7DC8D;
  font-size: 0.9rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.deliverable-text-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFDF9;
  margin-bottom: 2px;
}

.deliverable-text-desc {
  font-size: 0.76rem;
  color: #BDB2A4;
  line-height: 1.35;
}

.detail-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 10px;
  flex-wrap: wrap;
}

.detail-secondary-back {
  background: transparent;
  border: 1px solid rgba(212, 175, 75, 0.3);
  color: #DDD4C8;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.detail-secondary-back:hover {
  border-color: #F7DC8D;
  color: #FFFDF9;
  background: rgba(212, 175, 75, 0.08);
}

/* ==========================================================================
   BOTTOM FEATURE STRIP (MATCHING REFERENCE IMAGE 2)
   </> Web Development | Web Design | Optimization | Maintenance
   ========================================================================== */

.hero-bottom-strip-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 20px auto 0 auto;
  padding: 0 36px;
  transition: opacity 0.3s ease;
}

.hero-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 10px 0;
  border-top: 1px solid rgba(197, 160, 89, 0.28);
}

.feature-strip-item {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: default;
}

.feature-strip-icon {
  width: 22px;
  height: 22px;
  color: #C59B4B;
  flex-shrink: 0;
}

.feature-strip-text {
  text-decoration: none !important;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #2D2421;
  letter-spacing: 0.01em;
}

.feature-strip-sep {
  width: 1px;
  height: 24px;
  background: rgba(197, 160, 89, 0.35);
}

/* ==========================================================================
   MODALS (GET A QUOTE / START A PROJECT)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 8, 0.72);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  background: #FAF7F2;
  border: 1.5px solid rgba(197, 160, 89, 0.5);
  border-radius: 28px;
  padding: 38px 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-medium);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: rgba(30, 22, 18, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.35);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: #1A1412;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: #1E1612;
  color: #FFFDF9;
}

.modal-header {
  margin-bottom: 24px;
}

.modal-eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C59B4B;
  display: block;
  margin-bottom: 6px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: #1A1412;
  line-height: 1.2;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.92rem;
  color: #554A43;
}

.project-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2D2421;
}

.form-input {
  background: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #1A1412;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: #C59B4B;
  box-shadow: 0 0 0 3px rgba(197, 155, 75, 0.18);
}

.service-pills-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-pill-choice {
  background: rgba(30, 22, 18, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: #2D2421;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-pill-choice.active,
.service-pill-choice:hover {
  background: #1E1612;
  border-color: #1E1612;
  color: #FFFDF9;
}

.submit-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1E1612;
  color: #FFFDF9;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.submit-inquiry-btn:hover {
  background: #2D221C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 22, 18, 0.2);
}

/* Success Confirmation State */
.modal-success-state {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.modal-success-state.active {
  display: block;
}

.success-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(197, 155, 75, 0.15);
  border: 1.5px solid #C59B4B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #C59B4B;
  margin: 0 auto 16px auto;
}

.modal-success-state h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #1A1412;
  margin-bottom: 8px;
}

.modal-success-state p {
  color: #554A43;
  font-size: 0.92rem;
}

/* Global Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  background: #1E1612;
  color: #FFFDF9;
  border: 1px solid rgba(212, 175, 75, 0.45);
  border-radius: 999px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.toast-notification.active {
  opacity: 1;
  transform: translateY(0);
}

.toast-sparkle {
  color: #F7DC8D;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-eyebrow-row {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-main-title .title-serif {
    font-size: 3.4rem;
  }
  .hero-main-title .title-gold-italic {
    font-size: 3.8rem;
  }
  .panel-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-deliverables-grid {
    grid-template-columns: 1fr;
  }
  .hero-bottom-strip {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .feature-strip-sep {
    display: none;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .header-actions .cta-pill-dark {
    display: none; /* Keep mobile top header clean and uncluttered */
  }
  .mobile-toggle {
    display: flex;
  }
  .site-header {
    padding: 16px 0 10px 0;
  }
  .header-container {
    padding: 0 20px;
  }
  .hero-container {
    padding: 15px 20px 0 20px;
    gap: 24px;
  }
  .hero-scroll-track {
    height: calc(100vh + 500px);
  }
  .hero-eyebrow-row {
    margin-bottom: 14px;
  }
  .hero-main-title {
    margin-bottom: 16px;
  }
  .hero-main-title .title-serif {
    font-size: 2.3rem;
  }
  .hero-main-title .title-gold-italic {
    font-size: 2.6rem;
  }
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .hero-stage-wrap {
    height: 320px;
  }
  .panel-window-bar {
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  .panel-badge-pill {
    padding: 3px 8px;
    gap: 6px;
  }
  .panel-badge-text {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }
  .badge-mini-gold-code {
    width: 14px;
    height: 10px;
  }
  .panel-live-pill {
    font-size: 0.62rem;
  }
  .card-expanded-content {
    padding: 18px 14px;
  }
  .panel-services-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .panel-main-heading {
    font-size: 1.4rem;
  }
  .panel-about-text {
    font-size: 0.82rem;
  }
  .hero-bottom-strip-wrap {
    padding: 0 16px;
  }
  .hero-bottom-strip {
    padding: 14px 0 6px 0;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .modal-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   PORTFOLIO (SELECTED WORK — MATCHING REFERENCE IMAGE 2)
   Browser-style panel, dynamic category pills, alternating card showcase
   ========================================================================== */

.site-section {
  padding: 70px 0;
  position: relative;
  width: 100%;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 36px;
  width: 100%;
}

/* Browser-style Dark Espresso Panels */
.services-browser-panel,
.portfolio-browser-panel,
.editorial-browser-panel {
  background: linear-gradient(145deg, #241A14 0%, #150F0B 100%);
  border: 1.5px solid rgba(212, 175, 75, 0.42);
  border-radius: 28px;
  box-shadow: 0 35px 80px -15px rgba(16, 10, 7, 0.45), 
              0 15px 35px rgba(24, 16, 11, 0.25), 
              0 0 50px rgba(212, 175, 75, 0.12), 
              inset 0 1px 1.5px rgba(255, 238, 195, 0.35);
  padding: 30px 36px 26px 36px;
  position: relative;
  overflow: hidden;
}

/* Portfolio Header Row */
.portfolio-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.portfolio-main-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: #FFFDF9;
  line-height: 1.15;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5DCA3 70%, #D4AF67 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-subtitle {
  font-size: 0.94rem;
  color: #DDD4C8;
}

/* Category Filter Pills (Matching Image 2) */
.portfolio-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 75, 0.28);
  color: #DDD4C8;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  user-select: none;
}

.filter-pill:hover,
.filter-pill.active {
  background: rgba(212, 175, 75, 0.16);
  border-color: #F7DC8D;
  color: #FFFDF9;
  box-shadow: 0 0 16px rgba(212, 175, 75, 0.22);
}

/* Portfolio Showcase Grid (Alternating 2-Col + 1-Wide Row Layout) */
.portfolio-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 75, 0.22);
  border-radius: 20px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 22px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease,
              background-color 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 220, 141, 0.65);
  background: rgba(212, 175, 75, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(212, 175, 75, 0.18);
}

/* Wide Project Card (Row 2 matching Aurel in Image 2) */
.project-card.is-wide {
  grid-column: 1 / -1;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 24px 30px;
}

.project-card.is-wide::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  background-image: url('assets/portfolio-gold-ribbon.png');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  pointer-events: none;
  opacity: 0.85;
}

/* Laptop Mockup Frame */
.device-mockup-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.device-mockup-frame {
  width: 100%;
  border-radius: 10px 10px 0 0;
  background: #0D0A08;
  border: 2px solid #2D2421;
  border-bottom: none;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.device-mockup-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.project-card:hover .device-mockup-img {
  transform: scale(1.03);
}

.device-mockup-base {
  width: 104%;
  height: 9px;
  background: linear-gradient(180deg, #A8A29E 0%, #57534E 100%);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  margin-top: -1px;
}

/* Project Text Column */
.project-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 3;
}

.project-cat-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 75, 0.42);
  background: rgba(212, 175, 75, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F7DC8D;
  margin-bottom: 10px;
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #FFFDF9;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.project-card-desc {
  font-size: 0.86rem;
  color: #D6CCC0;
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 380px;
}

.project-view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #F7DC8D;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(247, 220, 141, 0.4);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.project-card:hover .project-view-link {
  border-color: #F7DC8D;
  transform: translateX(3px);
}

/* Panel Footer Bar (Matching Image 2) */
.portfolio-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 75, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #C59B4B;
  text-transform: uppercase;
}

.footer-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-count-pipe {
  opacity: 0.5;
}

.footer-explore-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.explore-pointer-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ==========================================================================
   PROCESS SECTION (EDITORIAL BROWSER PANEL)
   ========================================================================== */

.process-stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.process-stage-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 75, 0.22);
  border-radius: 18px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.process-stage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 220, 141, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 175, 75, 0.14);
}

.stage-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stage-number {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: #F7DC8D;
  line-height: 1;
}

.stage-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #C59B4B;
  background: rgba(212, 175, 75, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 75, 0.28);
}

.stage-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFDF9;
  margin-bottom: 8px;
  line-height: 1.25;
}

.stage-desc {
  font-size: 0.82rem;
  color: #BDB2A4;
  line-height: 1.5;
  margin-bottom: 16px;
}

.stage-deliverable {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 75, 0.16);
  font-size: 0.74rem;
  font-weight: 600;
  color: #F7DC8D;
  display: flex;
  align-items: center;
  gap: 6px;
}

.deliv-spark {
  color: #C59B4B;
}

/* ==========================================================================
   ABOUT MARS STUDIO
   ========================================================================== */

.about-content-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-top: 10px;
}

.about-lead-text {
  font-size: 1.08rem;
  font-weight: 400;
  color: #E2DDD5;
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-secondary-text {
  font-size: 0.92rem;
  color: #BDB2A4;
  line-height: 1.6;
  margin-bottom: 28px;
}

.about-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.about-pillars-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 75, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
  transform: translateX(4px);
  border-color: rgba(247, 220, 141, 0.5);
}

.pillar-icon {
  font-size: 1.25rem;
  line-height: 1;
  color: #F7DC8D;
  margin-top: 2px;
  flex-shrink: 0;
}

.pillar-content h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFDF9;
  margin-bottom: 3px;
}

.pillar-content p {
  font-size: 0.78rem;
  color: #BDB2A4;
  line-height: 1.4;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  padding: 45px 0 35px 0;
  border-top: 1px solid rgba(197, 160, 89, 0.25);
  background: transparent;
  width: 100%;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #7E7169;
}

.footer-links-col {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links-col a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2D2421;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: #C59B4B;
}

.footer-copy-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.82rem;
  color: #7E7169;
}

.footer-contact-link a {
  color: #1A1412;
  font-weight: 600;
  text-decoration: none;
}

.footer-contact-link a:hover {
  color: #C59B4B;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR NEW SECTIONS
   ========================================================================== */

@media (max-width: 1024px) {
  .process-stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-content-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services-browser-panel,
.portfolio-browser-panel,
  .editorial-browser-panel {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .portfolio-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .portfolio-showcase-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-card,
  .project-card.is-wide {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    padding: 18px 16px;
    gap: 16px;
  }
  .project-card.is-wide::after {
    display: none;
  }
  .process-stages-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-copy-col {
    align-items: flex-start;
  }
}


/* Services Section */
.services-section {
  padding: 60px 0 40px 0;
  position: relative;
  z-index: 5;
}
