/* ============================================================
   TUFFO SERVICES — Premium Website Stylesheet
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0c1222;
  --bg-card: #151823;
  --bg-footer: #111827;
  --accent-cyan: #0fffc1;
  --accent-purple: #7e0fff;
  --text-white: #ffffff;
  --text-gray: #a0aec0;
  --text-dark-gray: #6b7280;
  --glow-cyan: rgba(15, 255, 193, 0.5);
  --glow-purple: rgba(126, 15, 255, 0.5);
  --nav-height: 80px;
  --section-pad: 120px;
  --particle-size: 8px;
  --particle-radius: 80px;
  --lap-duration: 3s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-gray);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Base --- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.125rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   EFFECT 1 — 3D Particle Sphere
   ============================================================ */
.hero-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  perspective: 500px;
  pointer-events: none;
}

.hero-particles i {
  display: block;
  position: absolute;
  width: var(--particle-size);
  height: var(--particle-size);
  border-radius: var(--particle-size);
  opacity: 0;
  background: var(--glow-cyan);
  box-shadow: 0 0 10px rgba(15, 255, 193, 1);
  animation-name: particleSpin;
  animation-duration: var(--lap-duration);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.hero-particles i:nth-child(even) {
  background: var(--glow-purple);
  box-shadow: 0 0 10px rgba(126, 15, 255, 1);
}

@keyframes particleSpin {
  from { opacity: 0; }
  to {
    opacity: 0.6;
    transform: translate3d(-4px, -4px, 570px);
  }
}

/* ============================================================
   EFFECT 2 — Backlighting Glow
   ============================================================ */
.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);
  filter: blur(5vw);
  -webkit-filter: blur(5vw);
  background: linear-gradient(270deg, var(--accent-cyan), var(--accent-purple));
  background-size: 200% 200%;
  animation: animateGlow 10s ease infinite;
  border-radius: inherit;
}

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

.backlit-subtle::after {
  opacity: 0.15;
  filter: blur(3vw);
  -webkit-filter: blur(3vw);
}

/* ============================================================
   EFFECT 3 — Scroll Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.45s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
  background-color: transparent;
}

.nav.scrolled {
  background-color: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 255, 193, 0.08);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px var(--glow-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--glow-cyan);
  transition: width 0.3s ease;
}

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

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

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.nav-phone svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-phone:hover {
  color: var(--text-white);
  text-shadow: 0 0 20px var(--glow-cyan), 0 0 40px var(--glow-cyan);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  padding: 100px 32px 40px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(15, 255, 193, 0.1);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent-cyan);
  padding-left: 8px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
}

/* ============================================================
   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;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(126, 15, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(15, 255, 193, 0.06) 0%, transparent 60%),
    var(--bg-primary);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 .accent {
  color: var(--accent-cyan);
  text-shadow: 0 0 30px var(--glow-cyan);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.hero-stat .stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  position: relative;
}

.btn-primary::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(3vw);
  -webkit-filter: blur(3vw);
  background: linear-gradient(270deg, var(--accent-cyan), var(--accent-purple));
  background-size: 200% 200%;
  animation: animateGlow 10s ease infinite;
  opacity: 0.4;
  border-radius: 4px;
}

.btn-primary:hover {
  background: var(--text-white);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ============================================================
   SERVICE DIVISION CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 48px 36px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease, transform 0.4s ease;
  transform-style: preserve-3d;
  perspective: 800px;
}

.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);
  -webkit-filter: blur(5vw);
  background: linear-gradient(270deg, var(--accent-cyan), var(--accent-purple));
  background-size: 200% 200%;
  animation: animateGlow 10s ease infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}

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

.service-card:hover {
  border-color: rgba(15, 255, 193, 0.2);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

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

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  animation: textColor 10s ease infinite;
}

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

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 32px;
}

.service-list li {
  font-size: 0.8rem;
  color: var(--text-dark-gray);
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0.5;
}

.service-card-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.service-card-link:hover {
  gap: 14px;
  color: var(--text-white);
}

/* ============================================================
   WHY TUFFO — Differentiator Grid
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-block {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 48px 36px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease;
}

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

.why-block .stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  text-shadow: 0 0 20px var(--glow-cyan);
}

.why-block h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.why-block p {
  font-size: 0.95rem;
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-cyan));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(15, 255, 193, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  position: relative;
  z-index: 2;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.process-step:hover .step-number {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--glow-cyan);
}

.process-step h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
}

/* ============================================================
   SERVICE AREA
   ============================================================ */
.map-wrapper {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.8) invert(0.92) contrast(1.1);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.area-list span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.area-list span:hover {
  border-color: rgba(15, 255, 193, 0.3);
  color: var(--accent-cyan);
}

.area-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-dark-gray);
  margin-top: 16px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 48px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.testimonial-card.active {
  position: relative;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent-cyan);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-stars {
  color: var(--accent-cyan);
  font-size: 1.125rem;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.testimonial-author {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text-white);
  font-size: 1rem;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.testimonials-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-nav button.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--glow-cyan);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.faq-item.open {
  border-color: rgba(15, 255, 193, 0.15);
  box-shadow: 0 0 30px rgba(15, 255, 193, 0.03);
}

.faq-question {
  width: 100%;
  background: var(--bg-card);
  color: var(--text-white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s ease;
}

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

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-white);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dark-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(15, 255, 193, 0.4);
}

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

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a0aec0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-white);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: rgba(15, 255, 193, 0.05);
  border: 1px solid rgba(15, 255, 193, 0.2);
  border-radius: 8px;
}

.form-success h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--accent-cyan);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-cyan);
}

.contact-detail-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-detail a {
  color: var(--text-gray);
}

.contact-detail a:hover {
  color: var(--accent-cyan);
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.contact-social a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--glow-cyan);
}

.contact-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-footer);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.footer-brand .nav-logo {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--text-white);
}

.footer-links a {
  display: block;
  color: var(--text-dark-gray);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s ease;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark-gray);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-cyan);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--text-dark-gray);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-gray);
  transition: all 0.3s ease;
}

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

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dark-gray);
}

/* ============================================================
   SERVICE DETAIL PAGES
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center;
  background: var(--bg-primary);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 255, 193, 0.2), transparent);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.service-detail-grid:nth-child(even) .service-detail-content {
  order: 2;
}

.service-detail-grid:nth-child(even) .service-detail-image {
  order: 1;
}

.service-detail-content h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-detail-content p {
  margin-bottom: 16px;
}

.service-detail-image {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-gray);
  font-size: 0.85rem;
  padding: 24px;
  text-align: center;
}

.service-cta-section {
  text-align: center;
  padding: 100px 0;
}

.service-cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.service-cta-section p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-photo {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-gray);
  font-size: 0.85rem;
  padding: 24px;
  text-align: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease;
}

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

.value-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--accent-cyan);
}

.value-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.9rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-photo {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-gray);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.team-card h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--accent-cyan);
}

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

.page-404 h1 {
  font-size: clamp(6rem, 15vw, 12rem);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.page-404 h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.page-404 p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RESPONSIVE — Tablet (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

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

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

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

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail-grid:nth-child(even) .service-detail-content,
  .service-detail-grid:nth-child(even) .service-detail-image {
    order: unset;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

/* ============================================================
   RESPONSIVE — Mobile (768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --nav-height: 64px;
  }

  .nav-links,
  .nav-phone-desktop {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

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

  .hero-stats {
    gap: 24px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

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

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

/* ============================================================
   RESPONSIVE — Small Mobile (375px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

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

  .service-list {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .area-list {
    gap: 8px 12px;
  }

  .area-list span {
    font-size: 0.8rem;
    padding: 4px 12px;
  }
}

/* ============================================================
   MOBILE PERFORMANCE — Reduce particles & glow
   ============================================================ */
@media (max-width: 768px) {
  .hero-particles i:nth-child(n+31) {
    display: none;
  }

  .backlit::after {
    filter: blur(2.5vw);
    -webkit-filter: blur(2.5vw);
  }

  .service-card::after {
    filter: blur(2.5vw);
    -webkit-filter: blur(2.5vw);
  }
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-cyan {
  color: var(--accent-cyan);
}
