/* eroticmassagehungary.co
   A guide, not a nightclub: warm paper ground, a serif that reads like a city magazine,
   garnet for the one action that matters and olive for the quiet signals. Shares no
   palette, no typeface and no class naming with the other sites of the series
   (network Rule 15, footprint). latin-ext everywhere: Győr and Székesfehérvár need it. */

:root {
  --paper: #faf7f3;
  --paper-2: #f3eee7;
  --card: #ffffff;
  --ink: #171513;
  --ink-soft: #4a443e;
  --ink-mute: #857d74;
  --rule: #e3dcd2;
  --rule-strong: #cdc3b5;
  --garnet: #9c2a3f;
  --garnet-dark: #7d2033;
  --olive: #5f6b4a;
  --display: Newsreader, Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 1.25rem;
  --measure: 66ch;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.68 var(--body);
  padding-bottom: 4.5rem;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.16; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2rem, 5.2vw, 3rem); margin-bottom: .7rem; }
h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); margin: 2.6rem 0 .8rem; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1.05rem; }
a { color: var(--garnet); text-underline-offset: .18em; }
a:hover { color: var(--garnet-dark); }
strong { font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1100px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--garnet); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--garnet); outline-offset: 3px; }

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 243, .94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--rule); }
.masthead-in { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; min-width: 0; }
.brand { display: inline-flex; align-items: baseline; gap: .4rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand i { font-style: normal; color: var(--garnet); font-family: var(--display); font-size: 1.15rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; flex: 0 0 auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--garnet); }
.cams-btn, .nav a.cams-btn, .sticky a.cams-btn { display: inline-flex; align-items: center; gap: .45rem; background: var(--garnet); color: #fff; text-decoration: none; padding: .45rem .9rem; border-radius: 4px; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.cams-btn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.cams-btn:hover, .nav a.cams-btn:hover { background: var(--garnet-dark); color: #fff; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; padding: 3rem 0 2.5rem; }
.hero-text { max-width: 36rem; }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); }
.hero-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule-strong); aspect-ratio: 4 / 3; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.counts { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.counts li { font-size: .92rem; color: var(--ink-mute); }
.counts b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.1; }

/* ---------- studio list ---------- */
.band { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.8rem 0 1rem; }
.band h2 { margin: 0; }
.band p { margin: 0; color: var(--ink-mute); font-size: .92rem; }

.studios { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.studio { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.studio:hover { border-color: var(--rule-strong); }
.studio-shot { aspect-ratio: 16 / 10; background: var(--paper-2); display: grid; place-items: center; }
.studio-shot img { width: 100%; height: 100%; object-fit: cover; }
.studio-shot span { font-family: var(--display); font-size: 2rem; color: var(--rule-strong); }
.studio-body { padding: .85rem 1rem 1rem; }
.studio-name { font-family: var(--display); font-size: 1.12rem; font-weight: 600; margin: 0 0 .2rem; }
.studio-name a { color: var(--ink); text-decoration: none; }
.studio-name a:hover { color: var(--garnet); }
.studio-name a::after { content: ""; position: absolute; inset: 0; }
.studio-where { margin: 0 0 .5rem; color: var(--ink-mute); font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: .78rem; border: 1px solid var(--rule); border-radius: 3px; padding: .12rem .4rem; color: var(--ink-soft); }
.tags .t-gold { border-color: var(--garnet); color: var(--garnet); font-weight: 600; }
.tags .t-out { border-color: var(--olive); color: var(--olive); }

/* ---------- copy ---------- */
.copy { max-width: var(--measure); }
.copy h2 { padding-bottom: .35rem; border-bottom: 1px solid var(--rule); }
.copy ul, .copy ol { padding-left: 1.15rem; }
.copy li { margin-bottom: .45rem; }
.cta-row { margin: 1.2rem 0 0; }
.cta-btn { display: inline-block; border: 1px solid var(--garnet); color: var(--garnet); text-decoration: none; padding: .5rem 1rem; border-radius: 4px; font-weight: 600; font-size: .95rem; }
.cta-btn:hover { background: var(--garnet); color: #fff; }

.toc { border-left: 3px solid var(--garnet); background: var(--paper-2); padding: 1rem 1.1rem; margin: 2rem 0; max-width: var(--measure); }
.toc-title { font-family: var(--display); font-weight: 600; margin: 0 0 .5rem; font-size: 1rem; }
.toc ol { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--garnet); text-decoration: underline; }

.faq details { border-top: 1px solid var(--rule); padding: .85rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--garnet); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: .7rem 0 0; color: var(--ink-soft); }

/* ---------- cams, network Rule 7 ---------- */
.strip { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; border: 1px solid var(--rule-strong); background: var(--card); border-radius: var(--radius); padding: 1rem 1.1rem; margin: 2.2rem 0; max-width: var(--measure); }
.strip p { margin: 0; }
.strip-title { font-family: var(--display); font-weight: 600; }
.strip-sub { color: var(--ink-mute); font-size: .9rem; }
.strip .cta-btn { margin-left: auto; background: var(--garnet); color: #fff; }

/* ---------- studio page ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 1.4rem 0; }
.gallery img { border-radius: 6px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.facts { list-style: none; margin: 1.4rem 0; padding: 1.1rem 0 0; display: grid; gap: .6rem; border-top: 1px solid var(--rule); max-width: var(--measure); }
.facts li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; font-size: .98rem; }
.facts .k { color: var(--ink-mute); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.3rem 0; }
.act { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 600; padding: .6rem 1.1rem; border-radius: 4px; border: 1px solid var(--rule-strong); color: var(--ink); background: var(--card); }
.act-wa { background: #1faa54; color: #fff; border-color: transparent; }
.act-tel { background: var(--garnet); color: #fff; border-color: transparent; }
.act:hover { filter: brightness(1.06); }

.map { height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); margin: 1.5rem 0; background: var(--paper-2); }
.note { color: var(--ink-mute); font-size: .88rem; }

/* ---------- cities ---------- */
.city-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.city-list a { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); background: var(--card); border-radius: var(--radius); padding: .8rem .9rem; }
.city-list a:hover { border-color: var(--garnet); color: var(--garnet); }
.city-list b { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.city-list span { color: var(--ink-mute); font-size: .85rem; }

.elsewhere { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin: 2rem 0; background: var(--card); max-width: var(--measure); }
.elsewhere h2 { margin-top: 0; }
.elsewhere ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.elsewhere li { font-size: .95rem; }
.elsewhere .town { font-family: var(--display); font-weight: 600; }

/* ---------- B2B ---------- */
.owners { border-top: 3px solid var(--garnet); background: var(--card); padding: 1.4rem; margin: 2.5rem 0; max-width: var(--measure); }
.owners h2 { margin-top: 0; }

/* ---------- breadcrumbs, footer, sticky ---------- */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 1.1rem 0 1.4rem; font-size: .88rem; color: var(--ink-mute); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--rule-strong); }
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--garnet); }

.foot { border-top: 1px solid var(--rule); margin-top: 4rem; padding: 2.2rem 0 5rem; color: var(--ink-soft); font-size: .92rem; background: var(--paper-2); }
.foot-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot h3 { font-size: 1rem; margin-bottom: .6rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: var(--garnet); }
.foot-legal { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--ink-mute); }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: .7rem; justify-content: center; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--rule-strong); padding: .55rem var(--gutter); padding-bottom: calc(.55rem + env(safe-area-inset-bottom, 0px)); backdrop-filter: blur(8px); }
.sticky p { margin: 0; font-size: .9rem; color: var(--ink-mute); }
.sticky .act, .sticky .cams-btn { padding: .55rem 1rem; white-space: nowrap; }

/* ---------- sitemap page ---------- */
.tree { list-style: none; padding: 0; max-width: var(--measure); }
.tree > li { border-top: 1px solid var(--rule); padding: .8rem 0; }
.tree ul { list-style: none; padding-left: 1.1rem; margin: .5rem 0 0; display: grid; gap: .3rem; }
.tree a { text-decoration: none; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.2rem 0 1.8rem; }
  .hero-shot { order: -1; aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  :root { --gutter: 1rem; }
  .masthead-in { gap: .6rem; padding: .5rem 0; }
  .brand b, .brand i { font-size: 1rem; }
  .nav a:not(.cams-btn) { display: none; }
  .cams-btn { padding: .4rem .7rem; font-size: .82rem; }

  body { padding-bottom: 4rem; }
  .sticky { gap: .5rem; padding: .5rem .75rem; padding-bottom: calc(.5rem + env(safe-area-inset-bottom, 0px)); }
  .sticky p { display: none; }
  .sticky .act { flex: 1 1 auto; justify-content: center; }
  .sticky p ~ .cams-btn { flex: 1 1 auto; justify-content: center; font-size: .95rem; padding: .6rem 1rem; }
  .sticky .act + .cams-btn { flex: 0 0 auto; max-width: 48%; overflow: hidden; text-overflow: ellipsis; }

  h1 { font-size: clamp(1.75rem, 7.5vw, 2.2rem); }
  .band { flex-direction: column; align-items: flex-start; gap: .2rem; margin: 2rem 0 .8rem; }
  .counts { gap: 1.1rem; }
  .studios { grid-template-columns: 1fr; }
  .city-list { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: .1rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .strip { flex-direction: column; align-items: flex-start; }
  .strip .cta-btn { margin-left: 0; }
  .map { height: 240px; }
  .tree a, .foot a, .crumbs a { display: inline-block; padding: .4rem 0; }
  .tree ul, .foot ul { gap: 0; }
}
