:root {
  --ink: #0f2c24;
  --ink-soft: #1f463a;
  --leaf: #2f9b86;
  --leaf-deep: #1f7a69;
  --mist: #eef7f3;
  --paper: #f7fbf9;
  --sun: #e8b84a;
  --sun-soft: #f6e3a8;
  --line: rgba(15, 44, 36, 0.12);
  --shadow: 0 18px 50px rgba(15, 44, 36, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 155, 134, 0.18), transparent 55%),
    radial-gradient(900px 500px at 95% 5%, rgba(232, 184, 74, 0.16), transparent 50%),
    linear-gradient(180deg, #f7fbf9 0%, #eef7f3 48%, #f7fbf9 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.font-display { font-family: "Syne", sans-serif; }

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

.orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite;
  pointer-events: none;
}

.orb-a {
  width: 280px; height: 280px;
  background: rgba(47, 155, 134, 0.28);
  top: 8%; left: -4%;
}

.orb-b {
  width: 220px; height: 220px;
  background: rgba(232, 184, 74, 0.22);
  top: 18%; right: -3%;
  animation-delay: -4s;
}

.orb-c {
  width: 180px; height: 180px;
  background: rgba(31, 122, 105, 0.18);
  bottom: 10%; left: 35%;
  animation-delay: -7s;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -24px, 0) scale(1.08); }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js-animate .reveal {
  opacity: 0;
  transform: translateY(28px);
}

html.js-animate .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.15s; }
.stagger > *:nth-child(3) { animation-delay: 0.25s; }
.stagger > *:nth-child(4) { animation-delay: 0.35s; }
.stagger > *:nth-child(5) { animation-delay: 0.45s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.18) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: shine 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 45% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

.marquee {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 28px rgba(15, 44, 36, 0.22);
}

.btn-primary:hover {
  background: var(--leaf-deep);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(15, 44, 36, 0.25);
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--leaf);
  background: rgba(47, 155, 134, 0.08);
  transform: translateY(-2px);
}

.nav-link {
  position: relative;
  font-weight: 560;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--ink); }

.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.service-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--sun));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 155, 134, 0.35);
}

.service-tile:hover::before { transform: scaleX(1); }

.glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.55);
}

.hero-frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 70vh;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

.wave-divider {
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 72px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1.15rem 0;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-panel {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.step-dot {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 2px solid var(--line);
  transition: all 0.25s ease;
}

.step-dot.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.step-dot.done {
  background: var(--leaf);
  color: white;
  border-color: var(--leaf);
}

.input-field {
  width: 100%;
  border: 1.5px solid rgba(15, 44, 36, 0.14);
  background: rgba(255,255,255,0.85);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(47, 155, 134, 0.12);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  background: var(--ink);
  color: white;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  animation: rise 0.35s ease;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus { left: 1rem; top: 1rem; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
}
