/* Orbitron – the whole visual design. No framework, no web fonts.
   Light sections on warm paper, dark sections in ink, one copper accent.
   All text/background pairs below meet WCAG AA contrast. */

:root {
  --ink: #14202b;
  --ink-raised: #1c2b38;
  --ink-deep: #0e171f;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #e2ddd3;
  --text: #14202b;
  --muted: #5a6672;
  --copper: #a64f19;
  --copper-dark: #87400f;
  --copper-light: #e08a4a;
  --on-ink: #f7f5f0;
  --on-ink-muted: #b9c3cc;

  --wrap: 72rem;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

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

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.7rem, 1rem + 2.2vw, 2.5rem); font-weight: 750; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 680; }
p { margin: 0 0 1em; }

a { color: var(--copper); text-underline-offset: 0.18em; }
a:hover { color: var(--copper-dark); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.contact :focus-visible, .site-footer :focus-visible { outline-color: var(--copper-light); } /* dark sections with links */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--on-ink); padding: 0.6rem 1rem; z-index: 10;
}
.skip:focus { top: 1rem; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.9rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 44rem; margin-bottom: 3rem; }

/* ----------------------------------------------------------- buttons */

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0; }
.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--copper);
  background: var(--copper);
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.button:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: var(--white); }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

/* ------------------------------------------------------------ header */

/* Not sticky: the full logo, tagline included, is too tall to keep on screen. */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0 1rem; min-height: 4.2rem;
}
.logo { display: block; flex: none; padding: 0.6rem 0; } /* never squeeze the logo */
.logo img { height: 6.5rem; width: auto; } /* keeps "global perspective" legible */

.nav { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.97rem; font-weight: 550; white-space: nowrap; }
.nav a:hover { color: var(--copper); }
.nav-contact {
  padding: 0.4rem 1rem; border: 2px solid var(--ink); border-radius: 999px;
}
.nav a.nav-contact:hover { background: var(--ink); color: var(--on-ink); }
.nav-lang { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--muted); }

/* -------------------------------------------------------------- hero */

.hero { overflow: hidden; padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-photo { position: relative; }
/* An orbit drawn around the photo – the same idea as the logo mark. */
.hero-photo::before {
  content: "";
  position: absolute; inset: -12% -9%;
  border: 1.5px solid var(--copper-light);
  border-radius: 50%;
  transform: rotate(-14deg);
  opacity: 0.55;
}
.hero-photo img {
  position: relative;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -24px rgba(20, 32, 43, 0.45);
}
.trust {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  list-style: none; margin: 0; padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem; color: var(--muted);
}
.trust li::before { content: "✓"; color: var(--copper); font-weight: 700; margin-right: 0.45rem; }

/* ----------------------------------------------------------- problem */

.problem { background: var(--white); }
.problem h2 { max-width: 36rem; margin-bottom: 2.5rem; }
.problem-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  list-style: none; margin: 0; padding: 0; counter-reset: problem;
}
.problem-list li { counter-increment: problem; border-top: 3px solid var(--copper); padding-top: 1.3rem; }
.problem-list li::before {
  content: counter(problem, decimal-leading-zero);
  display: block; font-size: 0.85rem; font-weight: 700;
  color: var(--copper); letter-spacing: 0.1em; margin-bottom: 0.5rem;
}
.problem-list p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------- services */

.services { background: var(--ink); color: var(--on-ink); }
.services .eyebrow { color: var(--copper-light); }
.services .lede { color: var(--on-ink-muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  background: var(--ink-raised);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  border-top: 3px solid var(--copper-light);
}
.service > p { color: var(--on-ink-muted); }
.ticks { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.ticks li {
  position: relative; padding: 0.45rem 0 0.45rem 1.6rem;
  border-top: 1px solid rgba(247, 245, 240, 0.1);
  font-size: 0.97rem;
}
.ticks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.95rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  border: 2px solid var(--copper-light);
}

/* ------------------------------------------------------------- about */

.about-grid {
  display: grid; grid-template-columns: 1fr 1.45fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.about-photo img { border-radius: var(--radius); box-shadow: 0 24px 50px -28px rgba(20, 32, 43, 0.5); }
.about-text > p { max-width: 38rem; }
.more a { font-weight: 600; }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem;
  margin: 2.2rem 0; padding: 1.6rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-size: 2.2rem; font-weight: 750; letter-spacing: -0.02em; color: var(--copper); line-height: 1.1; }
.stats dt { font-size: 0.9rem; color: var(--muted); }

.clients-label { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.4rem; }
.clients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0; font-weight: 600; }
.clients li:not(:last-child)::after { content: "·"; margin: 0 0.7rem; color: var(--copper); }

/* -------------------------------------------------------------- plan */

.plan { background: var(--white); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  list-style: none; margin: 0; padding: 0;
}
.steps li { position: relative; }
/* A thin line joining the step numbers on wide screens. */
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.4rem; left: 3.6rem; right: -1.6rem;
  border-top: 1px dashed var(--line);
}
.step-num {
  display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem; margin-bottom: 1.2rem;
  border-radius: 50%; border: 2px solid var(--copper);
  color: var(--copper); font-weight: 750;
}
.steps p { color: var(--muted); }
.plan-cta { margin: 2.5rem 0 0; }

/* ----------------------------------------------------------- contact */

.contact { background: var(--ink); color: var(--on-ink); }
.contact .eyebrow { color: var(--copper-light); }
.contact .lede { color: var(--on-ink-muted); }
.contact a { color: var(--on-ink); }
.contact a:hover { color: var(--copper-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-list { margin: 0; display: grid; gap: 1.4rem; }
.contact-list div { border-left: 3px solid var(--copper-light); padding-left: 1.2rem; }
.contact-list dt {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-ink-muted); margin-bottom: 0.15rem;
}
.contact-list dd { margin: 0; font-size: 1.3rem; font-weight: 600; }

/* ------------------------------------------- privacy and 404 pages */

.notfound { min-height: 55vh; }
.text-page { min-height: 55vh; }
.text-page .wrap > p { max-width: 42rem; }
.notfound-code { font-size: 5rem; font-weight: 800; color: var(--copper); line-height: 1; margin-bottom: 1rem; }

/* ------------------------------------------------------------ footer */

.site-footer { background: var(--ink-deep); color: var(--on-ink-muted); font-size: 0.9rem; padding: 2.5rem 0; }
.site-footer strong { color: var(--on-ink); }
.footer-inner { display: grid; grid-template-columns: 1fr minmax(0, 28rem); align-items: center; gap: 2rem; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--on-ink); }
.site-footer a:hover { color: var(--copper-light); }
.footer-small { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(247, 245, 240, 0.12); font-size: 0.85rem; }
.footer-small p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 1.5rem; }
.footer-brand img { height: 5.5rem; width: auto; flex: none; }
.footer-legal { text-align: right; }

/* ------------------------------------------------------- narrow view */

@media (max-width: 900px) {
  .problem-list, .service-grid, .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps li:not(:last-child)::after { display: none; }
}

@media (max-width: 960px) {
  .nav-section { display: none; } /* the page is short; Contact stays reachable */
}

@media (max-width: 800px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { margin: 1rem 0.5rem 0; }
  .about-photo { max-width: 22rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal { text-align: left; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
  .clients { flex-direction: column; }
  .clients li:not(:last-child)::after { content: none; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stats div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 0.8rem; }
}
