/*
Theme Name: Florent Labs
Theme URI: https://florentlabs.com
Author: Florent Labs
Author URI: https://florentlabs.com
Description: Custom WordPress theme for Florent Labs - Premier Cannabis Contract Manufacturer
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: florent-labs
*/

/* ═══════════════════════════════════════════════
   FLORENT LABS v3 — Styles + GSAP Animations
   Matches reference Manus site design system
   ═══════════════════════════════════════════════ */

/* ─── CSS Custom Properties (Dark Theme) ─── */
:root {
  --background: #0d1b0d;
  --foreground: #eff5ec;
  --primary: #4ade80;
  --primary-foreground: #071207;
  --card: rgba(17, 28, 17, 0.7);
  --card-foreground: #eff5ec;
  --muted: #1a2e1a;
  --muted-foreground: #9cad9c;
  --accent: #1a2e1a;
  --accent-foreground: #4ade80;
  --border: rgba(74, 222, 128, 0.2);
  --ring: #4ade80;
  --radius: 0.75rem;
  --font-sans: 'Satoshi', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

@supports (color: oklch(85% .2 145)) {
  :root {
    --background: oklch(12% .02 145);
    --foreground: oklch(95% .01 110);
    --primary: oklch(85% .2 145);
    --primary-foreground: oklch(10% .05 145);
    --card: oklch(15% .03 145 / .7);
    --card-foreground: oklch(95% .01 110);
    --muted: oklch(20% .02 145);
    --muted-foreground: oklch(70% .02 145);
    --accent: oklch(20% .04 145);
    --accent-foreground: oklch(85% .2 145);
    --border: oklch(85% .2 145 / .2);
    --ring: oklch(85% .2 145);
  }
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--primary); color: var(--primary-foreground); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; }
strong { color: var(--foreground); }

/* ─── Page Transition Overlay ─── */
.page-transition {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; pointer-events: none;
}
.pt-slice {
  flex: 1; background: var(--primary);
  transform-origin: top;
}
/* Hide everything except hero/page backgrounds until transition completes */
.topbar, .site-header, .site-footer,
.hero-badge, .hero-title, .page-hero-title,
.hero-subtitle, .page-hero-subtitle, .hero-buttons,
.floating-badge,
.page-hero-content,
.hero-content,
main > section:not(.hero):not(.page-hero),
main > .cta-section {
  opacity: 0;
}

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ─── Background Orbs ─── */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.orb { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(100px); }
.orb-top { top: -10%; right: -5%; background: rgba(74, 222, 128, 0.05); }
.orb-bottom { bottom: -10%; left: -5%; background: rgba(74, 222, 128, 0.05); }

/* ─── Topbar ─── */
.topbar {
  background: rgba(74, 222, 128, 0.1);
  border-bottom: 1px solid rgba(74, 222, 128, 0.2);
  padding: 0.5rem 0;
  display: none;
}
@media (min-width: 768px) { .topbar { display: block; } }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left, .topbar-right { display: flex; gap: 1.5rem; }
.topbar-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--muted-foreground); transition: color 0.2s;
}
a.topbar-item:hover { color: var(--primary); }

/* ─── Icon Sizes ─── */
.icon-sm { width: 0.75rem; height: 0.75rem; flex-shrink: 0; }
.icon-xs { width: 1rem; height: 1rem; flex-shrink: 0; }
.text-primary { color: var(--primary); }
svg.icon-sm, svg.icon-xs { display: inline-block; vertical-align: middle; }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  transition: all 0.3s ease;
  background: transparent; padding: 1rem 0;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13, 27, 13, 0.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(74, 222, 128, 0.15);
  padding: 0.5rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.logo-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon { position: relative; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; }
.logo-glow {
  position: absolute; inset: 0; background: rgba(74, 222, 128, 0.2);
  border-radius: 50%; filter: blur(8px);
  transition: background 0.5s;
}
.logo-link:hover .logo-glow { background: rgba(74, 222, 128, 0.4); }
.logo-circle {
  position: relative; z-index: 1; width: 2.5rem; height: 2.5rem;
  background: var(--primary); color: var(--primary-foreground);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem;
}
.logo-circle-sm {
  width: 2rem; height: 2rem; background: var(--primary); color: var(--primary-foreground);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.7rem; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.025em; line-height: 1; }
.logo-sub { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.2em; color: var(--primary); line-height: 1; }

/* Nav */
.main-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.main-nav.open {
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh; z-index: 9999;
  background: rgba(10, 20, 10, 0.98); backdrop-filter: blur(20px);
  padding-top: 6rem; align-items: center; justify-content: flex-start;
  gap: 1.5rem; overflow-y: auto;
}
.main-nav.open .nav-link { font-size: 1.5rem; }
.main-nav.open .btn-outline-sm { margin-top: 1rem; }
.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground);
  transition: color 0.2s; position: relative; padding: 0.25rem 0;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%;
  height: 2px; background: var(--primary);
}

/* Buttons */
.btn-outline-sm {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(74, 222, 128, 0.5); color: var(--primary);
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em;
  padding: 0.5rem 1rem; border-radius: 0.375rem;
  transition: all 0.2s;
}
.btn-outline-sm:hover { background: var(--primary); color: var(--primary-foreground); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--primary-foreground);
  font-weight: 500; padding: 0.75rem 2rem; border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: none;
}
.btn-primary:hover { opacity: 0.9; transform: scale(1.05); }
.btn-lg { height: 3.5rem; padding: 0 2rem; font-size: 1rem; }
.btn-glow { box-shadow: 0 0 20px -5px var(--primary); }
.btn-block { width: 100%; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(74, 222, 128, 0.3); color: var(--foreground);
  font-weight: 500; padding: 0.75rem 2rem; border-radius: 50px;
  backdrop-filter: blur(4px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-outline:hover { background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.5); }

/* Mobile Toggle */
.mobile-toggle { display: block; padding: 0.5rem; color: var(--foreground); background: none; border: none; cursor: pointer; z-index: 10000; position: relative; }
.mobile-toggle svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 768px) { .mobile-toggle { display: none; } }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; will-change: transform; }
.hero-gradient {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(13,27,13,0.8), rgba(13,27,13,0.5), var(--background));
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 56rem; padding: 2rem 1rem;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 50px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  backdrop-filter: blur(12px); margin-bottom: 2rem;
}
.badge-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
.badge-text { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em; color: var(--primary); text-transform: uppercase; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9; letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(to right, var(--primary), rgba(74,222,128,0.8), rgba(74,222,128,0.5));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground); max-width: 42rem;
  line-height: 1.625; margin-bottom: 2.5rem;
}
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

/* Floating Badges */
.floating-badge {
  position: absolute; z-index: 20;
  display: none; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1rem; background: rgba(13,27,13,0.5);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@media (min-width: 1024px) { .floating-badge { display: flex; } }
.badge-left { bottom: 2.5rem; left: 2.5rem; }
.badge-right { top: 25%; right: 2.5rem; }
.fbadge-icon { padding: 0.75rem; background: rgba(74,222,128,0.2); border-radius: 50%; color: var(--primary); }
.fbadge-icon svg { width: 1.5rem; height: 1.5rem; }
.fbadge-label { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative; min-height: 40vh;
  display: flex; align-items: flex-end;
  overflow: hidden; padding-bottom: 3rem;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; will-change: transform; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,27,13,0.6), var(--background)); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 0.5rem; }
.page-hero-subtitle { font-size: 1.125rem; color: var(--muted-foreground); max-width: 36rem; }

/* ─── Sections ─── */
.section { padding: 6rem 0; position: relative; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--muted-foreground); }
.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); line-height: 1.625; font-size: 1.0625rem; }

.section-header-row {
  display: flex; flex-direction: column; gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-header-row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.section-header-row > div { max-width: 42rem; }
.link-arrow {
  color: var(--primary); font-weight: 500; white-space: nowrap;
  transition: opacity 0.2s;
}
.link-arrow:hover { opacity: 0.8; }
.link-arrow span { margin-left: 0.5rem; display: inline-block; transition: transform 0.2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ─── Service Cards (Home Grid) ─── */
.card-grid-3 {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  border-radius: 1rem; overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
}
.service-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(74,222,128,0.3);
}
.card-image {
  height: 12rem; overflow: hidden; position: relative;
  width: 100%;
}
.card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .card-image img { transform: scale(1.1); }
.card-image-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--background), transparent);
}
.card-icon {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: 0.75rem; background: rgba(13,27,13,0.8);
  backdrop-filter: blur(12px); border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--primary);
  transition: all 0.3s;
}
.service-card:hover .card-icon {
  background: var(--primary); color: var(--primary-foreground);
}
.card-icon svg { width: 1.25rem; height: 1.25rem; }
.card-body {
  padding: 1.5rem; position: relative; z-index: 2;
  margin-top: -3rem;
}
.card-body h3 {
  font-size: 1.5rem; margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.service-card:hover .card-body h3 { color: var(--primary); }
.card-body p { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }

/* ─── Florent Standard Section ─── */
.standard-section {
  padding: 6rem 0; position: relative; overflow: hidden;
  background: rgba(74,222,128,0.05);
  border-top: 1px solid rgba(74,222,128,0.1);
  border-bottom: 1px solid rgba(74,222,128,0.1);
}
.hex-pattern {
  position: absolute; inset: 0;
  background-image: url('https://www.transparenttextures.com/patterns/hexellence.png');
  opacity: 0.05;
}
.standard-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .standard-inner { grid-template-columns: 1fr 1fr; } }
.standard-images { position: relative; }
.img-glow {
  position: absolute; inset: 0;
  background: rgba(74,222,128,0.2); filter: blur(100px); border-radius: 50%;
}
.img-duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.duo-img { border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.duo-offset-down { transform: translateY(2rem); }
.duo-offset-up { transform: translateY(-2rem); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card {
  padding: 1.5rem; border-radius: 1rem;
  background: var(--background); border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover { border-color: rgba(74,222,128,0.3); }
.stat-number {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--primary);
  line-height: 1; margin-bottom: 0.25rem;
  transition: transform 0.3s; transform-origin: left;
}
.stat-card:hover .stat-number { transform: scale(1.1); }
.stat-label { font-weight: 700; font-size: 1.125rem; }
.stat-sub { font-size: 0.875rem; color: var(--muted-foreground); font-family: var(--font-mono); }

/* ─── CTA Section ─── */
.cta-section { padding: 8rem 0; position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--background), rgba(13,27,13,0.8), transparent); }
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 48rem; margin: 0 auto; }
.cta-heading { font-size: clamp(2rem, 5vw, 3.75rem); margin-bottom: 1.5rem; }
.cta-text { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 2.5rem; }

/* ─── Two Column Layout ─── */
.two-col { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.rounded-img { border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* ─── Values Grid ─── */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: 1fr 1fr; } }
.value-card {
  padding: 2rem; border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.value-card:hover { border-color: rgba(74,222,128,0.3); background: rgba(255,255,255,0.05); }
.value-icon {
  width: 3rem; height: 3rem; padding: 0.625rem;
  background: rgba(74,222,128,0.1); border-radius: 0.75rem;
  color: var(--primary); margin-bottom: 1.25rem;
}
.value-icon svg { width: 100%; height: 100%; }
.value-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.value-card p { color: var(--muted-foreground); font-size: 0.9375rem; line-height: 1.625; }

/* ─── Timeline ─── */
.timeline { position: relative; max-width: 48rem; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: rgba(74,222,128,0.2);
  transform: translateX(-50%);
}
.timeline-item { position: relative; width: 50%; padding: 0 2rem 3rem; }
.timeline-item::after {
  content: ''; position: absolute; top: 0.5rem;
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  background: var(--primary);
}
.tl-left { padding-right: 3rem; text-align: right; }
.tl-left::after { right: -0.375rem; }
.tl-right { margin-left: 50%; padding-left: 3rem; }
.tl-right::after { left: -0.375rem; }
.tl-card {
  padding: 1.5rem; border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.tl-year {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 50px;
  background: rgba(74,222,128,0.15); color: var(--primary);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  margin-bottom: 0.75rem;
}
.tl-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.tl-card p { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.5; }

@media (max-width: 768px) {
  .timeline::before { left: 1rem; }
  .timeline-item { width: 100%; padding: 0 0 2rem 3rem; text-align: left; }
  .tl-left { padding-right: 0; }
  .tl-right { margin-left: 0; padding-left: 3rem; }
  .timeline-item::after { left: 0.625rem; }
}

/* ─── Team Grid ─── */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; }
.team-card img {
  width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover;
  margin: 0 auto 1rem; border: 2px solid rgba(255,255,255,0.1);
  transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover img { transform: scale(1.08); border-color: rgba(74,222,128,0.5); }
.team-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-role { font-family: var(--font-mono); font-size: 0.75rem; color: var(--primary); display: block; margin-bottom: 0.5rem; }
.team-card p { color: var(--muted-foreground); font-size: 0.8125rem; line-height: 1.5; }

/* ─── Service Detail (Services Page) ─── */
.service-detail {
  display: flex; flex-direction: column !important; gap: 2rem;
  align-items: center; padding: 3rem 0;
  border-bottom: 1px solid rgba(74,222,128,0.1);
}
.service-detail:last-child { border-bottom: none; }
@media (min-width: 768px) {
  .service-detail { gap: 3rem; padding: 4rem 0; }
  .service-detail[style*="row"] { flex-direction: row !important; }
  .service-detail[style*="row-reverse"] { flex-direction: row-reverse !important; }
}
.sd-image { flex: 1; border-radius: 1rem; overflow: hidden; width: 100%; }
.sd-image img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 1rem;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.sd-image:hover img { transform: scale(1.05); }
.sd-text { flex: 1; }
.sd-label {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--primary); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.75rem; display: block;
}
.sd-text h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.sd-text p { color: var(--muted-foreground); line-height: 1.625; margin-bottom: 1.5rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--muted-foreground); font-size: 0.9375rem;
}
.feature-list svg { flex-shrink: 0; }

/* ─── Locations ─── */
.locations-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .locations-grid { grid-template-columns: 1fr 1fr; } }
.location-card {
  padding: 2rem; border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.location-card:hover { border-color: rgba(74,222,128,0.3); }
.loc-icon { margin-bottom: 1.5rem; }
.loc-icon svg { width: 2rem; height: 2rem; color: var(--primary); }
.loc-state {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--primary); text-transform: uppercase;
  letter-spacing: 0.1em; display: block; margin-bottom: 0.5rem;
}
.location-card h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.loc-details { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.loc-details li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; color: var(--muted-foreground);
}
.loc-details svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; }
.loc-details a { color: var(--primary); }
.loc-details a:hover { text-decoration: underline; }
.loc-desc { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }

/* Capabilities */
.caps-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .caps-grid { grid-template-columns: repeat(4, 1fr); } }
.cap-card {
  text-align: center; padding: 2rem 1rem; border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cap-card:hover { border-color: rgba(74,222,128,0.3); }
.cap-number {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 2rem; color: var(--primary); margin-bottom: 0.25rem;
}
.cap-label {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--muted-foreground); letter-spacing: 0.05em;
}

/* ─── Contact ─── */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.ci-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ci-card:hover { border-color: rgba(74,222,128,0.3); }
.ci-icon {
  width: 2.5rem; height: 2.5rem; padding: 0.5rem;
  background: rgba(74,222,128,0.1); border-radius: 0.75rem;
  color: var(--primary); flex-shrink: 0;
}
.ci-icon svg { width: 100%; height: 100%; }
.ci-label {
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--muted-foreground); text-transform: uppercase;
  letter-spacing: 0.1em; display: block; margin-bottom: 0.25rem;
}
.ci-value { font-size: 1rem; font-weight: 500; line-height: 1.4; display: block; }
.ci-value.text-primary { color: var(--primary); }

.contact-form-wrap {
  padding: 2rem; border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.contact-form-wrap h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 500;
  margin-bottom: 0.375rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(74,222,128,0.2);
  color: var(--foreground); font-size: 0.9375rem;
  transition: all 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.1);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 8rem; }

/* ─── Footer ─── */
.site-footer {
  background: var(--card); border-top: 1px solid rgba(74,222,128,0.15);
  padding-top: 4rem; padding-bottom: 2rem; position: relative; overflow: hidden;
}
.footer-glow-line {
  position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(74,222,128,0.5), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer-desc { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 1rem; }
.social-btn {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(74,222,128,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); transition: all 0.2s;
}
.social-btn:hover { background: var(--primary); color: var(--primary-foreground); }
.social-btn svg { width: 1rem; height: 1rem; }
.footer-heading {
  font-family: var(--font-heading); font-weight: 700;
  margin-bottom: 1.5rem; font-size: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links li a {
  color: var(--muted-foreground); font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links li a:hover { color: var(--primary); }
.footer-contact .contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; color: var(--muted-foreground);
}
.footer-contact .contact-item svg { margin-top: 0.125rem; }
.footer-contact .contact-item a { color: var(--primary); transition: color 0.2s; }
.footer-contact .contact-item a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(74,222,128,0.15);
  padding-top: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted-foreground);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-licenses { display: flex; gap: 1rem; }

/* ─── Legal Pages ─── */
.legal-content h2 { font-size: 1.35rem; color: oklch(0.95 0 0); margin-top: 2.5rem; margin-bottom: 0.75rem; font-weight: 600; }
.legal-content h2:first-of-type { margin-top: 1.5rem; }
.legal-content p { color: oklch(0.7 0 0); line-height: 1.8; margin-bottom: 1rem; }
.legal-content a { color: oklch(0.75 0.2 145); }

/* ─── WPForms Dark Theme Override (CSS Variable Method) ─── */
.contact-form-wrap .wpforms-container,
.contact-form-wrap div.wpforms-container-full,
.contact-form-wrap .wpforms-container.wpforms-render-modern,
.contact-form-wrap div.wpforms-container-full.wpforms-render-modern {
  --wpforms-field-background-color: #1a2e1a !important;
  --wpforms-field-border-color: #2d4a2d !important;
  --wpforms-field-border-radius: 8px !important;
  --wpforms-field-border-size: 1px !important;
  --wpforms-field-text-color: #e5e5e5 !important;
  --wpforms-field-menu-color: #1a2e1a !important;
  --wpforms-label-color: #d4d4d4 !important;
  --wpforms-label-sublabel-color: #888888 !important;
  --wpforms-label-error-color: #e55555 !important;
  --wpforms-button-background-color: #3d8b3d !important;
  --wpforms-button-background-color-hover: #4aa34a !important;
  --wpforms-button-text-color: #0a1a0a !important;
  --wpforms-button-border-color: #3d8b3d !important;
  --wpforms-button-border-radius: 8px !important;
  --wpforms-button-border-size: 0px !important;
  --wpforms-background-color: transparent !important;
  --wpforms-page-break-color: #3d8b3d !important;
  --wpforms-field-border-color-hover: #3d8b3d !important;
  --wpforms-field-border-color-active: #3d8b3d !important;
}
/* Additional overrides for specificity */
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field input,
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field textarea,
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field select {
  font-family: 'Satoshi', sans-serif !important;
  font-size: 0.95rem !important;
}
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field-label,
.contact-form-wrap div.wpforms-container-full .wpforms-form label {
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 500 !important;
}
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field input:focus,
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field textarea:focus,
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field select:focus {
  box-shadow: 0 0 0 3px rgba(61, 139, 61, 0.2) !important;
}
/* Submit button */
.contact-form-wrap div.wpforms-container-full .wpforms-form button[type="submit"],
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-submit-container button {
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.2s ease !important;
}
.contact-form-wrap div.wpforms-container-full .wpforms-form button[type="submit"]:hover {
  transform: translateY(-1px) !important;
}
/* Sublabels */
.contact-form-wrap div.wpforms-container-full .wpforms-form .wpforms-field-sublabel {
  font-size: 0.8rem !important;
}
/* Select dropdown arrow */
.contact-form-wrap div.wpforms-container-full .wpforms-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233d8b3d' d='M6 8.825L0.375 3.2l0.85-0.85L6 7.125l4.775-4.775 0.85 0.85z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
}
/* Placeholder text */
.contact-form-wrap div.wpforms-container-full .wpforms-form input::placeholder,
.contact-form-wrap div.wpforms-container-full .wpforms-form textarea::placeholder {
  color: #666666 !important;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .section { padding: 3rem 0; }
}

/* ─── Legal Pages ─── */
.legal-content {
  padding: 4rem 0 6rem;
}
.legal-content .container {
  max-width: 800px;
}
.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 2.5rem 0 1rem;
}
.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--foreground);
  margin: 2rem 0 0.75rem;
}
.legal-content p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.legal-content ul li {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.legal-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(74, 222, 128, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
}
.legal-content blockquote p {
  font-style: italic;
  font-size: 0.95rem;
}
.legal-content .warning-box {
  background: rgba(255, 200, 50, 0.08);
  border: 1px solid rgba(255, 200, 50, 0.2);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.legal-content .warning-box p {
  color: var(--foreground);
  font-weight: 500;
}
.legal-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}
.legal-contact p {
  margin-bottom: 0.25rem;
}
