/* DineroListo — fintech landing, dark + oro / verde */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --bg-deep: #0c0f12;
  --bg: #12181f;
  --surface: #1a232e;
  --surface-2: #232d3b;
  --text: #eef2f6;
  --text-muted: #94a3b8;
  --accent: #d4a853;
  --accent-dim: #a67c2e;
  --line: rgba(212, 168, 83, 0.22);
  --green: #2f7d5c;
  --green-glow: rgba(47, 125, 92, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(47, 125, 92, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(212, 168, 83, 0.06), transparent);
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* country visibility */
html[data-country="mx"] .copy-co {
  display: none !important;
}

html[data-country="co"] .copy-mx {
  display: none !important;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(12, 15, 18, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 20px var(--green-glow);
}

.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

/* country toggle */
.country-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--line);
}

.country-toggle button {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.9rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.country-toggle button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--green), #256b4f);
  color: #fff;
  box-shadow: 0 2px 12px var(--green-glow);
}

.country-toggle button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* hero */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem) 3rem;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  background: linear-gradient(120deg, #fff 0%, #c8d4e0 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-keywords {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.hero-keywords strong {
  color: var(--text);
  font-weight: 600;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #0c0f12;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(212, 168, 83, 0.35);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, var(--green-glow), transparent 70%);
  pointer-events: none;
}

.hero-card p {
  margin: 0;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* gallery */
.section {
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 42rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(5, 1fr);
  }
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.2s, border-color 0.2s;
}

.gallery figure:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.45);
}

.gallery img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top center;
}

.gallery figcaption {
  padding: 0.5rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* prose blocks */
.prose-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}

.prose-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--accent);
}

.prose-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}

.prose-block p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.prose-block ol,
.prose-block ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.prose-block li {
  margin-bottom: 0.4rem;
}

.legal-box {
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border-left: 4px solid var(--accent);
}

.legal-box dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.legal-box dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.legal-box dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-box a {
  word-break: break-all;
}

/* footer */
.site-footer {
  margin-top: 3rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* privacy article */
.privacy-layout {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 4rem;
}

.privacy-layout h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 1.5rem;
}

.privacy-layout h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--accent);
}

.privacy-layout h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.privacy-layout p,
.privacy-layout li {
  color: var(--text-muted);
}

.privacy-layout ul {
  padding-left: 1.2rem;
}

.privacy-layout li {
  margin-bottom: 0.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #000;
  z-index: 200;
}

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