/* ============================================
   StormNet Solutions - V3 White/Black Theme
   Clean, Modern, Professional
   ============================================ */

/* CSS Custom Properties */
:root {
  --primary: #111111;
  --primary-light: #1a1a1a;
  --primary-dark: #000000;
  --accent: #111111;
  --accent-light: #333333;
  --accent-dark: #000000;
  --accent-glow: rgba(0, 0, 0, 0.15);
  --pop: #00b4d8;
  --pop-light: #48cae4;
  --pop-dark: #0096b7;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px var(--accent-glow);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-bg-scrolled: rgba(255, 255, 255, 0.98);
  --header-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
  --header-border: var(--gray-200);
}

/* Dark Mode Toggle */
.theme-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.theme-toggle input {
  display: none;
}

.theme-toggle .toggle-track {
  width: 44px;
  height: 24px;
  background: var(--gray-200);
  border-radius: 12px;
  position: relative;
  transition: background var(--transition);
}

.theme-toggle input:checked + .toggle-track {
  background: var(--pop);
}

.theme-toggle .toggle-track::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.theme-toggle input:checked + .toggle-track::before {
  transform: translateX(20px);
}

.theme-toggle .toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
  transition: opacity var(--transition);
}

.theme-toggle .toggle-icon.sun {
  left: 6px;
  opacity: 1;
}

.theme-toggle .toggle-icon.moon {
  right: 6px;
  opacity: 0;
}

.theme-toggle input:checked ~ .toggle-icon.sun {
  opacity: 0;
}

.theme-toggle input:checked ~ .toggle-icon.moon {
  opacity: 1;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--gray-600);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--pop);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 0.5rem; }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.375rem); }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-accent { color: var(--primary); }
.text-white p { color: rgba(255,255,255,0.85); }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
  transition: all var(--transition);
}

.header.scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: var(--header-shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
}

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

.nav-links a {
  color: var(--gray-600);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--gray-100);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--transition);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow-xl);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* Header Contact */
.header-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-phone svg {
  color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gray-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gray-100);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 0, 0, 0.01) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  color: var(--primary);
}

.hero h1 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.hero h1 .highlight {
  position: relative;
  display: inline;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--pop-light);
  opacity: 0.3;
  z-index: -1;
  border-radius: 2px;
}

.hero p {
  color: var(--gray-500);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.hero-stat h3 {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
}

.hero-stat p {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.hero-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xl);
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  right: -30px;
}

.hero-float-card.card-2 {
  bottom: 15%;
  left: -30px;
  animation-delay: 1.5s;
}

.hero-float-card .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero-float-card .icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.hero-float-card .icon.blue { background: var(--gray-100); color: var(--primary); }

.hero-float-card .card-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.hero-float-card .card-text p {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Page Hero (for inner pages) */
.page-hero {
  background: var(--gray-50);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--gray-500);
  font-size: 1.15rem;
  max-width: 600px;
}

.page-hero .breadcrumb,
.page-hero .breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.page-hero .breadcrumb a,
.page-hero .breadcrumbs a {
  color: var(--gray-400);
}

.page-hero .breadcrumb a:hover,
.page-hero .breadcrumbs a:hover {
  color: var(--primary);
}

.page-hero .breadcrumb span,
.page-hero .breadcrumbs span {
  color: var(--gray-300);
}

.page-hero .breadcrumb .current,
.page-hero .breadcrumbs .current {
  color: var(--primary);
  font-weight: 600;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-light {
  background: var(--gray-50);
}

.section-header {
  max-width: 650px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header .overline {
  display: inline-block;
  color: var(--gray-400);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .section-header .overline {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card .card-link svg {
  transition: transform var(--transition);
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

/* Dark Service Cards */
.section-dark .service-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-dark .service-card h3 {
  color: var(--white);
}

.section-dark .service-card p {
  color: rgba(255, 255, 255, 0.65);
}

.section-dark .service-card .card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.section-dark .service-card .card-link {
  color: var(--white);
}

.section-dark .service-card::before {
  background: var(--white);
}

/* ============================================
   FEATURE LIST (for service pages)
   ============================================ */
.feature-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-item,
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-item:hover,
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-item .card-icon,
.feature-item .feature-icon,
.feature-card .card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.feature-item h3,
.feature-item h4,
.feature-card h3,
.feature-card h4 {
  margin-bottom: 0.25rem;
}

.feature-item p,
.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   ABOUT / WHY CHOOSE US
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-content .overline {
  display: inline-block;
  color: var(--gray-400);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.check-list {
  margin-bottom: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--gray-700);
}

.check-list li svg {
  flex-shrink: 0;
  color: var(--success);
  margin-top: 0.2rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
}

.testimonial-card .stars {
  color: var(--warning);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card .author-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.testimonial-card .author-role {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.section-dark .testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .testimonial-card blockquote {
  color: rgba(255, 255, 255, 0.75);
}

.section-dark .testimonial-card .author-name {
  color: var(--white);
}

.section-dark .testimonial-card .author-role {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--primary);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.02);
  transform: rotate(15deg);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
}

.section-dark .process-step::before {
  background: var(--white);
  color: var(--primary);
}

.process-step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

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

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list,
.faq-grid {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--gray-400);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-family: var(--font-primary);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gray-400);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.925rem;
  color: var(--gray-600);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Simple FAQ style (h3 + p without accordion wrappers) */
.faq-item > h3 {
  padding: 1.25rem 1.5rem 0.5rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0;
}

.faq-item > p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.925rem;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 1rem;
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: var(--gray-400);
  box-shadow: var(--shadow-md);
}

.contact-info-card .info-icon,
.contact-info-card .card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
  background: var(--white);
  color: var(--gray-800);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--white);
  color: var(--primary);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: all var(--transition);
}

.footer-column ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================
   CONTENT SECTIONS (for service pages)
   ============================================ */
.content-section {
  padding: 4rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.content-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.content-text .overline {
  display: inline-block;
  color: var(--gray-400);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.content-text h2 {
  margin-bottom: 1rem;
}

.content-text p {
  margin-bottom: 1rem;
}

.content-text ul {
  margin-bottom: 1.5rem;
}

.content-text ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.content-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ============================================
   TRUST BADGES / STATS BAR
   ============================================ */
.stats-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.25rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.js-loaded .fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.js-loaded .fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.js-loaded .stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.js-loaded .stagger-children .fade-in:nth-child(2) { transition-delay: 0.1s; }
.js-loaded .stagger-children .fade-in:nth-child(3) { transition-delay: 0.2s; }
.js-loaded .stagger-children .fade-in:nth-child(4) { transition-delay: 0.3s; }
.js-loaded .stagger-children .fade-in:nth-child(5) { transition-delay: 0.4s; }
.js-loaded .stagger-children .fade-in:nth-child(6) { transition-delay: 0.5s; }
.js-loaded .stagger-children .fade-in:nth-child(7) { transition-delay: 0.6s; }
.js-loaded .stagger-children .fade-in:nth-child(8) { transition-delay: 0.7s; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
}

/* ============================================
   SERVICE PAGE SPECIFIC
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.benefit-card .benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  color: var(--primary);
}

.benefit-card h4 {
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.img-placeholder {
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 3rem;
  min-height: 300px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-500);
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================
   SKIP LINK & NAV OVERLAY
   ============================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

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

  .content-grid.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    transition: right var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border-left: 1px solid var(--gray-200);
  }

  .nav-links.active { right: 0; }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--gray-700);
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--gray-50);
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu { display: block; }
  .mobile-toggle { display: flex; }
  .header-phone { display: none; }

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .section { padding: 3.5rem 0; }
  .form-row { grid-template-columns: 1fr; }

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

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

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 6rem 0 3rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================
   DARK MODE OVERRIDES
   Must be at the end of the file to win cascade
   ============================================ */
[data-theme="dark"] {
  --primary: #ffffff;
  --primary-light: #f0f0f0;
  --primary-dark: #e0e0e0;
  --accent: #ffffff;
  --accent-light: #dddddd;
  --accent-dark: #e0e0e0;
  --accent-glow: rgba(255, 255, 255, 0.1);
  --white: #111111;
  --gray-50: #1a1a1a;
  --gray-100: #222222;
  --gray-200: #333333;
  --gray-300: #555555;
  --gray-400: #aaaaaa;
  --gray-500: #cccccc;
  --gray-600: #dddddd;
  --gray-700: #eeeeee;
  --gray-800: #f0f0f0;
  --gray-900: #f5f5f5;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.4);
  --header-bg: rgba(17, 17, 17, 0.95);
  --header-bg-scrolled: rgba(17, 17, 17, 0.98);
  --header-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  --header-border: #222;
}

[data-theme="dark"] .mobile-toggle span {
  background: #ffffff;
}

[data-theme="dark"] .footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer h4 {
  color: #ffffff;
}

[data-theme="dark"] .footer a {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer a:hover {
  color: #ffffff;
}

[data-theme="dark"] .footer-grid {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .cta-section {
  background: #000000;
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .cta-section h2,
[data-theme="dark"] .cta-section h3 {
  color: #ffffff;
}

[data-theme="dark"] .cta-section p {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .section-dark {
  background: #000000;
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .section-dark h1,
[data-theme="dark"] .section-dark h2,
[data-theme="dark"] .section-dark h3,
[data-theme="dark"] .section-dark h4 {
  color: #ffffff;
}

[data-theme="dark"] .section-dark .section-header .overline {
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .section-dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .section-dark .process-step::before {
  background: #ffffff;
  color: #111111;
}

[data-theme="dark"] .section-dark .btn-white {
  background: #ffffff;
  color: #111111;
}

[data-theme="dark"] .section-light {
  background: #1a1a1a;
}

[data-theme="dark"] .nav-overlay {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .highlight::after {
  background: var(--pop);
}

[data-theme="dark"] .text-white {
  color: #ffffff;
}

[data-theme="dark"] .text-white p {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .btn-primary {
  background: #ffffff;
  color: #111111;
}

[data-theme="dark"] .btn-primary:hover {
  background: #e0e0e0;
  color: #111111;
}

[data-theme="dark"] .btn-secondary {
  border-color: #444;
  color: #ffffff;
}

[data-theme="dark"] .btn-secondary:hover {
  background: #222;
  border-color: #666;
}

[data-theme="dark"] .btn-white {
  background: #ffffff;
  color: #111111;
}

[data-theme="dark"] .dropdown-menu {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .page-hero {
  background: #1a1a1a;
}

[data-theme="dark"] .hero-float-card {
  background: #222222;
  border-color: #333;
}

[data-theme="dark"] .toggle-track::before {
  background: #111111;
}

[data-theme="dark"] .contact-form {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: #222;
  border-color: #444;
  color: #fff;
}

[data-theme="dark"] .service-card {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .feature-item,
[data-theme="dark"] .feature-card {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .faq-item {
  border-color: #333;
}

[data-theme="dark"] .contact-info-card {
  background: #1a1a1a;
  border-color: #333;
}
