:root {
  --ink: #102019;
  --muted: #5c6b63;
  --surface: #f7faf5;
  --surface-strong: #edf5ec;
  --white: #ffffff;
  --deep: #07140d;
  --green: #078841;
  --leaf: #92cc54;
  --mint: #9bcbb7;
  --teal: #166a67;
  --amber: #c8842f;
  --line: rgba(16, 32, 25, 0.12);
  --shadow: 0 24px 80px rgba(7, 20, 13, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  min-height: 92vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 20, 13, 0.96) 0%, rgba(7, 20, 13, 0.84) 42%, rgba(7, 20, 13, 0.3) 78%),
    url("assets/hero-software.jpg") center / cover no-repeat;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 108px;
  margin: 0 auto;
  padding-top: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 148px;
  min-height: 58px;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--leaf);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(92vh - 86px);
  margin: 0 auto;
  padding: 80px 0 72px;
}

.hero-content {
  max-width: 720px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button.primary {
  color: var(--deep);
  background: linear-gradient(180deg, #a7dc62 0%, #83c746 100%);
  border-color: rgba(7, 136, 65, 0.08);
  box-shadow: 0 14px 30px rgba(131, 199, 70, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.button.full {
  width: 100%;
  min-height: 56px;
}

.button.whatsapp-inline {
  gap: 10px;
  color: var(--white);
  background: linear-gradient(180deg, #2bd76f 0%, #20b85a 100%);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button.whatsapp-inline svg {
  width: 24px;
  height: 24px;
}

.hero-card {
  position: absolute;
  right: 86px;
  bottom: 42px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  width: min(390px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 20, 13, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card img {
  width: 56px;
}

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

.hero-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 64px;
}

.intro-text {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
}

.service-grid article:nth-child(2) .icon {
  background: var(--green);
}

.service-grid article:nth-child(3) .icon {
  background: var(--amber);
}

.service-grid article:nth-child(4) .icon {
  color: var(--deep);
  background: var(--mint);
}

.sectors {
  width: 100%;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(237, 245, 236, 0.98), rgba(247, 250, 245, 0.96)),
    radial-gradient(circle at 84% 20%, rgba(146, 204, 84, 0.18), transparent 34%);
}

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

.sector-grid article {
  min-height: 148px;
  padding: 26px;
  border: 1px solid rgba(16, 32, 25, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(16, 32, 25, 0.06);
}

.sector-grid h3 {
  position: relative;
  padding-top: 18px;
}

.sector-grid h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--leaf);
  content: "";
}

.sector-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.method {
  width: 100%;
  padding: 100px max(20px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 20, 13, 0.98), rgba(14, 55, 34, 0.96)),
    url("assets/hero-software.jpg") center / cover no-repeat;
}

.method-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 72px;
  align-items: start;
}

.method .section-heading {
  margin-bottom: 0;
}

.method h2 {
  color: var(--white);
}

.method-lead {
  margin-top: 24px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.method-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.method-list article {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.method-list span {
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.method-list h3 {
  margin-bottom: 8px;
  color: var(--white);
}

.method-list p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 64px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 60px rgba(16, 32, 25, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2e4337;
  font-size: 0.92rem;
  font-weight: 800;
}

.field-label {
  display: inline;
}

.label-hint {
  color: var(--muted);
  font-weight: 650;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(16, 32, 25, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfdf9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form select {
  appearance: none;
  padding-right: 46px;
  cursor: pointer;
  font-weight: 750;
  color: #31483a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 253, 249, 0.96));
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  pointer-events: none;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

.select-wrap::before {
  position: absolute;
  top: 8px;
  right: 42px;
  bottom: 8px;
  width: 1px;
  background: rgba(16, 32, 25, 0.1);
  content: "";
  pointer-events: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(146, 204, 84, 0.35);
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(7, 136, 65, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.privacy-summary {
  padding: 14px 16px;
  border: 1px solid rgba(16, 32, 25, 0.1);
  border-radius: 8px;
  background: rgba(237, 245, 236, 0.62);
}

.privacy-summary strong {
  display: block;
  margin-bottom: 6px;
  color: #2e4337;
  font-size: 0.86rem;
}

.privacy-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.privacy-summary a,
.privacy-check a,
.legal-links a,
.legal-back {
  color: var(--green);
  font-weight: 850;
}

.privacy-check {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 10px !important;
  align-items: start;
  color: var(--muted) !important;
  font-size: 0.86rem !important;
  font-weight: 650 !important;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--green);
  box-shadow: none;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 52px 20px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--deep);
  text-align: center;
}

.site-footer img {
  width: 184px;
}

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

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.9rem;
}

.legal-page {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.legal-page h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.legal-page p {
  color: var(--muted);
}

.legal-back {
  display: inline-flex;
  margin-bottom: 30px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 12px 34px rgba(7, 20, 13, 0.32);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 920px) {
  .site-header {
    min-height: 860px;
    background:
      linear-gradient(180deg, rgba(7, 20, 13, 0.98) 0%, rgba(7, 20, 13, 0.9) 48%, rgba(7, 20, 13, 0.52) 100%),
      url("assets/hero-software.jpg") center / cover no-repeat;
  }

  .nav {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    width: 124px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(7, 20, 13, 0.96);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 10px;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    min-height: 774px;
    padding: 66px 0 34px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 44px;
  }

  .intro,
  .contact,
  .service-grid,
  .sector-grid,
  .method-inner {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 72px 0;
  }

  .sectors {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .method {
    padding: 72px 14px;
  }

  .method-inner {
    gap: 42px;
  }

  .method-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.85rem;
  }

  .hero-copy,
  .intro-text,
  .contact-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

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

  .button,
  .contact-links a {
    width: 100%;
  }

  .service-grid article,
  .method-grid article,
  .contact-form {
    padding: 20px;
  }
}
