/**
 * A&C Bathrooms And Home Improvements
 * Main Stylesheet
 * 
 * Table of Contents:
 * 1. CSS Reset & Variables
 * 2. Base Styles
 * 3. Layout & Container
 * 4. Navigation
 * 5. Hero Section
 * 6. Section Styles
 * 7. About Section
 * 8. Services Section
 * 9. Projects Section
 * 10. Contact Section
 * 11. Footer
 * 12. Buttons
 * 13. Form Styles
 * 14. Animations
 * 15. Utilities
 * 16. Responsive Styles
 */

/* ========================================
   1. CSS RESET & VARIABLES
   ======================================== */

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

/* CSS Custom Properties (Variables) */
:root {
  /* Colors */
  --navy: #1e3a5f;
  --navy-light: #2a4a73;
  --navy-dark: #152a45;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fbbf24;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 500ms ease;
}

/* ========================================
   2. BASE STYLES
   ======================================== */

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

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--white);
  color-scheme: light;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

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

/* Lists */
ul, ol {
  list-style: none;
}

/* ========================================
   3. LAYOUT & CONTAINER
   ======================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
}

/* ========================================
   4. NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-base);
}

.nav .container {
  max-width: 1536px;
}

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

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  gap: var(--spacing-lg);
}

@media (max-width: 1023px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }
}

@media (min-width: 1024px) {
  .nav-inner {
    height: 80px;
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
  justify-self: start;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

@media (min-width: 1024px) {
  .logo-icon {
    width: 44px;
    height: 44px;
  }
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.125rem;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
  display: none;
}

@media (min-width: 640px) {
  .logo-sub {
    display: block;
  }
}

/* Desktop Nav Links */
.nav-links {
  display: none;
  gap: var(--spacing-xl);
  justify-content: center;
  justify-self: center;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition-base);
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.nav-links a::before {
  content: '';
  position: absolute;
  left: -10px;
  right: -10px;
  top: 50%;
  height: 34px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

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

.nav-links a:hover::before {
  opacity: 0.06;
}

.nav-links a.active::before {
  opacity: 1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width var(--transition-base);
}

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

.nav-links a.active {
  color: var(--navy);
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 220px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xs) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 100;
  border: 1px solid var(--gray-200);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 10px var(--spacing-lg);
  color: var(--gray-700);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  border-bottom: none !important;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: var(--gray-100);
  color: var(--amber);
  padding-left: calc(var(--spacing-lg) + 4px);
}

/* Desktop CTA */
.nav-cta {
  display: none;
  align-items: center;
  gap: var(--spacing-md);
  flex-shrink: 0;
  justify-self: end;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: flex;
  }
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

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

.nav-facebook {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1877F2;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav-cta .btn {
  white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1535px) {
  .nav-links {
    gap: var(--spacing-lg);
  }

  .nav-cta {
    gap: var(--spacing-sm);
  }

  .nav-cta-label {
    display: none;
  }

  .nav-phone-number {
    display: none;
  }

  .nav-phone {
    gap: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
  }

  .nav-cta .btn {
    padding: 10px 14px;
    font-size: 0.8125rem;
  }
}

.nav-facebook:hover {
  opacity: 0.8;
}

.nav-facebook svg {
  width: 20px;
  height: 20px;
}

/* Floating contact buttons */
.contact-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.float-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.35), 0 14px 30px rgba(0, 0, 0, 0.22);
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

.float-btn--whatsapp {
  background: #25D366;
}

.float-btn--phone {
  background: var(--navy);
}

.float-btn--facebook {
  background: #1877F2;
}

@media (max-width: 480px) {
  .contact-float {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
  }
}

.dark-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--gray-700);
  transition: all 0.2s ease;
}

.dark-toggle:hover {
  background: var(--gray-100);
  color: var(--amber);
  border-color: var(--amber);
}

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

.dark-toggle .sun-icon {
  display: none;
}

.dark-toggle .moon-icon {
  display: block;
}

body.dark .dark-toggle .sun-icon {
  display: block;
}

body.dark .dark-toggle .moon-icon {
  display: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  padding: var(--spacing-sm);
  background: none;
  border: none;
  cursor: pointer;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--gray-700);
}

.mobile-toggle .icon-close {
  display: none;
}

.mobile-toggle.active .icon-menu {
  display: none;
}

.mobile-toggle.active .icon-close {
  display: block;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  display: block;
  padding: 0.875rem var(--spacing-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--gray-700);
  border-radius: var(--radius-md);
}

.mobile-menu a:hover {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.08);
}

.mobile-menu a.active {
  color: var(--navy);
  background: rgba(245, 158, 11, 0.10);
  font-weight: 600;
}

.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-md);
  border-top: 1px solid var(--gray-200);
  color: var(--navy);
  font-weight: 600;
}

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

/* ========================================
   5. HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?w=1920&q=80') center/cover no-repeat;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  max-width: 700px;
  padding: var(--spacing-3xl) 0;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .hero p {
    font-size: 1.25rem;
  }
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

@media (min-width: 640px) {
  .hero-btns {
    flex-direction: row;
  }
}

.hero-btns .btn svg {
  margin-left: var(--spacing-sm);
  width: 20px;
  height: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-badge svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
}

/* ========================================
   6. SECTION STYLES
   ======================================== */

.section {
  padding: var(--spacing-4xl) 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }
}

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

.section-dark {
  background: var(--navy);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--spacing-3xl);
}

.section-label {
  display: inline-block;
  color: var(--amber);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--spacing-md);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-title-light {
  color: var(--white);
}

.section-desc {
  color: var(--gray-500);
  font-size: 1.125rem;
  line-height: 1.7;
}

.section-desc-light {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   7. ABOUT SECTION
   ======================================== */

.about-grid {
  display: grid;
  gap: var(--spacing-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
  }
}

.about-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 640px) {
  .about-content h2 {
    font-size: 2.25rem;
  }
}

.about-content p {
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.stat-card {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.stat-card svg {
  width: 32px;
  height: 32px;
  color: var(--amber);
  margin: 0 auto var(--spacing-sm);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: var(--spacing-xs);
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-quote {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 300px;
  display: none;
}

@media (min-width: 1024px) {
  .about-quote {
    display: block;
  }
}

.about-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--white);
  line-height: 1.5;
}

.about-quote span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   8. SERVICES SECTION
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: all var(--transition-slow);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(30, 58, 95, 0.2);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 95, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  transition: background var(--transition-base);
}

.service-card:hover .service-icon {
  background: rgba(245, 158, 11, 0.2);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
  transition: color var(--transition-base);
}

.service-card:hover .service-icon svg {
  color: var(--amber-dark);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.services-note {
  margin-top: var(--spacing-2xl);
  background: rgba(30, 58, 95, 0.05);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-xl);
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.services-note strong {
  color: var(--navy);
}

/* ========================================
   9. PROJECTS SECTION
   ======================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
  position: relative;
  z-index: 0;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 58, 95, 0.9), rgba(30, 58, 95, 0.3), transparent);
  opacity: 0.85;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.project-card:hover .project-overlay {
  opacity: 0.95;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-lg);
  z-index: 2;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.92), rgba(17, 24, 39, 0.92));
}

.img-placeholder--cover {
  position: absolute;
  inset: 0;
}

.img-placeholder--about {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  aspect-ratio: 4/5;
}

.project-cat {
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-title {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  margin-top: var(--spacing-xs);
}

.project-view {
  display: inline-block;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: var(--spacing-xs);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-card:hover .project-view {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   9b. COMING SOON SECTION
   ======================================== */

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.coming-soon-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coming-soon-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  width: 100%;
  font: inherit;
}

.coming-soon-card-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35), 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}

.modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
  padding: 24px 22px;
}

body.dark .modal-panel {
  background: #12121e;
  border-color: #2a2a40;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: transparent;
  cursor: pointer;
  color: var(--gray-700);
}

.modal-close:hover {
  background: var(--gray-100);
}

body.dark .modal-close {
  border-color: #2a2a40;
  color: #f0f0f5;
}

body.dark .modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 4px 44px 10px 0;
}

body.dark .modal-title {
  color: #ffffff;
}

.modal-desc {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 14px;
}

body.dark .modal-desc {
  color: rgba(255, 255, 255, 0.85);
}

.modal-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
}

.modal-list li {
  position: relative;
  padding-left: 22px;
  color: var(--gray-700);
  line-height: 1.6;
}

.modal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber);
}

body.dark .modal-list li {
  color: rgba(255, 255, 255, 0.85);
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.coming-soon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.coming-soon-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.coming-soon-card p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

.coming-soon-blank {
  opacity: 0.5;
  border-style: dashed;
}

.coming-soon-page {
  padding-top: 120px;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.coming-soon-back {
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .coming-soon-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .coming-soon-page {
    padding-top: 100px;
  }
}

/* ========================================
   10. CONTACT SECTION
   ======================================== */

.contact-grid {
  display: grid;
  gap: var(--spacing-2xl);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
  }
}

.contact-info h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 640px) {
  .contact-info h2 {
    font-size: 2.25rem;
  }
}

.contact-info > p {
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  transition: transform var(--transition-base);
}

.contact-item:hover {
  transform: translateX(4px);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 95, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-base);
}

.contact-item:hover .contact-item-icon {
  background: rgba(245, 158, 11, 0.2);
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
}

.contact-item-label {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--spacing-xs);
}

.contact-item-value {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* Contact Form */
.contact-form {
  background: var(--gray-100);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-lg);
}

@media (min-width: 640px) {
  .contact-form {
    padding: var(--spacing-xl);
  }
}

.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: var(--spacing-lg);
}

/* ========================================
   11. FOOTER
   ======================================== */

.footer {
  background: var(--navy);
  color: var(--white);
  padding: var(--spacing-3xl) 0;
}

.footer-grid {
  display: grid;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-brand-icon {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  width: 40px;
  height: 40px;
}

.footer-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-about {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.footer ul li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-sm);
}

.footer ul a {
  transition: color var(--transition-base);
}

.footer ul a:hover {
  color: var(--amber);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-xl);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   12. BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

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

.btn-full {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
  margin-left: var(--spacing-sm);
}

/* ========================================
   13. FORM STYLES
   ======================================== */

.form-group {
  margin-bottom: var(--spacing-md);
}

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

.form-group .required {
  color: var(--amber-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.error-message {
  display: block;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: var(--spacing-xs);
  min-height: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--spacing-xl);
}

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

.form-success svg {
  width: 64px;
  height: 64px;
  color: #22c55e;
  margin: 0 auto var(--spacing-md);
}

.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
}

.form-success p {
  color: var(--gray-600);
}

/* ========================================
   14. ANIMATIONS
   ======================================== */

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for grids */
.services-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 50ms; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 100ms; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 150ms; }
.services-grid .animate-on-scroll:nth-child(5) { transition-delay: 200ms; }
.services-grid .animate-on-scroll:nth-child(6) { transition-delay: 250ms; }
.services-grid .animate-on-scroll:nth-child(7) { transition-delay: 300ms; }
.services-grid .animate-on-scroll:nth-child(8) { transition-delay: 350ms; }
.services-grid .animate-on-scroll:nth-child(9) { transition-delay: 400ms; }
.services-grid .animate-on-scroll:nth-child(10) { transition-delay: 450ms; }

.projects-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.projects-grid .animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.projects-grid .animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.projects-grid .animate-on-scroll:nth-child(4) { transition-delay: 300ms; }
.projects-grid .animate-on-scroll:nth-child(5) { transition-delay: 400ms; }
.projects-grid .animate-on-scroll:nth-child(6) { transition-delay: 500ms; }

.about-stats .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.about-stats .animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.about-stats .animate-on-scroll:nth-child(3) { transition-delay: 200ms; }

/* ========================================
   15. UTILITIES
   ======================================== */

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

/* ========================================
   16. RESPONSIVE STYLES
   ======================================== */

/* Small screens (phones) */
@media (max-width: 639px) {
  .hero {
    min-height: auto;
    padding-top: 60px;
  }
  
  .hero-content {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
  }
  
  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }
  
  .hero p {
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
  }
  
  .hero-btns {
    gap: var(--spacing-sm);
  }
  
  .hero-btns .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }
  
  .hero-badges {
    margin-top: var(--spacing-lg);
    gap: var(--spacing-md);
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-xl);
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .section-desc {
    font-size: 1rem;
  }
  
  .section-label {
    font-size: 0.75rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  
  .about-image {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .about-image img {
    aspect-ratio: 3/4;
    border-radius: var(--radius-xl);
  }
  
  .project-card {
    border-radius: var(--radius-lg);
  }
  
  .project-info {
    padding: var(--spacing-sm);
  }
  
  .project-cat {
    font-size: 0.625rem;
  }
  
  .project-title {
    font-size: 0.8125rem;
  }
  
  .service-card {
    padding: var(--spacing-md);
  }
  
  .service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: var(--spacing-sm);
  }
  
  .service-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .service-card h3 {
    font-size: 0.875rem;
  }
  
  .service-card p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
  
  .about-stats {
    gap: var(--spacing-sm);
  }
  
  .stat-card {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .stat-value {
    font-size: 1.25rem;
  }
  
  .stat-label {
    font-size: 0.625rem;
  }
}

/* ========================================
   17. SERVICE GALLERY MODAL
   ======================================== */

.service-card[data-service] {
  cursor: pointer;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: var(--spacing-sm);
  transition: gap 0.2s ease;
}

.service-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

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

.service-card {
  display: flex;
  flex-direction: column;
}

.mobile-dropdown {
  border-bottom: none;
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 0.875rem var(--spacing-lg);
  padding-right: calc(var(--spacing-lg) + 28px);
  position: relative;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.25;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-dropdown-toggle:hover {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.08);
  border-radius: var(--radius-md);
}

.mobile-dropdown-toggle svg {
  position: absolute;
  top: 0.875rem;
  right: var(--spacing-lg);
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active svg {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--gray-100);
}

.mobile-dropdown-menu.open {
  max-height: 600px;
}

.mobile-dropdown-menu a {
  display: block;
  padding: 0.625rem var(--spacing-lg);
  padding-left: calc(var(--spacing-lg) + 12px);
  color: var(--gray-600);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.service-page {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--gray-50);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-page.open {
  transform: translateX(0);
}

.service-page-header {
  background: var(--navy);
  padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-xl);
  position: relative;
}

.service-page-back {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-family: var(--font-body);
  cursor: pointer;
  padding: var(--spacing-xs) 0;
  margin-bottom: var(--spacing-md);
  transition: color 0.2s ease;
}

.service-page-back:hover {
  color: var(--amber);
}

.service-page-back svg {
  width: 18px;
  height: 18px;
}

.service-page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: var(--spacing-xs);
}

.service-page-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
}

.service-page-body {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-3xl);
}

.service-page-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: var(--spacing-lg);
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.service-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .service-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs);
  }

  .service-feature-item {
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .service-feature-item svg {
    width: 14px;
    height: 14px;
  }
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.gallery-project {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-project-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-sm);
}

.gallery-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 0 var(--spacing-sm) var(--spacing-sm);
}

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

@media (min-width: 900px) {
  .gallery-images-grid--media {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-image-wrapper:hover img {
  transform: scale(1.05);
}

.gallery-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-video-wrapper {
  cursor: default;
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.gallery-stats-inline {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.work-gallery-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.work-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-gallery-filter {
  appearance: none;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.work-gallery-filter:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
}

.work-gallery-filter.active {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
}

.work-gallery-stats {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding-top: 0.5rem;
}

.work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.work-gallery-item {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.work-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.work-gallery-item:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.5);
  outline-offset: 3px;
}

.work-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.work-gallery-note {
  margin-top: var(--spacing-md);
  color: var(--gray-600);
  font-size: 0.9rem;
}

.work-gallery-empty {
  padding: var(--spacing-lg);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-xl);
  color: var(--gray-600);
  background: var(--white);
}

@media (max-width: 639px) {
  .work-gallery-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .work-gallery-stats {
    padding-top: 0;
  }

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

@media (max-width: 639px) {
  .gallery-images-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0 var(--spacing-xs) var(--spacing-xs);
  }
}

/* Journal */
.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  max-width: 1100px;
  margin: 0 auto;
}

.journal-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 300px;
}

@media (max-width: 900px) {
  .journal-card {
    grid-template-columns: 1fr;
    min-height: unset;
  }
}

.journal-media {
  position: relative;
  background: var(--gray-100);
  aspect-ratio: 4 / 3;
}

.journal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-thumb-media {
  padding: var(--spacing-sm);
}

.service-thumb-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.service-thumb {
  border: none;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: none;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.service-thumb img,
.service-thumb .img-placeholder {
  width: 100%;
  height: 100%;
}

.service-thumb:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.5);
  outline-offset: 3px;
}

.service-thumb--empty {
  cursor: default;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .journal-media {
    aspect-ratio: 16 / 9;
  }
}

.journal-body {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.journal-meta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  white-space: nowrap;
  overflow: hidden;
}

.journal-meta > * {
  min-width: 0;
}

.journal-meta-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.journal-rating {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--amber-dark);
}

.journal-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--gray-900);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.journal-meta-dot {
  color: var(--gray-400);
}

.journal-title {
  font-size: 1.25rem;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.journal-excerpt {
  color: var(--gray-700);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 900px) {
  .journal-meta {
    flex-wrap: wrap;
    white-space: normal;
    overflow: visible;
  }
}

.journal-details {
  margin-top: var(--spacing-xs);
  border-top: 1px solid var(--gray-200);
  padding-top: var(--spacing-sm);
}

.journal-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--amber-dark);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.journal-details summary::-webkit-details-marker {
  display: none;
}

.journal-details summary::after {
  content: '→';
  transition: transform var(--transition-base);
}

.journal-details[open] summary::after {
  transform: rotate(90deg);
}

.journal-details-content {
  margin-top: var(--spacing-sm);
  color: var(--gray-700);
}

.journal-signoff {
  margin-top: var(--spacing-sm);
  color: var(--gray-600);
  font-weight: 600;
}

.journal-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: var(--spacing-sm);
  display: grid;
  gap: 0.4rem;
}

.journal-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.open .lightbox-content img {
  transform: scale(1);
}

.lightbox-caption {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: var(--spacing-md);
  text-align: center;
  opacity: 0.85;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  opacity: 0.7;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 639px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev svg,
  .lightbox-next svg {
    width: 20px;
    height: 20px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 10px;
    right: 14px;
  }
}

.service-page-cta {
  text-align: center;
  margin-top: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}

.service-page-cta p {
  color: var(--gray-600);
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.service-page-cta .btn {
  display: inline-flex;
}

@media (max-width: 639px) {
  .service-page-header {
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
  }

  .service-page-title {
    font-size: 1.5rem;
  }

  .service-page-desc {
    font-size: 0.875rem;
  }

  .service-page-body {
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-2xl);
  }

  .service-page-section-title {
    font-size: 1.1rem;
  }

  .gallery-project-title {
    font-size: 1rem;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
  }

}

/* ========================================
   18. DARK MODE
   ======================================== */

body.dark {
  --gray-50: #1a1a2e;
  --gray-100: #1f1f35;
  --gray-200: #2a2a40;
  --gray-300: #3a3a50;
  --gray-400: #8a8a9a;
  --gray-500: #a0a0b0;
  --gray-600: #c0c0cc;
  --gray-700: #d0d0da;
  --gray-800: #e0e0e8;
  --gray-900: #f0f0f5;
  --white: #12121e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background-color: #12121e;
  color: #f0f0f5;
  color-scheme: dark;
}

body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark h5, body.dark h6 {
  color: #f0f0f5;
}

body.dark .nav {
  background: rgba(18, 18, 30, 0.95);
  border-bottom-color: #2a2a40;
}

body.dark .nav-brand-text {
  color: #f0f0f5;
}

body.dark .nav-link,
body.dark .dropdown-toggle {
  color: #d0d0da;
}

body.dark .nav-link:hover,
body.dark .dropdown-toggle:hover {
  color: var(--amber);
}

body.dark .nav-cta .nav-phone {
  color: #d0d0da;
}

body.dark .dropdown-menu {
  background: #1a1a2e;
  border-color: #2a2a40;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body.dark .dropdown-menu a {
  color: #c0c0cc;
}

body.dark .dropdown-menu a:hover {
  background: #2a2a40;
  color: var(--amber);
}

body.dark .mobile-menu {
  background: #1a1a2e;
  border-bottom-color: #2a2a40;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body.dark .mobile-menu a {
  color: #d0d0da;
}

body.dark .mobile-menu a:hover {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.10);
}

body.dark .nav-links a.active {
  color: #f0f0f5;
}

body.dark .mobile-menu a.active {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.14);
}

body.dark .mobile-toggle svg {
  color: #d0d0da;
}

body.dark .section-alt {
  background: #1a1a2e;
}

body.dark .section-title {
  color: #f0f0f5;
}

body.dark .about-content h2,
body.dark .contact-info h2 {
  color: #f0f0f5;
}

body.dark .about-content p,
body.dark .contact-info > p {
  color: #a0a0b0;
}

body.dark .stat-card {
  background: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark .stat-value {
  color: #f0f0f5;
}

body.dark .stat-label {
  color: #a0a0b0;
}

body.dark .about-image img {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

body.dark .about-quote {
  background: var(--navy);
  color: #f0f0f5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

body.dark .about-quote p {
  color: rgba(255, 255, 255, 0.92);
}

body.dark .about-quote span {
  color: rgba(255, 255, 255, 0.7);
}

body.dark .service-card {
  background: #1a1a2e;
  border-color: #2a2a40;
}

body.dark .service-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

body.dark .service-icon {
  background: rgba(245, 158, 11, 0.15);
}

body.dark .service-card h3 {
  color: #f0f0f5;
}

body.dark .service-card p {
  color: #a0a0b0;
}

body.dark .service-features li {
  color: #a0a0b0;
}

body.dark .service-features li::before {
  color: var(--amber);
}

body.dark .service-link {
  color: var(--amber);
}

body.dark .testimonial-card {
  background: #1a1a2e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark .testimonial-text {
  color: #c0c0cc;
}

body.dark .testimonial-name {
  color: #f0f0f5;
}

body.dark .testimonial-role {
  color: #a0a0b0;
}

body.dark .contact-item-icon {
  background: rgba(245, 158, 11, 0.15);
}

body.dark .contact-item-icon svg {
  color: var(--amber);
}

body.dark .contact-item-label {
  color: #f0f0f5;
}

body.dark .contact-item-value {
  color: #a0a0b0;
}

body.dark .contact-form {
  background: #1a1a2e;
}

body.dark .contact-form h3 {
  color: #f0f0f5;
}

body.dark .form-group label {
  color: #d0d0da;
}

body.dark .form-group input,
body.dark .form-group textarea,
body.dark .form-group select {
  background: #12121e;
  border-color: #3a3a50;
  color: #f0f0f5;
}

body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder {
  color: #6a6a7a;
}

body.dark .form-group input:focus,
body.dark .form-group textarea:focus,
body.dark .form-group select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

body.dark .form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0a0b0'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

body.dark .hero h1 {
  color: #ffffff;
}

body.dark .hero p {
  color: rgba(255, 255, 255, 0.9);
}

body.dark .hero-badge {
  color: rgba(255, 255, 255, 0.85);
}

body.dark .logo-icon {
  background: transparent;
}

body.dark .logo-text {
  color: #f0f0f5;
}

body.dark .logo-sub {
  color: #a0a0b0;
}

body.dark .mobile-menu-phone {
  border-top-color: #2a2a40;
  color: var(--amber);
}

body.dark .mobile-dropdown {
  border-bottom-color: #2a2a40;
}

body.dark .mobile-dropdown-toggle {
  color: #d0d0da;
}

body.dark .mobile-dropdown-toggle:hover {
  color: var(--amber);
}

body.dark .mobile-dropdown-menu {
  background: #12121e;
}

body.dark .mobile-dropdown-menu a {
  color: #a0a0b0;
  border-bottom-color: #2a2a40;
}

body.dark .mobile-dropdown-menu a:hover {
  color: var(--amber);
  background: #1a1a2e;
}

body.dark .service-card-link {
  color: var(--amber);
}

body.dark .section-desc {
  color: #a0a0b0;
}

body.dark .services-note {
  background: rgba(245, 158, 11, 0.08);
  color: #a0a0b0;
}

body.dark .services-note strong {
  color: var(--amber);
}

body.dark .service-icon svg {
  color: var(--amber);
}

body.dark .project-overlay {
  background: linear-gradient(to top, rgba(12, 12, 20, 0.95), rgba(12, 12, 20, 0.4), transparent);
}

body.dark .project-title {
  color: #ffffff;
}

body.dark .project-cat {
  color: var(--amber);
}

body.dark .btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f0f0f5;
}

body.dark .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.dark .btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f0f0f5;
}

body.dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
}

body.dark .btn-ghost {
  color: #f0f0f5;
}

body.dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .work-gallery-filter {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f0f0f5;
}

body.dark .work-gallery-filter:hover {
  background: rgba(255, 255, 255, 0.07);
}

body.dark .work-gallery-filter.active {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.14);
}

body.dark .work-gallery-stats,
body.dark .work-gallery-note,
body.dark .gallery-stats-inline {
  color: rgba(255, 255, 255, 0.65);
}

body.dark .service-page {
  background: #0c0c18;
}

body.dark .service-page-header {
  background: linear-gradient(180deg, #0a0a14 0%, #0f0f1e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.dark .service-page-back {
  color: rgba(255, 255, 255, 0.5);
}

body.dark .service-page-back:hover {
  color: var(--amber);
}

body.dark .service-page-section-title {
  color: #e8e8f0;
}

body.dark .gallery-project {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

body.dark .gallery-project-title {
  color: #f0f0f5;
}

body.dark .gallery-images-grid {
  gap: 4px;
}

body.dark .gallery-image-wrapper {
  border-radius: var(--radius-md);
}

body.dark .gallery-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.dark .gallery-image-wrapper:hover::after {
  opacity: 1;
}

body.dark .service-feature-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #c0c0d0;
}

body.dark .service-feature-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark .service-page-cta {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark .service-page-cta p {
  color: #9090a0;
}

body.dark .footer {
  background: #0d0d16;
}

body.dark .footer h4 {
  color: #ffffff;
}

body.dark .footer ul li {
  color: rgba(255, 255, 255, 0.7);
}

body.dark .footer-brand-text {
  color: #ffffff;
}

body.dark .footer-brand-sub {
  color: rgba(255, 255, 255, 0.6);
}

body.dark .footer-about {
  color: rgba(255, 255, 255, 0.6);
}

body.dark .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
}

body.dark .dark-toggle {
  color: #f0f0f5;
}

body.dark .coming-soon-card {
  background: #1a1a2e;
  border-color: #2a2a40;
}

body.dark .coming-soon-card h3 {
  color: #f0f0f5;
}

body.dark .coming-soon-card p {
  color: #a0a0b0;
}

/* Print styles */
@media print {
  .nav,
  .mobile-menu,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: var(--spacing-xl) 0;
    background: var(--white);
  }
  
  .hero-overlay {
    display: none;
  }
  
  .hero h1,
  .hero p {
    color: var(--gray-900);
  }
}
