/* ================================================================
   NAUTY 360 — DESIGN SYSTEM v1.0
   Centralized brand tokens, base reset, typography, base utilities.
   Last updated: 2026-04-27

   IMPORTANT:
   - This file contains ONLY shared base layer.
   - Component-specific styles (nav, footer, buttons, hero, cards,
     FAQ) remain inline in each HTML for now until full component
     refactor is approved.
   - Modify a token here = affects ALL landings importing this file.

   Import in <head> BEFORE inline <style>:
   <link rel="stylesheet" href="/css/design-system.css">
   ================================================================ */


/* ─── BRAND TOKENS ─────────────────────────────────────────────── */

:root {
  /* Color — Primary palette */
  --navy:    #0a1628;   /* Primary dark — backgrounds, headlines */
  --blue:    #0d3b6e;   /* Secondary blue — accents */
  --mid:     #1a6fa8;   /* Mid blue — section labels */
  --cyan:    #3ec6e8;   /* CTA color — primary buttons, accents */
  --cyan-d:  #2eb8db;   /* Cyan hover — slightly darker */

  /* Color — Neutrals */
  --light:   #f0f8ff;   /* Light background tint */
  --white:   #ffffff;
  --gray:    #6b7280;   /* Body copy — secondary */
  --dark:    #111827;   /* Body copy — primary */
  --border:  #e5e7eb;   /* Hairline borders */

  /* Color — Accent (rarely used) */
  --gold:    #c9a84c;

  /* Color — Functional */
  --green:   #10b981;
  --red:     #ef4444;
  --yellow:  #f59e0b;
  --wa:      #25D366;   /* WhatsApp brand — ONLY for WhatsApp buttons */
  --wa-d:    #1da851;   /* WhatsApp hover */

  /* Typography */
  --font-body:   'Montserrat', sans-serif;
  --font-display:'Playfair Display', serif;

  /* Layout */
  --max-width: 1100px;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 50px;
}


/* ─── RESET ────────────────────────────────────────────────────── */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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


/* ─── ANIMATIONS (shared) ──────────────────────────────────────── */

@keyframes wa-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.15);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ─── A11Y 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;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
