:root {
  color-scheme: light;
  --bg: #f5f7ed;
  --bg-2: #eaf4ef;
  --text: #17211b;
  --muted: #5d685f;
  --card: rgba(255, 255, 255, 0.72);
  --card-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(23, 33, 27, 0.13);
  --primary: #197a50;
  --primary-2: #f1b545;
  --accent: #dc5a3c;
  --blue: #2f6f95;
  --shadow: 0 24px 80px rgba(22, 41, 31, 0.15);
  --radius: 8px;
  --nav-h: 84px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07110d;
  --bg-2: #0f1d18;
  --text: #eef8ef;
  --muted: #a7b8ad;
  --card: rgba(13, 28, 22, 0.72);
  --card-strong: rgba(17, 39, 30, 0.92);
  --line: rgba(238, 248, 239, 0.15);
  --primary: #62d49c;
  --primary-2: #f3c66c;
  --accent: #ff8466;
  --blue: #78b7db;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    radial-gradient(circle at 12% 18%, rgba(25, 122, 80, 0.16), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(241, 181, 69, 0.18), transparent 30%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg) 86%, transparent));
  z-index: -1;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.liquid {
  background: linear-gradient(145deg, color-mix(in srgb, var(--card) 92%, white), color-mix(in srgb, var(--card) 80%, transparent));
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(22px) saturate(150%);
}

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(25, 122, 80, 0.24), transparent 30%), var(--bg);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.welcome-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.welcome-card {
  width: min(420px, calc(100vw - 32px));
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  transform: translateY(14px);
  animation: welcomeIn 0.7s ease forwards;
}

.welcome-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin: 0 auto 14px;
  filter: drop-shadow(0 16px 26px rgba(25, 122, 80, 0.22));
}

.loader-ring {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border: 4px solid color-mix(in srgb, var(--primary) 20%, transparent);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.welcome-kicker,
.eyebrow {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.welcome-card h1 {
  margin: 8px 0 18px;
  font-size: clamp(1.55rem, 5vw, 2.15rem);
}

.progress-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 10%, transparent);
}

.progress-bar span {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
  animation: progress 1.8s ease infinite;
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--primary), transparent 68%);
  filter: blur(22px);
}

.top-strip,
.bottom-follow {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--card-strong) 76%, transparent);
  backdrop-filter: blur(14px);
  font-size: 0.76rem;
  font-weight: 700;
}

.bottom-follow {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.strip-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  gap: 42px;
  padding: 9px 0;
  will-change: transform;
  animation: marquee 32s linear infinite;
}

.strip-track span {
  position: relative;
  flex: 0 0 auto;
}

.strip-track span::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 42px;
  border-radius: 50%;
  background: var(--primary);
  vertical-align: middle;
  opacity: 0.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px clamp(16px, 4vw, 48px);
}

.navbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: transform 0.35s ease, background 0.35s ease;
}

.site-header.scrolled .navbar {
  transform: rotate(-0.45deg) translateY(3px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  transform: translateY(-2px) rotate(-1deg);
}

.theme-toggle,
.hamburger,
.scroll-top {
  border: 0;
  cursor: pointer;
  color: var(--text);
}

.theme-toggle {
  display: grid;
  grid-template-columns: 22px 42px 22px;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.theme-toggle span {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
  position: relative;
}

.theme-toggle span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
}

[data-theme="dark"] .theme-toggle span::after {
  transform: translateX(18px);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px clamp(16px, 4vw, 28px);
  scroll-margin-top: 112px;
}

.hero {
  max-width: none;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding-top: 46px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), color-mix(in srgb, var(--bg) 78%, transparent)),
    url("https://images.unsplash.com/photo-1498837167922-ddd27525d352?auto=format&fit=crop&w=1800&q=80") center/cover fixed;
  opacity: 0.2;
  z-index: -1;
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 920px;
}

.hero p,
.section-head p,
.budget-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero p {
  max-width: 720px;
  font-size: 1.05rem;
}

.select-copy span,
.select-copy.budget-highlight {
  position: relative;
  color: #fff;
  background-image: linear-gradient(90deg, #2d67d8 0%, #245bd0 52%, #2f70df 100%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.78;
  padding: 1px 3px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
  animation: highlighterFill 2.8s 1.2s cubic-bezier(.18, .78, .18, 1) forwards;
}

.select-copy.budget-highlight {
  display: inline;
  max-width: 760px;
}

.focus-target {
  position: relative;
  width: fit-content;
  outline: none;
  transform-origin: left center;
}

.focus-target::before {
  content: "";
  position: absolute;
  inset: -14px -18px;
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, rgba(47, 111, 215, 0.18), rgba(47, 111, 215, 0.04));
  border: 1px solid rgba(47, 111, 215, 0.28);
  box-shadow: 0 18px 50px rgba(47, 111, 215, 0.18);
}

.focus-target.focus-run {
  animation: textFocusIn 1.15s 1.05s cubic-bezier(.2, .8, .2, 1) both;
}

.focus-target.focus-run::before {
  animation: focusHalo 2.4s 0.95s ease forwards;
}

.focus-target.focus-run span {
  animation: highlighterFill 3.1s 0.55s cubic-bezier(.18, .78, .18, 1) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover,
.service-card:hover,
.job-card:hover,
.stat-card:hover {
  transform: translateY(-5px) scale(1.01);
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #115f48);
  box-shadow: 0 16px 38px color-mix(in srgb, var(--primary) 32%, transparent);
}

.ghost {
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.hero-panel {
  padding: 16px;
  border-radius: var(--radius);
  transform-style: preserve-3d;
}

.panel-top,
.contact-lines a {
  display: flex;
  align-items: center;
  gap: 9px;
}

.panel-top {
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 900;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28d17c;
  box-shadow: 0 0 0 0 rgba(40, 209, 124, 0.5);
  animation: pulse 1.4s infinite;
}

.service-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 420px;
}

.service-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.hero-panel:hover img,
.service-card:hover img,
.map-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.12);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: #15231b;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  animation: floaty 4s ease-in-out infinite;
}

.float-card.one {
  left: 16px;
  bottom: 26px;
}

.float-card.two {
  right: 16px;
  top: 26px;
  animation-delay: 1s;
}

.skeleton-stack {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.skeleton-stack span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 25%, transparent), transparent);
  background-size: 240% 100%;
  animation: skeleton 1.25s infinite;
}

.skeleton-stack span:nth-child(2) {
  width: 76%;
}

.skeleton-stack span:nth-child(3) {
  width: 56%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
}

.stat-card,
.timeline-item,
.service-card,
.job-card,
.form-panel,
.accordion details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(18px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.stat-card {
  padding: 22px;
}

.stat-card svg {
  color: var(--primary);
}

.stat-card strong {
  display: block;
  margin: 14px 0 7px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
}

.slot-number {
  position: relative;
  min-height: 1.05em;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  overflow: hidden;
}

.slot-number.spinning {
  color: var(--primary);
  animation: slotShake 0.12s linear infinite;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head h2,
.budget-card h2,
.contact-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline-item {
  position: relative;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.timeline-item h3,
.service-card h3 {
  margin: 18px 0 9px;
}

.timeline-item p,
.service-card p,
.accordion p {
  color: var(--muted);
  line-height: 1.7;
}

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

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.service-card div {
  padding: 20px;
}

.service-card svg {
  color: var(--primary);
}

.budget-card,
.contact-card,
.career-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.budget-card,
.contact-card {
  padding: clamp(20px, 4vw, 34px);
  border-radius: var(--radius);
}

.budget-meter {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

.meter-circle {
  width: 220px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(var(--primary) 0 42%, var(--primary-2) 42% 68%, var(--accent) 68% 84%, var(--blue) 84% 100%);
  animation: softSpin 8s linear infinite;
}

.meter-circle span {
  width: 142px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card-strong);
  font-size: 2.15rem;
  font-weight: 900;
}

.budget-meter ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.budget-meter li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.budget-meter li span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.budget-meter li:nth-child(2) span {
  background: var(--primary-2);
}

.budget-meter li:nth-child(3) span {
  background: var(--accent);
}

.budget-meter li:nth-child(4) span {
  background: var(--blue);
}

.map-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.feedback .form-panel {
  max-width: 880px;
}

.form-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full,
.btn.full,
.form-status {
  grid-column: 1 / -1;
}

label {
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--card-strong) 74%, transparent);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--primary);
  font-weight: 900;
}

.job-list {
  display: grid;
  gap: 12px;
}

.job-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 70px;
  padding: 18px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.job-card.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #125f48);
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  padding: 18px 20px;
  overflow: hidden;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.3rem;
  transform: rotate(0deg) scale(1);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.accordion details[open] summary::after {
  content: "-";
  transform: rotate(180deg) scale(1.08);
}

.accordion details p {
  margin: 14px 0 0;
  overflow: hidden;
}

.accordion details.animating {
  will-change: height;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-lines a {
  width: fit-content;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--text) 7%, transparent);
  font-weight: 800;
}

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.logo-card {
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent), color-mix(in srgb, var(--primary-2) 12%, transparent)),
    var(--card-strong);
}

.map-card img {
  height: 360px;
}

.map-card .contact-logo {
  width: min(250px, 58vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(25, 122, 80, 0.2));
}

.map-pin {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #142019;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--card-strong) 72%, transparent);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 28px) 38px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.82fr;
  align-items: start;
  gap: 22px;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-inner img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.footer-info,
.social-links {
  display: grid;
  gap: 9px;
}

.footer-info small,
.social-links small {
  color: var(--muted);
}

.footer-info a,
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--text);
  font-weight: 850;
}

.footer-info a:hover,
.social-links a:hover {
  color: var(--primary);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: #fff;
  background: #111d16;
  box-shadow: var(--shadow);
  transform: translate(-50%, 22px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-weight: 900;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.26s; }

@keyframes welcomeIn {
  to { transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes softSpin {
  to { transform: rotate(360deg); }
}

@keyframes progress {
  0% { transform: translateX(-92%); }
  55%, 100% { transform: translateX(28%); }
}

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

@keyframes blink {
  50% { opacity: 0.18; }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(40, 209, 124, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 209, 124, 0); }
}

@keyframes skeleton {
  to { background-position: -240% 0; }
}

@keyframes floaty {
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes slotShake {
  25% { transform: translateY(-1px); }
  75% { transform: translateY(1px); }
}

@keyframes highlighterFill {
  0% {
    background-size: 0% 100%;
  }
  100% {
    background-size: 100% 100%;
  }
}

@keyframes textFocusIn {
  0% {
    opacity: 0.62;
    transform: translateY(18px) scale(0.985);
    filter: blur(2px);
  }
  55% {
    opacity: 1;
    transform: translateY(-2px) scale(1.025);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes focusHalo {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  28%, 72% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

@media (max-width: 980px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card-strong);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.86) translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    transform: scaleY(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar {
    position: relative;
  }

  .hero-content,
  .budget-card,
  .contact-card,
  .career-layout {
    grid-template-columns: 1fr;
  }

  .stats,
  .timeline,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .budget-meter {
    grid-template-columns: 1fr;
  }

  .meter-circle {
    width: min(220px, 70vw);
  }
}

@media (max-width: 640px) {
  body {
    background-size: 32px 32px, 32px 32px, auto, auto, auto;
  }

  .top-strip {
    font-size: 0.68rem;
  }

  .site-header {
    padding: 8px 10px;
  }

  .navbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 52px;
    gap: 10px;
    min-height: 58px;
    padding: 8px 10px;
    align-items: center;
  }

  .brand {
    min-width: 0;
    overflow: hidden;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .hamburger span {
    width: 20px;
  }

  .theme-toggle {
    justify-self: end;
    grid-template-columns: 42px;
    width: 52px;
    height: 44px;
    padding: 8px 5px;
  }

  .theme-toggle svg {
    display: none;
  }

  .section {
    padding: 62px 16px;
    scroll-margin-top: 92px;
  }

  .hero {
    min-height: auto;
    padding: 28px 14px 54px;
    overflow: hidden;
  }

  .hero-content {
    gap: 22px;
  }

  .badge {
    max-width: 100%;
    padding: 9px 11px;
    font-size: 0.78rem;
  }

  .hero h1 {
    max-width: 100%;
    margin: 18px 0 16px;
    font-size: clamp(2.25rem, 11vw, 3.1rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero p {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .select-copy span,
  .select-copy.budget-highlight {
    line-height: 1.72;
    padding: 1px 2px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-panel {
    padding: 12px;
  }

  .stats,
  .timeline,
  .service-grid,
  .form-panel {
    grid-template-columns: 1fr;
  }

  .service-visual,
  .service-visual img,
  .map-card img {
    height: 255px;
    min-height: 255px;
  }

  .logo-card {
    min-height: 255px;
  }

  .map-card .contact-logo {
    width: min(190px, 56vw);
    min-height: 0;
  }

  .panel-top {
    font-size: 0.88rem;
  }

  .float-card {
    max-width: calc(100% - 32px);
    font-size: 0.82rem;
  }

  .section-head h2,
  .budget-card h2,
  .contact-card h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .footer-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .cursor-glow {
    display: none;
  }
}

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