/* ============================================
   MAA TARA FABRICATOR - Apple-Inspired Stylesheet
   Based on Apple Siri Page Design
   ============================================ */

/* ===========================================
   1. CSS CUSTOM PROPERTIES (Variables)
   =========================================== */
:root {
  /* Apple-Inspired Colors */
  --primary-dark: #1d1d1f;
  --primary: #1d1d1f;
  --primary-light: #424245;

  /* Accent Colors - Apple Blue */
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-light: #147ce5;

  /* Text Colors */
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-tertiary: #6e6e73;

  /* Background Colors */
  --white: #ffffff;
  --gray-50: #fbfbfd;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-300: #d2d2d7;
  --gray-400: #86868b;
  --gray-500: #6e6e73;
  --gray-600: #424245;
  --gray-700: #333336;
  --gray-800: #1d1d1f;
  --gray-900: #000000;
  --black: #000000;

  /* Gradients */
  --gradient-text: linear-gradient(90deg, #0071e3 0%, #147ce5 50%, #64b5f6 100%);
  --gradient-hero: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(245,245,247,1) 100%);
  --gradient-dark: linear-gradient(180deg, #1d1d1f 0%, #000000 100%);

  /* Typography - Apple-like System Fonts */
  --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Font Sizes - Larger for Apple style */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-7xl: 5.5rem;
  --text-8xl: 6rem;

  /* Spacing - More generous */
  --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;
  --space-40: 10rem;

  /* Layout */
  --container-max: 980px;
  --container-wide: 1200px;
  --container-padding: 1.5rem;

  /* Transitions - Smooth Apple-style */
  --transition-fast: 200ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-base: 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-slow: 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-slower: 800ms cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Dual Shadows - Realistic depth with light from above */
  /* Light shadow on top + dark shadow on bottom */
  --shadow-sm:
    0 -1px 2px rgba(255,255,255,0.5),
    0 1px 3px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.06);
  --shadow-md:
    0 -2px 4px rgba(255,255,255,0.4),
    0 2px 8px rgba(0,0,0,0.08),
    0 8px 16px rgba(0,0,0,0.08);
  --shadow-lg:
    0 -4px 6px rgba(255,255,255,0.3),
    0 4px 12px rgba(0,0,0,0.1),
    0 16px 32px rgba(0,0,0,0.12);
  --shadow-xl:
    0 -6px 10px rgba(255,255,255,0.25),
    0 8px 20px rgba(0,0,0,0.12),
    0 24px 48px rgba(0,0,0,0.15);

  /* Inset shadows - for pressed/sunken states */
  --shadow-inset-sm: inset 0 1px 3px rgba(0,0,0,0.1);
  --shadow-inset-md: inset 0 2px 6px rgba(0,0,0,0.12);

  /* Card gradients - subtle top-to-bottom for glossy effect */
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(250,250,252,1) 100%);
  --gradient-card-hover: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,248,250,1) 100%);
  --gradient-button: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.05) 100%);

  /* Inner highlight for glossy effect */
  --inner-highlight: inset 0 1px 0 rgba(255,255,255,0.8);

  /* Border Radius - Larger for Apple style */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ===========================================
   DARK THEME
   =========================================== */
[data-theme="dark"] {
  /* Background Colors - Inverted */
  --white: #000000;
  --gray-50: #0a0a0a;
  --gray-100: #1a1a1a;
  --gray-200: #2d2d2d;
  --gray-300: #3d3d3d;
  --gray-400: #6e6e73;
  --gray-500: #86868b;
  --gray-600: #a1a1a6;
  --gray-700: #d2d2d7;
  --gray-800: #e8e8ed;
  --gray-900: #f5f5f7;
  --black: #ffffff;

  /* Text Colors - Inverted */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #86868b;

  /* Primary Colors */
  --primary-dark: #f5f5f7;
  --primary: #f5f5f7;
  --primary-light: #d2d2d7;

  /* Accent Colors - Brighter for dark mode */
  --accent: #2997ff;
  --accent-hover: #5eb0ff;
  --accent-light: #64b5f6;

  /* Gradients - Dark versions */
  --gradient-hero: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,10,10,1) 100%);
  --gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);

  /* Card gradients - Dark versions */
  --gradient-card: linear-gradient(180deg, rgba(30,30,30,1) 0%, rgba(20,20,20,1) 100%);
  --gradient-card-hover: linear-gradient(180deg, rgba(40,40,40,1) 0%, rgba(30,30,30,1) 100%);

  /* Shadows - Adjusted for dark mode */
  --shadow-sm:
    0 -1px 2px rgba(255,255,255,0.03),
    0 1px 3px rgba(0,0,0,0.4),
    0 2px 6px rgba(0,0,0,0.3);
  --shadow-md:
    0 -2px 4px rgba(255,255,255,0.02),
    0 2px 8px rgba(0,0,0,0.4),
    0 8px 16px rgba(0,0,0,0.3);
  --shadow-lg:
    0 -4px 6px rgba(255,255,255,0.02),
    0 4px 12px rgba(0,0,0,0.5),
    0 16px 32px rgba(0,0,0,0.4);
  --shadow-xl:
    0 -6px 10px rgba(255,255,255,0.02),
    0 8px 20px rgba(0,0,0,0.5),
    0 24px 48px rgba(0,0,0,0.4);

  /* Inner highlight - Subtle for dark mode */
  --inner-highlight: inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ===========================================
   2. CSS RESET & BASE STYLES
   =========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--white);
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--white);
  letter-spacing: -0.022em;
  transition: background-color var(--transition-base), color var(--transition-base);
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
}

main {
  display: block;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

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

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

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

/* ===========================================
   3. LAYOUT COMPONENTS
   =========================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

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

.section {
  padding-block: var(--space-24);
}

.section--lg {
  padding-block: var(--space-32);
}

/* Section Background Variants - Alternating shades for visual rhythm */
.section--white {
  background: var(--white);
}

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

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

.section--blue-tint {
  background: linear-gradient(180deg, #f8fafd 0%, #f5f7fa 100%);
}

.section--warm {
  background: linear-gradient(180deg, #fefdfb 0%, #fbfaf8 100%);
}

.section--gradient-subtle {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.section--gradient-reverse {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.section--gray {
  background: linear-gradient(180deg, var(--gray-100) 0%, #eef0f3 100%);
  position: relative;
}

.section--gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,0,0,0.04) 50%, transparent 90%);
}

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

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

.grid {
  display: grid;
  gap: var(--space-6);
}

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

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

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

/* ===========================================
   4. TYPOGRAPHY - Apple Style
   =========================================== */
.heading-xl {
  font-size: clamp(var(--text-5xl), 8vw, var(--text-8xl));
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.heading-lg {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.heading-md {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

.heading-sm {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.022em;
}

.text-lg {
  font-size: var(--text-xl);
  line-height: 1.5;
}

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

.text-muted {
  color: var(--text-secondary);
}

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

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

.section-title h2 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}

.section-title p {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.5;
}

/* Gradient text effect */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================================
   5. HEADER & NAVIGATION - Apple Style
   =========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: all var(--transition-base);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 -1px 0 rgba(255,255,255,0.5),
    0 1px 1px rgba(0,0,0,0.04),
    0 2px 8px rgba(0,0,0,0.06);
}

.header__top {
  display: none; /* Hidden for Apple-clean look */
}

.header__nav {
  padding: var(--space-3) 0;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-inline: var(--container-padding);
}

.header__nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.header__logo:hover {
  text-decoration: none;
}

.header__logo-icon {
  flex-shrink: 0;
}

.header__logo-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.header__logo img {
  height: 44px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.header__logo-text span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-top: 1px;
  text-transform: uppercase;
}

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

.header__menu a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-primary);
  transition: color var(--transition-fast);
  text-decoration: none;
  opacity: 0.8;
}

.header__menu a:hover {
  opacity: 1;
  text-decoration: none;
}

.header__menu a.active {
  opacity: 1;
  font-weight: 500;
}

.header__menu a::after {
  display: none; /* Remove underline effect for cleaner look */
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.header__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

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

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

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

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: var(--space-4);
}

.theme-toggle:hover {
  background: var(--gray-200);
  transform: scale(1.05);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: all var(--transition-fast);
}

.theme-toggle .icon-sun {
  display: none;
  color: var(--text-primary);
}

.theme-toggle .icon-moon {
  display: block;
  color: var(--text-primary);
}

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

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

[data-theme="dark"] .theme-toggle {
  background: var(--gray-200);
  border-color: var(--gray-300);
}

/* Dark Mode - Section Overrides */
[data-theme="dark"] .section--dark {
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
}

[data-theme="dark"] .section--gray::before {
  background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.02) 50%, transparent 90%);
}

[data-theme="dark"] html {
  background-color: #000000;
}

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

[data-theme="dark"] .header {
  background: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .header--scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .header__top {
  background: var(--gray-100);
  border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .client-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .team-card {
  background: var(--gradient-card);
  border-color: var(--gray-200);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .project-card:hover,
[data-theme="dark"] .client-card:hover {
  background: var(--gradient-card-hover);
}

[data-theme="dark"] .btn--outline {
  border-color: var(--gray-300);
  color: var(--text-primary);
}

[data-theme="dark"] .btn--outline:hover {
  background: var(--gray-200);
}

[data-theme="dark"] .stats {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--text-primary);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-textarea:focus {
  border-color: var(--accent);
  background: var(--gray-50);
}

/* Dark Mode - Button outline-white fix */
[data-theme="dark"] .btn--outline-white {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

[data-theme="dark"] .btn--outline-white:hover {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}

/* Dark Mode - Footer logo text fix (override inline styles) */
[data-theme="dark"] .footer .header__logo-text {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .footer .header__logo-text span {
  color: var(--text-secondary) !important;
}

/* Dark Mode - Clients section fix */
[data-theme="dark"] .clients {
  background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
}

[data-theme="dark"] .clients::before {
  background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.03) 50%, transparent 90%);
}

[data-theme="dark"] .client-logo {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

[data-theme="dark"] .client-logo span {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .client-logo:hover {
  background: var(--gray-200);
}

/* ===========================================
   6. BUTTONS - Apple Style
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 400;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  border: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn--primary {
  background: linear-gradient(180deg, #1a8cff 0%, var(--accent) 50%, #0066cc 100%);
  color: var(--white);
  box-shadow:
    0 -1px 1px rgba(255,255,255,0.3),
    0 1px 2px rgba(0,0,0,0.1),
    0 2px 4px rgba(0,113,227,0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #2196f3 0%, var(--accent-hover) 50%, #0071e3 100%);
  box-shadow:
    0 -2px 2px rgba(255,255,255,0.2),
    0 2px 6px rgba(0,0,0,0.12),
    0 6px 12px rgba(0,113,227,0.25),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn--primary:active {
  background: linear-gradient(180deg, var(--accent) 0%, #0066cc 100%);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.2),
    inset 0 1px 2px rgba(0,0,0,0.1);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
}

.btn--secondary:hover {
  text-decoration: underline;
}

.btn--outline {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(250,250,252,1) 100%);
  color: var(--accent);
  border: 1px solid var(--gray-300);
  box-shadow:
    0 -1px 1px rgba(255,255,255,0.8),
    0 1px 2px rgba(0,0,0,0.06),
    0 2px 4px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.btn--outline:hover {
  background: linear-gradient(180deg, #1a8cff 0%, var(--accent) 50%, #0066cc 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow:
    0 -2px 2px rgba(255,255,255,0.2),
    0 2px 6px rgba(0,0,0,0.12),
    0 6px 12px rgba(0,113,227,0.25),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn--outline:active {
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.15),
    inset 0 1px 2px rgba(0,0,0,0.1);
}

.btn--outline-white {
  background: rgba(255,255,255,0.9);
  color: var(--text-primary);
  border: 1px solid var(--gray-300);
  box-shadow:
    0 -1px 1px rgba(255,255,255,0.8),
    0 1px 3px rgba(0,0,0,0.1),
    0 2px 6px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow:
    0 -2px 4px rgba(255,255,255,0.5),
    0 2px 8px rgba(0,0,0,0.12),
    0 6px 16px rgba(0,113,227,0.15),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.btn--outline-white:active {
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.1);
}

.btn--dark {
  background: linear-gradient(180deg, #424245 0%, var(--text-primary) 50%, #000000 100%);
  color: var(--white);
  box-shadow:
    0 -1px 1px rgba(255,255,255,0.15),
    0 1px 2px rgba(0,0,0,0.2),
    0 2px 6px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn--dark:hover {
  background: linear-gradient(180deg, #6e6e73 0%, #424245 50%, #1d1d1f 100%);
  box-shadow:
    0 -2px 2px rgba(255,255,255,0.1),
    0 2px 8px rgba(0,0,0,0.2),
    0 8px 16px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn--dark:active {
  background: linear-gradient(180deg, var(--text-primary) 0%, #000000 100%);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.3),
    inset 0 1px 2px rgba(0,0,0,0.2);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* Link arrow style */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--accent);
  font-size: var(--text-xl);
  font-weight: 400;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow svg,
.link-arrow::after {
  content: '';
  transition: transform var(--transition-fast);
}

.link-arrow:hover svg,
.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ===========================================
   7. HERO SECTION - Apple Style
   =========================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  background: var(--white);
  overflow: hidden;
  text-align: center;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-primary);
  padding: var(--space-8);
}

.hero__badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-8);
  color: var(--text-secondary);
}

.hero__title {
  font-size: clamp(var(--text-5xl), 10vw, var(--text-8xl));
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

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

.hero__subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl));
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  line-height: 1.5;
  max-width: 700px;
  margin-inline: auto;
}

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

/* ===========================================
   8. STATS SECTION - Apple Style
   =========================================== */
.stats {
  background: linear-gradient(180deg, #f0f2f5 0%, var(--gray-100) 50%, #ebedf0 100%);
  padding: var(--space-20) 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,0,0,0.04) 50%, transparent 90%);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

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

.stats__number {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.03em;
}

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

.stats__label {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

/* ===========================================
   9. SERVICES SECTION - Apple Style
   =========================================== */
.services {
  background: linear-gradient(180deg, var(--gray-100) 0%, #f0f2f5 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,0,0,0.04) 50%, transparent 90%);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm), var(--inner-highlight);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--inner-highlight);
  border-color: transparent;
  background: var(--gradient-card-hover);
}

.service-card__icon {
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-size: var(--text-4xl);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: var(--accent);
  transform: scale(1.05);
}

.service-card__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.service-card__text {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--accent);
  font-weight: 400;
  text-decoration: none;
}

.service-card__link:hover {
  text-decoration: underline;
}

.service-card__link svg {
  transition: transform var(--transition-fast);
}

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

/* ===========================================
   10. PROJECTS SECTION - Apple Style
   =========================================== */
.projects {
  background: var(--white);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.project-card:hover .project-card__image {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  transition: background var(--transition-base);
}

.project-card:hover .project-card__overlay {
  background: linear-gradient(to top, rgba(0,113,227,0.9) 0%, rgba(0,113,227,0.5) 50%, transparent 100%);
}

.project-card__category {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-2);
  font-weight: 500;
}

.project-card:hover .project-card__category {
  color: var(--white);
}

.project-card__title {
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.project-card__meta {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
}

/* ===========================================
   11. CLIENTS SECTION - Apple Style
   =========================================== */
.clients {
  background: linear-gradient(180deg, #f7f9fc 0%, #f2f5f9 100%);
  position: relative;
}

.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,0,0,0.03) 50%, transparent 90%);
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.client-logo {
  padding: var(--space-6);
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  opacity: 0.6;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.client-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.client-logo:hover {
  opacity: 1;
  box-shadow: var(--shadow-md), var(--inner-highlight);
  border-color: transparent;
  transform: translateY(-2px);
}

.client-logo img {
  max-height: 48px;
  width: auto;
}

/* ===========================================
   12. CTA SECTION - Apple Style
   =========================================== */
.cta {
  background: linear-gradient(180deg, #f0f2f5 0%, var(--gray-100) 50%, #ebedf0 100%);
  padding: var(--space-32) 0;
  text-align: center;
  color: var(--text-primary);
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,0,0,0.04) 50%, transparent 90%);
}

.cta__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.cta__text {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.5;
}

/* ===========================================
   13. FOOTER - Apple Style
   =========================================== */
.footer {
  background: var(--gray-100);
  color: var(--text-secondary);
  padding-top: var(--space-12);
  font-size: var(--text-sm);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--gray-300);
}

.footer__brand p {
  margin-top: var(--space-4);
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.footer__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: 0;
}

.footer__links li {
  margin-bottom: var(--space-2);
}

.footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer__contact address {
  font-style: normal;
  line-height: 1.8;
  color: var(--text-secondary);
}

.footer__contact a {
  color: var(--text-secondary);
}

.footer__contact a:hover {
  color: var(--accent);
}

.footer__bottom {
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.footer__credentials {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* ===========================================
   14. PAGE HEADERS - Apple Style
   =========================================== */
.page-header {
  background: linear-gradient(180deg, #f8f9fb 0%, #f2f4f8 50%, var(--gray-100) 100%);
  padding: 140px 0 80px;
  text-align: center;
  color: var(--text-primary);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

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

.page-header__title {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.page-header__breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.page-header__breadcrumb a {
  color: var(--text-secondary);
}

.page-header__breadcrumb a:hover {
  color: var(--accent);
}

/* ===========================================
   15. ABOUT PAGE - Apple Style
   =========================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-intro__content h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.about-intro__content p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.feature-card {
  text-align: center;
  padding: var(--space-10);
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm), var(--inner-highlight);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.feature-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--accent);
}

.feature-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.feature-card__text {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.5;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.team-card {
  text-align: center;
  padding: var(--space-10);
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm), var(--inner-highlight);
  position: relative;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.team-card:hover {
  box-shadow: var(--shadow-lg), var(--inner-highlight);
  border-color: transparent;
  transform: translateY(-4px);
}

.team-card__image {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-6);
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  color: var(--gray-400);
  overflow: hidden;
}

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

.team-card__name {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.team-card__role {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.team-card__qual {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ===========================================
   16. CONTACT FORM - Apple Style
   =========================================== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
}

.workshop {
  background: linear-gradient(180deg, #f7f9fc 0%, #f2f5f9 100%);
  position: relative;
}

.workshop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,0,0,0.03) 50%, transparent 90%);
}

.contact-info {
  background: var(--text-primary);
  color: var(--white);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
}

.contact-info__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-6);
  color: var(--white);
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__label {
  font-size: var(--text-sm);
  color: var(--gray-400);
  margin-bottom: var(--space-1);
}

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

.contact-info__value a {
  color: var(--white);
}

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

.contact-form {
  background: var(--gradient-card);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), var(--inner-highlight);
  border: 1px solid var(--gray-200);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-4);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  background: linear-gradient(180deg, #f8f8fa 0%, #ffffff 100%);
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(0,0,0,0.02),
    0 1px 0 rgba(255,255,255,0.8);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.05),
    0 0 0 4px rgba(0, 113, 227, 0.1),
    0 1px 0 rgba(255,255,255,0.8);
}

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

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

/* ===========================================
   17. TABLES - Apple Style
   =========================================== */
.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table th,
.table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.table th {
  background: var(--gray-100);
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.table tbody tr:hover {
  background: var(--gray-50);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* ===========================================
   18. CREDENTIALS - Apple Style
   =========================================== */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.credential-card {
  background: var(--gradient-card);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--accent);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  border-radius: 0 var(--radius-md) 0 0;
}

.credential-card:hover {
  box-shadow: var(--shadow-md), var(--inner-highlight);
  transform: translateY(-2px);
  border-color: transparent;
  border-left-color: var(--accent);
}

.credential-card__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.credential-card__value {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  font-family: monospace;
}

/* ===========================================
   19. UTILITIES
   =========================================== */
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.hidden { display: none !important; }
.visible { display: block !important; }

.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;
}

/* ===========================================
   20. ANIMATIONS - Apple Style
   =========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slower), transform var(--transition-slower);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
[data-animate-delay="1"] { transition-delay: 100ms; }
[data-animate-delay="2"] { transition-delay: 200ms; }
[data-animate-delay="3"] { transition-delay: 300ms; }
[data-animate-delay="4"] { transition-delay: 400ms; }
[data-animate-delay="5"] { transition-delay: 500ms; }
[data-animate-delay="6"] { transition-delay: 600ms; }

/* ===========================================
   21. RESPONSIVE STYLES
   =========================================== */
@media (max-width: 1200px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__contact {
    grid-column: span 3;
  }
}

@media (max-width: 992px) {
  .header__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px var(--space-8) var(--space-8);
    gap: var(--space-4);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    align-items: flex-start;
  }

  .header__menu.is-open {
    right: 0;
  }

  .header__menu a {
    font-size: var(--text-lg);
    padding: var(--space-2) 0;
  }

  .header__toggle {
    display: flex;
  }

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

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

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

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

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

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

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

  .footer__contact {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .hero {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: var(--space-16);
  }

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

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

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .services__grid,
  .projects__grid {
    grid-template-columns: 1fr;
  }

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

  .stats__number {
    font-size: var(--text-4xl);
  }

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

  .clients__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

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

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

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

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

  .section {
    padding-block: var(--space-16);
  }

  .section--lg {
    padding-block: var(--space-20);
  }

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

@media (max-width: 576px) {
  :root {
    --container-padding: 1rem;
  }

  .header__top {
    display: none;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-4);
  }

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

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

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

  .service-card,
  .feature-card,
  .team-card {
    padding: var(--space-8);
  }

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

  .footer__brand,
  .footer__links,
  .footer__contact {
    grid-column: span 1;
  }
}

/* ===========================================
   22. PRINT STYLES
   =========================================== */
@media print {
  .header,
  .footer,
  .hero__actions,
  [data-animate] {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .section {
    padding: 20pt 0;
  }
}
