/* ==========================================================================
   Jay Bhavani Fitness Solutions – main stylesheet
   Theme: charcoal + brand red + clean white (industrial gym look)
   ========================================================================== */
:root {
  --red: #c8102e;
  --red-dark: #9e0c24;
  --red-soft: #fdecee;
  --ink: #141416;
  --ink-2: #1f2023;
  --text: #2b2d31;
  --muted: #666b73;
  --line: #e4e5e8;
  --bg: #ffffff;
  --bg-alt: #f5f5f6;
  --radius: 14px;
  --shadow-1: 0 1px 2px rgba(20,20,22,.06), 0 4px 14px rgba(20,20,22,.06);
  --shadow-2: 0 2px 4px rgba(20,20,22,.08), 0 14px 34px rgba(20,20,22,.14);
  --wrap: 1180px;
  --head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; font-weight: 400;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  padding-top: env(safe-area-inset-top, 0px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--red); vertical-align: middle; margin-right: 10px; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: .92rem; line-height: 1; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { color: var(--red-dark); }
.btn-wa { background: #25d366; color: #0b3d1d; }
.btn-wa:hover { background: #1fbd5a; color: #072a14; }
.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 16px; font-size: .82rem; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .6s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow-1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav li a { display: block; padding: 10px 14px; font-family: var(--head); font-weight: 600; font-size: .88rem; color: var(--ink); border-radius: 8px; position: relative; }
.main-nav li a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; border-radius: 2px; }
.main-nav li a:hover::after, .main-nav li a.active::after { transform: scaleX(1); }
.main-nav li a.active { color: var(--red); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink) url('../images/barbell-spotlight-hero.webp') center/cover no-repeat; isolation: isolate; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%); padding: clamp(64px, 11vw, 130px) 0 clamp(96px, 13vw, 160px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,10,12,.95) 8%, rgba(10,10,12,.72) 52%, rgba(10,10,12,.35) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: #ff4d62; }
.hero p.lead { font-size: 1.12rem; max-width: 560px; color: #dcdde0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-tags span { font-size: .8rem; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.hero-visual { position: relative; }
.hero-visual .hv-main { border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); border: 3px solid rgba(255,255,255,.12); }
.hero-visual .hv-sub { position: absolute; width: 52%; right: -10px; bottom: -34px; border-radius: 14px; border: 4px solid var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.hero-sm { padding: clamp(46px, 7vw, 84px) 0 clamp(70px, 9vw, 108px); }
.hero-sm .hero-grid { grid-template-columns: 1fr; }
.crumb { font-size: .85rem; color: #c9cacd; margin-bottom: 12px; }
.crumb a { color: #fff; opacity: .85; }
.crumb a:hover { opacity: 1; color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #d6d7da; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #b9bbc0; }

.strip { background: var(--red); color: #fff; margin-top: -1px; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding: 18px 0; font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.strip li::before { content: "◆"; margin-right: 10px; font-size: .7em; opacity: .8; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--red); color: var(--ink); }
.cat-media { aspect-ratio: 1/1; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff 0, #f0f0f2 100%); padding: 18px; }
.cat-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .4s; }
.cat-tile:hover .cat-media img { transform: scale(1.06); }
.cat-info { padding: 18px 20px 22px; border-top: 3px solid var(--red); }
.cat-info h3 { margin-bottom: 4px; font-size: 1.1rem; }
.cat-info p { margin: 0; color: var(--muted); font-size: .9rem; }
.cat-count { font-family: var(--head); font-weight: 600; font-size: .75rem; letter-spacing: .08em; color: var(--red); text-transform: uppercase; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { padding: 28px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid #2c2e33; transition: transform .25s, border-color .25s; }
.svc:hover { transform: translateY(-5px); border-color: var(--red); }
.svc .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--red); margin-bottom: 18px; }
.svc .ico svg { width: 28px; height: 28px; fill: #fff; }
.svc p { margin: 0; font-size: .95rem; color: #b9bbc0; }
.light .svc { background: #fff; border-color: var(--line); }
.light .svc p { color: var(--muted); }
.light .svc h3 { color: var(--ink); }

/* showcase */
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.show-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); background: var(--ink); }
.show-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transition: transform .6s; }
.show-card:hover img { transform: scale(1.04); }
.show-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; color: #fff; font-family: var(--head); font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
figure { margin: 0; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-2); }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-10'/></svg>") center/12px no-repeat; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 12px; padding: 18px; text-align: center; }
.stat b { display: block; font-family: var(--head); font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); }

/* ---------- Product grids ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--head); font-weight: 600; font-size: .8rem; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .18s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.search { position: relative; min-width: min(100%, 320px); }
.search input { width: 100%; font: inherit; padding: 13px 16px 13px 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: var(--muted); }
.result-count { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.pgrid.wide { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: #d2d3d7; }
.pcard[hidden] { display: none; }
.pcard-media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1/1; padding: 16px; border: 0; background: radial-gradient(circle at 50% 42%, #fff 0, #f1f1f3 100%); cursor: zoom-in; }
.pcard-media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: transform .4s; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.zoom-hint { position: absolute; right: 10px; top: 10px; background: rgba(20,20,22,.85); color: #fff; font-size: .7rem; font-family: var(--head); font-weight: 600; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; opacity: 0; transform: translateY(-4px); transition: all .2s; }
.pcard:hover .zoom-hint, .pcard-media:focus-visible .zoom-hint { opacity: 1; transform: none; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; border-top: 3px solid var(--red); }
.pcode { font-family: var(--head); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.pcard h3 { font-size: .98rem; margin-bottom: 10px; }
.pspecs { margin: 0 0 14px; font-size: .86rem; color: var(--muted); }
.pspecs li { position: relative; padding-left: 16px; margin-bottom: 4px; }
.pspecs li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--red); border-radius: 1px; }
.pcard-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.pcard.reveal { opacity: 0; transform: translateY(22px); }
.pcard.reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease, box-shadow .25s, border-color .25s; }
.pgrid.wide .pcard-media { aspect-ratio: 4/3; }
.no-results { text-align: center; padding: 48px 16px; color: var(--muted); display: none; }
.group-title { display: flex; align-items: center; gap: 14px; margin: 44px 0 20px; }
.group-title:first-child { margin-top: 0; }
.group-title h2 { font-size: 1.35rem; margin: 0; }
.group-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.group-title span { font-size: .8rem; color: var(--muted); font-family: var(--head); font-weight: 600; }

/* ---------- Modals ---------- */
.modal { border: 0; padding: 0; border-radius: 18px; width: min(920px, 94vw); max-height: 90vh; box-shadow: 0 30px 80px rgba(0,0,0,.45); background: #fff; color: var(--text); }
.modal::backdrop { background: rgba(10,10,12,.7); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
.modal-box { position: relative; padding: 28px; max-height: 90vh; overflow: auto; }
.modal-close { position: absolute; right: 14px; top: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg-alt); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); z-index: 2; }
.modal-close:hover { background: var(--red); color: #fff; }
.modal-title { font-size: 1.25rem; padding-right: 48px; }
.modal-img { width: min(760px, 94vw); }
.modal-img img { margin: 8px auto 0; max-height: 70vh; width: auto; object-fit: contain; }
.spec-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.spec-layout img { border-radius: 12px; background: var(--bg-alt); padding: 12px; position: sticky; top: 0; }
.spec-list { margin: 0 0 22px; }
.spec-list li { padding: 9px 0 9px 20px; position: relative; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px; background: var(--red); border-radius: 1px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--red-dark), var(--red) 55%, #e5243f); color: #fff; padding: clamp(40px, 6vw, 64px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 14px, transparent 14px 30px); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #ffe3e7; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9bbc0; padding-top: 56px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.f-logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 12px; margin-bottom: 16px; }
.f-logo img { height: 46px; width: auto; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #e8e9eb; }
.site-footer a:hover { color: #ff6b7d; }
.f-col li { margin-bottom: 9px; }
.f-contact span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8a8d94; margin-bottom: 2px; }
.f-contact li { margin-bottom: 16px; }
address { font-style: normal; color: #e8e9eb; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #2c2e33; padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px)); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* floating contact */
.float-actions { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.float-actions a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.3); transition: transform .2s; }
.float-actions a:hover { transform: scale(1.08); }
.float-actions svg { width: 28px; height: 28px; fill: #fff; }
.fa-call { background: var(--red); }
.fa-wa { background: #25d366; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.info-cards { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; }
.info-card .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); display: grid; place-items: center; }
.info-card .ico svg { width: 24px; height: 24px; fill: var(--red); }
.info-card h3 { margin-bottom: 4px; font-size: 1rem; }
.info-card p, .info-card address { margin: 0; color: var(--muted); }
.info-card a { color: var(--ink); font-weight: 500; }
.info-card a:hover { color: var(--red); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert-ok { background: #e8f7ee; color: #14633a; border: 1px solid #b7e4c8; }
.alert-err { background: #fdecee; color: #8f1126; border: 1px solid #f5b7c0; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Reveal ---------- */
.reveal:not(.pcard) { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal:not(.pcard).in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cat-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-bottom: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .22s ease; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav li a { padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav li a::after { display: none; }
  .nav-call { margin-top: 8px; }
  .split, .contact-grid, .show-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .spec-layout { grid-template-columns: 1fr; }
  .spec-layout img { position: static; max-height: 240px; margin: 0 auto; width: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .container { width: min(var(--wrap), 100% - 28px); }
  .cat-grid { gap: 12px; }
  .cat-info { padding: 14px; }
  .cat-info p { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pgrid.wide { grid-template-columns: 1fr; }
  .pcard-body { padding: 12px; }
  .pcard h3 { font-size: .88rem; }
  .pcard-actions .btn { flex: 1; padding-inline: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .hero-visual .hv-sub { right: 0; bottom: -24px; }
  .strip ul { justify-content: center; text-align: center; }
  .modal-box { padding: 20px 16px; }
  .float-actions a { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .pcard.reveal { opacity: 1 !important; transform: none !important; }
}

/* long e-mail addresses must wrap on small screens */
.contact-grid > *, .split > *, .footer-grid > * { min-width: 0; }
.info-card > div:last-child { min-width: 0; }
.info-card a, .info-card address, .f-contact a, address { overflow-wrap: anywhere; }
