/* EvolveTech Consulting — evolvetech-consulting.com
   Static one-page site. No frameworks, no external requests. */

:root {
  --ink:        #101418;
  --body:       #4d5763;
  --muted:      #6b7684;
  --line:       #e5e2dc;
  --bg:         #ffffff;
  --bg-alt:     #f7f6f3;
  --bg-dark:    #121a1e;
  --accent:     #2f6f60;   /* verde de marca oscurecido: 5.8:1 sobre blanco */
  --accent-ink: #ffffff;
  --brand:      #639b8e;   /* verde exacto del logo, solo decorativo */
  --brand-slate:#6d7781;   /* pizarra del logo */
  --card:       #ffffff;

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

@media (prefers-color-scheme: dark) {
  :root {
    --ink:     #f2f4f7;
    --body:    #a8b2be;
    --muted:   #8d97a4;
    --line:    #262c34;
    --bg:      #0c0f13;
    --bg-alt:  #12161b;
    --bg-dark: #05070a;
    --accent:  #7fc4b2;
    --accent-ink: #07100d;
    --brand:   #639b8e;
    --brand-slate: #6d7781;
    --card:    #151a20;
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); }

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px;
  z-index: 10;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 6px;
  text-decoration: none;
}

/* ── Header ───────────────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .mark {
  height: 23px;
  width: auto;
  display: block;
  flex: none;
}

.header-link {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.header-link:hover { text-decoration: underline; }

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  padding: 104px 0 96px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 36px;
}

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

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  border: 1px solid transparent;
  transition: opacity .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }

/* ── Sections ─────────────────────────────────────────────── */

.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 680;
  margin-bottom: 44px;
}

/* ── What we do ───────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}

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

.card h3 {
  font-size: 1.08rem;
  font-weight: 640;
  margin-bottom: 12px;
}

.card p { font-size: 15.5px; line-height: 1.62; }

.footnote {
  margin-top: 28px;
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
}

/* ── The proof ────────────────────────────────────────────── */

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.proof-body { max-width: 62ch; }

.proof-lead {
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--ink);
}
.proof-lead strong { font-weight: 680; }

.callout {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  color: var(--ink);
  font-size: 15.5px;
}

.proof-link { margin-top: 28px; }
.proof-link a {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.proof-link a:hover { text-decoration: underline; }

.proof-facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 26px 24px;
}

.proof-facts dl { margin: 0; }
.proof-facts div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.proof-facts dt {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.proof-facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
}

/* ── How we work ──────────────────────────────────────────── */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 56px;
}

.steps li {
  counter-increment: step;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.steps h3 {
  font-size: 1.05rem;
  font-weight: 640;
  margin-bottom: 9px;
}

.steps p { font-size: 15.5px; line-height: 1.6; }

/* ── Contact ──────────────────────────────────────────────── */

.contact {
  background: var(--bg-dark);
  color: #b3bcc7;
  padding: 92px 0;
}

.contact h2 {
  color: #ffffff;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 680;
  margin-bottom: 18px;
}

.eyebrow-light { color: #7f8a98; }

.contact-lede {
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 32px;
}

.contact-mail a {
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  font-weight: 620;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 3px;
  letter-spacing: -0.015em;
  word-break: break-word;
}
.contact-mail a:hover { border-bottom-color: #ffffff; }

/* ── Footer (legal — required for entity verification) ────── */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
}

.footer-inner p { margin: 0 0 6px; font-size: 14.5px; }

.legal-name { font-weight: 640; color: var(--ink); }

/* Address must render exactly as registered — no transforms. */
.legal-address { text-transform: none; color: var(--body); }

.legal-mail a { text-decoration: none; }
.legal-mail a:hover { text-decoration: underline; }

.copyright { margin-top: 14px; color: var(--muted); font-size: 13.5px; }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 860px) {
  .proof { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .contact { padding: 68px 0; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .actions .btn { flex: 1 1 auto; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Anchor targets clear the sticky header. */
#services, #slate, #approach, #contact { scroll-margin-top: 84px; }
