:root {
  --ink: #0b0d10;
  --muted: #606873;
  --line: #e2e6ea;
  --paper: #fbfaf7;
  --white: #ffffff;
  --green: #1f8a70;
  --coral: #ff6b4a;
  --gold: #c79b47;
  --blue: #3157a4;
  --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.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, 1fr) minmax(340px, 0.88fr);
  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;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.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;
}

.browser-frame {
  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);
}

.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);
}

.browser-frame img {
  aspect-ratio: 4 / 3;
  background: #f5f2ec;
  object-fit: contain;
}

.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);
}

.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 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro {
  padding-top: 52px;
}

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

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

.intro-panel p,
.service-item p,
.price-card 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;
}

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

.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);
}

.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);
}

@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,
  .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,
  .pricing-grid,
  .timeline,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

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

  .browser-frame {
    transform: none;
  }

  .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;
  }
}
