  /* ─── Custom styles for Acuario Import & Export ─── */

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Base font settings */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Selection color */
  ::selection {
    background-color: rgba(255, 191, 0, 0.25);
    color: #faf5f7;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #260f16;
  }
  ::-webkit-scrollbar-thumb {
    background: #652f44;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #7e3f58;
  }

  /* ─── Reveal animations (progressive enhancement) ─── */
  /* Default state: visible. JS adds animated state. */
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal.animated {
      opacity: 0;
      transform: translateY(24px);
    }
    .reveal.animated.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ─── Mobile menu transitions ─── */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  #mobile-menu.open {
    max-height: 320px;
  }

  /* ─── Hero image overlay gradient ─── */
  .hero-overlay {
    background: linear-gradient(135deg, rgba(38, 15, 22, 0.7) 0%, rgba(38, 15, 22, 0.2) 50%, transparent 100%);
  }

  /* ─── Service card hover lift ─── */
  .service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }

  /* ─── Button focus states ─── */
  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid rgba(255, 191, 0, 0.6);
    outline-offset: 2px;
  }

  /* ─── Form select arrow fix ─── */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239b5a75' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  }

  /* ─── Subtle pattern overlay for sections ─── */
  .section-pattern {
    background-image: radial-gradient(ellipse at 20% 50%, rgba(155, 90, 117, 0.06) 0%, transparent 60%),
                      radial-gradient(ellipse at 80% 20%, rgba(255, 191, 0, 0.04) 0%, transparent 50%);
  }

  /* ─── Typography refinements ─── */
  h1, h2, h3 {
    text-wrap: balance;
  }

  /* ─── Nav active state on scroll ─── */
  nav a.active {
    color: #ffbf00;
  }

  /* ─── Responsive adjustments ─── */
  @media (max-width: 768px) {
    .font-serif {
      word-break: break-word;
    }
  }
