:root {
  --paper: #f4f6fa;
  --card: #ffffff;
  --ink: #162033;
  --muted: #566078;
  --line: #cfd6e4;
  --suede: #2c4a9e;
  --suede-deep: #1d3477;
  --sky: #dfe6f6;
  --gum: #a5342a;
  --gum-soft: #f6e3e0;
  --ok: #1f6b45;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1522;
    --card: #182133;
    --ink: #e9edf6;
    --muted: #a3adc4;
    --line: #2d3a54;
    --suede: #8aa6f0;
    --suede-deep: #b3c6fa;
    --sky: #1f2c4a;
    --gum: #f08a7e;
    --gum-soft: #3a2024;
    --ok: #7fd3a6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1522; --card: #182133; --ink: #e9edf6; --muted: #a3adc4; --line: #2d3a54;
  --suede: #8aa6f0; --suede-deep: #b3c6fa; --sky: #1f2c4a; --gum: #f08a7e; --gum-soft: #3a2024; --ok: #7fd3a6;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--suede); text-underline-offset: 3px; }
a:hover { color: var(--suede-deep); }
:focus-visible { outline: 3px solid var(--gum); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--suede); }
.nav .btn { color: #fff; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 var(--body);
  padding: 14px 20px; border-radius: 999px; border: 2px solid var(--suede);
  background: var(--suede); color: #fff; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--suede-deep); border-color: var(--suede-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--suede); }
.btn.ghost:hover { background: var(--sky); color: var(--suede-deep); }
.btn.small { padding: 9px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn:not(.ghost), :root:not([data-theme="light"]) .nav .btn { color: #0f1522; }
}
:root[data-theme="dark"] .btn:not(.ghost), :root[data-theme="dark"] .nav .btn { color: #0f1522; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.015em; }
h1 { font-stretch: 104%; font-weight: 850; font-size: clamp(36px, 5.4vw, 64px); }
h2 { font-stretch: 106%; font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-stretch: 102%; font-weight: 750; font-size: 21px; line-height: 1.2; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; margin: 18px 0 0; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 12px 0 0; }

.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 .line { display: block; }
.hero h1 .gum { color: var(--gum); }
.hero-notes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.hero-notes li { display: flex; gap: 10px; align-items: baseline; }
.hero-notes li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gum); flex: none; transform: translateY(-1px); }

.ticket {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--suede);
  padding: clamp(20px, 3vw, 28px);
}
.ticket-title { font-family: var(--display); font-stretch: 106%; font-weight: 800; font-size: 24px; margin: 0 0 4px; }
.ticket-sub { color: var(--muted); margin: 0 0 18px; font-size: 15px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-weight: 700; font-size: 15px; }
.hint { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
input[type=text], input[type=tel], input[type=email], input[type=url], input[type=password], input[type=search], select, textarea {
  width: 100%; font: 16px/1.4 var(--body); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 12px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--suede); box-shadow: 0 0 0 3px var(--sky); }
.invalid { border-color: var(--gum) !important; background: var(--gum-soft) !important; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; }
.checks label { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 15px; }
.checks input { width: 18px; height: 18px; accent-color: var(--suede); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 13px; flex: 1 1 200px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-msg.error { display: block; background: var(--gum-soft); color: var(--gum); }
.done { text-align: left; }
.done h3 { font-size: 26px; margin-bottom: 8px; }
.done .ref { font-family: var(--display); font-stretch: 106%; font-weight: 800; color: var(--suede); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 8px 0 0; }

.band { background: var(--suede-deep); color: #fff; }
.band .section-head p, .band p { color: #d7e0f7; }
.band a:not(.btn) { color: #fff; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.perks li { padding-left: 18px; border-left: 3px solid #f08a7e; }
.perks strong { display: block; font-size: 17.5px; color: #fff; }
.band .btn { background: #fff; color: #1d3477; border-color: #fff; }
.band .btn.ghost { background: transparent; color: #fff; }
.band .btn:hover { background: #dfe6f6; color: #1d3477; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band { background: #15213c; } }
:root[data-theme="dark"] .band { background: #15213c; }

.towns { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 0; list-style: none; }
.towns li { font-family: var(--display); font-stretch: 104%; font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); }
.towns li:not(:last-child)::after { content: " /"; color: var(--line); font-weight: 400; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 24px; line-height: 1; color: var(--suede); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14.5px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

.example-bar { background: var(--gum-soft); color: var(--ink); border-bottom: 1px solid var(--line); font-size: 15px; }
.example-bar .wrap { padding: 10px 0; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.example-bar strong { color: var(--gum); }
.profile-top { padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.profile-id { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.avatar { width: 84px; height: 84px; border-radius: 20px; background: var(--suede); color: #fff; display: grid; place-items: center; font-family: var(--display); font-stretch: 110%; font-weight: 850; font-size: 34px; flex: none; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.badge { font-size: 13.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--line); }
.badge.ok { border-color: var(--ok); color: var(--ok); }
.profile-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); padding: 40px 0 72px; align-items: start; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }
.block { margin-bottom: 40px; }
.block h2 { font-size: 26px; margin-bottom: 14px; }
.menu { width: 100%; border-collapse: collapse; font-size: 16px; }
.menu td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.menu td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 16px; }
.menu small { display: block; color: var(--muted); font-size: 14px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 8px; } }
.empty-reviews { border: 1.5px dashed var(--line); border-radius: var(--radius-lg); padding: 22px; color: var(--muted); }
.empty-reviews strong { color: var(--ink); display: block; margin-bottom: 4px; }
.sticky { position: sticky; top: 16px; }
@media (max-width: 900px) { .sticky { position: static; } }

.join-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } }
.join-aside .perks li { border-left-color: var(--gum); }
.join-aside .perks strong { color: var(--ink); }
.join-aside .perks span { color: var(--muted); }
.panel { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); }
.panel h2 { font-size: 24px; margin: 8px 0 14px; }
.panel h2:first-child { margin-top: 0; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: 13px; color: var(--muted); }
.table-scroll { overflow-x: auto; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 6px 12px; margin-bottom: 36px; }
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; margin: 18px 0 28px; }
.stat-row div { font-size: 15px; color: var(--muted); }
.stat-row b { display: block; font-family: var(--display); font-stretch: 106%; font-size: 34px; color: var(--ink); line-height: 1.1; }

@media (prefers-reduced-motion: no-preference) {
  .ticket { animation: lift .5s ease-out both; }
  @keyframes lift { from { transform: translate(8px, 8px); box-shadow: 0 0 0 var(--suede); } to { transform: none; box-shadow: 8px 8px 0 var(--suede); } }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.tile {
  display: grid; gap: 6px; align-content: start; min-height: 150px;
  padding: 18px; border-radius: var(--radius-lg); background: var(--card);
  border: 1.5px solid var(--line); border-top: 5px solid var(--suede);
  text-decoration: none; color: var(--ink);
}
.tile:nth-child(3n+2) { border-top-color: var(--gum); }
.tile:nth-child(3n) { border-top-color: var(--ink); }
.tile:hover { border-color: var(--suede); border-top-color: var(--suede); color: var(--ink); }
.tile-name { font-family: var(--display); font-stretch: 104%; font-weight: 800; font-size: 20px; line-height: 1.15; }
.tile-desc { color: var(--muted); font-size: 15px; line-height: 1.45; }
.tile-count { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--suede); }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.svc-grid.tight { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.svc {
  display: grid; gap: 6px; align-content: start; padding: 16px 18px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink);
}
.svc:hover { border-color: var(--suede); color: var(--ink); }
.svc:hover .svc-name { color: var(--suede); }
.svc[hidden] { display: none; }
.svc-name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.svc-desc { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tag.new { background: var(--sky); color: var(--suede-deep); }
.tag.season { background: var(--gum-soft); color: var(--gum); }

.browse-head { padding: clamp(36px, 5vw, 64px) 0 20px; }
.browse-head h1 { font-size: clamp(34px, 5vw, 56px); }
.search { margin-top: 24px; max-width: 560px; }
.search input { width: 100%; font: 18px/1.4 var(--body); color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 14px 20px; }
.search input:focus { outline: none; border-color: var(--suede); box-shadow: 0 0 0 4px var(--sky); }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cat-pills a { padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--ink); background: var(--card); }
.cat-pills a:hover { border-color: var(--suede); color: var(--suede); }
.cat-block { padding: 36px 0 8px; scroll-margin-top: 16px; }
.cat-block[hidden] { display: none; }
.cat-block-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.cat-block-head h2 { font-size: clamp(24px, 3vw, 32px); }
.cat-block-head p { margin: 0; color: var(--muted); }
.empty-search { padding: 24px 0; color: var(--muted); }
.not-listed { margin: 48px 0 72px; padding: 28px; border-radius: var(--radius-lg); background: var(--sky); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.not-listed h2 { font-size: 28px; }
.not-listed p { margin: 0; flex: 1 1 240px; }

.svc-top { padding: 32px 0 28px; border-bottom: 1px solid var(--line); }
.svc-top h1 { font-size: clamp(32px, 4.6vw, 52px); }
.crumbs { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.incl { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.incl li { padding-left: 28px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.fine { color: var(--muted); font-size: 14.5px; }

@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 0; padding: 14px; }
  .tile-name { font-size: 17px; }
  .tile-desc { display: none; }
}

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: relative; }
.plan.featured { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--suede); }
.plan-flag { position: absolute; top: -13px; left: 20px; margin: 0; background: var(--gum); color: #fff; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan-price { margin: 10px 0 18px; color: var(--muted); line-height: 1.5; }
.plan-price b { font-family: var(--display); font-size: 30px; color: var(--ink); }
