/* ============================================================
   BRAND COLOR OVERRIDE — ALMARE ADVISORY
   ============================================================ */
:root {
  --brand: #4ADE80;
  --brand-hover: #38C96E;
}
.sa-btn-primary {
  background: var(--brand) !important;
  color: white !important;
  box-shadow: 0 18px 50px #4ADE8033 !important;
}
.sa-btn-primary:hover {
  background: var(--brand-hover) !important;
  transform: scale(1.02);
}
.sa-nav-cta {
  background: var(--brand) !important;
  color: white !important;
  box-shadow: 0 18px 60px #4ADE8028 !important;
}
.sa-nav-cta:hover { opacity: 0.9; }
.sa-card-icon {
  background: var(--brand) !important;
}
.sa-hero-check svg { color: var(--brand) !important; }
.sa-price-card li svg { color: var(--brand) !important; }
.sa-points li::before { color: var(--brand) !important; }
.sa-jade-bar-fill { background: linear-gradient(90deg, var(--brand), var(--brand-hover)) !important; }
.sa-jade-scorecard-icon { border-color: #4ADE8025 !important; background: #4ADE8015 !important; color: var(--brand) !important; }
.sa-jade-scorecard-status { color: var(--brand) !important; }
.sa-step-num { border-color: #4ADE8020 !important; }
.sa-pill svg { color: var(--brand) !important; }
.sa-jade-send { background: var(--brand) !important; }
.sa-jade-msg-user { background: var(--brand) !important; }
.sa-jade-dot { background: var(--brand) !important; box-shadow: 0 0 0 6px #4ADE801F !important; }
.sa-btn-dark { background: var(--brand) !important; color: white !important; }
.sa-btn-dark:hover { opacity: 0.9; }

/* ============================================================
   ALMARE Studio — V6 Premium Design
   Dark header/footer · Glass cards · Large type · Emerald accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --ink: #1f211d;
  --muted: rgba(31,33,29,0.58);
  --paper: rgba(255,253,247,0.72);
  --line: rgba(42,60,48,0.28);
  --line-soft: rgba(42,60,48,0.14);
  --accent: #8f6f3f;
  --emerald: #15803d;
  --dark: #090a08;
  --white: #fffdf7;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-hand: "Bradley Hand", "Comic Sans MS", "Segoe Print", cursive;
  --radius-card: 2rem;
  --shadow-card: 0 30px 100px rgba(31,33,29,0.08);
  --shadow-dark: 0 40px 120px rgba(0,0,0,0.25);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.studio-home {
  font-family: var(--font);
  color: var(--ink);
  background: #f7f1e8;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ============================================================
   HEADER — Dark sticky
   ============================================================ */
.sa-nav {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(9,10,8,0.95);
  backdrop-filter: blur(24px);
}
.sa-nav-inner {
  width: min(1280px, calc(100% - 40px)); margin: 0 auto;
  min-height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 22px;
}
.sa-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: white; flex-shrink: 0;
}
.sa-brand svg { flex-shrink: 0; height: 70px; width: 264px; color: white; }
.sa-brand-text { display: flex; flex-direction: column; line-height: 1; }
.sa-brand-text strong {
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.24em; color: white;
}
.sa-brand-text span {
  margin-top: 2px; font-size: 12px;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.50);
}

.sa-links {
  display: none; align-items: center; gap: 24px;
  font-size: 14px; color: rgba(255,255,255,0.58);
}
.sa-links a { color: inherit; transition: color 0.2s; }
.sa-links a:hover, .sa-links a.active { color: white; }
@media (min-width: 860px) { .sa-links { display: flex; } }

.sa-links.sa-links-open {
  display: flex; flex-wrap: wrap; gap: 14px;
  position: absolute; top: 68px; left: 0; right: 0;
  background: rgba(9,10,8,0.97); backdrop-filter: blur(16px);
  padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,0.10);
}

.sa-nav-cta {
  padding: 10px 18px; border-radius: 999px;
  background: white; color: var(--dark) !important;
  font-weight: 600; font-size: 13px;
  box-shadow: 0 18px 60px rgba(255,255,255,0.16);
  transition: opacity 0.2s;
}
.sa-nav-cta:hover { opacity: 0.9; }

.sa-nav-login {
  display: none; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.70); font-size: 13px;
  transition: background 0.2s;
}
.sa-nav-login:hover { background: rgba(255,255,255,0.08); color: white; }
@media (min-width: 860px) { .sa-nav-login { display: inline-flex; } }

.sa-mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  padding: 6px; color: rgba(255,255,255,0.70); cursor: pointer;
}
@media (min-width: 860px) { .sa-mobile-toggle { display: none; } }

/* ============================================================
   BLUEPRINT BACKGROUND — animated architectural draft
   ============================================================ */
.sa-blueprint {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.sa-blueprint::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 18% 8%,rgba(120,104,82,0.12),transparent 30%),
              radial-gradient(circle at 86% 12%,rgba(70,82,76,0.10),transparent 26%),
              linear-gradient(to bottom,#fbf7ef,#efe7da);
}
.sa-blueprint svg {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55;
}
.sa-blueprint path {
  fill: none; stroke: var(--ink); stroke-width: 1.1;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: sa-draw 9s linear infinite;
}
.sa-blueprint .bp-grid path { stroke: rgba(42,60,48,0.22); stroke-width: 0.8; animation-duration: 14s; }
.sa-blueprint .bp-site path { stroke: rgba(144,120,91,0.35); stroke-width: 1.4; animation-delay: 0.6s; }
.sa-blueprint .bp-hero path:nth-child(odd) { animation-delay: 0.2s; }
.sa-blueprint .bp-hero path:nth-child(even) { animation-delay: 1.1s; }
.sa-blueprint .bp-mid path { animation-delay: 2.2s; }
.sa-blueprint .bp-pricing path { animation-delay: 3.6s; }
.sa-blueprint .bp-contact path { animation-delay: 5.2s; }
.sa-blueprint::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,rgba(247,241,232,0.15),rgba(247,241,232,0.55) 50%,rgba(247,241,232,0.78));
}

.sa-note {
  position: absolute; font-family: var(--font-hand);
  font-size: clamp(12px, 1.1vw, 17px); color: rgba(31,33,29,0.48);
  font-style: italic; opacity: 0;
  animation: sa-noteIn 11s ease-in-out infinite;
  white-space: nowrap; z-index: 1; pointer-events: none;
}
.sa-n1 { top: 22%; left: 8%; transform: rotate(-5deg); animation-delay: 2s; }
.sa-n2 { top: 34%; right: 13%; transform: rotate(3deg); animation-delay: 3.4s; }
.sa-n3 { top: 62%; left: 12%; transform: rotate(4deg); animation-delay: 5.2s; }
.sa-n4 { top: 78%; right: 8%; transform: rotate(3deg); animation-delay: 6s; }
.sa-n5 { top: 48%; left: 44%; transform: rotate(-2deg); animation-delay: 4.4s; }

@keyframes sa-draw {
  0% { stroke-dashoffset: 1; opacity: 0.25; }
  30% { stroke-dashoffset: 0; opacity: 0.85; }
  70% { stroke-dashoffset: 0; opacity: 0.70; }
  100% { stroke-dashoffset: -1; opacity: 0.20; }
}
@keyframes sa-noteIn {
  0%,10% { opacity: 0; transform: translateY(6px) rotate(-3deg); }
  28%,70% { opacity: 1; transform: translateY(0) rotate(-3deg); }
  100% { opacity: 0; transform: translateY(-4px) rotate(-3deg); }
}

/* ============================================================
   LAYOUT & REVEAL
   ============================================================ */
.sa-wrap {
  position: relative; z-index: 2;
  width: min(1280px, calc(100% - 40px)); margin: 0 auto;
}
.sa-section { padding: 80px 0; }
.sa-section-head { max-width: 840px; margin-bottom: 40px; }

.sa-reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.sa-reveal.sa-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   TYPOGRAPHY — Large, tight tracking
   ============================================================ */
.sa-eyebrow {
  display: inline-block; margin: 0 0 16px;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: rgba(31,33,29,0.42); font-size: 13px; font-weight: 500;
}

.sa-h1 {
  font-size: clamp(42px, 6vw, 80px); line-height: 1.02;
  letter-spacing: -0.055em; font-weight: 600;
}
.sa-h2 {
  font-size: clamp(30px, 4.5vw, 60px); line-height: 1.06;
  letter-spacing: -0.04em; font-weight: 600;
}
.sa-h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.sa-lead { font-size: 18px; line-height: 1.75; color: rgba(31,33,29,0.64); max-width: 720px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.sa-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: white; border-radius: 999px;
  padding: 14px 24px; font-size: 14px; font-weight: 500;
  box-shadow: 0 18px 50px rgba(31,33,29,0.20);
  transition: all 0.3s; text-decoration: none;
}
.sa-btn-primary:hover { transform: scale(1.02); background: #11120f; }

.sa-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(31,33,29,0.12); background: rgba(255,255,255,0.70);
  color: var(--ink); border-radius: 999px;
  padding: 14px 24px; font-size: 14px; font-weight: 500;
  backdrop-filter: blur(12px); transition: all 0.3s; text-decoration: none;
}
.sa-btn-secondary:hover { background: white; }

.sa-btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: white; color: var(--dark); border-radius: 999px;
  padding: 14px 24px; font-size: 14px; font-weight: 500;
  box-shadow: 0 18px 60px rgba(255,255,255,0.16);
  transition: all 0.3s; text-decoration: none;
}
.sa-btn-dark:hover { opacity: 0.9; }

/* ============================================================
   CARDS — Glass morphism
   ============================================================ */
.sa-card {
  background: var(--paper); border: 1px solid rgba(31,33,29,0.10);
  border-radius: var(--radius-card); padding: 24px;
  box-shadow: var(--shadow-card); backdrop-filter: blur(12px);
  transition: transform 0.3s;
}
.sa-card:hover { transform: translateY(-3px); }
.sa-card p { color: var(--muted); line-height: 1.72; font-size: 14px; }

.sa-dark-card {
  background: var(--dark); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-card); padding: 24px;
  box-shadow: var(--shadow-dark); backdrop-filter: blur(24px);
  color: white;
}
.sa-dark-card p { color: rgba(255,255,255,0.55); line-height: 1.72; font-size: 14px; }

.sa-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 16px;
  background: var(--ink); color: white;
  font-size: 14px; font-weight: 600; margin-bottom: 20px;
}

.sa-icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 16px;
  border: 1px solid rgba(31,33,29,0.10); background: rgba(31,33,29,0.05);
  color: rgba(31,33,29,0.75); margin-bottom: 20px;
}

/* ============================================================
   GRIDS
   ============================================================ */
.sa-grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.sa-grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.sa-grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.sa-grid-split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.sa-grid-hero { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }

@media (min-width: 640px) {
  .sa-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .sa-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .sa-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .sa-grid-split { grid-template-columns: 1fr 1.2fr; }
}
@media (min-width: 1024px) {
  .sa-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .sa-grid-hero { grid-template-columns: 1.02fr 0.98fr; }
}

/* ============================================================
   HERO — Home page
   ============================================================ */
.sa-hero { padding: 64px 0 96px; }
.sa-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 28px; }
.sa-hero-checks {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 14px; color: rgba(31,33,29,0.55);
}
.sa-hero-check {
  display: inline-flex; align-items: center; gap: 6px;
}
.sa-hero-check svg { color: var(--emerald); flex-shrink: 0; }

.sa-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(31,33,29,0.10); background: rgba(255,255,255,0.72);
  border-radius: 999px; padding: 10px 18px; font-size: 14px;
  color: rgba(31,33,29,0.70); backdrop-filter: blur(12px); margin-bottom: 28px;
}
.sa-pill svg { color: var(--accent); }

/* Hero Visual — Plan → 3D animated card */
.sa-hero-visual {
  position: relative; height: 460px; border-radius: 2.5rem;
  border: 1px solid rgba(31,33,29,0.10);
  background: radial-gradient(circle at 30% 20%,rgba(31,33,29,0.12),transparent 32%),
              linear-gradient(145deg,rgba(255,255,255,0.86),rgba(255,255,255,0.42));
  padding: 20px; box-shadow: 0 40px 120px rgba(31,33,29,0.18);
  backdrop-filter: blur(24px); overflow: hidden;
}
.sa-hero-visual::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(31,33,29,0.035) 1px,transparent 1px),
              linear-gradient(90deg,rgba(31,33,29,0.035) 1px,transparent 1px);
  background-size: 38px 38px; opacity: 0.8;
}

.sa-hv-plan {
  position: absolute; left: 40px; top: 48px;
  width: 210px; height: 250px; border-radius: 24px;
  border: 1px solid rgba(31,33,29,0.12);
  background: rgba(255,255,255,0.55); padding: 16px;
  box-shadow: 0 20px 60px rgba(31,33,29,0.12);
  transform: perspective(800px) rotateX(12deg) rotateZ(-3deg);
  animation: sa-fadeSlideUp 0.9s ease both;
}
.sa-hv-plan-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
  color: rgba(31,33,29,0.55); margin-bottom: 16px;
}
.sa-hv-plan-blocks { display: grid; gap: 12px; }
.sa-hv-block { border-radius: 12px; border: 1px solid rgba(31,33,29,0.15); background: rgba(239,231,218,0.5); }
.sa-hv-plan-tag {
  position: absolute; bottom: -16px; left: 28px;
  border-radius: 999px; border: 1px solid rgba(31,33,29,0.10);
  background: rgba(255,255,255,0.80); padding: 4px 12px;
  font-size: 12px; color: rgba(31,33,29,0.60); backdrop-filter: blur(12px);
}

.sa-hv-model {
  position: absolute; bottom: 40px; right: 28px;
  width: 300px; height: 295px; border-radius: 2rem;
  border: 1px solid rgba(31,33,29,0.10);
  background: rgba(255,255,255,0.70); padding: 20px;
  box-shadow: 0 35px 90px rgba(31,33,29,0.14);
  transform: perspective(800px) rotateX(18deg) rotateZ(8deg);
  animation: sa-fadeSlideRight 1s 0.2s ease both;
}
.sa-hv-model-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
  color: rgba(31,33,29,0.55); margin-bottom: 20px;
}
.sa-hv-floors { position: relative; height: 215px; }
.sa-hv-floor {
  position: absolute; left: 32px; width: 176px; height: 80px;
  border-radius: 12px; border: 1px solid rgba(31,33,29,0.10);
  background: linear-gradient(135deg,rgba(31,33,29,0.18),rgba(31,33,29,0.04));
  box-shadow: 0 8px 24px rgba(31,33,29,0.10);
  transform: skewX(-14deg);
  animation: sa-floorUp 0.7s ease both;
}
.sa-hv-floor:nth-child(1) { bottom: 32px; animation-delay: 0.45s; }
.sa-hv-floor:nth-child(2) { bottom: 80px; animation-delay: 0.57s; }
.sa-hv-floor:nth-child(3) { bottom: 128px; animation-delay: 0.69s; }
.sa-hv-glow {
  position: absolute; bottom: 8px; left: 0;
  width: 192px; height: 56px; border-radius: 12px;
  background: rgba(134,239,172,0.25); filter: blur(20px);
}
.sa-hv-sun {
  position: absolute; right: 36px; top: 16px;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(215,196,166,0.35);
}

.sa-hv-badge {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%); display: flex; align-items: center; gap: 8px;
  border-radius: 999px; border: 1px solid rgba(31,33,29,0.10);
  background: rgba(31,33,29,0.88); padding: 10px 18px;
  font-size: 14px; color: rgba(255,255,255,0.85);
  box-shadow: 0 12px 40px rgba(31,33,29,0.25); backdrop-filter: blur(12px);
  animation: sa-badgePop 0.55s 0.85s ease both;
}
.sa-hv-badge svg { color: #e6d1a7; }

@keyframes sa-fadeSlideUp { from { opacity: 0; transform: perspective(800px) rotateX(14deg) rotateZ(-4deg) scale(0.96); } }
@keyframes sa-fadeSlideRight { from { opacity: 0; transform: perspective(800px) rotateX(18deg) rotateZ(8deg) translateX(40px) translateY(30px); } }
@keyframes sa-floorUp { from { opacity: 0; transform: skewX(-14deg) translateY(28px); } }
@keyframes sa-badgePop { from { opacity: 0; transform: translate(-50%,-50%) scale(0.9); } }

/* ============================================================
   JADE SCORE CARD
   ============================================================ */
.sa-jade-scorecard { position: relative; overflow: hidden; }
.sa-jade-scorecard .sa-jade-glow {
  position: absolute; right: -40px; top: -40px;
  width: 128px; height: 128px; border-radius: 50%;
  background: rgba(134,239,172,0.25); filter: blur(48px);
}
.sa-jade-scorecard-head {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px;
}
.sa-jade-scorecard-label { font-size: 14px; color: var(--muted); }
.sa-jade-scorecard-title { font-size: 20px; font-weight: 600; margin-top: 4px; }
.sa-jade-scorecard-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 16px;
  border: 1px solid rgba(21,128,61,0.15); background: rgba(220,252,231,0.60);
  color: #166534;
}
.sa-jade-scorecard-value { display: flex; align-items: flex-end; gap: 12px; }
.sa-jade-scorecard-num { font-size: 60px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.sa-jade-scorecard-status { font-size: 14px; color: rgba(21,128,61,0.75); padding-bottom: 8px; }
.sa-jade-bar { height: 8px; border-radius: 999px; background: rgba(31,33,29,0.08); margin-top: 24px; overflow: hidden; }
.sa-jade-bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#22c55e,var(--ink)); width: 0; transition: width 1.2s ease; }
.sa-jade-bar-fill.sa-visible { width: 82%; }

/* ============================================================
   PROCESS STEPS — vertical with line
   ============================================================ */
.sa-steps-vertical { display: grid; gap: 0; }
.sa-step {
  display: flex; gap: 20px; position: relative;
}
.sa-step::before {
  content: ''; position: absolute; left: 21px; top: 48px;
  width: 1px; height: calc(100% - 48px);
  background: linear-gradient(to bottom,rgba(31,33,29,0.18),transparent);
}
.sa-step:last-child::before { display: none; }
.sa-step-num {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px; border: 1px solid rgba(31,33,29,0.10);
  background: rgba(255,255,255,0.80); font-size: 14px; font-weight: 600;
}
.sa-step-content { padding-bottom: 36px; }
.sa-step-content h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.sa-step-content p { font-size: 14px; line-height: 1.72; color: var(--muted); max-width: 560px; }

/* ============================================================
   PRICING / TARIFS
   ============================================================ */
.sa-price-card { display: flex; flex-direction: column; min-height: 480px; }
.sa-price-card-label { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.sa-price-card h3 { font-size: 24px; font-weight: 600; }
.sa-price { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; margin: 20px 0; }
.sa-price-note { color: var(--muted); font-size: 14px; min-height: 48px; line-height: 1.5; }
.sa-price-card ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.sa-price-card li {
  display: flex; gap: 8px; align-items: flex-start;
  color: rgba(31,33,29,0.65); font-size: 14px;
}
.sa-price-card li svg { color: var(--emerald); flex-shrink: 0; margin-top: 2px; }
.sa-price-card .sa-btn-primary { margin-top: auto; width: 100%; text-align: center; }
.sa-price-card-featured { border: 2px solid rgba(31,33,29,0.20); }

/* ============================================================
   POINTS LIST (check marks)
   ============================================================ */
.sa-points { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
.sa-points li {
  display: flex; gap: 8px; align-items: flex-start;
  color: rgba(31,33,29,0.60); font-size: 14px; line-height: 1.6;
}
.sa-points li::before {
  content: "\2713"; color: var(--emerald); font-weight: 700; flex-shrink: 0;
}

/* ============================================================
   CTA BLOCK — Dark banner
   ============================================================ */
.sa-cta-dark {
  position: relative; overflow: hidden;
  border-radius: 2.5rem; padding: 48px;
  background: var(--dark); color: white;
  box-shadow: var(--shadow-dark);
}
.sa-cta-dark::before {
  content: ''; position: absolute; right: -96px; top: -96px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.10); filter: blur(48px);
}
.sa-cta-dark .sa-eyebrow { color: rgba(255,255,255,0.35); }
.sa-cta-dark .sa-h2 { color: white; }
.sa-cta-dark p { color: rgba(255,255,255,0.55); font-size: 16px; line-height: 1.75; }
.sa-cta-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .sa-cta-grid { grid-template-columns: 1fr auto; align-items: end; } }

/* ============================================================
   PAGE HERO (inner pages) — aligned left, full width of .sa-wrap
   ============================================================ */
.sa-page-hero { padding: 80px 0 48px; max-width: none; text-align: left; }

/* ============================================================
   FOOTER — Dark 3-column
   ============================================================ */
.sa-footer {
  position: relative; z-index: 10;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: var(--dark); padding: 48px 20px; color: white;
}
.sa-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 768px) { .sa-footer-inner { grid-template-columns: 1.2fr 0.8fr 0.8fr; } }
.sa-footer p { color: rgba(255,255,255,0.48); font-size: 14px; line-height: 1.72; margin-top: 20px; max-width: 420px; }
.sa-footer-col-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.sa-footer-links { display: grid; gap: 8px; }
.sa-footer-links a, .sa-footer-links span {
  font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; cursor: pointer;
}
.sa-footer-links a:hover { color: white; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.sa-form-group { margin-bottom: 16px; }
.sa-form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.sa-form-input, .sa-form-select, .sa-form-textarea {
  width: 100%; padding: 16px; border: 1px solid rgba(31,33,29,0.10);
  border-radius: 16px; font-size: 14px; font-family: var(--font);
  background: rgba(255,255,255,0.80); color: var(--ink); transition: border-color 0.2s;
}
.sa-form-input:focus, .sa-form-select:focus, .sa-form-textarea:focus {
  outline: none; border-color: rgba(31,33,29,0.28);
}
.sa-form-textarea { min-height: 130px; resize: vertical; }
.sa-form-upload {
  border: 1px dashed rgba(31,33,29,0.18); border-radius: 1.5rem;
  background: rgba(255,255,255,0.55); padding: 32px; text-align: center;
  margin-bottom: 16px;
}
.sa-form-upload p { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* ============================================================
   FILE TAGS
   ============================================================ */
.sa-file-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; justify-content: center; }
.sa-file-tag {
  border-radius: 999px; background: rgba(31,33,29,0.07);
  padding: 6px 14px; font-size: 12px; color: rgba(31,33,29,0.62);
}

/* ============================================================
   JADE FLOATING CHAT
   ============================================================ */
.sa-jade-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 360px;
}
.sa-jade-panel {
  background: rgba(255,253,247,0.94); backdrop-filter: blur(16px);
  border: 1px solid rgba(28,33,29,0.08); border-radius: 26px;
  padding: 20px; box-shadow: 0 16px 60px rgba(50,42,32,0.10);
}
.sa-jade-chat-panel { display: flex; flex-direction: column; max-height: 520px; }
.sa-jade-head { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.sa-jade-head strong { font-size: 14px; }
.sa-jade-head small { display: block; color: var(--muted); margin-top: 2px; font-size: 11px; }
.sa-jade-dot {
  width: 10px; height: 10px; background: #61b981; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(97,185,129,0.12); flex-shrink: 0;
}
.sa-jade-messages {
  flex: 1; overflow-y: auto; min-height: 180px; max-height: 340px;
  display: flex; flex-direction: column; gap: 10px;
  padding: 4px 0 8px; margin-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: rgba(28,33,29,0.12) transparent;
}
.sa-jade-msg {
  font-size: 13px; line-height: 1.55; padding: 10px 14px; border-radius: 18px;
  max-width: 88%; word-wrap: break-word;
}
.sa-jade-msg-bot {
  background: rgba(28,33,29,0.05); color: var(--ink); align-self: flex-start;
  border-bottom-left-radius: 6px;
}
.sa-jade-msg-user {
  background: var(--ink); color: white; align-self: flex-end;
  border-bottom-right-radius: 6px;
}
.sa-jade-typing { display: flex; gap: 4px; align-items: center; padding: 12px 18px; }
.sa-jade-typing span {
  width: 6px; height: 6px; background: var(--muted); border-radius: 50%;
  animation: jadeBounce 1.2s infinite;
}
.sa-jade-typing span:nth-child(2) { animation-delay: 0.2s; }
.sa-jade-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes jadeBounce { 0%,80%,100% { opacity: 0.3; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1.1); } }
.sa-jade-input-wrap {
  display: flex; gap: 8px; align-items: center;
  border-top: 1px solid rgba(28,33,29,0.06); padding-top: 12px;
}
.sa-jade-input {
  flex: 1; border: 1px solid rgba(28,33,29,0.10); border-radius: 20px;
  padding: 10px 16px; font-size: 13px; font-family: var(--font);
  background: var(--white); outline: none; color: var(--ink);
}
.sa-jade-input:focus { border-color: rgba(28,33,29,0.25); }
.sa-jade-input:disabled { opacity: 0.5; }
.sa-jade-send {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--ink); color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: opacity 0.15s;
}
.sa-jade-send:hover { opacity: 0.85; }
.sa-jade-send:disabled { opacity: 0.4; cursor: not-allowed; }

.sa-jade-trigger {
  position: fixed; right: 24px; bottom: 24px; z-index: 29;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(28,33,29,0.18); cursor: pointer; border: none;
  transition: transform 0.2s ease;
}
.sa-jade-trigger:hover { transform: scale(1.06); }
.sa-jade-badge {
  position: absolute; top: -2px; right: -2px;
  width: 12px; height: 12px; background: #61b981;
  border-radius: 50%; border: 2px solid var(--white);
}

/* ============================================================
   JADE EMBEDDED CHAT (Contact page — Terra style)
   ============================================================ */
.sa-jade-embedded {
  border-radius: var(--radius-card); border: 1px solid rgba(31,33,29,0.10);
  background: var(--paper); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card); overflow: hidden;
  display: flex; flex-direction: column; min-height: 480px;
}
.sa-jade-embedded .sa-jade-head { padding: 20px 24px 0; }
.sa-jade-embedded .sa-jade-messages {
  flex: 1; padding: 12px 24px; min-height: 280px; max-height: 420px;
}
.sa-jade-embedded .sa-jade-input-wrap { padding: 12px 24px 16px; border-top: 1px solid rgba(31,33,29,0.06); }
.sa-jade-welcome {
  text-align: center; padding: 24px 16px; color: var(--muted); font-size: 14px; line-height: 1.7;
}
.sa-jade-quick-actions {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px;
}
.sa-jade-quick-btn {
  border: 1px solid rgba(31,33,29,0.12); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; color: var(--ink);
  background: rgba(255,255,255,0.60); transition: all 0.2s;
}
.sa-jade-quick-btn:hover { background: white; border-color: rgba(31,33,29,0.20); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .sa-hero-visual { display: none; }
  .sa-grid-split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .sa-section { padding: 48px 0; }
  .sa-cta-dark { padding: 28px; border-radius: 1.5rem; }
  .sa-card { padding: 20px; border-radius: 1.5rem; }
  .sa-page-hero { padding: 48px 0 32px; }
  .sa-jade-float { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}

/* Score + Positioning grid — side by side */
.sa-grid-score-pos { grid-template-columns: 1fr !important; }
@media (min-width: 768px) { .sa-grid-score-pos { grid-template-columns: 1fr 2fr !important; } }

/* Legacy compat — BO pages */
.studio-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
