/* ==========================================================================
   Cave Padel — interior pages
   Loaded after style.css. Mobile first, same breakpoints (600 / 900 / 1200).
   ========================================================================== */

/* ------------------------------------------------------------ skip link */

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--court);
  color: #fff;
  padding: .8rem 1.2rem;
  font-family: var(--ff-display);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.skiplink:focus { left: .5rem; top: .5rem; }

/* --------------------------------------------------------- language link */

.langswitch {
  font-family: var(--ff-display);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
  opacity: .72;
  padding: .45rem .1rem;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: opacity .2s, border-color .2s;
}
.langswitch:active { opacity: 1; }

/* ---------------------------------------------------------- page hero */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 62svh;
  padding-top: 6rem;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.page-hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(11,11,12,.97) 0%, rgba(11,11,12,.8) 32%,
    rgba(11,11,12,.45) 66%, rgba(11,11,12,.7) 100%);
}
.page-hero-body { padding-bottom: 2.2rem; }
.page-hero h1 { font-weight: 200; letter-spacing: -.03em; }
.page-lede {
  margin-top: 1rem;
  max-width: 52ch;
  font-size: 1.02rem;
  color: rgba(239,236,230,.86);
}

/* ------------------------------------------------------------- article */

.article {
  max-width: 68ch;
  color: var(--on-dark-mut);
}
.article h2 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: var(--on-dark);
  margin: 2.4rem 0 .8rem;
}
.article h2:first-child { margin-top: 0; }
.article p { margin: 0 0 1.05em; }
.article a { color: var(--rock); text-underline-offset: 3px; }
.article .pull { margin: 2rem 0; }

.article-cta { margin-top: 2.6rem; }
.article-cta .btn { width: 100%; }

/* ------------------------------------------------------------- narrow */

.narrow { max-width: 760px; }

/* --------------------------------------------------------- price table */

.price-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}
.price-note { margin-bottom: 1.4rem; max-width: 56ch; }

.cur-toggle {
  display: inline-flex;
  border: 1px solid var(--line-light);
  border-radius: 100px;
  padding: 3px;
  background: rgba(11,11,12,.03);
}
.cur-btn {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 100px;
  padding: .5rem 1rem;
  min-height: 38px;
  font-family: var(--ff-display);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-light-mut);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, color .2s;
}
.cur-btn.is-on { background: var(--ink); color: var(--on-dark); }

.tw { overflow-x: auto; border: 1px solid var(--line-light); }
.price-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.price-table th, .price-table td {
  text-align: left;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line-light);
}
.price-table thead th {
  font-family: var(--ff-display);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rock-dim);
  font-weight: 500;
  white-space: nowrap;
}
.price-table .grp th {
  font-family: var(--ff-display);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-light);
  font-weight: 500;
  background: rgba(11,11,12,.04);
}
.price-table .t { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table .p {
  font-family: var(--ff-display);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-table .c { color: var(--on-light-mut); font-size: .85rem; }
.price-table tbody:last-child td { border-bottom: 0; }

.eur-note { margin-top: .9rem; font-size: .85rem; }
.clip-h { margin: 2.6rem 0 .9rem; }

/* ------------------------------------------------------------- panels */

.two-col { display: grid; gap: 1rem; }
.panel {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  padding: 1.4rem;
}
.panel h2 { margin-bottom: .8rem; }
.panel p { color: var(--on-dark-mut); font-size: .96rem; }
.panel-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 1rem; }

/* ---------------------------------------------------------------- FAQ */

.faq { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  min-height: var(--tap);
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--on-dark);
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: var(--ff-display);
  font-weight: 200;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rock);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding-bottom: 1.1rem; max-width: 66ch; }
.faq-a p { color: var(--on-dark-mut); font-size: .97rem; }

/* ------------------------------------------------------------- contact */

.contact-grid { display: grid; gap: 1rem; }
.contact-grid .panel h2 { margin-bottom: .5rem; }
.info-grid-wrap .info-grid { margin-top: 0; }

/* ------------------------------------------------------ shared headings */

.site-footer .foot-h,
.info-grid .info-h { margin: 0 0 .6rem; }

/* ========================================================== 600px and up */

@media (min-width: 600px) {
  .article-cta .btn { width: auto; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 56svh; }
  .page-lede { font-size: 1.08rem; margin-top: 1.2rem; }
}

/* ========================================================== 900px and up */

@media (min-width: 900px) {
  .page-hero { padding-top: 7rem; min-height: 60svh; }
  .page-hero-body { padding-bottom: 3.2rem; }
  .page-lede { font-size: 1.15rem; max-width: 56ch; }

  .article { font-size: 1.05rem; }
  .article h2 { font-size: 1.8rem; margin: 3rem 0 1rem; }

  .panel { padding: 2rem; }
  .price-table th, .price-table td { padding: .95rem 1.4rem; }

  .faq-item summary { font-size: 1.2rem; padding: 1.3rem 0; }

  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}

@media (hover: hover) and (pointer: fine) {
  .langswitch:hover { opacity: 1; border-bottom-color: currentColor; }
  .cur-btn:hover { color: var(--on-light); }
  .cur-btn.is-on:hover { color: var(--on-dark); }
  .faq-item summary:hover { color: var(--rock); }
  .article a:hover { color: var(--on-dark); }
}

/* Karta på Första gången hos oss */
.map-embed { position: relative; aspect-ratio: 4 / 3; margin: 0 0 2rem; border-radius: 4px; overflow: hidden; background: var(--line-light, #ddd); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 700px) { .map-embed { aspect-ratio: 16 / 9; } }
