/* ============================================================
   Rest Assured Testing — minimalist lime/white theme
   ============================================================ */

:root {
  --lime: #a3c614;
  --lime-dark: #8aab0d;
  --lime-soft: #f2f7dd;
  --lime-softer: #f8fbef;
  --ink: #161613;
  --ink-soft: #55554e;
  --paper: #ffffff;
  --line: #e7e8e0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 22, 19, 0.07);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul,
ol {
  list-style: none;
}

/* ---------- Layout helpers ---------- */

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

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-alt {
  background: var(--lime-softer);
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin-top: 0.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 0.9rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.12rem;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--lime-dark);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--lime-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(163, 198, 20, 0.35);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
}

.btn-wide {
  width: 100%;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(22, 22, 19, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.brand span {
  color: var(--lime-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.18s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(4rem, 9vw, 7.5rem);
  background:
    radial-gradient(720px 420px at 82% 18%, var(--lime-soft), transparent 65%),
    var(--paper);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.slogan {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.slogan em {
  font-style: normal;
  color: var(--lime);
}

.slogan em::selection {
  background: var(--ink);
  color: var(--lime);
}

.eyebrow + .slogan {
  margin-bottom: 1.4rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-art {
  display: grid;
  place-items: center;
}

.lime {
  width: clamp(180px, 24vw, 300px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(163, 198, 20, 0.3));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-16px) rotate(4deg);
  }
}

/* ---------- Services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--lime);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--lime-soft);
  margin-bottom: 1.1rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--lime-dark);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ---------- About ---------- */

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

.about-copy > p:not(.years-badge) {
  color: var(--ink-soft);
  max-width: 52ch;
}

.years-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.4rem 0 1.6rem;
  padding: 0.55rem 1.2rem 0.55rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.years-num {
  display: inline-grid;
  place-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

.checklist {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: var(--lime-soft);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 0.32em;
  top: 0.62em;
  width: 0.5em;
  height: 0.28em;
  border-left: 2.5px solid var(--lime-dark);
  border-bottom: 2.5px solid var(--lime-dark);
  transform: rotate(-45deg);
}

/* ---------- Process ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step {
  position: relative;
  padding: 1.8rem 1.5rem 0;
  border-top: 2px solid var(--line);
  transition: border-color 0.25s ease;
}

.step:hover {
  border-top-color: var(--lime);
}

.step-num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime-dark);
}

.step h3 {
  margin: 0.6rem 0 0.5rem;
}

.step p {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */

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

.contact-copy > p {
  color: var(--ink-soft);
  max-width: 46ch;
}

.contact-points .checklist {
  margin-top: 0;
}


/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cfcfc6;
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-footer {
  color: #fff;
  font-size: 1.15rem;
}

.brand-footer span {
  color: var(--lime);
}

.footer-slogan {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: #9d9d93;
}

.footer-slogan em {
  font-style: normal;
  color: var(--lime);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  align-items: flex-start;
}

.footer-nav a {
  font-size: 0.9rem;
  color: #cfcfc6;
  transition: color 0.18s ease;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-base {
  padding-top: 1.6rem;
  font-size: 0.82rem;
  color: #8a8a80;
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.12s;
}

.js .reveal[data-delay="2"] {
  transition-delay: 0.24s;
}

.js .reveal[data-delay="3"] {
  transition-delay: 0.36s;
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .cards,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-art {
    order: -1;
  }

  .lime {
    width: 140px;
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(22, 22, 19, 0.08);
    padding: 0.5rem 4% 1.2rem;
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu .nav-link {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .nav-menu .btn {
    margin-top: 1rem;
  }
}

@media (max-width: 520px) {
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

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

/* ---------- Reduced motion ---------- */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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