:root {
  --green-dark: #0f3d2e;
  --green: #1a5c44;
  --green-light: #2d8a63;
  --gold: #f4c430;
  --cream: #f7faf8;
  --text: #0a1f17;
  --muted: #4a6358;
  --purple: #7c5cff;
  --blue: #54b4ff;
  --wa: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.site-body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

body.site-body--dark {
  background: linear-gradient(145deg, var(--green-dark) 0%, #0a2920 40%, #061912 100%);
  color: var(--cream);
}

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

.site-header {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-logo {
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  color: inherit;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.15s;
}

.site-nav a:hover { opacity: 1; text-decoration: underline; }

.site-nav__login {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  margin-left: 0.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--green);
  color: #fff;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  opacity: 1;
  box-shadow: 0 4px 14px rgba(26, 92, 68, 0.25);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.site-nav__login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 92, 68, 0.35);
  text-decoration: none;
  opacity: 1;
}

body.site-body--dark .site-nav a { color: #b8e6d0; }

body.site-body--dark .site-nav__login {
  border-color: var(--green-light);
  color: #fff;
}

.site-main {
  flex: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* ─── Footer profesional ─── */
.site-footer {
  width: 100%;
  margin-top: auto;
}

.site-footer__shell {
  background: linear-gradient(180deg, #0a2920 0%, #061912 100%);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
}

.site-footer__top {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 720px) {
  .site-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.site-footer__brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
}

.site-footer__brand-tagline {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
  max-width: 28rem;
}

.site-footer__entity {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.site-footer__entity strong {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.site-footer__col-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s;
}

.site-footer__links a:hover {
  color: #b8e6d0;
}

.site-footer__contact-item {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.site-footer__contact-item a {
  color: #b8e6d0;
  text-decoration: none;
}

.site-footer__contact-item a:hover { text-decoration: underline; }

.site-footer__legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.site-footer__copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.pay-badges span {
  background: rgba(255, 255, 255, 0.92);
  color: #1a1f71;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.22rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 13px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(26, 92, 68, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(26, 92, 68, 0.45);
}

.btn-primary:disabled,
.btn-primary.is-locked {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 13px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
  transition: background 0.15s;
}

.btn-secondary:hover {
  background: rgba(26, 92, 68, 0.06);
}

body.site-body--dark .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #b8e6d0;
}
