:root {
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --surface-alt: #ECEFF3;
  --ink: #1B2430;
  --ink-soft: #3A4757;
  --muted: #66727F;
  --primary: #2C5364;          --primary-dark: #1E3A45;
  --primary-soft: #E3EBEF;
  --accent: #C77D2E;           --accent-soft: #F7EBDC;
  --line: #D8DEE5;
  --line-strong: #B9C3CC;
  --ok: #1F6B4A;
  --warn: #8A5A00;

  --font-title: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 3px;
  --radius-lg: 6px;
  --shadow: 0 1px 2px rgba(27, 36, 48, 0.05);
  --transition: 0.2s ease;
  --container: 1120px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.95rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 68px 0; }
.section--alt { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--primary-dark); color: #DDE6EB; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: 38px; }
.section-head p { color: var(--muted); margin-top: 12px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.accent-rule { border-left: 3px solid var(--accent); padding-left: 18px; }

header {
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(30px, 4vw, 68px);
}

header .nav {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

header .logo,
header .header-cta {
  flex: 0 0 auto;
}

.logo {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.logo span[aria-hidden] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0;
  border-radius: var(--radius);
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.94rem;
  white-space: nowrap;
}

.nav a { color: var(--ink-soft); transition: color var(--transition); }
.nav a:hover { color: var(--primary); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-light { background: var(--accent); color: #fff; }
.btn-light:hover { background: #A96522; }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero { padding: 76px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 54px; align-items: start; }
.hero-lead { font-size: 1.1rem; color: var(--ink-soft); margin-top: 20px; max-width: 48ch; }

.spec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
}

.spec-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-row {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 14px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.spec-row:last-child { border-bottom: none; }
.spec-row dt { color: var(--muted); margin: 0; }
.spec-row dd { margin: 0; font-weight: 600; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.94rem; }

.card--service { border-top: 3px solid var(--primary-soft); }
.card--service:hover { border-top-color: var(--accent); }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 3px 9px;
  margin-bottom: 12px;
}

.steps { counter-reset: step; }

.step { counter-increment: step; position: relative; padding-left: 56px; }

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--primary-dark);
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.step h3 { margin-bottom: 7px; padding-top: 7px; }
.step p { color: var(--muted); font-size: 0.94rem; }

.callout {
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--primary);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 30px 0;
}

.callout h2, .callout h3 { font-size: 1.08rem; margin-bottom: 10px; }
.callout p { color: var(--ink-soft); font-size: 0.95rem; }
.callout--limits { border-left-color: var(--warn); background: #FCF7EC; }
.callout--rgpd { border-left-color: var(--accent); background: var(--accent-soft); }

.callout ul { list-style: disc; margin: 10px 0 0 20px; }
.callout li { margin-bottom: 6px; font-size: 0.95rem; color: var(--ink-soft); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
}

.form-group { margin-bottom: 17px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
}

.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
textarea.form-input { resize: vertical; min-height: 118px; }

.form-consent { display: flex; align-items: flex-start; gap: 11px; }
.form-consent input[type="checkbox"] { margin-top: 5px; flex-shrink: 0; }
.form-consent label { font-weight: 400; font-size: 0.87rem; line-height: 1.5; margin-bottom: 0; }
.form-consent a { text-decoration: underline; }

.form-hint { font-size: 0.83rem; color: var(--muted); margin-top: 5px; }
.form-optional { font-weight: 400; color: var(--muted); }

.form-state {
  margin-top: 16px;
  padding: 12px 15px;
  border-radius: var(--radius);
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.45;
}

.form-state:empty { display: none; }
.form-state.loading { background: var(--surface-alt); color: var(--ink-soft); border: 1px solid var(--line-strong); }
.form-state.success { background: #E8F4EE; color: var(--ok); border: 1px solid #A5D0BB; }
.form-state.error { background: #FBEAE5; color: #97300F; border: 1px solid #EFB49C; }

.visual img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.visual--wide img { aspect-ratio: 16 / 9; }
.visual--tall img { aspect-ratio: 3 / 2; }

.visual-caption {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

footer {
  background: var(--ink);
  color: #AEB9C4;
  padding: 58px 0 28px;
}

footer .logo { color: #fff; }
footer .logo span[aria-hidden] { background: var(--accent); }
footer h3 { font-family: var(--font-title); color: #fff; font-size: 0.97rem; margin: 0 0 15px; }
footer a { color: #AEB9C4; transition: color var(--transition); }
footer a:hover { color: #fff; }
footer li { margin-bottom: 8px; font-size: 0.92rem; }
footer p { font-size: 0.92rem; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 46px; margin-bottom: 42px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  font-size: 0.83rem;
}

.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

.pending { font-weight: 700; color: var(--accent); font-size: 0.84rem; }
footer .pending { color: #E9A85F; }

.legal { max-width: 780px; margin: 0 auto; padding: 54px 24px 78px; }
.legal h1 { font-size: clamp(1.75rem, 3.4vw, 2.3rem); margin-bottom: 10px; }
.legal-intro { color: var(--muted); margin-bottom: 38px; }
.legal-block { margin-bottom: 32px; }
.legal-block h2 { font-size: 1.12rem; margin-bottom: 11px; }
.legal-block ul { list-style: disc; margin: 10px 0 0 20px; }
.legal-block li { margin-bottom: 6px; }
.legal-block a { text-decoration: underline; }

.legal-warning {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  padding: 17px 21px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 13px;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 52px 0; }
  header .container { gap: 20px; }
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 17px;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 22px 24px;
  }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .form-card { padding: 22px; }
  .hero { padding: 52px 0 40px; }
  .spec-row { grid-template-columns: 1fr; gap: 3px; }
  .step { padding-left: 46px; }
  .step::before { width: 32px; height: 32px; }
}
