/* ============================================================
   Belanger Media — Design System CSS
   Dark-first with full light mode via [data-theme="light"]
   ============================================================ */

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

/* ── CSS Custom Properties ── */
:root {
  /* Dark Theme (default) */
  --bg-0:        #080e17;
  --bg-1:        #0f1923;
  --bg-2:        #162030;
  --bg-3:        #1d2d40;
  --bg-card:     #111b28;
  --bg-hover:    #192535;

  --text-primary:   #eef2f7;
  --text-secondary: #8fa3bc;
  --text-muted:     #4d6680;
  --text-inverse:   #080e17;

  --accent:         #d4932a;
  --accent-hover:   #e8a83c;
  --accent-dim:     rgba(212, 147, 42, 0.12);
  --accent-glow:    rgba(212, 147, 42, 0.25);

  --border:         rgba(255, 255, 255, 0.07);
  --border-accent:  rgba(212, 147, 42, 0.35);

  --shadow-sm:   0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(212,147,42,0.15);

  --nav-bg:      rgba(8, 14, 23, 0.88);
  --overlay:     rgba(8, 14, 23, 0.75);

  /* Shared */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-pill: 100px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur:         0.3s;

  --max-w: 1160px;
  --section-py: 6rem;

  /* Scrollbar */
  scrollbar-color: var(--bg-3) var(--bg-0);
  scrollbar-width: thin;
}

/* ── Light Theme ── */
[data-theme="light"] {
  --bg-0:        #f5f2ee;
  --bg-1:        #ede9e3;
  --bg-2:        #e2ddd6;
  --bg-3:        #d4cec5;
  --bg-card:     #ffffff;
  --bg-hover:    #f9f7f4;

  --text-primary:   #1a1a1a;
  --text-secondary: #4a4540;
  --text-muted:     #8a8078;
  --text-inverse:   #f5f2ee;

  --accent:         #b87d1e;
  --accent-hover:   #c98f2a;
  --accent-dim:     rgba(184, 125, 30, 0.1);
  --accent-glow:    rgba(184, 125, 30, 0.2);

  --border:         rgba(0, 0, 0, 0.08);
  --border-accent:  rgba(184, 125, 30, 0.35);

  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 40px rgba(184,125,30,0.12);

  --nav-bg:      rgba(245, 242, 238, 0.92);
  --overlay:     rgba(245, 242, 238, 0.75);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); }
ul, ol { list-style: none; }

/* ── Accessibility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 1rem; left: 1rem;
  background: var(--accent); color: var(--text-inverse);
  font-weight: 700; font-size: 0.9rem;
  padding: 0.7rem 1.4rem; border-radius: var(--radius-sm);
  z-index: 10000; transform: translateY(-150%);
  transition: transform 0.2s; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
p  { color: var(--text-secondary); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1.5px;
  background: var(--accent);
}

.section-rule {
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 1.25rem 0 2.5rem;
  border: none;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; }
section { padding: var(--section-py) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  padding: 0.85rem 1.9rem; border-radius: var(--radius-sm);
  border: none; cursor: pointer; text-decoration: none;
  transition: all var(--dur) var(--ease-out);
  position: relative; overflow: hidden;
  letter-spacing: 0.02em;
}
.btn::after {
  content: ''; position: absolute;
  inset: 0; background: white; opacity: 0;
  transition: opacity var(--dur);
}
.btn:hover::after { opacity: 0.06; }
.btn-primary {
  background: var(--accent); color: var(--text-inverse);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-dim);
}
.btn-ghost {
  background: var(--bg-2); color: var(--text-primary);
}
.btn-ghost:hover { background: var(--bg-3); }
.btn svg { flex-shrink: 0; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* ── Navigation ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur), box-shadow var(--dur);
}
#nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--max-w); margin: 0 auto; padding: 0 5vw;
  gap: 2rem;
}
.nav-logo {
  display: flex; align-items: baseline; gap: 0.15rem;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 700;
  color: var(--text-primary); text-decoration: none; flex-shrink: 0;
  transition: color var(--dur);
}
.nav-logo span { color: var(--accent); }
.nav-logo:hover { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-secondary); padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm); transition: all var(--dur);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 2px; left: 0.85rem; right: 0.85rem;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transition: transform var(--dur) var(--ease-out);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--text-primary); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Theme toggle */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--dur); flex-shrink: 0;
}
.theme-toggle:hover { background: var(--bg-3); color: var(--accent); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Mobile menu */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background var(--dur);
}
.hamburger:hover { background: var(--bg-3); }
.hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.35s var(--ease-out); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--bg-1); border-top: 1px solid var(--border);
  padding: 1.5rem 5vw 2rem;
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--text-secondary);
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  transition: all var(--dur);
}
.mobile-menu a:hover { background: var(--bg-2); color: var(--text-primary); }
.mobile-menu .btn { margin-top: 0.75rem; justify-content: center; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta-desktop { display: none; }
}

/* ── HERO ── */
#hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 72px;
}

/* Animated gradient mesh background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg-0);
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 70vmax; height: 70vmax;
  top: -20%; left: -15%;
  background: radial-gradient(ellipse, rgba(212,147,42,0.06) 0%, transparent 60%);
  animation: bgDrift 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 50vmax; height: 50vmax;
  bottom: -20%; right: -10%;
  background: radial-gradient(ellipse, rgba(29,80,130,0.08) 0%, transparent 60%);
  animation: bgDrift 22s ease-in-out infinite alternate-reverse;
}
@keyframes bgDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(5%, 4%) scale(1.08); }
}

/* Grid lines overlay */
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  opacity: 0.6;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 5rem 5vw; max-width: var(--max-w); margin: 0 auto; width: 100%;
}

.hero-content { max-width: 580px; }
.hero-content .eyebrow { margin-bottom: 1.5rem; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 700; line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic; color: var(--accent);
  display: block;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 440px; margin-bottom: 2.5rem; line-height: 1.75;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero-stat-value {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 700; color: var(--text-primary); line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem; color: var(--text-muted);
  font-weight: 500; letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-img-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.hero-img-wrap:hover img { transform: scale(1.04); }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(212,147,42,0.08) 0%, rgba(8,14,23,0.4) 100%);
}
.hero-card {
  position: absolute; bottom: 2rem; left: -2rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-md); min-width: 200px;
  animation: cardFloat 5s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-card-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-card-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent); }

.hero-badge {
  position: absolute; top: 1.5rem; right: -1.5rem;
  background: var(--accent); color: var(--text-inverse);
  border-radius: var(--radius-md); padding: 0.9rem 1.1rem;
  font-size: 0.72rem; font-weight: 700; text-align: center;
  text-transform: uppercase; letter-spacing: 0.08em;
  box-shadow: 0 8px 24px var(--accent-glow);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding-top: 3rem; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-card { left: 0; bottom: 1.5rem; }
  .hero-badge { top: 1rem; right: 0; }
}

/* ── SERVICES ── */
#services { background: var(--bg-1); }
.services-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: end; margin-bottom: 4rem;
}
.services-intro p { font-size: 1.05rem; line-height: 1.8; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--dur) var(--ease-out);
  display: grid;
  grid-template-rows: auto 1fr;
}
.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border-accent);
}
.service-img {
  position: relative; height: 220px; overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.service-card:hover .service-img img { transform: scale(1.06); }
.service-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%);
}
.service-num {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: rgba(212,147,42,0.25); line-height: 1; user-select: none;
}
.service-body { padding: 1.75rem 2rem 2rem; }
.service-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1.1rem;
}
.service-body h3 { color: var(--text-primary); margin-bottom: 0.6rem; }
.service-body p { font-size: 0.93rem; margin-bottom: 1.4rem; }
.service-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.service-tag {
  font-size: 0.75rem; font-weight: 500;
  background: var(--bg-2); color: var(--text-secondary);
  padding: 0.3rem 0.75rem; border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: all var(--dur);
}
.service-card:hover .service-tag {
  background: var(--accent-dim); border-color: var(--border-accent); color: var(--accent);
}

@media (max-width: 760px) {
  .services-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ── APPROACH ── */
#approach { background: var(--bg-0); }
.approach-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 5rem; align-items: center;
}
.approach-img-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.approach-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.approach-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 50%);
  pointer-events: none;
}
.approach-accent-bar {
  position: absolute; top: 3rem; right: -1.5rem;
  width: 3px; height: 120px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.principles { display: flex; flex-direction: column; gap: 2rem; }
.principle {
  display: flex; gap: 1.25rem;
  padding: 1.5rem; border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--dur) var(--ease-out);
  cursor: default;
}
.principle:hover {
  background: var(--bg-1); border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.principle-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--accent-dim); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: background var(--dur);
}
.principle:hover .principle-icon { background: var(--accent); color: var(--text-inverse); }
.principle h3 {
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 0.35rem;
}
.principle p { font-size: 0.9rem; }

@media (max-width: 860px) {
  .approach-grid { grid-template-columns: 1fr; gap: 3rem; }
  .approach-img-wrap { max-width: 480px; margin: 0 auto; aspect-ratio: 4/3; }
  .approach-accent-bar { display: none; }
}

/* ── EXPERTISE ── */
#expertise { background: var(--bg-1); }
.expertise-layout {
  display: grid; grid-template-columns: 1fr 2.4fr;
  gap: 5rem; align-items: start;
}
.expertise-text p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; }

.skills-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.skill-group {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.75rem;
  transition: border-color var(--dur);
}
.skill-group:hover { border-color: var(--border-accent); }
.skill-group-title {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.skill-item {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.skill-item:last-child { margin-bottom: 0; }
.skill-meta { display: flex; justify-content: space-between; }
.skill-name { font-size: 0.88rem; font-weight: 500; color: var(--text-primary); }
.skill-pct  { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.skill-bar-wrap {
  height: 3px; background: var(--bg-3);
  border-radius: 2px; overflow: hidden;
}
.skill-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 2px; width: 0;
  transition: width 1.2s var(--ease-out);
}

@media (max-width: 900px) {
  .expertise-layout { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
  .skills-grid { grid-template-columns: 1fr; }
}

/* ── PRICING ── */
#pricing { background: var(--bg-0); }
.pricing-header { max-width: 600px; margin-bottom: 3rem; }
.pricing-header p { font-size: 1.05rem; }

.pricing-tabs-wrap {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.ptab {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 500;
  color: var(--text-muted); padding: 0.7rem 1.2rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--dur); border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.ptab:hover { color: var(--text-primary); }
.ptab[aria-selected="true"] {
  color: var(--accent); border-bottom-color: var(--accent);
  background: var(--accent-dim);
}

.pricing-panel { display: none; }
.pricing-panel.active { display: block; animation: panelIn 0.3s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pricing-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 2rem;
  position: relative; transition: all var(--dur) var(--ease-out);
  display: flex; flex-direction: column;
}
.pricing-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.pricing-card.featured { border-color: var(--accent); }
.pricing-card.featured::before {
  content: attr(data-badge);
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent); color: var(--text-inverse);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.28rem 1rem;
  border-radius: var(--radius-pill); white-space: nowrap;
}
.p-card-name { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.3rem; }
.p-card-sub  { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.p-card-price {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--text-primary); line-height: 1; margin-bottom: 0.4rem;
}
.p-card-price sup { font-size: 1rem; vertical-align: super; }
.p-card-price span { font-size: 0.9rem; font-family: var(--font-body); font-weight: 400; color: var(--text-muted); }
.p-range { font-size: 0.95rem; color: var(--accent); font-weight: 600; margin-bottom: 1.5rem; }
.p-divider { height: 1px; background: var(--border); margin: 1.25rem 0; }
.p-features { display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.p-features li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.88rem; color: var(--text-secondary);
}
.p-features li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.p-card-cta { margin-top: 1.75rem; }
.p-card-cta .btn { width: 100%; justify-content: center; }

.pricing-simple-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.pricing-simple-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.25rem 1.5rem;
  transition: all var(--dur);
}
.pricing-simple-item:hover { border-color: var(--border-accent); background: var(--bg-hover); }
.psi-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.35rem; }
.psi-price { font-size: 0.88rem; color: var(--accent); font-weight: 600; }
.psi-note  { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }

.pricing-note {
  margin-top: 2.5rem; padding: 1.25rem 1.75rem;
  background: var(--accent-dim); border: 1px solid var(--border-accent);
  border-radius: var(--radius-md); font-size: 0.9rem; color: var(--text-secondary);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.pricing-note a { color: var(--accent); font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

/* ── CONTACT ── */
#contact { background: var(--bg-1); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 5rem; align-items: start;
}
.contact-info-block { position: sticky; top: 100px; }
.contact-info-block h3 {
  font-family: var(--font-body); font-size: 1.2rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 0.75rem;
}
.contact-info-block > p { font-size: 0.97rem; margin-bottom: 2.5rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-dim); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.contact-detail-text .label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-detail-text .value { font-size: 0.95rem; color: var(--text-primary); }
.contact-detail-text a { color: var(--accent); transition: opacity var(--dur); }
.contact-detail-text a:hover { opacity: 0.8; }

.contact-social { display: flex; gap: 0.75rem; margin-top: 2rem; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--dur);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--text-inverse); }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-secondary); letter-spacing: 0.04em;
}
label .req { color: var(--accent); margin-left: 2px; }

input, select, textarea {
  width: 100%; background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.8rem 1.1rem;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  background: var(--bg-0);
}
textarea { resize: vertical; min-height: 140px; }
select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238fa3bc' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
select option { background: var(--bg-1); color: var(--text-primary); }

/* Honeypot */
.hp-field { display: none !important; visibility: hidden; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { min-width: 180px; }

/* Form feedback */
.form-feedback {
  display: none; margin-top: 1.25rem; padding: 1rem 1.25rem;
  border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
}
.form-feedback.success { display: flex; align-items: center; gap: 0.6rem; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); color: #4ade80; }
.form-feedback.error   { display: flex; align-items: center; gap: 0.6rem; background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25);  color: #f87171; }
[data-theme="light"] .form-feedback.success { color: #16a34a; }
[data-theme="light"] .form-feedback.error   { color: #dc2626; }

/* Spinner */
.spinner {
  width: 16px; height: 16px; border: 2px solid transparent;
  border-top-color: currentColor; border-radius: 50%;
  animation: spin 0.6s linear infinite; display: none;
}
.btn.loading .spinner { display: block; }
.btn.loading .btn-text { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info-block { position: static; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.75rem; }
}

/* ── FOOTER ── */
footer {
  background: var(--bg-0); border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 5vw;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.9rem; margin: 0.85rem 0 1.5rem; max-width: 260px; }
.footer-logo { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--text-primary); }
.footer-logo span { color: var(--accent); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-primary); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--dur); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-made { font-size: 0.82rem; color: var(--text-muted); }
.footer-made span { color: var(--accent); }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Back-to-top ── */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 44px; height: 44px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  opacity: 0; pointer-events: none;
  transition: all var(--dur) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--accent); border-color: var(--accent); color: var(--text-inverse); transform: translateY(-3px); }

/* ── Scroll animations ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.in { 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; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
