:root {
  --bg: #f3f4ef;
  --bg-soft: #ffffff;
  --ink: #18221c;
  --muted: #4b5850;
  --accent: #22573a;
  --accent-deep: #173d29;
  --accent-warm: #b3894a;
  --accent-soft: #5d8f71;
  --line: #d6ddd2;
  --card: #ffffff;
  --white: #ffffff;
  --white-soft: #ffffffeb;
  --text-strong: #163022;
  --text-subtle: #3f5a47;
  --text-emphasis: #244d33;
  --text-meta: #4f6556;
  --footer-text: #1f3526;
  --footer-link: #235138;
  --selection-bg: #dee8dc;
  --focus-ring: #2a6445;
  --surface-mint: #e6ece4;
  --line-soft: #dde7d8;
  --line-contrast: #bdd2c0;
  --chip-line: #c7ddcb;
  --input-line: #bfd0c3;
  --cta-strong-border: #17482c;
  --cta-soft-text: #edf2ec;
  --cta-soft-line: #d6e1d7;
  --success-bg: #eef5ef;
  --radius-sm: 0.82rem;
  --radius-md: 1rem;
  --radius-lg: 1.24rem;
  --shadow-sm: 0 14px 34px -26px rgba(22, 31, 25, 0.38);
  --shadow-md: 0 26px 60px -36px rgba(20, 30, 24, 0.35);
  --shadow-lg: 0 34px 84px -44px rgba(16, 24, 19, 0.42);
  --wash: radial-gradient(1200px 520px at 10% -10%, rgba(173, 188, 165, 0.22), transparent 62%),
    radial-gradient(900px 420px at 100% 0%, rgba(136, 154, 142, 0.14), transparent 58%);
  --hero-panel: linear-gradient(165deg, #ffffff 0%, #f5f7f2 100%);
  --cta-panel: linear-gradient(135deg, #22573a 0%, #173d29 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--wash), var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--selection-bg);
  color: var(--ink);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.23'/%3E%3C/svg%3E");
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 2.4vw, 2.6rem);
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(250, 253, 249, 0.9));
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.site-header.scrolled {
  border-bottom-color: #c8d8c9;
  box-shadow: 0 14px 26px -20px rgba(14, 43, 23, 0.42);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: clamp(2.35rem, 5vw, 2.85rem);
  height: clamp(2.35rem, 5vw, 2.85rem);
  object-fit: contain;
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
  display: block;
}

.brand-name {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: clamp(0.65rem, 1.4vw, 1.2rem);
}

.nav a {
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 700;
  font-size: 0.96rem;
  position: relative;
  border-radius: 999px;
  padding: 0.22rem 0.56rem;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--accent-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav a:hover {
  color: var(--accent-deep);
  background: #ecf5ee;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-toggle {
  display: none;
}

main {
  width: min(1160px, 92vw);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3.3vw, 3rem);
}

h3 {
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
}

.section-head {
  display: inline-grid;
  gap: 0.35rem;
}

.section-head::after {
  content: "";
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: center;
}

.hero-copy {
  background: var(--hero-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.4vw, 2.3rem);
  box-shadow: var(--shadow-md);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent-deep);
  font-size: 0.79rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: #eaf5eb;
  border: 1px solid #cbe0ce;
}

h1 {
  margin-top: 0.65rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  max-width: 13ch;
  line-height: 1.02;
  font-weight: 800;
}

.lead {
  margin: 0.95rem 0 0.35rem;
  color: var(--muted);
  font-weight: 600;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-cred {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.btn {
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.68rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.btn:focus-visible,
.nav a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--white);
  border-color: #1a5737;
  box-shadow: 0 12px 26px -18px rgba(18, 72, 43, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px -18px rgba(18, 72, 43, 0.62);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--line-contrast);
  background: var(--white);
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 340px;
  background: var(--surface-mint);
  box-shadow: var(--shadow-lg);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.hero-visual:hover img {
  transform: scale(1.03);
}

.problem-strip,
.services-featured,
.about-preview,
.tech-solutions,
.labour-highlight,
.proof-section,
.final-cta,
.contact-strip,
.panel {
  margin-top: 3rem;
}

.problem-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.problem-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.problem-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-contrast);
  box-shadow: var(--shadow-md);
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-top: 0.55rem;
}

.problem-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.mini-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  border: 1px solid var(--line-contrast);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.03em;
}

.service-categories {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
}

.service-category {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.service-category h3 {
  margin-bottom: 0.45rem;
}

.service-category ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.service-category li {
  margin: 0.26rem 0;
}

.about-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 1.8vw, 1.5rem);
  box-shadow: var(--shadow-md);
}

.about-preview h2 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.about-preview p {
  margin-top: 0;
  color: var(--muted);
}

.tech-solutions .section-head p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.tech-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tech-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.tech-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-contrast);
  box-shadow: var(--shadow-md);
}

.tech-card h3 {
  margin-top: 0.7rem;
  font-size: 1.28rem;
}

.tech-card p {
  margin: 0.5rem 0 0.8rem;
  color: var(--muted);
}

.tech-card a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.cta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.labour-highlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.labour-highlight p {
  color: var(--muted);
}

.labour-highlight ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  align-self: center;
}

.labour-highlight li {
  margin: 0.35rem 0;
}

.proof-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
}

.proof-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.proof-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.08rem;
  color: var(--accent-soft);
  font-weight: 800;
}

.final-cta {
  background: var(--cta-panel);
  border-radius: 1rem;
  border: 1px solid var(--cta-strong-border);
  padding: clamp(1rem, 2vw, 1.6rem);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.final-cta h2 {
  max-width: 24ch;
}

.final-cta p {
  margin-top: 0.4rem;
  color: var(--cta-soft-text);
}

.final-cta .btn-secondary {
  border-color: var(--cta-soft-line);
  color: var(--white);
  background: transparent;
}

.contact-strip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2vw, 1.4rem);
  box-shadow: var(--shadow-md);
}

.contact-strip-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  align-items: start;
}

.contact-points p {
  margin: 0.4rem 0;
  color: var(--muted);
}

.contact-points a {
  color: var(--accent-deep);
  text-decoration: none;
}

.whatsapp-btn {
  margin-bottom: 0.55rem;
}

.panel,
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.panel {
  padding: clamp(1rem, 2vw, 1.6rem);
}

.panel p,
.panel > p {
  color: var(--muted);
}

#partnerships.panel {
  background: linear-gradient(180deg, #f5faf4 0%, #edf6ed 100%);
}

.contact-form {
  margin-top: 1rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form label:last-of-type,
.contact-form button {
  grid-column: 1 / -1;
}

input,
textarea {
  font: inherit;
  width: 100%;
  padding: 0.72rem 0.82rem;
  border-radius: 0.6rem;
  border: 1px solid var(--input-line);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(78, 184, 115, 0.14);
}

.intake-rail {
  width: min(1160px, 92vw);
  margin: 0 auto 1.2rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.9rem;
  align-items: center;
}

.intake-rail h2 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.intake-rail p {
  margin: 0.3rem 0 0;
  color: var(--cta-soft-text);
}

.intake-rail .btn-secondary {
  background: var(--white);
  color: var(--accent-deep);
  border-color: var(--white);
  min-width: 190px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem clamp(1rem, 2.5vw, 2.6rem);
  color: var(--footer-text);
  font-size: 0.93rem;
  background: linear-gradient(180deg, #eef5ec 0%, #e8f1e7 100%);
}

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

.footer-block h3 {
  font-family: "Playfair Display", serif;
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--accent-deep);
}

.footer-block p {
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--footer-link);
  transition: color 0.2s ease;
}

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

.copyright {
  border-top: 1px solid var(--line-soft);
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  font-size: 0.88rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.16s cubic-bezier(0.16, 1, 0.3, 1), transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js .reveal.visible,
.reveal.visible,
.hero.reveal,
.labour-hero.reveal,
.partnerships-hero.reveal,
.smart-hero.reveal,
main > section:first-of-type.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@supports (content-visibility: auto) {
  main > section:not(:first-child) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 400px;
  }
}

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

@media (max-width: 980px) {
  body {
    font-size: 16px;
    line-height: 1.65;
  }

  main {
    padding: 2.2rem 0 3.5rem;
  }

  .hero,
  .problem-strip,
  .service-categories,
  .about-preview,
  .tech-grid,
  .labour-highlight,
  .intake-rail,
  .contact-strip-grid,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: sticky;
    padding: 0.75rem 0.95rem;
    gap: 0.55rem;
  }

  .brand-name {
    max-width: 12ch;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.35rem 0.72rem;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    min-width: 200px;
    display: none;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    padding: 0.65rem;
    box-shadow: none;
  }

  .nav a {
    font-size: 0.9rem;
    padding: 0.2rem 0;
  }

  .nav.open {
    display: flex;
  }

  .header-cta {
    padding: 0.42rem 0.72rem;
    font-size: 0.75rem;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 3.1rem);
    max-width: 12ch;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  h3 {
    font-size: clamp(1.03rem, 4.7vw, 1.3rem);
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .lead {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .problem-strip,
  .services-featured,
  .about-preview,
  .tech-solutions,
  .labour-highlight,
  .proof-section,
  .final-cta,
  .contact-strip,
  .panel {
    margin-top: 2rem;
  }

  .hero-visual {
    min-height: 235px;
  }

  .hero-copy,
  .problem-card,
  .tech-card,
  .panel,
  .contact-strip {
    padding: 0.95rem;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  main {
    width: min(1140px, 94vw);
    padding: 1.8rem 0 3rem;
  }

  .site-header {
    padding: 0.66rem 0.72rem;
  }

  .brand-logo {
    width: 1.95rem;
    height: 1.95rem;
  }

  h1 {
    font-size: clamp(1.84rem, 10vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.42rem, 8vw, 1.9rem);
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
  }

  .footer-grid {
    gap: 0.8rem;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding: 0.62rem 0.62rem;
  }

  .brand-name {
    max-width: 11ch;
    font-size: 0.69rem;
  }

  .header-controls {
    gap: 0.38rem;
  }

  .header-cta {
    padding: 0.36rem 0.6rem;
    font-size: 0.7rem;
  }

  .menu-toggle {
    padding: 0.32rem 0.58rem;
    font-size: 0.9rem;
  }

  .hero-copy,
  .problem-card,
  .tech-card,
  .panel,
  .contact-strip {
    padding: 0.82rem;
  }
}

@media (max-width: 380px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(1.68rem, 10.6vw, 2.15rem);
  }

  h2 {
    font-size: clamp(1.28rem, 8.2vw, 1.65rem);
  }

  .hero-actions,
  .cta-row {
    gap: 0.52rem;
  }

  .btn {
    font-size: 0.88rem;
    padding: 0.58rem 0.84rem;
  }

}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  body {
    font-size: 16.5px;
  }

  main {
    width: 93vw;
    padding: 2.5rem 0 4rem;
  }

  h1 {
    font-size: clamp(2.3rem, 5.1vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.65rem, 2.9vw, 2.35rem);
  }

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

  .hero-visual {
    min-height: 300px;
  }

}
