/*
  AB24 Services Ltd — design tokens
  Brand colours per source copy deck: White, Blue, Black.
  Exact hex values and font family are implementation decisions (not
  specified in the source MD) — kept as variables so they can be replaced
  globally once final brand guidelines are supplied, without touching
  component code.
*/

:root {
  /* ---- Brand colour ramps ---- */
  --ab24-white: #ffffff;
  --ab24-black: #0b0b0d;

  --ab24-navy-950: #050e1f;
  --ab24-navy-900: #071c3c;
  --ab24-navy-800: #0b2a52;
  --ab24-blue-700: #123e75;
  --ab24-blue-600: #1a56a0;
  --ab24-blue-500: #2c74c9;
  --ab24-blue-400: #5b93d6;
  --ab24-blue-100: #e7eef7;
  --ab24-blue-50: #f3f7fc;

  /* ---- Neutrals ---- */
  --ab24-gray-900: #14171c;
  --ab24-gray-800: #23272e;
  --ab24-gray-700: #454b54;
  --ab24-gray-500: #6b7280;
  --ab24-gray-300: #d7dbe0;
  --ab24-gray-200: #e6e9ec;
  --ab24-gray-100: #f4f6f8;
  --ab24-gray-50: #fafbfc;

  /* ---- Semantic status colours ---- */
  --ab24-status-available-fg: #16653f;
  --ab24-status-available-bg: #e6f5ee;
  --ab24-status-sold-fg: #7a2531;
  --ab24-status-sold-bg: #f8e9eb;
  --ab24-status-offer-fg: #96590a;
  --ab24-status-offer-bg: #fbf1e1;
  --ab24-status-ongoing-fg: #123e75;
  --ab24-status-ongoing-bg: #e7eef7;
  --ab24-status-completed-fg: #16653f;
  --ab24-status-completed-bg: #e6f5ee;

  /* ---- Role tokens (what components should reference) ---- */
  --color-bg: var(--ab24-white);
  --color-bg-alt: var(--ab24-gray-50);
  --color-bg-inverse: var(--ab24-navy-900);
  --color-surface: var(--ab24-white);
  --color-border: var(--ab24-gray-200);
  --color-border-strong: var(--ab24-gray-300);

  --color-text: var(--ab24-gray-900);
  --color-text-muted: var(--ab24-gray-700);
  --color-text-subtle: var(--ab24-gray-500);
  --color-text-inverse: var(--ab24-white);
  --color-text-inverse-muted: rgba(255, 255, 255, 0.78);

  --color-brand: var(--ab24-blue-600);
  --color-brand-strong: var(--ab24-blue-700);
  --color-brand-soft: var(--ab24-blue-100);
  --color-accent: var(--ab24-blue-500);

  --color-cta-bg: var(--ab24-blue-600);
  --color-cta-bg-hover: var(--ab24-blue-700);
  --color-cta-text: var(--ab24-white);

  --color-whatsapp: #1f8a4c;
  --color-whatsapp-hover: #196e3c;

  --color-focus-ring: var(--ab24-blue-500);

  /* ---- Typography ---- */
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

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

  --lh-tight: 1.1;
  --lh-heading: 1.2;
  --lh-body: 1.65;

  /* Fluid type scale */
  --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --fs-xl: clamp(1.3rem, 1.2rem + 0.5vw, 1.5rem);
  --fs-2xl: clamp(1.6rem, 1.4rem + 1vw, 2rem);
  --fs-3xl: clamp(2rem, 1.7rem + 1.5vw, 2.75rem);
  --fs-4xl: clamp(2.5rem, 2rem + 2.5vw, 3.75rem);
  --fs-5xl: clamp(3rem, 2.2rem + 4vw, 4.75rem);

  /* ---- Spacing scale ---- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;
  --space-3xl: 9rem;

  /* Fixed height for every single-line interactive control (buttons,
     inputs, select) so they line up precisely instead of drifting with
     fluid padding. */
  --control-height: 46px;

  /* ---- Layout ---- */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-height: 110px;

  /* ---- Radius & shadow ---- */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 11, 13, 0.06), 0 1px 1px rgba(11, 11, 13, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 11, 13, 0.08), 0 2px 6px rgba(11, 11, 13, 0.05);
  --shadow-lg: 0 24px 48px rgba(7, 28, 60, 0.16), 0 6px 16px rgba(7, 28, 60, 0.08);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 550ms;

  /* ---- Z-index scale ---- */
  --z-header: 100;
  --z-mobile-menu: 200;
  --z-lightbox: 300;
  --z-toast: 400;
}
