/* ============================================
   SANCOE CONSULTING — Shared Stylesheet
   ============================================ */

/* ── Variables / Design Tokens ── */
:root {
  --background: hsl(155, 30%, 96%);
  --foreground: hsl(210, 18%, 20%);
  --card: hsl(155, 25%, 97%);
  --card-foreground: hsl(210, 18%, 20%);
  --primary: hsl(163, 35%, 36%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(155, 20%, 92%);
  --secondary-foreground: hsl(163, 35%, 32%);
  --muted: hsl(155, 15%, 93%);
  --muted-foreground: hsl(210, 10%, 45%);
  --accent: hsl(28, 78%, 57%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(155, 15%, 88%);
  --input: hsl(155, 15%, 88%);
  --radius: 0.5rem;
  --font-sans: 'DM Sans', sans-serif;
  --font-display: 'Playfair Display', serif;
  --container-max: 1400px;
  --container-padding: 2rem;
}

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

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

button {
  font-family: var(--font-sans);
}

/* ── Animations ── */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes scale-in {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.5s ease-out both;
}

.animate-scale-in {
  animation: scale-in 0.3s ease-out both;
}

.animate-slide-up {
  animation: slide-up 0.6s ease-out both;
}

.hover-scale {
  transition: transform 0.2s;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Staggered delay helpers */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

.delay-6 {
  animation-delay: 0.6s;
}

.delay-7 {
  animation-delay: 0.7s;
}

/* Story link underline animation */
.story-link {
  position: relative;
  display: inline-block;
}

.story-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--primary);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.story-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ── Layout ── */
.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.max-w-2xl {
  max-width: 672px;
}

.max-w-3xl {
  max-width: 768px;
}

.max-w-4xl {
  max-width: 896px;
}

.max-w-5xl {
  max-width: 1024px;
}

/* ============================================
       HEADER / NAVBAR
       ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0F3E33;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
  color: #ffffff;

}

.nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  z-index: 999;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: #333;
}

.nav-dropdown-menu a:hover {
  background: #0F3E33;
}

.header-login {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: transparent;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s;
}

.header-login:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-cta:hover {
  opacity: 0.9;
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--foreground);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
}

.user-menu {
  position: relative;
  margin-left: 15px;
}

.avatar-btn {
  border: none;
  background: none;
  cursor: pointer;
}

.avatar-btn img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 55px;
  width: 200px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.user-dropdown {
  z-index: 99999;
}

.user-dropdown a,
.user-dropdown button {
  padding: 12px 15px;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: #f3f3f3;
}

.user-menu.active .user-dropdown {
  display: flex !important;
}

@media (max-width: 1023px) {

  .nav,
  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-nav.open {
    display: block;
    border-top: 1px solid var(--border);
    padding: 16px var(--container-padding);
  }

  .mobile-nav a {
    display: block;
    padding: 10px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s;
  }

  .mobile-nav a:hover {
    color: var(--primary);
    background: var(--secondary);
  }

  .mobile-nav .sub-link {
    padding-left: 28px;
    color: var(--muted-foreground);
    font-weight: 400;
  }

  .mobile-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    padding: 12px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 40px;
  font-size: 1.05rem;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  opacity: 0.9;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  color: var(--primary-foreground);
}

.btn-outline:hover {
  background: hsla(0, 0%, 100%, 0.1);
}

.btn-outline-border {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline-border:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-dark {
  background: var(--accent-foreground);
  color: var(--accent);
}

.btn-dark:hover {
  opacity: 0.9;
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid hsla(0, 0%, 100%, 0.4);
  color: var(--accent-foreground);
}

.btn-outline-dark:hover {
  background: hsla(0, 0%, 100%, 0.1);
}

.btn-full {
  width: 100%;
}

/* ── Page Hero ── */
/* ── Page Hero (ph-) ───────────────────────────── */

.ph-hero {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.ph-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ph-content {
  position: relative;
  z-index: 2;
}

.ph-fade-in {
  animation: ph-fadeUp 0.8s ease forwards;
}

@keyframes ph-fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ph-building {
  animation: ph-buildRise 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-origin: bottom;
  opacity: 0;
}

.ph-b1 {
  animation-delay: 0.1s;
}

.ph-b2 {
  animation-delay: 0.2s;
}

.ph-b3 {
  animation-delay: 0.0s;
}

.ph-b4 {
  animation-delay: 0.3s;
}

.ph-b5 {
  animation-delay: 0.15s;
}

.ph-b6 {
  animation-delay: 0.25s;
}

@keyframes ph-buildRise {
  from {
    opacity: 0;
    transform: scaleY(0.3);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.ph-win {
  animation: ph-winBlink 3s ease-in-out infinite;
}

.ph-w1 {
  animation-delay: 0s;
}

.ph-w2 {
  animation-delay: 0.6s;
}

.ph-w3 {
  animation-delay: 1.2s;
}

.ph-w4 {
  animation-delay: 1.8s;
}

.ph-w5 {
  animation-delay: 2.4s;
}

@keyframes ph-winBlink {

  0%,
  100% {
    opacity: 0.18;
  }

  50% {
    opacity: 0.55;
  }
}

.ph-grid {
  animation: ph-gridFade 2s ease forwards;
  opacity: 0;
}

.ph-g1 {
  animation-delay: 0.5s;
}

.ph-g2 {
  animation-delay: 0.7s;
}

.ph-g3 {
  animation-delay: 0.9s;
}

@keyframes ph-gridFade {
  to {
    opacity: 1;
  }
}

.ph-dot {
  animation: ph-dotPulse 2.5s ease-in-out infinite;
}

.ph-d1 {
  animation-delay: 0s;
}

.ph-d2 {
  animation-delay: 0.8s;
}

.ph-d3 {
  animation-delay: 1.6s;
}

@keyframes ph-dotPulse {

  0%,
  100% {
    r: 3;
    opacity: 0.3;
  }

  50% {
    r: 5;
    opacity: 0.7;
  }
}

.ph-crane {
  animation: ph-craneSway 6s ease-in-out infinite;
  transform-origin: 50% 100%;
}

@keyframes ph-craneSway {

  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2deg);
  }
}

.ph-plan {
  animation: ph-planDraw 1.8s ease forwards;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.ph-pl1 {
  animation-delay: 1s;
}

.ph-pl2 {
  animation-delay: 1.3s;
}

.ph-pl3 {
  animation-delay: 1.6s;
}

@keyframes ph-planDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Fix hero text colors */
.ph-badge {
  display: inline-block;
  background: rgba(224, 137, 42, 0.2);
  color: #e0892a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(224, 137, 42, 0.4);
  margin-bottom: 10px;
}

.ph-hero h1 {
  color: #ffffff !important;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.ph-accent {
  color: #e0892a;
}

.ph-hero p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
}

/* ── Cards ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
  height: 100%;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: hsla(163, 35%, 36%, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.2s;
}

.card:hover .card-icon {
  background: hsla(163, 35%, 36%, 0.1);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.2s;
}

.card:hover .card-link {
  gap: 8px;
}

.card-link svg {
  width: 16px;
  height: 16px;
}

/* ── Grids ── */
.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Forms ── */
.input,
.textarea,
.select {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px hsla(163, 35%, 36%, 0.15);
}

.textarea {
  resize: vertical;
  min-height: 120px;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  margin-bottom: 20px;
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-accent {
  background: hsla(28, 78%, 57%, 0.1);
  color: var(--accent);
  border: 1px solid hsla(28, 78%, 57%, 0.3);
}

.badge-primary {
  background: hsla(163, 35%, 36%, 0.1);
  color: var(--primary);
  border: 1px solid hsla(163, 35%, 36%, 0.2);
}

/* ── Section helpers ── */
.section {
  padding: 64px 0;
}

.section-lg {
  padding: 80px 0;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.bg-secondary-section {
  background: var(--secondary);
}

.bg-primary-section {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* ── Tabs ── */
.tab-bar {
  display: inline-flex;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--secondary);
  padding: 4px;
  gap: 4px;
}

.tab-btn {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  background: transparent;
  color: var(--muted-foreground);
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--foreground);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ── Category filter pills ── */
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: var(--secondary-foreground);
  transition: all 0.2s;
}

.filter-pill:hover {
  background: hsla(163, 35%, 36%, 0.1);
}

.filter-pill.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.filter-pill svg {
  width: 14px;
  height: 14px;
}

/* ── Info box ── */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
}

.info-box-accent {
  background: hsla(28, 78%, 57%, 0.1);
  border: 1px solid hsla(28, 78%, 57%, 0.2);
}

.info-box-primary {
  background: hsla(163, 35%, 36%, 0.05);
  border: 1px solid hsla(163, 35%, 36%, 0.2);
}

.info-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box p {
  font-size: 0.875rem;
}

/* ── Check list ── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Process steps ── */
.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Sticky sidebar ── */
.sticky-sidebar {
  position: sticky;
  top: 96px;
}

/* ── Footer ── */
/* ============================================
       FOOTER
       ============================================ */
.footer {
  background: #0F3E33;
  color: var(--primary-foreground);
}

.footer .container {
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer ul a {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
}


.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding: 20px var(--container-padding);
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.5);
}




@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
  }
}

.footer-bottom a {
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/* ── Toast notification ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--foreground);
  color: var(--background);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 100;
  animation: fade-in 0.3s ease-out, fade-out 0.3s ease-out 2.7s forwards;
  max-width: 360px;
}

.toast-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.toast-desc {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ── Accordion / Expandable Q&A ── */
.qa-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

.qa-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  padding-top: 0;
}

.qa-answer.open {
  max-height: 500px;
  opacity: 1;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── Locked overlay ── */
.locked-overlay {
  position: relative;
}

.locked-overlay .locked-items {
  pointer-events: none;
  user-select: none;
}

.locked-overlay .lock-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, var(--background), hsla(155, 30%, 96%, 0.8), transparent);
  border-radius: var(--radius);
}

.lock-cover svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-bottom: 12px;
}

.lock-cover p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 280px;
}

.lock-cover .lock-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 4px;
  color: var(--foreground);
}

/* ── Utility ── */
.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 12px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-10 {
  margin-bottom: 40px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-6 {
  margin-top: 24px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-12 {
  margin-top: 48px;
}

.pt-8 {
  padding-top: 32px;
}

.gap-8 {
  gap: 32px;
}

.space-y-4>*+* {
  margin-top: 16px;
}

.space-y-3>*+* {
  margin-top: 12px;
}

.space-y-6>*+* {
  margin-top: 24px;
}

.space-y-8>*+* {
  margin-top: 32px;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-muted {
  color: var(--muted-foreground);
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-relaxed {
  line-height: 1.75;
}

.underline {
  text-decoration: underline;
}

.rounded-xl {
  border-radius: 0.75rem;
}

/* DESKTOP */
.mobile-header-actions {
  display: none;
}

/* MOBILE */
@media (max-width: 992px) {

  .header-actions {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto !important;
  }

}

/* ── Consultation Multi-Step Form ── */
.consult-page {
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0fdf4 100%);
  padding: 3rem 1.5rem;
}

.consult-container {
  max-width: 720px;
  margin: 0 auto;
}

/* Progress Stepper */
.consult-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.consult-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.consult-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border: 2.5px solid #cbd5e1;
  background: #fff;
  color: #94a3b8;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.consult-step.active .consult-step-circle {
  border-color: var(--primary, #1e3a5f);
  background: var(--primary, #1e3a5f);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(30, 58, 95, 0.12);
  transform: scale(1.08);
}

.consult-step.completed .consult-step-circle {
  border-color: #22c55e;
  background: #22c55e;
  color: #fff;
}

.consult-step-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.3s;
  white-space: nowrap;
}

.consult-step.active .consult-step-label {
  color: var(--primary, #1e3a5f);
}

.consult-step.completed .consult-step-label {
  color: #22c55e;
}

.consult-step-line {
  width: 60px;
  height: 3px;
  background: #e2e8f0;
  margin: 0 0.25rem;
  border-radius: 4px;
  transition: background 0.4s;
}

.consult-step-line.filled {
  background: #22c55e;
}

@media (max-width: 600px) {
  .consult-step-label {
    display: none;
  }

  .consult-step-line {
    width: 36px;
  }
}

/* Card Container */
.consult-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  animation: consultFadeIn 0.5s ease;
}

.consult-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary, #1e3a5f), #3b82f6, #22c55e);
}

@keyframes consultFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.consult-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground, #1a1a2e);
  margin-bottom: 0.25rem;
}

.consult-card-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 2rem;
}

/* Form Fields */
.consult-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.consult-form-grid.single {
  grid-template-columns: 1fr;
}

@media (max-width: 600px) {
  .consult-form-grid {
    grid-template-columns: 1fr;
  }
}

.consult-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.consult-field.full-width {
  grid-column: 1 / -1;
}

.consult-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.consult-field label .required {
  color: #ef4444;
}

.consult-field label svg {
  width: 15px;
  height: 15px;
  color: #94a3b8;
}

.consult-input,
.consult-select,
.consult-textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-family: 'DM Sans', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  transition: all 0.25s ease;
  outline: none;
  width: 100%;
}

.consult-input:focus,
.consult-select:focus,
.consult-textarea:focus {
  border-color: var(--primary, #1e3a5f);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.08);
}

.consult-input.error,
.consult-select.error,
.consult-textarea.error {
  border-color: #ef4444;
}

.consult-error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  min-height: 1rem;
}

.consult-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Date & Time Picker Row */
.consult-datetime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .consult-datetime {
    grid-template-columns: 1fr;
  }
}

/* Service Type Cards */
.consult-service-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
}

@media (max-width: 600px) {
  .consult-service-options {
    grid-template-columns: 1fr;
  }
}

.consult-service-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.consult-service-card:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateY(-2px);
}

.consult-service-card.selected {
  border-color: var(--primary, #1e3a5f);
  background: rgba(30, 58, 95, 0.05);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.consult-service-card input {
  display: none;
}

.consult-service-icon {
  font-size: 1.75rem;
  margin-bottom: 0.375rem;
}

.consult-service-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

/* Payment Card Section */
.consult-payment-box {
  background: linear-gradient(135deg, #f1f5f9, #eef2ff);
  border-radius: 14px;
  padding: 1.5rem;
  margin-top: 0.5rem;
}

.consult-payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.consult-payment-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}

.consult-card-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.consult-card-icons span {
  font-size: 1.5rem;
}

.consult-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .consult-card-row {
    grid-template-columns: 1fr;
  }
}

/* Summary Section */
.consult-summary {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.consult-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.consult-summary-row .label {
  color: #64748b;
}

.consult-summary-row .value {
  font-weight: 600;
  color: #1e293b;
}

.consult-summary-row.total {
  border-top: 2px solid #e2e8f0;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.consult-summary-row.total .value {
  font-size: 1.125rem;
  color: var(--primary, #1e3a5f);
}

/* Buttons */
.consult-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.consult-btn {
  padding: 0.8rem 2rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.consult-btn-back {
  background: #f1f5f9;
  color: #475569;
}

.consult-btn-back:hover {
  background: #e2e8f0;
}

.consult-btn-next {
  background: var(--primary, #1e3a5f);
  color: #fff;
  margin-left: auto;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.2);
}

.consult-btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 58, 95, 0.3);
}

.consult-btn-next:active {
  transform: translateY(0);
}

.consult-btn-submit {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  margin-left: auto;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
}

.consult-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}

/* Step Panel Transition */
.consult-step-panel {
  display: none;
  animation: consultSlideIn 0.4s ease;
}

.consult-step-panel.active {
  display: block;
}

@keyframes consultSlideIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Trust Badges */
.consult-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.consult-trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #64748b;
}

.consult-trust-item svg {
  width: 16px;
  height: 16px;
  color: #22c55e;
}

/* Success State */
.consult-success {
  text-align: center;
  padding: 3rem 1rem;
}

.consult-success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: consultBounce 0.6s ease;
}

.consult-success-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

@keyframes consultBounce {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.consult-success h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.consult-success p {
  color: #64748b;
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}

.alert-success {
  background-color: #e6f9f0;
  color: #1a7f5a;
  border: 1px solid #b6efd5;
}

.alert-error {
  background-color: #fdecea;
  color: #b42318;
  border: 1px solid #f5c2c7;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 20px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked+.slider {
  background-color: #28a745;
}

input:checked+.slider:before {
  transform: translateX(20px);
}

.alert-success {
  background: #e6f7ee;
  color: #1f7a4d;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #b6e2c7;
}

.alert-error {
  background: #fdecea;
  color: #b42318;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #f5c2c7;
}

/* ===== FORCE NAVBAR LINKS WHITE EVERYWHERE ===== */

.header .nav a,
.header .mobile-nav a,
.header .nav-dropdown a,
.header .mobile-submenu a {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Hover state */
.header .nav a:hover,
.header .mobile-nav a:hover {
  color: #ffffff !important;
  opacity: 0.8 !important;
}

/* Active link */
.header .nav a.active {
  color: #ffffff !important;
}

/* Dropdown items */
/* ── Fix: nav dropdown text colour ── */
.header .nav-dropdown-menu a {
  color: #1e293b !important;
}

.header .nav-dropdown-menu a:hover {
  color: #ffffff !important;
  background: #0F3E33 !important;
}

.login-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);

  display: none;
  /* IMPORTANT */
  align-items: center;
  justify-content: center;

  z-index: 99999;
  /* VERY IMPORTANT */
}

.popup-content {
  position: relative;
  /* REQUIRED for X button */
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 18px;
  cursor: pointer;
  color: red;
  font-weight: bold;
}

.user-dropdown a,
.user-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: #1e293b;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: #f1f5f9;
}

.user-dropdown .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-dropdown .icon svg {
  width: 22px;
  height: 22px;
}

.user-dropdown a,
.user-dropdown button {
  gap: 12px;
}

.user-dropdown .icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-dropdown a:hover .icon {
  background: #0F3E33;
}

.user-dropdown a:hover svg {
  stroke: white;
}

.logout-btn {
  width: 100%;
  text-align: left;
}

/* =============================================
   HERO — Enhanced: Photo + Aurora + Particles
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: hsl(163, 45%, 8%);
}

/* Layer 1: Architecture photo */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=80');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  animation: photo-drift 30s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes photo-drift {
  0% {
    transform: scale(1.08) translate(0%, 0%);
  }

  50% {
    transform: scale(1.1) translate(-1.5%, -1%);
  }

  100% {
    transform: scale(1.08) translate(1%, 0.5%);
  }
}

/* Layer 2: Aurora gradients */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  z-index: 1;
  background:
    radial-gradient(ellipse 65% 55% at 15% 55%, hsla(163, 60%, 20%, 0.88) 0%, transparent 65%),
    radial-gradient(ellipse 55% 65% at 82% 28%, hsla(163, 48%, 14%, 0.78) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 58% 82%, hsla(28, 65%, 18%, 0.52) 0%, transparent 55%),
    radial-gradient(ellipse 75% 75% at 5% 92%, hsla(163, 38%, 10%, 0.92) 0%, transparent 65%);
  animation: aurora-shift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora-shift {
  0% {
    transform: translate(0%, 0%) scale(1);
  }

  25% {
    transform: translate(2.5%, -1.5%) scale(1.03);
  }

  50% {
    transform: translate(-1.5%, 2%) scale(0.98);
  }

  75% {
    transform: translate(1.5%, -2.5%) scale(1.02);
  }

  100% {
    transform: translate(-1%, 1%) scale(1.01);
  }
}

/* Layer 3: Blueprint line grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.13;
  background-image:
    linear-gradient(hsla(163, 75%, 65%, 1) 1px, transparent 1px),
    linear-gradient(90deg, hsla(163, 75%, 65%, 1) 1px, transparent 1px);
  background-size: 48px 48px;
  /* Fade: visible over the photo area, dissolves toward left content side */
  mask-image: radial-gradient(ellipse 90% 95% at 60% 50%, black 10%, rgba(0, 0, 0, 0.6) 45%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 95% at 60% 50%, black 10%, rgba(0, 0, 0, 0.6) 45%, transparent 75%);
  pointer-events: none;
}

/* Layer 4: Floating geometry */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border: 1px solid hsla(163, 60%, 60%, 0.18);
  border-radius: 2px;
  animation: float-particle linear infinite;
}

.hero-particle:nth-child(1) {
  width: 56px;
  height: 56px;
  top: 14%;
  left: 7%;
  animation-duration: 24s;
  animation-delay: -4s;
  opacity: .5;
}

.hero-particle:nth-child(2) {
  width: 22px;
  height: 22px;
  top: 22%;
  left: 74%;
  animation-duration: 19s;
  animation-delay: -8s;
  opacity: .35;
  border-radius: 50%;
}

.hero-particle:nth-child(3) {
  width: 72px;
  height: 3px;
  top: 58%;
  left: 83%;
  animation-duration: 28s;
  animation-delay: -12s;
  opacity: .28;
}

.hero-particle:nth-child(4) {
  width: 36px;
  height: 36px;
  top: 72%;
  left: 18%;
  animation-duration: 21s;
  animation-delay: -6s;
  opacity: .38;
  transform: rotate(45deg);
}

.hero-particle:nth-child(5) {
  width: 3px;
  height: 72px;
  top: 8%;
  left: 52%;
  animation-duration: 32s;
  animation-delay: -17s;
  opacity: .22;
}

.hero-particle:nth-child(6) {
  width: 14px;
  height: 14px;
  top: 82%;
  left: 62%;
  animation-duration: 22s;
  animation-delay: -10s;
  opacity: .42;
  border-color: hsla(28, 70%, 55%, .28);
}

.hero-particle:nth-child(7) {
  width: 44px;
  height: 2px;
  top: 42%;
  left: 2%;
  animation-duration: 20s;
  animation-delay: -3s;
  opacity: .28;
}

.hero-particle:nth-child(8) {
  width: 28px;
  height: 28px;
  top: 32%;
  left: 90%;
  animation-duration: 26s;
  animation-delay: -15s;
  opacity: .18;
  border-radius: 50%;
}

.hero-particle:nth-child(9) {
  width: 64px;
  height: 64px;
  top: 55%;
  left: 45%;
  animation-duration: 35s;
  animation-delay: -20s;
  opacity: .08;
  border-width: 2px;
}

.hero-particle:nth-child(10) {
  width: 18px;
  height: 18px;
  top: 5%;
  left: 35%;
  animation-duration: 18s;
  animation-delay: -1s;
  opacity: .3;
  border-color: hsla(28, 60%, 55%, .3);
}

@keyframes float-particle {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    transform: translate(-28px, -110px) rotate(200deg);
    opacity: 0;
  }
}

/* Layer 5: Diagonal accents */
.hero-diagonal {
  position: absolute;
  top: 0;
  right: 28%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, hsla(163, 60%, 52%, .18) 25%, hsla(28, 65%, 55%, .28) 65%, transparent 100%);
  z-index: 3;
  transform: skewX(-7deg);
  pointer-events: none;
}

.hero-diagonal-2 {
  position: absolute;
  top: 0;
  right: 22%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, hsla(163, 50%, 45%, .08) 30%, hsla(163, 50%, 45%, .12) 60%, transparent 100%);
  z-index: 3;
  transform: skewX(-7deg);
  pointer-events: none;
}

/* Layer 6: Content */
.hero .container {
  position: relative;
  z-index: 4;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 120px var(--container-padding);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 72px;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: hsla(28, 78%, 57%, .14);
  border: 1px solid hsla(28, 78%, 57%, .32);
  border-radius: 9999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fade-in .6s ease-out both;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.65);
  }
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.55rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 24px;
  animation: slide-up .7s ease-out .15s both;
}

.hero-content p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: hsla(0, 0%, 100%, .7);
  margin-bottom: 40px;
  animation: slide-up .7s ease-out .3s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: slide-up .7s ease-out .45s both;
}

/* Stats column */
.hero-stats-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-stat-card {
  position: relative;
  background: hsla(163, 38%, 18%, 0.52);
  border: 1px solid hsla(163, 50%, 42%, 0.2);
  border-radius: 14px;
  padding: 22px 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color .35s, transform .35s;
  animation: slide-up .6s ease-out both;
}

.hero-card {
  position: relative;
  background: oklch(33.802% 0.04477 172.696 / 0);
  border: 1px solid hsla(163, 50%, 42%, 0.2);
  border-radius: 14px;
  padding: 22px 26px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  overflow: hidden;
  transition: border-color .35s, transform .35s;
  animation: slide-up .6s ease-out both;
}

.hero-stat-card:nth-child(1) {
  animation-delay: .85s;
}

.hero-stat-card:nth-child(2) {
  animation-delay: 1s;
}

.hero-stat-card:nth-child(3) {
  animation-delay: 1.15s;
}

.hero-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, hsla(163, 60%, 40%, .15), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
}

.hero-stat-card:hover {
  border-color: hsla(163, 55%, 52%, .4);
  transform: translateX(8px);
}

.hero-stat-card:hover::before {
  opacity: 1;
}

.hero-stat-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  border-radius: 0 2px 2px 0;
  opacity: .6;
}

.hero-stat-card:nth-child(2)::after {
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: .5;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

.hero-stat-number span {
  color: var(--accent);
  font-size: 1.6rem;
}

.hero-stat-label {
  font-size: .78rem;
  color: hsla(0, 0%, 100%, .48);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 500;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: hsla(0, 0%, 100%, .28);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: fade-in 1s ease-out 1.4s both;
  pointer-events: none;
}

.hero-scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, hsla(0, 0%, 100%, .35), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {

  0%,
  100% {
    opacity: .3;
    transform: scaleY(1);
  }

  50% {
    opacity: .9;
    transform: scaleY(0.55);
  }
}

@media (max-width: 1100px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 90px;
    padding-bottom: 72px;
  }

  .hero-stats-col {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-stat-card {
    flex: 1;
    min-width: 148px;
  }

  .hero-stat-card:hover {
    transform: translateY(-4px) translateX(0);
  }
}

@media (max-width: 640px) {
  .hero .container {
    padding-top: 72px;
    padding-bottom: 56px;
  }
}