/* =====================================================================
 * natalka-web — global site stylesheet
 * -------------------------------------------------------------------
 * Redesigned front-end (2026 refresh):
 *   * Warm gold as the primary brand color (matches the existing brand),
 *     refined into a full tonal ramp (--gold-50 → --gold-900).
 *   * Blue-violet / indigo as a complementary accent (--indigo-*),
 *     used for secondary UI, hover states, decorative gradients.
 *   * Light theme only. WCAG AA text/background contrast throughout.
 *   * Design tokens live in :root below AND in src/styles/_tokens.scss
 *     (Angular styles bundle). Values are kept in sync between both.
 *
 * Class names below are stable — they are queried by public/js/*.js
 * (parallax.js, references.js, contact.js) and referenced from the
 * Angular component templates. Do NOT rename without checking those.
 * ===================================================================== */

/* -----------------------------------------------------------------
 * Design tokens (mirrored from src/styles/_tokens.scss)
 * ----------------------------------------------------------------- */
:root {
  /* Gold (primary) */
  --gold-50:  #FBF7EE;
  --gold-100: #F5EBD4;
  --gold-200: #EBD8A9;
  --gold-300: #DFC17E;
  --gold-400: #D0A860;
  --gold-500: #B8956A;
  --gold-600: #9A7B54;
  --gold-700: #7A6142;
  --gold-800: #5A4831;
  --gold-900: #3B2F20;

  --brand:        var(--gold-500);
  --brand-strong: var(--gold-700);
  --brand-soft:   var(--gold-100);
  --brand-tint:   var(--gold-50);

  /* Indigo (accent) */
  --indigo-50:  #EEF0FB;
  --indigo-100: #DDE1F5;
  --indigo-200: #B7BFEA;
  --indigo-300: #8E99DA;
  --indigo-400: #6470C7;
  --indigo-500: #4A56B0;
  --indigo-600: #3B4696;
  --indigo-700: #2E377A;
  --indigo-800: #212960;
  --indigo-900: #171D45;

  --accent:        var(--indigo-500);
  --accent-strong: var(--indigo-700);
  --accent-soft:   var(--indigo-50);

  /* Neutrals */
  --gray-50:  #FAFAFB;
  --gray-100: #F4F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #0F172A;

  /* Surfaces */
  --bg-page:      #FBFAF6;
  --bg-page-alt:  #F6F1E6;
  --bg-page-cool: #F1F3FB;
  --bg-card:      #FFFFFF;

  /* Text */
  --text-primary:   #131427;
  --text-secondary: #3F455B;
  --text-muted:     #6B7280;
  --text-invert:    #FFFFFF;

  /* Borders */
  --border-subtle: rgba(19, 20, 39, 0.08);
  --border-strong: rgba(19, 20, 39, 0.16);
  --border-gold:   rgba(184, 149, 106, 0.24);
  --border-indigo: rgba(74, 86, 176, 0.20);

  /* Semantic */
  --success-500: #16A34A;
  --success-700: #15803D;
  --success-100: #D1FAE5;
  --error-500:   #DC2626;
  --error-700:   #991B1B;
  --error-100:   #FEE2E2;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-2xl: 40px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(19, 20, 39, 0.06);
  --shadow-sm: 0 2px 4px rgba(19, 20, 39, 0.06), 0 1px 2px rgba(19, 20, 39, 0.04);
  --shadow-md: 0 6px 16px rgba(19, 20, 39, 0.08), 0 2px 4px rgba(19, 20, 39, 0.04);
  --shadow-lg: 0 18px 40px rgba(19, 20, 39, 0.10), 0 6px 12px rgba(19, 20, 39, 0.05);
  --shadow-xl: 0 32px 60px rgba(19, 20, 39, 0.14), 0 10px 20px rgba(19, 20, 39, 0.06);
  --shadow-gold:   0 12px 30px rgba(184, 149, 106, 0.28);
  --shadow-indigo: 0 12px 30px rgba(74, 86, 176, 0.22);

  /* Gradients */
  --gradient-gold:      linear-gradient(135deg, #D9B981 0%, #B8956A 50%, #9A7B54 100%);
  --gradient-gold-soft: linear-gradient(135deg, #FBF7EE 0%, #F5EBD4 100%);
  --gradient-indigo:    linear-gradient(135deg, #6470C7 0%, #4A56B0 60%, #2E377A 100%);
  --gradient-hero:      linear-gradient(135deg, #FBFAF6 0%, #F6F1E6 55%, #F1F3FB 100%);
  --gradient-brand-text: linear-gradient(135deg, #7A6142 0%, #9A7B54 50%, #B8956A 100%);

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --header-height: 84px;
}

/* -----------------------------------------------------------------
 * Reset & base
 * ----------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

a {
  color: var(--gold-700);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
a:hover { color: var(--gold-800); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--gold-200);
  color: var(--gold-900);
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* -----------------------------------------------------------------
 * Header / Nav
 * ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), var(--indigo-400), var(--gold-400), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.site-header:hover::after { opacity: 0.6; }

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}
.brand::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 100%;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
  border-radius: 2px;
}
.brand:hover::after { transform: scaleX(1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s var(--ease-out);
}
.nav-links a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-links a.nav-cta {
  background: var(--gradient-gold);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  text-transform: none;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.nav-links a.nav-cta::before { display: none; }
.nav-links a.nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(184, 149, 106, 0.35);
}
.nav-links a:hover::before { width: 100%; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding-left: 0.5rem;
  margin-left: 0.25rem;
  border-left: 1px solid var(--border-subtle);
}
.lang-btn {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.lang-btn:hover { color: var(--text-primary); background: var(--gold-50); }
.lang-btn.active {
  color: var(--gold-800);
  background: var(--gold-50);
  border-color: var(--gold-600);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease-out);
}
.nav-toggle:hover { background: var(--gold-50); }
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold-600);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 1.5rem 2rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
  }
  .nav-links a {
    padding: 0.9rem 0.75rem;
    border-radius: var(--radius-sm);
    text-align: left;
  }
  .nav-links a::before { display: none; }
  .nav-links a:hover { background: var(--gold-50); color: var(--gold-800); }
  .nav-links a.nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
  .nav-links a.nav-cta:hover { background: var(--gradient-gold); color: #fff; }
  .nav-links.collapsed { display: none; }
  .lang-switch {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    margin: 0.5rem 0 0;
    padding: 0.75rem 0.75rem 0;
    justify-content: center;
  }
}

/* -----------------------------------------------------------------
 * Hero
 * ----------------------------------------------------------------- */
.hero {
  padding: calc(var(--header-height) + 4rem) 0 0;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}
.hero-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(74, 86, 176, 0.14), transparent 68%);
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: stretch;
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}

.hero-text { animation: heroFadeUp 0.9s var(--ease-out); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--indigo-700);
  background: var(--indigo-50);
  border: 1px solid var(--border-indigo);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
.hero h1 .accent {
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-availability {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
  width: 100%;
  box-sizing: border-box;
  background: var(--gradient-gold-soft);
  color: var(--gold-800);
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--gold-200);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(212, 175, 119, 0.15);
  animation: availabilityPulse 2.5s ease-in-out infinite;
}
.availability-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: white;
  color: var(--gold-500);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
}
@keyframes availabilityPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(212, 175, 119, 0.15);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(212, 175, 119, 0.28);
  }
}

.hero-visual {
  position: relative;
  justify-self: stretch;
  width: 100%;
  height: calc(100% + 8rem);
  margin-top: -4rem;
  margin-bottom: -4rem;
}
.hero-photo {
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 100%;
  min-height: 420px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.55);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2rem 1.5rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  border-left: 1px solid var(--border-subtle);
}
.hero-stat:first-child { border-left: none; }
.hero-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-photo { min-height: 360px; }
}

@media (max-width: 900px) {
  .hero { padding: calc(var(--header-height) + 2rem) 0 0; }
  .hero-content {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding-bottom: 3rem;
    gap: 2.25rem;
  }
  .hero-visual { height: auto; margin-top: 0; margin-bottom: 0; }
  .hero-photo { aspect-ratio: 4 / 5; min-height: 0; height: auto; }
  .hero-lead { max-width: 100%; }
  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0;
    padding: 1.75rem 1.5rem;
  }
  .hero-stat:nth-child(3) { border-left: none; }
}

/* -----------------------------------------------------------------
 * Buttons
 * ----------------------------------------------------------------- */
.btn-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient-gold);
  color: #fff;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              filter 0.25s var(--ease-out);
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn-primary-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(184, 149, 106, 0.38);
  filter: brightness(1.03);
  color: #fff;
}
.btn-primary-link:focus-visible {
  outline: 3px solid var(--indigo-300);
  outline-offset: 3px;
}

.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--indigo-50);
  color: var(--indigo-700);
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
              transform 0.2s var(--ease-out);
  border: 1px solid var(--border-indigo);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn-secondary-link:hover {
  background: var(--indigo-500);
  color: #fff;
  transform: translateY(-2px);
}

/* -----------------------------------------------------------------
 * Section heading helper (used by Services / Blog / References / etc.)
 * ----------------------------------------------------------------- */
.section-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo-600);
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.section-heading .accent {
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subheading {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-header--center {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header--center .section-subheading { margin-left: auto; margin-right: auto; }

/* -----------------------------------------------------------------
 * Services
 * ----------------------------------------------------------------- */
.services {
  padding: 7rem 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-300);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  background: var(--gradient-gold);
}
.service-card--indigo .service-icon { background: var(--gradient-indigo); }
.service-card--ink .service-icon { background: linear-gradient(135deg, #2b2f45, #131427); }

.service-icon i {
  display: inline-block;
  animation: serviceIconFloat 3s ease-in-out infinite;
}
.service-card:nth-child(2) .service-icon i { animation-delay: 0.3s; }
.service-card:nth-child(3) .service-icon i { animation-delay: 0.6s; }
.service-card:nth-child(4) .service-icon i { animation-delay: 0.9s; }

@keyframes serviceIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(-5deg); }
  75% { transform: translateY(3px) rotate(5deg); }
}

.service-icon-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  margin-bottom: 1.5rem;
}
.service-icon-group i {
  font-size: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
}
.service-icon-group i:nth-child(1) { animation: float1 3s ease-in-out infinite; }
.service-icon-group i:nth-child(2) { animation: float2 3s ease-in-out infinite 0.5s; font-size: 2rem; }
.service-icon-group i:nth-child(3) { animation: float3 3s ease-in-out infinite 1s; }
.service-icon-group i:nth-child(4) { animation: float1 3s ease-in-out infinite 1.5s; }
.service-icon-group i:nth-child(5) { animation: float2 3s ease-in-out infinite 2s; }

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(-5deg); }
  75% { transform: translateY(5px) rotate(5deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.1); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(5deg); }
  66% { transform: translateY(8px) rotate(-5deg); }
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}
.service-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}
.service-tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  white-space: nowrap;
  transition: box-shadow 0.25s var(--ease-out);
}
.service-tags li:hover {
  box-shadow: var(--shadow-sm);
}
.service-card--indigo .service-tags li { background: var(--indigo-50); color: var(--indigo-700); }
.service-card--gold .service-tags li { background: var(--gold-50); color: var(--gold-800); }
.service-card--ink .service-tags li { background: var(--gray-100); color: var(--gray-800); }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services { padding: 5rem 0; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* -----------------------------------------------------------------
 * Process
 * ----------------------------------------------------------------- */
.process {
  padding: 7rem 0;
  background: var(--gradient-hero);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
}
.process-number {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.process-step p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .process { padding: 5rem 0; }
  .process-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* -----------------------------------------------------------------
 * Showcase (portfolio gallery)
 * ----------------------------------------------------------------- */
.showcase {
  padding: 7rem 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border-subtle);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1.5rem;
}
.showcase-card--lg { grid-column: span 2; grid-row: span 2; }
.showcase-card--sm { grid-column: span 1; grid-row: span 1; }

.showcase-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.showcase-card:hover img { transform: scale(1.06); }
.showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(19, 20, 39, 0.82) 0%, rgba(19, 20, 39, 0.05) 60%);
  color: #fff;
}
.showcase-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-200);
  margin-bottom: 0.35rem;
}
.showcase-overlay h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .showcase { padding: 5rem 0; }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .showcase-card--lg { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .showcase-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .showcase-card--lg { grid-column: span 1; }
}


/* -----------------------------------------------------------------
 * Blog section (home)
 * ----------------------------------------------------------------- */
.blog {
  padding: 6rem 0;
  background: var(--bg-page-alt);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: inherit;
}
.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.blog-card:hover img { transform: scale(1.03); }

.blog-card-content { padding: 1.75rem 1.75rem 2rem; }

.blog-date {
  font-size: 0.75rem;
  color: var(--gold-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.blog-card h3,
.blog-card h2 {
  font-size: 1.2rem;
  margin-top: 0.75rem;
  color: var(--text-primary);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease-out);
}
.blog-card:hover h3,
.blog-card:hover h2 { color: var(--gold-800); }

.blog-cta { text-align: center; margin-top: 3rem; }

@media (max-width: 900px) {
  .blog { padding: 5rem 0; }
  .blog-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .blog-card img { height: 200px; }
}

/* -----------------------------------------------------------------
 * References (marquee)
 * ----------------------------------------------------------------- */
.references {
  padding: 6rem 0 5rem;
  background: var(--gradient-hero);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.marquee-wrapper {
  overflow: hidden;
  cursor: grab;
  padding: 3rem 0 1rem;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.marquee-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

.reference-card {
  display: inline-flex;
  flex-direction: column;
  vertical-align: top;
  white-space: normal;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.25rem 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              border-color 0.3s var(--ease-out);
  position: relative;
  overflow: visible;
  width: 380px;
  min-height: 300px;
  margin-right: 1.5rem;
}
.reference-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-300);
  box-shadow: var(--shadow-lg);
}

.reference-card h3 {
  font-size: 1.05rem;
  margin: 0.5rem 0 0;
  color: var(--indigo-700);
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
}
.reference-company {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.reference-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.75;
  position: relative;
  z-index: 1;
  flex: 1;
}

@media (max-width: 900px) {
  .references { padding: 5rem 0 4rem; }
  .reference-card { width: 300px; padding: 1.75rem; margin-right: 1rem; }
}

/* -----------------------------------------------------------------
 * CTA band
 * ----------------------------------------------------------------- */
.cta-band {
  padding: 4.5rem 0;
  background: var(--gradient-indigo);
  position: relative;
  overflow: hidden;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.25;
  max-width: 640px;
}
.cta-band h2 span { color: var(--gold-200); }
.section-eyebrow--invert { color: var(--gold-200); }
.btn-primary-link--invert {
  background: #fff;
  color: var(--indigo-700);
  box-shadow: 0 12px 30px rgba(19, 20, 39, 0.22);
}
.btn-primary-link--invert:hover { color: var(--indigo-800); }

@media (max-width: 700px) {
  .cta-band { padding: 3.5rem 0; text-align: center; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

/* -----------------------------------------------------------------
 * Contact
 * ----------------------------------------------------------------- */
.contact {
  padding: 6rem 0 7rem;
  background: var(--bg-page);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.contact-image {
  position: relative;
}
.contact-image::before {
  content: '';
  position: absolute;
  inset: -20px -20px -20px -20px;
  background: linear-gradient(135deg, rgba(184, 149, 106, 0.35), rgba(74, 86, 176, 0.25));
  border-radius: var(--radius-2xl);
  filter: blur(30px);
  opacity: 0.5;
  z-index: 0;
}
.contact-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  width: 100%;
  position: relative;
  z-index: 1;
}

.contact-info .section-eyebrow {
  display: block;
}
.contact-info h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.contact-info h2 .accent {
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-info p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 1rem;
}
.contact-info a {
  color: var(--gold-700);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0;
}
.contact-info a i {
  margin-right: 0.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.contact-info a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.contact-info a:hover { color: var(--gold-800); }
.contact-info a:hover::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .contact { padding: 5rem 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-image { display: none; }
}

/* -----------------------------------------------------------------
 * Contact form
 * ----------------------------------------------------------------- */
.contact-form-wrap {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.contact-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.contact-form-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--gradient-indigo);
  border-radius: 3px;
  margin-top: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  color: var(--gray-400);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--indigo-400);
  box-shadow: 0 0 0 4px rgba(74, 86, 176, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-group .validation-message {
  color: var(--error-500);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}

.contact-form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-form-status.success {
  background: var(--success-100);
  border: 1px solid rgba(22, 163, 74, 0.3);
  color: var(--success-700);
}
.contact-form-status.error {
  background: var(--error-100);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--error-700);
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--gradient-gold);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
              filter 0.2s var(--ease-out);
  box-shadow: var(--shadow-gold);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}
.contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(184, 149, 106, 0.35);
  filter: brightness(1.03);
}
.contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-submit-again {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  background: transparent;
  color: var(--indigo-700);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-indigo);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
  margin-top: 1rem;
}
.contact-submit-again:hover {
  background: var(--indigo-50);
  border-color: var(--indigo-400);
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------
 * Blog list page
 * ----------------------------------------------------------------- */
.blog-page {
  min-height: 100vh;
  padding: calc(var(--header-height) + 4rem) 0 6rem;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-page-alt) 100%);
  position: relative;
}
.blog-page::before {
  content: '';
  position: absolute;
  top: 5%;
  right: -12%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(74, 86, 176, 0.10), transparent 65%);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}
.blog-page::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.14), transparent 65%);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.blog-page-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.blog-page-header h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}
.blog-page-header h1::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 3px;
  margin: 1rem auto 0;
}
.blog-page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.blog-search {
  max-width: 620px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}
.blog-search input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-family: inherit;
  background: #fff;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.blog-search input:focus {
  border-color: var(--indigo-400);
  box-shadow: 0 0 0 4px rgba(74, 86, 176, 0.15), var(--shadow-md);
}
.blog-search input::placeholder { color: var(--gray-400); }

.blog-perex {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.65;
}

.blog-card-no-img {
  width: 100%;
  height: 220px;
  background: var(--gradient-gold);
  position: relative;
  overflow: hidden;
}
.blog-card-no-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 60%);
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 4rem 0 1.5rem;
  position: relative;
  z-index: 1;
}
.blog-pagination span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  min-width: 5rem;
  text-align: center;
}

.btn-page {
  background: #fff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
              transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  font-family: 'Poppins', sans-serif;
  box-shadow: var(--shadow-sm);
}
.btn-page:hover:not(:disabled) {
  background: var(--gradient-gold);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: var(--gray-400);
}

.blog-count {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.blog-loading {
  text-align: center;
  padding: 5rem 0;
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .blog-page { padding: calc(var(--header-height) + 2rem) 0 4rem; }
  .blog-page-header h1 { font-size: 2.2rem; }
  .blog-page-header p { font-size: 1rem; }
  .blog-search input { padding: 0.9rem 1.25rem; font-size: 0.92rem; }
  .blog-pagination { gap: 0.75rem; margin: 3rem 0 1.5rem; }
  .btn-page { padding: 0.65rem 1.2rem; font-size: 0.85rem; }
  .blog-pagination span { min-width: auto; font-size: 0.95rem; }
}

/* -----------------------------------------------------------------
 * Blog post detail
 * ----------------------------------------------------------------- */
.blog-post-page {
  min-height: 100vh;
  padding: calc(var(--header-height) + 3rem) 0 6rem;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-page-alt) 100%);
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold-700);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-decoration: none;
  transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out),
              background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  font-family: 'Poppins', sans-serif;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--gold-50);
  border: 1px solid var(--border-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.blog-back:hover {
  background: var(--gradient-gold);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  transform: translateX(-4px);
}
.blog-back-bottom { margin-top: 3rem; margin-bottom: 0; }

.blog-post-article {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.blog-post-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-post-header .blog-date {
  display: inline-block;
  background: var(--gold-50);
  color: var(--gold-800);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
}

.blog-post-header h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-top: 1.25rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.blog-post-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}

.blog-post-content p {
  margin-bottom: 1.4rem;
  color: var(--text-primary);
  line-height: 1.85;
  font-size: 1.08rem;
}

.blog-post-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  font-weight: 800;
  color: var(--gold-700);
  letter-spacing: -0.015em;
  position: relative;
  padding-left: 1rem;
}
.blog-post-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 4px;
  border-radius: 2px;
  background: var(--gradient-gold);
}

.blog-post-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  font-weight: 700;
  color: var(--gold-500);
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 1.4rem 0;
  padding: 0;
}
.blog-post-content li {
  padding: 0.35rem 0 0.35rem 2rem;
  color: var(--text-primary);
  line-height: 1.75;
  list-style: none;
  position: relative;
  font-size: 1.05rem;
}
.blog-post-content li::before {
  content: '';
  position: absolute;
  top: 0.85rem;
  left: 0.25rem;
  width: 10px;
  height: 10px;
  background: var(--gradient-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.18);
}

@media (max-width: 900px) {
  .blog-post-article { padding: 2rem 1.5rem; border-radius: var(--radius-lg); }
  .blog-post-header h1 { font-size: 1.75rem; }
  .blog-post-content h2 { font-size: 1.4rem; }
  .blog-post-content h3 { font-size: 1.15rem; }
  .blog-post-content p, .blog-post-content li { font-size: 1rem; }
}

/* -----------------------------------------------------------------
 * Inline article images (scraper-provided layout classes)
 * ----------------------------------------------------------------- */
.blog-img-wrap {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.blog-img-center { display: block; margin-left: auto; margin-right: auto; }
.blog-img-left  { float: left;  margin: 0.25rem 2rem 1rem 0; }
.blog-img-right { float: right; margin: 0.25rem 0 1rem 2rem; }
.blog-img-full  { width: 100% !important; }
.blog-img-crop  { position: relative; overflow: hidden; width: 100%; }
.blog-img-crop img { position: absolute; display: block; max-width: none; }
.blog-img-wrap > img { width: 100%; display: block; }
.blog-post-content-cf::after { content: ''; display: table; clear: both; }

/* -----------------------------------------------------------------
 * Related posts
 * ----------------------------------------------------------------- */
.related-posts {
  max-width: 1100px;
  margin: 4rem auto 0;
}
.related-posts-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 1rem;
}
.related-posts-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 4px;
  border-radius: 2px;
  background: var(--gradient-gold);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-card-perex {
  margin-top: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}
@media (max-width: 1024px) { .related-posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .related-posts-grid { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------------
 * Footer
 * ----------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--gold-900) 0%, #201612 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 5rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(184, 149, 106, 0.35);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--indigo-400), var(--gold-400));
  background-size: 200% 100%;
  animation: gradientMove 6s linear infinite;
}
@keyframes gradientMove {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.site-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.5) 0%, transparent 70%);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.site-footer h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--gold-300);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.site-footer p {
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}
.site-footer strong { color: #fff; }

.site-footer a {
  color: var(--gold-300);
  font-weight: 500;
  transition: color 0.2s var(--ease-out);
  position: relative;
  display: inline-block;
}
.site-footer a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold-300);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.site-footer a:hover { color: #fff; }
.site-footer a:hover::after { transform: scaleX(1); background: #fff; }

.footer-bottom {
  max-width: var(--container-max);
  margin: 3.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 149, 106, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  margin: 0;
}

@media (max-width: 900px) {
  .site-footer { padding: 4rem 1.5rem 2rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* -----------------------------------------------------------------
 * Scroll-driven reveal utility (progressive enhancement)
 * SSR-safe: elements are visible by default; a small IntersectionObserver
 * (see reveal.js) toggles the pending → visible transition on scroll.
 * ----------------------------------------------------------------- */
.reveal { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal--pending { opacity: 0; transform: translateY(24px); }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal--pending, .reveal--visible { opacity: 1 !important; transform: none !important; }
}
