/* =========================================================
   Iversen Web – styles.css
   Premium, modern one-page agency design
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --color-bg: #ffffff;
  --color-bg-soft: #f6f8fc;
  --color-bg-deep: #0a1628;
  --color-surface: #ffffff;
  --color-border: #e3e9f1;
  --color-border-strong: #cdd5e2;

  --color-text: #0a1628;
  --color-text-muted: #3f4e63;
  --color-text-subtle: #5b6b80;

  /* Refined premium palette:
     deep sapphire blue · scandi teal · champagne gold
     bridges the three demo palettes for a cohesive agency feel */
  --color-primary: #1e40af;
  --color-primary-dark: #1e3a8a;
  --color-primary-soft: #eef2ff;
  --color-accent: #0f766e;       /* deep teal, echoes Klar Renhold */
  --color-premium: #c9a96e;      /* champagne gold, echoes Atelier Nord */

  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  --gradient-text: linear-gradient(135deg, #1e40af 0%, #0f766e 100%);
  --gradient-text-anim: linear-gradient(120deg, #1e40af 0%, #0f766e 35%, #c9a96e 70%, #1e40af 100%);
  --gradient-premium: linear-gradient(135deg, #1e40af 0%, #0f766e 50%, #c9a96e 100%);
  --gradient-soft: radial-gradient(80% 60% at 50% 0%, rgba(30, 64, 175, 0.08), transparent 70%);

  /* Glow */
  --glow-primary: 0 0 0 1px rgba(30, 64, 175, 0.15), 0 18px 60px -10px rgba(30, 64, 175, 0.4);
  --glow-soft: 0 18px 50px -18px rgba(30, 64, 175, 0.35);
  --glow-premium: 0 20px 70px -16px rgba(201, 169, 110, 0.5);

  /* Spacing */
  --container: 1200px;
  --gutter: clamp(1rem, 2vw + 0.5rem, 2rem);
  --section-y: clamp(4rem, 8vw, 8rem);

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.18), 0 8px 16px -8px rgba(15, 23, 42, 0.08);
  --shadow-primary: 0 14px 30px -12px rgba(30, 64, 175, 0.45);

  /* Transition */
  --t-fast: 160ms cubic-bezier(.2, .8, .2, 1);
  --t: 240ms cubic-bezier(.2, .8, .2, 1);
  --t-slow: 480ms cubic-bezier(.2, .8, .2, 1);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 2vw, 2rem);
}

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

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Typography ---------- */
.display {
  font-size: clamp(2rem, 3.4vw + 0.9rem, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

.display-sm {
  font-size: clamp(1.65rem, 1.6vw + 1rem, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.lead {
  font-size: clamp(1rem, 0.25vw + 0.95rem, 1.1rem);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.6;
}

.section-lead {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.6;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.14);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.section-head .display-sm {
  max-width: 22ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  transition: transform var(--t-fast), box-shadow var(--t),
    background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
  border: 1px solid transparent;
  will-change: transform;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.86rem;
  border-radius: 9px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 0.95rem;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--color-text);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.35);
}
.btn-primary:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.5);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn-ghost:hover {
  border-color: var(--color-text);
  background: var(--color-bg-soft);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Glow variant — adds soft halo on hover */
.btn-glow {
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.btn-glow:hover::before {
  transform: translateX(100%);
}
.btn-primary.btn-glow {
  box-shadow: 0 10px 28px -10px rgba(15, 23, 42, 0.4), 0 0 0 0 rgba(30, 64, 175, 0);
}
.btn-primary.btn-glow:hover {
  box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.55), 0 0 0 6px rgba(30, 64, 175, 0.14);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02), 0 4px 16px -8px rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 9px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-primary);
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--color-primary);
  transition: width var(--t);
  border-radius: 2px;
}

.nav-list a:hover {
  color: var(--color-text);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t), opacity var(--t-fast), top var(--t);
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem var(--gutter) 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t), opacity var(--t), visibility 0s linear var(--t);
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform var(--t), opacity var(--t), visibility 0s linear 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
    color: var(--color-text);
  }

  .nav-cta {
    margin-top: 1rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(4rem, 7vw, 6.5rem) clamp(2.5rem, 4vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(30, 64, 175, 0.05), transparent 70%),
    radial-gradient(60% 50% at 100% 100%, rgba(201, 169, 110, 0.05), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
}

/* Aurora animated background */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
}

.aurora-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #93c5fd 0%, transparent 65%);
  top: -180px;
  right: -120px;
  animation: auroraDrift1 22s ease-in-out infinite alternate;
}

.aurora-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #5eead4 0%, transparent 65%);
  top: 40%;
  left: -160px;
  opacity: 0.4;
  animation: auroraDrift2 28s ease-in-out infinite alternate;
}

.aurora-3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #fde68a 0%, transparent 65%);
  bottom: -160px;
  right: 20%;
  opacity: 0.32;
  animation: auroraDrift3 26s ease-in-out infinite alternate;
}

@keyframes auroraDrift1 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-60px, 40px, 0) scale(1.08); }
}
@keyframes auroraDrift2 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(80px, -50px, 0) scale(1.12); }
}
@keyframes auroraDrift3 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-40px, -30px, 0) scale(1.06); }
}

/* Subtle grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 85%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.18) 0%, transparent 60%);
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.15rem;
  max-width: 640px;
}

.hero-display {
  font-size: clamp(2.1rem, 3.6vw + 0.9rem, 3.7rem);
  margin-block: 0.2rem 0.1rem;
}

.hero-content .lead {
  margin-inline: 0;
}

.text-gradient-anim {
  background: var(--gradient-text-anim);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.eyebrow-pill {
  background: rgba(30, 64, 175, 0.06);
  border: 1px solid rgba(30, 64, 175, 0.18);
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--color-primary-dark);
}

.eyebrow-pill .dot {
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(30, 64, 175, 0); }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
  margin-top: 0.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.6rem);
  justify-content: flex-start;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
  max-width: 560px;
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.hero-meta strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.hero-meta span {
  font-size: 0.82rem;
  color: var(--color-text-subtle);
}

/* ---------- Hero showcase: browser mockup + float cards ---------- */
.hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  perspective: 1400px;
}

@media (max-width: 960px) {
  .hero-showcase {
    min-height: 380px;
    margin-top: 1rem;
  }
}

.hero-browser {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 30px 60px -20px rgba(15, 23, 42, 0.25),
    0 60px 100px -40px rgba(30, 64, 175, 0.28);
  overflow: hidden;
  transform: rotate(-1.2deg);
  transition: transform 600ms cubic-bezier(.2,.8,.2,1), box-shadow var(--t);
  transform-style: preserve-3d;
  /* Use `translate` property so it composes with JS-set `transform` (tilt) */
  animation: floatBrowser 6s ease-in-out infinite;
}

@keyframes floatBrowser {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

.hero-browser::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.35), rgba(201, 169, 110, 0.18) 60%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #fafbfd 0%, #f3f5fa 100%);
  border-bottom: 1px solid var(--color-border);
}

.browser-dots {
  display: inline-flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6dbe7;
}

.browser-dots span:nth-child(1) { background: #f87171; }
.browser-dots span:nth-child(2) { background: #fbbf24; }
.browser-dots span:nth-child(3) { background: #34d399; }

.browser-url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.01em;
}

.browser-url svg {
  color: var(--color-text-subtle);
  opacity: 0.7;
}

.browser-action {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background:
    linear-gradient(currentColor, currentColor) 0 50%/100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 25%/100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 75%/100% 1.5px no-repeat;
  color: var(--color-text-subtle);
  opacity: 0.5;
}

.browser-body {
  padding: clamp(1.2rem, 2vw, 1.8rem);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(30, 64, 175, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.bp-eyebrow {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  padding: 4px 10px;
  background: var(--color-primary-soft);
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.bp-title {
  font-size: clamp(1.1rem, 1.4vw + 0.5rem, 1.45rem);
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 0.45rem;
}

.bp-title span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bp-lead {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 32ch;
  margin-bottom: 0.9rem;
}

.bp-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 1.1rem;
}

.bp-btn {
  font-size: 0.7rem;
  padding: 6px 11px;
  border-radius: 7px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.bp-btn-primary {
  background: var(--color-text);
  color: #fff;
}

.bp-btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.bp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bp-card {
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #fff 0%, #f5f7fb 100%);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.bp-card::before {
  content: "";
  position: absolute;
  inset: 8px 8px auto 8px;
  height: 55%;
  border-radius: 5px;
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
}

.bp-card:nth-child(1)::before { background: linear-gradient(135deg, #fbcfe8 0%, #fde68a 100%); }
.bp-card:nth-child(2)::before { background: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 100%); }
.bp-card:nth-child(3)::before { background: linear-gradient(135deg, #bbf7d0 0%, #99f6e4 100%); }

.bp-card-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--color-border-strong);
  width: 80%;
  position: relative;
  z-index: 1;
}

.bp-card-bar-sm {
  width: 50%;
  background: var(--color-border);
}

/* Float cards around browser */
.hero-float-card {
  position: absolute;
  bottom: -10px;
  left: -10px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.22);
  animation: floatCardA 7s ease-in-out infinite;
  z-index: 2;
}

@keyframes floatCardA {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(-2deg); }
}

.float-card-pulse {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 50%;
}

.float-card-pulse::before,
.float-card-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  animation: pulseRing 2.2s ease-out infinite;
  opacity: 0;
}

.float-card-pulse::after {
  animation-delay: 1.1s;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

@keyframes pulseRing {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-float-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  line-height: 1.1;
}

.hero-float-card span {
  font-size: 0.7rem;
  color: var(--color-text-subtle);
}

.hero-rating-card {
  position: absolute;
  top: 10px;
  right: -14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 13px;
  box-shadow: 0 18px 38px -16px rgba(15, 23, 42, 0.22);
  animation: floatCardB 8s ease-in-out infinite;
  z-index: 2;
}

@keyframes floatCardB {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}

.rating-stars {
  display: inline-flex;
  gap: 1px;
  color: #f59e0b;
}

.hero-rating-card > span {
  font-size: 0.7rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .hero-rating-card { right: 0; }
  .hero-float-card { left: 0; bottom: -6px; }
}

/* Trust strip */
.trust-strip {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.8rem);
  padding: 1rem 1.6rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: 0 12px 30px -20px rgba(15, 23, 42, 0.18);
  list-style: none;
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.trust-strip svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .trust-strip {
    border-radius: 16px;
    justify-content: flex-start;
    gap: 0.8rem 1.4rem;
  }
}

/* ---------- Cards (base) ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2vw, 2rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px -22px rgba(15, 23, 42, 0.22), 0 12px 24px -12px rgba(15, 23, 42, 0.08);
  border-color: var(--color-border-strong);
}

/* ---------- Services ---------- */
.services {
  background: #fff;
  position: relative;
}

.service {
  position: relative;
  isolation: isolate;
}

/* Animated gradient halo behind the card on hover */
.service-glow {
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: conic-gradient(
    from 90deg at 50% 50%,
    rgba(30, 64, 175, 0) 0deg,
    rgba(30, 64, 175, 0.55) 90deg,
    rgba(15, 118, 110, 0.55) 180deg,
    rgba(201, 169, 110, 0.5) 270deg,
    rgba(30, 64, 175, 0) 360deg
  );
  opacity: 0;
  z-index: -1;
  filter: blur(24px);
  transition: opacity 400ms ease;
  pointer-events: none;
}

.service:hover .service-glow {
  opacity: 0.6;
  animation: rotateGlow 14s linear infinite;
}

@keyframes rotateGlow {
  to { transform: rotate(360deg); }
}

.service .icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
}

.service .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--t);
  z-index: -1;
}

.service:hover .icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 14px 28px -10px rgba(30, 64, 175, 0.5);
}

.service h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.service > p {
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

.service-points {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.2rem;
}

.service-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.service-points li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
  flex-shrink: 0;
}

/* ---------- Packages (was portfolio) ---------- */
.packages {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.packages-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 70%),
    radial-gradient(40% 30% at 90% 80%, rgba(139, 92, 246, 0.05), transparent 70%);
  pointer-events: none;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: stretch;
  position: relative;
}

@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packages-grid .package--tier-3 { grid-column: 1 / -1; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .packages-grid { grid-template-columns: minmax(0, 1fr); }
  .packages-grid .package--tier-3 { grid-column: auto; max-width: none; }
}

.package {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.1rem 1.4rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  isolation: isolate;
}

.package:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -22px rgba(15, 23, 42, 0.25), 0 12px 24px -12px rgba(15, 23, 42, 0.08);
  border-color: var(--color-border-strong);
}

.package-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem 0.9rem;
}

.package-tier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.tier-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-subtle);
}

.package--tier-1 .tier-bullet { background: #94a3b8; }
.package--tier-2 .tier-bullet { background: var(--color-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }
.package--tier-3 .tier-bullet { background: var(--gradient-premium); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18); }

.package-tier--premium {
  background: var(--gradient-premium);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.package-pages {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  background: var(--color-bg-soft);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

.package-preview {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  transition: transform var(--t), box-shadow var(--t);
}

.package:hover .package-preview {
  transform: translateY(-2px);
}

.package-hover-cue {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
  z-index: 4;
  pointer-events: none;
}

.package-hover-cue--light {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.package:hover .package-hover-cue {
  opacity: 1;
  transform: translateY(0);
}

.package-body {
  padding: 1.2rem 0.6rem 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.package-body h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
}

.package-body > p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
  margin-bottom: 0.3rem;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--color-border);
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.package-features li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
  flex-shrink: 0;
}

.package-cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Tier 1 (Enkel) — quiet card */
.package--tier-1 {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

/* Tier 2 (Standard) — subtle accent */
.package--tier-2 {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.package--tier-2:hover {
  border-color: rgba(15, 118, 110, 0.42);
}

/* Tier 3 (Premium) — featured, glowing gradient border */
.package--tier-3 {
  background: linear-gradient(180deg, #ffffff 0%, #fdfdff 100%);
  border-color: transparent;
  box-shadow:
    0 24px 48px -30px rgba(201, 169, 110, 0.34),
    0 10px 22px -18px rgba(15, 23, 42, 0.12);
}

@media (min-width: 1025px) {
  .package--tier-3 {
    transform: translateY(-12px);
  }
  .package--tier-3:hover {
    transform: translateY(-20px);
  }
}

.package--tier-3::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 22px;
  background: var(--gradient-premium);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  animation: gradientShift 8s ease-in-out infinite;
}

.package-glow {
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: radial-gradient(60% 55% at 50% 20%, rgba(201, 169, 110, 0.18) 0%, rgba(230, 201, 138, 0.12) 42%, transparent 74%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity var(--t);
}

.package--tier-3:hover .package-glow {
  opacity: 1;
}

.package-ribbon {
  position: absolute;
  top: -14px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-premium);
  background-size: 200% 200%;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(201, 169, 110, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.9);
  animation: gradientShift 6s ease-in-out infinite;
  z-index: 4;
}

.package-ribbon svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.package--tier-3 .btn-primary {
  background: var(--gradient-premium);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  animation: gradientShift 6s ease-in-out infinite;
  box-shadow: 0 12px 30px -10px rgba(201, 169, 110, 0.55);
}

.package--tier-3 .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -10px rgba(201, 169, 110, 0.65);
}

.packages-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.packages-foot a {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}

.packages-foot a:hover {
  border-bottom-color: var(--color-primary);
}

/* ---------- Legacy project styles (kept for case study pages) ---------- */
.portfolio {
  background: var(--color-bg-soft);
  position: relative;
}

.portfolio-grid {
  align-items: stretch;
}

.project {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.project-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.project-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}

.project-body .tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-subtle);
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.project-body h3 {
  font-size: 1.15rem;
  margin-top: 0.05rem;
  letter-spacing: -0.018em;
}

.project-body > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.4rem;
}

.project-body .btn {
  margin-top: 0.3rem;
}

/* Subtle per-card body padding variation (less template-like) */
.project--restaurant .project-body { padding: 1.5rem 1.6rem 1.7rem; }
.project--local .project-body { padding: 1.3rem 1.5rem 1.6rem; }

/* =========================================================
   PROJECT 1 — SALON
   Soft, elegant, editorial moodboard
   ========================================================= */
.project--salon .project-media.salon {
  background:
    radial-gradient(120% 80% at 100% 0%, #f6e0d3 0%, transparent 60%),
    linear-gradient(180deg, #fbf3ec 0%, #f0dccd 100%);
}

.salon-stage {
  position: absolute;
  inset: 0;
  padding: clamp(22px, 3vw, 32px) clamp(20px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.salon-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #8a6e58;
  font-weight: 600;
}

.salon-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw + 0.5rem, 2.7rem);
  font-weight: 400;
  color: #3a2a1f;
  letter-spacing: -0.012em;
  line-height: 0.98;
  margin: clamp(0.6rem, 1vw, 1rem) 0 0;
}

.salon-title em {
  font-style: italic;
  font-weight: 400;
  color: #b86d4d;
}

.salon-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6e58;
}

.salon-line {
  display: block;
  width: 22px;
  height: 1px;
  background: #b86d4d;
}

.salon-circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(184, 109, 77, 0.32);
  border-radius: 50%;
  bottom: -60px;
  right: -50px;
  z-index: 1;
  transition: transform var(--t-slow);
}

.salon-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #b86d4d;
  border-radius: 50%;
  top: 28%;
  right: 14%;
  z-index: 1;
}

.salon-stripe {
  position: absolute;
  width: 1px;
  height: 60%;
  top: 20%;
  left: clamp(20px, 2.6vw, 28px);
  background: linear-gradient(180deg, transparent, rgba(184, 109, 77, 0.45), transparent);
  z-index: 1;
}

.project--salon:hover .salon-circle,
.package:hover .salon-circle {
  transform: scale(1.08) rotate(-6deg);
}

/* =========================================================
   PROJECT 2 — RESTAURANT
   Image-driven, warm, magazine spread
   ========================================================= */
.project--restaurant .project-media.restaurant {
  background: #1a0a07;
  border-bottom-color: rgba(0, 0, 0, 0.2);
}

.restaurant-photo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 70% 30%, rgba(255, 196, 130, 0.55), transparent 60%),
    radial-gradient(60% 60% at 25% 75%, rgba(214, 84, 36, 0.6), transparent 65%),
    radial-gradient(50% 40% at 80% 90%, rgba(120, 30, 14, 0.7), transparent 70%),
    linear-gradient(150deg, #2a1006 0%, #5b1f10 55%, #9c3517 100%);
  z-index: 1;
  transition: transform var(--t-slow);
}

.project--restaurant:hover .restaurant-photo,
.package:hover .restaurant-photo {
  transform: scale(1.06);
}

.restaurant-grain {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 3px
    );
  z-index: 2;
  pointer-events: none;
}

.restaurant-stage {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 2.6vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  z-index: 3;
}

.restaurant-tag {
  align-self: flex-start;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fde4c8;
  border: 1px solid rgba(253, 228, 200, 0.45);
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.18);
}

.restaurant-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.restaurant-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw + 0.4rem, 3.1rem);
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 0.92;
  margin: 0;
}

.restaurant-tagline {
  font-size: 0.78rem;
  color: rgba(253, 228, 200, 0.82);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.restaurant-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 10px;
}

.restaurant-cta {
  background: #fff;
  color: #2a1006;
  font-weight: 600;
  font-size: 0.74rem;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.restaurant-phone {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   PROJECT 3 — LOCAL BUSINESS
   Clean, simple, practical
   ========================================================= */
.project--local .project-media.local {
  background: #ffffff;
  border-bottom-color: var(--color-border);
}

.project--local .project-media.local::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, #2563eb 0%, #2563eb 38%, transparent 38%, transparent 100%);
  z-index: 2;
}

.local-stage {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 2.6vw, 26px) clamp(20px, 2.6vw, 26px) calc(clamp(20px, 2.6vw, 26px) + 6px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--color-text);
}

.local-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef0f5;
}

.local-top b {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: 800;
}

.local-phone {
  font-size: 0.7rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.local-title {
  font-size: clamp(1rem, 1vw + 0.7rem, 1.15rem);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 4px 0 2px;
  max-width: 22ch;
}

.local-services {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 2px;
}

.local-services li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.local-services li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #ecfdf5 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/9px no-repeat;
  flex-shrink: 0;
}

.local-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px dashed #e6e9ef;
}

.local-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.005em;
}

.local-since {
  font-size: 0.68rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   Subtle imperfections per project card
   (very small rotations & vertical offset to feel hand-set)
   ========================================================= */
@media (min-width: 961px) {
  .project--salon { transform: translateY(0) rotate(-0.35deg); }
  .project--restaurant { transform: translateY(10px) rotate(0.25deg); }
  .project--local { transform: translateY(-4px) rotate(-0.15deg); }
}

.project { transition: transform var(--t), box-shadow var(--t), border-color var(--t); }

.project:hover {
  transform: translateY(-6px) rotate(0deg);
}

/* ---------- Why choose me ---------- */
.why {
  background: var(--color-bg-deep);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.why-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.why-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
}

.why-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.why-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.55) 0%, transparent 60%);
  top: -120px;
  right: -100px;
  animation: auroraDrift1 26s ease-in-out infinite alternate;
}

.why-orb-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.4) 0%, transparent 60%);
  bottom: -180px;
  left: -120px;
  animation: auroraDrift2 32s ease-in-out infinite alternate;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  position: relative;
  align-items: start;
}

@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-intro .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #e6c98a;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.22);
}

.why-intro .eyebrow .dot {
  background: #e6c98a;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.25);
}

.why-intro h2 {
  color: #fff;
  margin-top: 1rem;
}

.why-intro .section-lead {
  color: #cbd5e1;
  text-align: left;
  margin-inline: 0;
  margin-block: 1rem 1.8rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.why-item::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 3px;
  background: var(--gradient-premium);
  opacity: 0;
  transition: opacity var(--t);
}

.why-item:hover {
  transform: translateX(6px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(201, 169, 110, 0.45);
  box-shadow: 0 24px 48px -20px rgba(30, 64, 175, 0.35);
}

.why-item:hover::before {
  opacity: 1;
}

.why-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: var(--gradient-text-anim);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  min-width: 56px;
  line-height: 1;
  animation: gradientShift 8s ease-in-out infinite;
}

.why-item h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.why-item p {
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Light variant of primary button for dark sections */
.why .btn-primary {
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
}

.why .btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-intro h2 {
  margin-top: 1rem;
}

.contact-intro .section-lead {
  text-align: left;
  margin-inline: 0;
  margin-block: 1rem 1.8rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.contact-info svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info a {
  color: var(--color-text);
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--color-primary);
}

/* Form */
.contact-form {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.2vw, 2.4rem);
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.18), 0 8px 24px -16px rgba(30, 64, 175, 0.14);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  isolation: isolate;
}

.form-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.32) 0%, rgba(15, 118, 110, 0.22) 50%, rgba(201, 169, 110, 0.18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
  z-index: -1;
}

.contact {
  position: relative;
  isolation: isolate;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 80% 20%, rgba(30, 64, 175, 0.06), transparent 70%),
    radial-gradient(30% 40% at 10% 80%, rgba(201, 169, 110, 0.05), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

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

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.005em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 0.98rem;
  color: var(--color-text);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #94a3b8;
}

.form-row input:hover,
.form-row textarea:hover {
  border-color: var(--color-border-strong);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.14);
  background: #fff;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

/* Honeypot – hidden from users */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
  text-align: center;
  min-height: 1.2em;
  color: var(--color-text-muted);
}

.form-status.is-success {
  color: #047857;
}

.form-status.is-error {
  color: #b91c1c;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-deep);
  color: #cbd5e1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 1rem;
  max-width: 38ch;
  font-size: 0.97rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a,
.footer-col li {
  color: #94a3b8;
  font-size: 0.97rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.4rem;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Reveal: always visible — motion is progressive enhancement ---------- */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  /* One-shot subtle entrance once JS marks the element visible */
  .reveal.is-visible {
    animation: revealSoft 640ms cubic-bezier(.2, 0.8, 0.2, 1) forwards;
  }
}

@keyframes revealSoft {
  from {
    transform: translateY(12px);
  }
  to {
    transform: none;
  }
}

/* Stagger sequential reveals inside grids */
@media (prefers-reduced-motion: no-preference) {
  .grid-3 .reveal:nth-child(1),
  .packages-grid .reveal:nth-child(1),
  .why-list .reveal:nth-child(1),
  .why-process-list .reveal:nth-child(1) {
    animation-delay: 0ms;
  }

  .grid-3 .reveal:nth-child(2),
  .packages-grid .reveal:nth-child(2),
  .why-list .reveal:nth-child(2),
  .why-process-list .reveal:nth-child(2) {
    animation-delay: 85ms;
  }

  .grid-3 .reveal:nth-child(3),
  .packages-grid .reveal:nth-child(3),
  .why-list .reveal:nth-child(3),
  .why-process-list .reveal:nth-child(3) {
    animation-delay: 170ms;
  }

  .why-process-list .reveal:nth-child(4) {
    animation-delay: 235ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .aurora-blob,
  .hero-browser,
  .hero-float-card,
  .hero-rating-card,
  .why-orb,
  .why-num,
  .text-gradient-anim,
  .package--tier-3::before,
  .package--tier-3 .btn-primary {
    animation: none !important;
  }
}

/* =========================================================
   CASE STUDY PAGES
   Project detail / case-studie pages under /prosjekter/
   ========================================================= */

/* ---------- Topbar (back link) ---------- */
.case-topbar {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  padding-block: 14px;
}

.case-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: -0.005em;
}

.case-back:hover {
  color: var(--color-text);
}

.case-back svg {
  transition: transform var(--t);
}

.case-back:hover svg {
  transform: translateX(-3px);
}

/* ---------- Case hero (title section) ---------- */
.case-hero {
  padding-block: clamp(2.4rem, 5vw, 4rem) clamp(1.4rem, 2.5vw, 2.2rem);
  background: var(--color-bg-soft);
}

.case-hero .display {
  font-size: clamp(1.9rem, 3vw + 0.9rem, 3rem);
  margin-block: 0.6rem 0.9rem;
  max-width: 22ch;
}

.case-hero .lead {
  max-width: 56ch;
}

.case-meta {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

/* ---------- Big preview ---------- */
.case-preview-section {
  background: var(--color-bg-soft);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.case-preview {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  isolation: isolate;
}

@media (max-width: 720px) {
  .case-preview {
    aspect-ratio: 4 / 5;
  }
}

/* SALON variant for big preview — reuses tokens from project card */
.case-preview--salon {
  background:
    radial-gradient(120% 80% at 100% 0%, #f6e0d3 0%, transparent 60%),
    linear-gradient(180deg, #fbf3ec 0%, #f0dccd 100%);
}

.case-preview--salon .salon-stage {
  padding: clamp(28px, 4vw, 56px);
  justify-content: space-between;
}

.case-preview-stage .case-preview-cluster {
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 1.2vw, 1.1rem);
}

.case-preview-stage .case-preview-foot {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}

.case-preview--salon .salon-title {
  font-size: clamp(2.4rem, 5vw + 0.5rem, 4.4rem);
}

.case-preview--salon .salon-circle {
  width: clamp(220px, 28vw, 360px);
  height: clamp(220px, 28vw, 360px);
  bottom: -90px;
  right: -80px;
}

.case-preview--salon .salon-stripe {
  left: clamp(28px, 4vw, 56px);
}

.case-preview--salon .salon-dot {
  width: 14px;
  height: 14px;
  top: 30%;
  right: 18%;
}

.case-preview-tagline {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(0.95rem, 0.6vw + 0.85rem, 1.15rem);
  color: #6b4f3e;
  max-width: 36ch;
  margin: 0;
  line-height: 1.55;
}

.case-preview-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(8px, 1.5vw, 18px);
}

.case-preview-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.case-preview-btn--solid {
  background: #3a2a1f;
  color: #fbf3ec;
}

.case-preview-btn--ghost {
  background: transparent;
  color: #3a2a1f;
  border: 1px solid rgba(58, 42, 31, 0.4);
}

/* RESTAURANT big preview */
.case-preview--restaurant {
  background: #1a0a07;
}

.case-preview--restaurant .restaurant-stage {
  padding: clamp(28px, 4vw, 56px);
}

.case-preview--restaurant .restaurant-title {
  font-size: clamp(2.6rem, 6vw + 0.5rem, 5rem);
}

.case-preview-tagline-light {
  font-size: clamp(0.9rem, 0.4vw + 0.85rem, 1rem);
  color: rgba(253, 228, 200, 0.7);
  max-width: 38ch;
  margin: 14px 0 0;
  line-height: 1.55;
}

/* LOCAL big preview */
.case-preview--local {
  background: #ffffff;
  border-color: var(--color-border);
}

.case-preview--local::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  background: linear-gradient(90deg, #2563eb 0%, #2563eb 38%, transparent 38%, transparent 100%);
  z-index: 2;
}

.case-preview--local .local-stage {
  position: absolute;
  inset: 0;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) calc(clamp(28px, 4vw, 56px) + 8px);
  gap: 18px;
}

.case-preview--local .local-title {
  font-size: clamp(1.4rem, 1.4vw + 1rem, 2rem);
  max-width: 24ch;
}

.case-preview--local .local-services li {
  font-size: 0.95rem;
}

.case-preview-tagline-muted {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 50ch;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Case body (description + sidebar) ---------- */
.case-body {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.case-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

@media (max-width: 860px) {
  .case-body-grid {
    grid-template-columns: 1fr;
  }
}

.case-body-main p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 60ch;
}

.case-body-main p:last-child {
  margin-bottom: 0;
}

.case-h2 {
  font-size: 1.4rem;
  letter-spacing: -0.018em;
  margin-bottom: 1rem;
}

/* Sidebar info — definition list */
.case-info {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  position: sticky;
  top: 100px;
}

@media (max-width: 860px) {
  .case-info {
    position: static;
  }
}

.case-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.case-info-list > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}

.case-info-list > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.case-info-list dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin: 0;
}

.case-info-list dd {
  margin: 0;
  font-size: 0.96rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.45;
}

/* ---------- Case section heads (left-aligned) ---------- */
.case-section-head {
  text-align: left;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.case-section-head .display-sm {
  max-width: none;
}

/* ---------- Features list ---------- */
.case-features {
  background: var(--color-bg);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--color-border);
}

.case-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  margin: 0;
  padding: 0;
}

@media (max-width: 720px) {
  .case-feature-list {
    grid-template-columns: 1fr;
  }
}

.case-feature-list li {
  list-style: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.case-feature-list li:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow);
}

.case-feature-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.case-feature-list h3 {
  font-size: 1.1rem;
  letter-spacing: -0.012em;
  margin-bottom: 0.4rem;
}

.case-feature-list p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Mockups ---------- */
.case-mockups {
  background: var(--color-bg-soft);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.mockup {
  position: relative;
  margin-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

.mockup:last-child {
  margin-bottom: 0;
}

.mockup-label {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 12px;
  padding: 5px 11px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.mockup-label--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(253, 228, 200, 0.7);
}

.mockup-pane {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
  box-shadow: var(--shadow);
}

.mockup-pane--dark {
  background: linear-gradient(180deg, #2a1006 0%, #1a0a07 100%);
  border-color: rgba(253, 228, 200, 0.12);
  color: #fde4c8;
}

/* Subtle hand-set rotation — alternating mockups */
@media (min-width: 961px) {
  .mockup:nth-of-type(odd) { transform: rotate(-0.2deg); }
  .mockup:nth-of-type(even) { transform: rotate(0.2deg); }
}

/* =========================================================
   MOCKUP — SALON BOOKING & PRICELIST
   ========================================================= */
.mockup--salon .mockup-pane {
  background: linear-gradient(180deg, #ffffff 0%, #fdf8f4 100%);
  border-color: #ecdfd2;
}

.bk-head,
.pr-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #eedfd2;
}

.bk-head h4,
.pr-head h4 {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: #3a2a1f;
  letter-spacing: -0.015em;
}

.bk-head span,
.pr-head span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a6e58;
}

.bk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  font-size: 0.95rem;
}

.bk-row-label {
  color: #8a6e58;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.bk-row-value {
  color: #3a2a1f;
  font-weight: 500;
}

.bk-divider {
  height: 1px;
  background: #eedfd2;
  margin: 0.8rem 0 1.2rem;
}

.bk-week {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 1.2rem;
}

.bk-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px;
  border-radius: 12px;
  border: 1px solid #eedfd2;
  background: #fff;
  transition: background var(--t), border-color var(--t);
}

.bk-day-name {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a6e58;
}

.bk-day-date {
  font-size: 1.05rem;
  font-weight: 700;
  color: #3a2a1f;
  letter-spacing: -0.01em;
}

.bk-day--active {
  background: #3a2a1f;
  border-color: #3a2a1f;
}

.bk-day--active .bk-day-name,
.bk-day--active .bk-day-date {
  color: #fbf3ec;
}

.bk-day--off {
  opacity: 0.4;
}

.bk-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 1.2rem;
}

@media (min-width: 720px) {
  .bk-slots {
    grid-template-columns: repeat(6, 1fr);
  }
}

.bk-slot {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 11px 6px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eedfd2;
  color: #3a2a1f;
}

.bk-slot--taken {
  color: #b8a89a;
  text-decoration: line-through;
  background: #f8f1eb;
}

.bk-slot--selected {
  background: #b86d4d;
  color: #fff;
  border-color: #b86d4d;
}

.bk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 1rem;
  border-top: 1px solid #eedfd2;
}

.bk-foot-summary {
  font-size: 0.9rem;
  color: #8a6e58;
}

.bk-foot-cta {
  font-weight: 600;
  color: #3a2a1f;
  font-size: 0.95rem;
}

/* Pricelist */
.pr-group {
  margin-bottom: 1.4rem;
}

.pr-group:last-child {
  margin-bottom: 0;
}

.pr-group h5 {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: #b86d4d;
  margin-bottom: 0.6rem;
  letter-spacing: -0.005em;
}

.pr-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pr-group li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.96rem;
  color: #3a2a1f;
}

.pr-group li span {
  flex-shrink: 0;
}

.pr-group li i {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    #d6c2b1 0,
    #d6c2b1 2px,
    transparent 2px,
    transparent 6px
  );
  position: relative;
  top: -3px;
}

.pr-group li b {
  font-weight: 600;
  color: #3a2a1f;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* =========================================================
   MOCKUP — RESTAURANT MENU & RESERVATION
   ========================================================= */
.mn-head {
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(253, 228, 200, 0.18);
}

.mn-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(253, 228, 200, 0.6);
  font-weight: 600;
}

.mn-head h4 {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.8rem;
  color: #fff;
  margin: 6px 0 6px;
  letter-spacing: -0.02em;
}

.mn-head p {
  font-size: 0.9rem;
  color: rgba(253, 228, 200, 0.65);
  margin: 0;
}

.mn-courses {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1.4rem;
  padding: 0;
}

.mn-courses li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(253, 228, 200, 0.12);
}

.mn-courses li:last-child {
  border-bottom: none;
}

.mn-num {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(253, 228, 200, 0.45);
  flex-shrink: 0;
  min-width: 26px;
}

.mn-text {
  flex: 1;
}

.mn-text h5 {
  font-size: 1.02rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 3px;
}

.mn-text p {
  font-size: 0.86rem;
  color: rgba(253, 228, 200, 0.62);
  margin: 0;
  line-height: 1.4;
}

.mn-price {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.mn-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(253, 228, 200, 0.18);
  flex-wrap: wrap;
  gap: 8px;
}

.mn-foot span {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 228, 200, 0.6);
}

.mn-foot b {
  font-weight: 500;
  color: #fff;
  font-size: 1rem;
}

/* Reservation */
.rv-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(253, 228, 200, 0.18);
}

.rv-head h4 {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.rv-head span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 228, 200, 0.55);
}

.rv-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0.8rem 0;
}

.rv-row > label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 228, 200, 0.6);
  font-weight: 600;
}

.rv-row > span {
  color: #fff;
  font-size: 1rem;
}

.rv-times,
.rv-people {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rv-times span,
.rv-people span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(253, 228, 200, 0.25);
  font-size: 0.88rem;
  color: rgba(253, 228, 200, 0.85);
  font-variant-numeric: tabular-nums;
}

.rv-time--active,
.rv-people--active {
  background: #fff !important;
  color: #2a1006 !important;
  border-color: #fff !important;
  font-weight: 600;
}

.rv-time--off {
  opacity: 0.35;
  text-decoration: line-through;
}

.rv-divider {
  height: 1px;
  background: rgba(253, 228, 200, 0.18);
  margin: 0.6rem 0 1rem;
}

.rv-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.rv-summary span {
  font-size: 0.88rem;
  color: rgba(253, 228, 200, 0.7);
}

.rv-summary b {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

/* =========================================================
   MOCKUP — LOCAL SERVICES & FORM
   ========================================================= */
.mockup--local .mockup-pane {
  background: #ffffff;
  border-color: var(--color-border);
}

.lc-head,
.bf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
  border-bottom: 2px solid var(--color-text);
}

.lc-head h4,
.bf-head h4 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.lc-head span,
.bf-head span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}

.lc-services {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.lc-services li {
  list-style: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.lc-services li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lc-service-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.lc-service-head h5 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lc-service-head span {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.lc-services p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
}

/* Befaring form */
.bf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.bf-row:last-of-type {
  border-bottom: none;
}

.bf-row--block {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.bf-row > label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 120px;
}

.bf-input,
.bf-textarea {
  color: var(--color-text);
  font-size: 0.96rem;
  text-align: right;
  flex: 1;
}

.bf-row--block .bf-textarea {
  text-align: left;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.bf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bf-tags span {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 0.84rem;
  color: var(--color-text-muted);
  background: #fff;
}

.bf-tag--active {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
  font-weight: 500;
}

.bf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 1.1rem;
  margin-top: 0.8rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.bf-foot span {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
}

.bf-foot b {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* ---------- Case CTA ---------- */
.case-cta {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.case-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 560px;
  margin-inline: auto;
}

.case-cta-inner p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 48ch;
}

.case-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.6rem;
  justify-content: center;
}

/* =========================================================
   HERO BROWSER — added mini-nav row
   ========================================================= */
.bp-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 0.7rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.bp-nav-logo {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 10px -4px rgba(30, 64, 175, 0.5);
}

.bp-nav-link {
  font-size: 0.66rem;
  color: var(--color-text-subtle);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.bp-nav-link:first-of-type {
  color: var(--color-text);
  font-weight: 600;
  position: relative;
}

.bp-nav-link:first-of-type::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* =========================================================
   PACKAGE DEMOS — three tiers of mini live-website mockups
   ========================================================= */

/* Common demo container */
.demo {
  position: absolute;
  inset: 0;
  display: block;
}

.demo-frame {
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 14px 30px -16px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
}

.demo-frame--dark {
  background: linear-gradient(180deg, #0b1220 0%, #0a0f1f 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

/* Chrome (URL bar) */
.demo-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: linear-gradient(180deg, #fafbfd 0%, #f3f5fa 100%);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.demo-chrome--dark {
  background: linear-gradient(180deg, #0d1426 0%, #0a1020 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.demo-chrome-dots {
  display: inline-flex;
  gap: 3px;
}

.demo-chrome-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d6dbe7;
}

.demo-chrome-dots i:nth-child(1) { background: #f87171; }
.demo-chrome-dots i:nth-child(2) { background: #fbbf24; }
.demo-chrome-dots i:nth-child(3) { background: #34d399; }

.demo-chrome--dark .demo-chrome-dots i {
  opacity: 0.7;
}

.demo-chrome-url {
  flex: 1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 0.55rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.demo-chrome--dark .demo-chrome-url {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.6);
}

/* Page area */
.demo-page {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* Generic nav within demo */
.demo-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.demo-logo {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: var(--color-text);
  color: #fff;
  border-radius: 5px;
  font-size: 0.6rem;
  font-weight: 800;
  flex-shrink: 0;
}

.demo-logo--serif {
  font-family: "Georgia", serif;
  font-style: italic;
  font-weight: 500;
  background: #2a1006;
  color: #fde4c8;
}

.demo-logo--glow {
  background: linear-gradient(135deg, #c9a96e 0%, #e6c98a 50%, #c9a96e 100%);
  background-size: 200% 200%;
  color: #0a0a0a;
  box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.6), 0 4px 12px -3px rgba(201, 169, 110, 0.6);
  animation: gradientShift 6s ease-in-out infinite, logoGlow 2.8s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.5), 0 4px 12px -3px rgba(201, 169, 110, 0.6); }
  50%      { box-shadow: 0 0 0 5px rgba(201, 169, 110, 0), 0 6px 16px -3px rgba(201, 169, 110, 0.7); }
}

.demo-nav-links {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.demo-nav-links li {
  font-size: 0.55rem;
  color: var(--color-text-subtle);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.demo-nav-links li:first-child {
  color: var(--color-text);
  font-weight: 600;
}

.demo-nav-cta {
  font-size: 0.55rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-text);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Generic mini buttons inside demos */
.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 5px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.demo-btn--dark {
  background: var(--color-text);
  color: #fff;
}

.demo-btn--solid {
  background: #2a1006;
  color: #fde4c8;
}

.demo-btn--text {
  color: #b86d4d;
  font-weight: 600;
}

.demo-btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.demo-btn--ghost-dark {
  background: transparent;
  color: rgba(226, 232, 240, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.demo-btn--gradient {
  background: linear-gradient(135deg, #c9a96e 0%, #e6c98a 50%, #c9a96e 100%);
  background-size: 200% 200%;
  color: #0a0a0a;
  font-weight: 600;
  animation: gradientShift 6s ease-in-out infinite;
  box-shadow: 0 4px 12px -3px rgba(139, 92, 246, 0.5);
}

.demo-h {
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.demo-h--serif {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.018em;
  color: #2a1006;
}

.demo-h--serif em {
  font-style: italic;
  color: #b86d4d;
}

.demo-h--light {
  color: #f4f1ea;
}

.demo-h--serif-light {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.demo-h--light em {
  font-style: italic;
  background: linear-gradient(120deg, #c9a96e 0%, #e6c98a 50%, #c9a96e 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 7s ease-in-out infinite;
}

.demo-p {
  font-size: 0.6rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.demo-actions {
  display: flex;
  gap: 5px;
  margin-top: 7px;
  flex-wrap: wrap;
}

/* =========================================================
   TIER 1 — ENKEL (cream, minimal)
   ========================================================= */
.demo--enkel .demo-frame {
  background: linear-gradient(180deg, #fdfaf6 0%, #f6efe6 100%);
  border-color: #ecdfd1;
}

.demo--enkel .demo-chrome {
  background: linear-gradient(180deg, #f6efe6 0%, #ecdfd1 100%);
  border-bottom-color: #e1d0bd;
}

.demo--enkel .demo-chrome-url {
  background: #fdfaf6;
  border-color: #e1d0bd;
  color: #8a6e58;
}

.demo-page--enkel {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-page--enkel .demo-nav {
  border-bottom-color: #e6d3bf;
}

.demo-page--enkel .demo-logo {
  background: #2a1d10;
  color: #fdfaf6;
}

.demo-page--enkel .demo-nav-links li {
  color: #8a6e58;
}

.demo-page--enkel .demo-nav-links li:first-child {
  color: #2a1d10;
}

.demo-hero-1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 4px 0;
}

.demo-pill {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b86d4d;
  background: rgba(184, 109, 77, 0.1);
  padding: 3px 7px;
  border-radius: 999px;
}

.demo-hero-1 .demo-h {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  color: #2a1d10;
  font-size: 1.1rem;
}

.demo-hero-1 .demo-h em {
  font-style: italic;
  color: #b86d4d;
}

.demo-hero-1 .demo-p {
  color: #8a6e58;
  font-size: 0.58rem;
}

.demo-hero-1 .demo-btn--dark {
  background: #2a1d10;
  color: #fdfaf6;
  margin-top: 4px;
  animation: ctaPulse 3.2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42, 29, 16, 0.35); }
  50%      { box-shadow: 0 0 0 5px rgba(42, 29, 16, 0); }
}

.demo-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: auto;
}

.demo-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.demo-thumb-1 {
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255, 235, 200, 0.7), transparent 60%),
    linear-gradient(135deg, #e8c9a8 0%, #b86d4d 100%);
}

.demo-thumb-2 {
  background:
    radial-gradient(60% 60% at 70% 70%, rgba(255, 240, 220, 0.5), transparent 60%),
    linear-gradient(135deg, #d6a886 0%, #8a4f33 100%);
}

.demo-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmerSlide 5s ease-in-out infinite;
}

.demo-thumb-2::after {
  animation-delay: 1.5s;
}

@keyframes shimmerSlide {
  0%, 60% { transform: translateX(-100%); }
  80%     { transform: translateX(100%); }
  100%    { transform: translateX(100%); }
}

/* =========================================================
   TIER 2 — STANDARD (Klar Renhold: light, teal, professional)
   ========================================================= */
.demo--standard .demo-frame {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  border-color: #e3e9ef;
}

.demo--standard .demo-chrome {
  background: linear-gradient(180deg, #f4f7fa 0%, #e9eef3 100%);
  border-bottom-color: #dde4ec;
}

.demo--standard .demo-chrome-url {
  background: #ffffff;
  border-color: #dde4ec;
  color: #4a5b6e;
}

.demo-page--standard {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #0a1a26;
}

/* Klar nav */
.demo-nav--klar {
  border-bottom-color: #e3e9ef;
}

.demo-logo--klar {
  background: linear-gradient(135deg, #4f6960 0%, #5f7a71 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 12px -4px rgba(13, 148, 136, 0.4);
}

.demo-nav--klar .demo-nav-links li {
  color: #4a5b6e;
}

.demo-nav--klar .demo-nav-links li:first-child {
  color: #0a1a26;
}

.demo-nav-cta--klar {
  background: #0a1a26;
  color: #ffffff;
  font-weight: 600;
}

/* Klar hero */
.demo-hero-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 2px 0 6px;
}

.demo-eyebrow-2 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 3px 7px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.demo-eyebrow-2-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4f6960;
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.5);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.demo-h--klar {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 800;
  color: #0a1a26;
  font-size: 0.95rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.demo-h--klar em {
  font-style: normal;
  background: linear-gradient(135deg, #4f6960 0%, #5f7a71 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.demo-btn--klar {
  background: linear-gradient(135deg, #4f6960 0%, #5f7a71 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 10px -2px rgba(13, 148, 136, 0.4);
}

.demo-btn--klar-ghost {
  background: transparent;
  color: #0a1a26;
  font-weight: 500;
  padding-left: 0;
}

/* Klar hero illustration */
.demo-hero-2-img {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
}

.demo-hero-2-img--klar {
  background:
    radial-gradient(70% 60% at 25% 25%, rgba(167, 243, 208, 0.45), transparent 60%),
    radial-gradient(50% 50% at 80% 80%, rgba(20, 184, 166, 0.35), transparent 60%),
    linear-gradient(160deg, #4f6960 0%, #556f67 100%);
  box-shadow: 0 6px 16px -6px rgba(13, 148, 136, 0.4);
}

.demo-hero-2-img-shine {
  position: absolute;
  inset: -40% -40%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(255, 255, 255, 0.2) 30%, transparent 50%);
  animation: shineRotate 9s linear infinite;
}

.demo-hero-2-img-tag {
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
  font-size: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: rgba(10, 26, 38, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px 6px;
  border-radius: 999px;
  text-align: center;
}

@keyframes shineRotate {
  to { transform: rotate(360deg); }
}

/* Klar section label */
.demo-section-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a5b6e;
  padding: 6px 0 2px;
  border-top: 1px solid #e3e9ef;
}

.demo-section-label--klar {
  color: #0f766e;
}

/* Service mini cards */
.demo-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.demo-card-mini {
  background: #ffffff;
  border: 1px solid #e3e9ef;
  border-radius: 6px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 400ms ease, border-color 400ms ease, box-shadow 400ms ease;
}

.demo-card-mini--klar {
  align-items: flex-start;
}

.demo--standard:hover .demo-card-mini {
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: 0 4px 10px -4px rgba(13, 148, 136, 0.18);
}

.demo--standard:hover .demo-card-mini:nth-child(2) {
  transition-delay: 60ms;
}

.demo--standard:hover .demo-card-mini:nth-child(3) {
  transition-delay: 120ms;
}

.demo-card-icon--klar {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: #ecfdf5;
  color: #4f6960;
  border-radius: 4px;
  margin-bottom: 2px;
}

.demo-bar {
  height: 3px;
  border-radius: 2px;
  background: #c7d1dc;
  width: 75%;
}

.demo-bar--sm {
  width: 45%;
  background: #dde4ec;
}

/* Stats row */
.demo-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid #e3e9ef;
}

.demo-stats-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.demo-stats-row b {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 0.85rem;
  color: #0a1a26;
  line-height: 1;
  letter-spacing: -0.02em;
}

.demo-stats-row--klar b span {
  background: linear-gradient(135deg, #4f6960 0%, #5f7a71 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.demo-stats-row small {
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a5b6e;
  font-weight: 500;
}

/* =========================================================
   TIER 3 — PREMIUM (dark, glowing, dashboard-like)
   ========================================================= */
.demo--premium {
  padding: 14px;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.02) 100%);
}

.demo--premium .demo-frame {
  position: absolute;
  inset: 14px;
  border-radius: 12px;
}

.demo-aura {
  position: absolute;
  inset: 6% 5%;
  background:
    radial-gradient(42% 52% at 30% 46%, rgba(201, 169, 110, 0.4), transparent 68%),
    radial-gradient(42% 50% at 72% 48%, rgba(230, 201, 138, 0.28), transparent 68%),
    radial-gradient(44% 58% at 50% 90%, rgba(240, 168, 122, 0.2), transparent 70%);
  filter: blur(22px);
  opacity: 0.72;
  z-index: 0;
  animation: auraDriftPremium 14s ease-in-out infinite alternate;
}

@keyframes auraDriftPremium {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
  50%  { transform: translate3d(20px, -10px, 0) scale(1.05); opacity: 0.95; }
  100% { transform: translate3d(-15px, 8px, 0) scale(1.08); opacity: 0.8; }
}

.demo-page--premium {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #e2e8f0;
  position: relative;
}

.demo-page-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 50% at 20% 20%, rgba(201, 169, 110, 0.22), transparent 60%),
    radial-gradient(60% 40% at 90% 80%, rgba(230, 201, 138, 0.16), transparent 60%);
  pointer-events: none;
}

.demo-page--premium > * {
  position: relative;
  z-index: 1;
}

.demo-nav--premium {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  padding-bottom: 7px;
  margin-bottom: 4px;
}

.demo-nav--premium .demo-nav-links li {
  color: rgba(226, 232, 240, 0.55);
}

.demo-nav--premium .demo-nav-links li:first-child {
  color: #fff;
}

.demo-nav-cta--glow {
  background: linear-gradient(135deg, #c9a96e 0%, #e6c98a 50%, #c9a96e 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease-in-out infinite;
  color: #0a0a0a;
  font-weight: 600;
  box-shadow: 0 4px 10px -2px rgba(201, 169, 110, 0.45);
}

.demo-hero-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 2px 0 4px;
}

.demo-eyebrow-3 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e6c98a;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 3px 7px;
  border-radius: 999px;
}

.demo-eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9a96e;
  box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.6);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.demo-hero-3 .demo-h {
  font-size: 1.05rem;
  line-height: 1.05;
}

/* KPI grid */
.demo-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.demo-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  position: relative;
  overflow: hidden;
}

.demo-kpi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.2), transparent 50%);
  opacity: 0;
  transition: opacity var(--t);
}

.demo--premium:hover .demo-kpi::before {
  opacity: 1;
}

.demo-kpi small {
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
  font-weight: 600;
}

.demo-kpi b {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.demo-kpi-trend {
  font-size: 0.46rem;
  color: #c9a96e;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.demo-kpi:nth-child(3) .demo-kpi-trend {
  color: rgba(226, 232, 240, 0.5);
}

/* Chart */
.demo-chart {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 7px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}

.demo-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.demo-chart-title {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.demo-chart-sub {
  font-size: 0.46rem;
  color: rgba(226, 232, 240, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-chart-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-height: 32px;
  padding-top: 6px;
}

.demo-chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 33%;
}

.demo-chart-bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
  flex: 1;
}

.demo-chart-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, rgba(230, 201, 138, 0.85) 0%, rgba(201, 169, 110, 0.4) 100%);
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  animation: barGrow 900ms cubic-bezier(.4, .8, .2, 1) backwards,
             barBreath 4s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(201, 169, 110, 0.3);
}

.demo-chart-bars span:last-child {
  background: linear-gradient(180deg, #e6c98a 0%, #c9a96e 100%);
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.6);
}

.demo-chart-bars span:nth-child(1) { animation-delay: 0ms, 0ms; }
.demo-chart-bars span:nth-child(2) { animation-delay: 80ms, 200ms; }
.demo-chart-bars span:nth-child(3) { animation-delay: 160ms, 400ms; }
.demo-chart-bars span:nth-child(4) { animation-delay: 240ms, 600ms; }
.demo-chart-bars span:nth-child(5) { animation-delay: 320ms, 800ms; }
.demo-chart-bars span:nth-child(6) { animation-delay: 400ms, 1000ms; }
.demo-chart-bars span:nth-child(7) { animation-delay: 480ms, 1200ms; }

@keyframes barGrow {
  0%   { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

@keyframes barBreath {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.94); }
}

.demo-chart-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.demo-chart-line path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 2.2s cubic-bezier(.4, .8, .2, 1) 600ms forwards;
  filter: drop-shadow(0 0 4px rgba(201, 169, 110, 0.55));
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Floating elements outside the frame */
.demo-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 5px 8px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.demo-float b {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.demo-float small {
  font-size: 0.46rem;
  color: rgba(226, 232, 240, 0.55);
  letter-spacing: 0.04em;
}

.demo-float-1 {
  top: 30px;
  right: 2px;
  animation: floatA 5s ease-in-out infinite;
}

.demo-float-2 {
  bottom: 14px;
  left: 2px;
  animation: floatB 6s ease-in-out infinite;
}

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

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

.demo-float-pulse {
  position: relative;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: rgba(201, 169, 110, 0.18);
  border-radius: 50%;
  flex-shrink: 0;
}

.demo-float-pulse span {
  width: 6px;
  height: 6px;
  background: #e6c98a;
  border-radius: 50%;
}

.demo-float-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid #c9a96e;
  animation: pulseRing 2.2s ease-out infinite;
  opacity: 0;
}

.demo-float-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #c9a96e 0%, #e6c98a 100%);
  border-radius: 50%;
  color: #0a0a0a;
  flex-shrink: 0;
}

/* Demo wrapper hover lifts the whole frame slightly */
.demo {
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
}

.package:hover .demo {
  transform: translateY(-2px);
}

.package:hover .demo-frame {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 24px 50px -16px rgba(15, 23, 42, 0.35);
}

.package--tier-3:hover .demo-aura {
  opacity: 1;
}

/* Reduce-motion overrides for demos */
@media (prefers-reduced-motion: reduce) {
  .demo-thumb::after,
  .demo-hero-2-img-shine,
  .demo-chart-bars span,
  .demo-chart-line path,
  .demo-aura,
  .demo-float-1,
  .demo-float-2,
  .demo-float-pulse::before,
  .demo-hero-1 .demo-btn--dark,
  .demo-eyebrow-dot,
  .demo-logo--glow,
  .demo-nav-cta--glow,
  .demo-btn--gradient,
  .demo-h--light em {
    animation: none !important;
  }

  .demo-chart-line path {
    stroke-dashoffset: 0 !important;
  }

  .demo-chart-bars span {
    transform: none !important;
  }
}

/* =========================================================
   HOMEPAGE ATMOSPHERE — polish, depth & separation
   ========================================================= */

/* Services: subtle vignette + soft top light for depth */
.services {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
  isolation: isolate;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 240px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(37, 99, 235, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.services .container { position: relative; z-index: 1; }

/* Packages: deeper, premium-feeling backdrop tuned to the three demo palettes
   (warm copper for tier 1, teal for tier 2, gold for tier 3) */
.packages {
  background: linear-gradient(180deg, #f4f7fa 0%, #ffffff 60%, #f8fafc 100%);
}

.packages-bg {
  background:
    radial-gradient(36% 32% at 12% 8%, rgba(184, 109, 77, 0.10), transparent 70%),
    radial-gradient(36% 32% at 88% 6%, rgba(13, 148, 136, 0.10), transparent 70%),
    radial-gradient(45% 40% at 50% 100%, rgba(201, 169, 110, 0.12), transparent 70%),
    radial-gradient(50% 40% at 50% 0%, rgba(15, 23, 42, 0.03), transparent 70%);
}

/* Slow drifting orbs behind the packages — premium and quiet */
.packages-bg::before,
.packages-bg::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.packages-bg::before {
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.22), transparent 65%);
  animation: packagesOrbA 22s ease-in-out infinite alternate;
}

.packages-bg::after {
  bottom: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.22), transparent 65%);
  animation: packagesOrbB 26s ease-in-out infinite alternate;
}

@keyframes packagesOrbA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(60px, 40px, 0) scale(1.1); }
}

@keyframes packagesOrbB {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-60px, -40px, 0) scale(1.08); }
}

/* Stronger typographic rhythm in section heads */
.section-head .eyebrow { font-weight: 700; }
.section-head .display-sm { letter-spacing: -0.024em; }

/* Tier bullets now reflect each demo's signature colour */
.package--tier-1 .package-tier .tier-bullet {
  background: #b86d4d;
  box-shadow: 0 0 0 4px rgba(184, 109, 77, 0.15);
}

.package--tier-2 .package-tier .tier-bullet {
  background: linear-gradient(135deg, #4f6960 0%, #5f7a71 100%);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.18);
}

.package--tier-3 .package-tier .tier-bullet {
  background: linear-gradient(135deg, #c9a96e 0%, #e6c98a 100%);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.22);
}

/* Tier-3 visuals align with Atelier Nord (gold/champagne) */
.package--tier-3 .package-ribbon {
  background: linear-gradient(135deg, #c9a96e 0%, #e6c98a 100%);
  color: #0a0a0a;
  box-shadow: 0 8px 22px -6px rgba(201, 169, 110, 0.45);
}

.package--tier-3.package--featured .package-glow {
  background: radial-gradient(60% 55% at 50% 18%, rgba(201, 169, 110, 0.24) 0%, rgba(230, 201, 138, 0.14) 46%, transparent 76%);
}

.package--tier-3.package--featured::before {
  background: linear-gradient(135deg, #c9a96e 0%, #e6c98a 50%, #c9a96e 100%);
}

.package--tier-3 .btn-primary {
  background: linear-gradient(135deg, #c9a96e 0%, #e6c98a 50%, #c9a96e 100%);
  color: #0a0a0a;
  box-shadow: 0 8px 20px -6px rgba(201, 169, 110, 0.45);
}

.package--tier-3 .btn-primary:hover {
  box-shadow: 0 12px 28px -6px rgba(201, 169, 110, 0.55);
  filter: brightness(1.04);
}

.package--tier-3 .package-tier--premium {
  background: linear-gradient(135deg, #c9a96e 0%, #e6c98a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Reduced motion for new atmosphere animations */
@media (prefers-reduced-motion: reduce) {
  .packages-bg::before,
  .packages-bg::after {
    animation: none !important;
  }
}

/* =========================================================
   PREMIUM POLISH — final agency-grade refinements
   Applied last so it can target existing elements safely.
   Goal: depth, life, hierarchy. No layout changes.
   ========================================================= */

/* ---------- HERO: depth, ambient halo, subtle motion ---------- */

.hero-showcase {
  isolation: isolate;
}

/* Soft ambient halo behind the browser mockup — gentle premium glow */
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 4% -4% 8% -4%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 50% at 50% 50%, rgba(30, 64, 175, 0.18), transparent 70%),
    radial-gradient(42% 38% at 80% 78%, rgba(201, 169, 110, 0.14), transparent 70%),
    radial-gradient(40% 38% at 18% 22%, rgba(15, 118, 110, 0.12), transparent 70%);
  filter: blur(42px);
  opacity: 0.9;
  animation: heroHaloDrift 18s ease-in-out infinite alternate;
}

@keyframes heroHaloDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.78; }
  100% { transform: translate3d(-26px, 20px, 0) scale(1.08); opacity: 1; }
}

/* Slightly tighter headline weight rhythm */
.hero-display {
  letter-spacing: -0.028em;
}

/* Refine hero-meta: subtle accent line under each item, animates on section hover */
.hero-meta li {
  position: relative;
  padding-bottom: 2px;
}
.hero-meta li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  border-radius: 2px;
  transition: width 500ms cubic-bezier(.2, .8, .2, 1), opacity 300ms ease;
}
.hero-meta:hover li::after {
  width: 28px;
  opacity: 0.6;
}

/* ---------- SERVICES: de-templated icons & custom-feeling cards ---------- */

/* Refined icon container — asymmetric radius removes default SaaS box feel */
.service .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px 16px 18px 5px;
  background:
    radial-gradient(70% 70% at 28% 22%, rgba(255, 255, 255, 0.9), transparent 65%),
    linear-gradient(160deg, #eef2fb 0%, #e2e8f3 100%);
  color: var(--color-primary-dark);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(30, 64, 175, 0.05),
    0 6px 14px -10px rgba(30, 64, 175, 0.35);
  margin-bottom: 1.35rem;
  position: relative;
}

/* Thin gradient hairline border via mask */
.service .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.4), rgba(15, 118, 110, 0.22) 55%, rgba(201, 169, 110, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity var(--t);
}

/* Refined hover — subtle lift, no aggressive rotation, glow not flat fill */
.service:hover .icon {
  background:
    radial-gradient(70% 70% at 28% 22%, rgba(255, 255, 255, 0.22), transparent 65%),
    linear-gradient(160deg, #1e40af 0%, #0f766e 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 30px -12px rgba(30, 64, 175, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}
.service:hover .icon::before { opacity: 0.95; }

/* Subtle top accent line on service card — appears on hover */
.service::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--color-primary) 50%, transparent);
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 280ms ease, transform 520ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
  border-radius: 2px;
  z-index: 1;
}
.service:hover::after {
  opacity: 0.7;
  transform: scaleX(1);
}

/* Subtler check dots in service points */
.service-points li::before {
  width: 16px;
  height: 16px;
  background-size: 11px;
  opacity: 0.95;
}

/* ---------- WHY (Tre ting): more life, depth, hierarchy ---------- */

/* Thin animated top accent line per item on hover */
.why-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.7) 50%, transparent);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.why-item:hover::after { opacity: 1; }

/* Slightly stronger left accent bar on hover */
.why-item::before { width: 4px; }

/* Soft warm glow behind number on hover */
.why-num {
  position: relative;
  isolation: isolate;
}
.why-num::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.22), transparent 70%);
  opacity: 0;
  z-index: -1;
  transition: opacity 420ms ease;
}
.why-item:hover .why-num::before { opacity: 1; }

/* Better breathing room in items */
.why-item { padding: 1.55rem 1.7rem; }

/* ---------- PACKAGES: tier-3 visually dominates ---------- */

/* Stronger lift on desktop */
@media (min-width: 1025px) {
  .package--tier-3 {
    transform: translateY(-16px);
  }
  .package--tier-3:hover {
    transform: translateY(-24px);
  }
}

/* Stronger ambient halo around featured card */
.package--tier-3.package--featured {
  box-shadow:
    0 38px 70px -38px rgba(201, 169, 110, 0.5),
    0 18px 32px -22px rgba(15, 23, 42, 0.18);
}

.package--tier-3.package--featured:hover {
  box-shadow:
    0 52px 90px -38px rgba(201, 169, 110, 0.6),
    0 24px 44px -24px rgba(15, 23, 42, 0.24);
}

/* Animated highlight sheen across the demo preview */
.package--tier-3 .package-preview {
  isolation: isolate;
}

.package--tier-3 .package-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-110%);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: pkg3Sheen 8s cubic-bezier(.4, .8, .2, 1) infinite;
  animation-delay: 1.4s;
}

@keyframes pkg3Sheen {
  0%   { transform: translateX(-110%); }
  55%  { transform: translateX(110%); }
  100% { transform: translateX(110%); }
}

/* Ribbon: refined depth, not larger */
.package--tier-3 .package-ribbon {
  box-shadow:
    0 14px 30px -10px rgba(201, 169, 110, 0.55),
    0 0 0 4px rgba(255, 255, 255, 0.95),
    0 0 28px rgba(201, 169, 110, 0.35);
}

/* ---------- GLOBAL: section seams (faint horizontal hairlines) ---------- */

.services { position: relative; }
.services::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.18) 50%, transparent);
  pointer-events: none;
  z-index: 1;
}

.packages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.22) 50%, transparent);
  pointer-events: none;
  z-index: 2;
}

.why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.32) 50%, transparent);
  pointer-events: none;
  z-index: 2;
}

/* ---------- Reduced motion guards for new layer ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-showcase::before,
  .package--tier-3 .package-preview::after {
    animation: none !important;
  }
}

/* =========================================================
   POLISH PASS 2 — fill dark empty zone, refine details
   ========================================================= */

/* ---------- WHY: process strip under the existing grid ---------- */

.why-process-wrap {
  position: relative;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.why-process {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(2rem, 3.5vw, 3rem);
}

.why-process::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-premium), transparent);
  opacity: 0.7;
}

.why-process-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.2rem);
  max-width: 640px;
}

.why-process-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e6c98a;
}

.why-process-line {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, #c9a96e, rgba(201, 169, 110, 0.2));
}

.why-process-lead {
  font-size: 0.98rem;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 52ch;
}

.why-process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  counter-reset: step;
}

@media (max-width: 900px) {
  .why-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .why-process-list { grid-template-columns: minmax(0, 1fr); }
}

.why-step {
  position: relative;
  padding: 1.3rem 1.3rem 1.4rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: background var(--t), border-color var(--t), transform var(--t);
  overflow: hidden;
  isolation: isolate;
}

.why-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.5) 50%, transparent);
  opacity: 0;
  transition: opacity 400ms ease;
}

.why-step:hover {
  transform: translateY(-3px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
  border-color: rgba(201, 169, 110, 0.35);
}

.why-step:hover::before { opacity: 1; }

.why-step-num {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #c9a96e;
  margin-bottom: 0.7rem;
  padding: 4px 9px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.06);
}

.why-step h4 {
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.why-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #94a3b8;
}

/* Soften why section vertical padding now that it has more body */
.why {
  padding-block: clamp(4.5rem, 7vw, 7rem);
}

/* ---------- HERO: stronger atmosphere, custom mockup feel ---------- */

/* Slightly more dramatic ambient halo + warm undertone */
.hero-showcase::before {
  inset: 2% -6% 10% -6%;
  background:
    radial-gradient(60% 52% at 50% 50%, rgba(30, 64, 175, 0.22), transparent 70%),
    radial-gradient(45% 42% at 80% 78%, rgba(201, 169, 110, 0.18), transparent 70%),
    radial-gradient(42% 40% at 18% 22%, rgba(15, 118, 110, 0.14), transparent 70%);
  filter: blur(48px);
  opacity: 1;
}

/* Subtle pulsing halo specifically around the mockup (placed on showcase since browser clips overflow) */
.hero-showcase::after {
  content: "";
  position: absolute;
  inset: 8% 4% 12% 4%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(55% 48% at 50% 50%, rgba(30, 64, 175, 0.22), transparent 72%);
  filter: blur(34px);
  opacity: 0.85;
  animation: browserHaloPulse 8s ease-in-out infinite alternate;
}

@keyframes browserHaloPulse {
  0%   { opacity: 0.55; transform: scale(0.96); }
  100% { opacity: 1;    transform: scale(1.06); }
}

/* Slow breathing on the inner mockup cards (subtle "alive" feel) */
.bp-cards .bp-card {
  animation: bpCardBreath 7s ease-in-out infinite;
}
.bp-cards .bp-card:nth-child(2) { animation-delay: 0.6s; }
.bp-cards .bp-card:nth-child(3) { animation-delay: 1.2s; }

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

/* Slightly stronger headline weight rhythm */
.hero-display {
  letter-spacing: -0.03em;
  line-height: 1.04;
}

/* Lead line: tightened color contrast for better hierarchy */
.hero-content .lead {
  color: var(--color-text-muted);
  font-size: clamp(1.02rem, 0.45vw + 0.95rem, 1.18rem);
}

/* ---------- SERVICES: bolder de-template — frameless icon treatment ---------- */

/* Drop the box. Use stroke icon + accent line beside it = editorial, custom feel. */
.service .icon {
  width: auto;
  height: auto;
  min-height: 32px;
  border-radius: 0;
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
  margin-bottom: 1.1rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

/* Remove the hairline-border pseudo (no longer needed without box) */
.service .icon::before {
  content: none;
}

/* Add a thin gradient accent line BESIDE the icon — gives editorial rhythm */
.service .icon::after {
  content: "";
  width: 28px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.55;
  transform-origin: left center;
  transition: width 400ms cubic-bezier(.2, .8, .2, 1), opacity 300ms ease;
  position: static;
  inset: auto;
}

.service:hover .icon {
  background: transparent;
  color: var(--color-primary-dark);
  transform: translateX(2px);
  box-shadow: none;
}

.service:hover .icon::after {
  width: 56px;
  opacity: 1;
}

.service .icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
  transition: transform var(--t), color var(--t);
}

.service:hover .icon svg {
  transform: scale(1.06);
}

/* Slight tightening of service card spacing */
.service h3 {
  margin-bottom: 0.45rem;
}

/* ---------- PACKAGE 3: more dominant ---------- */

@media (min-width: 1025px) {
  .package--tier-3 {
    transform: translateY(-18px) scale(1.015);
  }
  .package--tier-3:hover {
    transform: translateY(-28px) scale(1.025);
  }
}

/* Stronger ambient outer halo (visible even at rest) */
.package--tier-3.package--featured {
  box-shadow:
    0 44px 80px -40px rgba(201, 169, 110, 0.55),
    0 22px 38px -22px rgba(15, 23, 42, 0.2);
}

.package--tier-3.package--featured::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 28px;
  background: radial-gradient(50% 42% at 50% 22%, rgba(201, 169, 110, 0.28), transparent 70%);
  filter: blur(22px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.85;
  animation: pkg3HaloBreath 9s ease-in-out infinite alternate;
}

@keyframes pkg3HaloBreath {
  0%   { opacity: 0.55; transform: scale(0.97); }
  100% { opacity: 1;    transform: scale(1.05); }
}

/* ---------- PACKAGE 1: warmer, more "real little site" feel ---------- */

/* Add a subtle warm cast & soft border-glow to the demo frame */
.package--tier-1 .demo-frame {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 18px 36px -18px rgba(184, 109, 77, 0.22),
    0 6px 16px -10px rgba(15, 23, 42, 0.08);
  border-color: rgba(184, 109, 77, 0.18);
}

.package--tier-1 .package-preview {
  background: radial-gradient(80% 60% at 50% 0%, rgba(184, 109, 77, 0.06), transparent 70%);
}

/* Tiny "live" green dot in the URL chrome — feels like a real cached site */
.package--tier-1 .demo-chrome-url {
  position: relative;
}
.package--tier-1 .demo-chrome-url::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
}

/* ---------- Reduced motion guards ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-showcase::after,
  .bp-cards .bp-card,
  .package--tier-3.package--featured::after {
    animation: none !important;
  }
}

/* =========================================================
   POLISH PASS 3 — final hero/mockup de-template + micro-tune
   ========================================================= */

/* ---------- HERO MOCKUP: differentiated cards = real designed feel ---------- */

/* Reset the generic shared bottom layout — let each variant own its content */
.bp-card {
  padding: 9px 10px 10px;
  gap: 5px;
}

/* Soft inner top highlight makes the colored "thumbnail" feel rendered, not flat */
.bp-card::after {
  content: "";
  position: absolute;
  inset: 8px 8px auto 8px;
  height: 55%;
  border-radius: 5px;
  background:
    radial-gradient(80% 70% at 20% 0%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(15, 23, 42, 0.06), transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* Stat: large faint number — reads like a metric tile */
.bp-card-num {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1;
  position: relative;
  z-index: 2;
}
.bp-card-num i {
  font-style: normal;
  font-size: 0.6rem;
  color: var(--color-text-subtle);
  font-weight: 600;
  margin-left: 1px;
  letter-spacing: 0;
}

/* Rating: 5 tiny stars built with CSS — no extra SVG weight */
.bp-card-stars {
  display: inline-flex;
  gap: 2px;
  position: relative;
  z-index: 2;
}
.bp-card-stars i {
  width: 7px;
  height: 7px;
  background: #f59e0b;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3 7 7 .6-5.3 4.7L18 22l-6-3.6L6 22l1.3-7.7L2 9.6 9 9z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3 7 7 .6-5.3 4.7L18 22l-6-3.6L6 22l1.3-7.7L2 9.6 9 9z'/></svg>") center/contain no-repeat;
}

/* Feature: small check chip — feels like a feature row */
.bp-card-icon {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--color-primary);
  color: #fff;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 4px 10px -4px rgba(30, 64, 175, 0.55);
  position: relative;
  z-index: 2;
}

/* Slightly differentiated bar widths so silhouettes differ between cards */
.bp-card--stat    .bp-card-bar-sm { width: 60%; }
.bp-card--rating  .bp-card-bar-sm { width: 70%; }
.bp-card--feature .bp-card-bar-sm { width: 50%; }

/* Faint dot pattern in browser body — subtle "design grid" texture */
.browser-body {
  position: relative;
}
.browser-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
  background-position: 0 0;
  mask-image: radial-gradient(80% 80% at 100% 0%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(80% 80% at 100% 0%, #000 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* Make sure mockup content sits above the dot pattern */
.browser-body > * { position: relative; z-index: 1; }

/* Refine the browser bar — slightly more elegant chrome */
.browser-bar {
  padding: 10px 14px;
  background:
    linear-gradient(180deg, #fcfcfe 0%, #f1f3f8 100%);
  position: relative;
}
.browser-bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.18) 20%, rgba(15, 118, 110, 0.14) 50%, rgba(201, 169, 110, 0.18) 80%, transparent);
  opacity: 0.5;
  pointer-events: none;
}

/* Browser dots: slightly more refined */
.browser-dots span {
  width: 9px;
  height: 9px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

/* URL pill: tighter and more designed */
.browser-url {
  font-size: 0.74rem;
  padding: 4px 14px;
  letter-spacing: 0.005em;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

/* ---------- HERO float / rating cards: more confident treatment ---------- */

.hero-float-card,
.hero-rating-card {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 38px -18px rgba(15, 23, 42, 0.24),
    0 4px 10px -6px rgba(30, 64, 175, 0.12);
}

.hero-float-card {
  padding: 11px 15px;
}

.hero-rating-card {
  padding: 9px 13px;
  gap: 3px;
}

/* Subtle hairline accent inside float card — designer detail */
.hero-float-card::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
  opacity: 0.35;
}
.hero-float-card {
  padding-left: 22px;
}

/* ---------- SERVICE ICONS: micro refinements only ---------- */

/* Slightly tighter rhythm between icon row and heading */
.service .icon {
  margin-bottom: 0.95rem;
}

/* Accent line: softer rest state, brighter on hover */
.service .icon::after {
  height: 1.5px;
  background: linear-gradient(90deg, rgba(30, 64, 175, 0.5), rgba(15, 118, 110, 0.35));
  opacity: 0.6;
}
.service:hover .icon::after {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 1;
}

/* Icon stroke gets a tiny tint shift on hover for depth */
.service .icon svg {
  transition: transform 380ms cubic-bezier(.2, .8, .2, 1), color 320ms ease, stroke-width 320ms ease;
}
.service:hover .icon svg {
  transform: scale(1.08);
  color: var(--color-primary-dark);
}

/* Soft directional sheen on the WHOLE card on hover — premium touch */
.service {
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(70% 50% at 20% 0%, rgba(30, 64, 175, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
  z-index: 0;
}
.service:hover::before { opacity: 1; }
.service > * { position: relative; z-index: 1; }

/* ---------- PACKAGE 1 demo: a touch more realism ---------- */

/* The "Bestill time" button gets a tiny glow — feels like a real CTA */
.package--tier-1 .demo-btn--dark {
  box-shadow:
    0 4px 12px -4px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(184, 109, 77, 0.18);
}

/* The pill gets a warmer ring */
.package--tier-1 .demo-pill {
  box-shadow: 0 0 0 1px rgba(184, 109, 77, 0.18);
}

/* Subtle warm gradient on demo-thumbs to feel more like real photos */
.package--tier-1 .demo-thumb-1 {
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(135deg, #e9d6c2 0%, #c9a88a 100%);
}
.package--tier-1 .demo-thumb-2 {
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(255, 255, 255, 0.5), transparent 55%),
    linear-gradient(135deg, #d6c9b9 0%, #b89578 100%);
}

/* Subtle hairline divider line at the bottom of the demo-nav — feels like a built menu */
.package--tier-1 .demo-nav {
  position: relative;
}
.package--tier-1 .demo-nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 109, 77, 0.18), transparent 70%);
  pointer-events: none;
}

/* =========================================================
   POLISH PASS 4 — services as editorial columns
   The complaint was identical rounded boxes + perfect symmetry.
   Solution: remove card chrome, asymmetric vertical stagger,
   thin top hairlines like a magazine spread.
   ========================================================= */

/* De-box: each service is an editorial column, not a card */
.services .service {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 1.9rem 0 0.6rem 0;
  overflow: visible;
  transition:
    transform 520ms cubic-bezier(.2, .8, .2, 1),
    opacity 320ms ease;
}

.services .service:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

/* Kill the rotating halo — only made sense with a bordered card */
.services .service .service-glow {
  display: none;
}

/* Kill the previous radial sheen pseudo — replaced by hairline below */
.services .service::before {
  content: none;
}

/* Top hairline — editorial column header line, always visible */
.services .service::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.06) 55%, transparent);
  opacity: 1;
  transform: none;
  pointer-events: none;
  z-index: 0;
  border-radius: 0;
  transition: background 420ms ease;
}

.services .service:hover::after {
  background: linear-gradient(90deg, var(--color-primary), rgba(30, 64, 175, 0.18) 55%, transparent);
  opacity: 1;
}

/* Editorial typography rhythm */
.services .service h3 {
  font-size: 1.32rem;
  letter-spacing: -0.015em;
  line-height: 1.22;
  margin-bottom: 0.5rem;
}

.services .service > p {
  margin-bottom: 1.4rem;
  line-height: 1.62;
}

/* Icon row: stronger top breathing, lighter bottom rhythm */
.services .service .icon {
  margin-top: 1.4rem;
  margin-bottom: 1.05rem;
}

/* Internal hairline at the points-list still works, but lighten the color */
.services .service .service-points {
  border-top-color: rgba(15, 23, 42, 0.07);
  padding-top: 1.1rem;
}

/* Asymmetric vertical stagger on desktop — kills the mechanical SaaS grid */
@media (min-width: 1025px) {
  .services .grid-3 {
    align-items: start;
  }
  .services .grid-3 .service:nth-child(1) { transform: translateY(0); }
  .services .grid-3 .service:nth-child(2) { transform: translateY(46px); }
  .services .grid-3 .service:nth-child(3) { transform: translateY(18px); }

  /* Hover lifts each card slightly while preserving its stagger baseline */
  .services .grid-3 .service:nth-child(1):hover { transform: translateY(-6px); }
  .services .grid-3 .service:nth-child(2):hover { transform: translateY(40px); }
  .services .grid-3 .service:nth-child(3):hover { transform: translateY(12px); }
}

/* Slimmer column gap so the columns feel related, not isolated */
@media (min-width: 1025px) {
  .services .grid-3 {
    column-gap: clamp(2.2rem, 4vw, 3.4rem);
  }
}

/* =========================================================
   POLISH PASS 5 — services section: complete redesign
   Replaces 3-card SaaS template with an editorial numbered
   list (hairline-divided rows). Studio-website composition.
   ========================================================= */

/* New list container */
.services-list {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0 0;
  padding: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

/* Each service is a horizontal row, divided by hairlines */
.services-row {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1.4fr) minmax(0, 1fr) 28px;
  align-items: start;
  gap: clamp(1.6rem, 3vw, 3.4rem);
  padding: clamp(2.4rem, 4vw, 3.4rem) 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  transition: padding 360ms cubic-bezier(.2, .8, .2, 1);
}

/* Subtle hover wash that extends beyond the container edges */
.services-row::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1rem, 3vw, 2.5rem));
  right: calc(-1 * clamp(1rem, 3vw, 2.5rem));
  top: 1px;
  bottom: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30, 64, 175, 0.028) 25%,
    rgba(30, 64, 175, 0.028) 75%,
    transparent
  );
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
  z-index: -1;
}
.services-row:hover::before { opacity: 1; }

/* Editorial leading number */
.services-row-num {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 0.5vw + 0.9rem, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.28);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  padding-top: 0.18rem;
  transition: color 360ms ease, transform 480ms cubic-bezier(.2, .8, .2, 1);
}
.services-row:hover .services-row-num {
  color: var(--color-primary);
  transform: translateX(2px);
}

/* Title column: heading + description stacked */
.services-row-main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.services-row-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.6vw + 0.85rem, 2.25rem);
  letter-spacing: -0.026em;
  line-height: 1.06;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  transition: color 320ms ease, transform 480ms cubic-bezier(.2, .8, .2, 1);
}

.services-row:hover .services-row-title {
  color: var(--color-primary-dark);
  transform: translateX(2px);
}

.services-row-desc {
  font-size: clamp(1rem, 0.4vw + 0.93rem, 1.1rem);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 44ch;
  margin: 0;
}

/* Points column: vertical list, centered against the title block */
.services-row-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-self: center;
}

.services-row-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.services-row-points li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    var(--color-primary-soft)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>")
    center/9px no-repeat;
  flex-shrink: 0;
}

/* Trailing arrow — slides on hover */
.services-row-arrow {
  display: inline-grid;
  place-items: center;
  color: rgba(15, 23, 42, 0.2);
  align-self: center;
  transition: color 320ms ease, transform 380ms cubic-bezier(.2, .8, .2, 1);
}

.services-row:hover .services-row-arrow {
  color: var(--color-primary);
  transform: translateX(8px);
}

/* ---------- Responsive ---------- */

/* Tablet: 2 rows per service — points wrap below */
@media (max-width: 960px) {
  .services-row {
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    grid-template-areas:
      "num main arrow"
      "num points arrow";
    row-gap: 1.1rem;
    column-gap: 1.4rem;
  }
  .services-row-num   { grid-area: num; }
  .services-row-main  { grid-area: main; }
  .services-row-points{ grid-area: points; align-self: start; }
  .services-row-arrow { grid-area: arrow; align-self: center; }
}

/* Mobile: single column stack */
@media (max-width: 560px) {
  .services-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "num arrow"
      "main main"
      "points points";
    row-gap: 0.9rem;
    column-gap: 1rem;
    padding: 2rem 0;
  }
  .services-row-num   { grid-area: num; padding-top: 0; }
  .services-row-arrow { grid-area: arrow; align-self: start; }
  .services-row-title { font-size: 1.6rem; }
}

/* Reduced motion: kill row hover slides */
@media (prefers-reduced-motion: reduce) {
  .services-row-num,
  .services-row-arrow,
  .services-row-title {
    transition: none !important;
    transform: none !important;
  }
}
