/* ============================================================
   HOTEVI.COM — Shared Design System
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  /* Brand colours */
  --navy:           #0A1628;
  --navy-light:     #1E3A5F;
  --navy-mid:       #162440;
  --gold:           #F59E0B;
  --gold-light:     #FCD34D;
  --gold-dark:      #D97706;

  /* Semantic colours */
  --success:        #10B981;
  --success-light:  #D1FAE5;
  --danger:         #EF4444;
  --danger-light:   #FEE2E2;
  --warning:        #F97316;
  --warning-light:  #FFEDD5;
  --info:           #3B82F6;
  --info-light:     #DBEAFE;

  /* Text */
  --text-primary:   #0F172A;
  --text-secondary: #64748B;
  --text-muted:     #94A3B8;
  --text-inverse:   #FFFFFF;

  /* Backgrounds */
  --bg-page:        #F1F5F9;
  --bg-card:        #FFFFFF;
  --bg-overlay:     rgba(10, 22, 40, 0.65);

  /* Borders */
  --border:         #E2E8F0;
  --border-dark:    #CBD5E1;
  --border-focus:   #F59E0B;

  /* Typography */
  --font-heading:   'Outfit', system-ui, sans-serif;
  --font-body:      'Inter', system-ui, sans-serif;

  /* Shadows */
  --shadow-xs:      0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm:      0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:      0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg:      0 10px 15px rgba(0, 0, 0, 0.10), 0 4px 6px rgba(0, 0, 0, 0.06);
  --shadow-xl:      0 20px 25px rgba(0, 0, 0, 0.12), 0 8px 10px rgba(0, 0, 0, 0.06);
  --shadow-gold:    0 4px 20px rgba(245, 158, 11, 0.30);
  --shadow-navy:    0 4px 20px rgba(10, 22, 40, 0.40);

  /* Border radius */
  --radius-sm:      6px;
  --radius-md:      8px;
  --radius-lg:      12px;
  --radius-xl:      16px;
  --radius-2xl:     24px;
  --radius-pill:    9999px;

  /* Transitions */
  --transition:     150ms ease;
  --transition-md:  250ms ease;
  --transition-lg:  350ms ease;

  /* Spacing */
  --container-max:  1280px;
  --section-gap:    80px;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text-primary);
}

/* ── 3. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
}

.section {
  padding-block: var(--section-gap);
}

.section-sm {
  padding-block: 40px;
}

/* ── 4. NAVIGATION ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy);
  box-shadow: var(--shadow-navy);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 70px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--gold);
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  flex-shrink: 0;
  margin-left: 8px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition-md), opacity var(--transition-md);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle   { display: flex; }
  .nav-links    { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 12px 16px 20px;
    gap: 2px;
    box-shadow: var(--shadow-navy);
  }
  .nav-cta { display: none; }
  .nav-inner { position: relative; }
}

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

/* Primary — navy fill */
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  box-shadow: var(--shadow-navy);
}

/* Secondary — outlined navy */
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

/* Gold — primary CTA */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

/* Gold outlined */
.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Ghost — white on dark bg */
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.40);
}

/* Danger */
.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

/* Sizes */
.btn-sm   { padding: 6px 14px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-lg   { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-xl   { padding: 18px 44px; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* Loading state */
.btn.loading {
  pointer-events: none;
  position: relative;
  color: transparent;
}
.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  color: #fff;
}

/* ── 6. CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: #FAFAFA;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-md);
}

/* Glassmorphism card */
.card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Hotel result card */
.hotel-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-md), transform var(--transition-md);
}
.hotel-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.hotel-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--border);
}
.hotel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.hotel-card:hover .hotel-card-image img {
  transform: scale(1.04);
}

.hotel-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hotel-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ── 7. BADGES ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-green {
  background: var(--success-light);
  color: #065F46;
}

.badge-amber {
  background: #FEF3C7;
  color: #92400E;
}

.badge-red {
  background: var(--danger-light);
  color: #991B1B;
}

.badge-blue {
  background: var(--info-light);
  color: #1E40AF;
}

.badge-navy {
  background: rgba(10, 22, 40, 0.1);
  color: var(--navy);
}

.badge-gold {
  background: #FEF3C7;
  color: var(--gold-dark);
}

.badge-gray {
  background: #F1F5F9;
  color: var(--text-secondary);
}

/* On-request badge */
.badge-on-request {
  background: #FFEDD5;
  color: #9A3412;
}

/* ── 8. STAR RATING ───────────────────────────────────────── */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.star {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
}

.star-full::before {
  content: '★';
  color: var(--gold);
}

.star-half {
  position: relative;
  overflow: hidden;
}

.star-half::before {
  content: '★';
  color: var(--border-dark);
}

.star-half::after {
  content: '★';
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
}

.star-empty::before {
  content: '★';
  color: var(--border-dark);
}

/* Compact star display via data attribute */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 1px;
}

/* ── 9. FORM ELEMENTS ─────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #fff;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-input.is-error,
.form-select.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-input.is-valid,
.form-select.is-valid {
  border-color: var(--success);
}

/* Search bar (hero + sticky) */
.search-bar {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.search-bar .form-group {
  flex: 1;
  min-width: 160px;
}

/* ── 10. LOADING SKELETON ─────────────────────────────────── */
@keyframes skeleton-pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.45; }
  100% { opacity: 1; }
}

.skeleton {
  background: var(--border);
  border-radius: var(--radius-sm);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-text {
  height: 14px;
  border-radius: var(--radius-pill);
}

.skeleton-text.lg  { height: 20px; }
.skeleton-text.xl  { height: 28px; }
.skeleton-text.sm  { height: 10px; }

.skeleton-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.skeleton-img {
  aspect-ratio: 16 / 9;
  background: var(--border);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* ── 11. MODAL ────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-md);
  backdrop-filter: blur(4px);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-md);
}

.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ── 12. PRICE DISPLAY ────────────────────────────────────── */
.price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

.price-currency {
  font-size: 0.75em;
  font-weight: 500;
  color: var(--text-secondary);
  vertical-align: top;
  margin-top: 0.15em;
  margin-right: 1px;
}

.price-amount {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.price-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  display: block;
}

.price-was {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-saving {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.price-total {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ── 13. COUNTDOWN TIMER ──────────────────────────────────── */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--warning-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: #9A3412;
}

.countdown-icon {
  font-size: 1em;
}

.countdown-time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.countdown.urgent {
  background: var(--danger-light);
  color: #991B1B;
  animation: countdown-pulse 1s ease-in-out infinite;
}

@keyframes countdown-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.countdown-expired {
  color: var(--danger);
}

/* ── 14. TOAST NOTIFICATIONS ──────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--border);
  min-width: 280px;
  max-width: 380px;
  pointer-events: all;
  transform: translateX(120%);
  transition: transform var(--transition-md);
}

.toast.show {
  transform: translateX(0);
}

.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.info    { border-left-color: var(--info); }

.toast-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast.success .toast-icon { color: var(--success); }
.toast.error   .toast-icon { color: var(--danger); }
.toast.warning .toast-icon { color: var(--warning); }
.toast.info    .toast-icon { color: var(--info); }

.toast-message {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ── 15. BOARD TYPE & AMENITY CHIPS ───────────────────────── */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

/* ── 16. STEP INDICATOR ───────────────────────────────────── */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-block: 32px;
}

.step {
  display: flex;
  align-items: center;
  flex: 1;
}

.step-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--border);
  color: var(--text-muted);
  border: 2px solid var(--border);
  transition: all var(--transition-md);
}

.step.active .step-bubble {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.step.done .step-bubble {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

.step-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
  white-space: nowrap;
}

.step.active .step-label { color: var(--gold-dark); font-weight: 600; }
.step.done .step-label   { color: var(--success); }

.step-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-top: -24px;
}

.step-connector.done { background: var(--success); }

/* ── 17. ALERT / NOTICE BARS ──────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
}

.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.alert-info    { background: var(--info-light);    color: #1E40AF; border-left: 3px solid var(--info); }
.alert-success { background: var(--success-light); color: #065F46; border-left: 3px solid var(--success); }
.alert-warning { background: var(--warning-light); color: #9A3412; border-left: 3px solid var(--warning); }
.alert-danger  { background: var(--danger-light);  color: #991B1B; border-left: 3px solid var(--danger); }

/* ── 18. DIVIDERS ─────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 24px;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-block: 20px;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}

/* ── 19. SECTION HEADINGS ─────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 14px;
  max-width: 540px;
  margin-inline: auto;
}

/* ── 21. GRID SYSTEMS ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

/* ── 22. UTILITY CLASSES ──────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.text-lg     { font-size: 1.125rem; }
.text-xl     { font-size: 1.25rem; }

.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-gold      { color: var(--gold-dark); }
.text-navy      { color: var(--navy); }
.text-success   { color: var(--success); }
.text-danger    { color: var(--danger); }

.font-heading { font-family: var(--font-heading); }
.font-bold    { font-weight: 700; }
.font-semi    { font-weight: 600; }
.font-medium  { font-weight: 500; }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 4px; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 4px; }
.mb-2  { margin-bottom: 8px; }
.mb-3  { margin-bottom: 12px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap   { flex-wrap: wrap; }
.flex-1      { flex: 1; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.w-full { width: 100%; }

/* ── 23. ANIMATIONS ───────────────────────────────────────── */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease forwards;
}

.animate-slideUp {
  animation: slideUp 0.4s ease forwards;
}

/* ── 24. RESPONSIVE VISIBILITY ────────────────────────────── */
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 641px) {
  .hide-desktop { display: none !important; }
}
