/* ==========================================================================
   Base — CSS variables, reset, typography, and brand color system
   ========================================================================== */

:root {
  /* Brand palette */
  --brand-50:  #eef8fa;
  --brand-100: #d8eef1;
  --brand-500: #2f7380;
  --brand-600: #245c68;
  --brand-700: #194b56;
  --brand-900: #102f39;
  --gold:      #bd9654;

  /* Slate / neutral */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;

  /* Accent */
  --sky-100: #e0f2fe;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --green-100: #dcfce7;
  --green-600: #16a34a;
  --amber-50: #fffbeb;
  --amber-200: #fde68a;
  --amber-800: #92400e;

  /* Layout */
  --max-w-7xl: 1280px;
  --header-h: 80px;
  --radius-sm: 0.125rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.15);
  --transition: .25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { letter-spacing: -.02em; line-height: 1.2; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
svg { display: inline-block; vertical-align: middle; }

/* ---- Utility: sizing ---- */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-11 { width: 2.75rem; } .h-11 { height: 2.75rem; }
.w-12 { width: 3rem; } .h-12 { height: 3rem; }
.w-14 { width: 3.5rem; } .h-14 { height: 3.5rem; }
.w-40 { width: 10rem; }
.w-3\.5 { width: .875rem; } .h-3\.5 { height: .875rem; }
.w-3 { width: .75rem; } .h-3 { height: .75rem; }
.w-4 { width: 1rem; } .h-4 { height: 1rem; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; } .h-7 { height: 1.75rem; }
.w-9 { width: 2.25rem; } .h-9 { height: 2.25rem; }
.h-20 { height: var(--header-h); }
.h-44 { height: 11rem; }
.h-\[330px\] { height: 330px; }
.h-\[400px\] { height: 400px; }
.h-\[430px\] { height: 430px; }
.min-h-\[610px\] { min-height: 610px; }
.min-w-\[240px\] { min-width: 240px; }
.max-w-7xl { max-width: var(--max-w-7xl); }
.max-w-2xl { max-width: 42rem; }

/* ---- Utility: spacing ---- */
.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pb-2 { padding-bottom: .5rem; }
.pb-12 { padding-bottom: 3rem; }
.pt-2 { padding-top: .5rem; }
.pl-4 { padding-left: 1rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mx-2 { margin-left: .5rem; margin-right: .5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-1 { gap: .25rem; }
.gap-1\.5 { gap: .375rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-10 { gap: 2.5rem; }
.gap-14 { gap: 3.5rem; }
.gap-x-5 { column-gap: 1.25rem; }
.gap-x-8 { column-gap: 2rem; }

/* ---- Utility: flex ---- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-2\.5 > * + * { margin-top: .625rem; }
.space-y-3 > * + * { margin-top: .75rem; }

/* ---- Utility: grid ---- */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

/* ---- Utility: text ---- */
.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-7px { font-size: 7px; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.tracking-wider { letter-spacing: .05em; }
.tracking-wide-12 { letter-spacing: .12em; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.whitespace-pre-line { white-space: pre-line; }
.break-all { word-break: break-all; }

/* ---- Utility: colors ---- */
.text-white { color: #fff; }
.text-brand-600 { color: var(--brand-600); }
.text-brand-700 { color: var(--brand-700); }
.text-slate-200 { color: #cbd5e1; }
.text-slate-300 { color: var(--slate-300); }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-800 { color: var(--slate-800); }
.text-sky-100 { color: var(--sky-100); }
.text-sky-300 { color: var(--sky-300); }
.text-sky-400 { color: var(--sky-400); }
.text-green-600 { color: var(--green-600); }
.text-amber-800 { color: var(--amber-800); }
.text-gold-dark { color: #9b7442; }
.text-gold-light { color: #e5be73; }
.bg-white { background: #fff; }
.bg-white\/95 { background: rgba(255,255,255,.95); }
.bg-white\/5 { background: rgba(255,255,255,.05); }
.bg-white\/10 { background: rgba(255,255,255,.10); }
.bg-slate-50 { background: var(--slate-50); }
.bg-slate-100 { background: var(--slate-100); }
.bg-brand-50 { background: var(--brand-50); }
.bg-brand-100 { background: var(--brand-100); }
.bg-brand-500 { background: var(--brand-500); }
.bg-brand-500\/15 { background: rgba(47,115,128,.15); }
.bg-brand-600 { background: var(--brand-600); }
.bg-brand-700 { background: var(--brand-700); }
.bg-brand-900 { background: var(--brand-900); }
.bg-sky-400\/15 { background: rgba(56,189,248,.15); }
.bg-green-100 { background: var(--green-100); }
.bg-amber-50 { background: var(--amber-50); }

/* ---- Utility: borders ---- */
.border { border-width: 1px; border-style: solid; border-color: var(--slate-200); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-slate-100 { border-color: var(--slate-100); }
.border-slate-200 { border-color: var(--slate-200); }
.border-brand-700 { border-color: var(--brand-700); }
.border-amber-200 { border-color: var(--amber-200); }
.border-\[#d6c09a\] { border-color: #d6c09a; }
.border-white\/30 { border-color: rgba(255,255,255,.3); }
.border-sky-300\/30 { border-color: rgba(125,211,252,.3); }

/* ---- Utility: radius ---- */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ---- Utility: shadows ---- */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ---- Utility: position ---- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-full { top: 100%; }
.left-0 { left: 0; }
.left-5 { left: 1.25rem; }
.bottom-0\.5 { bottom: .125rem; }
.bottom-4 { bottom: 1rem; }
.right-1 { right: .25rem; }
.-bottom-5 { bottom: -1.25rem; }
.-right-5 { right: -1.25rem; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-50 { z-index: 50; }
.-z-10 { z-index: -10; }

/* ---- Utility: display ---- */
.block { display: block; }
.hidden { display: none; }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.object-cover { object-fit: cover; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.transition-shadow { transition: box-shadow var(--transition); }

/* ---- Hover states ---- */
.hover\:bg-brand-50:hover { background: var(--brand-50); }
.hover\:bg-brand-600:hover { background: var(--brand-600); }
.hover\:bg-white\/10:hover { background: rgba(255,255,255,.1); }
.hover\:text-brand-600:hover { color: var(--brand-600); }
.hover\:text-sky-300:hover { color: var(--sky-300); }
.hover\:text-white:hover { color: #fff; }

/* ---- Group hover (desktop nav dropdown) ---- */
.group { position: relative; }
.group-hover\:block { display: none; }
.group:hover .group-hover\:block { display: block; }
.group-hover\:shadow-md:hover { box-shadow: var(--shadow-md); }

/* ---- Gradients ---- */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--grad-from, transparent), var(--grad-via, transparent), var(--grad-to, transparent)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--grad-from, transparent), var(--grad-to, transparent)); }
.from-\[\#fffdf7\] { --grad-from: #fffdf7; }
.via-white { --grad-via: #fff; }
.to-\[\#f4e7c9\] { --grad-to: #f4e7c9; }
.from-brand-900\/80 { --grad-from: rgba(16,47,57,.8); }
.to-transparent { --grad-to: transparent; }

/* ---- SVG sizing ---- */
svg.w-3 { width: .75rem; height: .75rem; }
svg.w-3\.5 { width: .875rem; height: .875rem; }
svg.w-4 { width: 1rem; height: 1rem; }
svg.w-5 { width: 1.25rem; height: 1.25rem; }
svg.w-6 { width: 1.5rem; height: 1.5rem; }
svg.w-7 { width: 1.75rem; height: 1.75rem; }
svg.w-9 { width: 2.25rem; height: 2.25rem; }
