:root {
  --ink: #14211d;
  --muted: #5c6b65;
  --paper: #f7f4ee;
  --white: #fffdf8;
  --moss: #245744;
  --teal: #167e8a;
  --coral: #d45a3d;
  --gold: #d49a31;
  --plum: #5d4168;
  --line: rgba(20, 33, 29, 0.14);
  --shadow: 0 24px 70px rgba(31, 42, 39, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

button,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.78rem;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 110px clamp(20px, 6vw, 78px) 72px;
  overflow: hidden;
  color: var(--white);
  background: #15261f;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 21, 17, 0.88), rgba(10, 21, 17, 0.58) 48%, rgba(10, 21, 17, 0.28)),
    linear-gradient(0deg, rgba(10, 21, 17, 0.72), transparent 38%);
  z-index: 1;
}

.hero-scene {
  position: absolute;
  inset: -8vh -8vw;
  display: grid;
  gap: 24px;
  transform: rotate(-7deg) scale(1.08);
  opacity: 0.92;
}

.scene-strip {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: drift 32s linear infinite;
}

.strip-two {
  animation-duration: 38s;
  animation-direction: reverse;
  margin-left: -180px;
}

.mini-site {
  width: clamp(250px, 25vw, 390px);
  height: clamp(210px, 21vw, 315px);
  padding: 18px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.mini-site span {
  display: block;
}

.browser-bar {
  height: 18px;
  margin-bottom: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 9px 9px, #ec735a 0 4px, transparent 5px),
    radial-gradient(circle at 24px 9px, #e4ad44 0 4px, transparent 5px),
    radial-gradient(circle at 39px 9px, #56b07c 0 4px, transparent 5px),
    rgba(255, 253, 248, 0.22);
}

.hero-photo,
.gallery,
.calendar,
.map-block {
  height: 42%;
  border-radius: 6px;
  margin-bottom: 16px;
}

.hero-photo {
  background: linear-gradient(135deg, #f3b65f, #dd6548 54%, #482d45);
}

.gallery {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 33%, transparent 33% 36%, rgba(255, 255, 255, 0.28) 36% 68%, transparent 68% 71%, rgba(255, 255, 255, 0.18) 71%),
    #3b6f7a;
}

.calendar {
  background:
    linear-gradient(#ffffff33 0 16%, transparent 16%),
    repeating-linear-gradient(90deg, #ffffff26 0 24%, transparent 24% 25%),
    #68517a;
}

.map-block {
  background:
    linear-gradient(125deg, transparent 0 24%, #ffffff26 24% 30%, transparent 30%),
    linear-gradient(45deg, transparent 0 45%, #ffffff22 45% 52%, transparent 52%),
    #2c7867;
}

.line {
  height: 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: rgba(255, 253, 248, 0.46);
}

.line.long {
  width: 82%;
}

.line.medium {
  width: 62%;
}

.line.short {
  width: 42%;
}

.button-pill {
  width: 110px;
  height: 28px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--gold);
}

.metric-row,
.product-row {
  height: 34px;
  margin-bottom: 12px;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.34);
}

.metric-row.short {
  width: 72%;
}

.tile-grid {
  height: 98px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, #ffffff29 48%, transparent 48% 52%, #ffffff29 52%),
    linear-gradient(0deg, #ffffff21 48%, transparent 48% 52%, #ffffff21 52%),
    #266276;
}

.product-row.alt {
  width: 78%;
  background: rgba(255, 253, 248, 0.22);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

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

.hero .eyebrow {
  color: #f4bd64;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions,
.demo-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.demo-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: #16241e;
  background: #f3bd59;
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.5);
  background: rgba(255, 253, 248, 0.08);
}

.intro-band {
  padding: 28px clamp(20px, 6vw, 78px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.quick-stats {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.quick-stats span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.quick-stats strong {
  color: var(--ink);
}

.section {
  padding: clamp(72px, 10vw, 124px) clamp(20px, 6vw, 78px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 38px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-bottom: 36px;
  text-align: center;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.demo-switcher {
  max-width: 1180px;
  margin: 0 auto 20px;
}

.demo-tab {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.demo-tab.active {
  color: var(--white);
  background: var(--moss);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.showcase-preview {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(55, 65, 60, 0.14);
}

.preview-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.preview-top span:nth-child(2) {
  background: var(--gold);
}

.preview-top span:nth-child(3) {
  background: var(--teal);
}

.preview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  min-height: 378px;
  padding: 18px;
}

.preview-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(21, 34, 30, 0.84), rgba(21, 34, 30, 0.04)),
    linear-gradient(135deg, #f6bd66, #d65d43 52%, #285a66);
}

.preview-hero p {
  margin-bottom: 10px;
  font-weight: 850;
}

.preview-hero h3 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.preview-hero span {
  width: fit-content;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff2ce;
  font-weight: 850;
}

.preview-side {
  display: grid;
  gap: 14px;
}

.preview-side span {
  border-radius: 8px;
  background: #eae3d6;
}

.preview-side span:nth-child(2) {
  background: #d9ece5;
}

.preview-side span:nth-child(3) {
  background: #f2d9ce;
}

.showcase-copy {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.showcase-copy h3 {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 24px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--teal);
}

.tinted {
  background: #e9efe8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(20, 33, 29, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.service-card.featured {
  color: var(--white);
  background: var(--plum);
}

.service-label {
  color: var(--coral);
  font-weight: 850;
  text-transform: uppercase;
}

.featured .service-label {
  color: #f6cf7d;
}

.service-card h3 {
  font-size: 1.8rem;
}

.service-card p:last-child {
  color: currentColor;
  line-height: 1.65;
  opacity: 0.78;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  max-width: 1336px;
  margin: 0 auto;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 70px minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.process-list span {
  color: var(--coral);
  font-weight: 900;
}

.process-list h3 {
  margin: 0;
  font-size: 1.3rem;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(72px, 10vw, 124px) clamp(20px, 6vw, 78px);
  color: var(--white);
  background: #18322a;
}

.cta-content {
  max-width: 760px;
}

.cta-content p {
  max-width: 620px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
}

.contact-panel label {
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 248, 0.8);
  font-weight: 750;
}

.contact-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
}

.btn.full {
  width: 100%;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 78px);
  color: var(--muted);
  background: var(--white);
}

.footer p {
  margin: 0;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-34%);
  }
}

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

  .nav {
    max-width: 260px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .intro-grid,
  .section-heading,
  .showcase,
  .split-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-side {
    grid-template-columns: repeat(3, 1fr);
  }

  .preview-side span {
    min-height: 78px;
  }

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

  .process-list article {
    grid-template-columns: 54px 1fr;
  }

  .process-list p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    color: var(--white);
  }

  .brand span:last-child {
    display: none;
  }

  .nav {
    font-size: 0.84rem;
  }

  .hero {
    min-height: 88vh;
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .hero-actions,
  .demo-switcher {
    flex-direction: column;
  }

  .btn,
  .demo-tab {
    width: 100%;
  }

  .quick-stats span,
  .footer {
    display: grid;
  }

  .showcase-preview {
    min-height: auto;
  }

  .preview-hero {
    min-height: 310px;
    padding: 22px;
  }
}
