/* ═══════════════════════════════════════════════════════════
   GOLDSTONE CONSULTING GROUP — Shared Design System
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --gold: #C6A664;
  --gold-light: #D4BC8A;
  --gold-bright: #E8D5A3;
  --gold-dim: #9A7F4E;
  --ink: #1A1F2B;
  --ink-light: #222838;
  --ink-mid: #2A3040;
  --slate: #3D4450;
  --fog: #9CA5B0;
  --mist: #D5DCE4;
  --white: #F0F2F5;
  --pure-white: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--mist);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

.section-pad { padding: 120px 0; }

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ═══════════════════════════════════════
   SECTION LABELS & HEADINGS
   ═══════════════════════════════════════ */

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--pure-white);
  margin-bottom: 24px;
}
.section-heading em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  font-size: 17px;
  color: var(--fog);
  max-width: 600px;
  line-height: 1.8;
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 48px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(26, 31, 43, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(198, 166, 100, 0.1);
}
/* Sub-pages: nav always has background */
.nav.nav-solid {
  background: rgba(26, 31, 43, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(198, 166, 100, 0.1);
}
.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.4s ease;
}
.nav.scrolled .nav-inner {
  height: 64px;
}
.nav.nav-solid .nav-inner {
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo img {
  height: 52px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
  transition: height 0.4s ease;
}
.nav.scrolled .nav-logo img {
  height: 44px;
}
.nav.nav-solid .nav-logo img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--gold);
}
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  color: var(--gold) !important;
}
.nav-cta:hover {
  color: var(--gold-light) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(26, 31, 43, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mobile-menu.active {
  opacity: 1;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.3s ease;
}
.mobile-menu a:hover {
  color: var(--gold);
}

/* ═══════════════════════════════════════
   PAGE HERO (Sub-pages)
   ═══════════════════════════════════════ */

.page-hero {
  padding: 140px 0 80px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  display: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 166, 100, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .section-heading {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 16px;
}

.page-hero .section-sub {
  max-width: 640px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--fog);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb a:hover {
  color: var(--gold-light);
}
.breadcrumb .sep {
  color: var(--slate);
}

/* ═══════════════════════════════════════
   CONTENT BLOCKS
   ═══════════════════════════════════════ */

.content-section {
  padding: 100px 0;
}

.content-section + .content-section {
  border-top: 1px solid rgba(198, 166, 100, 0.06);
}

.content-section.alt-bg {
  background: var(--ink-light);
}

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

.content-grid.reverse {
  direction: rtl;
}
.content-grid.reverse > * {
  direction: ltr;
}

.content-block h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  color: var(--pure-white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.content-block h3 em {
  font-style: italic;
  color: var(--gold);
}

.content-block p {
  font-size: 16px;
  color: var(--fog);
  line-height: 1.9;
  margin-bottom: 16px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* Feature list in content blocks */
.feature-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 20px;
}
.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-list .feature-marker {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 166, 100, 0.3);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 14px;
  margin-top: 2px;
}
.feature-list .feature-text h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--pure-white);
  margin-bottom: 4px;
}
.feature-list .feature-text p {
  font-size: 14px;
  color: var(--fog);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Image blocks */
.img-block {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink-mid);
}
.img-block img,
.img-block video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out-expo);
}
.img-block:hover img,
.img-block:hover video {
  transform: scale(1.03);
}
.img-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,31,43,0.15) 0%, transparent 60%);
  pointer-events: none;
}
/* Gold corner accent on images */
.img-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: 2;
  opacity: 0.6;
}

/* Video block */
.video-block {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--ink-mid);
}
.video-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,31,43,0.1) 0%, transparent 40%, rgba(26,31,43,0.2) 100%);
  pointer-events: none;
}

/* Page hero with background image */
.page-hero--img {
  position: relative;
}
.page-hero--img .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--img .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--img .page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,31,43,0.7) 0%, rgba(26,31,43,0.85) 60%, var(--ink) 100%);
}
.page-hero--img .container {
  position: relative;
  z-index: 2;
}

/* Fullwidth image band */
.img-band {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--ink-mid);
}
.img-band img,
.img-band video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--ink) 0%, transparent 20%, transparent 80%, var(--ink-light) 100%);
  pointer-events: none;
}

/* Placeholder for missing images — remove once images are added */
.img-block--placeholder {
  background: var(--ink-mid);
  border: 1px solid rgba(198, 166, 100, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-block--placeholder::before { display: none; }
.img-block--placeholder::after {
  background: none;
}
.img-block--placeholder .placeholder-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  background: rgba(198, 166, 100, 0.08);
}

.process-step {
  background: var(--ink);
  padding: 48px 40px;
  position: relative;
  transition: background 0.4s ease;
}
.process-step:hover {
  background: var(--ink-mid);
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}
.process-step:hover::before {
  transform: scaleX(1);
}

.step-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 24px;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--pure-white);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 15px;
  color: var(--fog);
  line-height: 1.8;
}

/* CTA Banner */
.cta-banner {
  background: var(--gold);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(26, 31, 43, 0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(26, 31, 43, 0.03) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(26, 31, 43, 0.03) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(26, 31, 43, 0.03) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}
.cta-banner .container {
  position: relative;
  z-index: 1;
}
.cta-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 24px;
}
.cta-banner p {
  font-size: 17px;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--ink);
  padding: 20px 48px;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
}
.cta-btn:hover {
  background: var(--ink-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.cta-btn svg {
  transition: transform 0.3s ease;
}
.cta-btn:hover svg {
  transform: translateX(4px);
}

/* Service link cards */
.service-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(198, 166, 100, 0.08);
}

.service-link-card {
  background: var(--ink-light);
  padding: 56px 40px;
  text-decoration: none;
  position: relative;
  transition: background 0.5s ease;
  display: block;
}
.service-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}
.service-link-card:hover {
  background: var(--ink-mid);
}
.service-link-card:hover::before {
  transform: scaleX(1);
}

.service-link-card .service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  color: var(--gold);
}
.service-link-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--pure-white);
  margin-bottom: 16px;
}
.service-link-card p {
  font-size: 15px;
  color: var(--fog);
  line-height: 1.8;
  margin-bottom: 24px;
}
.service-link-card .card-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s var(--ease-out-expo);
}
.service-link-card:hover .card-arrow {
  gap: 14px;
}

/* ═══════════════════════════════════════
   TEAM CARDS (shared)
   ═══════════════════════════════════════ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  text-align: center;
  padding: 40px 24px;
  transition: transform 0.4s var(--ease-out-expo);
}
.team-card:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
  background: rgba(198, 166, 100, 0.08);
  border: 1px solid rgba(198, 166, 100, 0.2);
  transition: border-color 0.3s ease, background 0.3s ease;
  letter-spacing: 2px;
}
.team-card:hover .team-avatar {
  border-color: rgba(198, 166, 100, 0.5);
  background: rgba(198, 166, 100, 0.12);
}

.team-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--pure-white);
  margin-bottom: 6px;
}

.team-card .team-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.team-card .team-bio {
  font-size: 14px;
  color: var(--fog);
  line-height: 1.7;
}

/* Large team card variant for detail pages */
.team-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(198, 166, 100, 0.06);
}
.team-card-large {
  background: var(--ink);
  padding: 48px;
  text-align: left;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: background 0.4s ease;
}
.team-card-large:hover {
  background: var(--ink-mid);
}
.team-card-large .team-avatar {
  margin: 0;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  font-size: 24px;
}
.team-card-large h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--pure-white);
  margin-bottom: 4px;
}
.team-card-large .team-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.team-card-large .team-bio {
  font-size: 14px;
  color: var(--fog);
  line-height: 1.7;
}
.team-card-large .team-email {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}
.team-card-large .team-email:hover {
  color: var(--gold-light);
}

/* ═══════════════════════════════════════
   CONTACT COMPONENTS (shared)
   ═══════════════════════════════════════ */

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

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--pure-white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--slate);
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}
.form-group textarea { height: 120px; }
.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fog);
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  font-size: 10px;
  color: var(--gold);
}

.form-submit {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: none;
  padding: 18px 48px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  margin-top: 16px;
}
.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(198, 166, 100, 0.2);
}

.contact-detail {
  margin-bottom: 40px;
}
.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.contact-detail p,
.contact-detail a {
  font-size: 17px;
  color: var(--mist);
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.3s ease;
}
.contact-detail a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}
.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate);
  color: var(--fog);
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.social-link svg {
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.footer {
  background: var(--ink);
  border-top: 1px solid rgba(198, 166, 100, 0.1);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-logo img {
  height: 36px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  opacity: 0.7;
}

.footer-copy {
  font-size: 13px;
  color: var(--fog);
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: var(--fog);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--gold);
}

.back-to-top {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate);
  color: var(--fog);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
}
.back-to-top:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .content-grid.reverse {
    direction: ltr;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  /* Also override inline grid columns */
  .process-steps[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .service-link-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .service-link-grid[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid-large {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .nav { padding: 0 24px; }

  .section-pad { padding: 80px 0; }
  .content-section { padding: 72px 0; }
  .container { padding: 0 24px; }
  .container-narrow { padding: 0 24px; }

  .page-hero { padding: 100px 0 56px; }
  .page-hero .section-heading { font-size: clamp(28px, 8vw, 44px); }
  .page-hero .section-sub { font-size: 15px; }

  .section-heading { font-size: clamp(28px, 7vw, 40px); }
  .section-sub { font-size: 15px; }

  .nav-logo img { height: 40px; }
  .nav.scrolled .nav-logo img,
  .nav.nav-solid .nav-logo img { height: 36px; }
  .nav-inner { height: 64px; }
  .nav.scrolled .nav-inner,
  .nav.nav-solid .nav-inner { height: 56px; }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .team-card-large {
    flex-direction: column;
    padding: 32px 24px;
  }

  .img-band { height: 240px; }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .footer-left {
    flex-direction: column;
    gap: 12px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  /* Breadcrumb wrapping */
  .breadcrumb {
    flex-wrap: wrap;
  }

  /* Prevent long text overflow */
  .contact-detail a,
  .team-email a,
  .team-card-large .team-email {
    word-break: break-all;
  }

  /* CTA button mobile sizing */
  .cta-btn {
    padding: 18px 36px;
    font-size: 12px;
    letter-spacing: 2px;
  }

  /* Process steps override for inline 2-col grids */
  .process-steps[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Service link grid override for inline 4-col grids */
  .service-link-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .service-link-card {
    padding: 40px 24px;
  }
  .process-step {
    padding: 36px 24px;
  }
  .container,
  .container-narrow {
    padding: 0 16px;
  }
  .nav {
    padding: 0 16px;
  }
  .cta-btn {
    padding: 16px 28px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  .form-submit {
    padding: 16px 32px;
    font-size: 12px;
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
