:root {
  --sage: #F0F4F1;
  --mint: #D8E2DC;
  --charcoal: #22252A;
  --spruce: #354F52;
  --spruce-lt: #4a6e72;
  --white: #FFFFFF;
  --border: rgba(53, 79, 82, 0.15);
  --shadow-sm: 0 2px 12px rgba(34, 37, 42, 0.07);
  --shadow-md: 0 8px 40px rgba(34, 37, 42, 0.12);
  --shadow-lg: 0 20px 60px rgba(34, 37, 42, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sage);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--sage);
}

::-webkit-scrollbar-thumb {
  background: var(--spruce);
  border-radius: 3px;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: env(safe-area-inset-top, 0);
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(240, 244, 241, 0.15);
  -webkit-backdrop-filter: blur(30px) saturate(200%) contrast(1.15);
  backdrop-filter: blur(30px) saturate(230%) contrast(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
}

nav.nav-scrolled {
  top: 12px;
  left: 16px;
  right: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    0 8px 32px rgba(34, 37, 42, 0.12);
}

.nav-inner {
  max-width: 1448px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 72px;
  height: 88px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.62rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  color: var(--spruce);
}

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

.nav-links a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  opacity: 0.80;
  transition: opacity 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.highlight {
  opacity: 1;
  color: var(--spruce);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-cta {
  background: var(--charcoal);
  color: var(--white);
  border: none;
  border-radius: 40px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--spruce);
  transform: translateY(-1px);
}

/* ─── HERO ─── */
#hero {
  min-height: 682px;
  display: grid;
  grid-template-columns: minmax(0, 630px) minmax(0, 1fr);
  align-items: start;
  column-gap: 80px;
  padding: 146px 72px 0;
  max-width: 1448px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(216, 226, 220, 0.48);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--spruce);
  margin-bottom: 34px;
}

.hero-eyebrow span {
  width: 6px;
  height: 6px;
  background: var(--spruce);
  border-radius: 50%;
  display: inline-block;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

h1 em {
  font-style: italic;
  color: var(--spruce);
}

#hero h1 {
  max-width: 660px;
  font-size: clamp(3rem, 3.85vw, 3.58rem);
  line-height: 1.06;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(34, 37, 42, 0.65);
  max-width: 615px;
  margin-bottom: 34px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  padding: 16px 30px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--spruce);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: rgba(128, 128, 128, 0.05);
  color: var(--charcoal);
  padding: 15px 30px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-outline:hover {
  border-color: var(--spruce);
  color: var(--spruce);
}

.team-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 20px;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.team-panel-cta:hover {
  border-color: var(--spruce);
  background: rgba(53, 79, 82, 0.06);
}

@media (min-width: 1025px) {
  .team-panel-cta {
    display: none;
  }
}

/* Hero right - visual */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  top: 32px;
}

.hero-visual {
  width: clamp(460px, 36vw, 520px);
  height: clamp(460px, 36vw, 520px);
  position: relative;
}

.hv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  animation: spin-slow linear infinite;
  z-index: 0;
}

.hv-ring-1 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation-duration: 40s;
}

.hv-ring-2 {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  animation-duration: 30s;
  animation-direction: reverse;
}

.hv-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px 20px;
  box-shadow: 0 26px 70px rgba(34, 37, 42, 0.12);
  width: clamp(230px, 21vw, 290px);
  min-height: 126px;
  z-index: 4;
}

.hv-card-1 {
  top: 3.4%;
  left: 21%;
}

.hv-card-2 {
  bottom: 5%;
  left: 21%;
}

.hv-card-3 {
  top: 36.5%;
  left: 21%;
  background: var(--charcoal);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(34, 37, 42, 0.22);
}

.hv-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(160px, 15.5vw, 220px);
  height: clamp(160px, 15.5vw, 220px);
  background: var(--spruce);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  z-index: 2;
}

.hv-center svg {
  width: 58px;
  height: 58px;
  opacity: 0;
}

.hv-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(34, 37, 42, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.hv-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.52rem;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  line-height: 1;
  margin-bottom: 2px;
}

.hv-card-3 .hv-label {
  color: rgba(255, 255, 255, 0.45);
}

.hv-card-3 .hv-value {
  color: var(--white);
}

.hv-dot {
  width: 9px;
  height: 9px;
  background: #6FD08C;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  flex-shrink: 0;
}

/* Card header row (label + mini chart) */
.hv-card-header {
  display: block;
  margin-bottom: 14px;
}

/* Mini chart */
.hv-chart {
  position: absolute;
  top: 52px;
  right: 26px;
  width: 82px;
  height: 36px;
  flex-shrink: 0;
  opacity: 0.9;
}

.hv-barchart {
  width: 64px;
  height: 34px;
  margin-top: 2px;
}

/* Sub-label beneath value */
.hv-sublabel {
  font-size: 0.82rem;
  color: rgba(34, 37, 42, 0.58);
  margin-top: 8px;
  font-weight: 400;
}

.hv-card-3 .hv-sublabel {
  color: rgba(255, 255, 255, 0.45);
}

/* "Manual Process" / "Automated System" side labels */
.hv-side-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 92px;
  z-index: 5;
}

.hv-side-left {
  left: -48px;
}

.hv-side-right {
  right: -48px;
}

.hv-side-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.hv-side-icon svg {
  width: 22px;
  height: 22px;
  color: var(--spruce);
}

.hv-side-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(34, 37, 42, 0.78);
  text-align: center;
  line-height: 1.3;
}

.hv-side-arrow {
  display: none;
}

.hv-process-arcs {
  position: absolute;
  inset: 0 -92px;
  width: calc(100% + 184px);
  height: 100%;
  color: rgba(53, 79, 82, 0.48);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3 7;
  pointer-events: none;
  z-index: 1;
}

/* ─── HERO SERVICES STRIP ─── */
.hero-services-strip {
  max-width: 1448px;
  margin: 0 auto;
  padding: 0 72px 42px;
}

.hss-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hss-divider {
  height: 1px;
  background: var(--border);
  width: 630px;
  max-width: 100%;
}

.hss-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 157.5px));
  align-items: flex-start;
  gap: 0;
  padding: 32px 0 48px;
  position: relative;
}

.hss-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-right: 28px;
}

.hss-service + .hss-service {
  padding-left: 0;
  border-left: none;
}

.hss-icon {
  width: 42px;
  height: 42px;
  background: var(--mint);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hss-icon svg {
  width: 18px;
  height: 18px;
  color: var(--spruce);
}

.hss-content {
  flex: 1;
}

.hss-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.hss-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(34, 37, 42, 0.55);
}

.hss-badge {
  position: absolute;
  top: 32px;
  left: calc(720px + ((100% - 720px) / 2));
  transform: translateX(-50%);
  min-width: 332px;
  text-align: center;
  margin-left: 0;
  background: rgba(216, 226, 220, 0.68);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--spruce);
  white-space: nowrap;
}

.hss-row + .hss-divider {
  display: none;
}

/* Stats row */
.hss-stats-row {
  display: flex;
  align-items: center;
  height: 108px;
  margin: 0 -12px;
  padding: 22px 38px;
  gap: 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 10px 38px rgba(34, 37, 42, 0.04);
}

.hss-stat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hss-stat-sep {
  width: 1px;
  height: 50px;
  background: var(--border);
  margin: 0 20px;
  flex-shrink: 0;
}

.hss-stat-icon {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hss-stat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--spruce);
}

.hss-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 2px;
}

.hss-stat-lbl {
  display: block;
  font-size: 0.82rem;
  color: rgba(34, 37, 42, 0.5);
  line-height: 1.3;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  display: block;
}

.hero-stat-lbl {
  font-size: 0.75rem;
  color: rgba(34, 37, 42, 0.55);
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ─── SECTION COMMONS ─── */
section {
  min-height: auto;
  padding: 72px 48px 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
}

section.full-bleed {
  max-width: none;
}

/* FAQ & support pages should flow naturally instead of forcing viewport height */
#faq-view section,
#faq-view section.full-bleed {
  height: auto;
  min-height: auto;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
  overflow: visible;
}

#faq-view .ap-inner,
#faq-view #support-section .inner {
  padding-top: 48px;
  padding-bottom: 48px;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
  justify-content: center;
}

.support-card {
  background: var(--white);
  color: var(--charcoal);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.support-card.dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: transparent;
}

.support-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 0.9rem;
  color: rgba(34, 37, 42, 0.65);
  margin-bottom: 16px;
}

.support-card.dark p {
  color: rgba(255, 255, 255, 0.75);
}

.support-card a {
  font-weight: 600;
  color: var(--spruce);
  text-decoration: none;
}

.support-card.dark a {
  color: var(--mint);
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spruce);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--spruce);
  display: block;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

h2 em {
  font-style: italic;
  color: var(--spruce);
}

.section-sub {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(34, 37, 42, 0.62);
  max-width: 560px;
}

/* ─── ABOUT ─── */
#about {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-card:first-child {
  grid-column: 1 / -1;
  background: var(--spruce);
  color: var(--white);
}

.about-card:first-child .ac-title {
  color: rgba(255, 255, 255, 0.6);
}

.about-card:first-child .ac-body {
  color: rgba(255, 255, 255, 0.85);
}

.ac-icon {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.ac-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 37, 42, 0.72);
  margin-bottom: 8px;
}

.ac-body {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(34, 37, 42, 0.65);
}

/* ─── RESULTS ─── */
#results {
  background: var(--charcoal);
  max-width: none;
  padding: 72px 48px 24px;
}

.results-inner {
  max-width: 1280px;
  margin: 0 auto;
}

#results .section-tag {
  color: var(--mint);
}

#results .section-tag::before {
  background: var(--mint);
}

#results h2 {
  color: var(--white);
}

#results .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-item {
  padding: 24px 20px;
  background: var(--charcoal);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.3s;
}

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

.result-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.result-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}

.result-num span {
  color: var(--mint);
}

.result-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.result-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: block;
}


/* ─── PROJECT CARDS (Our Work) ─── */
#work {
  height: auto;
  overflow: visible;
  gap: 0;
  padding-bottom: 56px;
}

/* ─── WORK TOP ─── */
.work-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.work-top-left h2 {
  margin-bottom: 14px;
}

/* "Systems That Think Ahead" card */
.work-think-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.wtc-icon {
  width: 52px;
  height: 52px;
  background: var(--spruce);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

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

.wtc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.3;
}

.wtc-body {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(34, 37, 42, 0.6);
  margin: 0;
  max-width: 100%;
}

/* ─── WORKFLOW DIAGRAM CARDS ─── */
.work-flows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.wf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.wf-label-btn {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.wf-label-spruce {
  background: var(--spruce);
  color: var(--white);
}

.wf-label-dark {
  background: var(--charcoal);
  color: var(--white);
}

.wf-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Row of 4 steps */
.wfd-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

/* Dashed return arc between rows */
.wfd-return-arc {
  height: 36px;
  margin: 2px 0;
  padding: 0 4px;
}

.wfd-return-arc svg {
  width: 100%;
  height: 100%;
}

/* Individual workflow step */
.wf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  padding: 4px 2px;
}

.wfs-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(34, 37, 42, 0.4);
  letter-spacing: 0.05em;
}

.wfs-icon {
  width: 42px;
  height: 42px;
  background: var(--sage);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--spruce);
}

.wfs-icon svg {
  width: 18px;
  height: 18px;
}

.wfs-label {
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(34, 37, 42, 0.65);
  font-weight: 500;
}

/* Arrow between steps */
.wfd-arrow {
  font-size: 0.85rem;
  color: rgba(34, 37, 42, 0.6);
  font-weight: 600;
  padding: 0 2px;
  margin-bottom: 18px; /* align with icon row */
  line-height: 1;
}

/* Legend below each diagram */
.wf-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.wfl-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: rgba(34, 37, 42, 0.55);
  font-weight: 500;
}

.wfl-line {
  width: 28px;
  height: 2px;
  display: inline-block;
  border-radius: 2px;
}

.wfl-line.solid {
  background: var(--charcoal);
}

.wfl-line.dashed {
  background: transparent;
  border-top: 2px dashed rgba(34, 37, 42, 0.4);
}

.wfl-check {
  width: 18px;
  height: 18px;
  background: var(--spruce);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
}

/* ─── WORK BOTTOM FEATURES ─── */
.work-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.wf-feat {
  background: var(--white);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s;
}

.wf-feat:hover {
  background: var(--sage);
}

.wf-feat-icon {
  width: 40px;
  height: 40px;
  background: #354F52;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--spruce);
  margin-bottom: 4px;
}

.wf-feat-icon svg {
  width: 18px;
  height: 18px;
}

.wf-feat-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
}

.wf-feat-desc {
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(34, 37, 42, 0.55);
}

/* ─── WORK BOTTOM QUOTE ─── */
.work-quote {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0 0;
}

.wq-bar {
  width: 3px;
  height: 48px;
  background: var(--spruce);
  border-radius: 2px;
  flex-shrink: 0;
}

.work-quote p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(34, 37, 42, 0.65);
  font-style: normal;
}

.work-quote p em {
  font-style: italic;
  color: var(--spruce);
  font-weight: 600;
}

/* ─── RESPONSIVE: Work Section ─── */
@media (max-width: 900px) {
  .work-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .work-flows {
    grid-template-columns: 1fr;
  }
  .work-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .wf-card {
    padding: 20px;
  }
  .wf-diagram {
    overflow-x: auto;
    padding-bottom: 12px;
    min-width: 0;
  }
  .wfd-row {
    min-width: 0;
    gap: 10px;
  }
  .wf-step {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .work-features {
    grid-template-columns: 1fr 1fr;
  }
  .wfd-row {
    min-width: 0;
    gap: 8px;
  }
  .wf-label-btn {
    font-size: 0.7rem;
    padding: 6px 14px;
  }
  .wfs-icon {
    width: 36px;
    height: 36px;
  }
  .wfs-icon svg {
    width: 15px;
    height: 15px;
  }
  .wfd-arrow {
    display: none;
  }
  .wfs-label {
    font-size: 0.72rem;
  }
}

/* ─── PANEL OVERLAY (slide-out detail) ─── */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34, 37, 42, 0.5);
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.panel-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.project-content-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 55vw;
  max-width: 640px;
  background: var(--white);
  z-index: 995;
  padding: 72px 48px 40px;
  overflow-y: auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.project-content-panel.from-left {
  left: 0;
  transform: translateX(-100%);
}

.project-content-panel.from-right {
  right: 0;
  transform: translateX(100%);
}

.project-content-panel.active {
  transform: translateX(0);
}

.panel-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
}

.panel-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: rgba(34, 37, 42, 0.35);
  margin-bottom: 12px;
}

.project-content-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.project-content-panel .project-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(34, 37, 42, 0.65);
  margin-bottom: 32px;
}

.project-content-panel .feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.project-content-panel .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(34, 37, 42, 0.72);
  line-height: 1.5;
}

.project-content-panel .feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--spruce);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.project-content-panel .project-result-bar {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(34, 37, 42, 0.72);
  line-height: 1.4;
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--spruce);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--sage);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--spruce);
  font-family: 'DM Mono', monospace;
}

.project-result-bar {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
}

.prb-item {
  flex: 1;
}

.prb-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
}

.prb-lbl {
  font-size: 0.75rem;
  color: rgba(34, 37, 42, 0.45);
  margin-top: 2px;
}


/* ─── TEAM ─── */
.team-header {
  margin-bottom: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card-top {
  padding: 20px 20px 16px;
  background: var(--sage);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--spruce);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.team-avatar.alt {
  background: var(--charcoal);
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.75rem;
  color: var(--spruce);
  font-weight: 500;
}

.team-card-body {
  padding: 16px 20px 20px;
}

.team-dept {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 37, 42, 0.35);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-bio {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(34, 37, 42, 0.65);
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.skill-pill {
  background: var(--sage);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  color: rgba(34, 37, 42, 0.6);
}


/* ─── CTA SECTION ─── */
#cta-section {
  background: #112521;
  max-width: none;
  padding: 48px 48px 36px;
  position: relative;
  overflow: hidden;
}

#cta-section .inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

#cta-section h2 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 12px;
  font-weight: 500;
}

#cta-section h2 .highlight-italic {
  font-style: italic;
  color: #a9d3ab;
  font-weight: 400;
}

#cta-section .section-tag {
  color: #a9d3ab;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#cta-section .section-sub {
  color: rgba(255, 255, 255, 0.7);
  max-width: 100%;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 300;
}

.cta-perks-new {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-perks-new li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cta-perks-new .perk-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a9d3ab;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cta-perks-new li:hover .perk-icon-box {
  background: rgba(169, 211, 171, 0.1);
  border-color: rgba(169, 211, 171, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.cta-perks-new .perk-icon-box svg {
  width: 15px;
  height: 15px;
}

.cta-perks-new li strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cta-perks-new li span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.4;
}

.cta-metrics-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cta-metrics-card .metric-item {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
}

.cta-metrics-card .metric-icon {
  color: #a9d3ab;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cta-metrics-card .metric-icon svg {
  width: 100%;
  height: 100%;
}

.cta-metrics-card .metric-title {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.cta-metrics-card .metric-desc {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.2;
}

/* ─── Interactive Form Card ─── */
.cta-form {
  background: var(--white);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.cta-card-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 4px;
}

.cta-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eaf2ec;
  border: 1px solid #cce3d3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #354f52;
  flex-shrink: 0;
}

.cta-header-icon svg {
  width: 16px;
  height: 16px;
}

.cta-card-header h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 2px 0;
}

.cta-card-header p {
  font-size: 0.8rem;
  color: rgba(34, 37, 42, 0.6);
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.form-group.relative {
  position: relative;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: #f8faf8;
  border: 1.5px solid rgba(53, 79, 82, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  transition: all 0.25s ease;
  outline: none;
  resize: none;
  width: 100%;
  box-sizing: border-box;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23354f52' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px !important;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #354f52;
  box-shadow: 0 0 0 3px rgba(53, 79, 82, 0.05);
  background: #ffffff;
}

.form-group textarea {
  height: 60px;
}

.char-counter {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.7rem;
  color: rgba(34, 37, 42, 0.45);
  pointer-events: none;
  font-family: 'DM Sans', sans-serif;
}

.cta-safety-alert {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  background: #f2f7f3;
  border: 1px solid #dbe8dd;
  border-radius: 8px;
  align-items: flex-start;
}

.safety-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #354f52;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.safety-icon svg {
  width: 12px;
  height: 12px;
}

.cta-safety-alert h5 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e3a2f;
  margin: 0 0 2px 0;
}

.cta-safety-alert p {
  font-size: 0.75rem;
  color: rgba(30, 58, 47, 0.75);
  margin: 0;
  line-height: 1.3;
}

/* ─── INTL-TEL-INPUT CUSTOMIZATION ─── */
.iti {
  width: 100%;
}
.form-group .iti input {
  width: 100%;
}
.iti__selected-flag {
  padding: 0 10px;
  border-radius: 8px 0 0 8px;
  background: transparent;
  outline: none;
}
.iti__country-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  white-space: normal;
  max-width: 320px;
  margin-top: 4px;
  z-index: 10;
}
.iti__country {
  padding: 10px 14px;
  font-size: 0.85rem;
}
.iti__country.iti__highlight {
  background: var(--sage);
}
.form-group input.error {
  border-color: #e74c3c !important;
  background-color: #fdf0ed !important;
}
.error-msg {
  color: #e74c3c;
  font-size: 0.72rem;
  margin-top: 4px;
  display: none;
}

.btn-submit {
  background: #112521;
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-submit:hover {
  background: #1e3d36;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

/* ─── Footer Talk section ─── */
.cta-whatsapp-footer {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.cta-whatsapp-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cta-whatsapp-footer a:hover {
  color: #a9d3ab;
}

.cta-whatsapp-footer a svg {
  color: #a9d3ab;
}

/* responsive overrides for cta section elements */
@media (max-width: 900px) {
  .cta-metrics-card {
    flex-direction: column;
    gap: 16px;
  }
}

footer {
  background: var(--charcoal);
  padding: 72px 48px 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
  color: rgba(255, 255, 255, 0.55);
}

.social-icon:hover {
  background: var(--spruce);
  border-color: var(--spruce);
  color: var(--white);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.28);
}

.footer-cta-small {
  background: var(--spruce);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.footer-cta-small:hover {
  background: var(--spruce-lt);
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(34, 37, 42, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 540px;
  max-width: 90vw;
  transform: translateY(20px);
  transition: transform 0.3s;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  flex-shrink: 0;
  margin-top: 4px;
}

.success-msg {
  text-align: center;
  padding: 32px 0;
  display: none;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.success-msg h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.success-msg p {
  color: rgba(34, 37, 42, 0.55);
  font-size: 0.9rem;
}

/* ─── OTP VERIFICATION MODAL ─── */
.compact-otp-box {
  width: 420px;
  padding: 32px;
  max-width: 92vw;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.otp-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.otp-info-card {
  background: #f8faf8;
  border: 1.5px solid rgba(53, 79, 82, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
}

.otp-info-card p {
  margin: 0 0 4px 0;
  font-size: 0.85rem;
  color: rgba(34, 37, 42, 0.6);
}

.otp-info-card strong {
  font-size: 1rem;
  color: var(--charcoal);
  word-break: break-all;
  display: block;
}

.otp-inputs-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.otp-input-digit {
  height: 48px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  border: 1.5px solid rgba(53, 79, 82, 0.15);
  border-radius: 8px;
  background: #f8faf8;
  outline: none;
  transition: all 0.2s ease;
  font-family: 'DM Sans', sans-serif;
  box-sizing: border-box;
  width: 100%;
}

.otp-input-digit:focus {
  border-color: #354f52;
  box-shadow: 0 0 0 3px rgba(53, 79, 82, 0.08);
  background: #ffffff;
}

.otp-resend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(34, 37, 42, 0.6);
  margin-top: 8px;
}

.otp-resend-row button {
  background: none;
  border: none;
  color: #354f52;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: color 0.2s;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
}

.otp-resend-row button:hover:not(:disabled) {
  color: #1e3d36;
  text-decoration: underline;
}

.otp-resend-row button:disabled {
  color: rgba(34, 37, 42, 0.4);
  cursor: not-allowed;
}

/* Shake Animation for incorrect codes */
.shake-animation {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* ─── ALL PROJECTS GRID ─── */
#all-projects {
  background: var(--mint);
  max-width: none;
  padding: 72px 48px 64px;
  height: auto;
  overflow: visible;
  display: block;
}

.ap-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
  grid-auto-rows: minmax(0, auto);
  align-items: stretch;
}

.proj-card {
  min-height: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
  min-height: 0;
  width: 100%;
}

.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.proj-card.featured {
  grid-column: span 2;
}

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

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

  .proj-visual {
    height: 170px;
  }
}

.proj-visual {
  height: 180px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.proj-card.featured .proj-visual {
  height: 220px;
}

.pv-bg-1 {
  background: linear-gradient(135deg, var(--spruce) 0%, #2a3e41 100%);
}

.pv-bg-2 {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a1d21 100%);
}

.pv-bg-3 {
  background: linear-gradient(135deg, #354F52 60%, #4a6e72 100%);
}

.pv-bg-4 {
  background: linear-gradient(135deg, #1e3035 0%, #354F52 100%);
}

.pv-bg-5 {
  background: linear-gradient(135deg, #22252A 0%, #354F52 100%);
}

.pv-bg-6 {
  background: linear-gradient(135deg, #2c3e3f 0%, #22252A 100%);
}

.pv-bg-7 {
  background: linear-gradient(135deg, #354F52 0%, #22252A 100%);
}

.pv-geo {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
}

.pv-geo-2 {
  position: absolute;
  right: 20px;
  bottom: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.05);
}

.proj-tag-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}

.proj-icon {
  font-size: 2rem;
}

.proj-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.proj-body h3 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.proj-index {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: rgba(34, 37, 42, 0.28);
  margin-bottom: 10px;
}

.proj-desc {
  font-size: 0.88rem;
  line-height: 1.68;
  color: rgba(34, 37, 42, 0.62);
  flex: 1;
  margin-bottom: 20px;
}

.proj-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.proj-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proj-chips .chip {
  padding: 3px 10px;
  font-size: 0.74rem;
}

.proj-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(34, 37, 42, 0.35);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6FD08C;
  flex-shrink: 0;
}

.status-dot.yellow {
  background: #F0C05A;
}

.proj-outcome {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.po-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
}

.po-lbl {
  font-size: 0.72rem;
  color: rgba(34, 37, 42, 0.4);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ─── MORE PROJECTS CTA ─── */
#more-projects {
  min-height: auto;
  background: var(--mint);
  max-width: none;
  padding: 72px 32px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#more-projects .inner {
  max-width: 580px;
  margin: 0 auto;
}

#more-projects h2 {
  margin-bottom: 10px;
}

#more-projects .section-sub {
  margin: 0 auto 20px;
  text-align: center;
  max-width: 560px;
}

.btn-spruce {
  background: var(--spruce);
  color: var(--white);
  padding: 15px 32px;
  border-radius: 40px;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-spruce:hover {
  background: #2a3e41;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(53, 79, 82, 0.3);
}

/* ─── FAQ VIEW ─── */
#faq-view {
  display: none;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.faq-answer {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(34, 37, 42, 0.7);
}

#support-section {
  background: var(--mint);
  padding: 72px 48px;
}

/* ─── PROJECTS VIEW ─── */
#projects-view {
  display: none;
}

.pv-page-header {
  padding: 120px 48px 40px;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.header-sub {
  font-size: 1.05rem;
  color: rgba(34, 37, 42, 0.58);
  line-height: 1.75;
  max-width: 520px;
}

.header-meta {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hm-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  display: block;
  line-height: 1;
}

.hm-lbl {
  font-size: 0.78rem;
  color: rgba(34, 37, 42, 0.45);
  margin-top: 2px;
}

.nav-back {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(34, 37, 42, 0.6);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--spruce);
}

.page-cta {
  background: var(--charcoal);
  padding: 80px 48px;
  text-align: center;
}

.page-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.btn-cta {
  background: var(--white);
  color: var(--charcoal);
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cta:hover {
  background: var(--mint);
  transform: translateY(-2px);
}

/* ─── TESTIMONIALS ─── */
#testimonials {
  min-height: auto;
  padding: 80px 48px 56px;
  max-width: 1420px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.testimonials-copy {
  max-width: 460px;
}

.testimonials-copy .section-tag {
  margin-bottom: 18px;
}

.testimonials-copy h2 {
  font-size: clamp(2.8rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  margin-bottom: 20px;
}

.testimonials-copy .section-sub {
  max-width: 100%;
  color: rgba(34, 37, 42, 0.72);
  font-size: 1.08rem;
  line-height: 1.85;
}

.testimonial-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-column: 1 / -1;
}

.testimonial-highlight {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: 24px;
  background: rgba(240, 244, 241, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.testimonial-highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--spruce);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-highlight-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.testimonial-highlight-body {
  color: rgba(34, 37, 42, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.carousel-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.carousel-window {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 28px calc(50% - 410px);
  width: 100%;
  box-sizing: border-box;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 820px;
  max-width: 100%;
  scroll-snap-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 44px 32px;
  position: relative;
  opacity: 0.35;
  transform: scale(0.92);
  filter: blur(4px);
  box-shadow: none;
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  filter: none;
  box-shadow: 0 20px 50px rgba(34, 37, 42, 0.08);
}

.tc-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(53, 79, 82, 0.08);
  color: var(--spruce);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.testimonial-card:nth-child(even) .tc-card-label {
  background: rgba(34, 37, 42, 0.08);
  color: var(--charcoal);
}

.testimonial-card:nth-child(3n) .tc-card-label {
  background: rgba(111, 208, 140, 0.12);
  color: #3d7950;
}

.tc-card-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 20px;
  position: relative;
}

.tc-card-columns::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

.tc-card-columns::after {
  content: '→';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(53, 79, 82, 0.06);
  color: var(--spruce);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(53, 79, 82, 0.1);
}

.testimonial-card:nth-child(even) .tc-card-columns::after {
  background: rgba(34, 37, 42, 0.06);
  color: var(--charcoal);
  border-color: rgba(34, 37, 42, 0.1);
}

.tc-column {
  padding: 0 12px;
}

.tc-column-title {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spruce);
  font-weight: 700;
  margin-bottom: 14px;
}

.testimonial-card:nth-child(even) .tc-column-title {
  color: var(--charcoal);
}

.tc-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.tc-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(34, 37, 42, 0.78);
  line-height: 1.5;
  font-size: 0.92rem;
}

.tc-list li.negative::before,
.tc-list li.positive::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
}

.tc-list li.negative::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D45A57' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
}

.tc-list li.positive::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E9F64' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='16 9 11 14 8 11'/%3E%3C/svg%3E");
}

.testimonial-card:nth-child(even) .tc-list li.positive::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322252A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='16 9 11 14 8 11'/%3E%3C/svg%3E");
}

.tc-quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(34, 37, 42, 0.65);
  margin-bottom: 18px;
  padding-top: 4px;
  border-top: 1px solid rgba(53, 79, 82, 0.08);
  padding-top: 16px;
}

/* Bottom legend row: author + badges on same line */
.tc-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tc-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.tc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--spruce);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tc-avatar.alt {
  background: var(--charcoal);
}

.tc-avatar.green {
  background: #3d7950;
}

.tc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

.tc-role {
  font-size: 0.85rem;
  color: rgba(34, 37, 42, 0.55);
}

.tc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.tc-badge {
  background: rgba(53, 79, 82, 0.05);
  border: 1px solid rgba(53, 79, 82, 0.08);
  border-radius: 999px;
  color: var(--spruce);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
}

.testimonial-card:nth-child(even) .tc-badge {
  background: rgba(34, 37, 42, 0.04);
  border-color: rgba(34, 37, 42, 0.08);
  color: var(--charcoal);
}

.testimonial-card:nth-child(3n) .tc-badge {
  background: rgba(111, 208, 140, 0.08);
  border-color: rgba(111, 208, 140, 0.15);
  color: #3d7950;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.carousel-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 16px rgba(34, 37, 42, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 1rem;
  transition: all 0.25s ease;
}

.carousel-nav:hover {
  background: var(--spruce);
  color: #fff;
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  width: 20px;
  border-radius: 4px;
  background: var(--spruce);
}

@media (max-width: 900px) {
  #testimonials {
    padding: 64px 24px 36px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-highlight {
    align-self: stretch;
  }
  .tc-card-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tc-card-columns::before {
    display: none;
  }
  .tc-card-columns::after {
    display: none;
  }
  .tc-column {
    padding: 0;
  }
  .tc-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .tc-badges {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .carousel-track {
    padding: 16px 12%;
    gap: 20px;
  }
  .testimonial-card {
    flex: 0 0 76vw;
    opacity: 0.45;
    transform: scale(0.92);
    filter: blur(2px);
  }
  .testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    filter: none;
  }
}

@media (max-width: 560px) {
  #testimonials {
    padding: 54px 18px 32px;
  }
  .testimonial-highlight {
    padding: 18px 18px;
  }
  .testimonial-highlight-body {
    font-size: 0.92rem;
  }
  .tc-card-label {
    font-size: 0.68rem;
    padding: 5px 10px;
    margin-bottom: 12px;
  }
  .tc-list li {
    font-size: 0.78rem;
    padding-left: 18px;
  }
  .tc-quote {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }
  .tc-author {
    gap: 10px;
    margin-bottom: 12px;
  }
  .tc-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .tc-name {
    font-size: 0.88rem;
  }
  .tc-role {
    font-size: 0.74rem;
  }
  .tc-badge {
    padding: 5px 10px;
    font-size: 0.68rem;
  }
}

/* ─── HAMBURGER MENU ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-hamburger:hover {
  background: rgba(53, 79, 82, 0.08);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav dropdown panel */
.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 850;
  padding-top: 72px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.mobile-nav-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav-panel-inner {
  margin: 8px 16px 0;
  background: rgba(230, 238, 232, 0.82);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.60);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    0 12px 48px rgba(34, 37, 42, 0.18);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-panel-inner a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(53, 79, 82, 0.10);
  display: block;
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-panel-inner a:last-of-type {
  border-bottom: none;
}

.mobile-nav-panel-inner a:hover {
  color: var(--spruce);
  padding-left: 6px;
}

.mobile-nav-cta {
  margin-top: 16px;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  border-radius: 40px;
  padding: 13px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.mobile-nav-cta:hover {
  background: var(--spruce);
}

/* ─── RESPONSIVE MEDIA QUERIES ─── */

/* Landscape phones: prevent 100vh overflow */
@media (max-height: 520px) and (orientation: landscape) {
  #hero {
    min-height: auto;
    padding: 90px 32px 48px;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .hero-visual {
    width: clamp(200px, 35vw, 360px);
    height: clamp(200px, 35vw, 360px);
  }

  h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }

  section {
    padding: 48px 32px;
  }
}

/* Tablet landscape + small desktop (1024px and below) */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 0 28px;
  }

  .nav-links {
    gap: 22px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  #hero {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    min-height: auto;
    padding: 120px 28px 56px;
  }

  #hero h1 {
    font-size: clamp(2.65rem, 5vw, 3.35rem);
  }

  .hero-visual {
    width: clamp(280px, 42vw, 420px);
    height: clamp(280px, 42vw, 420px);
  }

  .hero-right {
    top: 18px;
  }

  .hv-card {
    width: clamp(190px, 24vw, 230px);
    padding: 15px 16px 14px;
  }

  .hv-card-1,
  .hv-card-2,
  .hv-card-3 {
    left: 22%;
  }

  .hv-center {
    width: clamp(120px, 15vw, 160px);
    height: clamp(120px, 15vw, 160px);
  }

  .hv-label {
    font-size: 0.66rem;
  }

  .hv-value {
    font-size: 1.25rem;
  }

  .hv-chart {
    width: 66px;
    height: 30px;
  }

  .hv-barchart {
    width: 50px;
    height: 28px;
  }

  .hv-sublabel {
    font-size: 0.7rem;
    margin-top: 3px;
  }

  .about-right {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .project-content-panel {
    width: 75vw;
  }

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

  .proj-card.featured {
    grid-column: span 2;
  }

  .project-card {
    height: auto;
    position: relative;
    top: 0;
  }

  .project-card-inner {
    flex-direction: column;
  }

  .project-card-inner.reverse {
    flex-direction: column;
  }

  .project-visual {
    flex: 1;
    padding: 32px;
  }

  .project-content {
    padding: 32px;
  }
}

/* Tablet portrait + large phones (768px and below) — show hamburger */
@media (max-width: 768px) {

  /* Navbar */
  .nav-links {
    display: none !important;
  }

  .nav-cta {
    display: none !important;
  }

  .nav-back {
    font-size: 0.8rem;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav-panel {
    display: block;
  }

  .nav-inner {
    padding: 0 20px;
    height: 64px;
  }

  /* Nav scrolled adjustments on mobile */
  nav.nav-scrolled {
    top: env(safe-area-inset-top, 0);
    left: 0;
    right: 0;
    border-radius: 0;
  }

  /* Hero */
  #hero {
    height: auto;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px 20px 56px;
    gap: 40px;
    text-align: center;
  }

  #hero h1 {
    font-size: clamp(2.45rem, 8vw, 3.25rem);
  }

  section {
    height: auto;
    min-height: auto;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    text-align: center;
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stats {
    justify-content: center;
    gap: 24px;
  }

  .hero-right {
    justify-content: center;
    top: 0;
  }

  .hero-visual {
    width: clamp(260px, 72vw, 400px);
    height: clamp(260px, 72vw, 400px);
  }

  .hv-card {
    width: clamp(178px, 54vw, 220px);
    min-height: 104px;
    padding: 13px 14px 12px;
  }

  .hv-chart {
    display: none;
  }

  .hv-card-1,
  .hv-card-2,
  .hv-card-3 {
    left: 21%;
  }

  .hv-card-1 {
    top: 4%;
  }

  .hv-card-2 {
    top: 70%;
    bottom: auto;
  }

  .hv-card-3 {
    top: 38%;
  }

  /* Sections */
  section {
    padding: 64px 20px;
    height: auto;
    min-height: auto;
    overflow: visible;
    justify-content: flex-start;
  }

  #results {
    padding: 64px 20px;
  }

  /* About */
  #about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-right {
    grid-template-columns: 1fr;
  }

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

  .result-item {
    padding: 32px 20px;
  }

  .project-card {
    min-height: auto;
    padding: 0;
    height: auto;
  }

  .project-card-inner {
    flex-direction: column;
  }

  .project-visual {
    flex: 1;
    padding: 28px;
  }

  /* Hide full project content on mobile — user taps "See in detail" */
  .project-content {
    display: none;
  }

  /* Show the mobile detail button */
  .btn-detail {
    display: block;
  }

  .result-num {
    font-size: 2.2rem;
  }

  /* Projects row */
  .projects-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    overflow: visible;
    padding-bottom: 0;
  }

  .projects-row::-webkit-scrollbar {
    display: none;
  }

  .project-card {
    flex: none;
    width: 100%;
    scroll-snap-align: none;
    min-height: 320px;
    padding: 24px;
  }

  .project-content-panel {
    width: 100vw;
    padding: 72px 24px 40px;
  }

  /* Team */
  .team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    overflow: visible;
    padding-bottom: 0;
  }

  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-card {
    flex: none;
    width: 100%;
    scroll-snap-align: none;
  }

  /* Testimonials styling handled in main section */

  /* All Projects page */
  .pv-page-header {
    padding: 100px 16px 40px;
  }

  #all-projects {
    padding: 32px 12px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .proj-card.featured {
    grid-column: span 1;
  }

  .proj-body {
    padding: 20px;
  }

  .proj-visual {
    padding: 24px 20px;
    height: 160px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  footer {
    padding: 56px 20px 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* CTA section */
  #cta-section {
    padding: 64px 20px;
  }

  #cta-section .inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-form {
    padding: 32px 24px;
  }

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

  /* More-projects + page-cta */
  #more-projects {
    padding: 28px 12px;
    min-height: auto;
  }

  .page-cta {
    padding: 48px 16px;
  }

  .support-cards {
    grid-template-columns: 1fr !important;
  }

  /* ─── FAQ SUPPORT CARDS MOBILE FIX ─── */
  #faq-view .pv-page-header {
    padding: 100px 20px 32px;
  }

  #faq-view section.full-bleed {
    padding: 0 16px 40px;
  }

  .support-card {
    padding: 24px 20px;
  }

  .support-card h4 {
    font-size: 1.1rem;
  }

  .support-card p {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }

  .support-card a {
    font-size: 0.82rem;
    word-break: break-all;
  }

  #support-section {
    padding: 40px 16px;
  }

  #support-section .inner {
    text-align: left;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-question {
    font-size: 1.1rem;
  }

  .faq-answer {
    font-size: 0.88rem;
  }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  h2 {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }

  .hero-visual {
    width: clamp(220px, 80vw, 320px);
    height: clamp(220px, 80vw, 320px);
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "nav services"
      "contact contact";
  }

  .footer-brand {
    grid-area: brand;
  }

  .footer-top .footer-col:nth-of-type(1) {
    grid-area: nav;
  }

  .footer-top .footer-col:nth-of-type(2) {
    grid-area: services;
  }

  .footer-top .footer-col:nth-of-type(3) {
    grid-area: contact;
  }

  .hero-stats {
    flex-direction: row;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
  }

  .modal-box {
    padding: 32px 20px;
  }

  .project-card {
    min-height: auto;
  }

  .page-cta {
    padding: 40px 16px;
  }

  #more-projects {
    padding: 20px 12px;
    min-height: auto;
  }

  .project-card-inner {
    flex-direction: column;
  }

  .project-card-inner.reverse {
    flex-direction: column;
  }

  .project-visual {
    flex: 1;
    padding: 28px;
  }

  .project-content {
    padding: 28px;
  }
}

/* Make projects grid horizontally scrollable on mobile to reduce vertical stacking */
@media (max-width: 768px) {
  .projects-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .projects-grid::-webkit-scrollbar { display: none; }
  .proj-card {
    flex: 0 0 85%;
    width: 85%;
    min-height: auto;
    height: auto;
    margin-right: 6px;
  }
  .proj-card.featured { flex: 0 0 95%; width: 95%; }
}

@media (max-width: 480px) {
  .proj-card { flex: 0 0 92%; width: 92%; }
}

/* Make hero stats horizontal on small screens */
@media (max-width: 768px) {
  .hero-stats {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: hidden;
    padding: 12px 0 0 0;
  }
  .hero-stats > div {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 6px 0;
  }
  .hero-stat-num {
    font-size: 1.25rem;
  }
  .hero-stat-lbl {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 10px;
  }
  .hero-stats > div {
    padding: 4px 0;
  }
  .hero-stat-num {
    font-size: 1.1rem;
  }
  .hero-stat-lbl {
    font-size: 0.65rem;
  }
}

/* Desktop view toggle button (mobile only) */
#desktop-toggle {
  position: fixed;
  top: 84px;
  right: 12px;
  z-index: 11000;
  background: rgba(34,37,42,0.9);
  color: #fff;
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(34,37,42,0.12);
  display: inline-block;
}

@media (min-width: 820px) {
  #desktop-toggle { display: none; }
}

/* ─── TOAST NOTIFICATIONS ─── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 360px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--charcoal);
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  animation: toast-slide-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast.toast-error {
  border-left: 4px solid #e74c3c;
}
.toast.toast-success {
  border-left: 4px solid var(--mint);
}

.toast-icon {
  font-size: 1.2rem;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
}

.toast.hiding {
  animation: toast-slide-out 0.3s ease forwards;
}

@keyframes toast-slide-in {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toast-slide-out {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  #toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    align-items: center;
  }
  .toast {
    max-width: 100%;
    width: 100%;
  }
}
 @media (max-width: 768px) {
      .hero-stats {
        display: flex !important;
        gap: 12px !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        overflow-x: hidden !important;
        padding: 12px 0 0 0 !important;
      }
      .hero-stats > div {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        text-align: center !important;
        padding: 6px 0 !important;
      }
      .hero-stat-num {
        font-size: 1.25rem !important;
      }
      .hero-stat-lbl {
        font-size: 0.7rem !important;
      }
    }
    @media (max-width: 480px) {
      .hero-stats {
        gap: 10px !important;
      }
      .hero-stats > div {
        padding: 4px 0 !important;
      }
      .hero-stat-num {
        font-size: 1.1rem !important;
      }
      .hero-stat-lbl {
        font-size: 0.65rem !important;
      }
    }
/* ─── HERO SERVICES STRIP RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hv-side-label {
    display: none;
  }
  .hv-process-arcs {
    display: none;
  }
  .hero-services-strip {
    padding: 0 32px 48px;
  }
  .hss-divider {
    width: 100%;
  }
  .hss-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-bottom: 34px;
  }
  .hss-badge {
    display: none;
  }
  .hss-service {
    padding-right: 16px;
  }
  .hss-service + .hss-service {
    padding-left: 0;
  }
  .hss-stats-row {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .hero-services-strip {
    padding: 0 20px 40px;
  }
  .hss-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 0;
  }
  .hss-service {
    padding-right: 0;
  }
  .hss-service + .hss-service {
    padding-left: 0;
    border-left: none;
  }
  .hss-stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 0;
    padding: 20px 12px;
    overflow-x: auto;
  }
  .hss-stat-sep {
    display: none;
  }
  .hss-stat {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }
  .hss-stat-num {
    font-size: 1.1rem;
  }
  .hss-stat-lbl {
    font-size: 0.65rem;
  }
  .hss-stat-icon {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 480px) {
  .hss-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hss-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 18px 12px;
  }
  .hss-stat {
    flex: 0 0 calc(33% - 8px);
    min-width: 80px;
  }
}

/* Reference second section: About + process */
.legacy-section {
  display: none !important;
}

.nav-links a.highlight {
  font-size: 0;
}

.nav-links a.highlight::before {
  content: "All Projects \2197";
  font-size: 1rem;
}

.mobile-nav-panel-inner a[onclick*="showProjects"] {
  font-size: 0;
}

.mobile-nav-panel-inner a[onclick*="showProjects"]::before {
  content: "All Projects \2197";
  font-size: 1rem;
}

.nav-links a,
.nav-cta {
  white-space: nowrap;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .nav-inner,
  nav.nav-scrolled .nav-inner {
    padding: 0 24px;
  }

  .logo,
  nav.nav-scrolled .logo {
    font-size: 1.24rem;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a,
  .nav-links a.highlight::before {
    font-size: 0.86rem;
  }

  .nav-cta {
    padding: 12px 18px;
    font-size: 0.82rem;
  }
}

@media (min-width: 769px) {
  nav.nav-scrolled {
    top: 6px;
    left: max(16px, calc((100vw - 1360px) / 2));
    right: max(16px, calc((100vw - 1360px) / 2));
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 18px 50px rgba(34, 37, 42, 0.12);
  }

  nav.nav-scrolled .nav-inner {
    height: 68px;
    padding: 0 72px;
  }

  nav.nav-scrolled .logo {
    font-size: 1.46rem;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  nav.nav-scrolled .nav-inner {
    padding: 0 24px;
  }
}

#about {
  max-width: 1270px;
  padding: 104px 0 0;
  display: block;
  scroll-margin-top: 96px;
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: 74px;
  align-items: start;
  min-height: 468px;
  padding: 0 0 18px 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.12);
  border-radius: 18px 18px 0 0;
}

.about-copy {
  padding-top: 32px;
}

.about-copy .section-tag,
.process-heading .section-tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.about-copy h2 {
  max-width: 520px;
  font-size: clamp(2.08rem, 2.46vw, 2.52rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin-bottom: 34px;
}

.about-copy .section-sub {
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(34, 37, 42, 0.66);
}

.about-rule {
  width: 32px;
  height: 1px;
  margin-bottom: 26px;
  background: rgba(53, 79, 82, 0.18);
}

.about-right {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-card {
  min-height: 250px;
  padding: 24px 24px 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(53, 79, 82, 0.14);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 34px rgba(34, 37, 42, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 44px rgba(34, 37, 42, 0.12);
}

.about-card-story {
  grid-column: 1 / -1;
  min-height: 182px;
  padding: 26px 28px 22px;
  background:
    radial-gradient(circle at 82% 12%, rgba(216, 226, 220, 0.18), transparent 34%),
    linear-gradient(135deg, #24484A, #354F52);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 42px rgba(34, 37, 42, 0.16);
}

.ac-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.about-card-story .ac-title-row {
  gap: 10px;
  margin-bottom: 18px;
}

.ac-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--spruce);
  background: rgba(216, 226, 220, 0.76);
  border-radius: 14px;
}

.about-card-story .ac-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  border-radius: 0;
}

.ac-icon svg {
  width: 24px;
  height: 24px;
}

.about-card-story .ac-icon svg {
  width: 18px;
  height: 18px;
}

.ac-title {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(34, 37, 42, 0.78);
}

.about-card-story .ac-title {
  color: rgba(255, 255, 255, 0.92);
}

.ac-body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(34, 37, 42, 0.68);
}

.about-card-story .ac-body {
  max-width: 620px;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.9);
}

#results {
  display: block;
  max-width: none;
  padding: 0 0 64px;
  background: transparent;
  scroll-margin-top: 96px;
}

.results-inner {
  max-width: 1270px;
  margin: 0 auto;
}

.results-stats-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  min-height: 116px;
  padding: 24px 38px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(53, 79, 82, 0.14);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 42px rgba(34, 37, 42, 0.06);
}

.result-stat {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 26px;
  border-right: 1px solid rgba(53, 79, 82, 0.15);
}

.result-stat:last-child {
  border-right: 0;
}

.result-stat-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #24484A;
  background: rgba(216, 226, 220, 0.74);
  border-radius: 14px;
}

.result-stat-icon svg {
  width: 28px;
  height: 28px;
}

.result-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 5px;
}

.result-stat-label {
  display: block;
  font-size: 0.85rem;
  line-height: 1.3;
  color: rgba(34, 37, 42, 0.68);
}

.process-panel {
  margin-top: 18px;
  padding: 24px 42px 34px;
  background:
    linear-gradient(135deg, rgba(216, 226, 220, 0.46), rgba(255, 255, 255, 0.28) 48%, rgba(216, 226, 220, 0.36)),
    rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 44px rgba(34, 37, 42, 0.05);
}

.process-heading {
  text-align: center;
  margin-bottom: 26px;
}

.process-heading .section-tag {
  justify-content: center;
  margin-bottom: 12px;
  color: var(--spruce);
}

#results .process-heading .section-tag {
  color: var(--spruce);
}

#results .process-heading .section-tag::before {
  background: var(--spruce);
}

.process-heading h2 {
  font-size: clamp(1.72rem, 2.1vw, 2.12rem);
  line-height: 1.18;
  margin: 0;
  color: var(--charcoal);
}

#results .process-heading h2 {
  color: var(--charcoal);
}

.process-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr) 74px minmax(0, 1fr) 74px minmax(0, 1fr) 74px minmax(0, 1fr);
  align-items: start;
}

.process-step {
  min-width: 0;
  text-align: center;
}

.process-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #24484A;
  background: rgba(216, 226, 220, 0.86);
  border-radius: 14px;
}

.process-icon svg {
  width: 30px;
  height: 30px;
}

.process-step h3 {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.process-step p {
  max-width: 170px;
  margin: 0 auto;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(34, 37, 42, 0.78);
}

.process-arrow {
  position: relative;
  height: 62px;
}

.process-arrow::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 7px;
  right: 8px;
  border-top: 1.5px dashed rgba(53, 79, 82, 0.42);
}

.process-arrow::after {
  content: '';
  position: absolute;
  top: 25px;
  right: 4px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid rgba(53, 79, 82, 0.42);
  border-right: 1.5px solid rgba(53, 79, 82, 0.42);
  transform: rotate(45deg);
}

@media (max-width: 1279px) {
  #about,
  .results-inner {
    max-width: calc(100vw - 64px);
  }

  .about-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .result-stat {
    gap: 12px;
    padding: 0 16px;
  }

  .process-steps {
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr) 38px minmax(0, 1fr) 38px minmax(0, 1fr) 38px minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  #about {
    max-width: calc(100vw - 48px);
    padding-top: 88px;
  }

  .about-shell {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding: 32px 28px 12px;
  }

  .about-copy h2 {
    max-width: 760px;
  }

  .about-copy .section-sub {
    max-width: 760px;
  }

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

  .results-inner {
    max-width: calc(100vw - 48px);
  }

  .results-stats-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 0;
    padding: 24px;
  }

  .result-stat {
    justify-content: flex-start;
    border-right: 0;
  }

  .process-panel {
    padding: 28px 28px 32px;
  }

  .process-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }

  .process-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  #about {
    max-width: none;
    padding: 72px 20px 0;
  }

  .about-shell {
    padding: 26px 0 4px;
    background: transparent;
    border-radius: 0;
  }

  .about-copy {
    text-align: center;
  }

  .about-copy .section-tag {
    justify-content: center;
    margin-bottom: 22px;
  }

  .about-copy h2 {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 6.4vw, 2.85rem);
  }

  .about-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .about-copy .section-sub {
    margin: 0 auto;
    font-size: 0.98rem;
  }

  .about-right {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-card,
  .about-card-story {
    min-height: auto;
    padding: 22px;
  }

  .results-inner {
    max-width: none;
    padding: 0 20px;
  }

  .results-stats-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .result-stat {
    min-height: 84px;
    padding: 10px;
    gap: 12px;
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(53, 79, 82, 0.1);
    border-radius: 12px;
  }

  .result-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .result-stat-icon svg {
    width: 22px;
    height: 22px;
  }

  .result-stat-num {
    font-size: 1.34rem;
  }

  .result-stat-label {
    font-size: 0.72rem;
  }

  .process-panel {
    margin-top: 16px;
    padding: 24px 18px;
  }

  .process-heading {
    margin-bottom: 24px;
  }

  .process-heading h2 {
    font-size: clamp(1.55rem, 5.5vw, 2.05rem);
  }

  .process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-step {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 16px;
    text-align: left;
    padding: 0 0 14px;
  }

  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 54px;
    bottom: -14px;
    left: 26px;
    border-left: 1.5px dashed rgba(53, 79, 82, 0.28);
  }

  .process-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 0;
    grid-row: 1 / span 2;
  }

  .process-icon svg {
    width: 26px;
    height: 26px;
  }

  .process-step h3 {
    align-self: end;
    margin: 3px 0 6px;
  }

  .process-step p {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 480px) {
  #about {
    padding: 64px 16px 0;
  }

  .about-copy h2 {
    font-size: clamp(1.58rem, 7.4vw, 2.05rem);
    line-height: 1.18;
  }

  .about-copy .section-sub,
  .ac-body {
    font-size: 0.94rem;
  }

  .ac-title-row {
    gap: 12px;
    margin-bottom: 14px;
  }

  .ac-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .results-inner {
    padding: 0 16px;
  }

  .results-stats-panel {
    grid-template-columns: 1fr;
  }

  .result-stat {
    min-height: 74px;
  }

  .process-panel {
    border-radius: 14px;
  }
}