/* ============================================================
   TUFFO SERVICES — Global Stylesheet
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0c1222;
  --bg-card: #151823;
  --bg-footer: #111827;
  --bg-nav: rgba(10, 10, 15, 0.85);
  --accent-cyan: #0fffc1;
  --accent-purple: #7e0fff;
  --text-white: #ffffff;
  --text-gray: #a0aec0;
  --text-muted: #6b7280;
  --border-subtle: rgba(15, 255, 193, 0.15);
  --border-hover: rgba(15, 255, 193, 0.6);
  --font-headline: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s ease;
  --transition-slow: 0.8s ease;
  --glow-cyan: 0 0 20px rgba(15, 255, 193, 0.4);
  --glow-purple: 0 0 20px rgba(126, 15, 255, 0.4);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p {
  color: var(--text-gray);
  line-height: 1.75;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.section-title {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-gray);
  font-size: 1.05rem;
}

/* --- Backlit Glow Effect --- */
.backlit {
  position: relative;
}

.backlit::after {
  position: absolute;
  content: "";
  top: 5px;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.75);
  -webkit-filter: blur(5vw);
  -moz-filter: blur(5vw);
  -ms-filter: blur(5vw);
  filter: blur(5vw);
  background: linear-gradient(270deg, #0fffc1, #7e0fff);
  background-size: 200% 200%;
  animation: animateGlow 10s ease infinite;
  pointer-events: none;
}

@keyframes animateGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition-med), backdrop-filter var(--transition-med), padding var(--transition-med), box-shadow var(--transition-med);
}

.nav.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--border-subtle), 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
}

.nav-logo span {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(15, 255, 193, 0.6);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
  box-shadow: var(--glow-cyan);
}

.nav-links a:hover {
  color: var(--text-white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: text-shadow var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.nav-phone:hover {
  text-shadow: var(--glow-cyan);
  transform: scale(1.02);
}

.nav-phone svg {
  width: 16px;
  height: 16px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-gray);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.mobile-nav .mobile-phone {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(30%) brightness(0.6);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.3) 0%,
    rgba(10, 10, 15, 0.1) 40%,
    rgba(10, 10, 15, 0.6) 80%,
    rgba(10, 10, 15, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.hero-headline {
  font-family: var(--font-headline);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-headline .accent {
  color: var(--accent-cyan);
  text-shadow: 0 0 30px rgba(15, 255, 193, 0.5);
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-gray);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- 3D Particle Sphere --- */
.hero-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  perspective: 500px;
  width: 0;
  height: 0;
  pointer-events: none;
}

.hero-particles i {
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
  /* animation-name and animation-delay are injected by JS per particle */
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.hero-particles i.particle-cyan {
  background: rgba(15, 255, 193, 0.5);
  box-shadow: 0px 0px 10px rgba(15, 255, 193, 1);
}

.hero-particles i.particle-purple {
  background: rgba(126, 15, 255, 0.5);
  box-shadow: 0px 0px 10px rgba(126, 15, 255, 1);
}

/* Particle keyframes (spin-1 through spin-62) are injected by JS at runtime */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: visible;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 0 0 rgba(15, 255, 193, 0);
}

.btn-primary:hover {
  background: #0ee8ad;
  box-shadow: 0 0 30px rgba(15, 255, 193, 0.5), 0 0 60px rgba(15, 255, 193, 0.2);
  transform: translateY(-1px);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan);
  filter: blur(3vw);
  opacity: 0.15;
  z-index: -1;
  transform: scale(1.1);
  animation: animateGlow 10s ease infinite;
  background: linear-gradient(270deg, #0fffc1, #7e0fff);
  background-size: 200% 200%;
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.btn-outline-cyan:hover {
  background: rgba(15, 255, 193, 0.1);
  box-shadow: var(--glow-cyan);
}

/* --- Service Cards (Three Divisions) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
  transform-style: preserve-3d;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 40px rgba(15, 255, 193, 0.1), inset 0 0 30px rgba(15, 255, 193, 0.03);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card::after {
  position: absolute;
  content: "";
  top: 5px;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.75);
  filter: blur(5vw);
  background: linear-gradient(270deg, #0fffc1, #7e0fff);
  background-size: 200% 200%;
  animation: animateGlow 10s ease infinite;
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: textColor 10s ease infinite;
}

@keyframes textColor {
  0%   { color: #7e0fff; }
  50%  { color: #0fffc1; }
  100% { color: #7e0fff; }
}

.card-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.card-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  margin-bottom: 2rem;
}

.card-services li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 0.75rem;
  position: relative;
}

.card-services li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap var(--transition-fast), text-shadow var(--transition-fast);
}

.card-link:hover {
  gap: 0.7rem;
  text-shadow: var(--glow-cyan);
}

/* --- Why Tuffo Differentiators --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.why-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: border-color var(--transition-med);
}

.why-block:hover {
  border-color: rgba(126, 15, 255, 0.4);
}

.why-stat {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 30px rgba(15, 255, 193, 0.3);
}

.why-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.why-body {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.75;
}

/* --- Process Section --- */
.process-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 8px rgba(15, 255, 193, 0.4);
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--glow-cyan), inset 0 0 15px rgba(15, 255, 193, 0.05);
}

.step-title {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* --- Service Area --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
  box-shadow: 0 0 30px rgba(15, 255, 193, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  display: block;
  filter: invert(90%) hue-rotate(180deg) saturate(0.7) brightness(0.75);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.area-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-gray);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.area-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(15, 255, 193, 0.05);
}

.area-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.area-note a {
  color: var(--accent-cyan);
  font-weight: 600;
  transition: text-shadow var(--transition-fast);
}

.area-note a:hover {
  text-shadow: var(--glow-cyan);
}

/* --- Testimonials --- */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  transition: border-color var(--transition-med);
}

.testimonial-card.active {
  border-color: rgba(15, 255, 193, 0.3);
}

.testimonial-card.active::after {
  position: absolute;
  content: "";
  top: 5px;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.75);
  filter: blur(5vw);
  background: linear-gradient(270deg, #0fffc1, #7e0fff);
  background-size: 200% 200%;
  animation: animateGlow 10s ease infinite;
  opacity: 0.5;
  pointer-events: none;
}

.quote-mark {
  font-size: 5rem;
  line-height: 0.5;
  font-family: Georgia, serif;
  color: var(--accent-cyan);
  opacity: 0.3;
  margin-bottom: 1.5rem;
  display: block;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-white);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.testimonial-stars {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.carousel-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.carousel-dot.active {
  background: var(--accent-cyan);
  transform: scale(1.3);
  box-shadow: var(--glow-cyan);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: rgba(15, 255, 193, 0.4);
  box-shadow: 0 0 20px rgba(15, 255, 193, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: transparent;
  text-align: left;
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  gap: 1rem;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition-fast);
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-gray);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group:last-of-type {
  margin-bottom: 1.5rem;
}

label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-gray);
}

input, select, textarea {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-white);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(15, 255, 193, 0.1);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230fffc1' d='M8 10.94L2.53 5.47l.94-.94L8 9.06l4.53-4.53.94.94L8 10.94z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

select option {
  background: var(--bg-secondary);
  color: var(--text-white);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--accent-cyan);
  font-family: var(--font-headline);
  font-weight: 600;
}

.form-success svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent-cyan);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.info-value {
  color: var(--text-white);
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-value a {
  color: var(--accent-cyan);
  transition: text-shadow var(--transition-fast);
}

.info-value a:hover {
  text-shadow: var(--glow-cyan);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all var(--transition-fast);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

/* --- Footer --- */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: var(--accent-cyan);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-nav-title {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-gray);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

/* --- Scroll Animation Helpers --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Photo Placeholders --- */
.photo-placeholder {
  background: linear-gradient(135deg, #151823 0%, #1a2035 100%);
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-body);
  min-height: 200px;
}

.photo-placeholder::before {
  content: '📷';
  font-size: 2rem;
  margin-bottom: 0.5rem;
  filter: grayscale(1) opacity(0.4);
}

/* --- Inner Page Hero --- */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(15, 255, 193, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
  color: var(--accent-cyan);
  transition: text-shadow var(--transition-fast);
}

.page-hero .breadcrumb a:hover {
  text-shadow: var(--glow-cyan);
}

.page-hero .breadcrumb span {
  margin: 0 0.5rem;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
}

/* --- Service Detail Grid --- */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.service-detail-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.service-detail-card h3 {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

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

/* --- CTA Band --- */
.cta-band {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(15, 255, 193, 0.04) 0%, rgba(126, 15, 255, 0.04) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 1rem;
}

.cta-band p {
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--transition-med);
}

.value-card:hover {
  border-color: rgba(126, 15, 255, 0.4);
}

.value-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.value-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.88rem;
  color: var(--text-gray);
}

/* --- 404 Page --- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.error-code {
  font-family: var(--font-headline);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 800;
  color: var(--accent-cyan);
  opacity: 0.1;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  text-shadow: 0 0 80px rgba(15, 255, 193, 0.5);
  pointer-events: none;
}

.error-content {
  position: relative;
  z-index: 1;
}

/* === RESPONSIVE === */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

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

  .process-track {
    flex-direction: column;
    align-items: flex-start;
    max-width: 500px;
    margin: 0 auto;
  }

  .process-track::before {
    display: none;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    padding: 0;
    width: 100%;
  }

  .step-number {
    margin: 0;
    flex-shrink: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .about-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet small — 768px */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .hero-stats {
    gap: 1.5rem;
  }

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

  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  /* Reduce particle glow blur for mobile performance */
  .backlit::after {
    filter: blur(2.5vw);
  }

  .btn-primary::before {
    filter: blur(1.5vw);
  }
}

/* Mobile — 375px */
@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .card-services {
    grid-template-columns: 1fr;
  }

  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    padding: 2rem 1.25rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .why-block {
    padding: 1.75rem;
  }
}

/* ============================================================
   INNER PAGE SPECIFICS
   ============================================================ */

.division-intro {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (max-width: 768px) {
  .division-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .services-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Glow divider line */
.glow-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), transparent);
  margin: 3rem 0;
  opacity: 0.4;
}

/* Tag badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: rgba(15, 255, 193, 0.08);
  border: 1px solid rgba(15, 255, 193, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

/* Emergency call-out band */
.emergency-band {
  background: linear-gradient(135deg, rgba(126, 15, 255, 0.08) 0%, rgba(15, 255, 193, 0.08) 100%);
  border: 1px solid rgba(126, 15, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.emergency-band h3 {
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.emergency-band p {
  font-size: 0.9rem;
}
