﻿/* ============================================================
   PyCMS  Design System v2
   Theme  : Ivory ground  Deep Navy anchors  Matte Gold accent
   Fonts  : Libre Baskerville (display)  Manrope (body)
   Colors : OKLCH perceptually-uniform palette
   ============================================================ */

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

/* ---- Design Tokens --------------------------------------- */
:root {
  /* Surfaces  warm ivory progression */
  --bg-base:      oklch(98.5% 0.009 85);   /* paper-white */
  --bg-surface:   oklch(95.5% 0.010 82);   /* parchment */
  --bg-card:      oklch(92%   0.012 80);   /* card fill */
  --bg-hover:     oklch(89%   0.014 78);   /* hover / active fill */

  /* Text  deep navy to muted blue-grey */
  --text-primary:   oklch(17%  0.042 258);
  --text-secondary: oklch(40%  0.030 252);
  --text-muted:     oklch(57%  0.018 245);

  /* Gold accent  matte, authoritative */
  --gold:       oklch(64%  0.118 72);
  --gold-light: oklch(70%  0.100 78);
  --gold-dim:   oklch(64%  0.118 72 / 0.10);
  --gold-line:  oklch(64%  0.118 72 / 0.22);

  /* Borders */
  --border:        oklch(87%  0.009 80);
  --border-strong: oklch(76%  0.013 78);
  --border-gold:   oklch(64%  0.118 72 / 0.22);

  /* === Legacy aliases used by inline PHP styles === */
  --teal:       oklch(64%  0.118 72);
  --teal-light: oklch(70%  0.100 78);
  --teal-dim:   oklch(64%  0.118 72 / 0.10);
  --teal-line:  oklch(64%  0.118 72 / 0.22);
  --border-teal: oklch(64% 0.118 72 / 0.22);

  /* Typography */
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;

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

  /* Decoration */
  --radius:       3px;
  --radius-lg:    8px;
  --shadow-sm:    0 2px 8px  oklch(17% 0.042 258 / 0.06);
  --shadow-md:    0 6px 28px oklch(17% 0.042 258 / 0.09);
  --shadow-glow:  0 0 40px   oklch(64% 0.118 72 / 0.12);
  --nav-h:        68px;
}

/* ---- 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(--text-primary); }

/* ---- Typography ------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.6rem); }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.01em; }
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 24px; }
.section    { padding: var(--space-3xl) 0; }
.section--sm { padding: var(--space-2xl) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-title    { margin-bottom: 20px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 48px; }

/* ---- Navigation ------------------------------------------ */
/* Always opaque  works on both light inner pages and the dark slider */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: oklch(99% 0.005 85 / 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 2px 16px oklch(17% 0.042 258 / 0.07);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo  {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.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 12px;
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 12px; right: 12px;
  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(--text-primary); }
.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.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  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: oklch(98.5% 0.009 85);
}

.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 ----------------------------------------- */
/* Remains dark  cinematic contrast against the light site */
.slider {
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.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: oklch(13% 0.028 255);
}

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

/* Directional gradient  keeps text area dark, opens toward image */
.slider__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    oklch(13% 0.038 258 / 0.96) 0%,
    oklch(13% 0.030 255 / 0.68) 52%,
    oklch(13% 0.022 252 / 0.16) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Vertical gold rule at container edge */
.slider__slide::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: max(24px, calc((100vw - 1180px) / 2));
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 4%,
    oklch(64% 0.118 72 / 0.30) 25%,
    oklch(64% 0.118 72 / 0.30) 75%,
    transparent 96%
  );
  z-index: 2;
  pointer-events: none;
}

.slider__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 72px 0 88px;
}

.slider__inner { max-width: 620px; }

.slider__label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  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(1.9rem, 3.8vw, 3.1rem);
  font-weight: 700;
  font-style: italic;
  color: oklch(97% 0.007 88);
  line-height: 1.2;
  margin-bottom: 20px;
}

.slider__desc {
  font-size: 0.9375rem;
  color: oklch(78% 0.010 255);
  line-height: 1.78;
  margin-bottom: 30px;
  max-width: 480px;
  font-weight: 300;
}

.slider__stats {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.slider__stat {
  background: oklch(97% 0.006 88 / 0.07);
  border: 1px solid oklch(64% 0.118 72 / 0.28);
  border-radius: var(--radius);
  padding: 11px 18px;
  text-align: center;
  min-width: 74px;
}

.slider__stat-val {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.slider__stat-lbl {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(65% 0.010 255);
  white-space: nowrap;
}

.slider__nav {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider__dot {
  height: 5px; width: 5px;
  border-radius: 3px;
  background: oklch(97% 0.004 90 / 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}
.slider__dot.active { background: var(--gold-light); width: 20px; }

.slider__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  background: oklch(13% 0.028 255 / 0.50);
  border: 1px solid oklch(64% 0.118 72 / 0.26);
  border-radius: 50%;
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
}
.slider__arrow:hover { background: var(--gold); border-color: var(--gold); color: oklch(17% 0.042 258); }
.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.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  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: oklch(17% 0.042 258);
  box-shadow: 0 2px 14px oklch(64% 0.118 72 / 0.22);
}
.btn--primary:hover {
  background: var(--gold-light);
  color: oklch(17% 0.042 258);
  transform: translateY(-1px);
  box-shadow: 0 4px 22px oklch(64% 0.118 72 / 0.30);
}
/* Ghost works on both dark (slider) and light (sections) backgrounds */
.btn--ghost {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn--ghost:hover {
  background: var(--gold);
  color: oklch(17% 0.042 258);
  border-color: var(--gold);
}
.btn--sm { padding: 9px 18px; font-size: 0.67rem; }

/* ---- Stats Bar ------------------------------------------- */
/* Deep navy  visual anchor between dark hero and light content */
.stats-bar {
  background: oklch(17% 0.042 258);
  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: oklch(97% 0.004 90 / 0.08);
}
.stats-bar__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 10px;
}
.stats-bar__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: oklch(65% 0.015 255);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* ---- Service Cards --------------------------------------- */
/* Top-edge reveal on hover  no side stripe */
.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-base);
  padding: 36px 32px;
  transition: background 0.25s;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { background: var(--bg-surface); }
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.service-card__desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; }

/* ---- Blog Cards ------------------------------------------ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--bg-base);
  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;
}
.blog-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card__cover { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-card); }
.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: 26px; 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: 700; }
.blog-card__title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 400; 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; }
.blog-card__link { font-size: 0.67rem; font-weight: 700; 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(--text-primary); gap: 10px; }

/* ---- Single Post ----------------------------------------- */
.post-header {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.post-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; font-size: 0.8rem; color: var(--text-muted); }
.post-content { max-width: 68ch; margin: 0 auto; padding: 64px 24px; }
.post-content h2, .post-content h3 { margin: 2em 0 0.75em; color: var(--text-primary); }
.post-content p { margin-bottom: 1.4em; color: var(--text-secondary); }
.post-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.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: 22px 28px;
  background: var(--bg-surface);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---- Contact Form ---------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.contact-info__item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-info__label { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.contact-info__value { font-size: 0.925rem; color: var(--text-primary); }

.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 7px; }
.form-control {
  width: 100%;
  padding: 11px 15px;
  background: var(--bg-base);
  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 oklch(64% 0.118 72 / 0.12); }
textarea.form-control { resize: vertical; min-height: 140px; }

.form-message { padding: 13px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 18px; display: none; }
.form-message.success {
  background: oklch(64% 0.118 72 / 0.08);
  border: 1px solid var(--border-gold);
  color: oklch(30% 0.040 252);
  display: block;
}
.form-message.error {
  background: oklch(45% 0.22 25 / 0.07);
  border: 1px solid oklch(45% 0.22 25 / 0.28);
  color: oklch(32% 0.16 25);
  display: block;
}

/* ---- About ----------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; 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-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.value-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-sm); }
.value-card__num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.22;
}

/* ---- CTA Section ----------------------------------------- */
.cta-section {
  background: oklch(17% 0.042 258);
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-section h2, .cta-section h3 { color: oklch(94% 0.007 88); }
.cta-section p, .cta-section .text-muted { color: oklch(60% 0.018 255); }
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid oklch(64% 0.118 72 / 0.13);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -50px;
  width: 170px; height: 170px;
  border-radius: 50%;
  border: 1px solid oklch(64% 0.118 72 / 0.09);
  pointer-events: none;
}
.cta-section .btn--ghost {
  border-color: oklch(64% 0.118 72 / 0.45);
  color: var(--gold-light);
}
.cta-section .btn--ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: oklch(17% 0.042 258);
}

/* ---- Footer ---------------------------------------------- */
.footer {
  background: oklch(14% 0.036 260);
  padding: 72px 0 36px;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 64px; margin-bottom: 48px; }
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: oklch(92% 0.007 88);
  margin-bottom: 14px;
}
.footer__brand em { font-style: italic; color: var(--gold-light); }
.footer__desc { font-size: 0.875rem; color: oklch(52% 0.018 255); line-height: 1.75; max-width: 280px; margin-bottom: 22px; }
.footer__heading { font-family: var(--font-body); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: oklch(44% 0.016 255); margin-bottom: 14px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { font-size: 0.875rem; color: oklch(52% 0.018 255); transition: color 0.2s; }
.footer__links a:hover { color: var(--gold-light); }
.footer__contact-item { font-size: 0.875rem; color: oklch(52% 0.018 255); 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: oklch(52% 0.018 255); }
.footer__contact-item a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid oklch(97% 0.004 88 / 0.06); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-size: 0.79rem; color: oklch(38% 0.013 255); }

/* ---- Page Hero (non-home pages) -------------------------- */
.page-hero {
  padding: calc(var(--nav-h) + 68px) 0 68px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -44px; top: -44px;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  opacity: 0.5;
}

/* ---- Divider --------------------------------------------- */
.clip-bottom { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); padding-bottom: 120px; }

/* ---- Pagination ------------------------------------------ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 60px; }
.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);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--border-gold); color: var(--gold); background: var(--gold-dim); }
.pagination .current { background: var(--gold); border-color: var(--gold); color: oklch(17% 0.042 258); }

/* ---- 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: 13px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 18px; }
.alert--success {
  background: oklch(64% 0.118 72 / 0.08);
  border: 1px solid var(--border-gold);
  color: oklch(30% 0.040 252);
}
.alert--error {
  background: oklch(45% 0.22 25 / 0.07);
  border: 1px solid oklch(45% 0.22 25 / 0.28);
  color: oklch(32% 0.16 25);
}

/* ---- 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-size: 0.67rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.hero h1 { opacity: 0; animation: fadeUp 0.9s 0.35s ease forwards; margin-bottom: 24px; font-style: italic; }
.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; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 900px) {
  .nav__links {
    display: none; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: oklch(99% 0.005 85 / 0.98);
    backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
    box-shadow: 0 8px 24px oklch(17% 0.042 258 / 0.08);
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }

  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
  .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: 56px 0 76px; }
  .slider__title   { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .slider__arrow   { display: none; }
  .slider__stats   { gap: 12px; }
  .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; }
}
