/* ODG-GYM public website — 3 themes: bistro (Classic), modern, lounge (Dark).
   Colours and fonts come from Website → Appearance (CSS variables on :root). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site { margin: 0; font: var(--fs)/1.65 var(--bf); color: var(--tx); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--p); }
h1, h2, h3, h4 { font-family: var(--hf); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 24px); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: #000; color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { opacity: .72; }
.small { font-size: .875em; }
.al-center { text-align: center; } .al-right { text-align: right; } .al-left { text-align: left; }
.hide-sm { }
.ic { flex: none; vertical-align: middle; }

/* buttons */
.sbtn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--rad); font-weight: 700; text-decoration: none; border: 2px solid var(--p); background: var(--p); color: #fff; transition: transform .15s, filter .15s, background .15s; cursor: pointer; font-family: inherit; font-size: 1em; line-height: 1.2; }
.sbtn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sbtn.secondary { background: var(--s); border-color: var(--s); }
.sbtn.outline { background: transparent; color: var(--p); }
.sbtn.outline:hover { background: var(--p); color: #fff; }
.sbtn.ghost { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.sbtn.ghost:hover { background: #fff; color: #111; }

/* top bar + header */
.topbar { background: var(--p); color: #fff; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; flex-wrap: wrap; }
.topbar a, .topbar span { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; opacity: .95; }
.tb-items { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-lang { display: inline-flex; gap: 2px; }
.site-lang a { padding: 1px 6px; border-radius: 4px; font-weight: 700; font-size: 12px; text-decoration: none; color: inherit; opacity: .75; }
.site-lang a.on { opacity: 1; background: rgba(255, 255, 255, .22); }
.header { position: relative; z-index: 40; background: var(--bg); border-bottom: 1px solid rgba(0, 0, 0, .07); }
body.sticky .header { position: sticky; top: 0; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tx); flex: none; }
.logo img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.bs.dark .sbtn.outline { color: #fff; border-color: rgba(255, 255, 255, .8); }
.bs.dark .sbtn.outline:hover { background: #fff; color: #111; }
.wg-button + .wg-button { margin-top: -10px; }
.logo-text strong { display: block; font-family: var(--hf); font-size: 24px; line-height: 1.1; }
.logo-text small { display: block; font-size: 12.5px; opacity: .7; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav li { position: relative; }
.nav a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; text-decoration: none; color: var(--tx); font-weight: 600; border-radius: 6px; }
.nav a:hover, .nav .cur > a { color: var(--p); }
.nav .dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--bg); border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, .14); padding: 6px; flex-direction: column; align-items: stretch; }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { display: flex; }
.nav { margin-left: auto; }
.header-end { display: flex; align-items: center; gap: 10px; }
.cta { padding: 10px 18px; }
.nav-toggle { display: none; border: 0; background: none; color: var(--tx); padding: 8px; cursor: pointer; }
.mobile-nav { display: none; }
/* header layouts */
.hl-center .header-inner { flex-wrap: wrap; justify-content: center; gap: 0 24px; padding: 14px 0 0; }
.hl-center .logo { width: 100%; justify-content: center; }
.hl-center .nav { margin: 0 auto; }
.hl-center .header-end { position: absolute; right: 20px; top: 22px; }
.hl-split .header-inner { justify-content: center; }
.hl-split .nav-left { margin-left: 0; flex: 1; display: flex; justify-content: flex-end; }
.hl-split .nav-right { margin-left: 0; flex: 1; }
.hl-split .logo { margin: 0 12px; }
/* header over the hero (modern theme on the homepage) */
body.over-hero .header { position: absolute; left: 0; right: 0; background: linear-gradient(rgba(0, 0, 0, .45), transparent); border: 0; }
body.over-hero.sticky .header { position: absolute; }
body.over-hero .header .nav a, body.over-hero .logo, body.over-hero .nav-toggle { color: #fff; }

/* hero (Appearance) and hero widget */
.hero, .wg-hero { position: relative; display: grid; align-items: center; min-height: 62vh; color: #fff; background: linear-gradient(135deg, var(--p), #111); overflow: hidden; }
.hero.has-img, .wg-hero.has-img { background: linear-gradient(rgba(0, 0, 0, calc(var(--ov) / 100)), rgba(0, 0, 0, calc(var(--ov) / 100))), var(--img) center / cover no-repeat; }
.hero-inner { padding: 80px 0; }
.hero-text { max-width: 760px; position: relative; }
.hero h1, .wg-hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.hero p, .wg-hero p { font-size: clamp(17px, 2vw, 21px); opacity: .95; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.wg-hero { border-radius: var(--rad); padding: 60px 30px; }
.bs.w-full .wg-hero { border-radius: 0; }
.wg-hero.h-md { min-height: 420px; } .wg-hero.h-lg { min-height: 72vh; } .wg-hero.h-full { min-height: 100vh; }
.wg-hero.al-center { justify-items: center; text-align: center; }
.wg-hero.al-center .hero-btns { justify-content: center; }
.wg-hero .hero-text { margin-inline: auto; width: min(900px, 100%); }
.wg-hero.al-left .hero-text { margin-inline: 0 auto; }
.bs.w-full.pad-none .wg-hero { padding-top: 140px; }

/* builder sections */
.bs { position: relative; background-size: cover; background-position: center; }
.bs.has-img::before { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--ov) / 100); }
.bs-in { position: relative; width: min(1180px, 100% - 40px); margin-inline: auto; }
.bs.w-narrow .bs-in { width: min(820px, 100% - 40px); }
.bs.w-full .bs-in { width: 100%; }
.bs.pad-none { padding: 0; } .bs.pad-sm { padding: 24px 0; } .bs.pad-md { padding: 48px 0; } .bs.pad-lg { padding: 80px 0; } .bs.pad-xl { padding: 120px 0; }
.bs.al-center { text-align: center; }
.bs.dark { color: #f3efe8; }
.bs.dark a:not(.sbtn) { color: #fff; }
.bs.dark h1, .bs.dark h2, .bs.dark h3, .bs.dark h4 { color: #fff; }
.bs-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: start; }
.bs-col { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; }
.wg { min-width: 0; }
.kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--a); margin-bottom: 8px; }
.wg-heading h1, .wg-heading h2, .wg-heading h3, .wg-heading h4 { margin: 0; }
.prose { font-size: 1.04em; }
.prose img { border-radius: var(--rad); }
.prose h2 { margin-top: 1.2em; } .prose h3 { margin-top: 1em; }
.lead { font-size: 1.2em; opacity: .85; }
.wg-image { margin: 0; }
.wg-image.rounded img, .wg-image.rounded .img-ph { border-radius: var(--rad); }
.wg-image img { display: block; width: 100%; }
.wg-image figcaption, .wg-video figcaption { font-size: 14px; opacity: .7; margin-top: 8px; }
.img-ph { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--a) 35%, transparent), color-mix(in srgb, var(--p) 30%, transparent)); color: rgba(255, 255, 255, .85); }
.wg-divider { border-top: 1px solid currentColor; opacity: .22; margin: 6px 0; }
.wg-divider.dv-dots { border-top-style: dotted; border-top-width: 3px; }
.wg-divider.dv-ornament { border: 0; opacity: 1; display: flex; align-items: center; gap: 14px; color: var(--a); }
.wg-divider.dv-ornament::before, .wg-divider.dv-ornament::after { content: ""; flex: 1; border-top: 1px solid currentColor; opacity: .45; }
.wg-iconbox .ib-icon { display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: color-mix(in srgb, var(--a) 22%, transparent); color: var(--p); margin-bottom: 14px; }
.wg-iconbox h3 { margin-bottom: 6px; }
.wg-iconbox p { margin: 0; opacity: .85; }
.wg-gallery { display: grid; gap: 10px; }
.wg-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); } .wg-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); } .wg-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.wg-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rad); display: block; transition: transform .25s; }
.wg-gallery a:hover img { transform: scale(1.02); }
.ratio { position: relative; aspect-ratio: 16 / 9; }
.ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--rad); }
.wg-map iframe { width: 100%; height: 100%; border: 0; border-radius: var(--rad); }
.rv-grid { display: grid; gap: 20px; }
.rv-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .rv-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.rv { margin: 0; padding: 26px; border-radius: var(--rad); background: color-mix(in srgb, var(--bg) 85%, #fff); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); text-align: left; }
.rv .stars { color: #d6d6d6; font-size: 18px; letter-spacing: 2px; }
.rv .stars .on { color: #e8a800; }
.rv p { font-style: italic; margin: 10px 0 14px; }
.rv footer { font-size: 14px; opacity: .8; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 6px 0; text-align: left; border-bottom: 1px dashed color-mix(in srgb, currentColor 22%, transparent); }
.hours td { text-align: right; }
.hours tr.today { font-weight: 700; color: var(--p); }
.bs.dark .hours tr.today { color: var(--a); }
.contact-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ic { color: var(--a); margin-top: 3px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social.al-center { justify-content: center; } .social.al-right { justify-content: flex-end; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; }
.social a:hover { background: var(--p); color: #fff; }

/* plans & prices */
.pl-grid { display: grid; gap: 20px; align-items: stretch; }
.pl-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .pl-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .pl-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border-radius: calc(var(--rad) + 4px); background: color-mix(in srgb, var(--bg) 85%, #fff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .07); border: 2px solid transparent; text-align: left; color: var(--tx); }
.bs.dark .pl { color: var(--tx); }
.pl.hot { border-color: var(--p); }
.pl-tag { position: absolute; top: -12px; left: 24px; background: var(--p); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 99px; text-transform: uppercase; letter-spacing: .5px; }
.pl h3 { margin: 0; }
.pl-price strong { font-size: 2em; font-family: var(--hf); color: var(--p); }
.pl-price span { opacity: .75; }
.pl-usd { font-size: .9em; opacity: .7; margin-top: -4px; }
.pl p { margin: 4px 0; opacity: .85; }
.pl ul { list-style: none; margin: 6px 0 16px; padding: 0; display: grid; gap: 6px; font-size: .95em; }
.pl li { display: flex; gap: 8px; align-items: flex-start; }
.pl li .ic { color: var(--p); margin-top: 3px; }
.pl .sbtn { margin-top: auto; justify-content: center; }

/* class schedule */
.sc-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; text-align: left; }
.sc-day { background: color-mix(in srgb, var(--bg) 85%, #fff); border-radius: calc(var(--rad) + 2px); padding: 16px 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .06); color: var(--tx); }
.sc-day h3 { font-size: 1.1em; margin: 0 0 10px; }
.sc-day h3 small { font-weight: 500; opacity: .65; font-family: var(--bf); font-size: .8em; }
.sc-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-day li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--rad); border-left: 4px solid var(--cc, var(--p)); background: color-mix(in srgb, var(--cc, #888) 7%, transparent); }
.sc-day time { font-weight: 800; }
.sc-day li strong { display: block; line-height: 1.2; }
.sc-day li small { opacity: .7; font-size: .85em; }
.sc-min { font-size: .8em; opacity: .65; white-space: nowrap; }

/* trainers & class types */
.tr-grid, .ct-grid { display: grid; gap: 22px; }
.tr-grid.cols-2, .ct-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .tr-grid.cols-3, .ct-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tr-grid.cols-4, .ct-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.tr { text-align: center; }
.tr img, .tr-init { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--p) 14%, var(--bg)); color: var(--p); font-size: 44px; font-weight: 800; font-family: var(--hf); }
.tr h3 { margin: 0 0 2px; }
.tr-title { color: var(--p); font-weight: 700; }
.bs.dark .tr-title { color: var(--a); }
.tr-spec { font-size: .92em; opacity: .75; margin-bottom: 8px; }
.tr p { font-size: .95em; opacity: .85; }
.ct { padding: 22px; border-radius: calc(var(--rad) + 2px); background: color-mix(in srgb, var(--bg) 85%, #fff); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); border-top: 5px solid var(--cc, var(--p)); text-align: left; color: var(--tx); }
.ct h3 { margin: 0 0 6px; }
.ct-meta { font-size: .9em; opacity: .75; display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.ct p { margin: 0; opacity: .85; }
.hours-locs.multi { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.hours-locs h4 { margin: 0 0 6px; }

/* pages */
.page-band { padding: 70px 0 50px; background: color-mix(in srgb, var(--p) 8%, var(--bg)); text-align: center; }
.page-band h1 { margin: 0; }
.page-band p { margin: 10px auto 0; max-width: 680px; opacity: .8; }
.page-band .crumb { font-size: 14px; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }
.page-html { padding: 50px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding: 30px 0 60px; }
.card-link { display: block; text-decoration: none; color: inherit; border-radius: var(--rad); overflow: hidden; box-shadow: 0 8px 26px rgba(0, 0, 0, .08); background: color-mix(in srgb, var(--bg) 80%, #fff); }
.card-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card-link div { padding: 16px 18px; }

/* footer */
.footer { background: #1d1714; color: #e8e2d8; }
.footer .bs { color: #e8e2d8; }
.footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 56px 0; }
.footer-grid h3 { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 18px 0; }
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; opacity: .85; }
.powered { opacity: .6; font-size: 12.5px; }
.demo-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 99px; background: #0a2a7f; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 30px rgba(10, 42, 127, .35); font-family: system-ui, sans-serif; font-size: 14px; }
.demo-fab:hover { background: #071d5a; }

/* ================= themes ================= */
/* BISTRO — warm and classic */
.theme-bistro .header { border-bottom: 3px double color-mix(in srgb, var(--p) 40%, transparent); }
.theme-bistro .nav a { text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.theme-bistro .wg-heading h2::after { content: ""; display: block; width: 50px; height: 2px; background: var(--a); margin-top: 14px; }
.theme-bistro .wg-heading.al-center h2::after { margin-inline: auto; }
.theme-bistro .page-band { background: var(--p); color: #fff; }
.theme-bistro .page-band h1, .theme-bistro .page-band a { color: #fff; }
.theme-bistro .rv { border-left: 4px solid var(--a); }
/* MODERN — clean and bright */
.theme-modern .nav a { font-weight: 600; }
.theme-modern .sbtn { border-radius: 99px; }
.theme-modern .rv, .theme-modern .pl, .theme-modern .sc-day, .theme-modern .ct { border-radius: 20px; }
.theme-modern .page-band { background: linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 60%, #000)); color: #fff; padding: 110px 0 70px; }
.theme-modern .page-band h1, .theme-modern .page-band a { color: #fff; }
.theme-modern .wg-iconbox { padding: 26px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(10, 30, 80, .07); height: 100%; }
.theme-modern .footer { background: #0b1020; }
/* LOUNGE — dark and elegant */
.theme-lounge .header { background: #0c0c0c; border-bottom: 1px solid color-mix(in srgb, var(--p) 40%, transparent); }
.theme-lounge .nav a, .theme-lounge .logo { color: #f1ebdf; }
.theme-lounge .nav a { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; }
.theme-lounge .nav a:hover { color: var(--p); }
.theme-lounge .nav .dropdown { background: #151515; }
.theme-lounge .nav-toggle { color: #f1ebdf; }
.theme-lounge h1, .theme-lounge h2, .theme-lounge h3 { font-weight: 600; letter-spacing: .5px; }
.theme-lounge .kicker { color: var(--p); }
.theme-lounge .sbtn { border-radius: 0; text-transform: uppercase; letter-spacing: 2px; font-size: 13.5px; background: transparent; color: var(--p); }
.theme-lounge .sbtn:hover { background: var(--p); color: #111; }
.theme-lounge .page-band { background: #0c0c0c; border-bottom: 1px solid color-mix(in srgb, var(--p) 30%, transparent); }
.theme-lounge .rv { background: #181818; border: 1px solid color-mix(in srgb, var(--p) 30%, transparent); box-shadow: none; }
.theme-lounge .pl, .theme-lounge .sc-day, .theme-lounge .ct { background: #181b1f; color: var(--tx); border-color: color-mix(in srgb, var(--p) 35%, transparent); box-shadow: none; }
.theme-lounge .footer { background: #000; border-top: 1px solid color-mix(in srgb, var(--p) 40%, transparent); }
.theme-lounge .topbar { background: #000; color: var(--p); }
.theme-lounge .topbar a, .theme-lounge .topbar span { color: #d9cfbd; }
.theme-lounge .bs[style*="background-color:#f4ede2"] { background-color: #161616 !important; }

/* ================= responsive ================= */
@media (max-width: 960px) {
  .nav, .header-end .cta, .hl-split .nav-right, .hl-split .nav-left { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { justify-content: space-between; min-height: 64px; }
  .hl-center .header-inner, .hl-split .header-inner { justify-content: space-between; padding: 0; flex-wrap: nowrap; }
  .hl-center .logo { width: auto; }
  .hl-center .header-end { position: static; }
  body.nav-open .mobile-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); box-shadow: 0 20px 40px rgba(0, 0, 0, .15); padding: 10px 20px 20px; }
  .theme-lounge.nav-open .mobile-nav { background: #0c0c0c; }
  .mobile-nav ul { list-style: none; margin: 0 0 14px; padding: 0; }
  .mobile-nav a { display: block; padding: 12px 0; color: var(--tx); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .theme-lounge .mobile-nav a { color: #f1ebdf; border-color: #222; }
  .mobile-nav .dropdown { padding-left: 16px; }
  .mobile-nav .sbtn { color: #fff; border-bottom: 0; justify-content: center; }
  .mobile-nav .site-lang { margin-top: 10px; }
  .mobile-nav .site-lang a { display: inline-block; border: 0; padding: 4px 8px; }
  .bs-grid { grid-template-columns: 1fr; gap: 28px; }
  .span-12, .span-8, .span-6, .span-4, .span-3 { grid-column: auto; }
  .bs.pad-lg { padding: 56px 0; } .bs.pad-xl { padding: 80px 0; }
  .rv-grid.cols-2, .rv-grid.cols-3, .footer-grid, .pl-grid.cols-3, .pl-grid.cols-4, .tr-grid.cols-4, .ct-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .rv-grid.cols-2, .rv-grid.cols-3, .footer-grid { grid-template-columns: 1fr; }
  .wg-gallery.cols-3, .wg-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: none !important; }
  .bs.w-full.pad-none .wg-hero { padding-top: 110px; }
}
@media (max-width: 560px) {
  .pl-grid.cols-2, .pl-grid.cols-3, .pl-grid.cols-4, .tr-grid.cols-2, .tr-grid.cols-3, .tr-grid.cols-4, .ct-grid.cols-2, .ct-grid.cols-3, .ct-grid.cols-4 { grid-template-columns: 1fr; }
  .demo-fab { right: 12px; bottom: 12px; padding: 10px 14px; }
}

/* demo restaurant website ribbon */
.demo-ribbon { position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 20px; background: #ffc800; color: #1b1b1b; font: 600 13.5px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
.demo-ribbon .dr-tag { background: #1b1b1b; color: #ffc800; padding: 2px 8px; border-radius: 5px; font-size: 11px; letter-spacing: 1px; font-weight: 800; }
.demo-ribbon .dr-text { flex: 1; min-width: 220px; }
.demo-ribbon .dr-links { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-ribbon a { color: #1b1b1b; background: rgba(0, 0, 0, .08); padding: 3px 10px; border-radius: 6px; text-decoration: none; }
.demo-ribbon a:hover { background: rgba(0, 0, 0, .18); }
.demo-ribbon a.dr-all { background: #1b1b1b; color: #ffc800; }
.ratio video { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--rad); background: #000; object-fit: contain; }

/* public demo page (same design as the website) */
.demo-hero { padding: 64px 0 140px; background: radial-gradient(circle at 15% 0, color-mix(in srgb, var(--p) 70%, #3d6cff) 0, var(--p) 45%, color-mix(in srgb, var(--p) 55%, #000) 100%); color: #fff; text-align: center; }
.demo-hero h1 { color: #fff; margin-bottom: 14px; }
.demo-hero p { max-width: 820px; margin: 0 auto; font-size: 1.12em; opacity: .9; }
.demo-hero .kicker { color: var(--a); }
.demo-alert { padding: 14px 18px; border-radius: var(--rad); background: #fff4d6; color: #7a5a00; margin-bottom: 20px; font-weight: 600; }
.demo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: -90px; position: relative; }
.demo-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #fff; color: #1c2133; border-radius: calc(var(--rad) + 6px); box-shadow: 0 18px 46px rgba(10, 30, 80, .13); border-top: 6px solid var(--c); }
.dc-head { display: flex; gap: 14px; align-items: flex-start; }
.dc-ico { width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); }
.demo-card h2 { font-size: 22px; margin: 2px 0 4px; color: #1c2133; }
.demo-card .dc-head p { margin: 0; color: #5d667f; font-size: .95em; }
.demo-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; font-size: .96em; }
.demo-card li { display: flex; gap: 9px; align-items: flex-start; }
.demo-card li .ic { color: #138a52; margin-top: 4px; }
.demo-card form { margin: 0; }
.sbtn.dc-go { width: 100%; justify-content: center; padding: 14px 20px; background: var(--c); border-color: var(--c); color: #fff; font-size: 1em; }
.demo-info { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 34px; }
.demo-box { padding: 26px 28px; border-radius: calc(var(--rad) + 6px); background: color-mix(in srgb, var(--p) 5%, #fff); border: 1px solid color-mix(in srgb, var(--p) 12%, #fff); }
.demo-box h3 { display: flex; gap: 8px; align-items: center; }
.demo-box ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.demo-code { display: flex; gap: 10px; }
.demo-code input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border-radius: var(--rad); border: 1px solid #cfd5e2; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.demo-err { color: #b4122b; font-weight: 600; }
@media (max-width: 1060px) { .demo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .demo-cards, .demo-info { grid-template-columns: 1fr; } .demo-cards { margin-top: -60px; } .demo-code { flex-direction: column; } }

/* phones: calmer buttons and headings */
@media (max-width: 699px) {
  body.site { font-size: calc(var(--fs) - 1px); }
  h1 { font-size: clamp(28px, 8vw, 36px); }
  h2 { font-size: clamp(22px, 6.4vw, 28px); }
  h3 { font-size: 18px; }
  .sbtn { padding: 10px 18px; font-size: 14.5px; gap: 6px; }
  .theme-lounge .sbtn { letter-spacing: 1px; font-size: 12.5px; padding: 10px 16px; }
  .hero-btns { gap: 8px; }
  .hero-btns .sbtn { flex: 1 1 140px; justify-content: center; }
  .hero, .wg-hero { min-height: 0; }
  .wg-hero { padding: 48px 18px; }
  .wg-hero.h-lg, .wg-hero.h-full { min-height: 70vh; }
  .wg-hero.h-md { min-height: 300px; }
  .hero p, .wg-hero p { font-size: 16px; }
  .bs.pad-lg { padding: 44px 0; } .bs.pad-xl { padding: 60px 0; } .bs.pad-md { padding: 32px 0; }
  .bs-in, .wrap { width: calc(100% - 32px); }
  .bs.w-full .bs-in { width: 100%; }
  .bs-grid { gap: 20px; }
  .wg-iconbox .ib-icon { width: 54px; height: 54px; }
  .rv { padding: 20px; }
  .header-inner { gap: 10px; min-height: 58px; }
  .logo img { height: 38px; }
  .logo-text strong { font-size: 18px; }
  .logo-text small { display: none; }
  .topbar { font-size: 12.5px; }
  .topbar .wrap { padding: 5px 0; }
  .tb-items { gap: 10px; }
  .page-band { padding: 46px 0 34px; }
  .demo-ribbon { font-size: 12.5px; padding: 8px 12px; }
  .demo-ribbon .dr-text { min-width: 100%; }
  .demo-ribbon a { padding: 3px 8px; }
  .demo-fab { font-size: 13px; }
  .pl { padding: 22px 18px; }
  .footer-bottom .wrap { justify-content: center; text-align: center; }
  .demo-card { padding: 22px; }
  .demo-card h2 { font-size: 20px; }
}
