/* ============================================
   lebeninnordzypern.com - Premium Investment
   ============================================ */

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

/* ---- CSS Variables ---- */
:root {
  --navy: #1B3A5C;
  --navy-dark: #0f2340;
  --navy-light: #2a5080;
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-pale: #F5EDD8;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --green: #16A34A;
  --green-light: #DCFCE7;
  --red: #DC2626;
  --red-light: #FEE2E2;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(27,58,92,0.10);
  --shadow-lg: 0 12px 40px rgba(27,58,92,0.15);
  --shadow-xl: 0 24px 64px rgba(27,58,92,0.20);

  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.25s ease;
  --max-width: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--gray-600); line-height: 1.75; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo .logo-icon svg { color: var(--gold); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--navy);
  background: var(--gray-100);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,0.88) 0%, rgba(15,35,64,0.75) 50%, rgba(27,58,92,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold-light); }
.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Simulator Card (Hero) ---- */
.hero-simulator {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  max-width: 420px;
  width: 100%;
}
.hero-simulator h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.hero-simulator .sim-subtitle {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.sim-field { margin-bottom: 20px; }
.sim-field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.sim-field label span {
  color: var(--gold);
  font-weight: 700;
}
input[type="range"] {
  width: 100%;
  height: 4px;
  appearance: none;
  background: var(--gray-200);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--navy);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(27,58,92,0.3);
}
.sim-result {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}
.sim-result .result-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.sim-result .result-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
}
.sim-result .result-detail {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.sim-cta {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: center;
}

/* ---- Section Headers ---- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-desc {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
}
.section-header { margin-bottom: 56px; }
.text-center { text-align: center; }
.section-header.text-center .section-desc { margin: 0 auto; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.card p { font-size: 0.95rem; }

/* ---- Stats Grid ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  text-align: center;
}
.stat-card .stat-value {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card .stat-value.gold { color: var(--gold); }
.stat-card .stat-value.green { color: var(--green); }
.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}
.stat-card .stat-source {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-top: 6px;
}

/* ---- Table ---- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.data-table th:first-child { border-radius: 8px 0 0 0; }
.data-table th:last-child { border-radius: 0 8px 0 0; }
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.data-table tr:hover td { background: var(--off-white); }
.data-table .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-green { background: var(--green-light); color: var(--green); }
.badge-red { background: var(--red-light); color: var(--red); }
.badge-gold { background: var(--gold-pale); color: #8B6914; }
.badge-navy { background: #EEF2F7; color: var(--navy); }

/* ---- Comparatif Table ---- */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comp-table th {
  padding: 20px 16px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1rem;
}
.comp-table th.th-feature {
  background: var(--navy-dark);
  color: var(--white);
  text-align: left;
  width: 30%;
}
.comp-table th.th-winner {
  background: var(--gold);
  color: var(--navy-dark);
}
.comp-table th.th-other {
  background: var(--gray-100);
  color: var(--gray-600);
}
.comp-table td {
  padding: 16px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-600);
  text-align: center;
}
.comp-table td:first-child { text-align: left; font-weight: 600; color: var(--navy); }
.comp-table tr:hover td { background: var(--off-white); }
.check { color: var(--green); font-size: 1.1rem; }
.cross { color: var(--red); font-size: 1.1rem; }
.neutral { color: var(--gray-400); font-size: 1rem; }

/* ---- Simulator Page ---- */
.simulator-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.sim-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.sim-tab {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  transition: all var(--transition);
}
.sim-tab.active, .sim-tab:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.sim-inputs { display: flex; flex-direction: column; gap: 28px; }
.sim-input-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.sim-input-group label .value-badge {
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.sim-output {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--white);
  position: sticky;
  top: 100px;
}
.sim-output h3 {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  font-family: var(--font-sans);
  font-weight: 500;
}
.output-metric {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.output-metric:last-child { border-bottom: none; margin-bottom: 0; }
.output-metric .metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.output-metric .metric-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}
.output-metric .metric-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  transition: background var(--transition);
  font-size: 0.95rem;
}
.faq-question:hover { background: var(--off-white); }
.faq-question.open { background: var(--gold-pale); }
.faq-icon { transition: transform var(--transition); flex-shrink: 0; margin-left: 12px; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  background: var(--off-white);
}
.faq-answer.open {
  padding: 20px 24px;
  max-height: 400px;
}
.faq-answer p { font-size: 0.95rem; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 500px; margin: 0 auto 32px; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Features List ---- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-text h4 { color: var(--navy); margin-bottom: 4px; font-size: 0.95rem; }
.feature-text p { font-size: 0.9rem; }

/* ---- Grid Layouts ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

/* ---- Image Sections ---- */
.img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.img-tall { height: 500px; }
.img-medium { height: 380px; }

/* ---- API Data Widgets ---- */
.api-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.api-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.api-widget-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
}
.api-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 10px;
  border-radius: 100px;
}
.api-live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.api-loading { text-align: center; padding: 20px; color: var(--gray-400); font-size: 0.9rem; }
.api-error { color: var(--gray-400); font-size: 0.85rem; font-style: italic; }

/* ---- Trend Bar ---- */
.trend-bar-wrapper { margin-bottom: 12px; }
.trend-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--gray-800);
}
.trend-bar-track {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}
.trend-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transition: width 1.2s ease;
}

/* ---- Sticky Footer CTA ---- */
#sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(27,58,92,0.25);
}
#sticky-footer.visible { transform: translateY(0); }
.sticky-footer-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.sticky-footer-text .sf-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}
.sticky-footer-text p { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 0; }
.sticky-footer-text strong { color: var(--white); }
.sf-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
  flex-shrink: 0;
}
.sf-close:hover { color: var(--white); }
.sf-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }

/* ---- Exit Popup ---- */
#exit-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#exit-popup.show { display: flex; }
.exit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,35,64,0.7);
  backdrop-filter: blur(4px);
}
.exit-modal {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.exit-modal .exit-badge {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.exit-modal h2 { color: var(--navy); font-size: 1.8rem; margin-bottom: 12px; }
.exit-modal p { font-size: 0.95rem; margin-bottom: 28px; }
.exit-modal .exit-actions { display: flex; flex-direction: column; gap: 12px; }
.exit-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: 8px;
  transition: color var(--transition);
  font-size: 1.2rem;
}
.exit-close:hover { color: var(--navy); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero .breadcrumb span { color: var(--gold-light); }
.page-hero h1 { color: var(--white); }
.page-hero .hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 16px;
}

/* ---- Gem Cards ---- */
.gem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.gem-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold);
}
.gem-card img { width: 100%; height: 220px; object-fit: cover; }
.gem-card-body { padding: 24px; }
.gem-card-body h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.1rem; }
.gem-card-body p { font-size: 0.9rem; margin-bottom: 16px; }
.gem-stats { display: flex; gap: 16px; }
.gem-stat { text-align: center; }
.gem-stat .gs-value { font-size: 1.1rem; font-weight: 700; color: var(--gold); font-family: var(--font-serif); }
.gem-stat .gs-label { font-size: 0.72rem; color: var(--gray-400); text-transform: uppercase; }

/* ---- Contact / Tally ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { color: var(--navy); margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; color: var(--navy); font-size: 0.9rem; }
.contact-detail-text span { font-size: 0.9rem; color: var(--gray-600); }
.tally-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding-bottom: 100px;
}
.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }

/* ---- Scroll Reveal ---- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Utility ---- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.bg-gold { background: var(--gold); }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.divider { height: 1px; background: var(--gray-200); margin: 48px 0; }
.tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sim-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-lg { padding: 80px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-simulator { max-width: 100%; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
  .cta-banner { padding: 40px 24px; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .simulator-wrapper { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sf-actions .btn { padding: 10px 16px; font-size: 0.82rem; }
  .sticky-footer-text p span.sf-hide { display: none; }
  .exit-modal { padding: 32px 24px; }
  .page-hero { padding: 120px 0 60px; }
  .data-table { font-size: 0.82rem; }
  .data-table th, .data-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .hero-stat-value { font-size: 1.6rem; }
}