/* Alcatraz Ticket Alert: home page (nav, sections, sign-up form, review dialog, price, FAQ). Layout of the first screen: home-c.css. */

/* ---------- Header over the illustration ---------- */
.hero{position:relative;color:#f6f1e7;background:var(--night);overflow:hidden;--focus:var(--warm)}
/* Full-width nav bar: logo at the left edge, links at the right edge (same side padding as .top on the other pages) */
.nav{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px clamp(16px,3vw,40px)}
.brand.on-dark{color:#f6f1e7;font-size:21px}
.brand.on-dark img{width:38px;height:38px}
.nav-links{display:flex;gap:4px 22px}
.nav-links a{display:inline-flex;align-items:center;min-height:44px;color:#f6f1e7;text-decoration:none;font-size:15px;font-weight:500;opacity:.92}
.nav-links a:hover{opacity:1;text-decoration:underline;color:#fff}
.hero-cta{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap;margin-top:28px}
.hero-btn{border-radius:999px;padding:16px 32px;min-height:56px;font-size:17px;box-shadow:0 10px 30px rgba(8,20,34,.3)}
.hero-link{color:#f6f1e7;font-weight:500;font-size:15px;display:inline-flex;align-items:center;min-height:44px}
.hero-link:hover{color:#fff}

/* ---------- Sections ---------- */
.sec{max-width:1120px;margin:0 auto;padding:72px clamp(16px,4vw,40px) 0}
.sec h2{font-size:clamp(1.7rem,3.6vw,2.3rem)}
.flow{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:20px;counter-reset:s}
.flow li{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start;counter-increment:s}
.flow li::before{content:counter(s);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--brand);color:var(--warm);font:500 19px 'Fraunces',Georgia,serif}
.flow b{display:block;color:var(--ink);font-size:16.5px;font-weight:600}
.flow span{font-size:15px;color:var(--muted)}
/* Example notification (decorative, read as one image by screen readers) */
.push{background:var(--deep);border-radius:22px;padding:16px 18px;color:#e3eaf1;box-shadow:0 24px 60px rgba(16,35,59,.25);max-width:390px;margin:0 auto;width:100%}
.push-top{display:flex;align-items:center;gap:9px;font-size:11.5px;color:#9fb3c8;letter-spacing:.08em;text-transform:uppercase;font-weight:600}
.push-top img{width:20px;height:20px;border-radius:5px}
.push-now{margin-left:auto;text-transform:none;letter-spacing:0;font-weight:500}
.push-title{font:500 17px/1.35 'Fraunces',Georgia,serif;color:#fff;margin:11px 0 5px}
.push-body{font-size:13.5px;line-height:1.55;color:#c3d0dc}
.push-cap{text-align:center;font-size:13.5px;color:var(--muted);margin:12px auto 0;max-width:340px}

/* ---------- Sign-up card ---------- */
.form-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 24px 60px rgba(19,38,59,.09);scroll-margin-top:16px}
.fs{border:0;margin:0 0 22px;padding:0;min-width:0}
.fs legend,.field-label{display:block;padding:0;font-weight:700;color:var(--ink);font-size:15.5px;margin:0}
.fs-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px}
.hint{font-size:13.5px;color:var(--muted);margin:0}
.fs-head .hint{text-align:right}
.fs-head .hint a{display:inline-flex;align-items:center;min-height:44px;margin:-12px 0}

/* Calendar (sign-up): blank, never shows availability */
.cal{border:1px solid var(--line);border-radius:16px;padding:12px}
.cal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.cal-month{font:500 18px/1.2 'Fraunces',Georgia,serif;color:var(--ink);margin:0}
.cal-nav{appearance:none;border:1.5px solid var(--line);background:#fff;border-radius:12px;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;color:var(--ink);touch-action:manipulation}
.cal-nav:hover:not([disabled]){border-color:#c9c0ae}
.cal-nav[disabled]{opacity:.35;cursor:not-allowed}
.cal-nav svg{width:18px;height:18px}
.cal-week,.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.cal-week span{font-size:12px;font-weight:600;color:var(--muted);text-align:center;padding:4px 0;letter-spacing:.04em}
.day{display:grid;place-items:center;height:46px;border-radius:11px;font:600 15px/1 'Inter',sans-serif;font-variant-numeric:tabular-nums;color:#9aa1a8}
button.day{appearance:none;border:1.5px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;touch-action:manipulation;transition:background-color .15s,border-color .15s,color .15s}
button.day:hover{border-color:var(--brand)}
button.day[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:#fff}
/* on sale, but too far from the dates already picked (all dates must fit within 7 days): tapping it explains why */
button.day.far{background:#f4f1eb;border:1.5px dashed #d9d1c2;color:#8d949b;cursor:not-allowed}
button.day.far:hover{border-color:#c9c0ae}
.cal-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;font-size:13.5px;color:var(--muted);min-height:24px}
.cal-foot b{color:var(--ink)}
.cal-msg{margin:8px 0 0;font-size:13.5px;color:var(--ink);min-height:0}
.cal-note{display:flex;gap:7px;align-items:flex-start;margin:8px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink)}
.cal-note::before{content:"";flex:none;width:6px;height:6px;margin-top:7px;border-radius:50%;background:var(--alert)}
.cal-note:empty{display:none}
.cal-empty{padding:26px 10px;text-align:center;color:var(--muted);font-size:14.5px}

/* Choice tiles (tours) */
.tiles{display:grid;gap:8px}
.tile{position:relative;display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:13px;padding:12px 14px;min-height:56px;cursor:pointer;background:#fff;margin:0;font-weight:500;color:var(--ink);font-size:15px;transition:border-color .15s,background-color .15s}
.tile:hover{border-color:#c9c0ae}
.tile input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--brand)}
.tile .t-main{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.tile .t-main small{font-size:13px;color:var(--muted);font-weight:400}
.tile .t-price{margin-left:auto;font-weight:700;font-variant-numeric:tabular-nums}
.tile:has(input:checked){border-color:var(--brand);background:#eef2f7}
.tile:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.tile input:focus-visible{outline:none}
.tours-note{margin:8px 0 0;text-wrap:pretty}
/* live price, right under the tours (same right edge as the tour prices); a short pulse when it changes */
.tour-price{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:10px 0 0;padding:11px 14px;border-radius:13px;background:var(--warm-soft);border:1.5px solid #efd9a6;color:var(--ink);font-size:15px;font-weight:600;min-height:48px}
.tour-price.none{background:#f4f1eb;border-color:var(--line);color:var(--muted);font-weight:500}
.tp-amt{display:inline-block;text-align:right;font-variant-numeric:tabular-nums;transform-origin:100% 60%}
.tp-amt b{font-size:18px;font-weight:700}
.tp-amt small{font-size:14px;font-weight:500;color:var(--muted)}
@media (prefers-reduced-motion:no-preference){.tp-amt.bump{animation:ata-bump .34s ease-out}}
@keyframes ata-bump{0%{transform:scale(1.16);color:var(--alert-ink)}100%{transform:none}}

/* Times, one small group per chosen tour (built by home.js) */
.tg{border:0;margin:0;padding:0;min-width:0}
.tg+.tg{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.tg legend{padding:0;font-weight:600;color:var(--ink);font-size:14.5px;margin:0 0 8px}
.tg legend small{font-weight:400;color:var(--muted);font-size:13px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:9px;border:1.5px solid var(--line);border-radius:12px;padding:8px 12px;min-height:46px;cursor:pointer;background:#fff;margin:0;font-weight:500;color:var(--ink);font-size:14.5px;line-height:1.25;font-variant-numeric:tabular-nums;transition:border-color .15s,background-color .15s}
.chip:hover{border-color:#c9c0ae}
.chip input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--brand)}
.chip span{display:flex;flex-direction:column}
.chip small{font-size:12.5px;color:var(--muted);font-weight:400}
.chip:has(input:checked){border-color:var(--brand);background:#eef2f7}
.chip:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.chip input:focus-visible{outline:none}
.tg-note{margin:8px 0 0;font-size:13px;color:var(--muted)}
.tg-note.warn{color:var(--alert-ink);font-weight:600}
.times-empty{margin:0;font-size:14px;color:var(--muted);padding:12px 14px;border:1px dashed #d9d1c2;border-radius:12px}

.two{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:end}
.stepper{display:flex;align-items:center;border:1.5px solid #d6cebd;border-radius:11px;height:50px;background:#fff}
.stepper button{width:46px;height:100%;border:0;background:none;font-size:22px;line-height:1;color:var(--ink);cursor:pointer;touch-action:manipulation;border-radius:10px}
.stepper button:disabled{opacity:.3;cursor:not-allowed}
.stepper output{min-width:44px;text-align:center;font-weight:700;color:var(--ink);font-size:16px}
.form-card label.field-label{margin-bottom:8px}
.people-hint{margin:8px 0 0}

.summary{margin:22px 0 14px;padding:14px 16px;border-radius:14px;background:#f1f4f8;border:1px solid #e1e7ee;font-size:14.5px;color:var(--ink);font-variant-numeric:tabular-nums}
.summary dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:4px 14px}
.summary dt{color:var(--muted)}
.summary dd{margin:0;font-weight:600}
.summary dd small{display:block;font-weight:400;color:var(--muted);font-size:13px}
.summary .empty{color:var(--muted)}
.fine{font-size:13.5px;color:var(--muted);text-align:center;margin:12px 0 0}
.fine b{color:var(--ink)}
.form-msg{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:var(--brand-soft);color:var(--ink);font-size:14.5px;border-left:4px solid var(--brand)}

/* Review dialog */
.review-box dl{margin:0 0 14px;display:grid;grid-template-columns:auto 1fr;gap:8px 14px;font-size:15px}
.review-box dt{color:var(--muted)}
.review-box dd{margin:0;color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.review-box dd small{display:block;font-weight:400;color:var(--muted);font-size:13.5px}
.review-box .pay{background:#f1f4f8;border-radius:12px;padding:12px 14px;font-size:14.5px;margin-bottom:14px;color:var(--ink)}
.consent{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:start;font-size:15px;line-height:1.45;color:var(--ink);cursor:pointer;margin:0 0 4px;padding:8px 0;font-weight:500}
.consent input{width:22px;height:22px;margin:0;accent-color:var(--brand)}
.consent-fine{font-size:12.5px;line-height:1.55;color:var(--muted);margin:8px 0 14px}
.review-box .btn+.btn{margin-top:8px}

/* ---------- Price ---------- */
.amount{margin:0;font:500 76px/.9 'Fraunces',Georgia,serif;color:var(--ink);letter-spacing:-.03em}
.per{margin:10px 0 0;font-size:15.5px}
.per b{color:var(--ink)}
.incl{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 24px}
.incl li{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;font-size:15px;color:var(--ink);font-weight:500}
.incl svg{width:20px;height:20px;margin-top:2px;color:var(--ok)}
.incl small{display:block;margin-top:2px;font-size:13.5px;color:var(--muted);font-weight:400}

/* ---------- FAQ ---------- */
.faq{padding-bottom:80px}
.faq>*{max-width:800px}
.faq h2{margin-bottom:14px}
.faq details{border-top:1px solid var(--line)}
.faq details:last-of-type{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;font-weight:600;color:var(--ink);list-style:none;padding:16px 34px 16px 0;position:relative;font-size:16.5px;min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:6px;top:50%;width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(225deg)}
.faq details p{margin:0 0 16px;font-size:15.5px;max-width:68ch}

/* ---------- Responsive ---------- */
@media (max-width:860px){.nav-links .opt{display:none}}
@media (max-width:760px){
  .sec{padding-top:56px}
  .incl{grid-template-columns:1fr}
}
/* phones: only "Your account" stays in the bar, as on the other pages */
@media (max-width:640px){
  .nav-links a:not([href="/account"]){display:none}
  .brand.on-dark{font-size:19px}
}
@media (max-width:440px){
  .nav{gap:10px}
  .brand.on-dark{font-size:16.5px;gap:8px}
  .brand.on-dark img{width:30px;height:30px}
  .nav-links a{font-size:14px;white-space:nowrap}
}
@media (max-width:520px){
  .form-card{padding:18px 14px;border-radius:20px}
  .two{grid-template-columns:1fr}
  .amount{font-size:66px}
  .fs-head{flex-direction:column;align-items:flex-start;gap:2px}
  .fs-head .hint{text-align:left}
}
@media (max-width:400px){
  .form-card{padding:16px 10px}
  .cal{padding:0;border:0}
  .cal-week,.cal-grid{gap:2px}
  .chip{padding:8px 10px}
}
@media (max-width:420px){.review-box{padding:20px 16px}.review-box .btn{padding:14px 12px;font-size:15.5px}}
