:root {
  --ink: #0b0d10;
  --muted: #606873;
  --line: #e2e6ea;
  --paper: #fbfaf7;
  --white: #ffffff;
  --green: #1f8a70;
  --coral: #ff6b4a;
  --gold: #c79b47;
  --blue: #3157a4;
  --violet: #7c5cff;
  --rose: #c94f7c;
  --shadow: 0 24px 70px rgba(12, 16, 20, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 13, 16, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 138, 112, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 107, 74, 0.06) 1px, transparent 1px),
    linear-gradient(120deg, rgba(31, 138, 112, 0.13), transparent 34%),
    linear-gradient(300deg, rgba(255, 107, 74, 0.13), transparent 30%);
  background-size: 64px 64px, 64px 64px, 256px 256px, 256px 256px, 100% 100%, 100% 100%;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 58%, transparent 90%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 48vh;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.62));
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.82);
  box-shadow: 0 16px 48px rgba(12, 16, 20, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
}

.brand,
.nav,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
}

.nav {
  justify-content: center;
  gap: 6px;
}

.nav a,
.header-cta {
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 6px;
  color: #2b3036;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover,
.header-cta:hover {
  background: #eef1f0;
}

.header-cta {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 56px;
  padding-top: 108px;
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 5.2vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-text {
  max-width: 650px;
  color: #313841;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.contact-links,
.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 46%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(12, 16, 20, 0.14);
}

.button:hover::after {
  transform: translateX(120%);
}

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

.button.ghost {
  background: rgba(255, 255, 255, 0.62);
}

.hero-stats {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.hero-stats dt {
  font-size: 1.28rem;
  font-weight: 950;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 8px;
}

.hero-visual::before {
  inset: 16px -18px 42px 28px;
  background: #dff2e9;
  transform: rotate(-2deg);
}

.hero-visual::after {
  inset: 68px 34px -20px -18px;
  border: 1px solid rgba(255, 107, 74, 0.38);
  background: rgba(255, 107, 74, 0.08);
  transform: rotate(2.5deg);
}

.showcase-panel {
  overflow: hidden;
  border: 1px solid rgba(12, 16, 20, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  animation: floatFrame 7s ease-in-out infinite;
}

.browser-dots {
  display: flex;
  gap: 6px;
  padding: 13px;
  border-bottom: 1px solid var(--line);
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
}

.browser-dots span:nth-child(2) {
  background: var(--gold);
}

.browser-dots span:nth-child(3) {
  background: var(--green);
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.mockup-toolbar span {
  font-size: 0.95rem;
  font-weight: 950;
}

.mockup-toolbar small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.mockup-screen {
  position: relative;
  overflow: hidden;
  height: clamp(315px, 29vw, 385px);
  margin: 10px;
  border: 1px solid rgba(12, 16, 20, 0.12);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 13, 16, 0.07) 1px, transparent 1px),
    #f7f5ef;
  background-size: 28px 28px;
}

.mockup-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
}

.mockup-shot.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.mockup-shot img {
  width: 135%;
  height: auto;
  min-height: 100%;
  min-width: 0;
  max-width: none;
  margin-left: -17.5%;
  object-fit: cover;
  transform: translateY(0);
  will-change: transform;
}

.mockup-shot.is-active img {
  animation: mockupScroll var(--scroll-duration, 7s) ease-in-out both;
}

.mockup-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 14px 14px;
}

.mockup-dots button {
  width: 28px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #d4dad6;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.mockup-dots button.is-active {
  width: 44px;
  background: var(--green);
}

.floating-note {
  position: absolute;
  right: -14px;
  bottom: 32px;
  width: min(230px, 62%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  background: rgba(11, 13, 16, 0.92);
  color: var(--white);
  box-shadow: 0 18px 48px rgba(12, 16, 20, 0.2);
  animation: pulseNote 5s ease-in-out infinite;
}

.floating-note span {
  display: block;
  margin-bottom: 5px;
  color: #b7f2dd;
  font-size: 0.8rem;
  font-weight: 800;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

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

.intro {
  padding-top: 52px;
}

.intro-panel,
.service-item,
.price-card,
.geo-answer,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.intro-panel,
.service-item,
.price-card,
.geo-answer {
  padding: 26px;
}

.intro-panel,
.service-item,
.geo-answer,
.price-card,
.work-card {
  position: relative;
  overflow: hidden;
}

.intro-panel::before,
.service-item::before,
.geo-answer::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--green);
}

.intro-panel:nth-child(2)::before,
.service-item:nth-child(2)::before,
.service-item:nth-child(5)::before,
.geo-answer:nth-child(2)::before {
  background: var(--coral);
}

.intro-panel:nth-child(3)::before,
.service-item:nth-child(3)::before,
.service-item:nth-child(6)::before,
.geo-answer:nth-child(3)::before {
  background: var(--blue);
}

.intro-panel p,
.service-item p,
.price-card p,
.geo-answer p,
.timeline p,
.faq p,
.contact-copy p {
  color: var(--muted);
}

.panel-number,
.service-icon,
.price-label,
.work-type,
.timeline span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

.service-item {
  grid-column: span 2;
  min-height: 230px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-item:hover {
  border-color: rgba(31, 138, 112, 0.32);
  box-shadow: 0 20px 50px rgba(12, 16, 20, 0.1);
  transform: translateY(-6px);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 7px;
  background: #eaf5ef;
  color: var(--green);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-item:nth-child(2) .service-icon,
.service-item:nth-child(5) .service-icon {
  background: #fff0e9;
  color: var(--coral);
}

.service-item:nth-child(3) .service-icon,
.service-item:nth-child(6) .service-icon {
  background: #edf1ff;
  color: var(--blue);
}

.service-item:nth-child(4) .service-icon {
  background: #f7f0df;
  color: #a87922;
}

.geo {
  width: 100%;
  padding: 104px max(16px, calc((100% - var(--max)) / 2));
  background: #f2f5f1;
}

.geo .section-heading,
.geo-grid,
.local-signals {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.geo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.geo-answer {
  min-height: 260px;
  background: rgba(255, 255, 255, 0.82);
}

.geo-answer h3 {
  margin-bottom: 14px;
}

.local-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.local-signals span {
  padding: 8px 11px;
  border: 1px solid rgba(31, 138, 112, 0.24);
  border-radius: 6px;
  background: #ffffff;
  color: #245d4f;
  font-size: 0.9rem;
  font-weight: 850;
}

.work-grid {
  display: grid;
  gap: 18px;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) 1fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(12, 16, 20, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--green);
}

.work-card:nth-child(2)::before,
.work-card:nth-child(5)::before {
  background: var(--coral);
}

.work-card:nth-child(3)::before,
.work-card:nth-child(6)::before {
  background: var(--blue);
}

.work-card:hover {
  box-shadow: 0 24px 60px rgba(12, 16, 20, 0.12);
  transform: translateY(-4px);
}

.work-card a {
  overflow: hidden;
  border-radius: 6px;
  background: #f1f2f2;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover img {
  transform: scale(1.04);
}

.work-card ul,
.price-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.work-card li,
.price-card li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #3b424a;
  font-size: 0.9rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 510px;
}

.price-card h3 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
}

.price-card li {
  border: 0;
  padding: 0 0 0 20px;
  position: relative;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.price-card .button {
  margin-top: auto;
}

.price-card.featured {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-14px);
}

.price-card.featured p,
.price-card.featured .price-label {
  color: #d8e3df;
}

.price-card.featured li {
  color: #f2f5f4;
}

.price-card.featured .button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline li {
  min-height: 280px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
}

.timeline span {
  display: block;
  margin-bottom: 84px;
}

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

.faq details {
  padding: 0;
}

.faq summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 900;
}

.faq p {
  max-width: 860px;
  margin: 0;
  padding: 0 24px 24px;
}

.contact {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-links {
  margin: 28px 0;
}

.contact-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

address {
  color: #38404a;
  font-style: normal;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #2b3036;
  font-size: 0.92rem;
  font-weight: 850;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8dde1;
  border-radius: 7px;
  background: #fbfcfc;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 138, 112, 0.12);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 800;
}

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

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

@keyframes floatFrame {
  0%,
  100% {
    transform: translateY(0) rotate(1.2deg);
  }

  50% {
    transform: translateY(-10px) rotate(0.2deg);
  }
}

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

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

@keyframes mockupScroll {
  0% {
    transform: translateY(0);
  }

  12% {
    transform: translateY(0);
  }

  82% {
    transform: translateY(var(--scroll-distance, 0px));
  }

  100% {
    transform: translateY(var(--scroll-distance, 0px));
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .nav.is-open {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open a {
    justify-content: start;
  }

  .hero,
  .contact,
  .section-heading,
  .work-card {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
  }

  .section {
    padding: 78px 0;
  }

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

  .service-item {
    grid-column: span 1;
  }

  .price-card.featured {
    transform: none;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .section,
  .site-header,
  .footer {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 48px;
  }

  .hero-stats,
  .intro-grid,
  .service-grid,
  .geo-grid,
  .pricing-grid,
  .timeline,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 14px;
  }

  .floating-note {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .showcase-panel {
    animation: none;
    transform: none;
  }

  .mockup-toolbar {
    display: grid;
    gap: 2px;
  }

  .mockup-toolbar small {
    text-align: left;
  }

  .mockup-screen {
    height: 330px;
  }

  .mockup-shot img {
    width: 100%;
    margin-left: 0;
  }

  .intro-panel,
  .service-item,
  .price-card,
  .timeline li,
  .contact-form {
    padding: 20px;
  }

  .timeline span {
    margin-bottom: 34px;
  }

  .footer {
    display: grid;
  }
}

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

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

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