/* ============================================================
   DESIGN TOKENS — All visual decisions sourced from here
============================================================ */
:root {
  --color-bg:           #F7F5F2;
  --color-surface:      #FFFFFF;
  --color-primary:      #D9541E;
  --color-text:         #1A1612;
  --color-text-muted:   #78716C;
  --color-border:       #E7E2DC;
  --color-footer-bg:    #1A1612;
  --color-nav-bg:       rgba(247, 245, 242, 0.88);

  --gradient-hero: radial-gradient(ellipse at 28% 42%, #2C2218 0%, #1F1A10 52%, #1A1612 100%);

  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --shadow-card:  0 2px 16px rgba(26, 28, 25, 0.07);
  --shadow-hover: 0 8px 32px rgba(26, 28, 25, 0.13);

  --radius-card:   16px;
  --radius-btn:    999px;

  --navbar-height: 72px;

  --space-section: clamp(4rem, 8vw, 7rem);
  --container-px:  clamp(1.25rem, 5vw, 3rem);
  --container-max: 1200px;
}

[data-theme="dark"] {
  --color-bg:         #1A1410;
  --color-surface:    #241C14;
  --color-primary:    #F07040;
  --color-text:       #F0EBE5;
  --color-text-muted: #9E8E80;
  --color-border:     #3A2E24;
  --color-footer-bg:  #110E0A;
  --color-nav-bg:     rgba(26, 20, 16, 0.88);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* Scroll offset for sticky navbar */
section[id],
div[id="contact"] {
  scroll-margin-top: var(--navbar-height);
}

/* Container utility */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* Skip-to-content link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Section utility */
.section {
  padding: var(--space-section) 0;
}

/* Section eyebrow label — small caps above headings */
.section-eyebrow {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}

/* Section headings */
.section-heading {
  text-align: left;
  margin-bottom: 3rem;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-heading p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0;
  line-height: 1.7;
}

/* Testimonials heading stays centered to match the centered carousel card */
#testimonials .section-heading {
  text-align: center;
}
#testimonials .section-heading p {
  margin: 0 auto;
}

/* Pill button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn:hover  { opacity: 0.92; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary      { background: var(--color-primary); color: #fff; }
.btn-white        { background: #fff; color: var(--color-primary); }
.btn-outline      { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-ghost-white  { background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-full         { width: 100%; justify-content: center; }

/* ============================================================
   COMPONENT: Navbar
   Extract this block for reuse on Services, Pricing, About pages.
   Copy everything between the two "COMPONENT: Navbar" comments,
   including the matching JS block labelled the same way.
============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.3s ease;
}
.navbar.scrolled {
  border-bottom-color: var(--color-border);
}
.navbar .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1;
  text-align: center;
}
.nav-logo-img {
  width: 70%;
}

/* Nav links — desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  text-decoration: none;
}
.nav-link:hover { background: var(--color-border); }

/* Services chevron */
.nav-chevron {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.75rem;
  line-height: 1;
}
.nav-services-btn.open .nav-chevron { transform: rotate(180deg); }

/* Services dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}
.nav-services-btn.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 8px;
  transition: background 0.15s ease;
}
.nav-dropdown a:hover { background: var(--color-border); color: var(--color-primary); }

/* Nav right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Dark mode toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-border);
  color: var(--color-text);
  transition: background 0.15s ease;
  border: none;
  cursor: pointer;
}
.theme-toggle:hover { background: var(--color-primary); color: #fff; }
.nav-actions .btn-primary:hover,
.hero-btns .btn-primary:hover,
.svc-cta .btn-primary:hover,
.svc-intro-grid .btn-primary:hover,
.svc-content-grid .btn-primary:hover,
#contactForm .btn-primary:hover { background: #b8431a; opacity: 1; transform: scale(1.04); }
.hero-btns .btn-ghost-white:hover { background: #f5ece5; color: var(--color-primary); border-color: #f5ece5; opacity: 1; transform: scale(1.04); }
.svc-cta .btn-outline:hover { background: #b8431a; border-color: #b8431a; color: #fff; opacity: 1; transform: scale(1.04); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun, .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="dark"]  .icon-moon { display: block; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  z-index: 999;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  background: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(26, 28, 25, 0.10);
}
.nav-mobile.open { max-height: 500px; }
.nav-mobile-inner {
  padding: 1rem var(--container-px) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-mobile a,
.nav-mobile button.nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.875rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 8px;
  font-family: var(--font-body);
  transition: background 0.15s;
}
.nav-mobile a:hover,
.nav-mobile button.nav-link:hover { background: var(--color-border); }
.nav-mobile-sub {
  padding-left: 1.25rem;
  display: none;
}
.nav-mobile-sub.open { display: block; }
.nav-mobile-sub a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.nav-mobile-contact {
  margin-top: 0.75rem;
}

@media (max-width: 899px) {
  .nav-links    { display: none; }
  .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile   { display: block; }
}
/* END COMPONENT: Navbar */

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

/* Subtle leaf-green depth orbs via pseudo-elements */
#hero::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 84, 30,0.2) 0%, transparent 70%);
  top: -140px;
  right: -80px;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 84, 30,0.12) 0%, transparent 70%);
  bottom: 60px;
  left: -60px;
  pointer-events: none;
}

/* Hero eyebrow pill */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1.25rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 6rem var(--container-px) 8rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.6s ease forwards;
}
@media (min-width: 1200px) {
  .hero-content h1 span {
    color: rgba(255,255,255,0.4);
  }
}
.hero-content p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin: 0 auto 2rem auto;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.6s ease 0.15s forwards;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 500px;
}
.hero-content .hero-line-1 {
  margin-bottom: .25rem;
}
.hero-content .hero-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content h1,
  .hero-content p,
  .hero-content .hero-btns {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Wavy SVG divider — signature element */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}
[data-theme="dark"] .hero-wave path {
  stroke: var(--color-border);
  stroke-width: 1.5;
}

/* ============================================================
   CASE STUDIES
============================================================ */
#case-studies {
  background: var(--color-bg);
}
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .case-studies-grid { grid-template-columns: 1fr 1fr; }
}

.case-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.case-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 1rem;
  padding-bottom: 1.5rem;
}
.case-placeholder svg { opacity: 0.7; }
.case-placeholder-label {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}
.case-placeholder-1 { background: linear-gradient(135deg, #2C2218 0%, #4A3525 100%); }
.case-placeholder-2 { background: linear-gradient(135deg, #1A1612 0%, #3A2A1A 100%); }

.case-placeholder img {
  width: 100%;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

/* Category tag */
.case-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(217, 84, 30, 0.12);
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.case-body {
  padding: 1.5rem;
}
.case-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}
.case-body p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.2s ease;
}
.case-link:hover { gap: 0.5rem; }

/* ============================================================
   SERVICES
============================================================ */
#services {
  background: rgba(217, 84, 30, 0.06);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: rgba(217, 84, 30, 0.12);
  color: var(--color-primary);
}
.service-icon-wrap svg { width: 32px; height: 32px; stroke-width: 2; }

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 0.625rem;
  min-height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
#testimonials {
  background: var(--color-bg);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.4s ease;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { transition: none; }
}
.testimonial-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
}
.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-card);
  max-width: 760px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--color-border);
}
.testimonial-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 1.5rem;
  overflow: hidden;
}
.avatar-1 { background: linear-gradient(135deg, #3D1A0A, #D9541E); }
.avatar-2 { background: linear-gradient(135deg, #6B220A, #C44A16); }

.avatar-img {
  border-radius: 50%;
}

.testimonial-quote-mark {
  font-size: 4rem;
  line-height: 0.5;
  color: var(--color-primary);
  font-family: Georgia, serif;
  margin-bottom: 1.25rem;
  display: block;
}
.testimonial-text {
  font-size: 1.075rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}
.testimonial-org {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Arrow controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}
.carousel-btn svg { width: 18px; height: 18px; }

/* Dots */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.carousel-dot {
  border-radius: 50%;
  background: var(--color-border);
  width: 8px;
  height: 8px;
  border: none;
  cursor: pointer;
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  padding: 0;
}
.carousel-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   PROCESS
============================================================ */
#process {
  background: rgba(217, 84, 30, 0.06);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.process-phases {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.process-phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .process-phase {
    grid-template-columns: 28% 1fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.phase-label {
  padding-left: 1.25rem;
  border-left: 4px solid var(--color-primary);
}

.phase-label h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.phase-label p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.phase-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .phase-cards { grid-template-columns: 1fr 1fr; }
}

.phase-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.phase-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.phase-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}
.phase-card-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(217, 84, 30, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.phase-card-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.phase-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
  padding-top: 0.25rem;
}
.phase-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   COMPONENT: Contact Form
   Extract this block for reuse on other pages.
============================================================ */
#contact {
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 4rem; }
}

.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.contact-info .call-label {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}
.contact-phone {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}
.contact-info .drop-label {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.contact-meta-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(217, 84, 30, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-meta-icon svg { width: 16px; height: 16px; }

/* Form */
.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-surface);
  outline: none;
  transition: border-color 0.2s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
}
.form-group textarea { resize: vertical; }
.form-success {
  display: none;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  background: rgba(217, 84, 30, 0.1);
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1.5px solid var(--color-primary);
}
/* END COMPONENT: Contact Form */

/* ============================================================
   COMPONENT: Footer
   Extract this block for reuse on other pages.
============================================================ */
footer {
  background: var(--color-footer-bg);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* Logo on dark footer background */
.footer-brand .nav-logo-word { color: #fff; }
.footer-brand .nav-logo-sub  { color: rgba(255,255,255,0.45); }
.footer-brand .nav-logo-img  { filter: brightness(0) invert(1); opacity: 0.85; }

.footer-brand .nav-logo {
  margin-bottom: 0.875rem;
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  line-height: 1.6;
  transition: opacity 0.45s ease;
}
.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col ul a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-col ul a:hover { color: #fff; }

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-link:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.social-link svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem var(--container-px);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}
/* END COMPONENT: Footer */

/* ============================================================
   SERVICE PAGES — design.html, development.html, refinement.html, seo.html
============================================================ */

/* Shorter hero for inner service pages */
#hero.service-hero { min-height: 72vh; }

/* Intro 2-column grid */
.svc-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .svc-intro-grid { grid-template-columns: 3fr 2fr; gap: 4rem; }
}
.svc-intro-body {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Services sidebar navigation card */
.svc-nav-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: sticky;
  top: calc(var(--navbar-height) + 1.5rem);
}
.svc-nav-card-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 1rem 1.25rem 0.75rem;
}
.svc-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  transition: background 0.15s ease, color 0.15s ease;
}
.svc-nav-link:hover { background: var(--color-bg); color: var(--color-primary); }
.svc-nav-link-active {
  color: var(--color-primary);
  font-weight: 700;
  background: rgba(217, 84, 30, 0.06);
}
.svc-nav-link-active:hover { background: rgba(217, 84, 30, 0.10); }

/* Tinted section background */
.svc-tint-section {
  background: rgba(217, 84, 30, 0.06);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-section) 0;
}

/* 2-column content grid */
.svc-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1000px) {
  .svc-content-grid { grid-template-columns: 1fr 320px; gap: 4rem; }
}

/* Feature checklist */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.55;
}
.feature-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(217, 84, 30, 0.12);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125em;
}
.feature-check svg { width: 11px; height: 11px; stroke-width: 2.5; }

/* "How this works" steps */
.svc-how-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: 0.875rem;
}
.svc-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(217, 84, 30, 0.07);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.svc-step { display: flex; align-items: flex-start; gap: 1rem; }
.svc-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1em;
}
.svc-step-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
  display: block;
  margin-bottom: 0.125rem;
}
.svc-step-desc { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.55; }

/* Summary paragraph */
.svc-summary {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Callout / Included box */
.callout-box {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(217, 84, 30, 0.07);
  border: 1px solid rgba(217, 84, 30, 0.2);
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* Sticky visual sidebar */
.svc-visual { position: sticky; top: calc(var(--navbar-height) + 2rem); }
@media (max-width: 999px) { .svc-visual { position: static; } }

/* CSS mock browser (decorative) */
.mock-browser {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  user-select: none;
}
.mock-bar {
  background: var(--color-border);
  padding: 0.625rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot-r { background: #FF5F57; }
.mock-dot-y { background: #FFBD2E; }
.mock-dot-g { background: #28C840; }
.mock-url { flex: 1; height: 14px; margin: 0 0.75rem; background: rgba(255,255,255,0.55); border-radius: 999px; }
.mock-hero-blk {
  background: var(--gradient-hero);
  padding: 1.25rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mock-slab { border-radius: 3px; }
.mock-eyebrow { height: 7px;  width: 70px;  background: rgba(255,255,255,0.35); }
.mock-h1      { height: 16px; width: 100%;  background: rgba(255,255,255,0.88); }
.mock-h1b     { height: 16px; width: 65%;   background: rgba(255,255,255,0.35); }
.mock-sub     { height: 9px;  width: 82%;   background: rgba(255,255,255,0.4); margin-top: 0.2rem; }
.mock-btns    { display: flex; gap: 0.5rem; margin-top: 0.375rem; }
.mock-btn     { height: 22px; width: 76px; border-radius: 999px; background: var(--color-primary); }
.mock-ghost   { height: 22px; width: 76px; border-radius: 999px; background: rgba(255,255,255,0.18); }
.mock-wave-clip { height: 18px; background: var(--color-bg); clip-path: ellipse(56% 100% at 50% 100%); margin-top: 0.75rem; }
.mock-body-blk { padding: 0.875rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mock-label   { height: 7px;  width: 48px;  background: var(--color-primary);    border-radius: 3px; opacity: 0.65; }
.mock-heading { height: 13px; width: 75%;   background: var(--color-text);        border-radius: 3px; opacity: 0.4; }
.mock-line    { height: 8px;                background: var(--color-text-muted);  border-radius: 3px; opacity: 0.3; }
.mock-line-sm { height: 8px;  width: 60%;   background: var(--color-text-muted);  border-radius: 3px; opacity: 0.22; }
.mock-cards   { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.375rem; }
.mock-card    { background: var(--color-bg); border-radius: 6px; padding: 0.5rem; border: 1px solid var(--color-border); }
.mock-c-icon  { width: 14px; height: 14px; border-radius: 3px; background: var(--color-primary); opacity: 0.25; margin-bottom: 0.3rem; }
.mock-c-text  { height: 7px; background: var(--color-text); border-radius: 3px; opacity: 0.2; margin-bottom: 0.25rem; }
.mock-c-text-s { height: 7px; width: 55%; background: var(--color-text); border-radius: 3px; opacity: 0.14; }

/* Our Approach 2-column layout */
.svc-approach-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .svc-approach-layout { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .svc-approach-layout .section-heading { margin-bottom: 0; }
}
.svc-approach-body > p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.approach-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.approach-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}
.approach-list li::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 0.42em;
}

/* Bottom CTA section */
.svc-cta {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  text-align: center;
}
.svc-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.svc-cta > .container > p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.svc-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Development page: code-editor mock ---- */
.mock-hero-code {
  background: #1A1410;
  padding: 1rem 1.25rem;
  min-height: 130px;
  display: flex;
  align-items: flex-start;
}
.mock-code-lines { display: flex; flex-direction: column; gap: 0.35rem; width: 100%; }
.mock-code-line  { display: flex; align-items: center; gap: 0.4rem; }
.mock-code-indent { padding-left: 1.1rem; }

/* keyword / tag slabs */
.mock-code-kw       { display: inline-block; height: 7px; width: 28px; border-radius: 3px; background: rgba(240,112,64,0.7); flex-shrink: 0; }
.mock-code-kw-close { width: 16px; background: rgba(240,112,64,0.5); }
.mock-code-nm       { display: inline-block; height: 7px; width: 52px; border-radius: 3px; background: rgba(250,200,140,0.55); flex-shrink: 0; }
.mock-code-nm-alt   { background: rgba(130,200,255,0.45); width: 40px; }
.mock-code-attr     { display: inline-block; height: 6px; width: 36px; border-radius: 3px; background: rgba(160,220,255,0.35); flex-shrink: 0; }
.mock-code-attr-alt { background: rgba(180,255,180,0.3); width: 28px; }
.mock-code-val      { display: inline-block; height: 6px; width: 44px; border-radius: 3px; background: rgba(200,200,200,0.2); flex-shrink: 0; }
.mock-code-val-med  { width: 60px; }
.mock-code-val-long { width: 80px; }

/* ---- Development page: Lighthouse-style perf score row ---- */
.mock-perf-row {
  display: flex;
  gap: 0.75rem;
  justify-content: space-around;
  padding: 1rem 0.75rem 0.5rem;
}
.mock-perf-item { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.mock-perf-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
}
.mock-perf-ring-green { border-color: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.3); }
.mock-perf-ring-amber { border-color: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.3); }
.mock-perf-label { height: 5px; width: 28px; border-radius: 3px; background: var(--color-border); }

/* ---- Refinement page: audit-checklist mock ---- */
.mock-audit-blk {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mock-audit-title { height: 8px; width: 110px; border-radius: 3px; background: var(--color-text); opacity: 0.18; }
.mock-audit-sub   { height: 6px; width: 70px;  border-radius: 3px; background: var(--color-text-muted); opacity: 0.25; }

.mock-checklist-blk { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.75rem 1rem; }

.mock-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--color-border);
}
.mock-check-item:last-child { border-bottom: none; }

.mock-check-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-check-icon svg { width: 10px; height: 10px; stroke-width: 1.8; }
.mock-check-pass { background: rgba(34,197,94,0.15); color: #16a34a; }
.mock-check-warn { background: rgba(245,158,11,0.15); color: #d97706; }
.mock-check-fail { background: rgba(239,68,68,0.12);  color: #dc2626; }

.mock-check-text     { height: 6px; border-radius: 3px; background: var(--color-border); flex: 1; }
.mock-check-text-med { max-width: 80px; }
.mock-check-text-lg  { max-width: 120px; }

.mock-check-divider { height: 1px; background: var(--color-border); margin: 0.5rem 0; }
.mock-check-summary { display: flex; gap: 0.5rem; align-items: center; }
.mock-check-badge   { height: 18px; border-radius: 4px; }
.mock-check-badge-pass { width: 42px; background: rgba(34,197,94,0.18); }
.mock-check-badge-warn { width: 32px; background: rgba(245,158,11,0.18); }
.mock-check-badge-fail { width: 36px; background: rgba(239,68,68,0.14); }

/* ---- SEO page: SERP (search results) mock ---- */
.mock-serp-search-bar {
  flex: 1;
  height: 22px;
  border-radius: 11px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  gap: 0.35rem;
}
.mock-serp-search-icon { display: flex; align-items: center; color: var(--color-text-muted); opacity: 0.6; }
.mock-serp-search-icon svg { width: 11px; height: 11px; }

.mock-serp-blk {
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mock-serp-result {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mock-serp-result:last-child { border-bottom: none; }

.mock-serp-result-top {
  border-left: 3px solid var(--color-primary);
  background: rgba(217, 84, 30, 0.04);
}

.mock-serp-favicon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--color-primary);
  opacity: 0.85;
  flex-shrink: 0;
}
.mock-serp-favicon-sm { background: var(--color-border); opacity: 1; width: 14px; height: 14px; border-radius: 3px; }

.mock-serp-meta { display: flex; align-items: center; gap: 0.4rem; }
.mock-serp-domain       { height: 6px; width: 80px; border-radius: 3px; background: #1a7340; opacity: 0.7; }
.mock-serp-domain-muted { background: var(--color-text-muted); opacity: 0.35; width: 65px; }
.mock-serp-breadcrumb   { height: 5px; width: 40px; border-radius: 3px; background: var(--color-text-muted); opacity: 0.25; }
.mock-serp-breadcrumb-sm { width: 30px; }

.mock-serp-title         { height: 9px; width: 85%; border-radius: 3px; background: #1155cc; opacity: 0.65; }
.mock-serp-title-primary { background: var(--color-primary); opacity: 0.9; width: 92%; }
.mock-serp-title-sm      { width: 72%; }

.mock-serp-snippet   { display: flex; flex-direction: column; gap: 0.25rem; }
.mock-serp-snip-line { height: 6px; border-radius: 3px; background: var(--color-text-muted); opacity: 0.25; width: 100%; }
.mock-serp-snip-med  { width: 75%; }
.mock-serp-snip-short { width: 55%; }

/* ============================================================
   PRICING PAGE
============================================================ */

/* Intro: two-column at 800px+ */
.pricing-intro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .pricing-intro-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .pricing-intro-layout .section-heading { margin-bottom: 0; }
}
.pricing-intro-body > p {
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Capabilities grid: 1 → 2 → 3 columns */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 540px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
}

.cap-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--color-primary);
}
.cap-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(217, 84, 30, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.cap-card-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.cap-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.cap-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Investment philosophy: two-column at 800px+ */
.pricing-invest-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .pricing-invest-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .pricing-invest-layout .section-heading { margin-bottom: 0; }
}
.pricing-invest-body > p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}
.pricing-invest-body > p:last-of-type { margin-bottom: 0; }

/* ============================================================
   ABOUT PAGE
============================================================ */

/* Reusable 2-col split: heading left, body right */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .about-split {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
  .about-split .section-heading { margin-bottom: 0; }
}
.about-split-body > p {
  color: var(--color-text);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}
.about-split-body > p:last-child { margin-bottom: 0; }

/* Why Work With Us — dark hero-gradient background */
.about-why-section {
  background: var(--gradient-hero);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.about-why-heading h2 { color: #F0EBE5; }
.about-why-heading p  { color: rgba(240, 235, 229, 0.7); }
.about-why-heading .section-eyebrow {
  color: #F07040;
  background: transparent;
  border-color: rgba(240, 112, 64, 0.45);
}

.about-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 500px) {
  .about-why-grid { grid-template-columns: repeat(2, 1fr); }
}

.about-why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.about-why-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(240, 112, 64, 0.2);
  color: #F07040;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-why-icon svg { width: 20px; height: 20px; }
.about-why-card p {
  color: rgba(240, 235, 229, 0.88);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  padding-top: 0.55rem;
}

/* Our Mission — primary orange background */
.about-mission {
  background: var(--color-primary);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.about-mission-eyebrow {
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}
.about-mission-h2 { color: #fff; }
.about-mission-body > p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}
.about-mission-body > p:last-child { margin-bottom: 0; }

/* What We Value — 2-col responsive grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 540px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-card {
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--value-accent, var(--color-primary));
  box-shadow: var(--shadow-card);
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   TEAM CARDS + MODAL
============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 600px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.team-card-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-primary);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}
.team-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Modal overlay */
.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.team-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Modal box — always side-by-side: photo left, text right */
.team-modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: clamp(360px, 72vh, 540px);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: row;
}

/* Photo column — portrait strip at all widths */
.team-modal-photo {
  position: relative;
  width: clamp(110px, 42%, 300px);
  flex-shrink: 0;
  overflow: hidden;
}
.team-modal-photo picture,
.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Name/role gradient overlay at bottom of photo */
.team-modal-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 0.875rem 0.875rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}
.team-modal-name-overlay h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.9rem, 3vw, 1.35rem);
  color: #fff;
  margin-bottom: 0.15rem;
  line-height: 1.1;
}
.team-modal-name-overlay p {
  font-size: clamp(0.7rem, 1.8vw, 0.875rem);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Text column */
.team-modal-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid var(--color-border);
}

/* Bio */
.team-modal-bio {
  flex: 1;
  padding: 1.25rem 1rem 1rem;
  overflow-y: auto;
}
.team-modal-bio p {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.75;
  margin: 0;
}

/* Nav bar — prev / counter / next — at bottom of text column */
.team-modal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}
.team-modal-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.team-modal-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.team-modal-nav-btn svg { width: 14px; height: 14px; }
.team-modal-counter {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

/* Close button */
.team-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.team-modal-close:hover { background: rgba(0, 0, 0, 0.75); }
.team-modal-close svg { width: 14px; height: 14px; }

/* Wider screens: larger modal and more padding */
@media (min-width: 600px) {
  .team-modal {
    max-width: 780px;
    height: clamp(440px, 68vh, 560px);
  }
  .team-modal-bio {
    padding: 2rem 1.75rem 1.5rem;
  }
  .team-modal-bio p {
    font-size: 0.9375rem;
  }
  .team-modal-name-overlay {
    padding: 4.5rem 1.5rem 1.25rem;
  }
}

/* ============================================================
   CASE STUDY PAGES
============================================================ */

/* Tags in hero — invert to work on dark gradient background */
.service-hero .case-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.cs-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

/* Section headings within case study content */
.cs-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

/* Body text container */
.cs-body {
  max-width: 760px;
}
.cs-body > p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.cs-body > p:last-child { margin-bottom: 0; }
.cs-body > p strong { color: var(--color-text); font-weight: 600; }

/* Bullet lists */
.cs-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 760px;
}
.cs-list li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  padding-left: 1.5rem;
  position: relative;
}
.cs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.cs-list li strong { color: var(--color-text); font-weight: 600; }

/* Screenshot gallery — dark background so screenshots pop */
.cs-gallery-section {
  padding: var(--space-section) 0;
  background: var(--color-footer-bg);
}
.cs-gallery-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-align: center;
}
.cs-gallery {
  max-width: 960px;
  margin: 0 auto;
}
.cs-gallery-viewport {
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.cs-gallery-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-gallery-slide { flex: 0 0 100%; overflow: hidden; }
.cs-gallery-slide picture,
.cs-gallery-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.cs-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.cs-gallery-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cs-gallery-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.cs-gallery-btn svg { width: 18px; height: 18px; }
.cs-gallery-dots {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}
.cs-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cs-gallery-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* Tech stack + visit site */
.cs-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .cs-meta-grid { grid-template-columns: 1fr 1fr; }
}
.cs-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cs-tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.875rem;
  background: rgba(217, 84, 30, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(217, 84, 30, 0.25);
  border-radius: var(--radius-btn);
  font-size: 0.8125rem;
  font-weight: 600;
}
.cs-visit-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: opacity 0.2s;
  margin-bottom: 0.5rem;
}
.cs-visit-link:hover { opacity: 0.75; }
.cs-visit-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Wave fill that matches .svc-tint-section background */
.hero-wave-tint svg path {
  fill: color-mix(in srgb, #D9541E 6%, var(--color-bg));
}

/* 404 page quick-links grid */
.notfound-links-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2.5rem;
}
.notfound-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.notfound-card {
  flex: 0 0 calc(50% - 0.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.notfound-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}
.notfound-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  background: rgba(217, 84, 30, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.notfound-card-icon svg { width: 22px; height: 22px; }
.notfound-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}
.notfound-card p { font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.5; margin: 0; }
@media (min-width: 540px) {
  .notfound-card { flex: 0 0 calc(33.333% - 0.75rem); }
}
@media (min-width: 800px) {
  .notfound-card { flex: 0 0 calc(25% - 0.75rem); max-width: 220px; }
}

/* Tech stack grouped layout (DevLeads) */
.cs-tech-groups {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cs-tech-group-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}
