/* ==========================================================================
   AI ART HUB — Master Design System & Stylesheet
   Layout: Fixed Left Sidebar + Editorial Luxury Content Area
   Palette: Deep Dark Brown (#160D06) + Warm Gold (#D6A83A) + Warm Cream (#F4EBDD)
   Typography: Manrope / Outfit & Plus Jakarta Sans
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* 3-Color Primary Brand System */
  --bg-primary: #160d06;          /* Deep Dark Brown Base */
  --bg-secondary: #21140b;        /* Secondary Dark Brown Section */
  --bg-card: #24160d;             /* Dark Brown Card Surface */
  --bg-card-elevated: #2c1b10;    /* Elevated Card Surface */
  --bg-medium-brown: #342015;     /* Accent Brown */
  
  --gold-primary: #d6a83a;        /* Warm Golden Yellow Accent */
  --gold-soft: #e6c766;           /* Soft Light Gold */
  --gold-muted: #a8812c;          /* Muted Gold */
  --gold-glow: rgba(214, 168, 58, 0.12);
  --gold-border: rgba(214, 168, 58, 0.18);
  --gold-border-bright: rgba(230, 199, 102, 0.4);

  --text-primary: #f4ebdd;        /* Warm Cream / Beige */
  --text-secondary: #bfaf9c;      /* Soft Warm Neutral */
  --text-muted: #8c7b68;          /* Muted Warm Brown-Grey */

  --success-color: #2fb36d;
  --whatsapp-color: #25d366;

  /* Layout Dimensions */
  --sidebar-w: 250px;
  --topbar-h: 64px;
  --container-max: 1240px;
  --container-narrow: 920px;

  /* Typography */
  --font-heading: 'Manrope', 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Outfit', sans-serif;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --t-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --t-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --t-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(214, 168, 58, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--t-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* ==========================================================================
   Typography & Eyebrow System
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

.text-gold {
  color: var(--gold-primary) !important;
}

.text-cream {
  color: var(--text-primary) !important;
}

.lead-text {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.68;
  color: var(--text-secondary);
}

/* Small Uppercase Eyebrow Label */
.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.eyebrow-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--gold-primary);
}

.section-header {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-top: 0.4rem;
}

.section-header p {
  margin-top: 0.85rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Layout: Fixed Left Sidebar & Main Content
   ========================================================================== */

/* Fixed Desktop Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: #140b05;
  border-right: 1px solid var(--gold-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem 1.6rem;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sidebar-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #1d1108;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xs);
  padding: 3px;
}

.sidebar-brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.1;
  display: block;
}

.sidebar-brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
}

.sidebar-rule {
  width: 100%;
  height: 1px;
  background: var(--gold-border);
}

/* Navigation Links */
.sidebar-nav {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  position: relative;
  transition: all var(--t-fast);
}

.sidebar-nav-link:hover {
  color: var(--gold-primary);
  background: rgba(214, 168, 58, 0.06);
  padding-left: 1.1rem;
}

.sidebar-nav-link.active {
  color: var(--gold-primary);
  background: rgba(214, 168, 58, 0.1);
  font-weight: 700;
}

.sidebar-nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: var(--gold-primary);
  border-radius: 0 2px 2px 0;
}

/* Sidebar Bottom (Social Icons) */
.sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-social-list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-social-link {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: rgba(244, 235, 221, 0.04);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.sidebar-social-link:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  background: rgba(214, 168, 58, 0.12);
  transform: translateY(-2px);
}

.sidebar-social-link svg {
  width: 15px;
  height: 15px;
}

.sidebar-copyright {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Main Content Area (Offset to the right of sidebar) */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  position: relative;
}

/* Topbar (Mobile Header only) */
.topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--topbar-h);
  background: rgba(22, 13, 6, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border);
  z-index: 1100;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.topbar-logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.topbar-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.topbar-toggle {
  background: transparent;
  color: var(--gold-primary);
  padding: 0.4rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1990;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-normal);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 340px);
  height: 100vh;
  background: #140b05;
  border-left: 1px solid var(--gold-border);
  z-index: 2000;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--t-normal);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gold-border);
}

.mobile-drawer-close {
  background: transparent;
  color: var(--text-secondary);
  font-size: 1.8rem;
  line-height: 1;
  padding: 0.2rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.mobile-nav-item {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(214, 168, 58, 0.08);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--gold-primary);
  padding-left: 6px;
}

/* ==========================================================================
   Content Containers & Sections
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
}

.section {
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  position: relative;
}

.section-secondary {
  background-color: var(--bg-secondary);
}

.section-darker {
  background-color: #120904;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  width: 100%;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-primary);
  color: #160d06;
  border: 1px solid var(--gold-primary);
}

.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 168, 58, 0.35);
  color: #100803;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--gold-border);
}

.btn-secondary:hover {
  background: rgba(214, 168, 58, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp-color);
  color: #ffffff;
  border: 1px solid var(--whatsapp-color);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 0.95rem;
}

.btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Hero Section (Editorial Minimal)
   ========================================================================== */
.editorial-hero {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
}

.editorial-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-title-editorial {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-sub-editorial {
  max-width: 580px;
  margin-bottom: 2.2rem;
}

/* ==========================================================================
   2-Column & 3-Column Service Cards System
   ========================================================================== */
.services-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.editorial-service-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all var(--t-fast);
  position: relative;
}

.editorial-service-card:hover {
  background: var(--bg-card-elevated);
  border-color: var(--gold-border-bright);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-card-top {
  margin-bottom: 2rem;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  display: block;
}

.service-card-icon-gold {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: rgba(214, 168, 58, 0.08);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  transition: all var(--t-fast);
}

.editorial-service-card:hover .service-card-icon-gold {
  background: var(--gold-primary);
  color: #160d06;
  border-color: var(--gold-primary);
}

.service-card-icon-gold svg {
  width: 22px;
  height: 22px;
}

.editorial-service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.editorial-service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-card-link-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  transition: gap var(--t-fast);
}

.editorial-service-card:hover .service-card-link-gold {
  color: var(--gold-soft);
  gap: 0.75rem;
}

/* ==========================================================================
   Value Strip & Process Steps
   ========================================================================== */
.value-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 2.2rem 0;
}

.value-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card-editorial {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: rgba(214, 168, 58, 0.08);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

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

.value-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.value-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Process Timeline (6 steps) */
.process-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.process-card-editorial {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 2.2rem 1.75rem;
  transition: all var(--t-fast);
}

.process-card-editorial:hover {
  border-color: var(--gold-primary);
  background: var(--bg-card-elevated);
  transform: translateY(-4px);
}

.process-num-gold {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 0.85rem;
  display: block;
}

/* ==========================================================================
   About Section & Profile Card
   ========================================================================== */
.about-grid-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.founder-card-editorial {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.founder-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.founder-stat-box {
  border-left: 2px solid var(--gold-primary);
  padding-left: 1rem;
}

.founder-stat-box .val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
}

.founder-stat-box .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Local SEO & Interactive Calculator
   ========================================================================== */
.local-box-editorial {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4.5vw, 3.5rem);
}

.interactive-audit-card {
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
}

.audit-input-group {
  margin-bottom: 1rem;
}

.audit-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.audit-input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: rgba(244, 235, 221, 0.04);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--t-fast);
}

.audit-input:focus {
  border-color: var(--gold-primary);
  background: rgba(244, 235, 221, 0.07);
}

.audit-result-display {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(214, 168, 58, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xs);
  display: none;
}

.audit-result-display.active {
  display: block;
}

/* ==========================================================================
   Portfolio / Case Studies
   ========================================================================== */
.case-card-editorial {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-fast);
}

.case-card-editorial:hover {
  border-color: var(--gold-border-bright);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.case-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #100803;
  position: relative;
}

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

.case-card-editorial:hover .case-img-wrap img {
  transform: scale(1.05);
}

.case-content-editorial {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-outcome-pill {
  background: rgba(214, 168, 58, 0.08);
  border-left: 2px solid var(--gold-primary);
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: var(--gold-soft);
  margin-top: 1.25rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-item-editorial {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xs);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq-item-editorial.active {
  border-color: var(--gold-border-bright);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
}

.faq-icon-gold {
  color: var(--gold-primary);
  transition: transform var(--t-normal);
  flex-shrink: 0;
}

.faq-item-editorial.active .faq-icon-gold {
  transform: rotate(180deg);
}

.faq-answer-box {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-normal);
  padding: 0 1.5rem;
}

.faq-item-editorial.active .faq-answer-box {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Contact Section & Lead Form
   ========================================================================== */
.contact-grid-editorial {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-card-editorial {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4vw, 3rem);
}

.form-group-editorial {
  margin-bottom: 1.25rem;
}

.form-label-editorial {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-input-editorial,
.form-select-editorial,
.form-textarea-editorial {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(22, 13, 6, 0.7);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all var(--t-fast);
}

.form-input-editorial:focus,
.form-select-editorial:focus,
.form-textarea-editorial:focus {
  border-color: var(--gold-primary);
  background: rgba(22, 13, 6, 0.95);
  box-shadow: 0 0 12px rgba(214, 168, 58, 0.18);
}

.form-select-editorial option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-textarea-editorial {
  min-height: 110px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer-editorial {
  background: #100803;
  border-top: 1px solid var(--gold-border);
  padding: 4rem 0 2rem;
}

.footer-grid-editorial {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col-editorial h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links-list a:hover {
  color: var(--gold-soft);
  padding-left: 3px;
}

.footer-bottom-strip {
  padding-top: 2rem;
  border-top: 1px solid rgba(214, 168, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Portfolio Filter & Project Cards System
   ========================================================================== */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--t-fast);
}

.filter-btn:hover {
  background: var(--bg-card-elevated);
  border-color: var(--gold-border-bright);
  color: var(--text-cream);
}

.filter-btn.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #160d06;
  font-weight: 800;
}

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

.project-card-editorial {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--t-fast);
  height: 100%;
}

.project-card-editorial:hover {
  background: var(--bg-card-elevated);
  border-color: var(--gold-border-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.project-card-visual {
  position: relative;
  background: #110904;
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
}

.live-preview-window {
  position: relative;
  background: #110904;
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
}

.browser-bar {
  background: #1e1108;
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(214, 168, 58, 0.1);
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 235, 221, 0.2);
}

.browser-dot.red { background: #e06c75; }
.browser-dot.yellow { background: #e5c07b; }
.browser-dot.green { background: #98c379; }

.browser-url-bar {
  margin-left: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem 0.65rem;
  border-radius: 3px;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-preview-iframe-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  background: #0d0703;
  overflow: hidden;
}

.live-preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
}

.live-preview-toolbar-link {
  font-size: 0.68rem;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  text-decoration: none;
  transition: color var(--t-fast);
}

.live-preview-toolbar-link:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.project-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform var(--t-fast);
}

.project-card-editorial:hover .project-card-img {
  transform: scale(1.02);
}

.project-card-body {
  padding: 1.75rem 1.6rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.category-pill {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(214, 168, 58, 0.08);
  border: 1px solid rgba(214, 168, 58, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.project-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-cream);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.project-industry-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
  display: block;
}

.project-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-card-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(214, 168, 58, 0.1);
}

.btn-case-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--t-fast);
}

.btn-case-link:hover {
  color: var(--gold-soft);
  gap: 0.65rem;
}

.data-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(214, 168, 58, 0.06);
  border: 1px solid rgba(214, 168, 58, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  margin-top: 0.75rem;
}

.data-source-badge svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

/* ==========================================================================
   Case Study Page Specific Styles
   ========================================================================== */
.case-study-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.case-main-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.case-main-content h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--gold-soft);
}

.case-main-content p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.case-main-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.case-main-content ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.case-main-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: 700;
}

.case-meta-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 2rem 1.6rem;
  height: fit-content;
}

.case-meta-item {
  border-bottom: 1px solid rgba(214, 168, 58, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.case-meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.case-meta-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
  display: block;
}

.case-meta-value {
  font-size: 0.92rem;
  color: var(--text-cream);
}

.case-outcome-highlight {
  background: var(--bg-card-elevated);
  border-left: 3px solid var(--gold-primary);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.case-outcome-highlight h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.case-outcome-highlight p {
  margin-bottom: 0;
  color: var(--text-cream);
  font-size: 0.92rem;
}

/* ==========================================================================
   Editorial Image System & Visual Display Frames
   ========================================================================== */
.editorial-image-figure {
  margin: 2.5rem 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-card);
  transition: all var(--t-normal);
}

.editorial-image-figure:hover {
  border-color: var(--gold-border-bright);
  box-shadow: var(--shadow-hover);
}

.editorial-image-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0d0703;
}

.editorial-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.editorial-image-figure:hover .editorial-image-frame img {
  transform: scale(1.015);
}

.editorial-image-caption {
  padding: 0.85rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: var(--bg-card-elevated);
  border-top: 1px solid rgba(214, 168, 58, 0.12);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
}

.editorial-image-caption::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile-First Fine Tuning (320px - 1440px)
   ========================================================================== */
@media (max-width: 1200px) {
  .services-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid-editorial {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  /* Hide Desktop Fixed Sidebar, Show Topbar */
  .sidebar {
    display: none !important;
  }
  .topbar {
    display: flex !important;
  }
  .main-content {
    margin-left: 0 !important;
    padding-top: var(--topbar-h);
    max-width: 100%;
    min-height: auto;
    overflow-x: hidden;
  }
  .editorial-hero-grid,
  .about-grid-editorial,
  .contact-grid-editorial,
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
    max-width: 100%;
  }

  .section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }
  
  .editorial-hero {
    padding-top: 2rem;
    padding-bottom: 2.25rem;
  }

  .editorial-hero h1 {
    font-size: clamp(2rem, 7.5vw, 2.6rem);
    line-height: 1.15;
  }

  .services-grid-2,
  .services-grid-3,
  .portfolio-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .value-grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .process-grid-3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid-editorial {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .live-preview-iframe {
    height: 300px;
  }

  .project-card-editorial {
    flex-direction: column;
  }

  .project-card-actions {
    flex-direction: column;
    width: 100%;
  }

  .project-card-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section-header {
    margin-bottom: 1.35rem;
  }

  .editorial-hero {
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
  }

  .editorial-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
    line-height: 1.16;
  }

  .editorial-hero .lead-text {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-group .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .live-preview-iframe {
    height: 240px;
  }

  .browser-url-bar {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .project-card-body {
    padding: 1.25rem 1rem;
  }

  .topbar {
    padding: 0 1rem;
    height: 58px;
  }

  .topbar-logo-img {
    width: 32px;
    height: 32px;
  }

  .data-source-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }

  .editorial-image-caption {
    font-size: 0.75rem;
    padding: 0.65rem 0.85rem;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 14.5px;
  }

  .editorial-hero h1 {
    font-size: 1.65rem;
  }

  .browser-dot {
    width: 7px;
    height: 7px;
  }
}

