/* agency.css - Dark Mode & Glassmorphism overrides for the new Agency Homepage */

/* Target only the agency-mode body to not break other pages */
body.agency-mode {
  --bg-color: #030712;
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  
  --primary: #6366f1; /* Indigo */
  --secondary: #0ea5e9; /* Light blue */
  
  --glass-bg: rgba(15, 23, 42, 0.55);
  --glass-border: rgba(148, 163, 184, 0.14);
  --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
  
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(1300px 750px at 50% 0%, rgba(14, 165, 233, 0.12), transparent 75%),
    radial-gradient(1000px 650px at 10% 35%, rgba(99, 102, 241, 0.08), transparent 65%),
    radial-gradient(950px 600px at 90% 60%, rgba(14, 165, 233, 0.08), transparent 65%),
    radial-gradient(1200px 800px at 50% 100%, rgba(99, 102, 241, 0.1), transparent 75%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif, system-ui;
  position: relative;
  min-height: 100vh;
}

/* Subtle Fixed Micro-Starfield Ambient Layer */
body.agency-mode::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(1px 1px at 30px 40px, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.2px 1.2px at 90px 140px, rgba(147, 197, 253, 0.5), transparent),
    radial-gradient(1.6px 1.6px at 160px 70px, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 240px 210px, rgba(199, 210, 254, 0.45), transparent),
    radial-gradient(1.4px 1.4px at 350px 90px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 430px 270px, rgba(147, 197, 253, 0.4), transparent),
    radial-gradient(1.8px 1.8px at 520px 160px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.2px 1.2px at 610px 50px, rgba(199, 210, 254, 0.5), transparent);
  background-size: 650px 350px;
  opacity: 0.35;
}

body.agency-mode #main,
body.agency-mode .site-footer {
  position: relative;
  z-index: 1;
}

body.agency-mode .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.agency-mode .site-nav a, 
body.agency-mode .brand {
  color: var(--text-main);
}

body.agency-mode .brand-logo {
  filter:
    saturate(1.85)
    brightness(1.28)
    contrast(1.08);
}

body.agency-mode .site-header .brand-logo {
  animation: mrcs-logo-light-in 1650ms cubic-bezier(0.16, 1, 0.3, 1) both;
  filter:
    saturate(2.05)
    brightness(1.62)
    contrast(1.14);
}

body.agency-mode .site-header .brand {
  position: relative;
}

body.agency-mode .site-header .brand::after {
  background: url("../assets/images/logo-mrcs.png") left center / auto 100% no-repeat;
  content: "";
  filter: saturate(2.2) brightness(2.2) contrast(1.1);
  height: 100%;
  left: 0;
  mix-blend-mode: screen;
  opacity: 0.3;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 19%;
  animation: mrcs-logo-left-light-in 1650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes mrcs-logo-light-in {
  0% {
    filter: saturate(0.3) brightness(0.16) contrast(0.9);
    opacity: 0.45;
  }

  58% {
    filter: saturate(2.7) brightness(2.5) contrast(1.2);
    opacity: 1;
  }

  100% {
    filter: saturate(2.05) brightness(1.62) contrast(1.14);
    opacity: 1;
  }
}

@keyframes mrcs-logo-left-light-in {
  0% { opacity: 0; }
  58% { opacity: 0.54; }
  100% { opacity: 0.3; }
}

body.agency-mode .site-nav a:hover {
  color: var(--primary);
}
body.agency-mode .nav-toggle-lines,
body.agency-mode .nav-toggle-lines::before,
body.agency-mode .nav-toggle-lines::after {
  background-color: var(--text-main);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section adjustments */
body.agency-mode .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  display: none;
}
body.agency-mode .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding-top: 5rem;
}
body.agency-mode .hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
}

/* Antigravity Typing Header & Cursor */
.hero-typed-char {
  display: inline;
  opacity: 0;
  transition: opacity 0.1s ease-out;
}
.hero-typed-char.typed {
  opacity: 1;
}
.hero-typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.05em;
  background-color: var(--secondary, #0ea5e9);
  box-shadow: 0 0 10px var(--secondary, #0ea5e9);
  vertical-align: -0.15em;
  margin-left: 2px;
  animation: hero-cursor-blink 0.8s infinite alternate;
  border-radius: 2px;
}
@keyframes hero-cursor-blink {
  0% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0.15; transform: scaleY(0.9); }
}

/* Antigravity Floating Bouncers Section */
.hero-bouncers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  z-index: 4;
  position: relative;
}
.bouncer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(14, 165, 233, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  user-select: none;
  will-change: transform;
}
.bouncer-chip:hover {
  transform: translateY(-6px) scale(1.04) !important;
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(30, 41, 59, 0.85);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
  color: #ffffff;
}
.bouncer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 8px #0ea5e9;
}
.bouncer-chip:nth-child(2n) .bouncer-dot {
  background: #6366f1;
  box-shadow: 0 0 8px #6366f1;
}
.bouncer-chip:nth-child(3n) .bouncer-dot {
  background: #f84242;
  box-shadow: 0 0 8px #f84242;
}

body.agency-mode .hero .lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}
.btn-outline {
  border: 1px solid var(--primary);
  color: var(--text-main) !important;
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: white !important;
}

/* Services */
body.agency-mode .section-header {
  text-align: center;
  margin-bottom: 4rem;
}
body.agency-mode .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
}
body.agency-mode .section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}
.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.gradient-bg {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(14, 165, 233, 0.2));
  border: 1px solid rgba(255,255,255,0.1);
}

body.agency-mode .service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
body.agency-mode .service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
}
.service-features li {
  margin-bottom: 0.8rem;
  color: #ddd;
  font-weight: 300;
}

/* Approach Section */
.approach-container {
  margin-top: 2rem;
  margin-bottom: 4rem;
}
.approach-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 1.5rem;
}
.approach-content > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

.approach-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.step {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(255,255,255,0.1);
}
.step-num {
  position: absolute;
  left: -24px;
  top: -5px;
  background: var(--bg-color);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
}
.step h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--text-muted);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .approach-steps {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
}

/* English homepage: editorial service positioning, scoped to leave the UA working page intact. */
body.agency-home {
  --bg-color: #070b0e;
  --text-main: #f5f4ef;
  --text-muted: #a9b0b2;
  --primary: #0ea5e9;
  --secondary: #7dd3fc;
  --glass-border: rgba(245, 244, 239, 0.14);
  background: var(--bg-color);
  letter-spacing: 0;
}

body.agency-home h1,
body.agency-home h2,
body.agency-home h3,
body.agency-home p,
body.agency-home a {
  letter-spacing: 0;
}

body.agency-home .site-header {
  background: rgba(7, 11, 14, 0.92);
  border-bottom-color: rgba(245, 244, 239, 0.12);
}

body.agency-home .site-nav {
  gap: 4px;
}

body.agency-home .site-nav a {
  border: 1px solid transparent;
  border-radius: 4px;
  color: rgba(245, 244, 239, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 10px;
  position: relative;
  transition: color 0.2s ease, font-size 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled Compact Header State */
.site-header.header-scrolled,
body.agency-mode .site-header.header-scrolled {
  background: rgba(3, 7, 18, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom-color: rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.site-header.header-scrolled .header-inner,
body.agency-mode .site-header.header-scrolled .header-inner {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.site-header.header-scrolled .brand-logo,
body.agency-mode .site-header.header-scrolled .brand-logo {
  height: 14px !important;
}

.site-header.header-scrolled .site-nav a,
body.agency-home .site-header.header-scrolled .site-nav a {
  font-size: 0.78rem !important;
  padding: 4px 7px !important;
}

body.agency-home .site-nav a::after {
  content: none;
}

body.agency-home .site-nav a:hover {
  animation: nav-blue-flash 650ms ease-out both;
  background: transparent;
  border-color: transparent;
  padding: 8px 10px;
}

body.agency-home .site-nav a:hover::after {
  transform: none;
}



body.agency-home .site-nav a[aria-current="page"]::after {
  transform: none;
}

body.agency-home .site-nav .nav-cta {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: rgba(245, 244, 239, 0.8);
  padding: 8px 10px;
}

body.agency-home .site-nav .nav-cta:hover {
  animation: nav-blue-flash 650ms ease-out both;
  background: transparent;
  border-color: transparent;
  padding: 8px 10px;
}

@keyframes nav-blue-flash {
  0% {
    color: #e0f7ff;
    text-shadow:
      0 0 6px rgba(125, 211, 252, 0.95),
      0 0 18px rgba(14, 165, 233, 0.85);
  }

  55% {
    color: #7dd3fc;
    text-shadow:
      0 0 10px rgba(56, 189, 248, 0.75),
      0 0 22px rgba(14, 165, 233, 0.45);
  }

  100% {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.agency-home .site-nav a:hover,
  body.agency-home .site-nav .nav-cta:hover {
    animation: none;
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.38);
  }
}

body.agency-home .hero {
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(520px, 66vh, 720px);
  padding: 5rem 0;
  background-position: center;
}

body.agency-home .hero-overlay {
  display: none;
}

body.agency-home .hero--motion {
  background: transparent;
  isolation: isolate;
  overflow: hidden;
}

body.agency-home .hero--motion .hero-overlay {
  display: none;
}

body.agency-home .hero-motion {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

body.agency-home .hero-motion span {
  display: block;
  position: absolute;
}

body.agency-home .hero-motion__grid {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.12) 1px, transparent 1px);
  background-size: 74px 74px;
  height: 82%;
  left: -15%;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, rgba(0, 0, 0, 0.55) 80%, transparent);
  opacity: 0.54;
  top: 28%;
  transform: perspective(900px) rotateX(66deg) rotateZ(-5deg);
  width: 130%;
  animation: hero-grid-drift 24s linear infinite alternate;
}

body.agency-home .hero-motion__orb {
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 50%;
  filter: blur(0.2px);
}

body.agency-home .hero-motion__orb--one {
  height: min(57vw, 820px);
  left: -21vw;
  top: 17%;
  width: min(57vw, 820px);
  animation: hero-orbit-one 18s ease-in-out infinite alternate;
}

body.agency-home .hero-motion__orb--two {
  border-color: rgba(14, 165, 233, 0.2);
  height: min(42vw, 610px);
  right: -13vw;
  top: -14%;
  width: min(42vw, 610px);
  animation: hero-orbit-two 22s ease-in-out infinite alternate;
}

body.agency-home .hero-motion__wave {
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 46% 54% 57% 43% / 40% 48% 52% 60%;
}

body.agency-home .hero-motion__wave--one {
  bottom: -52%;
  height: 76%;
  right: -13%;
  transform: rotate(-17deg);
  width: 74%;
  animation: hero-wave-one 18s ease-in-out infinite alternate;
}

body.agency-home .hero-motion__wave--two {
  border-color: rgba(14, 165, 233, 0.16);
  bottom: -44%;
  height: 54%;
  right: 9%;
  transform: rotate(10deg);
  width: 55%;
  animation: hero-wave-two 16s ease-in-out infinite alternate;
}

body.agency-home .hero--motion .hero-kicker,
body.agency-home .hero--motion .hero-title-line,
body.agency-home .hero--motion .lead,
body.agency-home .hero--motion .hero-actions {
  opacity: 0;
  will-change: opacity, transform;
}

body.agency-home .hero--motion .hero-kicker {
  animation: hero-content-in 900ms 80ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.agency-home .hero--motion .hero-title-line {
  display: block;
  animation: hero-content-in 1100ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.agency-home .hero--motion .hero-title-line:first-child {
  animation-delay: 180ms;
}

body.agency-home .hero--motion .hero-title-line--accent {
  background: linear-gradient(112deg, #7dd3fc 0%, #0ea5e9 54%, #0284c7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: 340ms;
}

body.agency-home .hero--motion .lead {
  animation: hero-content-in 1000ms 540ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.agency-home .hero--motion .hero-actions {
  animation: hero-content-in 1000ms 680ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hero-content-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-grid-drift {
  from { transform: perspective(900px) rotateX(66deg) rotateZ(-5deg) translate3d(-18px, 0, 0); }
  to { transform: perspective(900px) rotateX(66deg) rotateZ(-5deg) translate3d(18px, -16px, 0); }
}

@keyframes hero-orbit-one {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(7vw, -3vh, 0) rotate(8deg); }
}

@keyframes hero-orbit-two {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-6vw, 5vh, 0) rotate(-10deg); }
}

@keyframes hero-wave-one {
  from { transform: rotate(-17deg) scale(1); }
  to { transform: rotate(-12deg) scale(1.08); }
}

@keyframes hero-wave-two {
  from { transform: rotate(10deg) translate3d(0, 0, 0); }
  to { transform: rotate(15deg) translate3d(-5vw, -2vh, 0); }
}

@media (prefers-reduced-motion: reduce) {
  body.agency-mode .site-header .brand-logo,
  body.agency-mode .site-header .brand::after {
    animation: none;
  }

  body.agency-home .hero-motion * {
    animation: none !important;
  }

  body.agency-home .hero--motion .hero-kicker,
  body.agency-home .hero--motion .hero-title-line,
  body.agency-home .hero--motion .lead,
  body.agency-home .hero--motion .hero-actions {
    animation: none;
    opacity: 1;
  }
}

body.agency-home .hero-content {
  max-width: 860px;
  padding-top: 0;
  text-align: left;
}

body.agency-home .hero-kicker,
body.agency-home .section-eyebrow {
  align-items: center;
  color: var(--secondary);
  display: flex;
  font-size: 0.73rem;
  font-weight: 700;
  gap: 10px;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
}

body.agency-home .hero-kicker::before,
body.agency-home .section-eyebrow::before {
  background: var(--primary);
  content: "";
  display: block;
  height: 1px;
  width: 28px;
}

body.agency-home .hero h1 {
  font-size: clamp(3rem, 6.4vw, 5.5rem);
  line-height: 1.01;
  margin: 0 0 1.75rem;
  max-width: 12ch;
}

body.agency-home .gradient-text {
  background: none;
  color: var(--primary);
  -webkit-text-fill-color: currentColor;
}

body.agency-home .hero .lead {
  color: rgba(245, 244, 239, 0.76);
  font-size: clamp(1.05rem, 1.65vw, 1.25rem);
  line-height: 1.55;
  margin: 0 0 2.25rem;
  max-width: 58ch;
}

body.agency-home .hero-actions {
  gap: 12px;
  justify-content: flex-start;
}

body.agency-home .btn {
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-radius: 4px;
  border-width: 1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.27), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 10px 26px rgba(0, 0, 0, 0.22);
  font-size: 0.84rem;
  font-weight: 700;
  isolation: isolate;
  min-height: 46px;
  overflow: hidden;
  padding: 0.8rem 1.2rem;
  position: relative;
  text-transform: uppercase;
}

body.agency-home .btn-primary {
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.3), rgba(224, 242, 254, 0) 54%), rgba(14, 165, 233, 0.84);
  border-color: rgba(186, 230, 253, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 10px 26px rgba(14, 165, 233, 0.22);
  color: #101010 !important;
  text-shadow: 0 1px rgba(255, 255, 255, 0.18);
}

body.agency-home .btn-primary:hover {
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.36), rgba(224, 242, 254, 0) 54%), rgba(56, 189, 248, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 12px 30px rgba(14, 165, 233, 0.28);
  transform: translateY(-2px);
}

body.agency-home .btn-outline {
  background: linear-gradient(180deg, rgba(231, 243, 255, 0.12), rgba(231, 243, 255, 0) 54%), rgba(11, 24, 36, 0.5);
  border-color: rgba(220, 234, 242, 0.38);
  color: #ffffff !important;
}

body.agency-home .btn-outline:hover {
  background: linear-gradient(180deg, rgba(231, 243, 255, 0.17), rgba(231, 243, 255, 0) 54%), rgba(23, 41, 54, 0.65);
  border-color: rgba(245, 244, 239, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 -1px 0 rgba(0, 0, 0, 0.22), 0 12px 30px rgba(0, 0, 0, 0.28);
}

body.agency-home .service-offer {
  background: transparent;
  border-top: none;
  padding: 7rem 0;
}

body.agency-home .section-header {
  margin: 0 0 3.5rem;
  max-width: 720px;
  text-align: left;
}

body.agency-home .section-header h2,
body.agency-home .approach-intro h2,
body.agency-home .ai-branch h2 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.04;
  margin: 0;
}

body.agency-home .section-header h2 span {
  color: var(--secondary);
}

body.agency-home .section-header > p:last-child {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.55;
  margin-top: 1.25rem;
  max-width: 60ch;
}

body.agency-home .services-grid {
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.agency-home .service-levels-intro {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2.5rem 0 16px;
}

body.agency-home .service-levels-intro p {
  background: rgba(224, 241, 251, 0.055);
  border: 1px solid rgba(220, 234, 242, 0.14);
  color: rgba(245, 244, 239, 0.76);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  padding: 15px 17px;
}

body.agency-home .service-levels-intro p:first-child {
  border-left: 3px solid var(--primary);
}

body.agency-home .service-levels-intro p:last-child {
  border-left: 3px solid #9eafb7;
}

body.agency-home .service-levels-intro strong {
  color: #ffffff;
}

body.agency-home .service-card {
  background: linear-gradient(180deg, rgba(224, 241, 251, 0.1), rgba(224, 241, 251, 0) 25%), rgba(17, 29, 37, 0.72);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  border: 1px solid rgba(220, 234, 242, 0.2);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 -1px 0 rgba(0, 0, 0, 0.24), 0 18px 40px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-height: 540px;
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body.agency-home .service-card--director {
  border-top: 3px solid var(--primary);
}

body.agency-home .service-card--assistant {
  border-top: 3px solid #9eafb7;
}

body.agency-home .service-card:hover {
  background: linear-gradient(180deg, rgba(224, 241, 251, 0.14), rgba(224, 241, 251, 0) 25%), rgba(22, 38, 48, 0.8);
  border-color: rgba(235, 246, 250, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 24px 52px rgba(0, 0, 0, 0.24);
  transform: translateY(-4px);
}

body.agency-home .service-index {
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 3.4rem;
}

body.agency-home .service-card--assistant .service-index {
  color: #c3cdd1;
}

body.agency-home .service-card h3 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.03;
  margin: 0 0 1.25rem;
}

body.agency-home .service-summary {
  color: rgba(245, 244, 239, 0.72) !important;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 !important;
  max-width: 39ch;
}

body.agency-home .service-features,
body.agency-home .service-details {
  border-top: 1px solid rgba(245, 244, 239, 0.13);
  margin: 2rem 0;
  padding-top: 1.25rem;
}

body.agency-home .service-features li {
  align-items: flex-start;
  color: rgba(245, 244, 239, 0.84);
  display: flex;
  font-weight: 400;
  gap: 10px;
  line-height: 1.4;
  margin: 0 0 0.85rem;
}

body.agency-home .service-features li::before {
  color: var(--primary);
  content: "+";
  font-weight: 700;
}

body.agency-home .service-card--assistant .service-features li::before {
  color: #c3cdd1;
}

body.agency-home .service-details {
  display: grid;
  margin-bottom: 1.5rem;
}

body.agency-home .service-details details {
  border-bottom: 1px solid rgba(245, 244, 239, 0.1);
}

body.agency-home .service-details summary {
  align-items: center;
  color: rgba(245, 244, 239, 0.92);
  cursor: pointer;
  display: flex;
  font-size: 0.95rem;
  font-weight: 600;
  justify-content: space-between;
  list-style: none;
  padding: 0.85rem 0;
}

body.agency-home .service-details summary::-webkit-details-marker {
  display: none;
}

body.agency-home .service-details summary::after {
  color: var(--primary);
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

body.agency-home .service-card--assistant .service-details summary::after {
  color: #c3cdd1;
}

body.agency-home .service-details details[open] summary::after {
  content: "−";
}

body.agency-home .service-details details p {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: -0.1rem 0 1rem !important;
  max-width: none;
}

body.agency-home .service-details summary:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}

body.agency-home .service-card-footer {
  border-top: 1px solid rgba(245, 244, 239, 0.13);
  margin-top: auto;
  padding-top: 1.25rem;
}

body.agency-home .service-card-footer p {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 1.25rem !important;
}

body.agency-home .service-card-footer strong {
  color: #ffffff;
  font-weight: 600;
}

body.agency-home .service-card-footer a,
body.agency-home .ai-branch-link {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

body.agency-home .service-card-footer a span,
body.agency-home .ai-branch-link span {
  color: var(--primary);
  font-size: 1.1rem;
  margin-left: 5px;
}

body.agency-home .service-card-footer a:hover,
body.agency-home .ai-branch-link:hover {
  color: var(--secondary);
}

body.agency-home .approach {
  background: transparent;
  border-top: none;
  padding: 7rem 0;
}

body.agency-home .approach-container {
  margin: 0 auto;
}

body.agency-home .approach-intro {
  display: grid;
  gap: 0;
  max-width: 760px;
}

body.agency-home .approach-intro > p:last-child {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 1.5rem 0 0;
}

body.agency-home .approach-steps {
  border-bottom: 1px solid rgba(245, 244, 239, 0.15);
  border-top: 1px solid rgba(245, 244, 239, 0.15);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 4.25rem 0 0;
  padding: 0;
}

body.agency-home .step {
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(245, 244, 239, 0.15);
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto 1fr;
  padding: 1.75rem 1.5rem;
  transition: none;
}

body.agency-home .step:first-child {
  border-left: 0;
}

body.agency-home .step:hover {
  border-color: rgba(245, 244, 239, 0.15);
  box-shadow: none;
  transform: none;
}

body.agency-home .step-num {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  height: auto;
  position: static;
  width: auto;
}

body.agency-home .step {
  display: block;
}

body.agency-home .step h3 {
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

body.agency-home .step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

body.agency-home .ai-branch {
  background: transparent;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: #ffffff;
  padding: 5rem 0;
}

body.agency-home .ai-branch-inner {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

body.agency-home .ai-branch .section-eyebrow {
  color: #7dd3fc;
}

body.agency-home .ai-branch .section-eyebrow::before {
  background: var(--primary);
}

body.agency-home .ai-branch h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  max-width: 19ch;
}

body.agency-home .ai-branch p:last-child {
  color: rgba(245, 244, 239, 0.76);
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 1.25rem 0 0;
  max-width: 58ch;
}

body.agency-home .ai-branch-link {
  border-bottom: 1px solid rgba(245, 244, 239, 0.48);
  color: #ffffff;
  padding-bottom: 7px;
  white-space: nowrap;
}

body.agency-home .ai-branch-link span {
  color: var(--primary);
}

body.agency-home .site-footer {
  background: transparent;
  border-top-color: rgba(148, 163, 184, 0.12);
}

body.agency-home .footer-nav a {
  color: rgba(245, 244, 239, 0.78);
  border-radius: 4px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

body.agency-home .footer-nav a:hover,
body.agency-mode .footer-nav a:hover,
.footer-nav a:hover {
  animation: nav-blue-flash 650ms ease-out both;
  background: transparent !important;
  border-color: transparent !important;
  color: #38bdf8 !important;
}

body.agency-home .muted {
  color: var(--text-muted);
}

body.agency-home a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* Dedicated services and approach pages */
body.agency-inner {
  background: #0c1217;
}



body.agency-inner .inner-hero {
  background:
    radial-gradient(700px 420px at 83% 25%, rgba(14, 165, 233, 0.12), transparent 68%),
    linear-gradient(135deg, #070b0e 5%, #0c1a21 100%);
  border-bottom: 1px solid rgba(245, 244, 239, 0.12);
  min-height: 510px;
  padding: 11rem 0 6.5rem;
}

body.agency-inner .inner-hero__content {
  max-width: 860px;
}

body.agency-inner .inner-hero h1 {
  color: #ffffff;
  font-size: clamp(3rem, 6.2vw, 6.3rem);
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 1.25rem 0 1.6rem;
}

body.agency-inner .inner-hero h1 span,
body.agency-inner .method__intro h2 span {
  color: var(--secondary);
}

body.agency-inner .inner-hero__lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  margin: 0;
  max-width: 60ch;
}

body.agency-services .inner-hero {
  min-height: 0;
  padding: 7.25rem 0 3.75rem;
}

body.agency-services .inner-hero h1 {
  font-size: clamp(2.7rem, 4.8vw, 4.65rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0.9rem 0 1.1rem;
}

body.agency-inner .inner-section,
body.agency-inner .method {
  background: #0c1217;
  padding: 7rem 0;
}

body.agency-inner .service-page-offer {
  padding: 3.5rem 0 5rem;
}

body.agency-inner .service-page-offer .service-levels-intro {
  margin-top: 0;
}

body.agency-inner .service-card h2 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.03;
  margin: 0 0 1.25rem;
}

body.agency-mode .service-role-accent {
  color: var(--primary);
}

body.agency-inner .service-page-grid {
  align-items: stretch;
}

body.agency-inner .role-guide {
  background: #070b0e;
  border-top: 1px solid rgba(245, 244, 239, 0.12);
  padding: 6rem 0;
}

body.agency-inner .engagement-pricing {
  background:
    radial-gradient(720px 340px at 92% 6%, rgba(14, 165, 233, 0.1), transparent 72%),
    #0b151b;
  border-top: 1px solid rgba(245, 244, 239, 0.08);
  padding: 5.5rem 0;
}

body.agency-inner .engagement-pricing__intro {
  max-width: 760px;
}

body.agency-inner .engagement-pricing h2 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0.75rem 0 1rem;
}

body.agency-inner .engagement-pricing__intro > p:last-child {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
  max-width: 64ch;
}

body.agency-inner .engagement-pricing__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.5rem;
}

body.agency-inner .engagement-price-card {
  background: rgba(8, 18, 24, 0.78);
  border: 1px solid rgba(220, 234, 242, 0.16);
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 1.5rem;
}

body.agency-inner .engagement-price-card--assistant {
  border-top: 3px solid #a5b5bc;
}

body.agency-inner .engagement-price-card--director {
  border-top: 3px solid var(--primary);
}

body.agency-inner .engagement-price-card--ai {
  background: rgba(12, 74, 110, 0.2);
}

body.agency-inner .engagement-price-card__type {
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

body.agency-inner .engagement-price-card h3 {
  color: #ffffff;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
  min-height: 2.84rem;
}

body.agency-inner .engagement-price-card__price {
  color: #38bdf8;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 1.4rem 0 0.75rem;
}

body.agency-inner .engagement-price-card--director .engagement-price-card__price {
  color: #38bdf8;
}

body.agency-inner .engagement-price-card__price span {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
}

body.agency-inner .engagement-price-card > p:not(.engagement-price-card__type):not(.engagement-price-card__price):not(.engagement-price-card__note) {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

body.agency-inner .engagement-price-card__note {
  border-top: 1px solid rgba(245, 244, 239, 0.12);
  color: rgba(245, 244, 239, 0.68);
  font-size: 0.76rem;
  margin: auto 0 0;
  padding-top: 1rem;
}

body.agency-inner .role-guide__inner {
  align-items: start;
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

body.agency-inner .role-guide h2,
body.agency-inner .method__intro h2,
body.agency-inner .approach-bridge h2 {
  color: #ffffff;
  font-size: clamp(2.3rem, 4.3vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0;
}

body.agency-inner .role-guide__copy {
  max-width: 52ch;
}

body.agency-inner .role-guide__copy p,
body.agency-inner .method__intro > p:last-child,
body.agency-inner .approach-bridge > p:last-of-type {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

body.agency-inner .role-guide .btn {
  margin-top: 1rem;
}

body.agency-inner .method__intro {
  max-width: 710px;
}

body.agency-inner .method__intro h2 {
  margin: 0 0 1.5rem;
}

body.agency-approach .method {
  padding: 3.5rem 0 5rem;
}

body.agency-approach .method-list {
  margin-top: 0;
}

body.agency-mode.agency-approach .method-list li {
  display: block;
}

body.agency-inner .method-list {
  border-top: 1px solid rgba(245, 244, 239, 0.15);
  counter-reset: method;
  list-style: none;
  margin: 4.5rem 0 0;
  padding: 0;
}

body.agency-inner .method-list li {
  border-bottom: 1px solid rgba(245, 244, 239, 0.15);
  display: grid;
  gap: clamp(1.5rem, 6vw, 6rem);
  grid-template-columns: 70px minmax(0, 1fr);
  padding: 2rem 0;
}

body.agency-inner .method-list > li > span {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding-top: 0.35rem;
}

body.agency-inner .method-list h3 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
  margin: 0 0 0.85rem;
}

body.agency-inner .method-list p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  max-width: 58ch;
}

body.agency-inner .method-list .method-list__outcome {
  color: rgba(245, 244, 239, 0.86);
  font-size: 0.92rem;
  margin-top: 1rem;
}

body.agency-inner .method-list__outcome strong {
  color: var(--secondary);
  font-weight: 600;
}

body.agency-inner .approach-bridge {
  background: #0f243a;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  color: #ffffff;
  padding: 7rem 0;
}

body.agency-inner .approach-bridge__inner {
  max-width: 850px;
}

body.agency-inner .approach-bridge .section-eyebrow {
  color: #7dd3fc;
}

body.agency-inner .approach-bridge h2 {
  color: #ffffff;
}

body.agency-inner .approach-bridge > p:last-of-type {
  color: rgba(245, 244, 239, 0.76);
}

body.agency-inner .approach-bridge .section-eyebrow::before {
  background: var(--primary);
}

body.agency-inner .approach-bridge h2 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

body.agency-inner .approach-bridge > p:last-of-type {
  max-width: 57ch;
}

body.agency-inner .approach-bridge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

body.agency-inner .approach-bridge .btn-outline {
  background: transparent;
  border-color: rgba(245, 244, 239, 0.42);
  color: #ffffff !important;
}

body.agency-inner .approach-bridge .btn-primary {
  background: #0b131e;
  color: #ffffff !important;
}

/* Contact page */
body.agency-contact {
  background: #081015;
}

body.agency-contact .contact-hero {
  background:
    radial-gradient(58% 115% at 8% 62%, rgba(12, 74, 110, 0.4), transparent 70%),
    radial-gradient(42% 90% at 91% 8%, rgba(14, 165, 233, 0.15), transparent 74%),
    linear-gradient(122deg, #070b0e 0%, #0a1420 52%, #0b1a2d 100%);
  border-bottom: 1px solid rgba(245, 244, 239, 0.11);
  min-height: 420px;
  overflow: hidden;
  padding: 17rem 0 5rem;
  position: relative;
}

body.agency-contact .contact-hero__content {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

body.agency-contact .contact-hero h1 {
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 0.9rem 0 1.4rem;
}

body.agency-contact .contact-hero h1 span {
  color: var(--secondary);
}

body.agency-contact .contact-hero__content > p:last-child {
  color: rgba(245, 244, 239, 0.72);
  font-size: clamp(1.05rem, 1.65vw, 1.22rem);
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}

body.agency-contact .contact-hero__motion {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

body.agency-contact .contact-hero__orb {
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 50%;
  position: absolute;
}

body.agency-contact .contact-hero__orb--one {
  height: min(42vw, 560px);
  left: -14vw;
  top: 20%;
  width: min(42vw, 560px);
}

body.agency-contact .contact-hero__orb--two {
  border-color: rgba(14, 165, 233, 0.16);
  height: min(34vw, 450px);
  right: -7vw;
  top: -30%;
  width: min(34vw, 450px);
}

body.agency-contact .contact-conversation {
  background:
    radial-gradient(700px 400px at 86% 100%, rgba(14, 165, 233, 0.1), transparent 72%),
    #081015;
  padding-top: clamp(9rem, 16vw, 15rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
}

body.agency-contact .contact-conversation__grid {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.1fr);
}

body.agency-contact .contact-intro {
  max-width: 480px;
}

body.agency-contact .contact-intro h2,
body.agency-contact .contact-form-panel h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0.8rem 0 1.2rem;
}

body.agency-contact .contact-intro > p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.6;
  margin: 0;
}

body.agency-contact .contact-direct,
body.agency-contact .contact-location {
  border-top: 1px solid rgba(245, 244, 239, 0.14);
  margin-top: 2rem;
  padding-top: 1rem;
}

body.agency-contact .contact-direct p,
body.agency-contact .contact-location p {
  color: rgba(245, 244, 239, 0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

body.agency-contact .contact-direct a {
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration-color: rgba(56, 189, 248, 0.48);
  text-underline-offset: 4px;
}

body.agency-contact .contact-location address {
  color: rgba(245, 244, 239, 0.78);
  font-size: 0.94rem;
  font-style: normal;
  line-height: 1.55;
}

body.agency-contact .contact-form-panel {
  background: linear-gradient(180deg, rgba(29, 46, 57, 0.9), rgba(12, 25, 32, 0.94));
  border: 1px solid rgba(220, 234, 242, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 24px 62px rgba(0, 0, 0, 0.22);
  padding: clamp(1.5rem, 3.7vw, 2.7rem);
}

body.agency-contact .contact-form-panel__heading p {
  color: var(--text-muted);
  margin: 0 0 1.9rem;
}

body.agency-contact .contact-form-standalone {
  gap: 1.1rem;
  margin: 0;
}

body.agency-contact .contact-form-standalone .form-field {
  gap: 0.45rem;
}

body.agency-contact .contact-form-standalone label {
  color: rgba(15, 23, 42, 0.85); /* Dark color for visibility on light background */
  font-size: 0.82rem;
  font-weight: 700;
}

body.agency-contact .contact-form-standalone input,
body.agency-contact .contact-form-standalone select,
body.agency-contact .contact-form-standalone textarea {
  background: rgba(14, 165, 233, 0.08); /* Light corporate orange */
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 4px;
  color: #0f172a; /* Dark text for readability */
  font-family: inherit;
  padding: 0.8rem 0.9rem;
}

body.agency-contact .contact-form-standalone select option {
  background: #ffffff;
  color: #0f172a;
}

body.agency-contact .contact-form-standalone input:focus,
body.agency-contact .contact-form-standalone select:focus,
body.agency-contact .contact-form-standalone textarea:focus {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.8);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
  outline: none;
  color: #0f172a;
}

body.agency-contact .contact-form-standalone textarea {
  min-height: 150px;
}

body.agency-contact .contact-form-standalone .form-actions {
  margin-top: 0.45rem;
}

body.agency-contact .contact-form-standalone .btn-outline {
  background: rgba(5, 10, 13, 0.26);
}

body.agency-contact .form-status {
  color: var(--secondary);
  font-size: 0.88rem;
  margin: 0;
}

body.agency-contact .form-status.error {
  color: #ff9d6c;
}

@media (max-width: 768px) {
  body.agency-mode .header-inner {
    padding-bottom: 18px;
    padding-top: 24px;
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.agency-mode .site-nav {
    top: calc(100% + 2px);
    z-index: 1001;
  }

  body.agency-mode .site-header {
    border-bottom-color: rgba(14, 165, 233, 0.3);
  }

  body.agency-mode .nav-toggle {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    border-color: rgba(56, 189, 248, 0.5);
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  }

  body.agency-mode .nav-toggle-lines,
  body.agency-mode .nav-toggle-lines::before,
  body.agency-mode .nav-toggle-lines::after {
    background-color: #0b131e;
  }

  body.agency-home .site-nav {
    background: #0f1722;
    border-color: rgba(245, 244, 239, 0.2);
    right: 14px;
    left: 14px;
    z-index: 1001;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  }

  body.agency-home .hero {
    min-height: 570px;
    padding: 5.5rem 0 4rem;
  }

  body.agency-home .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.15rem);
  }

  body.agency-home .hero-actions {
    align-items: stretch;
  }

  body.agency-home .services-grid,
  body.agency-home .service-levels-intro,
  body.agency-home .approach-steps,
  body.agency-home .ai-branch-inner {
    grid-template-columns: 1fr;
  }

  body.agency-home .services-grid {
    gap: 28px;
  }

  body.agency-home .service-card {
    min-height: auto;
  }

  body.agency-home .service-card--delayed {
    transition-delay: 0s;
  }

  body.agency-home .step,
  body.agency-home .step:first-child {
    border-left: 0;
    border-top: 1px solid rgba(245, 244, 239, 0.15);
  }

  body.agency-home .step:first-child {
    border-top: 0;
  }

  body.agency-home .ai-branch-inner {
    align-items: start;
  }

  body.agency-inner .inner-hero {
    min-height: auto;
    padding: 8.5rem 0 5rem;
  }

  body.agency-services .inner-hero {
    padding: 6.5rem 0 3rem;
  }

  body.agency-services .inner-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  body.agency-inner .role-guide__inner {
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  body.agency-inner .engagement-pricing__grid {
    grid-template-columns: 1fr;
  }

  body.agency-contact .contact-hero {
    min-height: 0;
    padding: 18rem 0 3.75rem;
  }

  body.agency-contact .contact-conversation__grid {
    gap: 3.5rem;
    grid-template-columns: 1fr;
  }

  body.agency-contact .contact-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.1rem);
  }

  body.agency-inner .method-list li {
    gap: 1rem;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  /* Harmonized Mobile Footer */
  body.agency-mode .site-footer {
    padding: 2.75rem 0 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.agency-mode .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  body.agency-mode .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }

  body.agency-mode .footer-brand .muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
  }

  body.agency-mode .footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
    width: 100%;
    margin: 0 auto;
  }

  body.agency-mode .footer-nav a {
    display: inline-block;
    padding: 2px 4px;
    font-size: 0.82rem;
    color: rgba(245, 244, 239, 0.72);
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  body.agency-mode .footer-nav a:hover {
    background: transparent !important;
    color: #ffffff;
  }
}

/* Active Page Link: 30% larger with bright blue glow */
.site-nav a[aria-current="page"],
.footer-nav a[aria-current="page"],
body.agency-mode .site-nav a[aria-current="page"],
body.agency-mode .footer-nav a[aria-current="page"],
body.agency-home .site-nav a[aria-current="page"],
body.agency-home .footer-nav a[aria-current="page"],
body.agency-inner .site-nav a[aria-current="page"],
body.agency-inner .footer-nav a[aria-current="page"],
body.products-mode .site-nav a[aria-current="page"],
body.products-mode .footer-nav a[aria-current="page"] {
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  text-shadow:
    0 0 8px rgba(56, 189, 248, 0.95),
    0 0 18px rgba(14, 165, 233, 0.85),
    0 0 32px rgba(2, 132, 199, 0.7) !important;
  letter-spacing: 0.02em;
  opacity: 1 !important;
}
