:root {
  --ink: #10131a;
  --muted: #5d6472;
  --line: #dfe3ea;
  --paper: #f7f8fb;
  --white: #ffffff;
  --teal: #10a39a;
  --teal-dark: #08756f;
  --amber: #d99927;
  --steel: #4b6680;
  --charcoal: #151922;
  --shadow: 0 24px 70px rgba(16, 19, 26, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(7, 11, 17, 0.62), rgba(7, 11, 17, 0.72)),
    url("images/sitewide-background.png") center / cover fixed;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(15, 22, 36, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-weight: 800;
  letter-spacing: 0;
}

.header-logo {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  margin-left: 24px;
  border-radius: 50%;
  transition: transform 180ms ease;
}

.header-logo:hover,
.header-logo:focus-visible {
  transform: translateY(-2px);
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.82), rgba(8, 11, 18, 0.24)),
    url("images/sitewide-background.png") center / cover;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
  opacity: 0;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.9) 0%, rgba(8, 11, 18, 0.68) 37%, rgba(8, 11, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 11, 18, 0.78) 0%, rgba(8, 11, 18, 0) 38%);
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  align-self: center;
  margin-left: clamp(20px, 7vw, 92px);
  padding-top: 92px;
  padding-bottom: 170px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ff1df;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.hero-actions,
.cta-band,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: var(--ink);
  background: var(--white);
}

.page-hero {
  padding: 160px clamp(20px, 6vw, 78px) clamp(70px, 8vw, 104px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 13, 20, 0.92), rgba(9, 13, 20, 0.56)),
    url("images/sitewide-background.png") center / cover;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.hero-stats {
  position: absolute;
  left: clamp(20px, 7vw, 92px);
  right: clamp(20px, 7vw, 92px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.58);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  min-width: 0;
  padding: 20px;
}

.hero-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.05rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 78px);
  background: rgba(247, 248, 251, 0.91);
  backdrop-filter: blur(12px);
}

.intro-section,
.process-section {
  background: rgba(255, 255, 255, 0.92);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.intro-grid p,
.section-heading > p,
.showcase-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
  gap: clamp(28px, 5vw, 80px);
  margin-bottom: 44px;
  align-items: end;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

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

.service-card {
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(16, 19, 26, 0.05);
}

.service-card p,
.process-list p {
  color: var(--muted);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 52px;
  place-items: center;
  border-radius: 8px;
  color: var(--teal-dark);
  background: rgba(16, 163, 154, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 86px);
  align-items: center;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 78px);
  color: var(--white);
  background: rgba(15, 19, 27, 0.9);
  backdrop-filter: blur(10px);
}

.showcase .section-kicker {
  color: #8ff1df;
}

.showcase-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.showcase .process-list {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.showcase .process-list article + article {
  border-left-color: rgba(255, 255, 255, 0.16);
}

.showcase .process-list p {
  color: rgba(255, 255, 255, 0.72);
}

.showcase .process-list span {
  color: #8ff1df;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: #8ff1df;
  font-weight: 800;
}

.product-mock {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #202633;
  box-shadow: var(--shadow);
}

.mock-toolbar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mock-toolbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
}

.mock-toolbar span:nth-child(2) {
  background: var(--teal);
}

.mock-toolbar span:nth-child(3) {
  background: var(--steel);
}

.mock-layout {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 360px;
}

.mock-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.mock-sidebar span,
.mock-cards span {
  display: block;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.mock-sidebar span {
  height: 14px;
}

.mock-main {
  display: grid;
  gap: 20px;
  padding: 28px;
}

.mock-chart {
  display: flex;
  gap: 14px;
  align-items: end;
  min-height: 210px;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 163, 154, 0.18), rgba(75, 102, 128, 0.16));
}

.mock-chart span {
  flex: 1;
  min-width: 20px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #8ff1df, var(--teal));
}

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

.mock-cards span {
  min-height: 74px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process-list article {
  min-height: 250px;
  padding: 28px 24px 0 0;
}

.process-list article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 32px;
  color: var(--teal-dark);
  font-weight: 900;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.value-grid p {
  color: var(--muted);
}

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

.project-card,
.skill-grid > article {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(16, 19, 26, 0.05);
}

.project-card.featured {
  border-top: 5px solid var(--teal);
}

.project-card h2,
.skill-grid h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.project-card p,
.skill-grid p,
.case-study-grid p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.tag-list span,
.skill-grid > article > span {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: rgba(16, 163, 154, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-card dl {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.project-card dl div,
.case-facts div {
  display: grid;
  gap: 3px;
}

.project-card dt,
.case-facts strong {
  color: var(--teal-dark);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card dd {
  margin: 0;
}

.project-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.project-actions,
.case-study-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.project-link.external {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(220px, 0.55fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--white);
}

.case-facts {
  display: grid;
  gap: 24px;
  align-content: start;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
}

.case-facts span {
  color: var(--muted);
}

.contribution-heading {
  margin-top: 26px;
  color: var(--ink);
}

.contribution-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.contribution-list li::marker {
  color: var(--teal);
}

.compact-cards {
  grid-template-columns: 1fr;
}

.cta-band {
  justify-content: space-between;
  padding: clamp(46px, 7vw, 76px) clamp(20px, 6vw, 78px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 117, 111, 0.93), rgba(32, 49, 68, 0.93) 58%, rgba(217, 153, 39, 0.88)),
    url("images/sitewide-background.png") center / cover;
}

.cta-band h2 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.cta-band .section-kicker {
  color: #cdfbf3;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(300px, 0.82fr);
  gap: clamp(32px, 7vw, 96px);
  background: rgba(255, 255, 255, 0.92);
}

.contact-copy {
  max-width: 640px;
}

.contact-details {
  flex-direction: column;
  align-items: flex-start;
  margin-top: 28px;
}

.contact-details a {
  color: var(--teal-dark);
  font-weight: 800;
}

.whatsapp-contact {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.whatsapp-number {
  font-size: 1.05rem;
}

.whatsapp-qr {
  display: block;
  width: min(100%, 260px);
  height: auto;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.static-contact-card {
  align-content: center;
}

.static-contact-card h2 {
  margin: 0;
}

.static-contact-card .button {
  justify-self: start;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form > div {
  display: grid;
  gap: 8px;
}

.contact-form > div label {
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .errorlist {
  margin: 0;
  padding-left: 18px;
  color: #b54708;
  font-weight: 800;
}

.contact-form .helptext {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(16, 163, 154, 0.2);
  border-color: var(--teal);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 6vw, 78px);
  color: rgba(255, 255, 255, 0.78);
  background: #0f131b;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--white);
  font-weight: 900;
}

.messages {
  position: fixed;
  z-index: 30;
  top: 86px;
  right: 20px;
  width: min(360px, calc(100% - 40px));
}

.message {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #e8fbf6;
  box-shadow: 0 12px 30px rgba(16, 19, 26, 0.12);
  font-weight: 800;
}

.idea-list {
  display: grid;
  gap: 16px;
}

.idea-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.idea-card span,
.idea-card small,
.idea-card a {
  display: block;
}

.idea-card span {
  margin-bottom: 12px;
  color: #8ff1df;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.idea-card p,
.idea-card small {
  color: rgba(255, 255, 255, 0.72);
}

.idea-card a {
  margin-top: 14px;
  color: #8ff1df;
  font-weight: 800;
}

.tool-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 86px);
  min-height: calc(100vh - 82px);
  padding: 150px clamp(20px, 6vw, 78px) 90px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.tool-copy h1 {
  color: var(--ink);
}

.tool-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.tool-form {
  align-self: start;
}

.result-panel {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--charcoal);
}

.result-panel strong {
  font-size: 1.6rem;
}

.form-error {
  margin: 0;
  color: #b54708;
  font-weight: 800;
}

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

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

  .process-list article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .showcase .process-list article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-logo {
    width: 48px;
    height: 48px;
    margin-left: 12px;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 18px 44px rgba(15, 22, 36, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 930px;
  }

  .hero-content {
    align-self: start;
    margin: 0 auto;
    padding-top: 128px;
  }

  .hero-stats,
  .intro-grid,
  .section-heading,
  .showcase,
  .contact-section,
  .tool-page,
  .value-grid,
  .project-grid,
  .skill-grid,
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    bottom: 20px;
  }

  .hero-stats div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .showcase {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .product-mock {
    min-height: 360px;
  }

  .mock-layout {
    grid-template-columns: 72px 1fr;
  }

  .mock-main {
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .brand span {
    max-width: 150px;
    line-height: 1.1;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .cta-band {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .process-list,
  .mock-cards {
    grid-template-columns: 1fr;
  }

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

  .service-icon {
    margin-bottom: 28px;
  }

  .process-list article,
  .process-list article + article,
  .process-list article:nth-child(3) {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-list article:first-child {
    border-top: 0;
  }

  .showcase .process-list article,
  .showcase .process-list article + article,
  .showcase .process-list article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .showcase .process-list article:first-child {
    border-top: 0;
  }

  .contact-form {
    padding: 20px;
  }
}
