/* ============================================
   WhiteSpace Automation — Production Styles
   Mobile-first responsive
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg: #FAFAF8;
  --bg-card: #FFFFFF;
  --bg-elevated: #F3F2EE;
  --text: #1A1A18;
  --text-muted: #6B6A65;
  --accent: #2B5C3A;
  --accent-bright: #3A7A4F;
  --accent-dim: rgba(43, 92, 58, 0.08);
  --accent-border: rgba(43, 92, 58, 0.2);
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.16);
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* --- Grain Overlay --- */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  max-width: 100vw;
  overflow: hidden;
}

.nav-inner {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 105px;
  width: auto;
  vertical-align: middle;
  position: relative;
  top: 6px;
  margin-left: -12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 100px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
  letter-spacing: 0 !important;
  border-bottom: none !important;
  margin-bottom: 4px;
}

.nav-cta:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px);
  border-bottom: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 18px 32px;
  transition: color 0.2s, transform 0.3s ease, opacity 0.3s ease;
  width: auto;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.3s; }

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-menu .nav-cta {
  margin-top: 16px;
  display: inline-block;
  width: auto;
  text-align: center;
}

/* ============================================
   HERO
   ============================================ */
.hero-bg-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 600px;
  background: linear-gradient(180deg, rgba(43, 92, 58, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.hero {
  padding: 130px 1.5rem 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(43, 92, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-eyebrow::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(43, 92, 58, 0.15), transparent);
  animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 200%; }
  100% { left: 200%; }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 960px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-nowrap {
  display: block;
}

.hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 44px;
  font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 15px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}

@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(43, 92, 58, 0.2);
  }
  .btn-primary:hover svg {
    transform: translateX(3px);
  }
}

.btn-primary svg {
  transition: transform 0.2s;
}


/* ============================================
   INDUSTRY TICKER
   ============================================ */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: rgba(43, 92, 58, 0.025);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll 33s linear infinite;
}

.ticker-item {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-right: 48px;
}

.ticker-item::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
section {
  padding: 72px 1.5rem;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ============================================
   TRUSTED BY
   ============================================ */
.trusted-by {
  padding: 48px 1.5rem;
  border-bottom: 1px solid var(--border);
}

.trusted-by-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.trusted-by-label {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.trusted-by-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.trusted-by-logos img {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
  border-radius: 8px;
}

.trusted-by-logos img:hover {
  opacity: 1;
}

.trusted-by-logos .ac-logo {
  background: #000;
  padding: 8px;
  border-radius: 8px;
}

.trusted-by-logos .everbloom-logo {
  border-radius: 8px;
}

@media (max-width: 649px) {
  .trusted-by-logos img:first-child {
    flex-basis: 100%;
  }
}

/* ============================================
   STATS (HIDDEN)
   ============================================ */
.stats-section {
  display: none;
  padding: 32px 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(43, 92, 58, 0.03);
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
  text-align: center;
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-item:hover {
  background: var(--bg-elevated);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  justify-content: center;
  flex-direction: column;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

@media (hover: hover) {
  .service-card:hover::before {
    transform: scaleX(1);
  }
  .service-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  }
}

.service-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  color: rgba(0,0,0,0.2);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Services CTA Bar */
.services-cta-bar {
  margin-top: 32px;
  padding: 28px 32px;
  background: rgba(43, 92, 58, 0.05);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.services-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.services-cta-text strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.services-cta-text span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================
   CASE STUDIES
   ============================================ */
.cases-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
}

.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

@media (hover: hover) {
  .case-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px) !important;
    box-shadow: 0 6px 24px rgba(58, 122, 79, 0.25), 0 0 0 3px rgba(58, 122, 79, 0.08);
  }
}

.case-top {
  padding: 32px 28px 0;
  flex: 1;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.case-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 12px;
}

.case-card .case-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 28px;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.case-metric {
  padding: 20px 28px;
}

.case-metric strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.case-metric span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   PROCESS
   ============================================ */
#process {
  background: rgba(43, 92, 58, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step {
  padding: 48px 36px;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.3s, box-shadow 0.3s;
}

.process-step:last-child {
  border-bottom: none;
}

@media (hover: hover) {
  .process-step:hover {
    background: var(--bg-card);
    box-shadow: inset 3px 0 0 var(--accent);
  }
  .process-step:hover .process-num {
    color: rgba(43, 92, 58, 0.6);
  }
}

.process-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(43, 92, 58, 0.25);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.process-step h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
  background: var(--accent);
  border-top: none;
  border-bottom: none;
}

.testimonial .section-label {
  color: rgba(255,255,255,0.6);
}

.testimonial .section-label::before {
  background: rgba(255,255,255,0.4);
}

.testimonial .section-title {
  color: #FFFFFF;
  margin-bottom: 48px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  flex-direction: column;
}

.testimonial-card {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}

.testimonial-quote-mark {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  color: rgba(255,255,255,0.2);
  line-height: 0.8;
  margin-bottom: -16px;
  display: block;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.testimonial-role {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 56px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-photo-frame {
  aspect-ratio: 3/4;
  max-width: 260px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-content p strong {
  color: var(--text);
}

.about-content p + p {
  margin-top: 15px;
}

@media (max-width: 649px) {
  .about-content p + p {
    margin-top: 22px;
  }
  .trust-list {
    margin-top: 40px;
  }
}

.trust-list {
  margin-top: 27px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  justify-content: center;
}

.trust-icon {
  width: 24px; height: 24px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.trust-icon svg {
  width: 12px; height: 12px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 72px 1.5rem;
  background: rgba(43, 92, 58, 0.06);
  border-top: 1px solid rgba(43, 92, 58, 0.1);
  border-bottom: 1px solid rgba(43, 92, 58, 0.1);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(43, 92, 58, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  transition: all 0.3s;
}

@media (hover: hover) {
  .faq-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  }
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 56px;
}

.contact-left h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-left p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: default;
  transition: box-shadow 0.4s ease;
}

@media (hover: hover) {
  .contact-link:hover {
    box-shadow: 0 4px 28px rgba(58, 122, 79, 0.25);
  }
}

.contact-link-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-link-text {
  font-size: 0.9rem;
}

.contact-link-text strong {
  color: var(--text);
  font-weight: 600;
  display: block;
}

.contact-link-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  background: var(--bg-card);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.form-success p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 20px clamp(1.5rem, 4vw, 4rem) 16px;
  background: var(--text);
}

.footer-inner {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  height: 38px;
  width: auto;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(250, 250, 248, 0.4);
  border-top: 1px solid rgba(250, 250, 248, 0.1);
  margin-top: 10px;
  padding-top: 22px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(250, 250, 248, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FAFAF8;
}

/* ============================================
   SCROLL-ACTIVE (Touch Devices)
   ============================================ */
.touch-device .service-card.scroll-active {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.touch-device .service-card.scroll-active::before {
  transform: scaleX(1);
}

.touch-device .case-card.scroll-active {
  border-color: var(--accent);
  transform: translateY(-6px) !important;
  box-shadow: 0 6px 24px rgba(58, 122, 79, 0.25), 0 0 0 3px rgba(58, 122, 79, 0.08);
}

.touch-device .process-step.scroll-active {
  background: var(--bg-card);
  box-shadow: inset 3px 0 0 var(--accent);
}
.touch-device .process-step.scroll-active .process-num {
  color: rgba(43, 92, 58, 0.6);
}

.touch-device .faq-item.scroll-active {
  border-color: var(--border-hover);
  transform: translateY(-6px) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.touch-device .contact-link.scroll-active {
  box-shadow: 0 4px 28px rgba(58, 122, 79, 0.25);
}

.touch-device .btn-primary.scroll-active {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43, 92, 58, 0.2);
}
.touch-device .btn-primary.scroll-active svg {
  transform: translateX(3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

/* ============================================
   TABLET (650px+)
   ============================================ */
@media (min-width: 650px) {
  nav { padding: 0 2.5rem; }
  .hero { padding: 160px 2.5rem 100px; }
  .hero h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); }
  .hero-sub { font-size: 1.15rem; }
  section { padding: 100px 2.5rem; }
  .faq-section { padding: 100px 2.5rem; }
  footer { padding: 40px 2.5rem; }
  .trusted-by { padding: 48px 2.5rem; }
  .trusted-by-logos { gap: 48px; }
  .trusted-by-logos img { height: 90px; }

  .services-grid {
    flex-direction: row;
  }
  .services-grid .service-card {
    flex: 0 1 calc(50% - 8px);
    min-width: 280px;
  }

  .cases-grid { grid-template-columns: 1fr 1fr; }

  .faq-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr 1fr; }

  .contact-form { padding: 40px; }

  .testimonials-grid {
    flex-direction: row;
  }
  .testimonial-card {
    flex: 0 1 calc(50% - 10px);
    min-width: 300px;
  }
}

/* ============================================
   DESKTOP (1000px+)
   ============================================ */
@media (min-width: 1000px) {
  /* Show desktop nav links, hide hamburger */
  .hamburger { display: none !important; }
  .nav-links a { display: inline; }

  .services-grid .service-card {
    flex: 0 1 calc(33.333% - 11px);
  }

  .cases-grid { grid-template-columns: repeat(3, 1fr); }

  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-step {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
  .process-step:last-child { border-right: none; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
  .stat-item:last-child { border-right: none; }

  .about-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
  }
  .about-photo-frame { max-width: 300px; }
  .trust-item { justify-content: flex-start; }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }

  .about-content h3 { font-size: 1.8rem; }
}

/* ============================================
   MOBILE NAV (<1000px)
   ============================================ */
@media (max-width: 999px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { max-width: 100%; width: 100%; }
  .nav-logo { flex-shrink: 1; min-width: 0; overflow: hidden; }
  .nav-logo-img { height: 78px; max-width: 100%; }
}
