/* ==========================================================================
   NEURON BRIDGE POINT - DESERT GLASS DESIGN SYSTEM
   Atmosphere: Heat, Solitude, Ancient Landscapes, Surreal Stillness
   ========================================================================== */

:root {
  /* Color Palette - Desert Glass */
  --bg-dark: #160E0C;
  --bg-surface: #201512;
  --bg-surface-elevated: #2B1D19;
  --bg-card: rgba(43, 29, 25, 0.72);
  --bg-glass: rgba(245, 235, 225, 0.04);
  --bg-glass-hover: rgba(245, 235, 225, 0.08);

  --text-primary: #FBF6EE;
  --text-secondary: #D4C3B3;
  --text-muted: #9E8C7F;
  --text-inverse: #160E0C;

  --terracotta: #C86D51;
  --terracotta-dark: #A85137;
  --terracotta-light: #DE866C;
  
  --dusty-orange: #E08E45;
  --dusty-orange-glow: rgba(224, 142, 69, 0.35);

  --muted-teal: #3D7068;
  --muted-teal-light: #529288;
  --muted-teal-glow: rgba(61, 112, 104, 0.3);

  --sun-cream: #F5EBE1;
  --sun-cream-dim: rgba(245, 235, 225, 0.15);

  --border-glass: rgba(245, 235, 225, 0.12);
  --border-glass-glow: rgba(200, 109, 81, 0.3);
  --border-teal: rgba(61, 112, 104, 0.4);

  /* Typography */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Geometry & Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-glass: 28px 18px 30px 16px; /* Organic wind-shaped glass contour */
  --radius-pill: 9999px;

  --shadow-glass: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(245, 235, 225, 0.1) inset;
  --shadow-warm-glow: 0 20px 40px -15px rgba(200, 109, 81, 0.3);
  --shadow-teal-glow: 0 20px 40px -15px rgba(61, 112, 104, 0.3);

  --container-max: 1200px;
  --header-height: 84px;
}

/* --------------------------------------------------------------------------
   Reset & Baseline
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(200, 109, 81, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 15% 65%, rgba(61, 112, 104, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(224, 142, 69, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #180F0D 0%, #130B0A 100%);
  background-attachment: fixed;
}

/* Subtle Dune / Heat Haze Background Grain */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(rgba(245, 235, 225, 0.02) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--dusty-orange);
  margin-bottom: 0.85rem;
}

.eyebrow-teal {
  color: var(--muted-teal-light);
}

.lead-text {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   Layout & Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 880px;
}

.main-content {
  flex: 1 0 auto;
  padding-top: var(--header-height);
  position: relative;
  z-index: 1;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-hero {
  padding: 4.5rem 0 5.5rem 0;
}

.section-compact {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .lead-text {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Desert Glass Elements & Cards
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  padding: 2.25rem;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 235, 225, 0.35), transparent);
  opacity: 0.8;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-glass), var(--shadow-warm-glow);
}

.glass-card-organic {
  border-radius: var(--radius-glass);
}

.glass-card-teal:hover {
  border-color: var(--border-teal);
  box-shadow: var(--shadow-glass), var(--shadow-teal-glow);
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 235, 225, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Buttons with Desert Heat Haze Shimmer Effect
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
  transform: scale(1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: var(--text-primary);
  box-shadow: 0 8px 24px -6px rgba(200, 109, 81, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta) 100%);
  box-shadow: 0 12px 30px -4px rgba(200, 109, 81, 0.65), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  background: rgba(245, 235, 225, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(245, 235, 225, 0.16);
  border-color: rgba(245, 235, 225, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-teal {
  background: linear-gradient(135deg, var(--muted-teal) 0%, #294D48 100%);
  color: var(--text-primary);
  box-shadow: 0 8px 24px -6px rgba(61, 112, 104, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-teal:hover {
  background: linear-gradient(135deg, var(--muted-teal-light) 0%, var(--muted-teal) 100%);
  box-shadow: 0 12px 30px -4px rgba(61, 112, 104, 0.65);
  transform: translateY(-2px) scale(1.02);
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  background: rgba(22, 14, 12, 0.75);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-glass);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.site-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dusty-orange), var(--terracotta));
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(200, 109, 81, 0.4);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link[aria-current="page"]::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-glass);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass), var(--shadow-warm-glow);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: rgba(32, 21, 18, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass-glow);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  max-width: 260px;
}

.hero-floating-badge .badge-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.hero-floating-badge .badge-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   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;
}

/* --------------------------------------------------------------------------
   Service Cards & Offer Display
   -------------------------------------------------------------------------- */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-media {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-glass);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--dusty-orange);
}

.service-card-body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  margin-bottom: 0.5rem;
}

.service-card-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex: 1 0 auto;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-glass);
  margin-top: auto;
}

.service-price-tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.05rem;
}

/* Flagship Banner / Highlight */
.flagship-banner {
  background: linear-gradient(135deg, rgba(200, 109, 81, 0.15), rgba(43, 29, 25, 0.85));
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Curriculum / Syllabus Accordion or Timeline
   -------------------------------------------------------------------------- */
.curriculum-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.curriculum-item {
  background: rgba(32, 21, 18, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.curriculum-item:hover {
  border-color: var(--border-glass-glow);
}

.curriculum-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.curriculum-week {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--dusty-orange);
  background: rgba(224, 142, 69, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.curriculum-title {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0;
}

.curriculum-topics {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.curriculum-topics li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.curriculum-topics li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-size: 0.75rem;
  top: 0.2rem;
}

/* --------------------------------------------------------------------------
   Pricing Cards
   -------------------------------------------------------------------------- */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.popular {
  border-color: var(--border-glass-glow);
  background: linear-gradient(180deg, rgba(200, 109, 81, 0.12) 0%, rgba(43, 29, 25, 0.85) 100%);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--terracotta);
  color: #FFFFFF;
}

.pricing-price {
  margin: 1.5rem 0 1rem 0;
}

.pricing-thb {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-usd {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.pricing-features {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 0 auto;
}

.pricing-features li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--muted-teal-light);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   Testimonials & Review Cards
   -------------------------------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-stars {
  color: var(--dusty-orange);
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
}

.testimonial-headline {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1 0 auto;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-glass);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-glass-glow);
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

/* --------------------------------------------------------------------------
   Blog / Journal Cards & Single Post
   -------------------------------------------------------------------------- */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-media {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-glass);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.blog-meta-category {
  color: var(--dusty-orange);
  font-weight: 600;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex: 1 0 auto;
}

.post-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
}

.post-body h2 {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}

.post-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body ul, .post-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.post-body li {
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Forms & Contact Island
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(22, 14, 12, 0.65);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 109, 81, 0.25);
}

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

.form-error-msg {
  display: none;
  color: #FF7B72;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.form-group.has-error .form-control {
  border-color: #FF7B72;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-alert {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
}

.form-alert.is-success {
  display: block;
  background: rgba(61, 112, 104, 0.25);
  border: 1px solid var(--muted-teal-light);
  color: var(--text-primary);
}

.form-alert.is-error {
  display: block;
  background: rgba(200, 80, 80, 0.2);
  border: 1px solid #FF7B72;
  color: #FFD2CF;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #110A09;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2.5rem 0;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 235, 225, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   Cookie Consent Banner (Desert Glass Island)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 580px;
  background: rgba(32, 21, 18, 0.94);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(245, 235, 225, 0.1) inset;
  padding: 1.75rem;
  z-index: 999;
  display: none;
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-content h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cookie-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

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

/* --------------------------------------------------------------------------
   Tables for Legal & Cookies
   -------------------------------------------------------------------------- */
.data-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-glass);
}

.data-table th {
  background: rgba(245, 235, 225, 0.05);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.data-table tr:hover td {
  background: rgba(245, 235, 225, 0.02);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid, .flagship-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(22, 14, 12, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    align-items: flex-start;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.25rem;
  }
}
