/* ==========================================================================
   DESERT GLASS THEME — Next Layer Hub
   Palette: Sun-bleached Cream, Terracotta, Dusty Orange, Muted Teal, Dark Brown
   Architectural wide typography, frosted translucent glass, optical refraction
   ========================================================================== */

:root {
  --color-sand-50: #faf6f0;
  --color-sand-100: #f7f2ea;
  --color-sand-200: #ece3d4;
  --color-sand-300: #dfd2be;
  --color-sand-400: #cbb99e;

  --color-earth-900: #19120e;
  --color-earth-850: #1f1612;
  --color-earth-800: #2c1f1a;
  --color-earth-700: #3a2a24;
  --color-earth-600: #543e35;

  --color-terracotta-500: #c85a32;
  --color-terracotta-600: #b84c24;
  --color-terracotta-400: #d96b3f;

  --color-orange-500: #d97736;
  --color-orange-400: #e08244;
  --color-orange-300: #eb9559;

  --color-teal-700: #284d4e;
  --color-teal-600: #386667;
  --color-teal-500: #4a7c7d;
  --color-teal-400: #5e9596;
  --color-teal-300: #82b2b3;

  /* Glass Tokens */
  --glass-bg-primary: rgba(44, 31, 26, 0.72);
  --glass-bg-surface: rgba(44, 31, 26, 0.55);
  --glass-bg-card: rgba(44, 31, 26, 0.65);
  --glass-bg-light: rgba(247, 242, 234, 0.08);
  --glass-border: rgba(247, 242, 234, 0.14);
  --glass-border-strong: rgba(217, 119, 54, 0.35);
  --glass-border-teal: rgba(74, 124, 125, 0.4);
  --glass-shadow: 0 16px 36px -8px rgba(16, 11, 8, 0.5), 0 0 0 1px rgba(247, 242, 234, 0.08);
  --glass-shadow-lg: 0 24px 48px -12px rgba(16, 11, 8, 0.65), 0 0 0 1px rgba(217, 119, 54, 0.2);
  --glass-blur: blur(14px);

  /* Typography */
  --font-family-display: 'Syne', 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --max-width: 1240px;
  --header-height: 84px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-sand-100);
  background-color: var(--color-earth-900);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-earth-900);
  background-image: 
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(200, 90, 50, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 40%, rgba(74, 124, 125, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 75%, rgba(217, 119, 54, 0.12), transparent 70%),
    linear-gradient(180deg, var(--color-earth-900) 0%, var(--color-earth-850) 100%);
  background-attachment: fixed;
  color: var(--color-sand-100);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-orange-400);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}

a:hover {
  color: var(--color-sand-50);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-sand-50);
  line-height: 1.22;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

p {
  color: var(--color-sand-200);
  margin-bottom: 1.25rem;
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-sand-100);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }
}

/* Eyebrow & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange-400);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(217, 119, 54, 0.12);
  border: 1px solid rgba(217, 119, 54, 0.28);
  border-radius: var(--radius-full);
  backdrop-filter: var(--glass-blur);
}

.badge-teal {
  color: var(--color-teal-300);
  background: rgba(74, 124, 125, 0.16);
  border-color: rgba(74, 124, 125, 0.35);
}

.badge-terracotta {
  color: var(--color-sand-50);
  background: rgba(200, 90, 50, 0.25);
  border-color: rgba(200, 90, 50, 0.45);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(25, 18, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-sand-50);
  font-family: var(--font-family-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-logo svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 8px rgba(217, 119, 54, 0.4));
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-orange-400);
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-family-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-sand-200);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-sand-50);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange-400), var(--color-terracotta-500));
  transition: width 0.25s ease;
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  color: var(--color-sand-100);
  cursor: pointer;
  backdrop-filter: var(--glass-blur);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: rgba(25, 18, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-sand-100);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(247, 242, 234, 0.08);
}

.mobile-menu a.active {
  color: var(--color-orange-400);
}

@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* Buttons — Desert Glass optical heat shimmer */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-family-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange-400) 0%, var(--color-terracotta-500) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(200, 90, 50, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(200, 90, 50, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, var(--color-orange-300) 0%, var(--color-terracotta-400) 100%);
}

.btn-secondary {
  background: var(--glass-bg-light);
  color: var(--color-sand-50);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--color-sand-50);
  background: rgba(247, 242, 234, 0.14);
  border-color: var(--color-orange-400);
}

.btn-teal {
  background: linear-gradient(135deg, var(--color-teal-500) 0%, var(--color-teal-700) 100%);
  color: #ffffff;
  border-color: rgba(130, 178, 179, 0.3);
  box-shadow: 0 4px 16px rgba(40, 77, 78, 0.4);
}

.btn-teal:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-teal-400) 0%, var(--color-teal-600) 100%);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1rem;
}

/* Glass Cards & Surfaces */
.glass-card {
  background: var(--glass-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 242, 234, 0.35), transparent);
}

.glass-card:hover {
  border-color: rgba(217, 119, 54, 0.38);
  box-shadow: var(--glass-shadow-lg);
}

.glass-card-interactive:hover {
  transform: translateY(-4px);
}

.glass-panel {
  background: var(--glass-bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow-lg);
}

@media (max-width: 768px) {
  .glass-card {
    padding: 1.5rem;
  }
  .glass-panel {
    padding: 1.75rem;
  }
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Hero Section (Asymmetrical Desert Glass Architecture) */
.hero-section {
  padding-top: 4rem;
  padding-bottom: 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, var(--color-orange-400), var(--color-sand-50));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--color-sand-200);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.hero-fact-item {
  display: flex;
  flex-direction: column;
}

.hero-fact-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-sand-400);
}

.hero-fact-val {
  font-family: var(--font-family-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-sand-50);
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--glass-border-strong);
}

.hero-visual-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  background: linear-gradient(0deg, rgba(25, 18, 14, 0.95) 0%, rgba(25, 18, 14, 0.6) 60%, transparent 100%);
  backdrop-filter: blur(8px);
}

.hero-visual-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-sand-50);
  margin-bottom: 0.35rem;
}

.hero-visual-sub {
  font-size: 0.85rem;
  color: var(--color-orange-400);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual-card img {
    height: 360px;
  }
}

/* Service Cards */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-image-wrap {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.service-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-image-wrap img {
  transform: scale(1.05);
}

.service-badge-pos {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-sand-50);
}

.service-card-summary {
  font-size: 0.95rem;
  color: var(--color-sand-200);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-meta-list {
  list-style: none;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.86rem;
}

.service-meta-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--color-sand-300);
}

.service-meta-item strong {
  color: var(--color-sand-100);
}

/* Detailed Flagship Showcase */
.flagship-showcase {
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(200, 90, 50, 0.16), transparent 80%), var(--glass-bg-surface);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--glass-shadow-lg);
  backdrop-filter: var(--glass-blur);
}

@media (max-width: 768px) {
  .flagship-showcase {
    padding: 2rem 1.5rem;
  }
}

/* Feature/Value Cards */
.pillar-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 54, 0.18);
  border: 1px solid rgba(217, 119, 54, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange-400);
  margin-bottom: 1.25rem;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--color-sand-200);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: var(--color-orange-400);
  margin-bottom: 1rem;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-sand-100);
  margin-bottom: 1.5rem;
  font-style: normal;
  position: relative;
}

.testimonial-author-block {
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.testimonial-author-name {
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-sand-50);
}

.testimonial-author-sub {
  font-size: 0.82rem;
  color: var(--color-sand-400);
}

.testimonial-reservation-tag {
  margin-top: 0.75rem;
  padding: 0.45rem 0.75rem;
  background: rgba(74, 124, 125, 0.15);
  border-left: 3px solid var(--color-teal-500);
  font-size: 0.8rem;
  color: var(--color-sand-200);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Blog & Article Cards */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-thumb {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--color-sand-400);
  margin-bottom: 0.75rem;
}

.blog-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-orange-400);
}

.blog-card-title {
  font-size: 1.22rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card-title a {
  color: var(--color-sand-50);
}

.blog-card-title a:hover {
  color: var(--color-orange-400);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--color-sand-300);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-family-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-sand-100);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(25, 18, 14, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-sand-50);
  font-family: var(--font-family-body);
  font-size: 0.95rem;
  backdrop-filter: var(--glass-blur);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-orange-400);
  box-shadow: 0 0 0 3px rgba(217, 119, 54, 0.25);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-sand-400);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #e55353;
  box-shadow: 0 0 0 3px rgba(229, 83, 83, 0.2);
}

.error-message {
  display: none;
  font-size: 0.82rem;
  color: #f77f7f;
  margin-top: 0.4rem;
}

.error-message.is-visible {
  display: block;
}

.form-feedback-alert {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-feedback-alert.success {
  display: block;
  background: rgba(74, 124, 125, 0.25);
  border: 1px solid var(--color-teal-400);
  color: var(--color-sand-50);
}

.form-feedback-alert.error {
  display: block;
  background: rgba(200, 90, 50, 0.25);
  border: 1px solid var(--color-terracotta-500);
  color: #ffd8d0;
}

/* Tables (Pricing & Cookies) */
.glass-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-surface);
  backdrop-filter: var(--glass-blur);
  margin-bottom: 2rem;
}

.glass-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.glass-table th {
  font-family: var(--font-family-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.15rem 1.5rem;
  background: rgba(25, 18, 14, 0.8);
  color: var(--color-sand-300);
  border-bottom: 1px solid var(--glass-border);
}

.glass-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid rgba(247, 242, 234, 0.06);
  color: var(--color-sand-200);
}

.glass-table tr:last-child td {
  border-bottom: none;
}

.glass-table tr:hover td {
  background: rgba(247, 242, 234, 0.03);
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--glass-bg-surface);
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-family-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-sand-50);
  cursor: pointer;
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--color-orange-400);
  flex-shrink: 0;
}

.faq-item.is-open .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--color-sand-200);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-body {
  max-height: 400px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Cookie Consent Banner Island */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: min(92%, 760px);
  z-index: 999;
  background: rgba(31, 22, 18, 0.92);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(217, 119, 54, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--color-sand-200);
  line-height: 1.55;
}

.cookie-text strong {
  color: var(--color-sand-50);
}

.cookie-text a {
  color: var(--color-orange-400);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Footer (Shared Chrome) */
.site-footer {
  margin-top: auto;
  background: var(--color-earth-850);
  border-top: 1px solid var(--glass-border);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-p {
  font-size: 0.9rem;
  color: var(--color-sand-300);
  line-height: 1.65;
  margin-top: 1rem;
}

.footer-heading {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-sand-50);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--color-sand-300);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-orange-400);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: var(--color-sand-300);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange-400);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(247, 242, 234, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--color-sand-400);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--color-sand-400);
}

.footer-legal-links a:hover {
  color: var(--color-sand-100);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Article / Long-Form Reading Layout */
.prose {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-sand-100);
}

.prose h2 {
  font-size: 1.85rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-sand-50);
}

.prose h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  color: var(--color-sand-50);
}

.prose p {
  margin-bottom: 1.5rem;
  color: var(--color-sand-200);
}

.prose ul, .prose ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: var(--color-sand-200);
}

.prose strong {
  color: var(--color-sand-50);
}

.prose-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 2.5rem;
  border: 1px solid var(--glass-border);
}

/* Syllabus & Timeline Component */
.timeline-list {
  list-style: none;
  position: relative;
  padding-left: 2rem;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-orange-400), var(--color-teal-500), rgba(247, 242, 234, 0.1));
}

.timeline-step {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-earth-900);
  border: 3px solid var(--color-orange-400);
  box-shadow: 0 0 10px rgba(217, 119, 54, 0.5);
}

.timeline-step-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-step-body {
  font-size: 0.95rem;
  color: var(--color-sand-200);
  line-height: 1.65;
}
