/* Huenx - Mobile-first, responsive */
:root {
  --color-primary: #14312F;
  --color-primary-deep: #004836;
  --color-black-green: #052720;
  --color-surface: #F5F5F5;
  --color-surface-alt: #E4E9E9;
  --color-card: #F2F4F3;
  --color-text: #151C1C;
  --color-text-muted: #5A7B79;
  --color-white: #FFFFFF;
  --color-border: #E9EAEB;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: var(--font-sans);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --container-max: 1280px;
  --header-h: 80px;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
  --shadow-skeu: 0 1px 2px rgba(10, 13, 18, 0.05), inset 0 0 0 1px rgba(10, 13, 18, 0.18), inset 0 -2px 0 rgba(10, 13, 18, 0.05);
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}
/* Touch-friendly tap targets */
a, button { -webkit-tap-highlight-color: rgba(0,0,0,0.1); }
@media (hover: none) {
  a:hover, button:hover { opacity: 1; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 var(--space-sm); }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { margin: 0 0 var(--space-sm); }
p:last-child { margin-bottom: 0; }

/* Layout – mobile first */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}
@media (min-width: 768px) {
  .container { padding-left: 32px; padding-right: 32px; }
}
@media (min-width: 1024px) {
  .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
}

.section {
  padding: var(--space-xl) 0;
}
.section--dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.section--light {
  background: var(--color-surface);
}
.section--white { background: var(--color-white); }
.section__title { margin-bottom: var(--space-xs); }
.section__subtitle { color: var(--color-text-muted); margin-bottom: var(--space-md); }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  z-index: 1000;
  transition: background 0.2s;
}
.header .container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo:hover { opacity: 0.9; }
.logo__img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.logo__icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo__icon svg { width: 20px; height: 20px; fill: currentColor; }

/* Mobile menu button */
.nav-toggle {
  background: none;
  border: none;
  color: inherit;
  padding: var(--space-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle svg { width: 24px; height: 24px; }

/* Navigation */
.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-lg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}
.nav.is-open { transform: translateX(0); }
.nav__wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
}
.nav__list { display: flex; flex-direction: column; gap: var(--space-sm); }
.nav__cta { margin-top: var(--space-sm); }
.nav__link {
  display: block;
  padding: var(--space-sm);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--radius);
}
.nav__link:hover { background: rgba(255,255,255,0.1); }
.nav__list .nav__link.btn { padding: var(--space-sm) var(--space-md); }
.nav-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
  background: none;
  border: none;
  color: inherit;
  padding: var(--space-xs);
  cursor: pointer;
  width: 44px;
  height: 44px;
}

/* Main content offset for fixed header */
.main { padding-top: var(--header-h); min-height: 100vh; }
.page-home .main { padding-top: 0; }
.hero-header .header { position: relative; top: auto; left: auto; right: auto; }
.hero-header .header .container { padding: 0 var(--space-sm); }
.hero-header .header__inner { padding: 0; }
@media (min-width: 768px) {
  .hero-header .header .container { padding: 0 32px; }
  .hero-header .nav__wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding-top: 0;
    margin-left: 48px;
  }
  .hero-header .nav__list { flex-direction: row; gap: 32px; }
  .hero-header .nav__cta { margin-top: 0; margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--light {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

/* Homepage layout – flex column, full width */
.page-home { display: flex; flex-direction: column; align-items: center; background: var(--color-white); }

/* Hero – full-width, dark teal to match screenshot */
.hero-header {
  width: 100%;
  background: #15312f;
  color: var(--color-white);
  position: relative;
  isolation: isolate;
}
.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 234, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 234, 235, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}
.hero-header .header { background: #15312f; }
.hero-header .header,
.hero-header .hero-section,
.hero-header .hero__image-wrap { position: relative; z-index: 1; }
.hero-header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 var(--space-sm);
  gap: 16px;
  max-width: var(--container-max);
  height: 80px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero-header .container { padding: 0 32px; }
  .hero-header .nav__list { gap: 24px; }
}
.hero-header .nav__link {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-white);
}
.hero-header .nav__cta {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
}
.hero-header .btn--light {
  background: var(--color-white);
  color: var(--color-black-green);
  box-shadow: var(--shadow-skeu);
  padding: 10px 18px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
}
.hero-section {
  width: 100%;
  background: #15312f;
  color: var(--color-white);
  padding: var(--space-2xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}
.hero-section .container { max-width: var(--container-max); padding: 0 var(--space-sm); width: 100%; }
.hero__top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 var(--space-sm);
  gap: var(--space-lg);
  width: 100%;
  max-width: var(--container-max);
}
.hero__content { display: flex; flex-direction: column; gap: var(--space-lg); }
.hero__heading-block { display: flex; flex-direction: column; gap: var(--space-md); }
.hero__title {
  font-weight: 500;
  font-size: clamp(1.75rem, 6vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #EBEBEB;
  margin: 0;
}
.hero__text {
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 20px);
  line-height: 1.5;
  color: var(--color-white);
  margin: 0;
  max-width: 640px;
}
@media (min-width: 768px) {
  .hero-section { padding: 96px 0; gap: 64px; }
  .hero-section .container { padding: 0 32px; }
  .hero__top { flex-direction: row; align-items: flex-end; padding: 0 32px; gap: 32px; }
  .hero__content { flex: 1; gap: 48px; }
  .hero__heading-block { gap: 24px; }
  .hero__title { line-height: 72px; }
  .hero__text { font-size: 20px; line-height: 30px; }
}
.hero__actions { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; }
.hero__actions .btn--light {
  background: var(--color-white);
  color: var(--color-black-green);
  box-shadow: var(--shadow-skeu);
  padding: 12px 18px;
  font-weight: 500;
  font-size: 16px;
}
.hero__image-wrap {
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--space-sm);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero__image-wrap { padding: 0 32px; }
}
.hero__image {
  width: 100%;
  height: auto;
  max-height: 516px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.hero__image-placeholder {
  width: 100%;
  height: 320px;
  max-height: 516px;
  background: var(--color-primary-deep);
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
}
.hero__image-placeholder.is-visible { display: flex; }

/* Features section – mobile first */
.section-features {
  width: 100%;
  background: var(--color-surface-alt);
  padding: var(--space-2xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}
.section-features .container { max-width: var(--container-max); padding: 0 var(--space-sm); width: 100%; }
.section-features__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  width: 100%;
}
.section-features__sub { font-weight: 500; font-size: clamp(1rem, 2.5vw, 20px); line-height: 1.4; color: var(--color-text-muted); margin: 0; }
.section-features__title { font-weight: 600; font-size: clamp(1.75rem, 5vw, 72px); line-height: 1.1; letter-spacing: -0.02em; color: var(--color-text); margin: 0; }
.section-features__desc { font-size: clamp(1rem, 2.5vw, 20px); line-height: 1.5; color: var(--color-black-green); margin: 0; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--space-sm);
  align-items: stretch;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-lg) var(--space-md);
  gap: var(--space-md);
  border-radius: var(--radius);
  min-height: 0;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; padding: 0 32px; }
}
@media (min-width: 768px) {
  .section-features { padding: 96px 0; gap: 64px; }
  .section-features .container { padding: 0 32px; }
  .section-features__header { gap: 20px; }
  .feature-card { padding: 32px 24px 24px; gap: 24px; min-height: 320px; }
}
.feature-card--light { background: var(--color-card); color: var(--color-black-green); }
.feature-card--dark { background: var(--color-primary); color: var(--color-white); }
.feature-card__icon {
  width: 75px;
  height: 63px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-card__icon span {
  display: block;
  width: 75px;
  height: 27px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.feature-card--dark .feature-card__icon span { border-color: var(--color-white); }
.feature-card__icon--circle {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-direction: row;
}
.feature-card__icon--circle .circle { width: 50px; height: 50px; border: 1.3px solid currentColor; border-radius: 50%; flex-shrink: 0; }
.feature-card__icon--circle .rect { width: 62px; height: 62px; border: 1.3px solid currentColor; flex-shrink: 0; }
/* Three thin parallel slightly slanted lines (Cards 1 & 3) */
.feature-card__icon--slanted {
  flex-direction: column;
  justify-content: space-between;
  height: 56px;
}
.feature-card__icon--slanted span {
  width: 64px;
  height: 3px;
  background: currentColor;
  border: none;
  border-radius: 1px;
  transform: skewY(-6deg);
}
.feature-card--dark .feature-card__icon--slanted span { background: var(--color-white); }
.feature-card__title { font-weight: 500; font-size: clamp(1.125rem, 2.5vw, 24px); line-height: 1.3; margin: 0; }
.feature-card__text { font-size: 0.9375rem; line-height: 1.5; margin: 0; }
@media (min-width: 768px) {
  .feature-card__text { font-size: 16px; line-height: 24px; }
}
.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: inherit;
  margin-top: auto;
}
.feature-card__link:hover { text-decoration: underline; }

/* Why us / list section – white */
.section-why {
  width: 100%;
  background: var(--color-white);
  padding: 96px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.section-why .container { max-width: var(--container-max); padding: 0 var(--space-sm); width: 100%; }
.section-why__header { display: flex; flex-direction: column; gap: var(--space-xs); width: 100%; }
.section-why__sub { font-weight: 500; font-size: clamp(1rem, 2.5vw, 20px); line-height: 1.4; color: var(--color-text-muted); margin: 0; }
.section-why__title { font-weight: 600; font-size: clamp(1.75rem, 5vw, 72px); line-height: 1.2; letter-spacing: -0.02em; color: var(--color-text); margin: 0; }
.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--space-sm);
}
.why-list__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-sm);
}
.why-list__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.why-list__icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.why-list__text { font-weight: 500; font-size: clamp(1rem, 2.5vw, 24px); line-height: 1.35; color: var(--color-text); margin: 0; }
@media (min-width: 768px) {
  .section-why { padding: 96px 0; gap: 64px; }
  .section-why .container { padding: 0 32px; }
  .section-why__title { line-height: 90px; }
  .why-list { gap: 24px; padding: 0 32px; }
  .why-list__item { align-items: center; gap: 16px; }
  .why-list__text { font-size: 24px; line-height: 28px; }
}

/* Testimonial – mobile first */
.section-testimonial {
  width: 100%;
  background: var(--color-white);
  padding: 0 0 var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-testimonial .container { max-width: var(--container-max); padding: 0 var(--space-sm); width: 100%; }
.testimonial-card {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
}
.testimonial-card--image {
  border-radius: var(--radius);
  overflow: hidden;
}
.testimonial-card__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
@media (min-width: 768px) {
  .section-testimonial { padding: 0 0 96px; }
  .section-testimonial .container { padding: 0 32px; }
  .testimonial-card--image { border-radius: 18px; }
  .testimonial-card__img { border-radius: 18px; }
}

/* Newsletter CTA – mobile first */
.section-newsletter {
  width: 100%;
  background: var(--color-surface);
  padding: var(--space-2xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-newsletter .container { max-width: var(--container-max); padding: 0 var(--space-sm); width: 100%; }
.newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  max-width: 768px;
}
.newsletter-content__title { font-weight: 500; font-size: clamp(1.75rem, 5vw, 72px); line-height: 1.2; letter-spacing: -0.02em; color: var(--color-text); margin: 0; }
.newsletter-content__text { font-size: clamp(1rem, 2.5vw, 20px); line-height: 1.5; color: var(--color-text); margin: 0; }
@media (min-width: 768px) {
  .section-newsletter { padding: 96px 0; }
  .section-newsletter .container { padding: 0 32px; }
  .newsletter-content { gap: 32px; }
  .newsletter-content__title { line-height: 90px; }
  .newsletter-content__text { font-size: 20px; line-height: 30px; }
}
.newsletter-content .btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-skeu);
  padding: 12px 18px;
  font-weight: 500;
  font-size: 16px;
}

/* Footer – mobile first */
.footer-main {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}
.footer-main .container { max-width: var(--container-max); padding: 0 var(--space-sm); width: 100%; }
.footer-main__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl) var(--space-md);
  align-items: start;
  width: 100%;
}
@media (min-width: 640px) {
  .footer-main__content { grid-template-columns: auto repeat(3, 1fr); gap: 48px 64px; }
}
@media (min-width: 768px) {
  .footer-main { padding: 64px 0 48px; gap: 64px; }
  .footer-main .container { padding: 0 32px; }
}
.footer-main__logo { display: inline-flex; align-items: center; }
.footer-main__logo:hover { opacity: 0.9; }
.footer-main__logo-img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.footer-main__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-main__col-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: var(--color-white);
  margin: 0;
}
.footer-main__col a { color: var(--color-white); font-weight: 500; font-size: 16px; line-height: 24px; opacity: 0.95; }
.footer-main__col a:hover { opacity: 1; text-decoration: underline; }
.footer-bar {
  width: 100%;
  background: #151C1C;
  padding: var(--space-lg) 0;
}
.footer-bar .container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-sm);
  text-align: center;
}
.footer-bar__text { font-size: 0.875rem; line-height: 1.4; color: #717680; margin: 0; }
.footer-bar__links { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }
.footer-bar__links a { font-size: 0.875rem; line-height: 1.4; color: #717680; }
@media (min-width: 640px) {
  .footer-bar { padding: 32px 0 48px; }
  .footer-bar .container { flex-direction: row; justify-content: space-between; text-align: left; padding: 0 32px; }
  .footer-bar__text { font-size: 16px; line-height: 24px; }
  .footer-bar__links { gap: 16px; }
  .footer-bar__links a { font-size: 16px; line-height: 24px; }
}
.footer-bar__links a:hover { color: var(--color-white); }
.page-about .footer-bar { background: var(--color-primary); }
.page-about .footer-bar__text,
.page-about .footer-bar__links a { color: rgba(255, 255, 255, 0.9); }
.page-about .footer-bar__links a:hover { color: var(--color-white); }
.page-about .footer-divider { background: rgba(255, 255, 255, 0.08); }
/* Contact page – footer same dark teal with grid, legal in bottom right */
.page-contact .footer-main {
  position: relative;
  isolation: isolate;
}
.page-contact .footer-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.page-contact .footer-main .container { position: relative; z-index: 1; }
.page-contact .footer-bar { background: #15312f; }
.page-contact .footer-bar__text,
.page-contact .footer-bar__links a { color: rgba(255, 255, 255, 0.9); }
.page-contact .footer-bar__links a:hover { color: var(--color-white); }
.page-contact .footer-divider { background: rgba(255, 255, 255, 0.08); }
.footer-divider { width: 100%; height: 1px; background: var(--color-border); }

/* Legacy hero (page-hero) */
.page-hero { position: relative; }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Cards */
.cards { display: grid; gap: var(--space-md); }
.card {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card__num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--color-primary); margin-bottom: var(--space-xs); }
.card__title { margin-bottom: var(--space-xs); }
.card__text { color: var(--color-text-muted); font-size: 0.95rem; }

/* Quote / statement block */
.statement {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  max-width: 48ch;
  margin: 0 auto;
}
.statement__text { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 500; line-height: 1.5; margin-bottom: var(--space-md); }
.section--dark .statement__text { opacity: 0.95; }

/* CTA block */
.cta { text-align: center; padding: var(--space-lg) 0; }
.cta__title { margin-bottom: var(--space-sm); }
.cta__text { color: var(--color-text-muted); margin-bottom: var(--space-md); }
.section--dark .cta__text { color: rgba(255,255,255,0.85); }

/* Footer – Company, Services, Social from Figma */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-lg);
}
.footer__grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}
.footer__col-title { font-weight: 600; margin-bottom: var(--space-sm); font-size: 0.95rem; }
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer__col a { opacity: 0.9; }
.footer__col a:hover { opacity: 1; text-decoration: underline; }
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.footer__link { opacity: 0.9; }
.footer__link:hover { opacity: 1; text-decoration: underline; }
.footer__social { display: flex; gap: var(--space-sm); }
.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer__social a:hover { background: rgba(255,255,255,0.25); }
.footer__copy { opacity: 0.8; font-size: 0.9rem; }

/* Form */
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-surface-alt);
  border-radius: var(--radius);
  background: var(--color-white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 61, 58, 0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.contact__grid {
  display: grid;
  gap: var(--space-xl);
}
.contact__info p { margin-bottom: var(--space-xs); }
.contact__info a { text-decoration: underline; }

/* What we do – fixed header offset */
.page-what-we-do .main { padding-top: var(--header-h); }
/* How we work – fixed header offset */
.page-how-we-work .main { padding-top: var(--header-h); }
/* About – header contains title, not fixed */
.page-about .header { position: relative; }
.page-about .main { padding-top: 0; }
.section--about-cta { background: var(--color-surface-alt); }
/* Contact – fixed header offset */
.page-contact .main { padding-top: var(--header-h); }
.header--dark {
  background: #15312f;
  position: relative;
  isolation: isolate;
}
.header--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.header--dark .header__inner { position: relative; z-index: 1; }
.header--with-title {
  background: #15312f;
  position: relative;
  isolation: isolate;
}
.header--with-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #15312f;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.header--with-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 48px, rgba(255,255,255,0.02) 48px),
    linear-gradient(transparent 48px, rgba(255,255,255,0.02) 48px);
  background-size: 96px 96px;
  pointer-events: none;
  z-index: 0;
}
.header--with-title .header__inner,
.header--with-title .header-title-wrap { position: relative; z-index: 1; }
.header-title-wrap { padding: var(--space-3xl) 0 var(--space-2xl); text-align: center; }
.page-about .header-title-wrap { text-align: left; }
.header-title { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; color: var(--color-white); }
.header--dark .btn--light {
  background: var(--color-white);
  color: var(--color-text);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.header--dark .btn--primary {
  background: var(--color-primary-deep);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
}
.page-about .header--dark .btn--outline {
  background: var(--color-white);
  color: #1e3a38;
  border: 1px solid #1e3a38;
  border-radius: 8px;
}
.page-about .header--dark .btn--outline:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a38;
}

/* Page hero (simpler) */
.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
  text-align: center;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { margin-bottom: var(--space-sm); }
.page-hero__text { opacity: 0.9; max-width: 42ch; margin-left: auto; margin-right: auto; }

/* Page hero – dark teal with grid (what we do) */
.page-hero--dark {
  background: #15312f;
  text-align: left;
  position: relative;
  isolation: isolate;
}
.page-hero--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.page-hero--dark .container { position: relative; z-index: 1; }
.page-hero--dark .page-hero__title { margin-bottom: var(--space-md); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero--dark .page-hero__text { margin-left: 0; margin-right: 0; max-width: 65ch; margin-bottom: var(--space-sm); }
.page-hero--dark .page-hero__text:last-of-type { margin-bottom: var(--space-lg); }
.page-hero--dark .btn--light {
  background: var(--color-white);
  color: var(--color-black-green);
  box-shadow: var(--shadow-skeu);
}

/* Service/process blocks */
.block {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-xl) 0;
}
.block:nth-child(even) .block__content { order: 2; }
.block__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.block__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
.block__media-placeholder {
  aspect-ratio: 16/10;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.block__title { margin-bottom: var(--space-sm); font-size: clamp(1.35rem, 3vw, 1.75rem); color: var(--color-text); }
.block__text { color: var(--color-text); margin-bottom: var(--space-sm); }
.block__list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: var(--space-md) 0;
  color: var(--color-text);
}
.block__list li { margin-bottom: var(--space-xs); }

/* Statement section (In practice + quote) */
.section-statement { padding: var(--space-2xl) 0; }
.section-statement__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-statement__quote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0;
  max-width: 55ch;
}

/* CTA left-aligned */
.cta--left { text-align: left; }
.cta--left .cta__title { margin-bottom: var(--space-sm); }
.cta--left .cta__text { margin-bottom: var(--space-md); color: var(--color-text); }

/* Footer simple (Pages + Other sites) */
.footer-main__content--simple {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-main__content--simple { grid-template-columns: auto 1fr 1fr; }
}

/* How we work – process steps (alternating backgrounds) */
.process-steps { padding: 0; }
.process-step { padding: var(--space-2xl) 0; }
.process-step--light { background: var(--color-surface); }
.process-step--alt { background: var(--color-surface-alt); }
.process-step__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  opacity: 0.4;
}
.process-step .block__title { margin-bottom: var(--space-sm); }
.process-step .block__text { margin-bottom: var(--space-sm); }
.process-step .block__list { margin-top: var(--space-sm); }

/* Intro text block – right-aligned paragraph */
.section-intro-text { padding: var(--space-xl) 0; }
.section-intro-text__p {
  margin: 0;
  text-align: right;
  max-width: 55ch;
  margin-left: auto;
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .section-intro-text__p { text-align: left; margin-left: 0; }
}

/* About page – two-column sections */
.about-section { padding: var(--space-2xl) 0; }
.about-section + .about-section { padding-top: var(--space-3xl); }
.page-about .main { background: transparent; }
.page-about .section--company { background: #f7f7f7; }
.page-about .section--leadership { background: #eef2f2; }
.about-grid {
  display: grid;
  gap: var(--space-lg) var(--space-2xl);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 180px 1fr; align-items: start; }
}
.about-grid__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}
.page-about .about-grid__label {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #4A7E8D;
}
.about-grid__content { min-width: 0; }
.page-about .about-section .about-grid__content > .about-grid__text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #2E2E2E;
  margin-bottom: var(--space-md);
}
.page-about .about-section .about-grid__content > .about-grid__text:last-of-type { margin-bottom: 0; }
.about-lead {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 var(--space-xl);
  max-width: 42ch;
}
.about-grid__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .about-grid__columns {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
  }
  .about-grid__col--right {
    padding-left: var(--space-xl);
    border-left: 1px solid var(--color-border);
  }
}
.about-grid__col { min-width: 0; }
.about-grid__text { color: var(--color-text); margin: 0 0 var(--space-sm); }
.page-about .about-grid__content:has(.about-leader) > .about-grid__text {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #333333;
  margin-bottom: var(--space-lg);
}
.about-grid__content .block__list { margin: var(--space-sm) 0 var(--space-md); }
.about-grid__columns .block__list { margin: var(--space-xs) 0 0; }

/* About metrics – three cards */
.about-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (min-width: 640px) {
  .about-metrics { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
}
.about-metric {
  border-radius: var(--radius);
  overflow: hidden;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.about-metric--light {
  background: var(--color-surface-alt);
  color: var(--color-text);
}
.about-metric--light .about-metric__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}
.about-metric--light .about-metric__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
}
.about-metric--image {
  position: relative;
  min-height: 200px;
  padding: 0;
  background-color: var(--color-text);
  background-image: var(--metric-bg-image);
  background-size: cover;
  background-position: center;
}
.about-metric--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}
.about-metric--image .about-metric__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 200px;
  padding: var(--space-lg);
  color: var(--color-white);
}
.about-metric--image .about-metric__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0;
  opacity: 0.95;
}
.about-metric--image .about-metric__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-top: auto;
}
.about-metric__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.about-metric__label {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: var(--space-xs);
}
.about-metric__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

/* About leader profile */
.about-leader {
  margin-top: 0;
  max-width: 280px;
}
.about-leader__img {
  width: 100%;
  height: auto;
  aspect-ratio: 7/8;
  object-fit: cover;
  border-radius: 0;
  border: none;
  display: block;
  margin-bottom: var(--space-sm);
}
.about-leader__name {
  font-weight: 600;
  font-size: 1.125rem;
  color: #2E2E2E;
  margin: 0 0 4px;
}
.page-about .about-leader__name { font-size: 1.1875rem; font-weight: 600; }
.about-leader__role {
  font-size: 0.9375rem;
  color: #666666;
  margin: 0 0 var(--space-xs);
}
.page-about .about-leader__role { font-size: 0.875rem; color: #2E2E2E; }
.about-leader__linkedin {
  display: inline-flex;
  color: #151C1C;
}
.page-about .about-leader__linkedin { color: var(--color-primary); }
.about-leader__linkedin:hover { color: var(--color-primary-deep); }

/* CTA center-aligned */
.cta--center { text-align: center; }
.cta--center .cta__title { margin-bottom: var(--space-sm); }
.cta--center .cta__text { margin-bottom: var(--space-md); color: var(--color-text); max-width: 50ch; margin-left: auto; margin-right: auto; }
.cta--left { text-align: left; }
.cta--left .cta__title { margin-bottom: var(--space-sm); font-weight: 700; color: var(--color-text); }
.cta--left .cta__text { margin-bottom: var(--space-lg); color: var(--color-text-muted); max-width: 42ch; }
.page-about .section--white .cta__btn { background: #1E3A3B; color: var(--color-white); border: none; border-radius: 8px; }

/* Contact page – hero (title only, ample padding) */
.page-hero--contact .page-hero__text { display: none; }
.page-hero--contact .btn { display: none; }
.page-hero--contact .container { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.page-hero--contact .page-hero__title { font-weight: 700; color: var(--color-white); }

/* Contact section – direct contact (match screenshot) */
.page-contact .section--light.section-contact { background: #F7F7F7; }
.section-contact { padding: var(--space-2xl) 0; }
.section-contact__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
}
.section-contact__text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 var(--space-xl);
  max-width: 65ch;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 640px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.contact-card {
  background: #E8E9E8;
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-decoration: none;
  color: inherit;
  border: none;
  position: relative;
  transition: background 0.2s;
  min-height: 120px;
}
.contact-card:hover { background: #DEDFDE; }
.contact-card--phone { cursor: default; }
.contact-card--phone:hover { background: #E8E9E8; }
.contact-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.contact-card__value {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.contact-card a.contact-card__value { text-decoration: none; }
.contact-card a.contact-card__value:hover { text-decoration: underline; }
.contact-card__icon {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  color: var(--color-text-muted);
}
.contact-card:hover .contact-card__icon { color: var(--color-text); }

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-lg);
  text-align: center;
  padding: var(--space-xl) 0;
}
.metric__value { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: var(--color-primary); margin-bottom: var(--space-xs); }
.metric__label { font-size: 0.95rem; color: var(--color-text-muted); }

/* Story section */
.story__content { max-width: 65ch; }
.story__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.story__media-placeholder {
  aspect-ratio: 3/4;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

/* Tablet and up */
@media (min-width: 640px) {
  .section { padding: var(--space-2xl) 0; }
  .hero { padding: var(--space-2xl) 0; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr auto; align-items: start; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav {
    position: static;
    transform: none;
    background: transparent;
    padding: 0;
    overflow: visible;
    display: flex;
    flex: 1;
    min-width: 0;
  }
  .nav.is-open { transform: none; }
  .nav-close { display: none; }
  .nav__wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding-top: 0;
    margin-left: 48px;
  }
  .nav__list { flex-direction: row; padding: 0; gap: 32px; }
  .nav__link { padding: var(--space-sm) 0; }
  .nav__cta { margin-top: 0; margin-left: auto; }
  .header__inner { display: flex; align-items: center; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .block { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
}

@media (min-width: 1024px) {
  .hero__grid { gap: var(--space-2xl); }
  .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
}
