/* =========================================================
   BrightNest Media — Premium Stylesheet
   ========================================================= */

/* --- Google Fonts are loaded via <link rel="preload/stylesheet"> in the
   HTML <head> instead of @import, so the browser can fetch them in
   parallel with the page instead of blocking CSS parsing. --- */

/* --- CSS Custom Properties --- */
:root {
  --gold: #9B5FCC;
  --gold-light: #7D3EAF;
  --gold-pale: #F4ECFA;
  --gold-dim: #5A2F7C;
  --ink: #19131f;
  --paper: #ffffff;
  --soft: #fbf7ff;
  --card: #ffffff;
  --card2: #f7f0fb;
  --muted: #756b7f;
  --text: #211729;
  --text2: #5e5268;
  --line: rgba(154, 95, 204, .18);
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(90, 47, 124, .10);
  --shadow-lg: 0 24px 80px rgba(90, 47, 124, .14);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Subtle Background Gradients --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 42% at 80% 0%, rgba(154, 95, 204, .10), transparent 60%),
    radial-gradient(ellipse 45% 34% at 8% 80%, rgba(196, 159, 224, .08), transparent 62%),
    linear-gradient(180deg, #fff, #faf8fc);
}

a {
  color: inherit;
  transition: color var(--transition);
}

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

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeInUp .7s ease-out both;
}

.animate-fade-up-delay {
  animation: fadeInUp .7s ease-out .2s both;
}

.animate-fade-up-delay-2 {
  animation: fadeInUp .7s ease-out .4s both;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 56px);
  transition: all var(--transition);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-light);
  letter-spacing: .02em;
}

.brand img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(90, 47, 124, .28));
  transition: transform var(--transition), filter var(--transition);
}

.brand:hover img {
  transform: translateY(-3px) rotate(-4deg) scale(1.06);
  filter: drop-shadow(0 10px 22px rgba(90, 47, 124, .38));
}

.brand span {
  color: var(--text);
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

nav a:hover {
  color: var(--gold-light);
  background: var(--gold-pale);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

nav a:hover::after {
  width: 60%;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 48px;
  align-items: center;
  padding: clamp(64px, 10vw, 120px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.93) 0%, rgba(251, 247, 255, 0.88) 100%), url('images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 95, 204, .08) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1, .page-title h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin: .18em 0;
  color: var(--text);
  letter-spacing: -.02em;
}

.hero p, .page-title p {
  font-size: 1.1rem;
  max-width: 720px;
  color: var(--text2);
  line-height: 1.75;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp .8s ease-out .3s both;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

.hero-panel {
  min-height: 320px;
  border: 1px solid rgba(154, 95, 204, .22);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.9), var(--gold-pale) 58%, rgba(154, 95, 204, .13));
  backdrop-filter: blur(10px);
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 34px;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp .8s ease-out .3s both;
}

.hero-panel span {
  border: 1px solid rgba(154, 95, 204, .25);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(6px);
  color: var(--gold-dim);
  letter-spacing: .08em;
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .6) inset,
    0 6px 14px rgba(90, 47, 124, .12);
}

.hero-panel span:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .3) inset,
    0 14px 28px rgba(154, 95, 204, .4);
}

/* --- Eyebrow Label --- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 0 0 10px;
  font-family: var(--font-body);
}

/* --- Buttons --- */
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .83rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .3) inset,
    0 1px 2px rgba(90, 47, 124, .2),
    0 8px 18px rgba(154, 95, 204, .35);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .35) inset,
    0 2px 3px rgba(90, 47, 124, .25),
    0 14px 30px rgba(154, 95, 204, .45);
}

.button:active {
  transform: translateY(0);
  box-shadow:
    0 1px 4px rgba(90, 47, 124, .3) inset,
    0 2px 6px rgba(154, 95, 204, .3);
}

.button.secondary {
  background: transparent;
  color: var(--gold-light);
  border: 2px solid rgba(154, 95, 204, .36);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(154, 95, 204, .15);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 28px;
  letter-spacing: -.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* =========================================================
   STATS / COUNTER SECTION
   ========================================================= */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(48px, 6vw, 72px) clamp(18px, 4vw, 56px);
  background: linear-gradient(135deg, var(--ink) 0%, #2a1a3d 50%, var(--gold-dim) 100%);
  border-top: none;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: all var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #e6d7ee, #d4b8e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.stat-label {
  color: rgba(255, 255, 255, .65);
  font-size: .88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* =========================================================
   FEATURES / WHY CHOOSE US
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(154, 95, 204, .3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-pale), rgba(154, 95, 204, .15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  color: var(--text2);
  font-size: .95rem;
  line-height: 1.65;
}

/* =========================================================
   BLOG POST CARD GRID
   ========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s cubic-bezier(.2,.8,.2,1), background var(--transition), border-color var(--transition);
  box-shadow:
    0 1px 2px rgba(90, 47, 124, .06),
    0 8px 20px rgba(90, 47, 124, .10);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}

.post-card:hover {
  transform: translateY(-10px) perspective(800px) rotateX(2deg);
  background: var(--card2);
  border-color: rgba(154, 95, 204, .35);
  box-shadow:
    0 2px 4px rgba(90, 47, 124, .08),
    0 28px 48px rgba(90, 47, 124, .22);
}

.post-card-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  position: relative;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.08);
}

/* CSS-based gradient headers for cards without images */
.post-card-gradient {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.post-card-gradient.grad-1 {
  background: linear-gradient(135deg, #7D3EAF 0%, #9B5FCC 50%, #B87FE0 100%);
}
.post-card-gradient.grad-2 {
  background: linear-gradient(135deg, #5A2F7C 0%, #7D3EAF 50%, #9B5FCC 100%);
}
.post-card-gradient.grad-3 {
  background: linear-gradient(135deg, #9B5FCC 0%, #C49FE0 50%, #E6D7F0 100%);
}
.post-card-gradient.grad-4 {
  background: linear-gradient(135deg, #3D1A5E 0%, #5A2F7C 50%, #7D3EAF 100%);
}
.post-card-gradient.grad-5 {
  background: linear-gradient(135deg, #7D3EAF 0%, #6B2FA0 50%, #4A1F78 100%);
}
.post-card-gradient.grad-6 {
  background: linear-gradient(135deg, #B87FE0 0%, #9B5FCC 50%, #7D3EAF 100%);
}
.post-card-gradient.grad-7 {
  background: linear-gradient(135deg, #5A2F7C 0%, #8B4FBE 50%, #C49FE0 100%);
}

.post-card-gradient .grad-icon {
  font-size: 3rem;
  opacity: .3;
}

.post-card-gradient::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

.post-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.35;
  margin: .2em 0 .5em;
  color: var(--text);
  font-weight: 600;
}

.post-card a {
  text-decoration: none;
}

.post-card p {
  color: var(--text2);
  font-size: .93rem;
  line-height: 1.6;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =========================================================
   SPLIT LAYOUT
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: start;
}

.content-list p {
  background: var(--card);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin: 0 0 16px;
  color: var(--text2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  line-height: 1.7;
}

.content-list p:hover {
  transform: translateX(6px);
  border-left-color: var(--gold-light);
  box-shadow: var(--shadow-lg);
}

/* =========================================================
   PAGE TITLE (Inner pages)
   ========================================================= */
.page-title {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
  background: linear-gradient(135deg, #fff 0%, var(--gold-pale) 60%, #ece0f5 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(154, 95, 204, .06);
  pointer-events: none;
}

.page-title-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-title-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-title-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   ARTICLE (Blog posts)
   ========================================================= */
.article {
  max-width: 920px;
  margin: auto;
}

.article h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 0.6em;
}

.article p {
  font-size: 1.15rem;
  color: var(--text2);
  line-height: 1.85;
  margin-bottom: 1.6em;
}

.article strong {
  color: var(--text);
}

.article h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  margin: 2.2em 0 1em;
  color: var(--text);
}

.article-hero-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0 36px;
  box-shadow: var(--shadow-lg);
}

.article-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ad-slot {
  max-width: 920px;
  margin: 36px auto;
  padding: 6px;
  text-align: center;
  overflow: hidden;
  min-height: 90px;
}

.ad-slot-label {
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  margin-top: 40px;
  border: 1px solid var(--line);
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.author-info p {
  font-size: .9rem;
  color: var(--text2);
  margin: 0;
}

/* Related Articles */
.related-articles {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.related-articles h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.related-card {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}

.related-card:hover {
  background: var(--card2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.related-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.related-card p {
  font-size: .85rem;
  color: var(--text2);
  margin: 0;
  line-height: 1.5;
}

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal {
  max-width: 920px;
}

.legal h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-top: 36px;
  color: var(--gold-light);
  font-weight: 700;
}

.legal p {
  line-height: 1.8;
  color: var(--text2);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-box {
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  letter-spacing: .02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--soft);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(154, 95, 204, .15);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.info-card:hover {
  border-color: rgba(154, 95, 204, .3);
  box-shadow: var(--shadow);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 4px;
}

.info-card p {
  color: var(--text2);
  font-size: .9rem;
  margin: 0;
  line-height: 1.5;
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(154, 95, 204, .3);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-pale), rgba(154, 95, 204, .18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--text2);
  line-height: 1.7;
  font-size: .95rem;
}

.service-card ul {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
}

.service-card ul li {
  padding: 5px 0 5px 22px;
  position: relative;
  color: var(--text2);
  font-size: .9rem;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* =========================================================
   CTA / NEWSLETTER SECTION
   ========================================================= */
.cta-section {
  text-align: center;
  padding: clamp(56px, 8vw, 100px) clamp(18px, 4vw, 56px);
  background: linear-gradient(135deg, var(--ink) 0%, #2a1a3d 50%, var(--gold-dim) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 95, 204, .2), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, .7);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  position: relative;
}

.cta-section .button {
  position: relative;
}

/* =========================================================
   VALUES / CORE VALUES
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(154, 95, 204, .3);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.value-card p {
  color: var(--text2);
  font-size: .9rem;
  line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, #140c18, #0d0710);
  color: #f8f0ff;
  border-top: 1px solid rgba(154, 95, 204, .2);
  padding: 48px clamp(18px, 4vw, 56px) 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f0dfff;
  margin-bottom: 12px;
  transition: opacity var(--transition);
}

.footer-brand:hover {
  opacity: .85;
}

.footer-brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .4));
}

.site-footer p {
  color: #cdbfd8;
  max-width: 700px;
  font-size: .93rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer a {
  color: #e6d7ee;
  text-decoration: none;
  font-size: .9rem;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fine {
  font-size: .85rem;
  color: #9a8ba6;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .features-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero,
  .split,
  .page-title-with-image {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 220px;
  }

  .brand img {
    width: 92px;
    height: 92px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .features-grid,
  .values-grid,
  .stats-section {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 4px;
  }

  nav a {
    font-size: .75rem;
    padding: 6px 10px;
  }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
/* =========================================================
   PREMIUM ENHANCEMENT LAYER
   Additive only — nothing above this line is modified.
   Adds real pointer-driven 3D tilt, glass depth, scroll-reveal
   and small premium chrome (progress bar, back-to-top).
   Everything here respects prefers-reduced-motion.
   ========================================================= */

/* --- Pointer-driven 3D tilt (JS sets --tilt-x/--tilt-y/--glow-x/--glow-y) --- */
.post-card,
.feature-card,
.service-card,
.info-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  position: relative;
}

.post-card::after,
.feature-card::after,
.service-card::after,
.info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, .5), transparent 68%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.post-card:hover::after,
.feature-card:hover::after,
.service-card:hover::after,
.info-card:hover::after {
  opacity: .6;
}

.post-card:hover,
.feature-card:hover,
.service-card:hover {
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-10px);
}

/* --- Glass depth refinement for header --- */
.site-header {
  transition: padding var(--transition), box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 30px rgba(90, 47, 124, .12);
}

.site-header.is-scrolled .brand img {
  width: 96px;
  height: 96px;
}

/* --- Scroll-reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger direct children of a revealed grid slightly for a premium cascade */
.grid.reveal.is-visible > *,
.features-grid.reveal.is-visible > *,
.services-grid.reveal.is-visible > *,
.values-grid.reveal.is-visible > * {
  transition-delay: calc(var(--i, 0) * 40ms);
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  pointer-events: none;
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(154, 95, 204, .25);
  background: linear-gradient(145deg, #ffffff, var(--gold-pale));
  color: var(--gold-dim);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(90, 47, 124, .1), 0 12px 24px rgba(90, 47, 124, .18);
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background var(--transition);
  z-index: 150;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  transform: translateY(-3px) scale(1.05);
}

/* --- Respect reduced motion globally, on top of JS opt-outs --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- Visible keyboard focus (accessibility, quality floor) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
