:root {
  --ink: #17211f;
  --muted: #60716c;
  --line: #dde6e1;
  --paper: #fbfcf8;
  --soft: #eef5f1;
  --mint: #0f8b6f;
  --mint-dark: #0b5f51;
  --coral: #ef6f5e;
  --gold: #d99a2b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--mint-dark);
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 15px;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(42px, 8vw, 92px) clamp(18px, 4vw, 56px) 40px;
}

.hero-content,
.page-hero,
.section,
.wide-band,
.demo-hero,
.sector-hero,
.contact-shell,
.site-footer {
  max-width: 1180px;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy,
.page-hero p,
.demo-hero p,
.sector-hero p,
.contact-copy p,
.wide-band p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.button.large {
  min-height: 52px;
  padding: 0 22px;
}

.button.primary {
  color: var(--white);
  background: var(--mint-dark);
  border-color: var(--mint-dark);
}

.button.secondary {
  background: var(--white);
}

.button.ghost {
  color: var(--mint-dark);
  background: transparent;
  border-color: var(--line);
}

.hero-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.metric-row span {
  padding: 18px;
  background: var(--white);
  color: var(--muted);
}

.metric-row strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
}

.section,
.page-hero,
.demo-hero,
.sector-hero,
.contact-shell {
  padding: clamp(36px, 7vw, 72px) clamp(18px, 4vw, 56px);
}

.page-hero.compact {
  padding-bottom: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 780px;
}

.section-heading a {
  color: var(--mint-dark);
  font-weight: 800;
  white-space: nowrap;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.template-card,
.sector-card,
.service-grid article,
.quote-box,
.portfolio-item,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.06);
}

.template-media {
  position: relative;
  display: block;
  min-height: 220px;
  background-position: center;
  background-size: cover;
  border-radius: 8px 8px 0 0;
}

.template-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(23, 33, 31, 0.78);
  border-radius: 8px;
  font-weight: 800;
}

.template-body {
  padding: 20px;
}

.card-topline {
  margin-bottom: 10px;
  color: var(--coral);
  font-weight: 800;
}

.template-body p,
.sector-card p,
.service-grid p,
.portfolio-item p,
.quote-box p {
  color: var(--muted);
}

.template-body ul,
.check-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.wide-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 36px;
  padding: clamp(36px, 6vw, 64px) clamp(18px, 4vw, 56px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sector-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-pill {
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.sector-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sector-card,
.service-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.06);
}

.sector-card > div,
.service-grid article > div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.sector-card h3,
.service-grid h3 {
  margin: 0;
}

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

.demo-hero,
.sector-hero,
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 36px;
  align-items: center;
}

.demo-hero img,
.sector-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.quote-box {
  padding: 28px;
}

.quote-box span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
}

.portfolio-list {
  display: grid;
  gap: 18px;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  overflow: hidden;
}

.portfolio-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.portfolio-item div {
  padding: 20px 24px 20px 0;
}

.contact-copy p {
  max-width: 720px;
  color: var(--muted);
}

.contact-options {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-options a {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--mint-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.notice {
  padding: 12px 14px;
  color: var(--mint-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .wide-band,
  .demo-hero,
  .sector-hero,
  .contact-shell,
  .split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 32px;
  }

  h1 {
    font-size: 40px;
  }

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .portfolio-item {
    grid-template-columns: 1fr;
  }

  .portfolio-item div {
    padding: 0 20px 20px;
  }

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

  .button {
    width: 100%;
  }
}
