/* GreySapience — Design 06: Graphite Ash & Amber Blueprint (Brand-Matched Variation) */
:root {
  --bg: #EFF0F2;
  --bg-soft: #E4E6EA;
  --surface: #FFFFFF;
  --ink: #322D29;
  --ink-soft: #544F4B;
  --muted: #706B67;
  --border: #D7D9DF;
  --border-strong: #BFC2C9;
  --accent: #E48233;
  --accent-hover: #C86A1E;
  --accent-soft: #FDF0E3;
  --coral: #E48233;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --shadow-soft: 0 10px 28px rgba(50, 45, 41, 0.06);
  --shadow-hover: 0 16px 38px rgba(50, 45, 41, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Crisp Architectural Topbar ---------- */
.cobalt-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(239, 240, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-strong);
}

.cobalt-header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 31px;
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* Desktop Navigation */
.cobalt-nav {
  display: flex;
  align-items: center;
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.desktop-nav-links a:hover,
.desktop-nav-links a.active {
  color: var(--ink);
  background: var(--surface);
}

.desktop-nav-links a.active {
  color: var(--accent-hover);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.mobile-popup-menu {
  display: none;
}

.nav-arrow {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0 !important;
}

.header-action-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}

.btn-cobalt {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-cobalt:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(228, 130, 51, 0.28);
}

.btn-navy {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-navy:hover {
  background: #211D1A;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #322D29 !important;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
}

.mobile-toggle.active {
  background: rgba(228, 130, 51, 0.1);
  border-color: var(--accent);
}

.mobile-toggle.active .bar-top {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent);
}

.mobile-toggle.active .bar-mid {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .bar-bot {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19, 17, 15, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 1999;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-hover);
  margin-bottom: 12px;
}

.kicker-square {
  width: 7px;
  height: 7px;
  background: var(--accent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.hero-h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  margin-bottom: 16px;
}

.section-h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.04rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

section[id],
div[id] {
  scroll-margin-top: 86px;
}

/* ---------- Full-Width Section Three.js Backgrounds (Hero & How We Work Only) ---------- */
.cobalt-hero,
.workflow-section {
  position: relative;
  overflow: clip;
}

.workflow-section {
  background:
    radial-gradient(circle at 16% 24%, rgba(228, 130, 51, 0.13) 0%, transparent 46%),
    radial-gradient(circle at 86% 78%, rgba(50, 45, 41, 0.08) 0%, transparent 44%),
    linear-gradient(148deg, #F4ECE1 0%, #EAE1D5 100%);
  border-top: 1px solid #DDD4C7;
  border-bottom: 1px solid #DDD4C7;
}

.section-three-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.cobalt-hero > .container,
.workflow-section > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Reversed Split Hero: Collage LEFT + Editorial Copy RIGHT ---------- */
.cobalt-hero {
  padding: 54px 0 38px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 80% 18%, rgba(228, 130, 51, 0.10) 0%, transparent 44%),
    radial-gradient(circle at 10% 84%, rgba(50, 45, 41, 0.05) 0%, transparent 42%),
    linear-gradient(162deg, #F9FAFB 0%, #ECEEF2 100%);
}

.cobalt-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 52px;
  align-items: center;
}

.cobalt-hero-grid > * {
  min-width: 0;
}

.hero-collage-col {
  position: relative;
}

.hero-blueprint-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}

.hero-blueprint-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-navy-card {
  position: relative;
  margin: -42px 20px 0 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 14px 30px rgba(50, 45, 41, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-navy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F4A564;
}

.hero-navy-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.navy-chip {
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(228, 130, 51, 0.30);
  font-size: 0.77rem;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.navy-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-right-copy .lead {
  max-width: 52ch;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-scroll-bar {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-strong);
  transition: all 0.22s var(--ease);
}

.hero-scroll-btn:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.scroll-arrow-bob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.82rem;
  animation: arrowBob 2.2s ease-in-out infinite;
}

@keyframes arrowBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.hero-jump-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.jump-label {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-right: 4px;
}

.jump-link {
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.jump-link:hover,
.jump-link.active {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent-hover);
}

/* ---------- Floating Right Side Section Rail ---------- */
.section-rail {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 8px 24px rgba(50, 45, 41, 0.08);
}

.section-rail-link {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--border-strong);
  transition: all 0.22s var(--ease);
}

.section-rail-link:hover .section-rail-dot {
  background: var(--ink);
  transform: scale(1.25);
}

.section-rail-link.active .section-rail-dot {
  background: var(--accent);
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.section-rail-tip {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.18s ease;
}

.section-rail-link:hover .section-rail-tip,
.section-rail-link:focus-visible .section-rail-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 46;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(50, 45, 41, 0.20);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease), background 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent);
  color: #FFFFFF;
}

@media (max-width: 1180px) {
  .section-rail {
    display: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

.section-mist {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-center-head {
  text-align: center;
  max-width: 58ch;
  margin: 0 auto 46px;
}

.section-center-head p {
  color: var(--ink-soft);
}

/* ---------- Disciplines Carousel Bottom Nav (Capabilities & Solutions) ---------- */
.carousel-nav-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

.carousel-nav-bottom .slider-dot-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  background: #F4F5F7;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(50, 45, 41, 0.03);
}

.slider-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C4C8D0;
  border: none;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  padding: 0;
  outline: none;
}

.slider-dot-btn:hover {
  background: var(--ink-soft);
  transform: scale(1.25);
}

.slider-dot-btn.active {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(228, 130, 51, 0.26);
}

.disciplines-slider-container {
  position: relative;
  overflow: hidden;
  margin: 0 -8px;
  padding: 8px;
}

.disciplines-slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 12px;
}

.disciplines-slider-track::-webkit-scrollbar {
  display: none;
}

.disciplines-slider-track .blueprint-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 290px;
  scroll-snap-align: start;
}

@media (max-width: 1080px) {
  .disciplines-slider-track .blueprint-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}

@media (max-width: 680px) {
  .disciplines-slider-track .blueprint-card {
    flex: 0 0 88%;
  }
}

/* ---------- Design 06 Top-Accented Architectural Services Grid ---------- */
.blueprint-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blueprint-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 3px 14px rgba(50, 45, 41, 0.035);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-top-color 0.25s ease;
}

.blueprint-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-top-color: var(--ink);
}

.blueprint-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.blueprint-art {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprint-art svg {
  width: 100%;
  max-height: 126px;
}

/* Disciplines Actual Photography Cards */
.blueprint-photo {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.blueprint-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.blueprint-card:hover .blueprint-photo img {
  transform: scale(1.06);
}

.blueprint-card h3 {
  font-size: 1.24rem;
  margin-bottom: 6px;
}

.blueprint-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.blueprint-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  margin-top: auto;
  min-height: 70px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.blueprint-tags li {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink-soft);
}

/* ---------- Design 06 Filterable Framed Showcase Modules ---------- */
.showcase-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-tab {
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab:hover,
.showcase-tab.active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.module-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.module-frame {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  box-shadow: 0 4px 16px rgba(50, 45, 41, 0.04);
}

.module-frame.reverse .module-photo,
.module-frame:nth-child(even) .module-photo {
  order: 2;
}

.module-frame.hidden-module {
  display: none;
}

.module-photo {
  position: relative;
  min-height: 260px;
  background: var(--bg);
  overflow: hidden;
}

.module-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(50, 45, 41, 0.92);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.module-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.module-body h3 {
  font-size: 1.4rem;
}

.module-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
}

.check-list li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ---------- Design 06 How We Work: 4-Column Horizontal Connected Runway ---------- */
.runway-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.runway-head p {
  max-width: 48ch;
  color: var(--ink-soft);
}

.runway-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.runway-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc(25% - 43px);
  height: 2px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--accent) 52%, var(--ink) 100%);
  opacity: 0.35;
  z-index: 0;
}

.runway-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.runway-node {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(50, 45, 41, 0.12);
  transition: transform 0.25s var(--ease);
}

.runway-step:hover .runway-node {
  transform: translateY(-2px) scale(1.05);
}

.node-navy {
  background: var(--ink);
  border: 2px solid var(--surface);
}

.node-cobalt {
  background: var(--accent);
  border: 2px solid var(--surface);
}

.node-ice {
  background: var(--surface);
  border: 2px solid var(--accent);
}

.runway-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(50, 45, 41, 0.04);
  transition: border-color 0.22s ease, transform 0.22s var(--ease);
}

.runway-step:hover .runway-card {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.runway-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--accent-hover);
}

.runway-card h3 {
  font-size: 1.1rem;
}

.runway-card p {
  font-size: 0.89rem;
  color: var(--ink-soft);
}

/* ---------- Design 06 Two-Column Balanced FAQ Grid ---------- */
.faq-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(50, 45, 41, 0.06);
}

.faq-q {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--accent-hover);
  flex-shrink: 0;
  transition: transform 0.22s var(--ease), background 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-soft);
  border-color: var(--accent);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.62;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- CTA Panel ---------- */
.cobalt-cta-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}

.cta-bg-svg {
  position: absolute;
  right: 20px;
  top: -24px;
  width: 210px;
  height: 210px;
  opacity: 0.12;
  pointer-events: none;
}

/* ---------- Subpages ---------- */
.page-hero {
  padding: 58px 0 46px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 14px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-row + .story-row {
  margin-top: 64px;
}

.story-row.reverse .story-media {
  order: 2;
}

.story-photo-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.story-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-vector-corner {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(50, 45, 41, 0.92);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.story-copy h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  margin-bottom: 12px;
}

.story-copy p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.story-copy .check-list {
  grid-template-columns: 1fr;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-card.hidden-card {
  display: none;
}

.case-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.case-metric {
  color: var(--accent-hover);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.form-box,
.form-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-row > * {
  min-width: 0;
}

.field,
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.field label,
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea,
.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(228, 130, 51, 0.12);
}

.form-confirm {
  display: none;
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--ink);
  font-size: 0.9rem;
}

.form-confirm.visible {
  display: block;
}

/* ---------- Footer ---------- */
.cobalt-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-grid a {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-grid a:hover {
  color: var(--accent-hover);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--muted);
}

.switch-pill {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.8rem;
}

.switch-pill:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cobalt-hero-grid,
  .blueprint-grid-3,
  .module-frame,
  .runway-track,
  .faq-grid-2,
  .page-hero-grid,
  .story-row,
  .gallery-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .runway-track::before {
    display: none;
  }

  .hero-navy-card {
    margin: 14px 0 0 0;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .story-row.reverse .story-media {
    order: 0;
  }

  .module-frame.reverse .module-photo,
  .module-frame:nth-child(even) .module-photo {
    order: 0;
  }
}

/* ---------- Single-Page Smooth Scroll Margin & Helpers ---------- */
section[id],
div[id],
article[id] {
  scroll-margin-top: 84px;
}

.case-card.hidden-card,
.module-frame.hidden-card,
.hidden-card {
  display: none !important;
}

.form-confirm {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(228, 130, 51, 0.35);
  color: var(--ink);
  font-size: 0.9rem;
  display: none;
}

.form-confirm.visible {
  display: block;
}

.form-confirm.is-error {
  background: rgba(192, 57, 43, 0.08);
  border-color: rgba(192, 57, 43, 0.35);
  color: #a82315;
}

/* ---------- Flexible Capabilities Grid ---------- */
.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 820px) {
  .blueprint-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 520px;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-strong);
}

.trust-item {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==============================================================================
   Rich Contrast Section Backgrounds (Approach Runway & Executive Contact)
   ============================================================================== */

/* ---------- 1. #approach: Deep Charcoal Blueprint Section ---------- */
.section-dark-approach {
  background: #23201D;
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(228, 130, 51, 0.09) 0%, transparent 52%),
    radial-gradient(circle at 10% 80%, rgba(50, 45, 41, 0.6) 0%, transparent 48%);
  color: #FFFFFF;
  border-top: 1px solid #38332E;
  border-bottom: 1px solid #38332E;
  position: relative;
  overflow: hidden;
}

.section-dark-approach .section-h2 {
  color: #FFFFFF;
}

.section-dark-approach .runway-head p {
  color: #C8C5C0;
}

.section-dark-approach .kicker {
  color: var(--accent);
}

.section-dark-approach .kicker-square {
  background: var(--accent);
}

/* ==============================================================================
   Our Approach: Modular Milestone Grid (No Lines On Top)
   ============================================================================== */

/* Eliminate all connecting lines and top bars */
.runway-track::before,
.section-dark-approach .runway-track::before,
.approach-grid::before,
.section-dark-approach .runway-step::before,
.approach-card::before {
  display: none !important;
}

.approach-grid,
.runway-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.approach-card,
.section-dark-approach .runway-step {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: default;
  transition: transform 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s var(--ease);
  overflow: hidden;
}

.approach-card h4,
.section-dark-approach .runway-step h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.approach-card p,
.section-dark-approach .runway-step p {
  color: #B4B0AA;
  font-size: 0.91rem;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
  transition: color 0.25s ease;
}

.approach-card:hover p,
.section-dark-approach .runway-step:hover p {
  color: #D6D2CC;
}

.approach-card .runway-node,
.section-dark-approach .runway-node {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease;
}

.approach-card:hover .runway-node,
.section-dark-approach .runway-step:hover .runway-node {
  transform: translateY(-4px) scale(1.10);
}

/* Phase deliverable pills at bottom of card */
.phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 6px;
  transition: all 0.25s ease;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Box 01: Amber Flame (Discovery) */
.node-step-1 {
  background: rgba(228, 130, 51, 0.16);
  border: 2px solid #E48233;
  box-shadow: 0 6px 18px rgba(228, 130, 51, 0.28);
}
.card-amber .phase-pill,
.step-amber .phase-pill {
  background: rgba(228, 130, 51, 0.12);
  border: 1px solid rgba(228, 130, 51, 0.25);
  color: #F8B478;
}
.card-amber .pill-dot,
.step-amber .pill-dot {
  background: #E48233;
}
.card-amber:hover,
.step-amber:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(228, 130, 51, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(228, 130, 51, 0.16);
}
.card-amber:hover .node-step-1,
.step-amber:hover .node-step-1 {
  background: rgba(228, 130, 51, 0.28);
  box-shadow: 0 8px 24px rgba(228, 130, 51, 0.45);
}

/* Box 02: Electric Tech Cyan (Development) */
.node-step-2 {
  background: rgba(56, 189, 248, 0.16);
  border: 2px solid #38BDF8;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.28);
}
.card-cyan .phase-pill,
.step-cyan .phase-pill {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7DD3FC;
}
.card-cyan .pill-dot,
.step-cyan .pill-dot {
  background: #38BDF8;
}
.card-cyan:hover,
.step-cyan:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(56, 189, 248, 0.16);
}
.card-cyan:hover .node-step-2,
.step-cyan:hover .node-step-2 {
  background: rgba(56, 189, 248, 0.28);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.45);
}

/* Box 03: Emerald Mint (Integration & QA) */
.node-step-3 {
  background: rgba(52, 211, 153, 0.16);
  border: 2px solid #34D399;
  box-shadow: 0 6px 18px rgba(52, 211, 153, 0.28);
}
.card-emerald .phase-pill,
.step-emerald .phase-pill {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #6EE7B7;
}
.card-emerald .pill-dot,
.step-emerald .pill-dot {
  background: #34D399;
}
.card-emerald:hover,
.step-emerald:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(52, 211, 153, 0.16);
}
.card-emerald:hover .node-step-3,
.step-emerald:hover .node-step-3 {
  background: rgba(52, 211, 153, 0.28);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.45);
}

/* Box 04: Amethyst Purple (Deployment & Support) */
.node-step-4 {
  background: rgba(192, 132, 252, 0.16);
  border: 2px solid #C084FC;
  box-shadow: 0 6px 18px rgba(192, 132, 252, 0.28);
}
.card-purple .phase-pill,
.step-purple .phase-pill {
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.25);
  color: #D8B4FE;
}
.card-purple .pill-dot,
.step-purple .pill-dot {
  background: #C084FC;
}
.card-purple:hover,
.step-purple:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(192, 132, 252, 0.16);
}
.card-purple:hover .node-step-4,
.step-purple:hover .node-step-4 {
  background: rgba(192, 132, 252, 0.28);
  box-shadow: 0 8px 24px rgba(192, 132, 252, 0.45);
}

@media (max-width: 980px) {
  .approach-grid,
  .runway-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .approach-grid,
  .runway-track {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================================
   Refined Direct Inquiries Section (Compact & Reorganized to Fit Form)
   ============================================================================== */

.contact-section {
  background: #111B15;
  background-image: 
    radial-gradient(circle at 88% 18%, rgba(228, 130, 51, 0.12) 0%, transparent 48%),
    radial-gradient(circle at 12% 82%, rgba(52, 211, 153, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(18, 44, 32, 0.55) 0%, transparent 70%);
  border-top: 1px solid #1E3326;
  border-bottom: 2px solid #13110F;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 50px 0 54px;
}

.contact-abstract-art {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.contact-abstract-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-compact-head {
  margin-bottom: 22px;
}

.contact-section .section-h2 {
  color: #FFFFFF;
  font-size: 1.85rem;
  margin-bottom: 6px;
}

.contact-section .runway-head p {
  color: #B5C6BC;
  font-size: 0.94rem;
}

.contact-section .kicker {
  color: #34D399;
}

.contact-section .kicker-square {
  background: #E48233;
}

.contact-grid-compact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Left Column: Compact Office Presence Card */
.contact-desk-compact {
  background: rgba(18, 30, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(75, 145, 105, 0.32);
  border-top: 3px solid #34D399;
  border-radius: var(--radius-md);
  padding: 24px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-top-color 0.2s ease, border-color 0.25s ease;
}

.contact-desk-compact:hover {
  transform: translateY(-3px);
  border-color: rgba(75, 145, 105, 0.55);
  border-top-color: #E48233;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(52, 211, 153, 0.12);
}

.desk-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.desk-email-link {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.desk-email-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.desk-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #B5C6BC;
  margin: 0;
}

/* Compact 3-Column Regional Grid */
.regional-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(75, 145, 105, 0.22);
}

.region-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(13, 23, 18, 0.82);
  border: 1px solid rgba(75, 145, 105, 0.25);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.region-pill:hover {
  border-color: #34D399;
  background: rgba(18, 32, 25, 0.95);
  transform: translateY(-2px);
}

.region-pin-wrap {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: rgba(52, 211, 153, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.region-info strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.82rem;
  line-height: 1.2;
}

.region-info span {
  display: block;
  color: #9AB2A4;
  font-size: 0.72rem;
  line-height: 1.2;
}

.desk-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(75, 145, 105, 0.22);
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: #9AB2A4;
}

.trust-badge svg {
  flex-shrink: 0;
}

/* Right Column: Compact Form Card */
.contact-form-compact {
  background: rgba(18, 30, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(75, 145, 105, 0.32);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 24px 26px 20px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  height: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-compact form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-compact .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-compact .form-row > * {
  min-width: 0;
}

.contact-form-compact .field {
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-form-compact .field label {
  color: #D2DFD7;
  font-weight: 500;
  font-size: 0.78rem;
  margin-bottom: 4px;
  display: block;
}

.contact-form-compact .field input,
.contact-form-compact .field select {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(10, 18, 14, 0.75);
  border: 1px solid rgba(75, 145, 105, 0.35);
  color: #FFFFFF;
  padding: 8px 12px;
  font-size: 0.88rem;
  border-radius: 6px;
  height: 38px;
}

.contact-form-compact .field textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(10, 18, 14, 0.75);
  border: 1px solid rgba(75, 145, 105, 0.35);
  color: #FFFFFF;
  padding: 8px 12px;
  font-size: 0.88rem;
  border-radius: 6px;
  height: 68px;
  min-height: 68px;
  resize: vertical;
}

.contact-form-compact .field input::placeholder,
.contact-form-compact .field textarea::placeholder {
  color: #6C8274;
}

.contact-form-compact .field input:focus,
.contact-form-compact .field select:focus,
.contact-form-compact .field textarea:focus {
  background: rgba(10, 18, 14, 0.95);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(228, 130, 51, 0.25);
  color: #FFFFFF;
}

.contact-form-compact button[type="submit"] {
  padding: 10px 20px;
  font-size: 0.90rem;
  margin-top: 2px;
}

/* Backward compatibility */
.section-dark-contact {
  background: #111B15;
}

@media (max-width: 900px) {
  .contact-grid-compact {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .regional-grid-3 {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- 3. Refined Seamless Dark Footer ---------- */
.cobalt-footer {
  background: #13110F;
  color: #9E9993;
  border-top: 1px solid #28231F;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #B4B0AA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.footer-social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(228, 130, 51, 0.35);
}

.cobalt-footer .brand-wordmark {
  color: #FFFFFF;
}

.cobalt-footer .footer-grid {
  border-bottom-color: #28231F;
}

.cobalt-footer .footer-grid h4 {
  color: var(--accent);
}

.cobalt-footer .footer-grid a {
  color: #C8C5C0;
}

.cobalt-footer .footer-grid a:hover {
  color: var(--accent);
}

.cobalt-footer .footer-bottom {
  color: #7A7570;
}

.cobalt-footer .switch-pill {
  background: #1C1917;
  border-color: #38322D;
  color: #A8A49F;
}

@media (max-width: 780px) {
  .trust-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------- Values Grid 3 ---------- */
.values-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 820px) {
  .values-grid-3 {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.value-card h3 {
  font-size: 1.15rem;
  margin: 12px 0 8px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==============================================================================
   Alternating Section Background Cadence & Architectural Separation
   Cadence:
   Hero (Slate Grey) -> Capabilities (Pure White) -> Work (Slate Grey)
   -> Approach (Deep Charcoal) -> About (Pure White) -> FAQ (Slate Grey)
   -> Contact (Executive Charcoal) -> Footer (Pitch Charcoal)
   ============================================================================== */

/* ---------- Section 02: #capabilities (Pure Architectural White Canvas) ---------- */
#capabilities.section,
.section-white {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

#capabilities .section-center-head h2 {
  color: var(--ink);
}

#capabilities .blueprint-card {
  background: #FAFBFC;
  border: 1px solid #DCE0E6;
  border-top: 3px solid var(--accent);
  box-shadow: 0 4px 18px rgba(50, 45, 41, 0.04);
}

#capabilities .blueprint-card:hover {
  background: #FFFFFF;
  border-color: var(--border-strong);
  border-top-color: var(--ink);
  box-shadow: 0 14px 34px rgba(50, 45, 41, 0.09);
  transform: translateY(-4px);
}

#capabilities .blueprint-art {
  background: var(--bg);
  border: 1px solid var(--border);
}

/* ---------- Section 03: #work (Slate Ash Foundation with High-Contrast White Project Slabs) ---------- */
#work.section,
.section-slate {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
}

#work .module-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  box-shadow: 0 6px 24px rgba(50, 45, 41, 0.05);
}

#work .module-filters button {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
}

#work .module-filters button.active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

/* ---------- Section 04: #approach (Deep Charcoal Blueprint Runway - defined above) ---------- */

/* ---------- Section 05: #about (Pure Architectural White Editorial Studio) ---------- */
#about.section {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

#about .value-card {
  background: #F8F9FA;
  border: 1px solid var(--border);
  border-top: 3px solid var(--ink);
  box-shadow: 0 4px 14px rgba(50, 45, 41, 0.035);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-top-color 0.22s ease, background 0.22s ease;
}

#about .value-card:hover {
  background: #FFFFFF;
  border-top-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(50, 45, 41, 0.08);
}

#about .story-photo-wrap {
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(50, 45, 41, 0.06);
}

/* ---------- Section 06: #faq (Slate Ash Foundation with High-Contrast Accordion Cards) ---------- */
#faq.section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
}

#faq .faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(50, 45, 41, 0.03);
}

#faq .faq-item:hover {
  border-color: var(--border-strong);
  box-shadow: 0 6px 18px rgba(50, 45, 41, 0.06);
}

#faq .faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(228, 130, 51, 0.10);
}

/* Backward-compatible alias */
.section-alt {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


/* ==============================================================================
   Comprehensive Responsive & Mobile Navigation System
   ============================================================================== */

/* Global container containment (clip preserves sticky header on mobile) */
html {
  overflow-x: clip;
  max-width: 100%;
}
body {
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

/* Desktop Navigation (min-width: 1025px) */
@media (min-width: 1025px) {
  .cobalt-nav {
    display: flex !important;
  }

  .desktop-nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 4px;
  }

  .mobile-popup-menu {
    display: none !important;
  }

  .mobile-toggle {
    display: none !important;
  }

  .mobile-nav-backdrop {
    display: none !important;
  }

  .header-cta-btn {
    display: inline-flex !important;
  }
}

/* Tablet & Mobile Navigation (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  /* Sticky Header on Mobile & Tablet */
  .cobalt-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }

  /* Header Controls */
  .header-cta-btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
    z-index: 105;
  }

  .hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #322D29 !important;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  }

  .mobile-toggle.active {
    background: rgba(228, 130, 51, 0.12) !important;
    border-color: var(--accent) !important;
  }

  .mobile-toggle.active .bar-top {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--accent) !important;
  }

  .mobile-toggle.active .bar-mid {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-toggle.active .bar-bot {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--accent) !important;
  }

  /* Hide Desktop Navigation in Header on Mobile/Tablet */
  .cobalt-nav {
    display: none !important;
  }

  /* ---------- True Floating Mobile Popup Menu ---------- */
  .mobile-popup-menu {
    display: block !important;
    position: fixed;
    top: 78px;
    right: 14px;
    left: 14px;
    max-width: 420px;
    margin-left: auto;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, visibility 0.28s ease;
  }

  .mobile-popup-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-popup-card {
    background: #FAF7F2;
    border: 1px solid rgba(50, 45, 41, 0.14);
    border-radius: 20px;
    box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.35), 0 8px 24px -4px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    padding: 18px 20px 22px;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box !important;
  }

  .mobile-nav-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-nav-title-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .mobile-nav-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.96rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
  }

  .mobile-nav-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent);
    background: rgba(228, 130, 51, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    width: fit-content;
  }

  .mobile-nav-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:active {
    background: rgba(228, 130, 51, 0.12);
    border-color: var(--accent);
    color: var(--accent);
  }

  .mobile-popup-menu .mobile-nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 3px;
    flex: 1;
    margin: 4px 0;
    padding: 0;
  }

  .mobile-popup-menu .mobile-nav-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    transition: all 0.18s ease;
  }

  .mobile-popup-menu .mobile-nav-links a:focus,
  .mobile-popup-menu .mobile-nav-links a:focus-visible {
    outline: none !important;
    background: rgba(228, 130, 51, 0.08) !important;
  }

  .nav-idx {
    display: none !important;
  }

  .nav-text {
    flex: 1 !important;
    text-align: left !important;
    font-family: var(--font-display) !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    letter-spacing: -0.01em;
  }

  .nav-arrow {
    display: block !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0 !important;
    opacity: 0.45;
    color: var(--muted) !important;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  }

  .mobile-popup-menu .mobile-nav-links a:hover {
    background: rgba(228, 130, 51, 0.08) !important;
    border-radius: 10px !important;
  }

  .mobile-popup-menu .mobile-nav-links a:hover .nav-text {
    color: var(--accent-hover) !important;
  }

  .mobile-popup-menu .mobile-nav-links a:hover .nav-arrow {
    transform: translateX(4px);
    opacity: 1;
    color: var(--accent) !important;
  }

  .mobile-popup-menu .mobile-nav-links a.active {
    background: rgba(228, 130, 51, 0.1) !important;
    border-radius: 10px !important;
  }

  .mobile-popup-menu .mobile-nav-links a.active .nav-text {
    color: var(--accent) !important;
    font-weight: 700 !important;
  }

  .mobile-popup-menu .mobile-nav-links a.active .nav-arrow {
    opacity: 1;
    color: var(--accent) !important;
    transform: translateX(4px);
  }

  .mobile-popup-menu .mobile-nav-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 10px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }

  .mobile-cta-btn {
    width: 100% !important;
    min-height: 46px;
    font-size: 0.94rem;
    font-weight: 700;
    justify-content: center;
    border-radius: 10px;
  }

  .mobile-contact-pills {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px;
  }

  .mobile-pill {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    padding: 9px 12px;
    width: 100% !important;
    box-sizing: border-box !important;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.84rem;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .mobile-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(228, 130, 51, 0.05);
  }

  .mobile-nav-note {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--muted);
    letter-spacing: 0.03em;
    padding-top: 2px;
  }
}

@media (max-width: 900px) {
  .contact-section {
    padding: 44px 0 48px;
  }
  .contact-grid-compact {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .regional-grid-3 {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  /* Hero Section Responsiveness */
  .cobalt-hero {
    padding: 36px 0 28px;
  }

  .hero-h1 {
    font-size: clamp(1.85rem, 6.2vw, 2.65rem);
  }

  .hero-blueprint-frame {
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
  }

  /* Selected Works Stack */
  .module-frame {
    grid-template-columns: 1fr !important;
  }

  .module-frame .module-photo,
  .module-frame:nth-child(even) .module-photo {
    order: 1 !important;
    min-height: 220px;
    height: 220px;
  }

  .module-frame .module-body {
    order: 2 !important;
    padding: 20px 18px;
  }

  .module-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .module-body p {
    font-size: 0.88rem;
  }

  .check-list li {
    font-size: 0.82rem;
  }

  /* Direct Inquiries Section Responsiveness */
  .contact-section {
    padding: 36px 0 40px;
  }

  .contact-compact-head {
    margin-bottom: 16px;
  }

  .contact-section .section-h2 {
    font-size: clamp(1.45rem, 5.2vw, 1.85rem);
    margin-bottom: 6px;
  }

  .contact-section .runway-head p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .contact-desk-compact {
    padding: 20px 18px 18px;
    gap: 10px;
  }

  .desk-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .desk-email-link {
    font-size: clamp(1.05rem, 5vw, 1.3rem);
    word-break: break-all;
    margin-top: 2px;
  }

  .desk-desc {
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 4px 0 6px;
  }

  .regional-grid-3 {
    grid-template-columns: 1fr !important;
    margin-top: 4px;
    padding-top: 10px;
    gap: 8px;
    width: 100% !important;
  }

  .region-pill {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(75, 145, 105, 0.25);
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .region-info strong {
    font-size: 0.86rem;
  }

  .region-info span {
    font-size: 0.72rem;
  }

  .desk-trust-row {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding-top: 10px;
    width: 100%;
  }

  .trust-badge {
    font-size: 0.74rem;
    padding: 6px 10px;
    background: rgba(52, 211, 153, 0.08);
    border-radius: 6px;
  }

  .contact-form-compact {
    padding: 20px 18px 18px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-form-compact .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-form-compact .form-row > * {
    min-width: 0 !important;
    width: 100% !important;
  }

  .contact-form-compact .field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-bottom: 12px;
  }

  .contact-form-compact .field label {
    font-size: 0.74rem;
    margin-bottom: 5px;
    color: #8EA094;
  }

  /* Form Inputs - Strict 16px to prevent iOS auto-zoom */
  .contact-form-compact input,
  .contact-form-compact select,
  .contact-form-compact textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    padding: 11px 13px;
    border-radius: 8px;
  }

  .contact-form-compact input,
  .contact-form-compact select {
    height: 44px !important;
  }

  .contact-form-compact textarea {
    min-height: 84px;
    resize: vertical;
  }

  .contact-form-compact button[type="submit"] {
    width: 100% !important;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .mobile-popup-menu {
    top: 76px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  .contact-desk-compact,
  .contact-form-compact {
    padding: 18px 14px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-social-btn {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-arrow-bob {
    animation: none;
  }
}

/* ---------- Floating WhatsApp Button ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Optional Right-Side Positioning Modifier */
.floating-whatsapp.wa-right {
  left: auto;
  right: 24px;
  bottom: 80px;
  flex-direction: row-reverse;
}

.wa-btn-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, box-shadow 0.28s ease;
}

.wa-icon {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

.floating-whatsapp:hover .wa-btn-circle {
  transform: scale(1.08);
  background: #20BA5A;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.18);
}

.floating-whatsapp:hover .wa-icon {
  transform: scale(1.05);
}

.floating-whatsapp:active .wa-btn-circle {
  transform: scale(0.96);
}

/* Subtle Radar Pulse Effect */
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  z-index: 1;
  pointer-events: none;
  animation: waPulseAnim 2.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes waPulseAnim {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  65% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Hover Tooltip / Badge */
.wa-tooltip {
  background: #111B15;
  color: #FFFFFF;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 7px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.3);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-whatsapp.wa-right .wa-tooltip {
  transform: translateX(8px);
}

.floating-whatsapp:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive adjustment for small screens */
@media (max-width: 680px) {
  .floating-whatsapp {
    bottom: 16px;
    left: 16px;
    z-index: 85;
  }
  .floating-whatsapp.wa-right {
    bottom: 74px;
    right: 16px;
  }
  .wa-btn-circle {
    width: 48px;
    height: 48px;
  }
  .wa-icon {
    width: 24px;
    height: 24px;
  }
  .wa-tooltip {
    display: none;
  }
  .back-to-top {
    bottom: 16px;
    right: 16px;
    padding: 7px 11px;
    font-size: 0.76rem;
    z-index: 85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-pulse {
    animation: none;
  }
}
