:root {
  --milk: #f8f5ee;
  --paper: #ffffff;
  --mist: #e7f5f2;
  --teal: #0d9488;
  --bluegreen: #0f766e;
  --graphite: #17212b;
  --muted: #5f6f75;
  --line: rgba(23, 33, 43, 0.12);
  --shadow: 0 24px 60px rgba(17, 54, 64, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--graphite);
  background: var(--milk);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(248, 245, 238, 0.86);
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.nav a,
.button {
  font-weight: 700;
}

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

.brand-logo {
  width: 46px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: linear-gradient(135deg, var(--teal), #1f5f74);
  border-radius: 50%;
}

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: #33444b;
}

.nav a {
  font-size: 14px;
}

.header-cta {
  padding: 11px 18px;
  color: white;
  background: var(--graphite);
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--graphite);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 6vw, 92px) 56px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 760px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.22;
  font-weight: 700;
}

.sublead {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
  font-size: 15px;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--teal), #126176);
  box-shadow: 0 14px 28px rgba(13, 148, 136, 0.28);
}

.button.secondary {
  color: var(--graphite);
  background: white;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.button.ghost {
  color: var(--bluegreen);
  background: rgba(13, 148, 136, 0.08);
}

.hero-media {
  position: relative;
  isolation: isolate;
  max-width: 760px;
  justify-self: end;
}

.hero-media::before {
  position: absolute;
  inset: -24px;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 50% 50%, rgba(13, 148, 136, 0.18), transparent 68%);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  min-height: 380px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(230px, calc(100% - 48px));
  padding: 18px;
  color: white;
  background: rgba(23, 33, 43, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-note span,
.hero-note strong {
  display: block;
}

.section {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 6vw, 92px);
}

.wave {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #edf8f5);
  clip-path: ellipse(140% 100% at 50% 100%);
}

.section-intro {
  max-width: 860px;
}

.section-intro p {
  color: var(--muted);
  font-size: 18px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.flow-list div,
.soft-panel,
.contact-panel,
.simple-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.flow-list div {
  padding: 26px;
}

.flow-list span {
  color: var(--teal);
  font-weight: 800;
}

.flow-list p {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 650;
}

.solution {
  background: white;
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.solution-grid p {
  color: var(--muted);
  font-size: 18px;
}

.soft-panel {
  padding: clamp(26px, 4vw, 46px);
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  content: "+";
  font-size: 13px;
}

.benefits {
  background: linear-gradient(135deg, #f8f5ee, #e6f5f1 52%, #f4faf8);
}

.ribbon-list,
.client-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ribbon-list span,
.client-cloud span {
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(17, 54, 64, 0.08);
  font-weight: 700;
}

.clients,
.pricing {
  background: #f6fbf9;
}

.client-cloud span {
  font-size: clamp(16px, 2vw, 22px);
}

.medkit-products {
  background:
    radial-gradient(circle at 80% 10%, rgba(13, 148, 136, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff, #edf8f5 58%, #f8f5ee);
}

.medkit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.lead-small {
  max-width: 740px;
  color: var(--graphite);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.22;
  font-weight: 800;
}

.medkit-copy > p:not(.eyebrow):not(.lead-small) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.medkit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.medkit-pills span {
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 999px;
  font-weight: 700;
}

.medkit-price {
  display: inline-grid;
  gap: 4px;
  min-width: min(100%, 340px);
  padding: 18px 22px;
  background: rgba(23, 33, 43, 0.92);
  color: white;
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(17, 54, 64, 0.16);
}

.medkit-price span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.medkit-price strong {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.medkit-price p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.medkit-photos {
  position: relative;
  min-height: 540px;
}

.medkit-photos img {
  position: absolute;
  width: 72%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.medkit-photo-main {
  top: 0;
  right: 0;
}

.medkit-photo-side {
  left: 0;
  bottom: 0;
  transform: translateY(10px);
}

.proof {
  background: linear-gradient(135deg, #ffffff, #e8f7f3);
}

.proof-panel,
.ip-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-panel p,
.ip-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.ip-section {
  background: #f8f5ee;
  padding-top: clamp(44px, 7vw, 86px);
}

.ip-panel {
  background: linear-gradient(135deg, rgba(23, 33, 43, 0.94), rgba(15, 118, 110, 0.9));
  color: white;
}

.ip-panel .eyebrow,
.ip-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.materials,
.cases,
.contacts,
.media-coverage {
  background: white;
}

.page-hero {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 6vw, 92px) clamp(36px, 6vw, 72px);
  background: linear-gradient(135deg, #ffffff, #e7f5f2);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(42px, 7vw, 86px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

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

.materials-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.materials-line-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.materials-line a {
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #edf8f5);
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.materials-line a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.materials-line small {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--teal);
  font-weight: 800;
}

.materials-line span {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.24;
}

.materials-line p {
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.materials-line strong {
  display: inline-flex;
  margin-top: auto;
  color: var(--bluegreen);
  font-size: 14px;
}

.proof-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.media-layout p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.video-shell {
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(231, 245, 242, 0.9));
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-shell video {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  background: #101820;
}

.video-shell p {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.case-stream,
.price-flow {
  display: grid;
  gap: 16px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-top: 42px;
}

.case-card {
  overflow: hidden;
  background: #f8fbfa;
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(17, 54, 64, 0.1);
}

.case-card:nth-child(even) {
  transform: translateY(34px);
}

.case-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dcebea;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-photo .status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  color: white;
  background: rgba(15, 118, 110, 0.88);
  backdrop-filter: blur(10px);
}

.case-body {
  padding: 24px;
}

.case-kicker {
  margin-bottom: 10px;
  color: var(--bluegreen);
  font-size: 13px;
  font-weight: 800;
}

.case-body p {
  margin-bottom: 12px;
  color: var(--muted);
}

.case-body p:last-child {
  margin-bottom: 0;
}

.case-item,
.price-item {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 24px;
  padding: 26px;
  background: #f8fbfa;
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 8px;
}

.case-item p,
.price-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  color: var(--bluegreen);
  background: rgba(13, 148, 136, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.price-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.price-meta {
  display: grid;
  justify-items: end;
  gap: 9px;
  min-width: 240px;
}

.price-meta strong {
  font-size: 24px;
}

.price-meta span {
  color: var(--muted);
}

.order-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  background: linear-gradient(145deg, #17303b, #0f766e);
  color: white;
}

.order-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.order-copy .eyebrow,
.order-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  color: var(--graphite);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.order-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 33, 43, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--graphite);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(13, 148, 136, 0.18);
  border-color: var(--teal);
}

.consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.consent input {
  width: 18px;
  min-height: 18px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-error {
  grid-column: 1 / -1;
  padding: 14px 16px;
  color: #8a1f11;
  background: #fff1ed;
  border: 1px solid #ffc9bd;
  border-radius: 8px;
}

.was-validated input:invalid,
.was-validated select:invalid {
  border-color: #c2410c;
}

.contacts {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.contact-panel {
  padding: clamp(26px, 4vw, 44px);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 33, 43, 0.1);
  font-weight: 700;
}

.map {
  width: 100%;
  min-height: 450px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-placeholder {
  display: grid;
  align-content: center;
  min-height: 450px;
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, #edf8f5, #ffffff);
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-placeholder p {
  margin: 10px 0 0;
  color: var(--muted);
}

.simple-page {
  display: grid;
  place-items: center;
  min-height: 72vh;
  padding: 70px 18px;
  background: linear-gradient(135deg, var(--milk), #e7f5f2);
}

.simple-panel {
  max-width: 720px;
  padding: clamp(28px, 6vw, 62px);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 6vw, 92px);
  color: rgba(255, 255, 255, 0.82);
  background: #101820;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  width: 74px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
}

.footer p {
  margin: 8px 0 0;
  max-width: 560px;
}

.footer-links {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .solution-grid,
  .medkit-layout,
  .media-layout,
  .order-section,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .flow-list,
  .materials-line {
    grid-template-columns: 1fr 1fr;
  }

  .proof-actions {
    justify-content: flex-start;
  }

  .proof-panel,
  .ip-panel,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-card:nth-child(even) {
    transform: none;
  }

  .medkit-photos {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .medkit-photos img {
    position: static;
    width: 100%;
    transform: none;
  }

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

  .order-copy {
    position: static;
  }
}

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

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 56px;
  }

  .lead {
    font-size: 23px;
  }

  .hero-media img {
    min-height: 280px;
  }

  .flow-list,
  .materials-line,
  .medkit-photos,
  .order-form,
  .price-item {
    grid-template-columns: 1fr;
  }

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

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

  .price-meta {
    justify-items: start;
    min-width: 0;
  }

  .wide {
    grid-column: auto;
  }

  .footer-links {
    text-align: left;
  }

  .map,
  .map-placeholder {
    min-height: 300px;
  }
}
