:root {
  --bg: #f5f4ef;
  --surface: #ffffff;
  --surface-2: #ece9df;
  --text: #132321;
  --muted: #45605c;
  --accent: #127c70;
  --accent-2: #0e5c54;
  --radius: 14px;
  --shadow: 0 12px 24px rgba(19, 35, 33, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #dcf4ee 0%, var(--bg) 55%);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background-color: rgba(245, 244, 239, 0.88);
  border-bottom: 1px solid rgba(19, 35, 33, 0.1);
}

.site-header .container {
  padding: 0.9rem 0;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: min(70vw, 760px);
}

.logo-mark {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
}

.logo-tagline {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
  border-left: 1px solid rgba(19, 35, 33, 0.24);
  padding-left: 0.6rem;
}

.nav-toggle {
  display: none;
}

.menu-checkbox {
  display: none;
}

.site-nav {
  display: flex;
  gap: 1rem;
  font-weight: 600;
  margin-top: 0.7rem;
}

.site-nav a {
  opacity: 0.9;
  border-radius: 8px;
  padding: 0.3rem 0.45rem;
}

.site-nav a:hover {
  opacity: 1;
  background: rgba(18, 124, 112, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3rem;
  min-height: 520px;
  display: block;
  isolation: isolate;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero::before {
  display: none;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: none;
  filter: none;
  -webkit-transform: none;
  -webkit-backface-visibility: hidden;
}

.hero-layout {
  display: block;
}

.hero-copy {
  max-width: 740px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  position: relative;
  z-index: 2;
}

.hero .kicker {
  color: #d8f6ef;
}

.hero h1 {
  color: #f4fffc;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero .lead {
  color: rgba(236, 255, 251, 0.92);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: transparent;
}

.hero .btn-secondary:hover {
  background: rgba(7, 23, 24, 0.12);
}

.kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 28ch;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.lead {
  max-width: 65ch;
  color: var(--muted);
  margin: 1.4rem 0 0;
}

.section p {
  color: var(--muted);
  max-width: 70ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

[data-parallax-speed] {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary {
  border-color: var(--accent);
  color: var(--accent-2);
  background: transparent;
}

.section {
  padding: 2.4rem 0;
}

.section-muted {
  background: linear-gradient(180deg, transparent 0%, var(--surface-2) 100%);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.section-human {
  padding-top: 1.2rem;
}

.human-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.2rem;
  align-items: center;
}

.human-visual {
  margin: 0;
  background: linear-gradient(170deg, #ffffff 0%, #efe8da 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(19, 35, 33, 0.1);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.human-visual img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.human-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.human-list li {
  margin-bottom: 0.45rem;
}

.tag-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-list li {
  background: var(--surface);
  border: 1px solid rgba(19, 35, 33, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.clouds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.cloud-logo {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
}

.cloud-logo svg {
  width: 100%;
  max-width: 180px;
  height: 64px;
  display: block;
}

.section-cta {
  padding-bottom: 4rem;
}

.contact-form {
  margin-top: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(19, 35, 33, 0.08);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  display: none;
}

.hp-field[hidden] {
  display: none !important;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(19, 35, 33, 0.2);
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font: inherit;
  color: var(--text);
  background: #ffffff;
}

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

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(18, 124, 112, 0.25);
  border-color: var(--accent);
}

.form-field-message {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.captcha-wrap {
  min-height: 24px;
}

.captcha-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-notice {
  margin: 0.85rem 0 0;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-weight: 600;
}

.form-notice-success {
  background: #e5f7f2;
  color: #0e5c54;
}

.form-notice-error {
  background: #ffe9e9;
  color: #a23636;
}

.field-error {
  margin: 0;
  color: #a23636;
  font-size: 0.84rem;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(19, 35, 33, 0.12);
  margin-top: 1.6rem;
}

.site-footer .container {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .container {
    width: min(1100px, 94%);
  }

  .site-header .container {
    padding: 0.7rem 0;
  }

  .logo {
    max-width: calc(100% - 70px);
    gap: 0.5rem;
  }

  .logo-mark {
    font-size: 1.5rem;
  }

  .logo-tagline {
    font-size: 0.62rem;
    line-height: 1.15;
    padding-left: 0.45rem;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.6rem;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(19, 35, 33, 0.12);
    background: rgba(255, 255, 255, 0.75);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(19, 35, 33, 0.24);
    background: #ffffff;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-weight: 700;
    color: var(--accent-2);
    cursor: pointer;
  }

  .menu-checkbox:checked ~ .site-nav {
    display: flex;
  }

  .hero {
    min-height: 72vh;
    padding: 0 0 1.5rem;
  }

  .hero .container {
    padding-top: 40vh;
  }

  .hero-bg video {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    transform: none;
    -webkit-transform: none;
  }

  h1 {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
    max-width: 22ch;
  }

  .lead {
    margin-top: 1rem;
  }

  .section {
    padding: 1.8rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-copy {
    background: transparent;
    backdrop-filter: none;
  }

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

  .btn {
    width: 100%;
  }

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

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

  .form-actions {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax-speed] {
    transform: none !important;
    will-change: auto;
  }

  .hero-bg {
    display: none;
  }
}
