:root {
  --ink: #173f45;
  --ink-strong: #0d3439;
  --teal: #43b9bd;
  --teal-dark: #135d63;
  --teal-soft: #e8f5f4;
  --line: #d9e8e7;
  --paper: #ffffff;
  --muted: #5d6d70;
  --shadow: 0 18px 50px rgba(13, 52, 57, .14);
  --section-soft-bg: linear-gradient(180deg, #eef8f7 0%, #ffffff 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 86px;
  padding: 16px clamp(22px, 5vw, 78px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(19, 93, 99, .1);
  backdrop-filter: blur(12px);
}

.logo-link img {
  width: 196px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-color: var(--teal);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: grid;
  align-items: center;
  padding: 120px clamp(24px, 6vw, 90px);
  background: linear-gradient(135deg, #174e54 0%, #d9eeee 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 45, 50, .82) 0%, rgba(13, 71, 77, .66) 48%, rgba(8, 45, 50, .24) 100%),
    linear-gradient(180deg, rgba(8, 45, 50, .05), rgba(8, 45, 50, .3));
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 810px;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #91e5e5;
}

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

h1 {
  margin-bottom: 6px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.claim {
  margin-bottom: 28px;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
}

.lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(20px, 2vw, 26px);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--teal);
  border-radius: 3px;
  background: var(--teal);
  color: #08363a;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

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

.section {
  padding: clamp(70px, 8vw, 120px) clamp(24px, 6vw, 90px);
  scroll-margin-top: 130px;
}

.intro-section {
  background: var(--section-soft-bg);
  border-top: 1px solid rgba(67, 185, 189, .28);
  border-bottom: 1px solid rgba(67, 185, 189, .32);
  padding-top: clamp(92px, 9vw, 140px);
  padding-bottom: clamp(92px, 9vw, 140px);
  box-shadow: inset 0 -28px 38px rgba(13, 52, 57, .04);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 92px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.section-title {
  max-width: 980px;
  margin: 0 auto 42px;
  text-align: center;
}

h2 {
  color: var(--ink-strong);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--ink-strong);
  font-size: 23px;
  line-height: 1.22;
}

.copy {
  padding: clamp(24px, 3vw, 34px);
  background: rgba(232, 245, 244, .9);
  border: 1px solid rgba(67, 185, 189, .34);
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(13, 52, 57, .1);
  color: var(--muted);
  font-size: 19px;
}

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

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.principles div {
  padding: 16px 18px 16px 20px;
  background: rgba(232, 245, 244, .9);
  border-left: 4px solid var(--teal);
  box-shadow: none;
  color: var(--muted);
}

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

.check-list,
.person-card ul {
  margin: 0;
  padding-left: 20px;
}

.check-list li,
.person-card li {
  margin-bottom: 8px;
}

.team-section {
  background: var(--paper);
}

.team-section {
  padding-top: clamp(92px, 9vw, 136px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(420px, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.person-card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 28px;
  background: #f8fcfc;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.person-card img {
  width: 176px;
  height: 176px;
  object-fit: cover;
  border-radius: 50%;
}

.person-card div {
  min-width: 0;
}

.person-card h3 {
  margin-bottom: 12px;
}

.person-card ul {
  overflow-wrap: anywhere;
}

.portfolio-section {
  background: var(--section-soft-bg);
}

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

.usecase-grid {
  grid-template-columns: repeat(3, minmax(310px, 1fr));
}

.offer-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 12px;
  min-height: 280px;
  padding: 30px 30px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(13, 52, 57, .08);
}

.offer-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.offer-card h3 {
  margin: 0;
  min-height: 0;
  font-size: 24px;
  white-space: nowrap;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.offer-card .subline {
  color: var(--teal-dark);
  font-weight: 800;
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 560px);
  justify-content: center;
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  padding: clamp(70px, 8vw, 120px) clamp(24px, 6vw, 90px);
  background: var(--paper);
  color: var(--ink);
}

.visual-band img {
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.visual-band h2 {
  color: var(--ink-strong);
}

.visual-band p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
}

.reference-carousel {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.references-section {
  background: var(--section-soft-bg);
}

.reference-viewport {
  overflow: hidden;
  scroll-behavior: smooth;
}

.reference-track {
  display: flex;
  gap: 22px;
}

.reference-card {
  flex: 0 0 calc((100% - 44px) / 3);
  display: grid;
  grid-template-rows: 90px 1fr auto;
  align-items: start;
  gap: 22px;
  min-height: 430px;
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.reference-card img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  justify-self: center;
}

.quote {
  margin-bottom: 22px;
  color: var(--ink-strong);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
  text-align: center;
}

.source {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.reference-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 28px auto 0;
}

.reference-logos img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.reference-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.reference-controls button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  text-indent: -999px;
  cursor: pointer;
}

.reference-controls button.is-active {
  background: var(--teal);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(320px, 520px);
  align-items: start;
  justify-content: center;
  gap: clamp(34px, 6vw, 90px);
  padding: clamp(70px, 8vw, 110px) clamp(24px, 6vw, 90px);
  background: var(--paper);
  color: var(--ink);
  scroll-margin-top: 130px;
}

.contact-section h2 {
  color: var(--ink-strong);
}

.contact-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
}

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

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-strong);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px;
  background: #f8fcfc;
  color: var(--ink-strong);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-check {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.form-status.is-success {
  color: #126c5f;
}

.form-status.is-error {
  color: #9d2b2b;
}

.contact-form .primary-button {
  justify-self: start;
  cursor: pointer;
}

.site-footer {
  background: rgba(255, 255, 255, .96);
  color: var(--muted);
  padding: 28px clamp(24px, 6vw, 90px);
  border-top: 1px solid rgba(19, 93, 99, .1);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 34px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-main-style {
  grid-template-columns: 180px 1fr auto;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
}

.footer-logo {
  width: 122px;
}

.site-footer h2 {
  margin-bottom: 8px;
  color: var(--ink-strong);
  font-size: 18px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

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

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

  .main-nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 620px;
  }

  .section-grid,
  .portfolio-grid,
  .visual-band,
  .contact-section,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-main-style,
  .footer-nav,
  .social-links {
    justify-content: flex-start;
  }

  .reference-track {
    gap: 18px;
  }

  .reference-card {
    flex-basis: calc((100% - 18px) / 2);
  }

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

  .person-card {
    grid-template-columns: 150px 1fr;
  }

  .person-card img {
    width: 150px;
    height: 150px;
  }

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

@media (max-width: 760px) {
  .hero {
    min-height: 600px;
    padding: 104px 28px 76px;
  }

  h1 {
    font-size: 56px;
  }

  .claim {
    font-size: 32px;
  }

  .lead {
    font-size: 21px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 0;
    padding: 18px;
  }

  .logo-link img {
    width: 160px;
  }

  .main-nav {
    gap: 12px 20px;
    font-size: 14px;
  }

  .hero {
    min-height: 620px;
    padding: 92px 22px 68px;
  }

  h1 {
    font-size: 44px;
    line-height: 1;
  }

  .claim {
    font-size: 27px;
  }

  .lead {
    font-size: 19px;
    line-height: 1.45;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .offer-card h3 {
    white-space: normal;
  }

  .reference-card {
    flex-basis: 100%;
  }

  .reference-logos {
    grid-template-columns: 1fr;
  }
}
