:root {
  --bg: #f4f1ea;
  --panel: #fffdf8;
  --panel-strong: #f8f2e7;
  --ink: #13211d;
  --muted: #5d6d66;
  --line: rgba(19, 33, 29, 0.12);
  --white: #ffffff;
  --teal: #0d6f68;
  --teal-dark: #0b5550;
  --coral: #c94e3c;
  --amber: #e8b44c;
  --navy: #16283a;
  --shadow: 0 24px 70px rgba(19, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top left,
      rgba(13, 111, 104, 0.1),
      transparent 28%
    ),
    radial-gradient(
      circle at right 20%,
      rgba(232, 180, 76, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 72px);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid rgba(19, 33, 29, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(19, 33, 29, 0.12);
  background: var(--white);
  box-shadow: 0 10px 20px rgba(19, 33, 29, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.mobile-menu-toggle,
.mobile-menu-close {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(19, 33, 29, 0.12);
}

.button.primary {
  color: #1f1403;
  background: linear-gradient(135deg, #f1c85f, var(--amber));
  border-color: rgba(120, 86, 8, 0.15);
}

.button.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-color: rgba(13, 111, 104, 0.2);
}

.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 34px clamp(18px, 5vw, 72px) 72px;
  color: var(--white);
  overflow: hidden;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  background: linear-gradient(
    145deg,
    rgba(18, 28, 36, 0.94),
    rgba(18, 36, 31, 0.88)
  );
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-shell::before {
  inset: auto auto -120px -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(232, 180, 76, 0.18),
    transparent 68%
  );
}

.hero-shell::after {
  top: -90px;
  right: -70px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(13, 111, 104, 0.28),
    transparent 68%
  );
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding: 26px 18px 26px 8px;
}

.hero-panel {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.04)
    ),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-panel-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.hero-panel-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.hero-panel-card span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
}

.hero-visual {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual img {
  width: 100%;
  min-height: 240px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.mini-stat {
  padding: 12px 10px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-stat strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.mini-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(13, 111, 104, 0.18),
      transparent 22%
    ),
    radial-gradient(
      circle at 84% 30%,
      rgba(232, 180, 76, 0.16),
      transparent 20%
    );
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 12px;
  color: #073f3b;
  background: rgba(217, 248, 231, 0.95);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 6.6vw, 82px);
  line-height: 0.96;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.55;
}

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

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.03;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--teal-dark);
  background: rgba(13, 111, 104, 0.08);
  border: 1px solid rgba(13, 111, 104, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 72px) 24px;
  margin-top: -22px;
}

.proof-item {
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(19, 33, 29, 0.08);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(19, 33, 29, 0.08);
}

.proof-item strong {
  display: block;
  color: var(--teal-dark);
  font-size: 30px;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 78px clamp(18px, 5vw, 72px);
}

.section.alt {
  background: linear-gradient(
    180deg,
    rgba(248, 243, 234, 0.75),
    rgba(244, 241, 234, 0.92)
  );
}

.section.dark {
  color: var(--white);
  background: linear-gradient(145deg, #13273a, #101f2e);
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(19, 33, 29, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(19, 33, 29, 0.08);
}

.service-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 14px;
  font-weight: 900;
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, #dd6a4e, var(--coral));
}

.service-card:nth-child(3) .service-icon {
  color: #1f1403;
  background: linear-gradient(135deg, #f6d26d, var(--amber));
}

.service-card:nth-child(4) .service-icon {
  background: linear-gradient(135deg, #6b5b95, #8b7bb8);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.showcase-media img {
  width: 100%;
  min-height: 360px;
  max-height: 560px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.feature strong {
  display: block;
  font-size: 20px;
}

.feature span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.58;
}

.feature-list.compact .feature {
  padding: 18px 0;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

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

.step {
  min-height: 220px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(19, 33, 29, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(19, 33, 29, 0.08);
}

.step strong {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 14px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
}

.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-point {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-point strong {
  display: block;
  color: var(--teal-dark);
}

.contact-point span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.contact-form {
  padding: 28px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(19, 33, 29, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid rgba(19, 33, 29, 0.14);
  border-radius: 14px;
  outline: none;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 111, 104, 0.12);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.form-note {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.flash {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: #073f3b;
  background: #d9f8e7;
  border: 1px solid #9be3cf;
  border-radius: 14px;
  line-height: 1.5;
}

.flash.error-flash {
  color: #7d3f3f;
  background: #f8e7e7;
  border: 1px solid #f3c9c9;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: rgba(255, 253, 248, 0.8);
  border-top: 1px solid rgba(19, 33, 29, 0.08);
}

.services-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 340px;
  overflow: hidden;
}

.services-slider {
  display: flex;
  gap: 16px;
  transition: transform 300ms ease-in-out;
  width: max-content;
  min-height: 320px;
}

.slider-item {
  flex: 0 0 calc(33.333% - 11px);
  min-width: 0;
  height: 100%;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(19, 33, 29, 0.08);
  border-radius: 12px;
  cursor: pointer;
  z-index: 10;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.slider-control:hover {
  background: var(--white);
  border-color: rgba(19, 33, 29, 0.12);
  transform: translateY(-50%) scale(1.05);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-indicators {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  justify-content: center;
}

.slider-indicator {
  width: 10px;
  height: 10px;
  border: 2px solid var(--teal-dark);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.slider-indicator.active {
  background: var(--teal-dark);
  transform: scale(1.2);
}

@media (max-width: 1060px) {
  .hero-shell,
  .proof-strip,
  .workflow-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    display: flex;
    flex-direction: column;
  }

  .slider-item {
    flex: 0 0 100%;
  }

  .section-intro {
    display: block;
  }

  .section-intro p {
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    padding: 12px 18px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex: 0 0 auto;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(19, 33, 29, 0.08);
  }

  .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  .nav-actions {
    position: fixed;
    top: 92px;
    right: 18px;
    left: 18px;
    z-index: 60;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 68px 16px 18px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-actions::before {
    content: none;
  }

  .nav-actions.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: rgba(19, 33, 29, 0.06);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
  }

  .nav-actions .button,
  .hero-actions .button {
    width: 100%;
  }

  .nav-actions .button {
    position: relative;
    z-index: 1;
    max-width: none;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 52px;
  }

  .hero-shell {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-copy {
    padding: 4px 0 0;
  }

  .hero-visual .mini-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form,
  .service-card,
  .step {
    padding: 22px;
  }

  .proof-strip {
    margin-top: 0;
    padding-top: 12px;
  }

  .services-slider-container {
    width: 100%;
    padding: 0 0 110px;
    overflow: hidden;
  }

  .services-slider {
    padding: 0;
    overflow: visible;
    width: 100%;
  }

  .slider-item {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
  }

  .service-card {
    padding: 18px;
    min-height: 280px;
  }

  .slider-control {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 48px;
    transform: none;
    z-index: 20;
    position: absolute;
  }

  .slider-prev {
    left: 18px;
  }

  .slider-next {
    right: 18px;
  }

  .slider-indicators {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }
}
