/* ============================================
   SONIC COMPOSITES - STYLES
   All styles consolidated into one file
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  line-height: 1.2;
}

p {
  overflow-wrap: break-word;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}

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

/* -- Skip to content link -- */
.skip-link:focus {
  position: fixed;
  top: var(--space-2);
  left: var(--space-2);
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-6);
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--color-accent-primary);
  color: #FFFFFF;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  z-index: var(--z-toast);
  text-decoration: none;
}

/* ── Self-Hosted Fonts: Inter (Variable) ── */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   VARIABLES
   ============================================ */
:root {
  /* -- Typography -- */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* -- Font Sizes -- */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-hero: clamp(2.5rem, 5vw, 4.5rem);

  /* -- Font Weights -- */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* -- Spacing (8dp system) -- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* -- Border Radius -- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* -- Transitions -- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* -- Shadows -- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow-orange: 0 0 20px rgba(255, 107, 0, 0.3);
  --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);

  /* -- Layout -- */
  --container-max: 1280px;
  --container-narrow: 960px;
  --nav-height: 72px;

  /* -- Z-Index Scale -- */
  --z-base: 0;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-overlay: 40;
  --z-modal: 100;
  --z-toast: 1000;
}

/* ============================================
   COLORS
   ============================================ */

/* -- Dark Theme (Default) -- */
[data-theme="dark"] {
  --color-bg-primary: #0A0E1A;
  --color-bg-secondary: #0F1428;
  --color-bg-tertiary: #151B32;
  --color-bg-card: #1A2040;
  --color-bg-card-hover: #1E2548;
  --color-bg-elevated: #232A4A;

  --color-text-primary: #F8FAFC;
  --color-text-secondary: #94A3B8;
  --color-text-muted: #64748B;
  --color-text-inverse: #0F172A;

  --color-accent-primary: #FF6B00;
  --color-accent-primary-hover: #FF8533;
  --color-accent-secondary: #3B82F6;
  --color-accent-secondary-hover: #60A5FA;
  --color-accent-tertiary: #2563EB;

  --color-border: rgba(59, 130, 246, 0.15);
  --color-border-hover: rgba(59, 130, 246, 0.3);
  --color-border-accent: rgba(255, 107, 0, 0.3);

  --color-surface-glass: rgba(15, 20, 40, 0.85);
  --color-surface-overlay: rgba(10, 14, 26, 0.9);

  --color-success: #22C55E;
  --color-error: #EF4444;
  --color-warning: #F59E0B;

  --color-gradient-hero: linear-gradient(180deg, #0A0E1A 0%, #0F1428 50%, #151B32 100%);
  --color-gradient-accent: linear-gradient(135deg, #FF6B00, #FF8533);
  --color-gradient-blue: linear-gradient(135deg, #2563EB, #3B82F6);
  --color-gradient-card: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(255, 107, 0, 0.05));

  --color-glow-orange: rgba(255, 107, 0, 0.15);
  --color-glow-blue: rgba(59, 130, 246, 0.15);

  --color-nav-bg: rgba(10, 14, 26, 0.92);
  --color-footer-overlay: rgba(10, 14, 26, 0.7);

  --color-input-bg: rgba(21, 27, 50, 0.8);
  --color-input-border: rgba(59, 130, 246, 0.2);
  --color-input-focus: rgba(255, 107, 0, 0.4);

  --color-icon: #94A3B8;
  --color-icon-hover: #FF6B00;

  --color-scrollbar-track: #0F1428;
  --color-scrollbar-thumb: #2563EB;

  color-scheme: dark;
}

/* -- Light Theme -- */
[data-theme="light"] {
  --color-bg-primary: #F8FAFC;
  --color-bg-secondary: #F1F5F9;
  --color-bg-tertiary: #E2E8F0;
  --color-bg-card: #FFFFFF;
  --color-bg-card-hover: #F8FAFC;
  --color-bg-elevated: #FFFFFF;

  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #64748B;
  --color-text-inverse: #F8FAFC;

  --color-accent-primary: #EA580C;
  --color-accent-primary-hover: #C2410C;
  --color-accent-secondary: #2563EB;
  --color-accent-secondary-hover: #1D4ED8;
  --color-accent-tertiary: #1E40AF;

  --color-border: rgba(15, 23, 42, 0.1);
  --color-border-hover: rgba(15, 23, 42, 0.2);
  --color-border-accent: rgba(234, 88, 12, 0.3);

  --color-surface-glass: rgba(255, 255, 255, 0.85);
  --color-surface-overlay: rgba(248, 250, 252, 0.95);

  --color-success: #16A34A;
  --color-error: #DC2626;
  --color-warning: #D97706;

  --color-gradient-hero: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 50%, #E2E8F0 100%);
  --color-gradient-accent: linear-gradient(135deg, #EA580C, #F97316);
  --color-gradient-blue: linear-gradient(135deg, #1E40AF, #2563EB);
  --color-gradient-card: linear-gradient(145deg, rgba(37, 99, 235, 0.05), rgba(234, 88, 12, 0.03));

  --color-glow-orange: rgba(234, 88, 12, 0.1);
  --color-glow-blue: rgba(37, 99, 235, 0.1);

  --color-nav-bg: rgba(15, 23, 54, 0.95);
  --color-footer-overlay: rgba(15, 23, 42, 0.5);

  --color-input-bg: #FFFFFF;
  --color-input-border: rgba(15, 23, 42, 0.15);
  --color-input-focus: rgba(234, 88, 12, 0.4);

  --color-icon: #475569;
  --color-icon-hover: #EA580C;

  --color-scrollbar-track: #F1F5F9;
  --color-scrollbar-thumb: #2563EB;

  color-scheme: light;
}

/* ============================================
   LAYOUT
   ============================================ */

/* -- Base Body -- */
body {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

/* -- Container -- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* -- Navigation -- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--color-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: calc(var(--z-overlay) + 1);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav__logo img {
  height: 60px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width var(--transition-base) var(--ease-out);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* -- Theme Toggle -- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--color-bg-card);
  color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* -- Hamburger Button -- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  z-index: calc(var(--z-overlay) + 1);
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-slow) var(--ease-out);
  transform-origin: center;
}

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

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

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

/* -- Mobile Menu Overlay -- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface-overlay);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: var(--z-overlay);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  opacity: 0;
  transition: opacity var(--transition-base) var(--ease-out);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu__link {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--color-accent-primary);
}

/* -- Sections -- */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

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

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-4);
}

.section__title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.5px;
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.hero__stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: var(--space-6);
}

.hero__logo {
  margin: 0 auto var(--space-8);
  max-width: 640px;
}

.hero__logo img {
  width: 100%;
  height: auto;
}

.hero__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-4);
  letter-spacing: -1px;
}

.hero__title-accent {
  background: var(--color-gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__tagline {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* -- Hero Certification Badges -- */
.hero__certs {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-8);
}

.hero__cert-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-full);
  background: rgba(255, 107, 0, 0.08);
  color: var(--color-accent-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all var(--transition-base);
}

.hero__cert-badge:hover {
  background: rgba(255, 107, 0, 0.15);
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
  transform: translateY(-1px);
}

.hero__cert-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* -- Grid Layouts -- */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

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

/* -- Footer -- */
.footer {
  position: relative;
  padding: var(--space-16) 0 var(--space-8);
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.footer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-footer-overlay);
  z-index: 1;
}

.footer__inner {
  position: relative;
  z-index: 2;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-border);
}

.footer__brand {
  max-width: 360px;
}

.footer__brand-logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer__brand-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-6);
}

.footer__col-link {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.footer__col-link:hover {
  color: var(--color-accent-primary);
}

.footer__contact-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  line-height: 1.5;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer__certifications {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.footer__cert-badge {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-secondary);
  border: 1px solid var(--color-border);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
}

/* ============================================
   COMPONENTS
   ============================================ */

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base) var(--ease-out);
  min-height: 48px;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-gradient-accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow-orange);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  min-height: 36px;
}

.btn--secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-hover);
}

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

.btn--secondary:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* -- Service Cards -- */
.service-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base) var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base) var(--ease-out);
}

.service-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-gradient-blue);
  margin-bottom: var(--space-6);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: #FFFFFF;
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.service-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* -- Client Logos -- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  min-height: 100px;
}

.client-logo:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
}

.client-logo__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  text-align: center;
  letter-spacing: 0.5px;
}

/* -- Certification Cards -- */
.cert-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  transition: all var(--transition-base);
}

.cert-card:hover {
  border-color: var(--color-accent-secondary);
  box-shadow: var(--shadow-glow-blue);
}

.cert-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-full);
  background: var(--color-gradient-blue);
}

.cert-card__icon svg {
  width: 36px;
  height: 36px;
  color: #FFFFFF;
}

.cert-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent-primary);
  margin-bottom: var(--space-2);
}

.cert-card__name {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.cert-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* -- Why Choose Us / Stats -- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stat-item {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.stat-item:hover {
  border-color: var(--color-accent-primary);
  transform: translateY(-2px);
}

.stat-item__number {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent-primary);
  margin-bottom: var(--space-2);
}

.stat-item__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* -- Why Choose Cards -- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.why-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
}

.why-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-glow-orange);
  flex-shrink: 0;
}

.why-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent-primary);
}

.why-card__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.why-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* -- Our Work / Gallery Section -- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-item:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  background: linear-gradient(transparent, rgba(10, 14, 26, 0.9));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: #FFFFFF;
}

/* Image placeholder styling */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gradient-card);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-align: center;
  padding: var(--space-4);
  overflow: hidden;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -- Custom Carbon Fiber Work Section -- */
.custom-work {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.custom-work__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}

.custom-work__image {
  position: relative;
  overflow: hidden;
}

.custom-work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-work__content {
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-work__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.custom-work__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

/* -- Contact Form -- */
.contact-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.contact-form__intro {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  text-align: center;
  margin-bottom: var(--space-8);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

.form__group {
  margin-bottom: var(--space-6);
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.form__label--required::after {
  content: ' *';
  color: var(--color-accent-primary);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-input-bg);
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  min-height: 48px;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-muted);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px var(--color-input-focus);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.g-recaptcha {
  margin-bottom: var(--space-6);
}

.form__submit {
  width: 100%;
}

/* -- Contact Success Message -- */
.contact-success {
  display: none;
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-6);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
}

.contact-success.show {
  display: block;
}

.contact-success__text {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-success);
}

/* -- About Section -- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.about__content {
  padding: var(--space-4) 0;
}

.about__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.about__text:last-of-type {
  margin-bottom: var(--space-6);
}

/* -- About Certification Highlights -- */
.about__certs {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.about__cert {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.about__cert:hover {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.12);
}

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

.about__cert-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.about__cert-info {
  display: flex;
  flex-direction: column;
}

.about__cert-info strong {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-accent-primary);
  letter-spacing: 0.5px;
}

.about__cert-info span {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* -- Divider Line -- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--color-gradient-accent);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-6);
}

.section__header .divider {
  margin-top: var(--space-4);
}

/* -- Scroll Reveal Animation -- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* -- Scrollbar -- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--color-scrollbar-thumb);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-primary);
}

/* ============================================
   HERO ANIMATIONS
   ============================================ */

/* -- Hero Stars Animation -- */
.star {
  position: absolute;
  border-radius: 50%;
  background: #FFFFFF;
  animation: twinkle var(--star-duration, 3s) ease-in-out infinite;
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: var(--star-opacity, 0.8); transform: scale(1); }
}

/* -- Shooting Stars -- */
.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 50%;
  opacity: 0;
  animation: shoot var(--shoot-duration, 2s) ease-in-out infinite;
}

.shooting-star::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.6), transparent);
  transform-origin: right;
}

@keyframes shoot {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(-45deg);
  }
  5% {
    opacity: 1;
  }
  15% {
    opacity: 0;
    transform: translate(-300px, 300px) rotate(-45deg);
  }
  100% {
    opacity: 0;
    transform: translate(-300px, 300px) rotate(-45deg);
  }
}

/* -- Ambient Glow Orbs (Hero) -- */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

.hero__glow--blue {
  width: 450px;
  height: 450px;
  background: var(--color-accent-secondary);
  top: 20%;
  left: 10%;
}

.hero__glow--orange {
  width: 200px;
  height: 200px;
  background: var(--color-accent-primary);
  bottom: 10%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes pulse-glow {
  0% { opacity: 0.08; transform: scale(1); }
  100% { opacity: 0.2; transform: scale(1.15); }
}

/* -- Section Accent Lines -- */
.section--accent-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: var(--color-gradient-accent);
}

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */

[data-theme="light"] .hero {
  background: linear-gradient(180deg, #0A0E1A 0%, #0F1428 60%, #1a2040 100%);
}

[data-theme="light"] .hero .hero__title,
[data-theme="light"] .hero .hero__tagline {
  color: #F8FAFC;
}

[data-theme="light"] .hero .hero__tagline {
  color: #94A3B8;
}

[data-theme="light"] .hero .btn--secondary {
  color: #F8FAFC;
  border-color: rgba(248, 250, 252, 0.3);
}

[data-theme="light"] .hero .btn--secondary:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

[data-theme="light"] .nav {
  border-bottom-color: rgba(59, 130, 246, 0.15);
}

[data-theme="light"] .nav__link {
  color: #94A3B8;
}

[data-theme="light"] .nav__link:hover,
[data-theme="light"] .nav__link:focus-visible {
  color: #F8FAFC;
}

[data-theme="light"] .theme-toggle {
  color: #94A3B8;
  border-color: rgba(248, 250, 252, 0.15);
}

[data-theme="light"] .theme-toggle:hover {
  color: #FF6B00;
  border-color: #FF6B00;
  background: rgba(255, 107, 0, 0.1);
}

[data-theme="light"] .hamburger__line {
  background: #F8FAFC;
}

[data-theme="light"] .footer {
  color: #F8FAFC;
}

[data-theme="light"] .footer .footer__brand-text,
[data-theme="light"] .footer .footer__col-link,
[data-theme="light"] .footer .footer__contact-note {
  color: #94A3B8;
}

[data-theme="light"] .footer .footer__col-link:hover {
  color: #FF6B00;
}

[data-theme="light"] .footer .footer__bottom {
  color: var(--color-bg-tertiary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* -- Max 1024px: Tablet & Below -- */
@media (max-width: 1024px) {
  .nav__links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  .custom-work__inner {
    grid-template-columns: 1fr;
  }

  .custom-work__image .img-placeholder {
    min-height: 280px;
  }

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

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

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

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

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

/* -- Max 768px: Mobile Landscape & Small Tablets -- */
@media (max-width: 768px) {
  .section {
    padding: var(--space-16) 0;
  }

  .section__title {
    font-size: var(--text-3xl);
  }

  .section__subtitle {
    font-size: var(--text-base);
  }

  .hero__tagline {
    font-size: var(--text-lg);
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero__glow--orange {
    width: 150px;
    height: 150px;
    bottom: 5%;
    right: 5%;
  }

  .hero__certs {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .about__certs {
    flex-direction: column;
  }

  .hero__logo {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer__certifications {
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

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

  .cert-card {
    padding: var(--space-8);
  }

  .contact-form {
    padding: var(--space-6);
  }

  .custom-work__content {
    padding: var(--space-8);
  }
}

/* -- Max 480px: Small Mobile -- */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section__header {
    margin-bottom: var(--space-10);
  }

  .section__title {
    font-size: var(--text-2xl);
  }

  .hero__logo {
    display: none;
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__tagline {
    font-size: var(--text-base);
  }

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

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

  .mobile-menu__link {
    font-size: var(--text-xl);
  }

  .nav__inner {
    padding: 0 var(--space-4);
  }

  .custom-work__content {
    padding: var(--space-6);
  }

  .custom-work__title {
    font-size: var(--text-2xl);
  }
}

/* -- Prefers Reduced Motion -- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .star {
    animation: none !important;
  }
}