/* ── Self-hosted web fonts ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Gambetta';
  src: url('../fonts/Gambetta-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gambetta';
  src: url('../fonts/Gambetta-VariableItalic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Black.woff2') format('woff2');
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ── Lirian Brand Palette ─────────────────────────────────────────────────
     Beige   #ECE5DD  |  Dark Black  #3D3935
     Grey    #B0A9A0  |  Yellow      #E19F26
  ── */
  --ink:    #3D3935;
  --mid:    #7A7068;
  --light:  #B0A9A0;
  --border: #CCC7C0;
  --bg:     #ECE5DD;
  --bg-alt: #E2DAD1;
  --bg-dark:#3D3935;
  --accent: #E19F26;
  --surface:#FAF8F5;
  --shadow: 0 2px 16px rgba(61, 57, 53, 0.10);
  --r: 15px;

  /* ── Section spacing tokens ──────────────────────────────────────────────
     --sp    : full section padding — 4rem mobile → 6rem desktop (clamp)
     --sp-sm : reduced variant for heroes & page headers
  ── */
  --sp:    clamp(4rem, 6vw, 4rem);
  --sp-sm: clamp(2rem, 4vw, 3.5rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Satoshi', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Gambetta', Arial Black, Arial, sans-serif;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.4rem;
  font-weight: 200;
  line-height: 1.2;
}

h4 {
  font-size: 1.1rem;
  font-weight: 200;
}

p {
  color: var(--mid);
  line-height: 1.5;
}


.container {
  max-width: clamp(1160px, 88vw, 1600px);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--sp) 0;
}

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

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.6);
}

.section-dark .label {
  color: rgba(255, 255, 255, 0.4);
}

.section-dark-title {
  color: #fff;
}

.section-dark-copy {
  margin-bottom: 1.5rem;
}

.label {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  gap: 0.5rem;
  font-size: 0.7rem;
  border: 1px solid var(--ink);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12rem;
  align-items: start;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.divider {
  height: 1px;
  background: var(--border);
}

.ph-box {
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r);
}

.ph-hero {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  padding: 0;
}

.ph-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ph-card,
.ph-port {
  width: 100%;
  aspect-ratio: 4/3;
}

.ph-card {
  margin-bottom: 1rem;
}

.ph-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.btn-arrow {
  display: inline-block;
  fill: currentColor;
  height: 1.72em;
  width: auto;
  flex-shrink: 0;
  vertical-align: middle;
}

.btn-primary,
.btn-secondary,
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--r);
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-dark {
  background: var(--accent);
  color: var(--ink);
  border: none;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  border: none;
  font-weight: 700;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
}

.section-dark .btn-secondary {
  color: var(--bg);
  border-color: var(--bg);
}

.section-dark .btn-secondary:hover {
  background: var(--bg);
  color: var(--ink);
}

.full-width {
  width: 100%;
  justify-content: center;
}

#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-dark);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: clamp(1160px, 88vw, 1600px);
  margin: 0 auto;
}

.nav-logo a {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-logo img {
  filter: brightness(0) invert(1);
}

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

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
  background: var(--accent);
  color: var(--ink);
  padding: 0.55rem 1.4rem;
  border: none;
  border-radius: var(--r);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-links a.nav-cta,
.nav-links a.nav-cta-link,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta-link:hover,
.nav-links a.nav-cta:visited,
.nav-links a.nav-cta-link:visited {
  color: var(--ink);
}

/* Language switcher dropdown */
.lang-switcher {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: -0.5rem;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0;
  transition: color 0.15s;
}

.lang-trigger:hover {
  color: #fff;
}

.lang-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.lang-switcher:hover .lang-chevron,
.lang-switcher:focus-within .lang-chevron,
.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  background: #2e2b28;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  min-width: 72px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown,
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 0.65rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Language switcher — mobile menu */
.lang-switcher-mobile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0 0.25rem;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-mobile-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5) !important;
  padding: 0.4rem 0.75rem !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.15s !important;
  min-height: auto !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: inline-flex !important;
  align-items: center;
}

.lang-mobile-link:hover,
.lang-mobile-link.lang-current {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.07);
}

.lang-mobile-link.lang-current {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Hero — split-panel layout ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  background: var(--bg-dark) no-repeat center center / cover;
  overflow: hidden;
}

/* Left panel: text content with gradient + blur overlay */
.hero-panel {
  flex: 0 0 55%;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
  padding-right: clamp(2rem, 5vw, 5rem);
  /* Align text with the container: offset = viewport gutter + container inner padding */
  padding-left: max(2rem, calc((100vw - clamp(1160px, 88vw, 1600px)) / 2 + 2rem));
  overflow: hidden;
  border-right: 1px solid var(--bg);
}

/* Icon marker centered on the panel border — sits outside hero-panel to avoid overflow:hidden clip */
.hero-panel-marker {
  position: absolute;
  left: 55%;
  top: 70%;
  transform: translate(-64%, -50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-panel-marker svg {
  width: 40px;
  height: 40px;
  color: var(--bg);
  display: block;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(34, 28, 22, 0.78) 0%,
    rgba(37, 20, 2, 0.711) 28%,
    rgba(54, 29, 4, 0.87) 48%,
    rgba(42, 22, 2, 0.781) 68%,
    rgba(44, 23, 1, 0) 100%
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1;
}

.hero-panel-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

/* Right panel: transparent — shows the background image cleanly */
.hero-clean {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.2rem;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.70);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1;
  padding: 0.85rem 1.6rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r);
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* ── Stats strip — tall cards below hero ────────────────────────────────── */
.stats-strip {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat-item {
  min-height: clamp(220px, 26vw, 340px);
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.stat-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.stat-num {
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-family: 'Gambetta', Arial Black, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  max-width: 180px;
  line-height: 1.3;
  text-align: center;
}

/* Light-background variant — used in single-project */
.stat-bar--light {
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.stat-bar--light .stat-item {
  padding: 2rem 2.4rem;
  border: none;
  border-right: 1px solid var(--border);
}

.stat-bar--light .stat-item:last-child {
  border-right: none;
}

.stat-bar--light .stat-num {
  font-size: 1.6rem;
  color: var(--ink);
}

.stat-bar--light .stat-lbl {
  color: var(--mid);
}

.calc-section {
  background: var(--bg-alt);
  min-height: 87vh;
  align-content: center;
}

.calc-left {
  padding-top: 2rem;
}

.calc-left h2 {
  margin-bottom: 1rem;
}

.calc-left > p {
  margin-bottom: 1.5rem;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--mid);
}

.trust-list li::before {
  content: "✓";
  font-weight: 700;
  color: var(--ink);
}

.calc-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.loading-calc {
  color: var(--light);
}

.progress-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 1.8rem;
}

.progress-dot {
  flex: 1;
  height: 3px;
  border-radius: 100px;
  background: var(--border);
}

.progress-dot.done {
  background: var(--accent);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.step-sub {
  font-size: 0.75rem;
  color: var(--light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.step-prompt {
  font-size: 0.82rem;
  color: var(--mid);
  margin-bottom: 1rem;
}

.tile-grid-2,
.tile-grid-3 {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.tile-grid-2 {
  grid-template-columns: 1fr 1fr;
}

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

.tile {
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 1rem;
  text-align: left;
  background: var(--surface);
}

.tile.selected,
.tile:hover {
  border-color: var(--accent);
}

.tile-icon {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.tile-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.tile-desc {
  font-size: 0.75rem;
  color: var(--mid);
}

.tile-badge {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.25rem 0.5rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
}

.scope-block {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--r);
}

.scope-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.75rem;
}

.scope-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 0.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--ink);
  transition: border-color 0.15s;
}

.scope-option:last-child { margin-bottom: 0; }

.scope-option.selected,
.scope-option:hover {
  border-color: var(--accent);
}

.scope-option input[type="radio"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.form-select,
.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink);
}

.form-select {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.input-suffix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-suffix-wrap .form-input {
  padding-right: 2.5rem;
}
.input-suffix {
  position: absolute;
  right: 0.875rem;
  font-size: 0.88rem;
  color: var(--light);
  pointer-events: none;
}

.form-hint {
  font-size: 0.72rem;
  color: var(--light);
  margin-top: 0.4rem;
  line-height: 1.5;
}

.form-privacy {
  font-size: 0.72rem;
  color: var(--light);
  margin-top: 0.5rem;
  text-align: center;
}

.calc-nav {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
  padding: 0.75rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mid);
  background: var(--surface);
}

.btn-next {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
  padding: 0.85rem;
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: var(--r);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.results-header {
  margin-bottom: 1.2rem;
}

.results-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.2rem;
}

.results-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.result-key {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--light);
}

.result-val {
  font-size: 1.15rem;
  font-weight: 700;
}

.pillar {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 2rem 2rem 2rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.pillar-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(61, 57, 53, 0.50);
  flex-shrink: 0;
}

.pillar-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: clamp(20rem, 30vw, 20rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-family: gambeta;
}

.pillar-content {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.pillar h3 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  font-weight: 600;
  width: 17rem;
}

.pillar p {
  font-size: 0.875rem;
  line-height: 1.68;
  color: rgba(61, 57, 53, 0.75);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 3rem;
}

.section-header-testimonials {
  text-align: center;
}

.step-item {
  background: var(--bg);
  padding: 2rem;
  border-right: 1px solid var(--border);
}

.step-item:last-child {
  border-right: none;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-item h4 {
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.85rem;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cta-center {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── How It Works intro row ──────────────────────────────────────────────── */
.process-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.process-intro-text {
  flex: 1 1 55%;
}

.process-intro-text h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.process-intro-text p {
  font-size: 0.85rem;
  max-width: 320px;
  margin: 0;
}

.process-intro-images {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.process-intro-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}


.process-intro-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── How It Works accordion ─────────────────────────────────────────────── */
.process-accordion {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.process-step {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.process-step:last-child {
  border-right: none;
}

.process-step-header {
  position: relative;
  padding-right: 2.25rem;
}

.process-step-num {
  display: block;
  font-family: 'Gambetta', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.process-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  font-family: 'Satoshi', Arial, sans-serif;
}

.process-step-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--bg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.process-step-btn:hover {
  background: var(--light);
  border-color: var(--light);
  color: var(--bg);
}

.process-step-btn::before,
.process-step-btn::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.process-step-btn::before {
  width: 11px;
  height: 1.5px;
}

.process-step-btn::after {
  width: 1.5px;
  height: 11px;
  transition: transform 0.25s, opacity 0.25s;
}

.process-step.is-open .process-step-btn::after {
  opacity: 0;
}

.process-step-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.process-step.is-open .process-step-body {
  max-height: 300px;
  opacity: 1;
  margin-top: 1.5rem;
}

.process-step-body p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

.district-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.district-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r) var(--r) 0 0;
  flex-shrink: 0;
}

.district-body {
  padding: 1.5rem;
}

.district-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.4rem;
}

.district-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.district-price {
  font-size: 0.82rem;
  color: var(--mid);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 4rem;
}

.pf-btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mid);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pf-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pf-btn--active,
.pf-btn--active:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.pf-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: var(--mid);
  font-size: 0.9rem;
}

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

.portfolio-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-link-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r) var(--r) 0 0;
  flex-shrink: 0;
  position: relative;
}

.portfolio-badges {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.portfolio-price-badge {
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
}

.portfolio-weeks-badge {
  background: var(--accent);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.03);
}

.portfolio-body {
  padding: 1.2rem;
}

.portfolio-desc {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.post-meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--light);
  margin-top: 0.8rem;
}

.portfolio-meta {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.65rem;
}

.portfolio-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}


.portfolio-title {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0;
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
}

.test-stars {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  margin-bottom: 1rem;
}

.lirian-star {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.lirian-star svg {
  width: 100%;
  height: 100%;
}

.lirian-star--on  { color: var(--accent); }
.lirian-star--off { color: var(--border); }

/* Star inside stat numbers */
.stat-star {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.1em;
}

.test-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--mid);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.test-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.test-detail {
  font-size: 0.75rem;
  color: var(--light);
}

/* ── Testimonial carousel ────────────────────────────────────────────────── */
.test-carousel-outer {
  position: relative;
}

.test-carousel-viewport {
  overflow: hidden;
}

.test-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.test-carousel-track .testimonial {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
}

.test-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  color: var(--ink);
  z-index: 2;
}

.test-nav .btn-arrow {
  height: 13px;
  width: auto;
}

.test-prev .btn-arrow {
  transform: scaleX(-1);
}

.test-nav:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.test-nav:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.test-prev {
  left: -22px;
}

.test-next {
  right: -22px;
}

.test-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.test-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ── Team section ────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar--placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.team-name {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.team-languages {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
}

/* ── Investor Guide section ──────────────────────────────────────────────── */
.guide-heading {
  color: #fff;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.chapter-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.chapter-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.80rem 0;
}

.chapter-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chapter-num {
  flex-shrink: 0;
  font-size: 4rem;
  font-weight: 400;
  color: var(--light);
  min-width: 2rem;
  font-family: 'Gambetta', Arial Black, Arial, sans-serif;
}

.chapter-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.chapter-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.5rem;
  color: var(--ink);
}

.guide-card-symbol {
  text-align: center;
  margin-bottom: 2.5rem;
}

.guide-card-symbol img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.guide-card h3 {
  margin-bottom: 0.3rem;
}

.guide-card > p {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 2rem;
}

.guide-card p {
  color: var(--mid);
}

.enquiry-strip {
  background: var(--accent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}

.enquiry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: clamp(1280px, 88vw, 1600px);
  margin: 0 auto;
  padding: 0 2rem;
}

.enquiry-text {
  font-size: 1rem;
  color: var(--ink);
}

.enquiry-text strong {
  color: var(--ink);
}

.enquiry-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-wa-inline,
.btn-call-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
}

.btn-wa-inline {
  background: #25d366;
  color: #fff;
}

.btn-call-inline {
  background: var(--ink);
  color: #fff;
}

footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 4rem 0 0;
}

.footer-wordmark {
  display: block;
  line-height: 0;
  overflow: hidden;
}

.footer-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

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

.footer-logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.footer-logo img {
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.footer-col h5 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy,
.footer-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-disclaimer {
  max-width: 500px;
  text-align: right;
}

.footer-disclaimer a {
  margin-left: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

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

.sticky-wa {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.sticky-wa-btn,
.sticky-call-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  border-radius: 100px;
}

.sticky-wa-btn {
  background: #25d366;
  color: #fff;
  padding: 0.75rem 1.3rem 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.sticky-wa-icon,
.sticky-call-icon {
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-call-btn {
  background: var(--bg-dark);
  color: #fff;
  padding: 0.65rem 1.2rem 0.65rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Calculator: full-width variant (used by the shortcode) ─────────────────── */
.calc-card-full {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Unlock box (lead capture, step 6) ────────────────────────────────────── */
.unlock-box {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  margin-top: 0.5rem;
}

.unlock-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.unlock-desc {
  font-size: 0.82rem;
  color: var(--mid);
  margin-bottom: 1rem;
}

.unlock-list {
  list-style: none;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.unlock-list li {
  font-size: 0.78rem;
  color: var(--mid);
  padding-left: 1.1rem;
  position: relative;
}

.unlock-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--ink);
}

/* ── Form checkbox row ────────────────────────────────────────────────────── */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.form-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--ink);
  width: 15px;
  height: 15px;
}

.form-check label {
  font-size: 0.78rem;
  color: var(--mid);
  line-height: 1.5;
}

.form-check label a {
  text-decoration: underline;
}

.form-textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink);
}

/* ── Breadcrumbs ─────────────────────────────────────────────────────────────── */


.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.3rem;
  list-style: none;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
}

.breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb-item a:hover {
  color: var(--ink);
}

.breadcrumb-item.breadcrumb-current {
  color: var(--ink);
}

/* Separator: › between items */
.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-left: 0.3rem;
  opacity: 0.4;
  font-weight: 400;
}

/* ── Breadcrumbs bar — sits just below the hero ── */
.breadcrumbs-bar {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

/* ── Inner-page hero (full-width, featured image background) ────────────────── */
@keyframes inner-hero-fade {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Inner-page hero: inherits split-panel layout from .hero, only overrides height */
.inner-hero {
  min-height: 35vh;
}

/* Label with accent line (replaces hero-badge on inner pages) */
.inner-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
  animation: inner-hero-fade 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.inner-hero-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.inner-hero h1 {
  animation: inner-hero-fade 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.inner-hero .hero-sub {
  animation: inner-hero-fade 0.9s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Legacy plain page-hero (no image) ─────────────────────────────────────── */
.page-hero {
  padding: var(--sp) 0 var(--sp-sm);
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}

.page-hero h1 {
  margin-bottom: 0.8rem;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 540px;
}

.page-hero-copy {
  max-width: 620px;
}

.section-intro-copy {
  max-width: 540px;
}

.align-center-gap {
  align-items: center;
}

/* ── Service accordion ──────────────────────────────────────────────────────── */
.service-accordion {
  border-top: 1px solid var(--border);
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.service-item {
  border-bottom: 1px solid var(--border);
}

/* Header row — always visible */
.service-item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  padding-top: 2.5rem;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  transition: opacity 0.15s;
}

.service-item-header:hover {
  opacity: 0.7;
}

.service-item-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
}

.service-item-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-item-title {
  flex: 1;
  font-family: 'Gambetta', Arial Black, Arial, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* +/× toggle */
.service-item-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  color: var(--mid);
  transition: transform 0.3s ease, color 0.2s;
}

.service-item-toggle::before,
.service-item-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s, transform 0.3s ease;
}

.service-item-toggle::before {
  width: 10px;
  height: 1.5px;
}

.service-item-toggle::after {
  width: 1.5px;
  height: 10px;
}

/* Open state */
.service-item.is-open .service-item-toggle {
  color: var(--ink);
}

.service-item.is-open .service-item-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.service-item.is-open .service-item-header {
  opacity: 1;
}

/* Body — expanded content (grid-rows trick for smooth height animation) */
.service-item-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.service-item.is-open .service-item-body {
  grid-template-rows: 1fr;
}

.service-item-inner {
  overflow: hidden;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
  padding-bottom: 2.5rem;
  padding-top: 1rem;
  align-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease 0.05s, transform 0.35s ease 0.05s;
}

.service-item.is-open .service-item-inner {
  opacity: 1;
  transform: translateY(0);
}

.service-item-sub {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}

.service-item-desc {
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

.service-item-desc p {
  margin-bottom: 1rem;
}

.service-item-range {
  font-size: 1rem;
  color: var(--light);
  margin-bottom: 1.5rem;
}

.service-item-cta {
  display: inline-flex;
}

.service-item-image {
  border-radius: var(--r);
  overflow: hidden;
}

.service-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── District meta list (inside accordion) ──────────────────────────────────── */
.district-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.district-meta-list li {
  color: var(--mid);
}

.district-meta-list li span {
  font-weight: 600;
  color: var(--ink);
}

/* ── District full cards (matches prototype .district-full-card) ────────────── */
.district-full-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.district-full-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.district-full-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.district-full-meta span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mid);
}

/* ── Legacy: kept for back-compat if referenced elsewhere ──────────────────── */
.service-steps-grid {
  border: 1px solid var(--border);
}

.service-block-grid,
.district-full-layout {
  align-items: center;
}

.service-icon {
  display: inline-block;
  margin-right: 0.55rem;
}

.service-block-copy p,
.district-content-copy p {
  margin-bottom: 1rem;
}

.service-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.service-kpi {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.1rem;
  background: var(--bg);
}

.service-kpi span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.45rem;
}

.service-kpi strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.service-actions,
.district-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.service-media-image,
.district-media-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
}

.district-price-large {
  margin-top: 0.35rem;
  margin-bottom: 0.2rem;
}

.district-note {
  font-size: 0.82rem;
  color: var(--mid);
  margin-bottom: 1rem;
}

.district-content-copy {
  max-width: 62ch;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
  margin: 4rem 0;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 0.8rem;
}

.contact-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.15rem;
}

.contact-item-val {
  font-size: 0.9rem;
}

.contact-form-title {
  margin-bottom: 1.5rem;
}

.contact-note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  font-size: 0.82rem;
  color: var(--mid);
  margin-top: 1.5rem;
}

.contact-note a {
  font-weight: 700;
  text-decoration: underline;
}

.contact-success-box {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
}

.btn-primary.full-width,
button.btn-primary[style*="width:100%"] {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ── Single post ──────────────────────────────────────────────────────────── */
.post-header-container {
  max-width: 760px;
}

.post-featured-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r);
  margin-top: 2.5rem;
}

.post-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.post-content {
  margin-bottom: 3rem;
}

.post-content p,
.post-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.post-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 0.8rem;
}

.post-content h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
  display: block;
  margin: 2rem 0;
}

.post-content blockquote {
  border-left: 3px solid var(--ink);
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--mid);
}

/* ── Single project: page header (replaces hero) ────────────────────────── */
.project-page-header {
  padding: var(--sp) 0 1.5rem;
}

.project-page-header .label {
  margin-bottom: 1rem;
}

.project-page-header h1 {
  max-width: none;
}

/* ── Single project hero image ───────────────────────────────────────────── */
.project-hero-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r);
}

.project-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Single project: two-column body (content + sidebar) ────────────────── */
.project-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 28%, 340px);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
  padding: var(--sp-sm) 0;
}

.project-content {
  min-width: 0;
}

.project-sidebar {
  position: sticky;
  top: 5.5rem;
}

.project-stat-card {
  
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.project-stat-card-header {
  padding: 0.9rem 1.5rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

.project-stat-row {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.project-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
}

.project-stat-value {
  font-size: 1.35rem;
  font-weight: 400;
  font-family: 'Gambetta', Arial Black, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.project-stat-value--price {
  color: var(--accent);
}

.project-stat-cta {
  padding: 1.25rem 1.5rem;
}

.project-stat-cta .btn-primary {
  display: flex;
  justify-content: center;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}

.legal-content h2 {
  margin: 2.5rem 0 0.6rem;
  font-size: 1.2rem;
}

.legal-content h3 {
  margin: 2rem 0 0.6rem;
}

.legal-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

/* ── Inline error message ─────────────────────────────────────────────────── */
.calc-error {
  background: #fff5f5;
  border: 1px solid #f5c0c0;
  border-radius: calc(var(--r) / 2);
  color: #c0392b;
  font-size: 0.78rem;
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.8rem;
}

/* ── Thank-you / success screen ───────────────────────────────────────────── */
.calc-success {
  text-align: center;
  padding: 1.5rem 0 1.8rem;
}

.calc-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.calc-success-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.calc-success-sub {
  font-size: 0.85rem;
  color: var(--mid);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Blog: filter bar ────────────────────────────────────────────────────── */
.blog-filter-bar {
	margin-top: 4rem;
}

.blog-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-filter-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  color: var(--mid);
  background: transparent;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.blog-filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.blog-filter-chip--active,
.blog-filter-chip--active:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ── Blog: section spacing ───────────────────────────────────────────────── */
.blog-section {
  padding-top: var(--sp);
}

/* ── Blog: featured post ─────────────────────────────────────────────────── */
.blog-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3.5rem;
}

.blog-featured-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r);
}

.blog-featured-img img,
.blog-featured-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-featured:hover .blog-featured-thumb {
  transform: scale(1.03);
}

.blog-featured-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-featured-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.blog-featured-title a {
  color: var(--ink);
}

.blog-featured-excerpt {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
}

.blog-featured-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ── Blog: card grid ─────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card-img-wrap {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: var(--r) var(--r) 0 0;
}

.blog-card-img-wrap img,
.blog-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-thumb {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
}

.blog-card-body .blog-card-title,
.blog-card-body .blog-card-excerpt,
.blog-card-body .blog-card-foot {
  align-self: stretch;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.blog-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.blog-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.blog-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  position: relative;
  z-index: 2;
}

/* ── Blog: flip-flap list (archive pages) ────────────────────────────────── */
.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.blog-row:first-child {
  padding-top: 0.5rem;
}

.blog-row__img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r);
}

.blog-row__img img,
.blog-row__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.blog-row:hover .blog-row__thumb {
  transform: scale(1.04);
}

/* flip: imagen a la derecha, texto a la izquierda */
.blog-row--flip .blog-row__img {
  order: 2;
}

.blog-row--flip .blog-row__body {
  order: 1;
}

.blog-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-row__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.blog-row__title a {
  color: var(--ink);
  text-decoration: none;
}

.blog-row__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-row__excerpt {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
}

.blog-row__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* ── Blog: pagination, empty state & newsletter ──────────────────────────── */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.blog-pagination ul.page-numbers {
  display: contents;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination ul.page-numbers li {
  list-style: none;
  display: contents;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.75rem;
  border: none;
  border-radius: 2rem;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.blog-pagination .page-numbers:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

.blog-pagination .page-numbers.current {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  cursor: default;
}

.blog-pagination .page-numbers.dots {
  color: var(--light);
  pointer-events: none;
  min-width: auto;
  padding: 0 0.2rem;
}

.blog-pagination .prev.page-numbers,
.blog-pagination .next.page-numbers {
  padding: 0 1rem;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  margin: 0 0.25rem;
}

.blog-pagination .prev.page-numbers:hover,
.blog-pagination .next.page-numbers:hover {
  background: var(--bg-alt);
}

/* ── Portfolio: pagination ────────────────────────────────────────────────── */
.portfolio-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.portfolio-pagination .pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.75rem;
  border: none;
  border-radius: 2rem;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mid);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.portfolio-pagination .pp-btn:hover:not(:disabled) {
  color: var(--ink);
  background: var(--bg-alt);
}

.portfolio-pagination .pp-btn.pp-active {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  cursor: default;
}

.portfolio-pagination .pp-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.portfolio-pagination .pp-btn.pp-prev,
.portfolio-pagination .pp-btn.pp-next {
  padding: 0 1rem;
  color: var(--ink);
  font-size: 0.8rem;
  margin: 0 0.25rem;
}

.portfolio-pagination .pp-dots {
  color: var(--light);
  font-size: 0.82rem;
  padding: 0 0.2rem;
  pointer-events: none;
}

.blog-empty {
  text-align: center;
  padding: 4rem 0;
}

.blog-newsletter .blog-newsletter-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.blog-newsletter h2 {
  margin: 0.5rem 0 1rem;
}

.blog-newsletter p {
  margin-bottom: 2rem;
}

/* ── Hamburger menu (mobile nav) ─────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.5rem 1.5rem;
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.04em;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
}

.nav-mobile-menu a.nav-cta-link {
  color: #fff;
  font-weight: 700;
  margin-top: 0.75rem;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Project single: sidebar moves below content on mobile */
  .project-body {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    order: -1;
  }

  .service-kpis {
    grid-template-columns: 1fr;
  }

  .service-item-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-item-image {
    order: -1;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .three-col {
    grid-template-columns: 1fr;
  }

  .test-carousel-track .testimonial {
    flex: 0 0 100%;
  }

  .test-prev {
    left: 0;
  }

  .test-next {
    right: 0;
  }

  .four-col {
    grid-template-columns: 1fr 1fr;
    background: none;
    gap: 1px;
  }

  .process-intro {
    flex-direction: column-reverse;
  }

  .process-intro-text p {
    max-width: 100%;
  }

  .process-intro-images {
    align-self: flex-end;
  }

  .process-intro-circle {
    width: 110px;
    height: 110px;
  }

  .process-accordion {
    grid-template-columns: 1fr 1fr;
  }

  .process-step:nth-child(2) {
    border-right: none;
  }

  .process-step:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .process-step:last-child {
    border-right: none;
    border-top: 1px solid var(--border);
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tile-grid-2,
  .tile-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  /* Hide desktop links, show hamburger */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .blog-featured {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  /* archive flip-flap: stack on tablet */
  .blog-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 0;
  }

  .blog-row--flip .blog-row__img,
  .blog-row--flip .blog-row__body {
    order: unset;
  }

  .inner-hero {
    min-height: 32vh;
  }

  .page-hero {
    margin-bottom: 2.5rem;
  }

  /* Hero: stack vertically on tablet/mobile, hide clean panel */
  .hero {
    flex-direction: column;
  }

  .hero-panel {
    flex: 1;
    width: 100%;
    min-height: auto;
    align-items: flex-start;
    padding: 5rem 1.5rem 3.5rem;
  }

  .hero-panel::before {
    background: linear-gradient(
    90deg,
    rgba(52, 27, 3, 0.78) 0%,
    rgba(34, 28, 22, 0.62) 28%,
    rgba(54, 29, 4, 0.918) 48%,
    rgba(34, 28, 22, 0.12) 68%,
    rgba(34, 28, 22, 0) 100%
  );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }



  .hero-clean {
    display: none;
  }

  .hero-panel {
    border-right: none;
  }

  .hero-panel-marker {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-hero-secondary {
    justify-content: center;
  }

  /* Stats: single column on mobile */
  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    min-height: 210px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }

  .stat-item:last-child {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }
}

@media (max-width: 600px) {
  .container,
  .enquiry-inner {
    padding: 0 1rem;
  }

  .nav-inner {
    padding: 0.85rem 1rem;
  }

  .portfolio-grid,
  .tile-grid-2,
  .tile-grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-actions,
  .district-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-num {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .four-col {
    grid-template-columns: 1fr 1fr;
  }

  .process-intro-images {
    display: none;
  }

  .process-accordion {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .process-step:nth-child(2) {
    border-right: none;
  }

  .process-step:nth-child(3) {
    border-top: none;
  }

  .process-step:last-child {
    border-top: none;
    border-bottom: none;
  }

  .footer-disclaimer {
    text-align: left;
  }

  .sticky-wa {
    right: 1rem;
    bottom: 1rem;
    gap: 0.5rem;
  }

  .sticky-btn-label {
    display: none;
  }

  .sticky-wa-btn,
  .sticky-call-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  }

  .sticky-wa-icon,
  .sticky-call-icon {
    font-size: 1.3rem;
    line-height: 1;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-title {
    font-size: 1.4rem;
  }

  .blog-row {
    padding: 2rem 0;
  }

  .blog-row__title {
    font-size: 1.25rem;
  }

  .inner-hero {
    min-height: 35vh;
  }

  .inner-hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .inner-hero-label {
    justify-content: center;
  }

  .inner-hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero {
    margin-bottom: 2rem;
  }

  .enquiry-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .enquiry-actions {
    width: 100%;
  }

  .btn-wa-inline,
  .btn-call-inline {
    flex: 1;
    justify-content: center;
  }
}

/* ─── 404 ─────────────────────────────────────────────────────────────────── */

.error-404-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

.error-404-panel {
  background: var(--bg-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: var(--sp);
  overflow: hidden;
}

.error-404-number {
  font-family: 'Gambetta', Arial Black, Arial, sans-serif;
  font-size: clamp(7rem, 14vw, 16rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  user-select: none;
}

.error-404-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.error-404-content {
  display: flex;
  align-items: center;
  padding: var(--sp) clamp(2.5rem, 6vw, 6rem);
  background: var(--bg);
}

.error-404-inner {
  max-width: 480px;
}

.error-404-title {
  margin: 0.4rem 0 1.25rem;
}

.error-404-copy {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.error-404-links .label {
  display: block;
  margin-bottom: 0.85rem;
}

.error-404-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.error-404-nav a {
  font-size: 0.88rem;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.error-404-nav a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 768px) {
  .error-404-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .error-404-panel {
    min-height: 32vh;
  }

  .error-404-number {
    font-size: clamp(5rem, 22vw, 9rem);
  }

  .error-404-content {
    padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  }

  .error-404-actions {
    flex-direction: column;
  }

  .error-404-actions .btn-primary,
  .error-404-actions .btn-secondary {
    justify-content: center;
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   SINGLE POST
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Post hero header ────────────────────────────────────────────────────── */
.post-hero {
  padding: var(--sp) 0 var(--sp-sm);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.post-hero-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}

.post-hero-excerpt {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--light);
  margin-top: 0.25rem;
}

.post-hero-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  flex-shrink: 0;
}

.post-hero-author {
  color: var(--mid);
  font-weight: 600;
}

.post-meta-sep {
  color: var(--border);
}

/* ── Featured image (full container) ────────────────────────────────────── */
.post-cover {
  margin: 3rem 0 0;
}

.post-cover-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r);
  display: block;
}

/* ── Reading column ──────────────────────────────────────────────────────── */
.post-reading {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 0;
}

.post-reading .post-content,
.project-content .post-content {
  margin-bottom: 2.5rem;
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 0.6rem 0 0.6rem 1.5rem;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--mid);
}

/* ── Tags row ────────────────────────────────────────────────────────────── */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* ── Post navigation ─────────────────────────────────────────────────────── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

.post-nav-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.post-nav-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.post-nav-card--next {
  text-align: right;
}

.post-nav-dir {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.post-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* ── Author card ─────────────────────────────────────────────────────────── */
.author-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem 0;
}

.author-card-avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50%;
  flex-shrink: 0;
}

.author-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.author-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
}

.author-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.author-card-bio {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0.25rem 0 0;
}

/* ── Post sidebar (single post) ──────────────────────────────────────────── */
.post-stat-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.post-stat-avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.post-stat-author strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.post-stat-bio {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.65;
  margin: 0.5rem 0 0;
}

.post-stat-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

  .post-cover-img {
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }

  .post-cover .container {
    padding: 0;
  }
}

@media (max-width: 600px) {

  .post-reading {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav-card--next {
    text-align: left;
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── Landing Page ─────────────────────────────────────────────────────────────
   All classes prefixed .lp- to avoid collisions with existing components.
   ─────────────────────────────────────────────────────────────────────────── */

/* Hero — split panel: text left, calculator right */
.lp-hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-dark) no-repeat center center / cover;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 7rem) 0;
}

.lp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30, 22, 14, 0.92) 0%,
    rgba(61, 45, 28, 0.80) 55%,
    rgba(80, 55, 32, 0.55) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lp-hero-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.lp-hero-content {
  min-width: 0;
}

.lp-hero-calc {
  min-width: 0;
}

.lp-hero-calc .calc-card {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.lp-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.lp-hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.70);
}

.lp-hero .hero-badge {
  margin-bottom: 2rem;
}

.lp-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.lp-hero-trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Why section — 3-card problem/solution grid */
.lp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.section-header-desc {
  margin-top: 0.75rem;
  max-width: 520px;
  font-size: 1rem;
}

.lp-why-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lp-why-card-challenge {
  padding: 2rem 2rem 1.75rem;
  background: var(--bg-alt);
  flex: 1;
}

.lp-why-card-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.75rem;
}

.lp-why-card-challenge h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.lp-why-card-challenge p {
  font-size: 0.85rem;
  line-height: 1.65;
}

.lp-why-card-solution {
  padding: 1.5rem 2rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: relative;
}

.lp-why-card-solution-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.lp-why-card-solution-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.lp-why-card-solution p {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Process section */
.lp-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 3rem;
  align-items: start;
}

.lp-process-step {
  padding: 2rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.lp-process-step:last-child {
  border-right: none;
}

.lp-process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.lp-process-duration {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.lp-process-body h4 {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.lp-process-body p {
  font-size: 0.85rem;
  line-height: 1.68;
}

.lp-process-step .lp-process-body {
  padding-top: 0;
}

.cta-center .btn-secondary {
  margin-left: 0.85rem;
}

/* Quote spotlight — featured testimonial full-width */
.lp-quote-section {
  text-align: center;
}

.lp-quote {
  max-width: 820px;
  margin: 0 auto;
}

.lp-quote-stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 2rem;
}

.lp-quote-stars .lirian-star {
  width: 1.3rem;
  height: 1.3rem;
}

.lp-quote-text {
  font-family: 'Gambetta', Arial Black, Arial, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 200;
  line-height: 1.35;
  color: #fff;
  font-style: normal;
  margin-bottom: 2.5rem;
}

.lp-quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.lp-quote-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.lp-quote-detail {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.15rem;
}

.lp-quote-cta {
  margin-top: 0;
}

/* FAQ section — two-col layout override */
.lp-faq-layout {
  gap: 6rem;
  align-items: start;
}

.lp-faq-heading-col h2 {
  margin-bottom: 1rem;
}

.lp-faq-heading-col p {
  margin-bottom: 2rem;
}

.lp-faq-cta {
  margin-top: 0.5rem;
}

.lp-faq-list {
  border-top: 1px solid var(--border);
}

.lp-faq-item {
  border-bottom: 1px solid var(--border);
}

.lp-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Gambetta', Arial Black, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 200;
  color: var(--ink);
  line-height: 1.35;
}

.lp-faq-question:hover {
  opacity: 0.7;
}

.lp-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.lp-faq-item.is-open .lp-faq-answer {
  grid-template-rows: 1fr;
}

.lp-faq-answer-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lp-faq-item.is-open .lp-faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
}

.lp-faq-answer-inner p {
  padding-bottom: 1.5rem;
  font-size: 0.925rem;
  line-height: 1.75;
}

/* ── Landing Page — Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .lp-hero-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {

  .lp-hero {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
  }

  /* Stack: text above, calc below */
  .lp-hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lp-hero h1 {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }

  .lp-why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lp-process {
    grid-template-columns: 1fr 1fr;
  }

  .lp-process-step {
    border-bottom: 1px solid var(--border);
  }

  .lp-process-step:nth-child(2) {
    border-right: none;
  }

  .lp-process-step:nth-child(3) {
    border-bottom: none;
  }

  .lp-process-step:last-child {
    border-bottom: none;
  }

  .lp-faq-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cta-center .btn-secondary {
    margin-left: 0;
    margin-top: 0.75rem;
  }
}

@media (max-width: 600px) {

  .lp-hero {
    padding: 3rem 0 2.5rem;
  }

  .lp-hero-trust {
    gap: 0.85rem 1.25rem;
  }

  .lp-process {
    grid-template-columns: 1fr;
  }

  .lp-process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .lp-process-step:last-child {
    border-bottom: none;
  }

  .lp-quote-text {
    font-size: 1.3rem;
  }
}

/* ── Calculator — blurred price reveal ──────────────────────────────────── */
.result-val--blur {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
}

.results-unlock-hint {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mid);
  padding: 0.9rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.results-unlock-hint svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ── Scroll sequence section ──────────────────────────────────────────────── */
.scroll-seq-section {
  height: 300vh;
  position: relative;
}

.scroll-seq-sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow: hidden;
  background: #000;
}

.scroll-seq-canvas {
  display: block;
  width: 100%;
  height: 105%;
}

.scroll-seq-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* overlay */
.seq-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2.75rem;
}

/* pill */
.seq-pill-wrap {
  position: absolute;
  top: 2.25rem;
  left: 2.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seq-pill {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.seq-pill--before {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  opacity: 1;
  transform: translateY(0);
}

.seq-pill--after {
  background: var(--accent, #c9a96e);
  border: 1px solid transparent;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
}

/* copy blocks */
.seq-copy {
  position: absolute;
  bottom: 5rem;
  left: 2.75rem;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.seq-copy--before {
  opacity: 1;
  transform: translateY(0);
}

.seq-copy--after {
  opacity: 0;
  transform: translateY(10px);
}

.seq-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.4rem;
}

.seq-headline {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

/* progress bar */
.seq-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.seq-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent, #c9a96e);
  transition: width 0.05s linear;
}

/* transition states driven by JS */
.seq-overlay.is-after .seq-pill--before {
  opacity: 0;
  transform: translateY(-6px);
}

.seq-overlay.is-after .seq-pill--after {
  opacity: 1;
  transform: translateY(0);
}

.seq-overlay.is-after .seq-copy--before {
  opacity: 0;
  transform: translateY(-10px);
}

.seq-overlay.is-after .seq-copy--after {
  opacity: 1;
  transform: translateY(0);
}

/* gradient scrim so text is always readable over the image */
.seq-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 28%),
    linear-gradient(to top,    rgba(0,0,0,0.55) 0%, transparent 40%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .seq-pill-wrap {
    top: 1.5rem;
    left: 1.5rem;
  }

  .seq-copy {
    left: 1.5rem;
    bottom: 4rem;
    max-width: calc(100% - 3rem);
  }
}

@media (max-width: 600px) {
  /* Less scroll distance on mobile — easier to get through */
  .scroll-seq-section {
    height: 220vh;
  }

  .seq-overlay {
    padding: 1.25rem;
  }

  .seq-pill-wrap {
    top: 1.25rem;
    left: 1.25rem;
  }

  .seq-pill {
    font-size: 0.65rem;
    padding: 0.25rem 0.7rem;
  }

  .seq-copy {
    left: 1.25rem;
    /* respect iPhone home bar */
    bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
    max-width: calc(100% - 2.5rem);
  }

  .seq-eyebrow {
    font-size: 0.62rem;
    margin-bottom: 0.3rem;
  }

  .seq-headline {
    font-size: 1.1rem;
    line-height: 1.25;
  }
}

/* ── Cookie Consent Banner ───────────────────────────────────────────────── */
#lirian-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-dark);
  color: var(--surface);
  padding: 1.25rem 1.5rem;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -4px 32px rgba(61, 57, 53, 0.25);
}

#lirian-consent-banner.is-visible {
  transform: translateY(0);
}

.consent-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.consent-banner__text {
  flex: 1;
  min-width: 220px;
  margin: 0;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--light);
}

.consent-banner__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.3em;
  white-space: nowrap;
}

.consent-banner__link:hover {
  color: #f5b83d;
}

.consent-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.consent-btn {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.consent-btn--primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.consent-btn--primary:hover {
  background: #f5b83d;
  border-color: #f5b83d;
}

/* Equal visual weight — AEPD requires reject to be as easy to use as accept */
.consent-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.25);
}

.consent-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Footer cookie settings button */
.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 0.7rem;
  font: inherit;
  font-size: inherit;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-decoration: none;
}

.footer-cookie-btn:hover {
  opacity: 1;
}

/* Cookie policy table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  vertical-align: top;
}

.cookie-table th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--ink);
}

.cookie-table td code {
  font-size: 0.82rem;
  background: var(--bg-alt);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  word-break: break-all;
}

@media (max-width: 600px) {
  .consent-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .consent-banner__actions {
    flex-direction: column;
  }

  .consent-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .cookie-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}