:root {
  --ink: #24282f;
  --ink-soft: #3a3f47;
  --muted: #6b7178;
  --paper: #fbf8f4;
  --paper-2: #f3ece4;
  --card: #ffffff;
  --brand: #b0482f;
  --brand-dark: #8f3a25;
  --brand-tint: #faf0ea;
  --line: rgba(36, 40, 47, 0.1);
  --line-strong: rgba(36, 40, 47, 0.16);
  --shadow-sm: 0 1px 2px rgba(36, 40, 47, 0.06);
  --shadow: 0 18px 50px rgba(36, 40, 47, 0.1);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Brand lockup ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: block;
  height: 34px;
  width: auto;
}

.brand--footer .brand-mark {
  height: 26px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(251, 248, 244, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.cta):hover {
  color: var(--brand);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-soft);
}

.lang-switch:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, transform 0.18s ease;
}

.cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.82rem;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.lead {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

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

.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease;
}

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

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.signal-card {
  padding: 30px;
}

.signal-card h2 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.signal-intro {
  margin: 8px 0 0;
  color: var(--muted);
}

.signal-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.signal {
  padding: 16px;
  border-radius: 12px;
  background: var(--brand-tint);
  border: 1px solid rgba(176, 72, 47, 0.14);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.signal strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

/* ---------- Sections ---------- */
section {
  padding: 56px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service {
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(36, 40, 47, 0.13);
}

.service-num {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.95rem;
}

.service h3 {
  margin: 18px 0 8px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.service p,
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.68;
}

.service p {
  margin: 0;
}

/* ---------- Company / contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-panel {
  padding: 30px;
}

.contact-panel h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.facts {
  display: grid;
  gap: 0;
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact > span {
  color: var(--muted);
  flex-shrink: 0;
}

.fact strong {
  text-align: right;
}

.fact a {
  text-decoration: none;
  color: var(--brand);
}

.fact a:hover {
  text-decoration: underline;
}

.addr {
  font-weight: 500;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand);
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 820px;
  padding: 56px 0;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.legal h2 {
  margin-top: 34px;
}

/* ---------- Interior page hero ---------- */
.hero-narrow {
  max-width: 780px;
}

.hero-narrow .lead {
  max-width: 680px;
}

/* ---------- Grid variants ---------- */
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature {
  padding: 26px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 24px;
}

.step-num {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.step h3 {
  margin: 16px 0 6px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Check list ---------- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-tint);
  border: 1px solid rgba(176, 72, 47, 0.3);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Panel (split sections) ---------- */
.panel {
  padding: 36px;
}

.panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.panel p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px;
}

/* ---------- Industry pills ---------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 48px 30px;
  background: var(--brand-tint);
  border: 1px solid rgba(176, 72, 47, 0.18);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-top: 0;
}

/* ---------- Contact form ---------- */
.form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(176, 72, 47, 0.14);
}

.form .cta {
  justify-self: start;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* ---------- Contact channels ---------- */
.channels {
  display: grid;
  gap: 0;
  margin-top: 6px;
}

.channel {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.channel:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.channel > span {
  color: var(--muted);
}

.channel a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.channel a:hover {
  text-decoration: underline;
}

/* ---------- Fineprint / disclaimer ---------- */
.fineprint {
  margin: 0 auto;
  padding: 26px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 820px;
}

/* ---------- Legal language note ---------- */
.legal .eyebrow {
  margin-bottom: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid,
  .grid,
  .grid--2,
  .steps,
  .form-row,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .nav-inner {
    min-height: 64px;
    gap: 12px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.9rem;
  }

  .nav-links a:not(.cta):not(.lang-switch) {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
