/* ========================================
   46 ANIVERSARIO — UI enfocada (estilo hub + calendarios)
   ======================================== */
:root {
  --coba-cyan: #1ac6d3;
  --coba-cyan-hover: #12b0bc;
  --coba-navy: #0d0a35;
  --coba-ink: #2d2c4e;
  --coba-muted: #5a6275;
  --coba-surface: #f4f7f8;
  --coba-card: #ffffff;
  --coba-radius: 14px;
  --coba-shadow: 0 8px 28px rgba(13, 10, 53, 0.1);
  --coba-max: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--coba-surface);
  color: var(--coba-ink);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 5.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  max-width: var(--coba-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--coba-surface);
  position: relative;
}

/* ——— Topbar ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 10, 53, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--coba-navy);
}

.brand__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coba-cyan);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(26, 198, 211, 0.12);
  color: var(--coba-cyan-hover);
}

.chip--warn {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(78vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem 1.75rem;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 10, 53, 0.35) 0%, rgba(13, 10, 53, 0.88) 55%, rgba(13, 10, 53, 0.96) 100%),
    url('../images/Flyers/hero-aniversario.jpg') center/cover no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: -100px;
  background: rgba(26, 198, 211, 0.18);
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  color: var(--coba-cyan);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 28rem;
  line-height: 1.45;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1.25rem 0 1.35rem;
  max-width: 22rem;
}

.countdown__cell {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.65rem 0.35rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

.countdown__num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--coba-cyan);
  line-height: 1;
}

.countdown__lbl {
  font-size: 0.65rem;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--coba-cyan);
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 198, 211, 0.35);
}

.btn--primary:hover {
  background: var(--coba-cyan-hover);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
  background: transparent;
  color: var(--coba-navy);
  border: 1.5px solid rgba(13, 10, 53, 0.18);
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

/* ——— Sections ——— */
.section {
  padding: 2rem 1.25rem;
}

.section + .section {
  border-top: 1px solid rgba(13, 10, 53, 0.06);
}

.section__head {
  margin-bottom: 1.15rem;
}

.section__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coba-cyan);
  margin-bottom: 0.35rem;
}

.section__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--coba-navy);
  letter-spacing: -0.02em;
}

.section__sub {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--coba-muted);
  line-height: 1.45;
}

/* ——— Circuit cards ——— */
.circuits {
  display: grid;
  gap: 0.75rem;
}

.circuit {
  background: var(--coba-card);
  border-radius: var(--coba-radius);
  box-shadow: var(--coba-shadow);
  overflow: hidden;
  border: 1px solid rgba(13, 10, 53, 0.04);
}

.circuit__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1.1rem;
  width: 100%;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.circuit__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(26, 198, 211, 0.12);
  color: var(--coba-cyan);
  font-size: 1.25rem;
}

.circuit__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--coba-navy);
}

.circuit__meta {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--coba-muted);
}

.circuit__badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--coba-navy);
  color: #fff;
  white-space: nowrap;
}

.circuit__chevron {
  color: var(--coba-muted);
  transition: transform 0.2s ease;
  margin-left: 0.35rem;
}

.circuit.is-open .circuit__chevron {
  transform: rotate(180deg);
}

.circuit__detail {
  display: none;
  padding: 0 1.1rem 1.1rem;
  font-size: 0.82rem;
  color: var(--coba-muted);
  line-height: 1.5;
  border-top: 1px solid rgba(13, 10, 53, 0.06);
}

.circuit.is-open .circuit__detail {
  display: block;
  padding-top: 0.85rem;
}

.circuit__detail strong {
  color: var(--coba-ink);
}

/* ——— Steps ——— */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--coba-card);
  border-radius: var(--coba-radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--coba-shadow);
}

.step::before {
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--coba-navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--coba-navy);
}

.step p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--coba-muted);
  line-height: 1.45;
}

/* ——— Payment ——— */
.pay-card {
  background: var(--coba-card);
  border-radius: var(--coba-radius);
  box-shadow: var(--coba-shadow);
  padding: 1.15rem;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.price {
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(26, 198, 211, 0.08);
  border: 1px solid rgba(26, 198, 211, 0.2);
}

.price--alt {
  background: rgba(13, 10, 53, 0.04);
  border-color: rgba(13, 10, 53, 0.08);
}

.price__amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--coba-navy);
  line-height: 1;
}

.price__when {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--coba-muted);
  line-height: 1.35;
}

.bank-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.bank-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(13, 10, 53, 0.06);
  font-size: 0.85rem;
}

.bank-list li:last-child {
  border-bottom: none;
}

.bank-list span:first-child {
  color: var(--coba-muted);
}

.bank-list span:last-child {
  font-weight: 700;
  color: var(--coba-navy);
  text-align: right;
  word-break: break-all;
}

.note {
  font-size: 0.78rem;
  color: var(--coba-muted);
  line-height: 1.45;
  margin: 0.75rem 0 0;
}

.note strong {
  color: var(--coba-ink);
}

/* ——— Kits ——— */
.kit-block {
  background: var(--coba-navy);
  color: #fff;
  border-radius: var(--coba-radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.kit-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.kit-block p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.kit-block .accent {
  color: var(--coba-cyan);
  font-weight: 700;
}

/* ——— FAQ ——— */
.faq {
  display: grid;
  gap: 0.5rem;
}

.faq-item {
  background: var(--coba-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(13, 10, 53, 0.06);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: left;
  color: var(--coba-navy);
  cursor: pointer;
}

.faq-q i {
  color: var(--coba-cyan);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-q i {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 1rem 1rem;
  font-size: 0.84rem;
  color: var(--coba-muted);
  line-height: 1.5;
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-a a {
  color: var(--coba-cyan);
  font-weight: 600;
  text-decoration: underline;
}

/* ——— Contact ——— */
.contact {
  background: var(--coba-card);
  border-radius: var(--coba-radius);
  padding: 1.25rem;
  box-shadow: var(--coba-shadow);
}

.contact h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.contact .role {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: var(--coba-muted);
}

.contact a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--coba-navy);
  padding: 0.35rem 0;
}

.contact a i {
  color: var(--coba-cyan);
  width: 1.1rem;
  text-align: center;
}

.footer {
  text-align: center;
  padding: 1.5rem 1.25rem 2rem;
  font-size: 0.75rem;
  color: var(--coba-muted);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coba-card);
  color: var(--coba-cyan);
  display: grid;
  place-items: center;
  box-shadow: var(--coba-shadow);
}

/* ——— Sticky bottom bar ——— */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(13, 10, 53, 0.08);
  box-shadow: 0 -8px 24px rgba(13, 10, 53, 0.08);
}

.dock .btn {
  width: 100%;
}

.dock .btn--primary {
  box-shadow: none;
}

.toast {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  background: #059669;
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) {
  .shell {
    box-shadow: 0 0 0 1px rgba(13, 10, 53, 0.04), 0 24px 60px rgba(13, 10, 53, 0.08);
    margin-top: 0;
    margin-bottom: 0;
  }

  body {
    background: #e8eef0;
  }

  .hero {
    min-height: 480px;
    border-radius: 0;
  }

  .circuits {
    grid-template-columns: 1fr;
  }
}
