@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   1. DESIGN SYSTEM VARIABLES (ELITE SERENITY INFRA)
   ========================================== */
:root {
  /* Brand Palette */
  --primary: #033622;              /* Deep Emerald Green (RGB: 3, 54, 34) */
  --primary-hover: #022416;
  --primary-deep: #01180e;
  --primary-light: #f2f7f4;        /* Soft emerald tint */
  --primary-surface: #e5efe9;
  --primary-glow: rgba(3, 54, 34, 0.12);

  --accent: #C4922B;               /* Classic Metallic Gold (RGB: 196, 146, 43) */
  --accent-hover: #ad7d1e;
  --accent-light: #fcf8ee;
  --accent-surface: #f7eed8;
  --accent-glow: rgba(196, 146, 43, 0.22);

  /* Neutrals & Surfaces */
  --bg-base: #f8faf9;              /* Refined architectural off-white */
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #022014;              /* Deep Luxury Emerald for Footer & Dark Bars */
  --bg-dark-card: #042e1d;
  --bg-dark-border: rgba(196, 146, 43, 0.22);

  --text-primary: #0a1f15;         /* Deep emerald slate */
  --text-secondary: #485c52;       /* Refined slate green */
  --text-muted: #859a8f;          /* Gentle helper text */
  --text-white: #ffffff;

  --border-color: #e5ece7;
  --border-color-dark: #d0ded4;
  --border-gold: rgba(196, 146, 43, 0.35);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(3, 54, 34, 0.04), 0 1px 2px rgba(3, 54, 34, 0.02);
  --shadow-md: 0 4px 10px -1px rgba(3, 54, 34, 0.06), 0 2px 4px -2px rgba(3, 54, 34, 0.03);
  --shadow-lg: 0 12px 28px -4px rgba(3, 54, 34, 0.08), 0 4px 10px -4px rgba(3, 54, 34, 0.03);
  --shadow-xl: 0 25px 50px -12px rgba(3, 54, 34, 0.12);
  --shadow-gold: 0 8px 24px -2px rgba(196, 146, 43, 0.28);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[id] {
  scroll-margin-top: 115px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

ul {
  list-style: none;
}

/* ==========================================
   3. UNIFIED CONTAINER & LAYOUT SYSTEM
   (Expansive Luxury Layout for Header, Footer & Sections)
   ========================================== */
.container,
.container-wide {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.8vw, 42px);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-sm {
  padding: 60px 0;
}

.section-bg {
  background-color: var(--bg-surface);
}

.section-tint {
  background-color: var(--primary-light);
}

.section-dark {
  background-color: var(--bg-dark);
  color: #f1f5f9;
}

/* ==========================================
   4. TYPOGRAPHY & HEADINGS
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
}

.heading-lg {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.heading-md {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 700;
}

.heading-sm {
  font-size: 1.25rem;
  font-weight: 700;
}

.gold-gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #deb04e 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.emerald-gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #08613e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-tag-gold {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(196, 146, 43, 0.35);
}

.badge-tag-emerald {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(3, 54, 34, 0.18);
}

/* ==========================================
   5. BUTTONS & PILL CONTROLS
   ========================================== */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.975rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-pill-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 54, 34, 0.22);
}

.btn-pill-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #d3a035 0%, var(--accent) 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.975rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-gold);
}

.btn-pill-gold:hover {
  background: linear-gradient(135deg, #e0ad42 0%, #b38221 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 146, 43, 0.4);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color-dark);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pill-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-pill-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.975rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pill-white:hover {
  background: var(--accent-light);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   6. CARDS & ARCHITECTURAL ELEMENTS
   ========================================== */
.card-clean {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.card-clean:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ==========================================
   7. RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .section {
    padding: 70px 0;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
