:root {
  --bg: #f2f7f6;
  --surface: #ffffff;
  --surface-alt: #e9f2f1;
  --ink: #153f42;
  --ink-soft: #4a696a;
  --brand-teal: #4db3b1;
  --brand-deep: #1c6667;
  --brand-sand: #e3d39d;
  --brand-blue: #5aa8de;
  --stroke: #c7dcda;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 18px 48px rgba(21, 63, 66, 0.12);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 12%, rgba(77, 179, 177, 0.15), transparent 36%),
    radial-gradient(circle at 90% 18%, rgba(90, 168, 222, 0.11), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", sans-serif;
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 20px;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.55rem, 3.3vw, 2.35rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(242, 247, 246, 0.86);
  border-bottom: 1px solid rgba(28, 102, 103, 0.12);
}

.nav-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: auto;
  height: 56px;
  flex-shrink: 0;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  text-transform: uppercase;
  line-height: 1;
  gap: 0.26rem;
}

.brand-text strong {
  letter-spacing: 0.18em;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 1rem;
}

.brand-text span {
  letter-spacing: 0.22em;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.primary-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  transition:
    color 0.2s ease,
    transform 0.18s ease;
}

.primary-nav a:not(.nav-cta):hover,
.primary-nav a:not(.nav-cta):focus-visible {
  color: var(--brand-deep);
}

.primary-nav .nav-cta {
  color: #fff;
  background: var(--brand-deep);
  padding: 0.58rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(19, 80, 83, 0.2);
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  color: #fff;
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 12px 24px rgba(19, 80, 83, 0.24);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(28, 102, 103, 0.25);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.6rem, 5.8vw, 4.8rem) 0 0.35rem;
}

.hero-grid {
  position: relative;
  display: block;
  min-height: clamp(300px, 34vw, 405px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(700px, 66%);
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-deep);
}

.lead {
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 0.18s ease;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  cursor: pointer;
}

.btn:hover {
  transform: translate3d(0, -1px, 0);
}

.btn-primary {
  background: linear-gradient(130deg, var(--brand-deep), #135053);
  color: #fff;
  box-shadow: 0 12px 28px rgba(19, 80, 83, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(21, 63, 66, 0.18);
  color: var(--ink);
}

.hero-flow {
  position: absolute;
  z-index: 1;
  inset: -40% -70% -22% -8%;
  pointer-events: none;
}

.flow-shell {
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(to left,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.92) 9%,
      rgba(0, 0, 0, 0.92) 70%,
      rgba(0, 0, 0, 0.3) 88%,
      rgba(0, 0, 0, 0) 98%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to left,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.92) 9%,
      rgba(0, 0, 0, 0.92) 70%,
      rgba(0, 0, 0, 0.3) 88%,
      rgba(0, 0, 0, 0) 98%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.flow-shell::before {
  content: none;
}

.flow-shell::after {
  content: none;
}

.flow-svg {
  position: absolute;
  inset: -25% -8%;
  width: 116%;
  height: 122%;
  overflow: visible;
}

.flow-motion {
  transform-origin: 50% 50%;
  animation: flow-group-drift 44s ease-in-out infinite;
}

.flow-line {
  fill: none;
  stroke: url(#flowLineStroke);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.66;
}

.flow-line.line-soft {
  opacity: 0.38;
}

.flow-line.line-strong {
  opacity: 0.8;
}

.flow-trace {
  fill: none;
  stroke: url(#flowTraceStroke);
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22 320;
  animation: flow-trace 64s linear infinite;
  opacity: 0.46;
}

.trace-b {
  animation-duration: 56s;
  animation-delay: -8s;
}

.trace-c {
  animation-duration: 59s;
  animation-delay: -12s;
}

.trace-d {
  animation-duration: 63s;
  animation-delay: -16s;
}

.trace-e {
  animation-duration: 67s;
  animation-delay: -20s;
}

.trace-f {
  animation-duration: 71s;
  animation-delay: -24s;
}

.trace-g {
  animation-duration: 75s;
  animation-delay: -28s;
}

.trace-h {
  animation-duration: 79s;
  animation-delay: -32s;
}

.trace-i {
  animation-duration: 83s;
  animation-delay: -36s;
}

.flow-dot {
  fill: rgba(77, 179, 177, 0.4);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 2px rgba(77, 179, 177, 0.2));
  animation: dot-breathe 7.2s ease-in-out infinite;
}

.flow-dots .flow-dot:nth-child(2) {
  animation-delay: 0.8s;
}

.flow-dots .flow-dot:nth-child(3) {
  animation-delay: 1.4s;
}

.flow-dots .flow-dot:nth-child(4) {
  animation-delay: 1.9s;
}

.flow-dots .flow-dot:nth-child(5) {
  animation-delay: 2.5s;
}

.flow-dots .flow-dot:nth-child(6) {
  animation-delay: 3s;
}

.flow-dots .flow-dot:nth-child(7) {
  animation-delay: 3.6s;
}

.flow-dots .flow-dot:nth-child(8) {
  animation-delay: 4.2s;
}

.flow-dots .flow-dot:nth-child(9) {
  animation-delay: 4.8s;
}

.flow-dots .flow-dot:nth-child(10) {
  animation-delay: 5.4s;
}

.flow-dots .flow-dot:nth-child(11) {
  animation-delay: 6.1s;
}

#services.section {
  padding-top: clamp(0.5rem, 1.2vw, 1.05rem);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-head {
  max-width: 70ch;
  margin-bottom: 1.75rem;
}

.section-muted {
  background: linear-gradient(180deg, rgba(233, 242, 241, 0.55), rgba(233, 242, 241, 0.96));
  border-top: 1px solid rgba(28, 102, 103, 0.08);
  border-bottom: 1px solid rgba(28, 102, 103, 0.08);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.25rem;
  box-shadow: 0 12px 28px rgba(21, 63, 66, 0.08);
}

.card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.step {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.step-no {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  background: rgba(77, 179, 177, 0.2);
  color: var(--brand-deep);
}

.step p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(1.1rem, 2.6vw, 2rem);
  align-items: start;
}

.about-highlights {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(227, 211, 157, 0.16));
  padding: 1.15rem;
}

.about-highlights p {
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
}

.about-highlights strong {
  color: var(--ink);
}

.about-highlights p:last-child {
  margin-bottom: 0;
}

.section-contact {
  background: linear-gradient(165deg, #f8fbfb 0%, #eaf2f1 100%);
  border-top: 1px solid rgba(28, 102, 103, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.1rem, 2.5vw, 2rem);
  align-items: start;
}

.contact-copy {
  display: grid;
  align-content: start;
}

.inquiry-form {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  display: grid;
  gap: 0.65rem;
}

.inquiry-form label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--ink-soft);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(28, 102, 103, 0.25);
  border-radius: 10px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 4px rgba(77, 179, 177, 0.18);
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  margin-top: 0.35rem;
}

.form-status {
  margin: 0.55rem 0 0;
  min-height: 1.35rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.form-status.error {
  color: #953131;
}

.form-status.success {
  color: #1f6f45;
}

.site-footer {
  border-top: 1px solid rgba(28, 102, 103, 0.15);
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.65);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  width: max-content;
  gap: 0.15rem;
  text-align: right;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
}

.footer-shell p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-meta p {
  text-align: right;
}

.site-version {
  display: block;
  color: rgba(74, 105, 106, 0.8);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  filter: blur(22px);
  border-radius: 50%;
  pointer-events: none;
}

.bg-orb-a {
  width: 250px;
  height: 250px;
  top: 70px;
  left: -100px;
  background: rgba(77, 179, 177, 0.22);
  animation: drift-a 16s ease-in-out infinite;
}

.bg-orb-b {
  width: 280px;
  height: 280px;
  right: -120px;
  top: 220px;
  background: rgba(90, 168, 222, 0.24);
  animation: drift-b 19s ease-in-out infinite;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

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

@keyframes drift-a {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(24px);
  }
}

@keyframes drift-b {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-22px);
  }
}

@keyframes flow-group-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-8px, 6px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes flow-trace {
  to {
    stroke-dashoffset: -1600;
  }
}

@keyframes dot-breathe {

  0%,
  100% {
    transform: scale(0.88);
  }

  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 960px) {

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

  .hero-grid {
    min-height: clamp(330px, 58vw, 470px);
  }

  .hero-copy {
    max-width: min(720px, 84%);
  }

  .hero-flow {
    inset: -28% -86% -18% -18%;
    opacity: 0.86;
  }

  .flow-shell {
    -webkit-mask-image: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.92) 8%,
        rgba(0, 0, 0, 0.92) 68%,
        rgba(0, 0, 0, 0.28) 86%,
        rgba(0, 0, 0, 0) 97%);
    mask-image: linear-gradient(to left,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.92) 8%,
        rgba(0, 0, 0, 0.92) 68%,
        rgba(0, 0, 0, 0.28) 86%,
        rgba(0, 0, 0, 0) 97%);
  }

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

}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .hero,
  .hero-grid {
    overflow: visible;
  }

  .flow-line {
    stroke-width: 3.5;
  }

  .flow-dot {
    r: 4px;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-flow {
    top: -6%;
    right: -38%;
    bottom: 14%;
    left: -30%;
    width: auto;
    transform: none;
    opacity: 0.82;
  }

  .flow-shell {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .flow-svg {
    inset: -8% -22%;
    width: 144%;
    height: 134%;
    transform: none;
  }

  #services.section {
    padding-top: calc(clamp(0.5rem, 1.2vw, 1.05rem) + 2.5rem);
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 4%;
    left: 4%;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.55rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .primary-nav a {
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
  }

  .primary-nav a:not(.nav-cta):hover {
    background: rgba(77, 179, 177, 0.1);
  }

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

  .primary-nav .nav-cta {
    text-align: center;
  }

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

  .footer-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-meta {
    align-items: flex-start;
    margin-left: 0;
    width: auto;
    text-align: left;
  }

  .footer-meta p,
  .site-version {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .flow-traces,
  .flow-dots {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
