:root {
  --ink: #17201d;
  --muted: #63706b;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: rgba(23, 32, 29, 0.14);
  --forest: #16483c;
  --forest-dark: #0f332b;
  --mint: #cce9d9;
  --coral: #f26d5b;
  --gold: #e6b85c;
  --blue: #2f6f9f;
  --shadow: 0 24px 80px rgba(22, 72, 60, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(10, 24, 21, 0.72), rgba(10, 24, 21, 0));
}

.brand,
.nav-links,
.header-action,
.button,
.contact-methods a,
.site-footer a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover,
.header-action:hover {
  color: #fff;
}

.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  color: #fff;
  padding: 128px clamp(18px, 5vw, 72px) 58px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 24, 21, 0.9), rgba(10, 24, 21, 0.55) 48%, rgba(10, 24, 21, 0.2)),
    linear-gradient(0deg, rgba(10, 24, 21, 0.82), rgba(10, 24, 21, 0.12) 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.stats-band h2,
.showcase h2,
.contact h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--coral);
}

.button.primary:hover {
  background: #dd5848;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-panel {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(360px, 100%);
  margin-top: 44px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.panel-number {
  display: block;
  color: var(--mint);
  font-size: 3.3rem;
  line-height: 1;
  font-weight: 900;
}

.hero-panel p {
  margin: 8px 0 18px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-panel a {
  color: #fff;
  font-weight: 850;
}

.section,
.stats-band,
.showcase,
.contact {
  padding: 86px clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.44fr) minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 38px;
  align-items: center;
  background: var(--surface);
}

.intro-logo {
  width: min(260px, 100%);
  border-radius: 8px;
  box-shadow: 0 16px 60px rgba(22, 72, 60, 0.12);
}

.intro h2,
.stats-band h2,
.services h2,
.process h2,
.showcase h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.intro p:last-child,
.showcase-copy p,
.contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.stats-band {
  background: var(--forest);
  color: #fff;
}

.stats-band .section-kicker {
  color: var(--gold);
}

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

.stat-card,
.service-grid article {
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: var(--ink);
}

.stat-value {
  color: var(--blue);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 950;
}

.stat-card h3,
.service-grid h3 {
  margin: 20px 0 10px;
  font-size: 1.2rem;
}

.stat-card p,
.service-grid p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.stat-card a {
  margin-top: auto;
  padding-top: 20px;
  color: var(--forest);
  font-weight: 850;
}

.services {
  background: var(--paper);
}

.service-grid article {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
}

.service-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--forest-dark);
  background: var(--mint);
  font-weight: 900;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: var(--surface);
}

.showcase-copy {
  max-width: 650px;
}

.showcase-copy p {
  margin-top: 20px;
}

.browser-mockup {
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  box-shadow: var(--shadow);
}

.mockup-bar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.mockup-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--coral);
}

.mockup-bar span:nth-child(2) {
  background: var(--gold);
}

.mockup-bar span:nth-child(3) {
  background: var(--mint);
}

.mockup-hero {
  height: 142px;
  margin: 20px;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(22, 72, 60, 0.96), rgba(47, 111, 159, 0.62)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.mockup-lines,
.mockup-tiles {
  padding: 0 20px;
}

.mockup-lines span {
  display: block;
  height: 13px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #dce5df;
}

.mockup-lines span:nth-child(1) {
  width: 74%;
}

.mockup-lines span:nth-child(2) {
  width: 92%;
}

.mockup-lines span:nth-child(3) {
  width: 58%;
}

.mockup-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.mockup-tiles span {
  min-height: 74px;
  border-radius: 8px;
  background: #eef3ef;
}

.process {
  background: var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.process-list li::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  display: block;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 46px;
}

.process-list span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.24rem;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.6fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(204, 233, 217, 0.18), transparent 32%),
    linear-gradient(135deg, #071531 0%, #0f332b 52%, #16483c 100%);
}

.contact .section-kicker {
  color: var(--gold);
}

.contact-copy > p {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-methods {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin-top: 28px;
}

.contact-methods a {
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-methods span {
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(10, 24, 21, 0.34);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(204, 233, 217, 0.35);
  border-color: var(--mint);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: #0a1815;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 900px;
  }

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

  .intro-logo {
    max-width: 220px;
  }

  .stats-grid,
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 138px;
    white-space: normal;
    line-height: 1.08;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 860px;
    padding: 120px 18px 40px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }

  .section,
  .stats-band,
  .showcase,
  .contact {
    padding: 64px 18px;
  }

  .stats-grid,
  .service-grid,
  .process-list,
  .mockup-tiles {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .service-grid article,
  .process-list li {
    min-height: auto;
  }

  .browser-mockup {
    min-height: 360px;
  }

  .site-footer {
    flex-direction: column;
  }
}
