:root {
  --tinta: #141A2C;
  --crema: #EFE7D2;
  --crema-2: #F5EFE0;
  --teal: #1D9E75;
  --teal-70: #11704F;
  --bruma: #6E7283;
  --line: rgba(20, 26, 44, 0.13);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--crema);
  color: var(--tinta);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(29, 158, 117, 0.16), transparent 28rem),
    linear-gradient(135deg, #EFE7D2 0%, #F8F4E6 52%, #EFE7D2 100%);
}

a { color: inherit; }

.shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(245, 239, 224, 0.76);
  box-shadow: 0 28px 80px rgba(20, 26, 44, 0.14);
  backdrop-filter: blur(14px);
}

.topline,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(24px, 5vw, 56px);
}

.topline { border-bottom: 1px solid var(--line); }

.logo {
  width: clamp(150px, 20vw, 230px);
  height: auto;
  display: block;
}

.badge {
  border: 1px solid rgba(17, 112, 79, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(29, 158, 117, 0.10);
  color: var(--teal-70);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(44px, 7vw, 86px) clamp(24px, 5vw, 56px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--bruma);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--tinta);
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.32;
  font-weight: 560;
}

.body {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--bruma);
  font-size: 16px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.primary {
  background: var(--teal);
  color: white;
  border: 1px solid var(--teal);
}

.secondary {
  background: transparent;
  color: var(--tinta);
  border: 1px solid rgba(20, 26, 44, 0.26);
}

.secondary:hover { border-color: var(--teal); }

.mark {
  min-height: 340px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: rgba(20, 26, 44, 0.045);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.mark::before {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px dashed rgba(29, 158, 117, 0.55);
  border-radius: 22px;
}

.mark img {
  width: min(62%, 280px);
  position: relative;
  z-index: 1;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.services article {
  padding: 28px clamp(22px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

.services article:last-child { border-right: 0; }

.services span {
  color: var(--teal-70);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.services h2 {
  margin: 10px 0 8px;
  font-size: 18px;
}

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

footer {
  border-top: 1px solid var(--line);
  color: var(--bruma);
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tinta: #EFE7D2;
    --crema: #141A2C;
    --crema-2: #101526;
    --bruma: #9499A8;
    --line: rgba(239, 231, 210, 0.14);
    color-scheme: dark;
  }

  body {
    background:
      radial-gradient(circle at 82% 18%, rgba(29, 158, 117, 0.20), transparent 28rem),
      linear-gradient(135deg, #141A2C 0%, #080C16 100%);
  }

  .card { background: rgba(16, 21, 38, 0.78); }
  .secondary { border-color: rgba(239, 231, 210, 0.28); }
  .mark { background: rgba(239, 231, 210, 0.045); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mark { min-height: 240px; }
  .services { grid-template-columns: 1fr; }
  .services article { border-right: 0; border-bottom: 1px solid var(--line); }
  .services article:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 18px, 1180px); padding: 9px 0; }
  .card { border-radius: 20px; }
  .topline, footer { align-items: flex-start; flex-direction: column; }
  h1 { font-size: clamp(36px, 12vw, 56px); }
  .actions { flex-direction: column; }
  .button { width: 100%; }
}
