:root {
  color-scheme: light;
  --green: #58be24;
  --green-strong: #42a817;
  --green-soft: #e9f8e2;
  --ink: #111413;
  --muted: #5e6863;
  --line: #dfe7df;
  --surface: #ffffff;
  --surface-2: #f5f8f5;
  --surface-3: #eef3ee;
  --shadow: 0 20px 60px rgba(17, 20, 19, 0.12);
  --radius: 8px;
  --container: min(1120px, calc(100% - 32px));
  --header-height: 72px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f7f2;
  --muted: #b8c3ba;
  --line: #273027;
  --surface: #0d100f;
  --surface-2: #141917;
  --surface-3: #1d241f;
  --green-soft: #183414;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
  transition: background-color 220ms ease, color 220ms ease;
}

body.nav-open {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green) 70%, white);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--surface);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: calc(100% - 28px);
  max-width: 1120px;
  margin-inline: auto;
}

.section {
  padding: 64px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(138px, 42vw, 168px);
  aspect-ratio: 3 / 1;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.08));
}

.site-nav {
  display: none;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 10px 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.nav-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-open .site-nav {
  position: fixed;
  inset: var(--header-height) 16px auto 16px;
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-open .site-nav a {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 42px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 16%, transparent), transparent 34%),
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--green) 16%, transparent), transparent 34%);
}

.hero-grid,
.split-grid,
.contact-grid {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-copy,
.contact-copy,
.section-heading {
  min-width: 0;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.08rem, 9.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.82rem, 7vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1rem;
}

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

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.btn-primary {
  background: var(--green);
  color: #071007;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--green) 34%, transparent);
}

.btn-secondary {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.hero-visual img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.metrics {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.metrics article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(12px);
}

.metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.1rem;
}

.metrics span,
.service-card p,
.value-list p,
.process-step p,
.site-footer p {
  color: var(--muted);
}

.services-band,
.process-band {
  background: var(--surface-2);
}

.section-heading {
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  gap: 14px;
}

.service-card {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 20px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, var(--green));
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, var(--green-soft)), var(--surface));
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--green) 56%, var(--line));
  box-shadow: 0 18px 42px rgba(17, 20, 19, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  border: 1px solid color-mix(in srgb, var(--green) 34%, var(--line));
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 0.68rem;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 0;
  text-align: center;
}

.service-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 1px solid color-mix(in srgb, var(--green) 42%, var(--line));
  border-radius: 999px;
  background: var(--surface);
  color: var(--green-strong);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-toggle:hover,
.service-toggle:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: #071007;
}

.service-card.is-expanded .service-toggle {
  background: var(--green);
  border-color: var(--green);
  color: #071007;
}

.service-description {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 260ms ease, opacity 200ms ease, transform 220ms ease, margin-top 220ms ease;
}

.service-card.is-expanded .service-description {
  max-height: 180px;
  margin-top: 2px;
  opacity: 1;
  transform: translateY(0);
}

.value-list {
  display: grid;
  gap: 12px;
}

.value-list article {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.value-list article > span {
  width: 14px;
  height: 14px;
  margin-top: 8px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 0 6px var(--green-soft);
}

.process-flow {
  position: relative;
  display: grid;
  gap: 12px;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 0;
}

.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: auto;
  bottom: -13px;
  left: 26px;
  width: 2px;
  height: 12px;
  background: linear-gradient(180deg, var(--green), color-mix(in srgb, var(--green) 20%, var(--line)));
}

.process-step > span {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin: 0 0 4px;
  border: 3px solid var(--surface);
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--green) 50%, var(--line));
}

.process-step h3 {
  margin-bottom: 6px;
}

.process-step h3,
.process-step p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.contact-section {
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--green-soft) 54%, transparent)),
    var(--surface);
}

.contact-copy a,
.site-footer a {
  color: var(--green-strong);
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  font-size: 0.9rem;
  font-weight: 800;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
  min-height: 48px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.phone-control {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.phone-control:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.phone-prefix {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.phone-control input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.phone-control input:focus {
  border-color: transparent;
  box-shadow: none;
}

.field-error {
  min-height: 20px;
  margin: 0;
  color: #c6332e;
  font-size: 0.86rem;
  font-weight: 750;
}

.field-error.is-valid {
  color: var(--green-strong);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.success {
  color: var(--green-strong);
}

.form-status.error {
  color: #c6332e;
}

.site-footer {
  padding: 30px 0 18px;
  background: #090c0b;
  color: #f4f7f2;
}

.site-footer img {
  width: 152px;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  filter: brightness(1.06);
}

.footer-inner {
  display: grid;
  gap: 14px;
  align-items: center;
}

.footer-meta,
.footer-contact {
  display: grid;
  gap: 2px;
}

.footer-meta p {
  margin: 0;
}

.footer-contact a,
.footer-top {
  color: var(--green);
  font-weight: 800;
}

.footer-legal {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b8c3ba;
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 40;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  color: #071007;
  box-shadow: 0 18px 36px color-mix(in srgb, var(--green) 42%, transparent);
  font-size: 1.35rem;
  font-weight: 900;
  padding: 0;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-active .whatsapp-float {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  display: block;
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 24px);
  }

  .section {
    padding: 54px 0;
  }

  .site-header {
    min-height: 68px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: clamp(128px, 40vw, 150px);
  }

  .header-actions {
    gap: 8px;
  }

  .theme-toggle,
  .nav-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .nav-open .site-nav {
    inset: 72px 12px auto 12px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    gap: 28px;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(1.52rem, 6.25vw, 1.92rem);
    line-height: 1.12;
    max-width: min(100%, 16ch);
    text-wrap: balance;
  }

  .hero-text {
    max-width: min(100%, 34ch);
  }

  h2 {
    font-size: clamp(1.72rem, 7.2vw, 2.05rem);
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .metrics {
    margin-top: 28px;
  }

  .service-grid,
  .process-flow,
  .value-list {
    gap: 12px;
  }

  .service-card,
  .process-step {
    padding: 18px;
  }

  .process-flow {
    gap: 10px;
  }

  .process-step {
    gap: 6px;
    padding: 16px;
  }

  .process-step p {
    margin-bottom: 0;
  }

  .contact-section {
    padding-bottom: 104px;
  }

  .contact-form {
    gap: 14px;
    padding: 16px;
  }

  textarea {
    min-height: 132px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 374px) {
  .container {
    width: calc(100% - 20px);
  }

  .brand img {
    width: 124px;
  }

  .theme-toggle,
  .nav-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  h1 {
    font-size: 1.48rem;
  }

  .btn {
    padding-inline: 14px;
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.can-animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.hero .reveal.can-animate {
  opacity: 1;
  transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.can-animate {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 700px) {
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .btn {
    width: auto;
  }

  .form-submit {
    width: 100%;
  }

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

@media (min-width: 980px) {
  :root {
    --header-height: 86px;
  }

  .section {
    padding: 112px 0;
  }

  .brand img {
    width: 210px;
  }

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

  .nav-toggle {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 54px;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 46px;
  }

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

  .service-card {
    min-height: unset;
  }

  .process-flow {
    grid-template-columns: 1fr 1fr 1fr 1.25fr 1fr;
	align-items: start;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 18px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .process-step > span {
    margin-top: 0;
  }

  .process-step:not(:last-child)::before {
    top: 8px;
    left: 18px;
    right: 0;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--green), color-mix(in srgb, var(--green) 20%, var(--line)));
  }

  .footer-inner {
    grid-template-columns: auto 1fr auto auto;
    gap: 28px;
  }

  .footer-contact,
  .footer-top {
    justify-self: end;
  }
}
