/* =========================
   ONLINE PAGE — CSS LIMPIO
   ========================= */

:root {
  --navy: #07182b;
  --navy-soft: #0c2440;
  --cream: #fff7ea;
  --cream-soft: #fffaf1;
  --gold: #d9a85c;
  --gold-dark: #b98236;
  --text-dark: #172033;
  --muted: #5e6470;
  --input-line: rgba(23, 32, 51, .22);
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--cream);
  background: var(--navy);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 24, 43, .26) 0%,
      rgba(7, 24, 43, .10) 44%,
      rgba(7, 24, 43, .42) 100%
    ),
    url("assets/fondo-desktop.png");
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 45% 14%, rgba(217, 168, 92, .11), transparent 22%),
    radial-gradient(circle at 82% 76%, rgba(255, 247, 234, .06), transparent 24%),
    linear-gradient(180deg, rgba(3, 11, 22, .08), rgba(3, 11, 22, .08));
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

/* HEADER */

.site-header {
  height: 82px;
  border-bottom: 0;
  background: transparent;
  position: relative;
  z-index: 10;
}

.header-inner {
  width: min(1160px, calc(100% - 70px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 118px;
  height: 118px;
  display: block;
  margin-top: 38px;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, .28))
    drop-shadow(0 0 10px rgba(255, 247, 234, .14));
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 247, 234, .88);
  font-size: 1rem;
  font-weight: 700;
}

.back-link span {
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1;
}

/* DESKTOP LAYOUT */

@media (min-width: 761px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .mobile-footer {
    display: none !important;
  }

  .page {
    height: calc(100vh - 82px);
    overflow: hidden;
  }

  .hero-section {
    height: 100%;
    padding: 0;
    overflow: hidden;
  }

  .hero-content {
    width: min(1160px, calc(100% - 70px));
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 82px;
    align-items: center;
    transform: translateY(-18px);
  }
}

/* HERO COPY */

.hero-copy {
  max-width: 550px;
  transform: translateY(-8px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .86rem;
  font-weight: 850;
  position: relative;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 46px;
  height: 2px;
  background: var(--gold);
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.045em;
}

h1 {
  margin-bottom: 22px;
  color: var(--cream);
  font-size: clamp(4.2rem, 6.4vw, 6.2rem);
  text-shadow: 0 10px 32px rgba(0, 0, 0, .28);
}

.lead {
  max-width: 470px;
  color: rgba(255, 247, 234, .92);
  font-size: 1.03rem;
  line-height: 1.55;
}

.pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pills span {
  min-height: 42px;
  padding: 0 18px;
  border: 1.4px solid rgba(217, 168, 92, .92);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  background: rgba(7, 24, 43, .25);
  backdrop-filter: blur(6px);
  font-size: .94rem;
  font-weight: 750;
}

.online-note {
  width: min(390px, 100%);
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 247, 234, .16);
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
}

.online-note span {
  width: 38px;
  height: 38px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}

.online-note p {
  color: rgba(255, 247, 234, .94);
  font-size: .96rem;
  line-height: 1.45;
}

/* CHECKOUT CARD */

.checkout-card {
  width: 100%;
  padding: 28px 38px 30px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .88), transparent 50%),
    var(--cream-soft);
  color: var(--text-dark);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .36),
    inset 0 0 0 1px rgba(217, 168, 92, .2);
  border: 1px solid rgba(217, 168, 92, .42);
  transform: translateY(26px);
}

.card-eyebrow {
  margin-bottom: 7px;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 900;
  text-align: center;
}

.checkout-card h2 {
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: clamp(2.45rem, 3.2vw, 3.15rem);
  text-align: center;
}

.checkout-card h2 span {
  color: var(--gold-dark);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.25rem;
  vertical-align: middle;
}

.card-intro {
  max-width: 380px;
  margin: 0 auto 18px;
  color: var(--muted);
  text-align: center;
  font-size: .92rem;
  line-height: 1.45;
}

.benefits {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 18px 0 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(23, 32, 51, .14);
  border-bottom: 1px solid rgba(23, 32, 51, .14);
}

.benefits li {
  display: flex;
  gap: 10px;
  color: var(--text-dark);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.32;
}

.benefits li::before {
  content: "✓";
  color: var(--gold-dark);
  font-weight: 950;
}

.price {
  margin: 2px 0 14px;
  color: var(--text-dark);
  font-size: 2.75rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.06em;
  text-align: center;
}

.price small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.35;
}

.privacy-check input {
  width: 15px;
  height: 15px;
  min-width: 15px;
  margin-top: 1px;
  accent-color: var(--gold-dark);
}

.privacy-check a {
  color: var(--gold-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cancel-policy-link {
  margin: 0 0 12px;
  text-align: center;
}

.cancel-policy-link button {
  border: 0;
  background: transparent;
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.stripe-box {
  min-height: 48px;
  display: grid;
  place-items: center;
  transition: opacity .18s ease, filter .18s ease;
}

.stripe-box.is-disabled {
  opacity: .42;
  filter: grayscale(1);
  pointer-events: none;
}

.secure-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
  text-align: center;
}

/* MODAL */

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 24, 43, .72);
  backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-box {
  width: min(460px, 100%);
  padding: 42px 30px 34px;
  border-radius: 26px;
  background: var(--cream-soft);
  color: var(--text-dark);
  text-align: center;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
  border: 1px solid rgba(217, 168, 92, .38);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.modal-icon {
  color: var(--gold-dark);
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.modal-box h3 {
  margin-bottom: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  line-height: 1;
}

.modal-text {
  display: grid;
  gap: 12px;
  text-align: left;
}

.modal-text p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.5;
  font-weight: 600;
}

/* DESKTOP BAJO */

@media (min-width: 761px) and (max-height: 760px) {
  .site-header {
    height: 70px;
  }

  .brand {
    width: 100px;
    height: 100px;
    margin-top: 30px;
  }

  .page {
    height: calc(100vh - 70px);
  }

  .hero-content {
    transform: translateY(-22px);
  }

  h1 {
    font-size: clamp(3.9rem, 5.8vw, 5.5rem);
    margin-bottom: 18px;
  }

  .lead {
    font-size: .97rem;
    line-height: 1.45;
  }

  .pills {
    margin-top: 20px;
  }

  .pills span {
    min-height: 38px;
    padding: 0 16px;
    font-size: .88rem;
  }

  .online-note {
    margin-top: 20px;
    padding-top: 16px;
  }

  .checkout-card {
    padding: 24px 36px 26px;
    transform: translateY(22px);
  }

  .checkout-card h2 {
    font-size: 2.75rem;
  }

  .benefits {
    gap: 7px;
    margin: 14px 0;
    padding: 14px 0;
  }

  .benefits li {
    font-size: .84rem;
  }

  .price {
    font-size: 2.45rem;
  }
}

/* TABLET + MOBILE */

@media (max-width: 760px) {
  html,
  body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body::before {
    background-image:
      linear-gradient(180deg, rgba(7, 24, 43, .28), rgba(7, 24, 43, .58)),
      url("assets/fondo-mobile.png");
    background-position: center top;
  }

  .site-header {
    height: 72px;
  }

  .header-inner {
    width: min(1160px, calc(100% - 32px));
  }

  .brand {
    width: 78px;
    height: 78px;
    margin-top: 12px;
    padding: 0;
  }

  .back-link {
    gap: 10px;
    font-size: .88rem;
  }

  .back-link span {
    font-size: 1.35rem;
  }

  .page {
    min-height: auto;
  }

  .hero-section {
    padding: 54px 0 34px;
  }

  .hero-content {
    width: min(100% - 32px, 560px);
    margin-inline: auto;
    display: grid;
    gap: 34px;
  }

  .hero-copy {
    max-width: none;
    transform: none;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: .76rem;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(3.05rem, 14vw, 4.4rem);
  }

  .lead {
    max-width: none;
    font-size: .98rem;
    line-height: 1.55;
  }

  .pills {
    margin-top: 22px;
    gap: 10px;
  }

  .pills span {
    min-height: 38px;
    padding: 0 14px;
    font-size: .86rem;
  }

  .online-note {
    width: 100%;
    margin-top: 22px;
  }

  .checkout-card {
    padding: 26px 22px 28px;
    border-radius: 24px;
    transform: none;
  }

  .checkout-card h2 {
    font-size: clamp(2.4rem, 11vw, 3rem);
  }

  .card-intro {
    font-size: .9rem;
  }

  .benefits {
    gap: 10px;
  }

  .price {
    font-size: 2.55rem;
  }

  .mobile-footer {
    min-height: 68px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 247, 234, .13);
    background: rgba(7, 24, 43, .78);
    color: rgba(255, 247, 234, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }

  .mobile-footer span {
    color: var(--gold);
  }

  .mobile-footer p {
    max-width: 330px;
    font-size: .86rem;
    line-height: 1.4;
  }
}

@media (max-width: 390px) {
  .hero-content {
    width: min(100% - 26px, 560px);
  }

  .checkout-card {
    padding-inline: 18px;
  }

  h1 {
    font-size: 2.85rem;
  }

  .pills span {
    font-size: .82rem;
  }
}
