/* fyndr.info — colours from the app's AppTheme */
:root {
  --blue: #00AEEF;        /* fyndrBlue: accents, primary buttons (dark text) */
  --blue-dark: #0077B6;   /* links, labels */
  --navy: #023E8A;        /* headings, header, solid buttons (white text) */
  --light: #CAF0F8;       /* tinted panels */
  --cyan: #48CAE4;
  --surface: #F8F9FA;
  --text: #2C3E50;
  --muted: #5A6C7D;
  --line: #E3EAF0;
  --night: #0B1021;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: Outfit, Inter, sans-serif; color: var(--navy); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: Outfit, sans-serif; font-weight: 800; font-size: 26px; color: var(--navy); text-decoration: none; letter-spacing: -0.5px; }
.logo img { border-radius: 9px; }
.logo:hover { color: var(--navy); }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--text); text-decoration: none; padding: 6px 0; }
.nav-links a:hover { color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--blue); }
@media (max-width: 640px) { .nav-links { order: 3; width: 100%; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn-blue { background: var(--blue); color: var(--night); }
.btn-blue:hover { background: #24bdf3; color: var(--night); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0a4fa6; color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--navy); background: var(--surface); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { background: var(--navy); color: #fff; }
.hero-inner { padding: 64px 0 104px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero h1 { color: #fff; max-width: 900px; }
.hero h1 span { color: var(--blue); }
.hero p { color: var(--light); font-size: 19px; max-width: 640px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: -60px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 4px; box-shadow: 0 8px 28px rgba(2, 62, 138, 0.08); }
.cat:hover { border-color: var(--cyan); color: var(--text); }
.cat strong { font-family: Outfit, sans-serif; font-size: 21px; color: var(--navy); }
.cat .dot { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; }

/* home hero: text + photo mosaic */
.home-hero { background: linear-gradient(180deg, #F2FAFD 0%, #FFFFFF 100%); }
.home-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.home-hero-text { display: flex; flex-direction: column; gap: 20px; }
.eyebrow { align-self: flex-start; background: var(--light); color: var(--navy); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.hero-stats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); }
.hero-stats strong { display: block; font: 800 26px Outfit, sans-serif; color: var(--navy); }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 12px; }
.mosaic-item { position: relative; border-radius: 20px; overflow: hidden; background: var(--surface); color: #fff; text-decoration: none; }
.mosaic-item.m1 { grid-row: span 2; }
.mosaic-item.m4 { grid-column: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mosaic-item:hover img { transform: scale(1.04); }
/* a solid white label: readable on any photo, posters with text included */
.mosaic-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 9px 12px; background: rgba(255, 255, 255, 0.96); color: var(--text); border-radius: 14px; box-shadow: 0 6px 18px rgba(11, 16, 33, 0.18); display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; }
.mosaic-cap strong { font-size: 14px; line-height: 1.25; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mosaic-cap span { color: var(--muted); font-weight: 600; }
.mosaic-item:hover { color: var(--text); }
@media (max-width: 520px) { .mosaic { grid-auto-rows: 140px; } }

/* photo category tiles */
.ptiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ptile { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--blue-dark); color: #fff; text-decoration: none; }
.ptile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ptile:hover img { transform: scale(1.05); }
.ptile:hover { color: #fff; }
.ptile-cap { position: absolute; inset: 0; padding: 16px; justify-content: flex-end; background: linear-gradient(180deg, rgba(11, 16, 33, 0.05) 0%, rgba(11, 16, 33, 0.35) 45%, rgba(11, 16, 33, 0.92) 100%); display: flex; flex-direction: column; gap: 4px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ptile-cap strong { font: 700 22px Outfit, sans-serif; }
.ptile-cap span { font-size: 13px; line-height: 1.4; color: #EAF2F8; }
.ptile-cap em { align-self: flex-start; font-style: normal; background: var(--blue); color: var(--night); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-top: 6px; }

.link-strong { font-weight: 700; text-decoration: none; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps > div { background: var(--surface); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps strong { font: 700 19px Outfit, sans-serif; color: var(--navy); }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: var(--night); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }

/* partner + app bands (light, photo-led) */
.partner-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: center; background: var(--surface); border-radius: 28px; padding: 20px; }
.partner-band img { width: 100%; height: 260px; object-fit: cover; border-radius: 20px; }
.partner-band .stack { padding: 12px; }
.app-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 28px; padding: 32px; }

/* ---------------------------------------------------------------- /get */
.gh { position: relative; overflow: hidden; background: var(--navy); color: #fff;
  background-image: radial-gradient(circle at 85% 20%, rgba(0, 174, 239, 0.35), transparent 40%),
                    radial-gradient(circle at 10% 90%, rgba(72, 202, 228, 0.22), transparent 38%); }
.gh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.gh-text { display: flex; flex-direction: column; gap: 22px; }
.gh-brand { display: flex; align-items: center; gap: 14px; }
.gh-brand img { border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.gh-brand span { display: flex; flex-direction: column; font: 800 24px Outfit, sans-serif; line-height: 1.1; }
.gh-brand small { font: 500 13px Inter, sans-serif; color: var(--light); margin-top: 4px; }
.gh h1 { color: #fff; }
.gh h1 span { color: var(--blue); display: block; }
.gh-text > p { color: var(--light); font-size: 19px; max-width: 560px; }
.gh-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--light); }
.gh-trust li { display: inline-flex; align-items: center; gap: 8px; }
.gh-trust svg { color: var(--blue); }

.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 22px 10px 18px; border-radius: 16px; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.store span { display: flex; flex-direction: column; font: 700 19px Outfit, sans-serif; line-height: 1.1; }
.store small { font: 600 10px Inter, sans-serif; letter-spacing: 0.06em; opacity: 0.8; }
.store:active { transform: scale(0.97); }
.store-light { background: #fff; color: var(--navy); }
.store-light:hover { color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); transform: translateY(-2px); }
.store-dark { background: var(--navy); color: #fff; }
.store-dark:hover { color: #fff; background: #0a4fa6; }

.gh-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.phone { width: 290px; border-radius: 44px; padding: 12px; background: #0B1021; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #26304a; transform: rotate(-3deg); }
.phone-screen { border-radius: 34px; background: #F8F9FA; overflow: hidden; height: 560px; padding: 18px 12px; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.ps-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ps-top strong { font: 800 20px Outfit, sans-serif; color: var(--navy); }
.ps-search { flex: 1; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.ps-chips { display: flex; gap: 6px; }
.ps-chips span { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.ps-chips .on { background: var(--navy); border-color: var(--navy); color: #fff; }
.ps-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); flex-shrink: 0; }
.ps-card img { width: 100%; height: 108px; object-fit: cover; background: var(--light); }
.ps-card div { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.ps-card strong { font-size: 12.5px; color: var(--navy); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ps-card span { font-size: 11px; color: var(--muted); font-weight: 600; }

.float { position: absolute; background: #fff; color: var(--text); border-radius: 16px; padding: 10px 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); display: flex; align-items: center; gap: 10px; font-size: 13px; max-width: 230px; }
.float strong { color: var(--navy); font-size: 13.5px; display: block; }
.float small { color: var(--muted); display: block; line-height: 1.3; }
.float-ok { top: 70px; right: 0; animation: bob 5s ease-in-out infinite; }
.dot-ok { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #2ED573; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.float-court { bottom: 150px; right: -4px; flex-direction: column; align-items: flex-start; gap: 0; border-left: 4px solid var(--blue); animation: bob 6s ease-in-out 1s infinite; }
.float-qr { bottom: 10px; left: 0; padding: 10px; }
.float-qr img { width: 92px; height: 92px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1000px) { .float-qr { display: none; } }
@media (max-width: 520px) {
  .phone { width: 250px; transform: none; }
  .phone-screen { height: 470px; }
  .float-ok { right: -6px; top: 40px; }
  .float-court { display: none; }
}

.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 32px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feat { border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.feat:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 16, 33, 0.08); }
.feat strong { font: 700 20px Outfit, sans-serif; color: var(--navy); }
.feat p { color: var(--muted); }
.feat-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--light); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }

.gh-cta { background: var(--navy); color: #fff; border-radius: 32px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  background-image: radial-gradient(circle at 90% 10%, rgba(0, 174, 239, 0.35), transparent 45%); }
.gh-cta h2 { color: #fff; }
.gh-cta p { color: var(--light); max-width: 560px; }
.gh-cta-qr { width: 150px; height: 150px; border-radius: 20px; background: #fff; padding: 8px; }
@media (max-width: 820px) { .gh-cta-qr { display: none; } }

/* ------------------------------------------------------- homepage v2 */
.hx { position: relative; background: var(--navy); color: #fff; overflow: hidden;
  background-image: radial-gradient(circle at 80% 15%, rgba(0, 174, 239, 0.38), transparent 42%),
                    radial-gradient(circle at 5% 85%, rgba(72, 202, 228, 0.22), transparent 40%); }
.hx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 110px; }
.hx-text { display: flex; flex-direction: column; gap: 22px; }
.hx-eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #2ED573; box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46, 213, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); } }
.hx h1 { color: #fff; font-size: clamp(40px, 6vw, 68px); }
.hx h1 span { color: var(--blue); }
.hx-text > p { color: var(--light); font-size: 19px; max-width: 560px; }
.hx-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 8px 8px 8px 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); max-width: 580px; }
.hx-search svg { color: var(--muted); flex-shrink: 0; }
.hx-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 16px Inter, sans-serif; color: var(--text); background: transparent; padding: 10px 0; }
.hx-search input::placeholder { color: #8A9BA8; }
.hx-search:focus-within { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(0, 174, 239, 0.5); }
.hx-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--light); }
.hx-quick a { color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); padding: 6px 13px; border-radius: 999px; font-weight: 600; transition: background-color 0.2s ease, border-color 0.2s ease; }
.hx-quick a:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.hx-mosaic { position: relative; }
.hx-mosaic .mosaic-item { box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3); }
/* top-left corner of the collage, over sky, never over a photo's label */
.hx-float { top: 26px; bottom: auto; left: -26px; right: auto; z-index: 2; }
.hx-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }
@media (max-width: 720px) { .hx-float { display: none; } .hx-grid { padding-bottom: 90px; } }

.statbar { position: relative; z-index: 3; list-style: none; margin: -56px auto 0; padding: 6px; background: #fff; border-radius: 24px; box-shadow: 0 20px 50px rgba(11, 16, 33, 0.12); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.statbar li { padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.statbar li + li { border-left: 1px solid var(--line); }
.statbar strong { font: 800 30px Outfit, sans-serif; color: var(--navy); line-height: 1.1; }
.statbar span { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .statbar li + li { border-left: 0; } .statbar li:nth-child(even) { border-left: 1px solid var(--line); } .statbar li:nth-child(n+3) { border-top: 1px solid var(--line); } }

.eyebrow-dark { background: rgba(255, 255, 255, 0.12); color: var(--light); }
.section.soft { background: linear-gradient(180deg, #F4FAFD 0%, #FFFFFF 100%); }

.dtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.dtile { aspect-ratio: auto; }
.dtile-big { grid-column: span 2; grid-row: span 2; }
.dtile-big .ptile-cap strong { font-size: 32px; }
.dtile-big .ptile-cap span { font-size: 15px; max-width: 420px; }
@media (max-width: 900px) { .dtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .dtiles { grid-template-columns: 1fr; grid-auto-rows: 190px; } .dtile-big { grid-column: auto; grid-row: span 1; } }

.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.tc { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 0 var(--line), 0 10px 30px rgba(11, 16, 33, 0.06); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.tc:hover { transform: translateY(-5px); box-shadow: 0 2px 0 var(--line), 0 22px 44px rgba(11, 16, 33, 0.13); }
.tc-media { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--blue-dark); }
.tc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.6s ease; }
.tc:hover .tc-media img { transform: scale(1.05); }
.tc-media .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--light); font: 800 48px Outfit, sans-serif; }
.tc-date { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--muted); border-radius: 14px; padding: 6px 10px; text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; line-height: 1.1; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); }
.tc-date strong { display: block; font: 800 22px Outfit, sans-serif; color: var(--navy); }
.tc-price { position: absolute; right: 12px; bottom: 12px; background: var(--blue); color: var(--night); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }
.tc-price small { font-weight: 600; font-size: 11px; }
.tc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.tc-body h3 { font-size: 19px; }
.tc-body h3 a { color: var(--navy); text-decoration: none; }
.tc-body h3 a:hover { text-decoration: underline; }
.tc-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tc-book { font-weight: 800; color: var(--navy); text-decoration: none; background: var(--light); padding: 8px 14px; border-radius: 999px; font-size: 14px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; }
.tc-book:hover { background: var(--navy); color: #fff; }
.js [data-reveal] .tgrid > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].in .tgrid > * { opacity: 1; transform: none; }
.js [data-reveal].in .tgrid > :nth-child(2) { transition-delay: 0.06s; }
.js [data-reveal].in .tgrid > :nth-child(3) { transition-delay: 0.12s; }
.js [data-reveal].in .tgrid > :nth-child(4) { transition-delay: 0.18s; }
.js [data-reveal].in .tgrid > :nth-child(n+5) { transition-delay: 0.24s; }
.js .tc:hover { transition-delay: 0s; }
.js .tc-media { background-image: linear-gradient(100deg, #E8F1F6 30%, #F4F9FB 50%, #E8F1F6 70%); background-size: 300% 100%; animation: shimmer 1.4s ease-in-out infinite; }
@media (max-width: 720px) { .tgrid.rail { grid-auto-columns: 80%; } .tc:hover { transform: none; } }

.budget { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: center; background: var(--navy); color: #fff; border-radius: 32px; padding: 36px;
  background-image: radial-gradient(circle at 0% 0%, rgba(0, 174, 239, 0.3), transparent 45%); }
.budget-head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.budget-head h2 { color: #fff; }
.budget-head p { color: var(--light); }
.budget-list { display: flex; flex-direction: column; gap: 10px; }
.budget-item { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 10px; text-decoration: none; color: #fff; transition: background-color 0.2s ease, transform 0.2s ease; }
.budget-item:hover { background: rgba(255, 255, 255, 0.16); color: #fff; transform: translateX(4px); }
.budget-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.budget-item span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.budget-item strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.budget-item small { color: var(--light); font-size: 13px; }
.budget-item em { font-style: normal; font-weight: 800; background: var(--blue); color: var(--night); padding: 6px 12px; border-radius: 999px; font-size: 14px; white-space: nowrap; }

.courts-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.courts-panel { flex: 1 1 300px; background: var(--night); color: #fff; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  background-image: radial-gradient(circle at 100% 0%, rgba(0, 174, 239, 0.28), transparent 50%); }
.courts-panel h2 { color: #fff; }
.courts-panel p { color: #C9D3E0; }
.courts-panel ul { margin: 0; padding-left: 18px; color: var(--light); display: flex; flex-direction: column; gap: 4px; }
.courts-split > .grid { flex: 999 1 520px; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: flow; }
.flow li { position: relative; background: var(--surface); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.flow li::after { counter-increment: flow; content: "0" counter(flow); position: absolute; top: 18px; right: 22px; font: 800 34px Outfit, sans-serif; color: #E1EBF2; }
.flow strong { font: 700 20px Outfit, sans-serif; color: var(--navy); }
.flow p { color: var(--muted); }
.flow-ic { width: 50px; height: 50px; border-radius: 16px; background: var(--navy); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }

.appband { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: center; background: var(--navy); color: #fff; border-radius: 36px; padding: 40px 40px 0; overflow: hidden;
  background-image: radial-gradient(circle at 90% 30%, rgba(0, 174, 239, 0.4), transparent 45%); }
.appband-text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-bottom: 40px; }
.appband-text h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.appband-text p { color: var(--light); max-width: 480px; }
.appband-phone { display: flex; justify-content: center; align-self: end; }
.appband-phone .phone { transform: none; border-radius: 44px 44px 0 0; padding-bottom: 0; }
.appband-phone .phone-screen { height: 380px; border-radius: 34px 34px 0 0; }
@media (max-width: 720px) { .appband { padding: 28px 22px 0; } }

.partner-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 24px; padding: 26px 30px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--cyan); color: var(--navy); }
.chip[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .n { font-weight: 500; color: var(--muted); font-size: 12px; }
.chip[aria-current="page"] .n { color: var(--light); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; background: var(--blue-dark); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--light); font: 800 42px Outfit, sans-serif; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--blue); color: var(--night); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.card-body { padding: 14px 8px 8px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.card-kicker { font-size: 12px; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; letter-spacing: 0.04em; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-size: 15px; }
.price strong { font-size: 18px; color: var(--navy); }

/* list card (tag page) */
.lcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-wrap: wrap; gap: 20px; }
.lcard .card-media { flex: 1 1 240px; aspect-ratio: auto; min-height: 190px; }
.lcard .lbody { flex: 999 1 300px; display: flex; flex-direction: column; gap: 8px; padding: 6px 4px; }
.lcard h3 { font-size: 23px; }
.meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--muted); }

/* layout with sidebar */
.with-aside { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.with-aside > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.with-aside > aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.panel-navy { background: var(--navy); color: #fff; border: 0; }
.panel-navy strong { font-family: Outfit, sans-serif; font-size: 22px; }
.panel-navy p { color: var(--light); }
.panel-light { background: var(--light); border: 0; color: var(--navy); }

/* page header */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 24px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.lead { font-size: 18px; max-width: 800px; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.faq summary { font-weight: 600; color: var(--navy); cursor: pointer; font-size: 16px; }
.faq details p { margin-top: 8px; }

/* bands */
.band { background: var(--navy); color: #fff; border-radius: 28px; padding: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.band h2 { color: #fff; font-size: 28px; }
.band p { color: var(--light); }
.band-light { background: var(--light); border-radius: 28px; padding: 32px; }

/* event & venue detail */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.gallery .g { border-radius: var(--radius); overflow: hidden; background: var(--blue-dark); aspect-ratio: 16 / 10; }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.facts div { background: #fff; padding: 14px 16px; }
.facts span { display: block; font-size: 13px; color: var(--muted); }
.facts strong { color: var(--navy); }
.prose { white-space: pre-line; overflow-wrap: anywhere; }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
th { text-align: left; background: var(--surface); color: var(--navy); }
th, td { padding: 12px 16px; border-top: 1px solid var(--line); }
thead th { border-top: 0; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots span { border: 1px solid #B6D7E6; background: var(--surface); color: var(--navy); font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 10px; }
.notice { background: var(--light); color: var(--navy); border-radius: 16px; padding: 14px 18px; }
.mobile-open { display: none; }
@media (max-width: 820px) { .mobile-open { display: flex; } }

/* ------------------------------------------------------------ motion */
:root { --ease: cubic-bezier(0.22, 1, 0.36, 1); }
.site-header { transition: box-shadow 0.3s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 16, 33, 0.08); }
.btn { transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease; }
.btn:active { transform: scale(0.97); }
.btn-navy:hover, .btn-blue:hover { box-shadow: 0 8px 20px rgba(2, 62, 138, 0.18); }
.chip, .cat, .panel a { transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.card, .lcard { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease; }
.card:hover, .lcard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 16, 33, 0.10); border-color: #D6E4EE; }
.card-media img, .lcard .card-media img { transition: transform 0.6s var(--ease), opacity 0.6s ease; }
.card:hover .card-media img, .lcard:hover .card-media img { transform: scale(1.04); }
.faq details { transition: border-color 0.2s ease, background-color 0.2s ease; }
.faq details[open] { background: var(--surface); border-color: #D6E4EE; }

/* images fade in over a soft shimmer while they load (only with JS on) */
.js .card-media, .js .mosaic-item, .js .ptile, .js .gallery .g, .js .partner-band .ph-wrap {
  background-image: linear-gradient(100deg, #E8F1F6 30%, #F4F9FB 50%, #E8F1F6 70%);
  background-size: 300% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
.js img.fade { opacity: 0; transition: opacity 0.6s ease, transform 0.6s var(--ease); }
.js img.fade.loaded { opacity: 1; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.loaded-wrap { animation: none !important; }

/* scroll reveal: sections rise in; cards inside follow one after another */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal] .grid > *, .js [data-reveal] .ptiles > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].in .grid > *, .js [data-reveal].in .ptiles > * { opacity: 1; transform: none; }
.js [data-reveal].in .grid > :nth-child(2), .js [data-reveal].in .ptiles > :nth-child(2) { transition-delay: 0.06s; }
.js [data-reveal].in .grid > :nth-child(3), .js [data-reveal].in .ptiles > :nth-child(3) { transition-delay: 0.12s; }
.js [data-reveal].in .grid > :nth-child(4), .js [data-reveal].in .ptiles > :nth-child(4) { transition-delay: 0.18s; }
.js [data-reveal].in .grid > :nth-child(5), .js [data-reveal].in .ptiles > :nth-child(5) { transition-delay: 0.24s; }
.js [data-reveal].in .grid > :nth-child(n+6) { transition-delay: 0.3s; }
.js .card:hover, .js .lcard:hover { transition-delay: 0s; }
.reveal-all [data-reveal], .reveal-all [data-reveal] * { opacity: 1 !important; transform: none !important; }

/* hero entrance */
.js .home-hero-text > * { animation: rise 0.8s var(--ease) both; }
.js .home-hero-text > :nth-child(2) { animation-delay: 0.06s; }
.js .home-hero-text > :nth-child(3) { animation-delay: 0.12s; }
.js .home-hero-text > :nth-child(4) { animation-delay: 0.18s; }
.js .home-hero-text > :nth-child(5) { animation-delay: 0.24s; }
.js .mosaic-item { animation: rise 0.9s var(--ease) both; }
.js .mosaic-item.m2 { animation-delay: 0.1s; }
.js .mosaic-item.m3 { animation-delay: 0.18s; }
.js .mosaic-item.m4 { animation-delay: 0.26s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* phones: rows of cards become swipeable carousels */
@media (max-width: 720px) {
  .rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  .ptiles.rail { grid-auto-columns: 62%; }
  .card:hover, .lcard:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal] *, .js img.fade { opacity: 1 !important; transform: none !important; }
}

/* footer */
.site-footer { background: var(--night); color: #C9D3E0; margin-top: 56px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; padding: 44px 0 24px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .base { border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 18px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* Inner pages come last so they override the base rules above (page header,
   gallery, faq, panels). */
/* --------------------------------------------- inner pages, homepage look */
.page-head { position: relative; background: var(--navy); color: #fff; border-bottom: 0;
  background-image: radial-gradient(circle at 85% 0%, rgba(0, 174, 239, 0.36), transparent 45%),
                    radial-gradient(circle at 0% 100%, rgba(72, 202, 228, 0.2), transparent 40%); }
.page-head .wrap { padding-top: 28px; padding-bottom: 84px; gap: 16px; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 56px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80h1440V20C1200 70 960 80 720 60S240 0 0 30Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }
.page-head h1 { color: #fff; }
.page-head .lead { color: var(--light); }
.page-head .crumbs, .page-head .crumbs li + li::before { color: rgba(202, 240, 248, 0.75); }
.page-head .crumbs a { color: #fff; text-decoration: none; }
.page-head .crumbs a:hover { text-decoration: underline; }
.page-head .chip { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.page-head .chip:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.page-head .chip .n { color: var(--light); }
.page-head .chip[aria-current="page"] { background: #fff; border-color: #fff; color: var(--navy); }
.page-head .chip[aria-current="page"] .n { color: var(--blue-dark); }
.page-head .chip-static { cursor: default; }
.page-head-detail .wrap { padding-bottom: 110px; }
.h1-detail { font-size: clamp(30px, 4.6vw, 52px); max-width: 900px; }
.head-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--light); font-size: 15px; }
.head-meta li + li::before { content: "•"; margin-right: 22px; margin-left: -12px; color: rgba(202, 240, 248, 0.5); }
.head-meta .hm-price { color: var(--blue); font-weight: 800; }
.page-head .mobile-open { margin-top: 4px; }

.gallery-lift { position: relative; z-index: 2; margin-top: -96px; }
.gallery { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 200px); }
.gallery .g { aspect-ratio: auto; box-shadow: 0 16px 40px rgba(11, 16, 33, 0.18); }
.gallery .g-main { grid-row: span 2; }
.gallery-one { grid-template-columns: 1fr; grid-template-rows: 420px; }
.gallery-one .g-main { grid-row: auto; }
.ph-big { display: flex; align-items: center; justify-content: center; color: var(--light); font: 800 72px Outfit, sans-serif; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; }
  .gallery .g-main { grid-column: span 2; grid-row: auto; }
  .gallery-one { grid-template-columns: 1fr; grid-template-rows: 240px; }
  .gallery-one .g-main { grid-column: auto; }
}

.content-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.content-card h2 { font-size: 24px; }
.facts { border-radius: 20px; box-shadow: 0 8px 26px rgba(11, 16, 33, 0.05); }
.facts strong { font-size: 16px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23023E8A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

@media (min-width: 900px) { .sticky-aside { position: sticky; top: 88px; } }
.bookcard { background: var(--navy); color: #fff; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 46px rgba(2, 62, 138, 0.25);
  background-image: radial-gradient(circle at 100% 0%, rgba(0, 174, 239, 0.4), transparent 55%); }
.bc-price { display: flex; flex-direction: column; }
.bc-price small { color: var(--light); font-size: 13px; }
.bc-price strong { font: 800 38px Outfit, sans-serif; line-height: 1.05; }
.bc-price span { color: var(--light); font-size: 14px; }
.bc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: #E6F3FA; }
.bc-list li { padding-left: 24px; position: relative; }
.bc-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.bc-btn { min-height: 52px; font-size: 16px; }
.bc-note { font-size: 12.5px; color: var(--light); text-align: center; }
.morecard { display: flex; flex-direction: column; gap: 2px; background: var(--light); color: var(--navy); border-radius: 22px; padding: 18px 20px; text-decoration: none; transition: transform 0.25s var(--ease); }
.morecard:hover { transform: translateY(-3px); color: var(--navy); }
.morecard span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue-dark); }
.morecard strong { font: 700 18px Outfit, sans-serif; }

.lrow { display: flex; flex-wrap: wrap; gap: 0; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 2px 0 var(--line), 0 10px 30px rgba(11, 16, 33, 0.06); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.lrow:hover { transform: translateY(-4px); box-shadow: 0 2px 0 var(--line), 0 22px 44px rgba(11, 16, 33, 0.12); }
.lrow .tc-media { flex: 1 1 260px; aspect-ratio: auto; min-height: 220px; }
.lrow:hover .tc-media img { transform: scale(1.05); }
.lrow-body { flex: 999 1 320px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.lrow-body h3 { font-size: 23px; }
.lrow-body h3 a { color: var(--navy); text-decoration: none; }
.lrow-body h3 a:hover { text-decoration: underline; }
.lrow .meta li { display: inline-flex; align-items: center; gap: 6px; }
.lrow .meta svg { color: var(--blue-dark); }
.lrow-past { opacity: 0.85; }
.lrow-past .tc-media img { filter: saturate(0.6); }
.tc-ended { position: absolute; right: 12px; bottom: 12px; background: rgba(11, 16, 33, 0.8); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.tc-sport { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 12.5px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); }
.with-aside > .main > .lrow + .lrow { margin-top: 2px; }

.faq details { border-radius: 18px; padding: 16px 20px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--light); color: var(--navy); font: 700 18px/28px Inter, sans-serif; text-align: center; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }

.panel { border-radius: 24px; }
.notice { border-radius: 20px; padding: 18px 22px; }

/* legal / support pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; margin: 28px 0 10px; }
.legal h3 { font-size: 19px; margin: 22px 0 8px; }
.legal p, .legal li { line-height: 1.75; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal a { font-weight: 600; }
.legal table { min-width: 0; margin-bottom: 16px; }
.callout { background: #EEF9FD; border: 1px solid #CDEBF6; border-left: 4px solid var(--blue); border-radius: 14px; padding: 16px 18px; margin: 18px 0; line-height: 1.7; }
.callout-warn { background: #FFF7E6; border-color: #FBE3B0; border-left-color: #FFA502; }
.legal-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.legal-grid > .content-card { flex: 999 1 560px; min-width: 0; padding: 32px; }
.legal-grid > aside { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.legal-nav { display: flex; flex-direction: column; gap: 4px; }
.legal-nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; }
.legal-nav a:hover { background: var(--surface); color: var(--navy); }
.legal-nav a[aria-current="page"] { background: var(--light); color: var(--navy); }

/* ------------------------------------------------------------ phones */
.nav { padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .nav { padding-left: 24px; padding-right: 24px; } }

/* header facts as pills: no stray separators when they wrap */
.head-meta { gap: 8px; }
.head-meta li { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.head-meta li + li::before { content: none; }
.head-meta .hm-price { background: var(--blue); border-color: var(--blue); color: var(--night); }

@media (max-width: 600px) {
  .page-head .crumbs li:last-child { display: none; }        /* it repeats the page title */
  .page-head .wrap { padding-bottom: 70px; }
  .page-head-detail .wrap { padding-bottom: 96px; }
  .h1-detail { font-size: 30px; }

  /* collage labels: one-line title, smaller meta */
  .mosaic-cap { left: 8px; right: 8px; bottom: 8px; padding: 7px 9px; border-radius: 11px; }
  .mosaic-cap strong { font-size: 12.5px; -webkit-line-clamp: 1; }
  .mosaic-cap span { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* budget list: name gets two lines, price stays on the right */
  .budget { padding: 24px 18px; border-radius: 26px; }
  .budget-item { gap: 10px; padding: 8px; }
  .budget-item img { width: 52px; height: 52px; }
  .budget-item strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.3; }
  .budget-item em { padding: 5px 10px; font-size: 13px; }

  /* tables fit the card instead of scrolling */
  table { min-width: 0; font-size: 14px; }
  th, td { padding: 10px 12px; }
  .content-card { padding: 20px 18px; border-radius: 20px; }
  .content-card h2 { font-size: 22px; }
  .legal-grid > .content-card { padding: 22px 18px; }
  .legal h2 { font-size: 21px; }

  .courts-panel, .appband { border-radius: 26px; }
  .hx-search { padding-left: 14px; }
  .hx-search .btn { padding: 11px 14px; }
  .statbar strong { font-size: 26px; }
}
