:root {
  --bg: #f3f6f5;
  --bg-hero-start: #f8faf9;
  --bg-hero-end: #eef4f1;
  --surface: #ffffff;
  --border: #dce5e1;
  --brand: #176b58;
  --brand-hover: #12675c;
  --brand-soft: #e5f2ee;
  --accent: #e29b25;
  --text: #183133;
  --muted: #667c7c;
  --urgent: #c2410c;
  --ok: #2a6b4a;
  --shadow: 0 10px 30px rgba(24, 49, 51, 0.08);
  --shadow-hover: 0 16px 36px rgba(24, 49, 51, 0.12);
  --radius: 16px;
  --radius-btn: 12px;
  --header-h: 72px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(226, 155, 37, 0.06), transparent 28%),
    linear-gradient(180deg, var(--bg-hero-start), var(--bg));
  min-height: 100vh;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--surface);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 249, 0.92);
  border-bottom: 1px solid rgba(220, 229, 225, 0.9);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(24, 49, 51, 0.06);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand__logo {
  width: min(220px, 52vw);
  height: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(23, 107, 88, 0.22);
}

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

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: transparent;
}

.btn--ghost:hover {
  background: var(--brand-soft);
}

.btn--lg {
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
}

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

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero__lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.nuevo-link {
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 36rem;
}

.nuevo-link__label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.nuevo-link__url {
  display: inline-block;
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-all;
  text-decoration: none;
  color: var(--brand);
}

.nuevo-link__url:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

.nuevo-link__url:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.nuevo-link__hint {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.hero__trust {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero__visual {
  position: relative;
}

.hero__visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.55);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  word-break: break-all;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }

  .hero__visual {
    order: 2;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .pill {
    display: none;
  }

  .site-header__inner {
    padding: 0.65rem 1rem;
  }

  .btn--header {
    padding-inline: 1rem;
  }

  .hero {
    padding: 1.25rem 1rem 2.5rem;
    gap: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

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

  .btn {
    transition: none;
  }

  .btn--primary:hover {
    transform: none;
  }
}
