  /* ─── Reset & Base ─── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
  select option { color: #1e293b; }

  /* ─── Custom Properties ─── */
  :root {
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --slate-900: #0f172a;
    --slate-850: #1e293b;
    --slate-600: #475569;
    --slate-400: #94a3b8;
  }

  /* ─── Scroll Reveal (Progressive Enhancement) ─── */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
  }

  /* ─── Navbar ─── */
  .nav-fixed {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
  }
  .nav-fixed.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  }
  .nav-fixed.scrolled .nav-link { color: #475569 !important; }
  .nav-fixed.scrolled .nav-logo { color: #0f172a !important; }

  .nav-link { position: relative; }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-600);
    transition: width 0.3s ease;
  }
  .nav-link:hover::after { width: 100%; }
  .nav-link::after { left: 50%; transform: translateX(-50%); }
  .nav-link:hover::after { width: 100%; left: 0; transform: none; }

  /* ─── Hero ─── */
  .hero { position: relative; }
  .hero-bg { position: absolute; inset: 0; }
  .hero-img { will-change: transform; }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(2, 6, 23, 0.55) 0%,
      rgba(2, 6, 23, 0.70) 50%,
      rgba(2, 6, 23, 0.85) 100%
    );
  }

  /* Hero entrance — only for below-fold feel, but hero is above fold so no opacity:0 */
  .hero-eyebrow {
    animation: fadeDown 0.8s 0.2s both cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hero-headline {
    animation: fadeUp 0.9s 0.4s both cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hero-subtitle {
    animation: fadeUp 0.9s 0.6s both cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hero-ctas {
    animation: fadeUp 0.9s 0.8s both cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Hero parallax on scroll */
  .hero-bg { will-change: transform; }

  /* Scroll indicator */
  .scroll-dot { animation: scrollBounce 2s infinite; }
  @keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.5; }
  }

  /* ─── Eyebrow / Section Labels ─── */
  .eyebrow { letter-spacing: 0.3em; }

  /* ─── Service Cards ─── */
  .service-card-img-wrap { position: relative; overflow: hidden; }
  .service-card-img { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .service-card:hover .service-card-img { transform: scale(1.1); }

  /* ─── Buttons ─── */
  .btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .btn-primary:hover::before { opacity: 1; }

  /* ─── Gallery ─── */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: auto;
    cursor: pointer;
  }
  .gallery-item:nth-child(1) { grid-row: span 2; }
  .gallery-item:nth-child(4) { grid-row: span 2; }
  .gallery-img { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .gallery-item:hover .gallery-img { transform: scale(1.05); }
  .gallery-item-overlay { transition: opacity 0.5s ease; }

  /* ─── Contact Info Cards ─── */
  .contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  .contact-info-card:hover {
    background: white;
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  }
  .contact-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  .contact-info-card:hover .contact-icon { transform: scale(1.05); }

  /* ─── Form Inputs ─── */
  .form-input {
    background: #f8fafc;
    transition: all 0.3s ease;
  }
  .form-input:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  }
  .form-input::placeholder { color: #94a3b8; }

  /* ─── Mobile Menu ─── */
  .mobile-menu-link {
    position: relative;
  }
  .mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--teal-600);
    transition: width 0.3s ease;
  }
  .mobile-menu-link:hover::after { width: 80%; left: 10%; transform: none; }

  /* ─── Responsive ─── */
  @media (max-width: 1023px) {
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item:nth-child(1) { grid-row: span 1; }
    .gallery-item:nth-child(4) { grid-row: span 1; }
  }
  @media (max-width: 767px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }
    .about-img-float { display: none !important; }
    .about-accent { display: none; }
  }

  /* ─── Reduced Motion ─── */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; }
  }
