:root {
  /* Paleta tomada del logo */
  --orange-700: #c96a00;
  --orange-600: #ef8108;
  --orange-500: #f29539;
  --orange-400: #f3a458;
  --orange-50: #fff6ec;
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --paper: #ffffff;
  --line: #ecdfd1;

  --radius: 14px;
  --container: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--orange-600); outline-offset: 3px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange-700);
  margin-bottom: .75em;
}

/* Botones */
.btn {
  display: inline-block;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s, color .15s, transform .15s;
  word-break: break-word;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5em 1.1em; font-size: .95rem; }
.btn-primary { background: var(--orange-600); color: #fff; }
.btn-primary:hover { background: var(--orange-700); }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand img { height: 34px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.site-nav a:not(.btn):hover { color: var(--orange-700); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { background: var(--orange-600); color: #fff; padding: clamp(56px, 9vw, 112px) 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: #fff; opacity: .85; }
.lead { font-size: 1.2rem; max-width: 36em; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-primary { background: #fff; color: var(--orange-700); }
.hero .btn-primary:hover { background: var(--orange-50); }
.hero-art img { width: 100%; max-width: 460px; margin-left: auto; opacity: .95; }

/* Secciones */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--orange-50); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .eyebrow { color: var(--orange-400); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--ink-soft); }

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

.card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card p { color: var(--ink-soft); margin: 0; }
.card-num { display: block; font-weight: 800; font-size: 2rem; color: var(--orange-400); margin-bottom: 12px; }

.feature { padding: 28px 28px 28px 32px; background: #fff; border-radius: var(--radius); border-left: 5px solid var(--orange-600); }
.feature:nth-child(2) { border-color: var(--orange-500); }
.feature:nth-child(3) { border-color: var(--orange-400); }
.feature p { color: var(--ink-soft); margin: 0; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: paso; }
.steps li { counter-increment: paso; padding-top: 20px; border-top: 3px solid var(--orange-600); }
.steps li::before { content: counter(paso, decimal-leading-zero); display: block; font-weight: 800; color: var(--orange-600); margin-bottom: 8px; }
.steps p { color: var(--ink-soft); margin: 0; }

/* Denuncia */
.denuncia-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.denuncia-inner > div p { color: #d6d6d6; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist li { position: relative; padding: 18px 20px 18px 52px; background: #1d1d1d; border-radius: var(--radius); }
.checklist li::before {
  content: ""; position: absolute; left: 20px; top: 22px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange-600);
  box-shadow: inset 0 0 0 5px #1d1d1d;
  border: 2px solid var(--orange-600);
}
.checklist a { color: var(--orange-400); }

/* Contacto */
.contacto-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.contacto-logo { max-width: 380px; margin: 0 auto; }
.contacto-inner p { color: var(--ink-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .95rem; color: var(--ink-soft); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner p { margin: 0; }
.social { display: flex; gap: 20px; }
.social a { text-decoration: none; font-weight: 600; }
.social a:hover { color: var(--orange-700); }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .denuncia-inner, .contacto-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .contacto-logo { margin: 0; max-width: 260px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand img { height: 28px; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .card, .feature { padding: 24px; }
}

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