/* ========================================
   Smart Travel — Belcanto Design System
   Pure CSS (no Tailwind)
   ======================================== */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Background */
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;

  /* Card */
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;

  /* Primary: Trust Blue - Darkened for better contrast (Passes WCAG AA) */
  --primary: 217 91% 50%;
  --primary-foreground: 0 0% 100%;
  --primary-light: 199 89% 45%;

  /* Secondary */
  --secondary: 210 40% 96%;
  --secondary-foreground: 222 47% 11%;

  /* Accent: Coral/Orange CTAs */
  --accent: 24 95% 53%;
  --accent-foreground: 222 47% 11%; /* Use dark text on orange for better contrast */

  /* Success */
  --success: 142 76% 36%;
  --success-foreground: 0 0% 100%;

  /* Muted */
  --muted: 220 14% 96%;
  --muted-foreground: 220 9% 46%;

  /* Destructive */
  --destructive: 4 90% 58%;
  --destructive-foreground: 0 0% 100%;

  /* Borders & Inputs */
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 217 91% 60%;

  /* Radius */
  --radius: 0.75rem;

  /* Heading */
  --heading: 222 47% 11%;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(217, 91%, 50%) 0%, hsl(199, 89%, 45%) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-card: 0 4px 12px 0 rgb(0 0 0 / 0.08);
  --shadow-card-hover: 0 12px 24px 0 rgb(0 0 0 / 0.15);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: hsl(var(--heading));
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.75rem; }
}

/* --- Layout --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 2rem; } }

.min-h-screen { min-height: 100vh; }

/* --- Grid System --- */
.grid { display: grid; gap: 2rem; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-6 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

/* Sidebar Layouts */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .sidebar-layout { grid-template-columns: 1fr 3fr; }
  .sidebar-layout-detail { grid-template-columns: 1fr 2fr 1fr; }
}

/* --- Flexbox Helpers --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* --- Text --- */
.text-center { text-align: center; }
.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-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.leading-relaxed { line-height: 1.75; }
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* --- Color Classes --- */
.text-heading { color: hsl(var(--heading)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-accent { color: hsl(var(--accent)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }
.text-success { color: hsl(var(--success)); }

.bg-background { background: hsl(var(--background)); }
.bg-card { background: hsl(var(--card)); }
.bg-muted { background: hsl(var(--muted)); }
.bg-primary { background: hsl(var(--primary)); }
.bg-accent { background: hsl(var(--accent)); }

/* --- Spacing --- */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-24 { padding-top: 6rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 5rem; }
.mt-20 { margin-top: 5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }

/* --- Borders --- */
.rounded-lg { border-radius: var(--radius); }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid hsl(var(--border)); }
.border-t { border-top: 1px solid hsl(var(--border)); }
.border-b { border-bottom: 1px solid hsl(var(--border)); }
.border-l-4 { border-left: 4px solid; }

/* --- Shadows --- */
.shadow-card { box-shadow: var(--shadow-card); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* =====================
   COMPONENT STYLES
   ===================== */

/* --- Navigation --- */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
}
.nav-header.scrolled,
.nav-header.solid {
  background: hsl(var(--background));
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.nav-logo svg { width: 1.5rem; height: 1.5rem; }
.nav-logo .logo-text { color: hsl(var(--primary-foreground)); }
.nav-header.scrolled .nav-logo .logo-text,
.nav-header.solid .nav-logo .logo-text { color: hsl(var(--heading)); }
.nav-header.scrolled .nav-logo svg,
.nav-header.solid .nav-logo svg { color: hsl(var(--primary)); }
.nav-logo svg { color: hsl(var(--primary-foreground)); }

.nav-links {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  color: hsl(var(--primary-foreground));
}
.nav-header.scrolled .nav-links a,
.nav-header.solid .nav-links a {
  color: hsl(var(--foreground));
}
.nav-links a:hover,
.nav-links a.active {
  color: hsl(var(--primary));
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  color: hsl(var(--primary-foreground));
  cursor: pointer;
}
.nav-header.scrolled .mobile-toggle,
.nav-header.solid .mobile-toggle {
  color: hsl(var(--foreground));
}
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}
.mobile-toggle svg { width: 1.5rem; height: 1.5rem; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  padding: 1rem 0;
  animation: fadeIn 0.3s ease;
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: hsl(var(--primary));
  background: hsl(var(--accent) / 0.1);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 1rem; height: 1rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }
.btn-icon {
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
}

/* Variants */
.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  background: transparent;
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover {
  background: hsl(var(--muted));
}

.btn-cta {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}
.btn-cta:hover { opacity: 0.9; }

.btn-hero {
  background: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
  font-weight: 600;
}
.btn-hero:hover { opacity: 0.9; }

.btn-hero-outline {
  background: transparent;
  border-color: hsl(var(--primary-foreground));
  color: hsl(var(--primary-foreground));
}
.btn-hero-outline:hover {
  background: hsl(var(--primary-foreground) / 0.1);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
  border: none;
}
.btn-ghost:hover { background: hsl(var(--muted)); }

/* --- Form Elements --- */
.input, .textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}
.input-lg { height: 3.5rem; font-size: 1.125rem; padding-left: 3rem; }
.input::placeholder, .textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

select {
  padding: 0.5rem 1rem;
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.875rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

/* --- Cards --- */
.card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.card-body { padding: 1.5rem; }

/* Destination Card */
.destination-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.destination-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.destination-card .card-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}
.destination-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.destination-card:hover .card-image img {
  transform: scale(1.1);
}
.destination-card .card-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
}
.destination-card .card-content {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.destination-card .card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.destination-card .card-meta svg { width: 1rem; height: 1rem; }
.destination-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.5rem;
}
.destination-card p {
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground) / 0.9);
  margin-bottom: 1rem;
}

/* Category Card */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.category-card .icon-wrap {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.2s;
}
.category-card:hover .icon-wrap {
  background: hsl(var(--primary) / 0.2);
}
.category-card .icon-wrap svg {
  width: 2rem; height: 2rem;
  color: hsl(var(--primary));
}
.category-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  transition: color 0.2s;
}
.category-card:hover h3 { color: hsl(var(--primary)); }

/* Article Card */
.article-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.article-card .card-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}
.article-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-card:hover .card-image img { transform: scale(1.1); }
.article-card .badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.article-card .card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.article-card:hover .card-body h3 { color: hsl(var(--primary)); }
.article-card .article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}
.article-meta span { display: flex; align-items: center; gap: 0.25rem; }
.article-meta svg { width: 0.75rem; height: 0.75rem; }

/* Deal Card */
.deal-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.deal-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.deal-card .card-image {
  height: 12rem;
  overflow: hidden;
}
.deal-card .card-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.deal-card .card-body h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

/* Service Card */
.service-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.service-card .icon-wrap {
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-card .icon-wrap svg { width: 1.75rem; height: 1.75rem; color: hsl(var(--primary)); }
.service-card h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.service-card .features { margin-bottom: 1.5rem; }
.service-card .features li {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0;
}
.service-card .features li svg { width: 0.75rem; height: 0.75rem; color: hsl(var(--accent)); flex-shrink: 0; }

/* Hotel Card */
.hotel-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hotel-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.hotel-card .card-image { height: 12rem; overflow: hidden; }
.hotel-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.hotel-card .stars { display: flex; align-items: center; gap: 0.125rem; margin-bottom: 0.5rem; }
.hotel-card .stars svg { width: 1rem; height: 1rem; }
.hotel-card .stars svg.filled { color: hsl(var(--accent)); fill: hsl(var(--accent)); }
.hotel-card .stars svg.empty { color: hsl(var(--muted)); }
.hotel-card .amenities { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.hotel-card .amenity-tag {
  font-size: 0.75rem;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}
.hotel-card .location { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.hotel-card .location svg { width: 0.75rem; height: 0.75rem; }

/* Continent Card (for Destinations page) */
.continent-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  height: 14rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.continent-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.continent-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.continent-card:hover img { transform: scale(1.1); }
.continent-card .card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.continent-card .card-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 1.5rem;
}
.continent-card h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.continent-card .card-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
}

/* --- Sections --- */
.section { padding: 4rem 0; }
.section-muted { background: hsl(var(--muted) / 0.2); }
.section-muted-strong { background: hsl(var(--muted) / 0.5); }
.section-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.section-accent-gradient { background: linear-gradient(to right, hsl(var(--accent) / 0.2), hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2)); }

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
@media (min-width: 768px) { .hero { height: 700px; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.hero-content h1 {
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.5rem;
}
.hero-content p {
  font-size: 1.25rem;
  color: hsl(var(--primary-foreground) / 0.9);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .hero-content p { font-size: 1.5rem; } }

/* Small hero for inner pages */
.hero-small {
  position: relative;
  height: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  margin-top: 4rem;
}
.hero-small .hero-overlay { background: rgba(0,0,0,0.5); }

/* Page Header */
.page-header {
  padding: 6rem 0 3rem;
  background: linear-gradient(to bottom, hsl(var(--muted) / 0.5), hsl(var(--background)));
}

/* Search Bar */
.search-bar {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
}
.search-bar .input { padding-left: 3rem; }
.search-bar svg {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 1.25rem; height: 1.25rem;
  color: hsl(var(--muted-foreground));
}

/* --- Trust Indicators --- */
.trust-bar {
  padding: 3rem 0;
  background: hsl(var(--muted) / 0.3);
  text-align: center;
}
.trust-stars { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.trust-stars svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent)); fill: hsl(var(--accent)); }

/* --- Footer --- */
.footer {
  background: hsl(var(--muted) / 0.5);
  border-top: 1px solid hsl(var(--border));
  margin-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer h4 {
  font-weight: 700;
  color: hsl(var(--heading));
  margin-bottom: 1rem;
}
.footer a {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer a:hover { color: hsl(var(--primary)); }
.footer ul li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.footer-links { display: flex; gap: 1rem; font-size: 0.875rem; }

.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: calc(var(--radius) - 2px);
  transition: background 0.2s;
}
.social-links a:hover { background: hsl(var(--muted)); }
.social-links svg { width: 1.25rem; height: 1.25rem; }

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  z-index: 40;
  transition: opacity 0.3s;
}
.back-to-top svg { width: 1.25rem; height: 1.25rem; }

/* --- Sticky Filter Bar --- */
.filter-bar {
  position: sticky;
  top: 4rem;
  z-index: 40;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem 0;
}

/* --- Resource Section --- */
.resource-group .resource-header {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem;
}
.resource-group .resource-icon {
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  display: flex; align-items: center; justify-content: center;
}
.resource-group .resource-icon svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); }
.resource-item {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resource-item:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.resource-item .feature-dot {
  width: 0.25rem; height: 0.25rem;
  border-radius: 9999px;
  background: hsl(var(--success));
  flex-shrink: 0;
}

/* --- Contact Info Card --- */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: hsl(var(--muted) / 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-info-card .icon-circle {
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card .icon-circle svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); }

/* Values Card */
.value-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.value-card .icon-wrap {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.value-card .icon-wrap svg { width: 2rem; height: 2rem; color: hsl(var(--primary)); }

/* --- Accordion / FAQ --- */
.accordion-item {
  border-bottom: 1px solid hsl(var(--border));
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 1rem 0;
  text-align: left;
  font-weight: 500;
  font-size: 1rem;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: color 0.2s;
}
.accordion-trigger:hover { color: hsl(var(--primary)); }
.accordion-trigger svg {
  width: 1rem; height: 1rem;
  transition: transform 0.2s;
}
.accordion-trigger.open svg { transform: rotate(180deg); }
.accordion-content {
  display: none;
  padding: 0 0 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
}
.accordion-content.open { display: block; }

/* --- Table --- */
.budget-table { width: 100%; font-size: 0.875rem; }
.budget-table td { padding: 0.5rem 0; }
.budget-table tr { border-bottom: 1px solid hsl(var(--border)); }
.budget-table .total td { font-weight: 700; }
.budget-table .total .price { color: hsl(var(--success)); }

/* Info box */
.info-box {
  background: hsl(var(--muted) / 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.info-box-accent {
  background: hsl(var(--accent) / 0.1);
  border-left: 4px solid hsl(var(--accent));
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* Sticky sidebar */
.sticky-sidebar {
  position: sticky;
  top: 6rem;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-slide-up { animation: slideUp 0.5s ease-out; }
.animate-spin-slow { animation: spin 3s linear infinite; }

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-accent {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

/* --- 404 Page --- */
.not-found-icon {
  width: 6rem; height: 6rem;
  border-radius: 9999px;
  background: hsl(var(--accent) / 0.1);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
}
.not-found-icon svg { width: 3rem; height: 3rem; color: hsl(var(--accent)); }
.not-found h1 { font-size: 6rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .not-found h1 { font-size: 8rem; } }

/* --- Popover Toast (simple) --- */
.toast-container {
  position: fixed;
  top: 5rem;
  right: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  animation: slideUp 0.3s ease-out;
  max-width: 24rem;
}
.toast.destructive {
  border-color: hsl(var(--destructive));
  color: hsl(var(--destructive));
}

/* --- 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;
}
.hidden { display: none; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.divide-y > * + * { border-top: 1px solid hsl(var(--border)); }
