/* Base */
:root {
  color-scheme: light;
  --text: #34322f;
  --dark: #292826;
  --muted: #66625d;
  --accent: #f89b1c;
  --accent-text: #995200;
  --line: #e2ded8;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: #fff;
  font: 1rem/1.6 system-ui, sans-serif;
}
p, h1, h2 { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
a:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 5px; }

.skip-link {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--dark);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* Encabezado */
header { border-bottom: 1px solid var(--line); }
.header-content, .footer-content {
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
  font-size: .875rem;
}
.brand {
  display: flex;
  align-items: center;
  color: #8c8d8d;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.055em;
  text-decoration: none;
}
.brand img { width: 152px; height: auto; }
.brand b { color: var(--accent); }
.muted { color: var(--muted); }

/* Pago: las tres empresas comparten la misma caluga. */
main {
  flex: 1;
  padding-block: 60px;
  background: linear-gradient(#fffaf4, #fff 60%);
}
.payment-content { display: grid; gap: 34px; }
.intro { max-width: 720px; margin-inline: auto; text-align: center; }
.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-text);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1 {
  color: var(--dark);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.lead { max-width: 610px; margin: 18px auto 0; color: var(--muted); font-size: 1.0625rem; }
.companies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(18px, 2vw, 27px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 20px;
  background: linear-gradient(155deg, #fff 72%, #fff9f0);
  box-shadow: 0 12px 34px rgb(41 40 38 / 8%);
  text-align: center;
  text-decoration: none;
}
.card:hover { border-color: var(--accent); box-shadow: 0 16px 40px rgb(41 40 38 / 12%); }
.logo {
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.logo img { width: 100%; height: 80px; object-fit: contain; }
.card h2 { color: var(--dark); font-size: 1.125rem; line-height: 1.4; }
.category { margin: 4px 0 16px; color: var(--muted); font-size: .875rem; }
.action {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  background: #3b3936;
  font-weight: 700;
  line-height: 1.4;
}
.card:hover .action { background: var(--dark); }
.requirements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  color: var(--muted);
  font-size: .875rem;
}
.requirements span { margin-right: 4px; color: var(--accent-text); font-weight: 700; }
.notice {
  max-width: 790px;
  margin-inline: auto;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: #f7f5f2;
  font-size: .875rem;
}
.notice strong { color: var(--text); }
footer { color: #d4cec7; background: #242321; }

/* Una columna cuando las tres calugas ya no caben cómodamente. */
@media (max-width: 760px) {
  main { padding-block: 38px 44px; }
  .payment-content { gap: 28px; }
  .companies { grid-template-columns: 1fr; max-width: 460px; }
  .logo img { max-width: 245px; }
  .requirements { justify-content: flex-start; }
}
