:root {
  --vinotinto: #6f0510;
  --oro: #ffd700;
  --oro-dark: #caa800;
  --white: #ffffff;
  --light: #f6f4f2;
  --ink: #1f1a1a;
  --muted: #6b6262;
  --shadow: 0 20px 60px rgba(111, 5, 16, 0.12);
  --radius: 22px;
  --section-space: 52px;
}

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

body {
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: var(--light);
  line-height: 1.6;
}

.bg-orbit {
  position: fixed;
  inset: -20vh -10vw auto auto;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle at center, rgba(111, 5, 16, 0.12), transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(111, 5, 16, 0.08);
}

.nav {
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--vinotinto);
  text-decoration: none;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.logo-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 6px 12px rgba(27, 0, 5, 0.12);
}

.logo-text {
  font-size: 1rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

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

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.btn:focus-visible,
.whatsapp-float:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--vinotinto);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--vinotinto);
  color: var(--oro);
  box-shadow: var(--shadow);
}

.btn-outline {
  border: 1px solid rgba(111, 5, 16, 0.2);
  color: var(--vinotinto);
  background: transparent;
}

.btn-gold {
  background: var(--oro);
  color: var(--vinotinto);
  font-weight: 700;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 1150px;
  margin: 0 auto;
  padding: 56px 28px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.eyebrow {
  color: var(--vinotinto);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: min(560px, 95vw);
  aspect-ratio: 16 / 7;
  background: linear-gradient(140deg, rgba(111, 5, 16, 0.1), rgba(255, 215, 0, 0.2));
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 5, 16, 0.12);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(111, 5, 16, 0.28), rgba(111, 5, 16, 0.02));
  mix-blend-mode: multiply;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.section {
  max-width: 1150px;
  margin: 0 auto;
  padding: var(--section-space) 28px;
}

.section.alt {
  background: var(--white);
  border-radius: var(--radius);
  margin: 24px auto;
  box-shadow: var(--shadow);
}

#tasas {
  padding-top: 24px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dual-panel {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.card h3 {
  color: var(--vinotinto);
  margin-bottom: 12px;
}

.panel-list {
  display: grid;
  gap: 16px;
}

.panel-list h4 {
  color: var(--vinotinto);
  margin-bottom: 4px;
}

.rate-pill {
  margin-top: 18px;
  background: rgba(111, 5, 16, 0.08);
  color: var(--vinotinto);
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.rate-note {
  margin-top: 12px;
  color: var(--muted);
}

.rate-table-wrap {
  margin-top: 14px;
  border: 1px solid rgba(111, 5, 16, 0.14);
  border-radius: 14px;
  overflow: hidden;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.rate-table th,
.rate-table td {
  padding: 10px 12px;
  text-align: left;
}

.rate-table thead {
  background: rgba(111, 5, 16, 0.08);
  color: var(--vinotinto);
}

.rate-table tbody tr + tr {
  border-top: 1px solid rgba(111, 5, 16, 0.1);
}

.checks {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.checks li::before {
  content: "\2714";
  color: var(--vinotinto);
  margin-right: 8px;
}

.info-row {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.infographic {
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.mini-chart {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  height: 120px;
}

.bar {
  flex: 1;
  background: var(--vinotinto);
  border-radius: 12px 12px 4px 4px;
}

.bar-40 {
  height: 40%;
}

.bar-55 {
  height: 55%;
}

.bar-70 {
  height: 70%;
}

.bar-85 {
  height: 85%;
}

.example {
  background: var(--vinotinto);
  color: var(--white);
  padding: 30px;
  border-radius: var(--radius);
}

.amount {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 10px 0 6px;
}

.note {
  color: rgba(255, 255, 255, 0.8);
}

.capsule {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  border-radius: 14px;
}

.contact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 215, 0, 0.1));
  border-radius: var(--radius);
  margin: 24px auto 56px;
  box-shadow: var(--shadow);
}

.contact-wrap {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--vinotinto);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(111, 5, 16, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form button {
  width: fit-content;
}

.fine-print {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

.fine-print a {
  color: var(--vinotinto);
  font-weight: 600;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.callout {
  background: var(--white);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(111, 5, 16, 0.08);
}

.footer {
  text-align: center;
  padding: 30px 20px 60px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p + p {
  margin-top: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  min-height: 56px;
  max-width: 330px;
  border-radius: 999px;
  background: linear-gradient(120deg, #1e9d53, #2dbe63);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  z-index: 20;
}

.whatsapp-icon {
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 5px 10px;
}

.whatsapp-text {
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 34px 20px 14px;
  }

  .section {
    padding: 40px 20px;
  }

  .image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .nav-links {
    display: none;
  }

  .whatsapp-float {
    right: 14px;
    left: 14px;
    bottom: 14px;
    max-width: none;
    justify-content: center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
