/* ============================================================
   ScaleVelora — Warm Premium Editorial Design System
   ============================================================ */

:root {
  --orange-50: #FFF7ED;
  --orange-100: #FFEDD5;
  --orange-200: #FED7AA;
  --orange-300: #FDBA74;
  --orange-400: #FB923C;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  --orange-700: #C2410C;
  --dark: #1C1917;
  --dark-surface: #292524;
  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #A8A29E;
  --surface: #FFFAF5;
  --surface-alt: #FFF7ED;
  --white: #FFFFFF;
  --border: #E7E5E4;
  --success: #16A34A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 { font-size: 56px; font-weight: 700; }
h2 { font-size: 40px; font-weight: 600; }
h3 { font-size: 24px; font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
}

a { color: var(--orange-500); text-decoration: none; }

img, svg { max-width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange-500);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background: var(--orange-500);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-600);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--orange-500);
  color: var(--orange-500);
}
.btn-ghost:hover { background: rgba(249, 115, 22, 0.08); }

.btn-ghost-light {
  background: transparent;
  border: 1.5px solid var(--orange-400);
  color: var(--orange-300);
}
.btn-ghost-light:hover { background: rgba(249, 115, 22, 0.12); }

.btn-white {
  background: #fff;
  color: var(--orange-500);
}
.btn-white:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.25);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  background: transparent;
  animation: navFade 0.3s ease both;
}
@keyframes navFade { from { opacity: 0; } to { opacity: 1; } }

.navbar.scrolled {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(28, 25, 23, 0.06);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--surface);
  transition: color 0.3s ease;
}
.logo .accent { color: var(--orange-500); }
.navbar.scrolled .logo { color: var(--dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 250, 245, 0.85);
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange-400); }
.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--orange-500); }

.nav-cta { white-space: nowrap; padding: 11px 22px; font-size: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--surface);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.open span { background: var(--surface); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--surface);
  padding: 12px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}
.mobile-nav a:hover { color: var(--orange-400); }
.mobile-nav.open a { opacity: 1; transform: translateY(0); }
.mobile-nav.open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.38s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.44s; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Dark sections + grain ---------- */
.section-dark {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.98 0 0 0 0 0.45 0 0 0 0 0.09 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--surface); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

.bg-surface { background: var(--surface); }
.bg-surface-alt { background: var(--surface-alt); }
.bg-white { background: var(--white); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head p { margin-top: 18px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-400);
  margin-bottom: 18px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 180px 0 110px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero .sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.trust-line { font-size: 14px; color: var(--text-muted); }
.trust-logos { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.trust-logos span {
  width: 72px; height: 28px;
  background: rgba(168, 162, 158, 0.18);
  border-radius: 6px;
  display: inline-block;
}

/* Page hero (interior pages) */
.page-hero {
  padding: 170px 0 90px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero .sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Hero graphic ---------- */
.hero-graphic {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-graphic .shape {
  position: absolute;
  border-radius: 36% 64% 55% 45% / 48% 40% 60% 52%;
  animation: float 7s ease-in-out infinite;
}
.hero-graphic .s1 {
  width: 300px; height: 300px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  opacity: 0.9;
}
.hero-graphic .s2 {
  width: 220px; height: 220px;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-300));
  top: 30px; right: 30px;
  opacity: 0.75;
  animation-delay: -2.2s;
  animation-duration: 9s;
}
.hero-graphic .s3 {
  width: 150px; height: 150px;
  background: linear-gradient(135deg, var(--orange-300), var(--orange-200));
  bottom: 40px; left: 40px;
  opacity: 0.6;
  animation-delay: -4.5s;
  animation-duration: 11s;
}
.hero-graphic .ring {
  position: absolute;
  width: 400px; height: 400px;
  border: 1.5px dashed rgba(253, 186, 116, 0.35);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(4deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-graphic { height: 320px; }
  .hero-graphic .ring { width: 300px; height: 300px; }
  .hero-graphic .s1 { width: 220px; height: 220px; }
  .hero-graphic .s2 { width: 150px; height: 150px; }
  .hero-graphic .s3 { width: 100px; height: 100px; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
  transition: all 0.2s ease;
}
.card:hover {
  border-color: var(--orange-300);
  box-shadow: 0 12px 36px rgba(28, 25, 23, 0.1);
  transform: translateY(-4px);
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 16px; }

.icon-badge {
  width: 56px; height: 56px;
  background: var(--orange-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange-500);
}
.icon-badge svg { width: 26px; height: 26px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { display: flex; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .grid-5 > * { min-width: 260px; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
@media (max-width: 768px) { .stats-row { grid-template-columns: 1fr; } }
.stat-card { text-align: center; }
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--orange-500);
  display: block;
  margin-bottom: 8px;
}
.stat-card p { font-size: 15px; }

/* ---------- USP blocks (dark) ---------- */
.usp-block { padding: 8px; }
.usp-number {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-500);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 14px;
}
.usp-block h3 {
  color: var(--surface);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.usp-block p { color: var(--text-muted); font-size: 15px; }

/* ---------- Case study cards ---------- */
.tag {
  display: inline-block;
  background: var(--orange-50);
  color: var(--orange-600);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.metric {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--orange-500);
  display: block;
  margin: 14px 0 6px;
}
.read-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  font-size: 15px;
}
.read-link:hover { color: var(--orange-600); }

.disclaimer {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 32px;
}

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 780px;
  margin: 64px auto 0;
  text-align: center;
}
.testimonial blockquote {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
}
.testimonial cite {
  display: block;
  margin-top: 20px;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--orange-200);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 52px; height: 52px;
  background: var(--orange-500);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--surface);
}
.step h3 { margin-bottom: 12px; font-size: 21px; }
.step p { font-size: 15px; }
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--orange-500), var(--orange-600));
  padding: 88px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 18px; }
.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 34px;
}
.cta-banner .small-note {
  margin: 22px auto 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Services page ---------- */
.service-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .service-section .container { grid-template-columns: 1fr; gap: 32px; }
}
.service-section h2 { margin: 18px 0 16px; }
.deliverables { list-style: none; margin-top: 8px; }
.deliverables li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.deliverables li:last-child { border-bottom: none; }
.deliverables .check {
  flex-shrink: 0;
  color: var(--orange-500);
  width: 22px; height: 22px;
  margin-top: 3px;
}
.deliverables strong { color: var(--text-primary); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-top: 4px solid var(--orange-500);
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(249, 115, 22, 0.14);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 16px 48px rgba(249, 115, 22, 0.14); }
  50% { box-shadow: 0 16px 56px rgba(249, 115, 22, 0.28); }
}
@media (max-width: 960px) { .pricing-card.featured { transform: none; } }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange-500);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 10px 0 4px;
}
.price span { font-family: "DM Sans", sans-serif; font-size: 16px; font-weight: 500; color: var(--text-muted); }
.price-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.pricing-features { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.pricing-features li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-size: 15px;
}
.pricing-features .check { flex-shrink: 0; color: var(--orange-500); width: 20px; height: 20px; margin-top: 3px; }

.addon-card h3 { font-family: "DM Sans", sans-serif; font-size: 18px; font-weight: 700; }
.addon-price { color: var(--orange-500); font-weight: 700; font-size: 17px; display: block; margin: 6px 0 10px; }

/* ---------- Comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
}
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table thead th {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  background: var(--surface-alt);
}
.compare-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface);
  white-space: nowrap;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .highlight-col {
  background: var(--orange-50);
  color: var(--orange-700);
  font-weight: 600;
}
.compare-table thead .highlight-col { color: var(--orange-600); }

.deliverables .check.cross { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: var(--orange-300); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 26px;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--orange-500);
  transition: transform 0.3s ease;
}
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner { padding: 0 26px 22px; font-size: 16px; }

/* ---------- About ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }
.founder-name { margin-bottom: 4px; }
.founder-title { color: var(--orange-500); font-weight: 600; margin-bottom: 24px; }
.avatar {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--orange-300), var(--orange-500) 55%, var(--orange-700));
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 55%);
}
.avatar .initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 120px;
  font-weight: 700;
  color: rgba(255, 250, 245, 0.9);
}

/* ---------- Case studies page ---------- */
.case-full {
  margin-bottom: 32px;
}
.case-full .case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.case-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px) { .case-cols { grid-template-columns: 1fr; } }
.case-cols h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-500);
  margin-bottom: 10px;
}
.case-cols p, .case-cols li { font-size: 15px; }
.case-cols ul { padding-left: 18px; }

/* ---------- Blog ---------- */
.blog-card { display: flex; flex-direction: column; }
.blog-card .blog-thumb {
  height: 180px;
  border-radius: 12px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--orange-200), var(--orange-400));
  position: relative;
  overflow: hidden;
}
.blog-card .blog-thumb::after {
  content: "";
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 36% 64% 55% 45% / 48% 40% 60% 52%;
  background: rgba(255, 250, 245, 0.25);
  right: -20px; bottom: -30px;
}
.blog-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.blog-card h3 { font-size: 21px; margin-bottom: 10px; }
.blog-card p { flex-grow: 1; }

.newsletter-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  background: var(--white);
}
.newsletter-form input:focus { outline: 2px solid var(--orange-400); border-color: transparent; }

/* Blog post page */
.post-body { max-width: 720px; margin: 0 auto; }
.post-body h2 { font-size: 30px; margin: 44px 0 16px; }
.post-body p { margin-bottom: 20px; }
.post-body ul { margin: 0 0 20px 22px; }
.post-body li { margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.form-group .optional { color: var(--text-muted); font-weight: 400; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange-400);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-error {
  display: none;
  color: #DC2626;
  font-size: 13px;
  margin-top: 6px;
}
.form-group.invalid input, .form-group.invalid select { border-color: #DC2626; }
.form-group.invalid .form-error { display: block; }

.contact-info h3 { margin-bottom: 8px; font-size: 20px; }
.contact-info .info-block { margin-bottom: 32px; }
.contact-info a { font-weight: 600; }
.calendly-box {
  border: 2px dashed var(--orange-300);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  background: var(--orange-50);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--dark);
  color: var(--surface);
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.3);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  visibility: hidden;
}
.toast.show { transform: translateX(-50%) translateY(0); visibility: visible; }
.toast svg { color: var(--success); width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 72px 0 32px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo { font-size: 24px; display: inline-block; margin-bottom: 16px; }
.footer p { font-size: 15px; }
.footer h4 {
  font-family: "DM Sans", sans-serif;
  color: var(--surface);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-muted); font-size: 15px; transition: color 0.2s ease; }
.footer ul a:hover { color: var(--orange-400); }
.footer-newsletter { display: flex; gap: 8px; margin-top: 16px; }
.footer-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--dark-surface);
  background: var(--dark-surface);
  color: var(--surface);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
.footer-newsletter input::placeholder { color: var(--text-muted); }
.footer-newsletter button { padding: 11px 18px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid var(--dark-surface);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--orange-400); }

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }

/* Hero entrance */
.hero-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroUp 0.7s ease forwards;
}
.hero-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.hero-stagger > *:nth-child(2) { animation-delay: 0.25s; }
.hero-stagger > *:nth-child(3) { animation-delay: 0.4s; }
.hero-stagger > *:nth-child(4) { animation-delay: 0.55s; }
.hero-stagger > *:nth-child(5) { animation-delay: 0.7s; }
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > *, .hero-stagger > * { opacity: 1; transform: none; }
}
