﻿/* ============================================================
  PyCMS  Financial Consulting Design System v6
  Theme  : Warm Ivory  Deep Navy  Classic Gold
  Fonts  : Cormorant Garamond (display)  Inter (body)
  Inspired by: Stripe (getdesign.md/stripe/design-md)
  Adapted for: Premium Financial Consulting Industry
  Principles : Institutional trust  Editorial precision  Timeless authority
  ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Design Tokens --------------------------------------- */
:root {
  /* Surfaces: warm ivory paper feel */
  --bg-base:      #F9F7F3;
  --bg-surface:   #F2EDE5;
  --bg-card:      #FFFFFF;
  --bg-hover:     #EDE7DD;

  /* Dark anchor: deep midnight navy */
  --bg-dark:      #0C1E3D;
  --bg-dark-2:    #122548;

  /* Text hierarchy */
  --text-primary:   #0C1E3D;
  --text-secondary: #4D5E7A;
  --text-muted:     #8494AD;

  /* Gold: primary accent */
  --gold:       #B8902A;
  --gold-light: #D4A93A;
  --gold-pale:  #EDD87A;
  --gold-dim:   rgba(184, 144, 42, 0.10);
  --gold-line:  rgba(184, 144, 42, 0.22);

  /* Structural navy */
  --navy-strong: #0C1E3D;
  --navy-soft:   #1A3560;

  /* Borders */
  --border:        #E2DDD8;
  --border-strong: #C9C2B8;
  --border-gold:   rgba(184, 144, 42, 0.28);

  /* Legacy aliases used by inline PHP styles */
  --teal:        var(--gold);
  --teal-light:  var(--gold-light);
  --teal-dim:    var(--gold-dim);
  --teal-line:   var(--gold-line);
  --border-teal: var(--border-gold);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', 'Arial', sans-serif;

  /* Spacing scale */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  48px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Decoration */
  --radius:       4px;
  --radius-lg:    8px;
  --shadow-sm:    0 1px 4px rgba(12,30,61,0.06), 0 2px 12px rgba(12,30,61,0.04);
  --shadow-md:    0 4px 20px rgba(12,30,61,0.10), 0 1px 4px rgba(12,30,61,0.06);
  --shadow-card:  0 1px 3px rgba(12,30,61,0.07), 0 6px 24px rgba(12,30,61,0.06);
  --shadow-glow:  0 0 32px rgba(184,144,42,0.22);
  --nav-h:        72px;
}

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy-strong); }

/* ---- Typography ------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3.0rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.005em; }
p + p { margin-top: 1em; }
.text-teal    { color: var(--gold); }
.text-muted   { color: var(--text-secondary); }
.text-center  { text-align: center; }

/* ---- Layout ---------------------------------------------- */
.container  { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: var(--space-3xl) 0; }
.section--sm { padding: var(--space-2xl) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding: 5px 12px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
}
.section-label::before { display: none; }
.section-title    { margin-bottom: 20px; }
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.8;
  font-weight: 400;
}

/* ---- Navigation ------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(249, 247, 243, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(12,30,61,0.08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo  { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__logo-img { height: 68px; width: auto; display: block; }
.nav__logo em { font-style: italic; color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__links a {
  display: block;
  padding: 8px 13px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 13px; right: 13px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:hover,
.nav__links a.active { color: var(--navy-strong); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__lang { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.nav__lang a {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  padding: 5px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
}
.nav__lang a:hover,
.nav__lang a.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.nav__toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--text-secondary); transition: transform 0.25s, opacity 0.25s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Hero Slider ----------------------------------------- */
.slider {
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--bg-dark);
}

.slider__progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  z-index: 30;
  will-change: width;
}

.slider__track {
  display: flex;
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.45, 0, 0.05, 1);
}

.slider__slide {
  flex: 0 0 100%;
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.slider__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.65) contrast(1.1);
  z-index: 0;
  transition: filter 0.6s ease;
}

/* Warm dark overlay from left side */
.slider__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(12, 30, 61, 0.90) 0%,
    rgba(12, 30, 61, 0.62) 40%,
    rgba(12, 30, 61, 0.14) 72%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Vertical gold rule at container left edge */
.slider__slide::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: max(28px, calc((100vw - 1180px) / 2));
  width: 1px;
  background: linear-gradient(180deg, transparent 4%, rgba(184,144,42,0.30) 22%, rgba(184,144,42,0.30) 78%, transparent 96%);
  z-index: 2;
  pointer-events: none;
}

.slider__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 72px 0 96px;
}
.slider__inner { max-width: 620px; }

.slider__label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.slider__label::before {
  content: '';
  display: block;
  width: 26px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.slider__title {
  font-family: var(--font-display);
  font-size: clamp(2.0rem, 4.0vw, 3.4rem);
  font-weight: 600;
  color: #F6F1E8;
  text-shadow: 0 2px 16px rgba(8,16,34,0.5);
  line-height: 1.18;
  margin-bottom: 20px;
}

.slider__desc {
  font-size: 0.9375rem;
  color: rgba(235, 228, 212, 0.82);
  line-height: 1.80;
  margin-bottom: 30px;
  max-width: 480px;
  font-weight: 300;
}

.slider__stats {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.slider__stat {
  background: rgba(12, 30, 61, 0.55);
  border: 1px solid rgba(246, 241, 232, 0.20);
  border-radius: var(--radius);
  padding: 11px 18px;
  text-align: center;
  min-width: 76px;
  backdrop-filter: blur(8px);
}
.slider__stat-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.slider__stat-lbl {
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(200, 192, 175, 0.80);
  white-space: nowrap;
}

.slider__nav {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}
.slider__dot {
  height: 4px; width: 4px;
  border-radius: 2px;
  background: rgba(246, 241, 232, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}
.slider__dot.active { background: var(--gold-light); width: 22px; }

.slider__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  background: rgba(12, 30, 61, 0.52);
  border: 1px solid rgba(246, 241, 232, 0.28);
  border-radius: 50%;
  color: #F6F1E8;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
}
.slider__arrow:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.slider__arrow--prev { left: 24px; }
.slider__arrow--next { right: 24px; }

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 2px 12px rgba(184,144,42,0.30);
}
.btn--primary:hover {
  background: #A07A20;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,144,42,0.38);
}
/* Ghost on light backgrounds */
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(246, 241, 232, 0.46);
  color: #F6F1E8;
}
.btn--ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.btn--sm { padding: 9px 18px; font-size: 0.75rem; }

/* Ghost on dark background overridden already above */
/* Ghost variant on light page sections */
.section .btn--ghost,
.page-content .btn--ghost {
  border-color: var(--border-strong);
  color: var(--navy-strong);
}
.section .btn--ghost:hover,
.page-content .btn--ghost:hover {
  background: var(--navy-strong);
  border-color: var(--navy-strong);
  color: #fff;
}

/* ---- Stats Bar ------------------------------------------- */
.stats-bar {
  background: var(--bg-dark);
  padding: 0;
}
.stats-bar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats-bar__item {
  text-align: center;
  padding: 52px 32px;
  position: relative;
}
.stats-bar__item + .stats-bar__item::before {
  content: '';
  position: absolute;
  left: 0; top: 28%; height: 44%;
  width: 1px;
  background: rgba(246, 241, 232, 0.10);
}
.stats-bar__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 10px;
}
.stats-bar__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(200, 192, 175, 0.70);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- Service Cards --------------------------------------- */
.stats-bar + section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 40px 36px;
  transition: background 0.25s, box-shadow 0.25s;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { background: var(--bg-hover); }
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.service-card__desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.80; }

/* ---- Blog Cards ------------------------------------------ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(12,30,61,0.10); }
.blog-card__cover { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-surface); }
.blog-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card__cover img { transform: scale(1.04); }
.blog-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { display: flex; align-items: center; gap: 14px; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; letter-spacing: 0.04em; }
.blog-card__category { color: var(--gold); font-weight: 600; }
.blog-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; line-height: 1.35; flex: 1; }
.blog-card__excerpt { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.70; }
.blog-card__link { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 6px; transition: gap 0.2s, color 0.2s; }
.blog-card__link:hover { color: var(--navy-strong); gap: 10px; }

/* ---- Single Post ----------------------------------------- */
.post-header {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background: var(--bg-dark);
  border-bottom: 2px solid var(--gold);
}
.post-header h1,
.post-header h2 { color: #F6F1E8; }
.post-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; font-size: 0.8rem; color: rgba(200, 192, 175, 0.70); }
.post-content { max-width: 68ch; margin: 0 auto; padding: 72px 28px; }
.post-content h2 { margin: 2.2em 0 0.7em; color: var(--text-primary); font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.post-content h3 { margin: 1.8em 0 0.6em; color: var(--text-primary); }
.post-content p { margin-bottom: 1.5em; color: var(--text-secondary); line-height: 1.88; }
.post-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol { margin: 1em 0 1em 1.5em; color: var(--text-secondary); }
.post-content li { margin-bottom: 0.5em; }
.post-content img { border-radius: var(--radius); margin: 1.5em 0; }
.post-content blockquote {
  margin: 1.5em 0;
  padding: 24px 32px;
  background: var(--bg-surface);
  border-left: 3px solid var(--gold);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.70;
}

/* ---- Contact Form ---------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.contact-info__item { display: flex; gap: 14px; margin-bottom: 26px; }
.contact-info__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-info__label { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-info__value { font-size: 0.9375rem; color: var(--text-primary); }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 7px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,144,42,0.12); }
textarea.form-control { resize: vertical; min-height: 144px; }

.form-message { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 18px; display: none; }
.form-message.success {
  background: rgba(184,144,42,0.07);
  border: 1px solid var(--border-gold);
  color: var(--navy-strong);
  display: block;
}
.form-message.error {
  background: rgba(180, 50, 50, 0.06);
  border: 1px solid rgba(180, 50, 50, 0.28);
  color: #7A2020;
  display: block;
}

/* ---- About ----------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.about-values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.value-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-md); }
.value-card__num {
  font-family: var(--font-display);
  font-size: 3.0rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.42;
}

/* ---- CTA Section ----------------------------------------- */
.cta-section {
  background: var(--bg-dark);
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-section h2, .cta-section h3 { color: #F6F1E8; }
.cta-section p, .cta-section .text-muted { color: rgba(200, 192, 175, 0.75); }
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -70px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 232, 0.05);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -70px; left: -60px;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(184, 144, 42, 0.16);
  pointer-events: none;
}
/* Gold diagonal accent line in CTA */
.cta-section .container { position: relative; z-index: 2; }
.cta-section .btn--ghost {
  border-color: rgba(246, 241, 232, 0.35);
  color: #F6F1E8;
}
.cta-section .btn--ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ---- Footer ---------------------------------------------- */
.footer {
  background: var(--bg-dark);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(246, 241, 232, 0.06);
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 64px; margin-bottom: 56px; }
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #F6F1E8;
  margin-bottom: 14px;
}
.footer__brand em { font-style: normal; color: var(--gold-light); }
.footer__desc { font-size: 0.875rem; color: rgba(200, 192, 175, 0.72); line-height: 1.78; max-width: 280px; margin-bottom: 22px; }
.footer__heading { font-family: var(--font-body); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(200, 192, 175, 0.45); margin-bottom: 14px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: 0.875rem; color: rgba(200, 192, 175, 0.70); transition: color 0.2s; }
.footer__links a:hover { color: #F6F1E8; }
.footer__contact-item { font-size: 0.875rem; color: rgba(200, 192, 175, 0.70); margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer__contact-item a { color: rgba(200, 192, 175, 0.70); }
.footer__contact-item a:hover { color: #F6F1E8; }
.footer__bottom {
  border-top: 1px solid rgba(246, 241, 232, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: 0.78rem; color: rgba(200, 192, 175, 0.42); }

/* ---- Page Hero (non-home pages) -------------------------- */
.page-hero {
  padding: calc(var(--nav-h) + 88px) 0 88px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.page-hero h1,
.page-hero h2,
.page-hero h3 { color: #F6F1E8; }
.page-hero p,
.page-hero div[style*="color:var(--text-secondary)"],
.page-hero [style*="color:var(--text-secondary)"] {
  color: rgba(200, 192, 175, 0.78) !important;
}
.page-hero .section-label {
  color: var(--gold-light);
  background: rgba(184, 144, 42, 0.14);
  border-color: rgba(184, 144, 42, 0.32);
}
/* Decorative rings */
.page-hero::before {
  content: '';
  position: absolute;
  right: 8%; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(184, 144, 42, 0.16);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 13%; top: 30px;
  width: 170px; height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 232, 0.05);
  pointer-events: none;
}

/* Gold accent line under page-hero, into first content section */
.page-hero + section {
  border-top: 2px solid var(--gold);
}

/* ---- Pagination ------------------------------------------ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 64px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.pagination .current { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---- Scroll-reveal --------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ---- Icons ----------------------------------------------- */
.icon { display: inline-block; width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* ---- Alerts ---------------------------------------------- */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 18px; }
.alert--success {
  background: rgba(184,144,42,0.07);
  border: 1px solid var(--border-gold);
  color: var(--navy-strong);
}
.alert--error {
  background: rgba(180, 50, 50, 0.06);
  border: 1px solid rgba(180, 50, 50, 0.28);
  color: #7A2020;
}

/* ---- Keyframes ------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Legacy .hero class ---------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 680px; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.2s ease forwards;
}
.hero__eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.hero__eyebrow span { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.20em; text-transform: uppercase; color: var(--gold); }
.hero h1 { opacity: 0; animation: fadeUp 0.9s 0.35s ease forwards; margin-bottom: 24px; }
.hero p {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 520px;
  opacity: 0; animation: fadeUp 0.9s 0.5s ease forwards;
  margin-bottom: 40px; font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; opacity: 0; animation: fadeUp 0.9s 0.65s ease forwards; }

/* ---- Divider strip (gold hairline)  */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  margin: 0;
  border: none;
}

/* ---- Responsive ------------------------------------------ */
@media (max-width: 900px) {
  .nav__links {
    display: none; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(249, 247, 243, 0.98);
    backdrop-filter: blur(16px);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
    box-shadow: 0 10px 28px rgba(12,30,61,0.08);
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }

  .contact-grid  { grid-template-columns: 1fr; gap: 56px; }
  .about-grid    { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid  { grid-template-columns: 1fr; gap: 36px; }

  .stats-bar__grid { grid-template-columns: 1fr; }
  .stats-bar__item + .stats-bar__item::before {
    top: 0; bottom: auto;
    left: 20%; right: 20%;
    height: 1px; width: auto;
  }

  .slider__slide   { min-height: 85vh; }
  .slider__content { padding: 60px 0 80px; }
  .slider__title   { font-size: clamp(1.85rem, 5vw, 2.6rem); }
  .slider__arrow   { display: none; }
  .slider__stats   { gap: 10px; }
  .slider__slide::after { display: none; }
}

@media (max-width: 640px) {
  .hero__actions  { flex-direction: column; }
  .btn            { justify-content: center; }
  .services-grid  { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr; }
  .section        { padding: 64px 0; }
  .stats-bar__item { padding: 36px 24px; }

  .slider__slide   { min-height: 78vh; }
  .slider__content { padding: 48px 0 68px; }
  .slider__desc    { font-size: 0.875rem; }
  .container       { padding: 0 20px; }
}
