/* ============================================================
   Underbara Events – undersidor (strip, hostess, yacht, resor, om-oss, kontakt)
   Laddas efter css/style.css. Återanvänder tokens och komponenter
   därifrån (.btn, .eyebrow, .h2, .vip-card, .q, .closing, .footer).
   ============================================================ */

/* ---------- Nav: alltid fast bakgrund (ingen #hero på undersidor) ---------- */
body.page .nav {
  background: rgba(7, 3, 10,.94);
  border-bottom: 1px solid rgba(255, 45, 138,.25);
}
.nav__menu a[aria-current="page"]:not(.btn) { color: var(--pink-hot); }
.nav__menu a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

/* ============================================================
   SIDHERO
   ============================================================ */

.phero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 88svh, 900px);
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(40px, 6vw, 72px);
}
.phero__bg { position: absolute; inset: 0; z-index: -1; }
.phero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: var(--phero-pos, 50% 50%);
}
.phero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 3, 10,.55) 0%, rgba(7, 3, 10,0) 14%),
    linear-gradient(90deg, var(--void) 0%, var(--void) 8%, rgba(7, 3, 10,.85) 22%, rgba(7, 3, 10,.55) 38%, rgba(7, 3, 10,.2) 52%, rgba(7, 3, 10,0) 65%),
    linear-gradient(to top, var(--void) 0%, rgba(7, 3, 10,0) 42%);
}
.phero__inner { position: relative; }
.phero .eyebrow { text-shadow: 0 1px 12px rgba(7, 3, 10,.9); }
.phero__title {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(37px, 5.95vw, 75px); line-height: .95; letter-spacing: .02em;
  color: #fff; text-shadow: var(--neon-soft), 0 2px 24px rgba(7, 3, 10,.9);
  text-wrap: balance;
}
.phero__lead {
  margin: clamp(14px, 2vw, 22px) 0 0; max-width: 46ch;
  font-size: clamp(15px, 1.5vw, 18px); color: var(--ink);
  text-shadow: 0 2px 24px rgba(7, 3, 10,.9), 0 0 2px rgba(7, 3, 10,.8);
}
.phero__cta { margin-top: clamp(22px, 3vw, 34px); display: flex; flex-wrap: wrap; gap: 12px; }

.page--strip   .phero { --phero-pos: 100% 0%; }
.page--hostess .phero { --phero-pos: 100% 0%; }
.page--yacht   .phero { --phero-pos: 100% 50%; }
.page--resor   .phero { --phero-pos: 65% 70%; }
.page--afterdark .phero { --phero-pos: 100% 50%; }

@media (max-width: 767px) {
  /* Mobil: stående bild i full höjd, texten i nedre tredjedelen på mörk toning nerifrån */
  .phero { min-height: 100svh; padding-bottom: 88px; } /* bottenluft så CTA-raden inte döljs av .whatsapp-btn (56px + 20px offset + 12px) */
  .phero__bg img { object-position: 50% 0%; }
  .phero__veil {
    background:
      linear-gradient(180deg, rgba(7, 3, 10,.55) 0%, rgba(7, 3, 10,0) 14%),
      linear-gradient(to top, var(--void) 0%, var(--void) max(24%, 230px), rgba(7, 3, 10,.88) max(38%, 340px), rgba(7, 3, 10,.55) max(50%, 420px), rgba(7, 3, 10,0) max(62%, 500px)); /* px-golv: textblocket (eyebrow → knappar) är ~360px högt även på låga skärmar */
  }
  .phero .eyebrow { text-shadow: 0 0 8px rgba(7, 3, 10,.95), 0 1px 14px rgba(7, 3, 10,.95); }
}

/* ============================================================
   DET HÄR INGÅR (kort i samma stil som .service)
   ============================================================ */

.incl-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px;
  list-style: none; margin: 0; padding: 0;
}
.incl {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 45, 138,.22);
  background: linear-gradient(160deg, var(--plum-2), var(--plum));
  padding: clamp(22px, 2.6vw, 28px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.incl:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(255, 45, 138,.15); border-color: rgba(255, 45, 138,.5); }
.incl__tag { margin: 0 0 6px; font-family: var(--display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--pink-hot); }
.incl h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1; color: #fff; text-shadow: var(--neon-soft); }
.incl p { margin: 0; color: var(--ink-muted); font-size: 14px; }
.incl-note { margin: 22px 0 0; color: var(--ink-muted); }
.incl-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   SÅ BOKAR DU (tre steg, statiska)
   ============================================================ */

.psteps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 760px) { .psteps { grid-template-columns: 1fr; } }
.pstep {
  padding: 22px; border-radius: var(--radius);
  border: 1px solid rgba(255, 45, 138,.5);
  background: rgba(42, 12, 37,.4);
}
.pstep__num {
  display: block; margin-bottom: 10px;
  font-family: var(--display); font-size: 34px; line-height: 1;
  color: var(--pink); text-shadow: var(--neon-soft);
}
.pstep h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .04em; color: #fff; }
.pstep p { margin: 0; font-size: 14px; color: var(--ink); }

/* ============================================================
   CTA-BAND (återanvänder .closing, men lägre)
   ============================================================ */

body.page .closing { min-height: 0; }

@media (prefers-reduced-motion: reduce) {
  .incl { transition: none; }
}

/* Paketnamn är h3 på undersidorna (p på startsidan) */
h3.vip-card__tier { margin: 0 0 14px; font-weight: 400; line-height: 1.2; }

/* ============================================================
   OM OSS
   ============================================================ */

.page--om-oss .phero { --phero-pos: 90% 45%; }

.values {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px;
}
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.values li {
  position: relative; padding: 16px 0 16px 28px;
  border-top: 1px solid rgba(255, 45, 138,.3);
  color: var(--ink-muted);
}
.values li::before {
  content: ""; position: absolute; left: 4px; top: 25px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink); box-shadow: var(--neon-soft);
}
.values strong { color: #fff; }
.about-lead { margin: 0; max-width: 52ch; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink); }

/* ============================================================
   AFTER DARK
   ============================================================ */

.phero__by {
  display: block; margin-top: .1em;
  font-family: var(--script); font-size: .42em; line-height: 1.1; letter-spacing: 0;
  color: var(--pink-hot);
}

/* Kalender: tomt läge tills datum släpps */
.adcal {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 32px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius); border: 1px dashed rgba(255, 45, 138,.45);
  background: linear-gradient(160deg, var(--plum-2), var(--plum));
}
.adcal__tile {
  flex: 0 0 auto; width: 104px; display: flex; flex-direction: column; align-items: center;
  border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 45, 138,.5);
  background: rgba(7, 3, 10,.6);
}
.adcal__tile-top {
  width: 100%; padding: 6px 0; text-align: center; background: var(--pink); color: var(--void);
  font-family: var(--display); font-size: 13px; letter-spacing: .3em; text-indent: .3em; text-transform: uppercase;
}
.adcal__tile-main {
  padding: 14px 0 12px; font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: .04em;
  color: #fff; text-shadow: var(--neon-soft);
}
.adcal__text { margin: 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink); max-width: 44ch; }
.adcal__cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .adcal { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   KONTAKT
   ============================================================ */

/* Kompakt sidhero utan bild */
.phero--compact {
  min-height: 0;
  padding: clamp(120px, 14vw, 168px) 0 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(255, 45, 138,.16), transparent 60%);
}
@media (max-width: 700px) { .phero--compact { min-height: 0; padding-top: 112px; } }
.phero--compact + .section { padding-top: clamp(32px, 4vw, 48px); }

.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px); align-items: start;
}
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* Formulär */
.form {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 45, 138,.22);
  background: linear-gradient(160deg, var(--plum-2), var(--plum));
  padding: clamp(20px, 3vw, 32px);
}
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__req { margin: 0 0 18px; font-size: 13px; color: var(--ink-muted); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--display); font-size: 15px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; margin: 0;
  padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(7, 3, 10,.6);
  border: 1px solid rgba(255, 111, 184,.35);
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--pink-hot) 50%), linear-gradient(135deg, var(--pink-hot) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field select option { background: var(--plum); color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); opacity: .7; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 111, 184,.6); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--pink-hot); outline-offset: 2px;
  border-color: var(--pink); box-shadow: var(--neon-soft);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid,
.field [aria-invalid="true"] {
  border-color: #ff5a6e; box-shadow: 0 0 0 1px #ff5a6e;
}

.field--check { flex-direction: row; align-items: center; gap: 12px; }
.field--check input {
  flex: none; width: 22px; height: 22px; padding: 0;
  accent-color: var(--pink); cursor: pointer;
}
.field--check label { font-family: var(--body); font-size: 15px; letter-spacing: 0; text-transform: none; cursor: pointer; }
.field--check input:user-invalid + label, .field--check input[aria-invalid="true"] + label { color: #ff8a98; }

.form__consent { margin: 20px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.form__consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__submit { margin-top: 14px; }
.form__submit:disabled { opacity: .6; cursor: progress; transform: none; }
.form__status { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.form__status.is-ok   { border: 1px solid rgba(255, 45, 138,.6); background: rgba(255, 45, 138,.12); color: #fff; }
.form__status.is-err  { border: 1px solid #ff5a6e; background: rgba(255, 90, 110,.1); color: #ffd3d9; }
.form__status.is-note { border: 1px solid rgba(242, 193, 78,.5); background: rgba(242, 193, 78,.08); color: var(--ink); }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }

/* Kontaktkort */
.contact__cards { display: grid; gap: 12px; }
.ccard {
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid rgba(255, 45, 138,.5);
  background: rgba(42, 12, 37,.4);
}
.ccard--wa { border-color: var(--pink); box-shadow: 0 0 30px rgba(255, 45, 138,.15); }
.ccard__title {
  margin: 0 0 4px; font-family: var(--display); font-weight: 400;
  font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--pink-hot);
}
.ccard p { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.ccard a:not(.btn) { color: var(--ink); }
.ccard a:not(.btn):hover { color: var(--pink-hot); }
.ccard .btn { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  .field input, .field select, .field textarea { transition: none; }
}

/* ============================================================
   MOBIL (≤ 700px): brödtext 16px, kryssrutans rad ≥ 44px tryckyta
   ============================================================ */
@media (max-width: 700px) {
  .incl p, .pstep p { font-size: 16px; }
  .field--check label { padding-block: 11px; }
}

/* ============================================================
   MOBIL (≤ 560px): knappar staplas och tar full bredd
   ============================================================ */
@media (max-width: 560px) {
  .phero__cta { flex-direction: column; }
  body.page .phero__cta .btn,
  body.page .vip-card .btn,
  body.page .closing .btn,
  .form__submit,
  .ccard .btn { width: 100%; align-self: stretch; }
}

/* ============================================================
   MOBILPASS (≤ 767px): formulär och kontaktkort
   ============================================================ */
@media (max-width: 767px) {
  /* iOS-datumfältet är annars högre än övriga fält och har egen kantlinje */
  .field input, .field select { min-height: 52px; }
  .field input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; height: 52px; line-height: normal; }
  .field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
  .field input[type="checkbox"] { min-height: 0; }
  /* telefon- och mejllänkar i kontaktkorten: ≥ 44px tryckyta utan att radhöjden ändras */
  .ccard p a:not(.btn) { display: inline-block; padding-block: 11px; margin-block: -11px; }
}

/* ============================================================
   INTEGRITETSPOLICY
   ============================================================ */
.legal { max-width: 760px; }
.legal__meta { margin: 0 0 8px; font-size: 14px; color: var(--ink-muted); }
.legal__h {
  margin: 40px 0 12px; font-family: var(--display); font-weight: 400;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: .03em; color: #fff;
}
.legal p, .legal li { color: var(--ink); line-height: 1.65; overflow-wrap: anywhere; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--pink); }
.legal strong { color: #fff; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
