/* ============================================
   DESIGN TOKENS — "Adriatic" theme
   Warm sand surfaces, deep ink text, sea-teal accents and a touch of
   sun-gold taken from the logo. Token *names* are kept from the original
   build because inline styles and the CMS-generated markup reference them.
   ============================================ */

:root {
  /* ---- Core palette ---- */
  --color-ink: #10233a;          /* primary text + dark surfaces */
  --color-ink-soft: #1b3552;
  --color-sea: #0d717f;          /* primary accent (deep enough for 4.5:1 text contrast on sand) */
  --color-sea-bright: #3fc1c9;
  --color-sea-deep: #0b3a48;     /* dark section background */
  --color-sea-mist: #e3f1ef;     /* tinted surfaces */
  --color-sun: #d9a441;          /* logo gold, used sparingly */
  --color-sun-light: #efc56e;
  --color-sand: #f7f1e8;         /* page background */
  --color-shell: #fffcf7;        /* cards */
  --color-clay: #e9dfd0;

  /* ---- Legacy names (mapped onto the new palette) ---- */
  --color-black: var(--color-ink);
  --color-charcoal: var(--color-ink-soft);
  --color-dark-section: var(--color-sea-deep);
  --color-gold: var(--color-sun);
  --color-gold-light: var(--color-sun-light);
  --color-gold-dark: #a8781f;
  --color-blue: var(--color-sea);
  --color-blue-light: var(--color-sea-bright);
  --color-navy: var(--color-ink);
  --gradient-brand: linear-gradient(135deg, #0b3a48 0%, #0f7c8c 100%);
  --gradient-gold: linear-gradient(135deg, #c98f2c 0%, #efc56e 50%, #d9a441 100%);
  --gradient-sea: linear-gradient(135deg, #0f7c8c 0%, #3fc1c9 100%);

  --color-white: #ffffff;
  --color-off-white: var(--color-sand);
  --color-light-gray: var(--color-clay);
  --color-border: #e6dccb;

  --color-text: var(--color-ink);
  --color-text-light: #ffffff;
  --color-text-muted: #5d6877;
  --color-text-muted-light: rgba(255, 255, 255, 0.72);

  --color-success: #2e7d5b;
  --color-error: #c2412d;

  /* ---- Typography ---- */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-hero: clamp(2.9rem, 6.2vw, 5.4rem);
  --fs-h1: clamp(2.1rem, 4vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 2.8vw, 2.4rem);
  --fs-h3: 1.3rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.9rem;
  --fs-xs: 0.78rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* ---- Spacing ---- */
  --space-3xs: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 72px;
  --space-2xl: 104px;

  /* ---- Layout ---- */
  --container-width: 1220px;
  --container-padding: 20px;
  --header-height: 96px;
  --header-height-scrolled: 80px;

  /* ---- Shape ---- */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-arch: 999px 999px 32px 32px;

  /* ---- Shadows (warm, soft) ---- */
  --shadow-sm: 0 1px 2px rgba(16, 35, 58, 0.05), 0 2px 8px rgba(16, 35, 58, 0.04);
  --shadow-md: 0 18px 40px -18px rgba(16, 35, 58, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(16, 35, 58, 0.35);
  --shadow-gold: 0 14px 30px -12px rgba(15, 124, 140, 0.5);

  /* ---- Motion ---- */
  --transition-fast: 180ms ease;
  --transition-base: 280ms ease;
  --transition-slow: 450ms ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- Layers ---- */
  --z-header: 100;
  --z-mobile-menu: 200;
  --z-whatsapp: 150;
  --z-modal: 300;
}
