.boleta-page { overflow: hidden; background: #f8fafb; }
.boleta-shell { width: min(100% - 48px, 1160px); margin-inline: auto; }

.boleta-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(62px, 8vw, 108px) 24px;
  background: linear-gradient(120deg, #f1f7f9 0%, #f8fafb 52%, #f7f8ed 100%);
}

.boleta-hero::before,
.boleta-hero::after {
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
  pointer-events: none;
}

.boleta-hero::before { top: -270px; left: -120px; background: radial-gradient(circle, rgba(32,160,208,.16), transparent 68%); }
.boleta-hero::after { right: -180px; bottom: -300px; background: radial-gradient(circle, rgba(195,207,43,.17), transparent 68%); }

.boleta-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
}

.boleta-intro { max-width: 720px; }
.boleta-intro .news-kicker { color: var(--apr-blue-700); }

.boleta-intro h1 {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-900);
  font: 400 clamp(42px, 6vw, 70px)/.98 var(--font-display);
  letter-spacing: .015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.boleta-intro > p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--ink-700);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}

.boleta-topics { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.boleta-topics span { padding: 8px 13px; border: 1px solid rgba(23,107,140,.13); border-radius: 999px; background: rgba(255,255,255,.75); color: var(--ink-700); font-size: 12px; font-weight: 700; }

.boleta-hero-card {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 11px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  background: linear-gradient(145deg, #176b8c, #123745);
  color: #fff;
  box-shadow: 0 24px 55px rgba(18,55,69,.2);
  animation: boleta-card-enter .7s cubic-bezier(.2,.8,.2,1) both;
}

.boleta-hero-card::after { position: absolute; right: -38px; bottom: -72px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.07); content: ""; }
.boleta-hero-card__icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; background: rgba(255,255,255,.13); color: #d4df45; }
.boleta-hero-card__icon svg { width: 34px; height: 34px; }
.boleta-hero-card__eyebrow { margin-top: 11px; color: #d4df45; font: 700 11px var(--font-accent); letter-spacing: .14em; text-transform: uppercase; }
.boleta-hero-card strong { max-width: 270px; font: 700 24px/1.15 var(--font-heading); text-wrap: balance; }
.boleta-hero-card p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.5; }

.boleta-explorer { padding: clamp(62px, 8vw, 96px) 24px 68px; }
.boleta-section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,.65fr); align-items: end; gap: 32px; }
.boleta-section-heading .news-kicker { color: var(--apr-blue-700); }
.boleta-section-heading h2,
.boleta-faq__intro h2 { margin: 12px 0 0; color: var(--ink-900); font: 400 clamp(34px, 4.5vw, 52px)/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; }
.boleta-section-heading > p { margin: 0 0 2px; color: var(--ink-600); font-size: 15px; line-height: 1.6; }

.boleta-map { max-width: 900px; margin: 34px auto 0; padding: clamp(10px, 2vw, 20px); border: 1px solid rgba(23,43,55,.1); border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgba(20,33,43,.1); }
.boleta-map-canvas { position: relative; max-width: 820px; margin: 0 auto; isolation: isolate; line-height: 0; }
.boleta-map-image { display: block; width: 100%; height: auto; border-radius: 14px; }
.boleta-map-zones { position: absolute; inset: 0; }

/* The map areas stay invisible; only their tooltip is shown. */
.boleta-map-zone { position: absolute; z-index: 1; display: block; margin: 0; padding: 0; border: 0; border-radius: 0; outline: none; background: transparent; color: var(--ink-900); cursor: pointer; touch-action: manipulation; }
.boleta-map-zone:hover, .boleta-map-zone[data-active="true"] { z-index: 10; border: 0; background: transparent; box-shadow: none; }
.boleta-map-zone:focus-visible { z-index: 12; outline: none; }
.boleta-map-tooltip { position: absolute; top: calc(100% + 9px); left: 0; display: none; width: min(310px, calc(100vw - 44px)); padding: 15px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: var(--ink-900); color: #fff; text-align: left; white-space: normal; line-height: 1.5; box-shadow: 0 16px 38px rgba(12,31,40,.3); }
.boleta-map-tooltip strong { display: block; margin-bottom: 6px; color: #d4df45; font: 700 14px/1.3 var(--font-accent); }
.boleta-map-tooltip span { display: block; color: rgba(255,255,255,.9); font: 400 13px/1.55 var(--font-body); }
.boleta-map-zone[data-active="true"] .boleta-map-tooltip { display: block; }
.boleta-map-zone.tooltip-left .boleta-map-tooltip { right: 0; left: auto; }
.boleta-map-zone.tooltip-above .boleta-map-tooltip { top: auto; bottom: calc(100% + 9px); }
.boleta-map-note { max-width: 820px; margin: 14px auto 0; color: var(--ink-600); font-size: 12px; line-height: 1.5; text-align: center; }

.boleta-guide { padding: 68px 24px 82px; background: #fff; }
.boleta-section-heading--center { max-width: 760px; margin: 0 auto; display: block; text-align: center; }
.boleta-section-heading--center .news-kicker { justify-content: center; }
.boleta-section-heading--center > p { max-width: 650px; margin: 16px auto 0; }
.boleta-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; margin-top: 36px; }
.boleta-guide-card { min-height: 230px; padding: 26px; border: 1px solid var(--ink-200); border-radius: 18px; background: linear-gradient(145deg,#fff,#f8fafb); box-shadow: 0 8px 22px rgba(20,33,43,.035); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.boleta-guide-card:hover { transform: translateY(-4px); border-color: rgba(23,107,140,.24); box-shadow: 0 18px 38px rgba(20,33,43,.09); }
.boleta-guide-card__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #eaf5f8; color: var(--apr-blue-700); font: 700 22px var(--font-accent); }
.boleta-guide-card:nth-child(2) .boleta-guide-card__icon { background: #f2f4d9; color: #798414; }
.boleta-guide-card:nth-child(3) .boleta-guide-card__icon { background: #eaf5ec; color: #348050; }
.boleta-guide-card h3 { margin: 20px 0 0; color: var(--ink-900); font: 700 19px/1.25 var(--font-heading); }
.boleta-guide-card p { margin: 10px 0 0; color: var(--ink-600); font-size: 14px; line-height: 1.65; }
.boleta-guide-note { margin: 22px 0 0; color: var(--ink-600); font-size: 13px; line-height: 1.6; text-align: center; }

.boleta-faq { padding: 78px 24px 90px; background: linear-gradient(125deg,#f1f7f9,#f8fafb 60%,#f8f8ef); }
.boleta-faq__layout { display: grid; grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr); gap: clamp(36px,7vw,92px); align-items: start; }
.boleta-faq__intro .news-kicker { color: var(--apr-blue-700); }
.boleta-faq__intro p { max-width: 360px; margin: 18px 0 0; color: var(--ink-600); font-size: 15px; line-height: 1.6; }
.boleta-faq__items { border-top: 1px solid rgba(23,43,55,.14); }
.boleta-faq-item { border-bottom: 1px solid rgba(23,43,55,.14); }
.boleta-faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 0; color: var(--ink-900); cursor: pointer; font: 700 15px/1.4 var(--font-body); list-style: none; }
.boleta-faq-item summary::-webkit-details-marker { display: none; }
.boleta-faq-item summary span { flex: 0 0 28px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #e4f1f5; color: var(--apr-blue-700); font-size: 20px; transition: transform .2s ease; }
.boleta-faq-item[open] summary span { transform: rotate(45deg); }
.boleta-faq-item p { max-width: 680px; margin: -3px 38px 19px 0; color: var(--ink-600); font-size: 14px; line-height: 1.65; }
.boleta-faq-item summary:focus-visible { outline: 2px solid var(--apr-blue-600); outline-offset: 4px; }

@keyframes boleta-card-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .boleta-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .boleta-hero-card { max-width: 420px; }
  .boleta-section-heading:not(.boleta-section-heading--center) { grid-template-columns: 1fr; gap: 14px; }
  .boleta-section-heading > p { max-width: 660px; }
  .boleta-guide-grid { grid-template-columns: 1fr; }
  .boleta-guide-card { min-height: 0; }
  .boleta-faq__layout { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .boleta-shell { width: min(100% - 32px, 1160px); }
  .boleta-hero { padding: 52px 16px; }
  .boleta-hero-card { padding: 23px; }
  .boleta-explorer { padding: 54px 16px 48px; }
  .boleta-section-heading h2, .boleta-faq__intro h2 { font-size: 38px; }
  .boleta-map { margin-top: 24px; padding: 8px; border-radius: 16px; }
  .boleta-map-image { border-radius: 9px; }
  .boleta-map-tooltip { width: min(270px, calc(100vw - 36px)); padding: 12px 13px; }
  .boleta-map-tooltip strong, .boleta-map-tooltip span { font-size: 12px; }
  .boleta-guide, .boleta-faq { padding: 56px 16px; }
  .boleta-guide-grid { margin-top: 26px; }
  .boleta-faq-item summary { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .boleta-hero-card, .boleta-guide-card { animation: none; transition: none; }
}
