
:root{
  --bg:#f7f8fa;
  --paper:#ffffff;
  --ink:#18212b;
  --muted:#66717e;
  --red:#d94b40;
  --red2:#ee695d;
  --navy:#203f63;
  --sand:#f1ede6;
  --line:#e1e6eb;
  --max:1220px;
  --shadow:0 18px 45px rgba(31,48,68,.11);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}
a{color:inherit}
img{display:block;max-width:100%}
.container{width:min(calc(100% - 32px),var(--max));margin:auto}

.utility{
  background:var(--navy);
  color:#fff;
  font-size:.84rem;
}
.utility .container{
  min-height:34px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.utility a{text-decoration:none}

.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  min-height:84px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand{
  display:flex;align-items:center;gap:12px;text-decoration:none;
}
.signmark{
  display:none;
  background:linear-gradient(135deg,#ef6d5e,var(--red));
  color:#fff;
  border:3px solid #252a30;
  border-radius:8px;
  padding:9px 13px;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 3px 0 #252a30;
  line-height:.9;
}
.signmark small{
  display:block;
  font-size:.58rem;
  margin-top:5px;
  letter-spacing:.17em;
}
.nav{
  display:flex;align-items:center;gap:22px;
}
.nav a{
  text-decoration:none;
  font-size:.93rem;
  font-weight:760;
  color:#344252;
}
.nav a.active{color:var(--red)}
.nav .call{
  background:var(--red);
  color:#fff;
  padding:11px 16px;
  border-radius:999px;
  box-shadow:0 8px 20px rgba(217,75,64,.18);
}

.hero{
  position:relative;
  min-height:610px;
  display:grid;
  align-items:end;
  overflow:hidden;
  background:#1a2632;
}
.hero img{
  position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;
  object-position:center 38%;
}
.hero:after{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(9,18,28,.88) 0%,rgba(9,18,28,.72) 36%,rgba(9,18,28,.24) 66%,rgba(9,18,28,.08) 100%),
    linear-gradient(0deg,rgba(9,18,28,.40),rgba(9,18,28,0) 40%);
}
.hero-content{
  position:relative;z-index:2;
  padding:86px 0 72px;
  color:#fff;
}
.kicker{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:850;
  color:#ffd2cc;
  margin-bottom:14px;
}
h1{
  font-size:clamp(3.2rem,7vw,6.6rem);
  line-height:.88;
  letter-spacing:-.055em;
  margin:0 0 18px;
  max-width:780px;
}
h1 .accent{color:#ff7b6f}
.hero p{
  font-size:clamp(1.05rem,2vw,1.3rem);
  max-width:700px;
  color:#e6edf4;
  margin:0 0 26px;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 19px;border-radius:999px;
  text-decoration:none;font-weight:850;border:1px solid transparent;
}
.btn.primary{
  background:linear-gradient(135deg,var(--red2),var(--red));
  color:#fff;
}
.btn.light{
  background:rgba(255,255,255,.95);
  color:var(--ink);
}
.btn.outline{
  background:#fff;
  color:var(--ink);
  border-color:var(--line);
}

.trustbar{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.trustbar .container{
  display:grid;
  grid-template-columns:repeat(5,1fr);
}
.trust{
  padding:18px 16px;
  text-align:center;
  border-right:1px solid var(--line);
  font-size:.88rem;
  font-weight:760;
  color:#3f4c5b;
}
.trust:last-child{border-right:0}

section{padding:72px 0}
.section-head{
  display:flex;justify-content:space-between;gap:28px;align-items:end;
  margin-bottom:28px;
}
.section-head .copy{max-width:760px}
.eyebrow{
  color:var(--red);
  text-transform:uppercase;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.17em;
  margin-bottom:9px;
}
h2{
  font-size:clamp(2.15rem,4.8vw,4rem);
  letter-spacing:-.045em;
  line-height:.96;
  margin:0 0 10px;
}
.section-head p{margin:0;color:var(--muted);font-size:1.03rem}

.service-strip{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  min-height:420px;
  gap:16px;
}
.service-tile{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  background:#ddd;
  box-shadow:var(--shadow);
}
.service-tile img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.service-tile:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(13,25,38,.78),rgba(13,25,38,.10) 62%);
}
.service-copy{
  position:absolute;left:22px;right:22px;bottom:20px;z-index:2;color:#fff;
}
.service-copy h3{font-size:1.45rem;margin:0 0 6px}
.service-copy p{margin:0;color:#dbe3ea;font-size:.92rem}

.split{
  display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;
}
.big-photo{
  border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#fff;
}
.big-photo img{width:100%;height:520px;object-fit:cover}
.feature-copy{
  padding:14px 6px;
}
.feature-copy h2{max-width:650px}
.feature-copy p{color:var(--muted);font-size:1.04rem}
.bullets{
  list-style:none;padding:0;margin:22px 0 0;display:grid;gap:13px;
}
.bullets li{
  display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;
  font-size:.98rem;color:#3e4b58;
}
.bullets li:before{
  content:"✓";
  width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;
  background:#fff0ee;color:var(--red);
  font-weight:900;
}

.product-band{
  background:var(--sand);
}
.product-showcase{
  display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:stretch;
}
.product-image{
  border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#fff;
}
.product-image img{width:100%;height:100%;min-height:500px;object-fit:cover}
.product-copy{
  background:#fff;
  border-radius:24px;
  padding:34px;
  box-shadow:var(--shadow);
}
.product-copy h3{font-size:1.6rem;margin:0 0 10px}
.product-list{
  list-style:none;padding:0;margin:20px 0;display:grid;gap:11px;
}
.product-list li{
  padding:12px 0;
  border-bottom:1px solid var(--line);
  color:#42505e;
}
.product-list li:last-child{border-bottom:0}

.story{
  background:linear-gradient(135deg,#203f63,#172d47);
  color:#fff;
}
.story-grid{
  display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;align-items:center;
}
.story-number{
  font-size:clamp(8rem,20vw,15rem);
  font-weight:1000;
  line-height:.8;
  letter-spacing:-.08em;
  color:#ff7b6f;
}
.story-copy h2{color:#fff}
.story-copy p{color:#d9e4ed;font-size:1.03rem}
.story-copy .btn.light{margin-top:8px}

.gallery-preview{
  display:grid;grid-template-columns:1.1fr .9fr;gap:18px;
}
.gallery-preview img{
  width:100%;height:420px;object-fit:cover;border-radius:22px;box-shadow:var(--shadow);
}
.gallery-stack{display:grid;grid-template-rows:1fr 1fr;gap:18px}
.gallery-stack img{height:201px}

.contact-band{
  background:#fff;
}
.contact-box{
  display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;
  background:linear-gradient(135deg,#fff7f5,#f2f6fb);
  padding:38px;
  border-radius:24px;
  border:1px solid var(--line);
}
.contact-box h2{font-size:2.2rem;margin-bottom:8px}
.contact-box p{margin:0;color:var(--muted)}
.contact-actions{display:flex;gap:12px;flex-wrap:wrap}

.footer{
  background:#17202a;
  color:#cbd3db;
  padding:38px 0;
}
.footer-grid{
  display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:28px;
}
.footer h4{color:#fff;margin:0 0 10px}
.footer a{color:#cbd3db;text-decoration:none}
.footer small{color:#8f9aa5}

@media(max-width:980px){
  .nav a:not(.call){display:none}
  .trustbar .container{grid-template-columns:repeat(2,1fr)}
  .trust{border-bottom:1px solid var(--line)}
  .service-strip{grid-template-columns:1fr}
  .service-tile{min-height:320px}
  .split,.product-showcase,.story-grid,.gallery-preview,.contact-box,.footer-grid{grid-template-columns:1fr}
  .gallery-stack{grid-template-columns:1fr 1fr;grid-template-rows:none}
}
@media(max-width:600px){
  .utility .container{flex-direction:column;align-items:flex-start;padding:7px 0}
  .header-inner{min-height:74px}
  .hero{min-height:560px}
  .hero-content{padding:74px 0 56px}
  .trustbar .container{grid-template-columns:1fr}
  .gallery-stack{grid-template-columns:1fr}
  .gallery-stack img{height:240px}
}


.storefront-full{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
}
.storefront-full img{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center top;
}


/* Definitive storefront treatment: never crop this portrait photo. */
.storefront-natural{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
  display:block;
}
.storefront-natural img,
.gallery-preview .storefront-natural img,
.split .storefront-natural img{
  position:static !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center top !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
.storefront-gallery{
  align-items:start;
}
@media(max-width:980px){
  .storefront-gallery{
    grid-template-columns:1fr;
  }
}


/* Updated storefront-sign inspired logo */
.brand-logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.logo-sign{
  display:flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg,#f07a67,#dc5a46);
  color:#fff;
  border:3px solid #2a2f36;
  border-radius:8px;
  padding:8px 12px 8px 10px;
  box-shadow:0 3px 0 #2a2f36, 0 8px 18px rgba(23,35,48,.12);
}
.logo-icon-group{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.med-pin{
  width:26px;
  height:42px;
  background:#fff;
  border:2px solid #2a2f36;
  border-radius:44% 44% 34% 34% / 18% 18% 68% 68%;
  position:relative;
  flex:0 0 auto;
}
.med-pin:before,
.med-pin:after{
  content:"";
  position:absolute;
  background:#dc5a46;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:1px;
}
.med-pin:before{width:12px;height:4px;}
.med-pin:after{width:4px;height:12px;}

.ball-o{
  width:24px;
  height:24px;
  border-radius:50%;
  background:#11171f;
  position:relative;
  flex:0 0 auto;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.08);
}
.ball-o:before{
  content:"";
  position:absolute;
  width:5px;height:5px;border-radius:50%;
  background:#fff;
  left:7px;top:6px;
  box-shadow:7px 2px 0 #fff, 5px 9px 0 #fff;
}
.stetho{
  width:24px;
  height:24px;
  position:relative;
  flex:0 0 auto;
}
.stetho:before{
  content:"";
  position:absolute;
  left:5px;
  top:2px;
  width:12px;
  height:14px;
  border:3px solid #fff;
  border-top:0;
  border-left-color:#fff;
  border-right-color:#fff;
  border-bottom-color:#fff;
  border-radius:0 0 12px 12px;
}
.stetho:after{
  content:"";
  position:absolute;
  right:1px;
  bottom:1px;
  width:8px;
  height:8px;
  border:3px solid #fff;
  border-radius:50%;
  box-sizing:border-box;
}
.logo-text{
  display:flex;
  flex-direction:column;
  line-height:.88;
}
.logo-main{
  font-size:1rem;
  font-weight:1000;
  letter-spacing:.05em;
  text-transform:uppercase;
  white-space:nowrap;
}
.logo-sub{
  margin-top:5px;
  font-size:.60rem;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase;
  white-space:nowrap;
}
@media(max-width:640px){
  .logo-sign{padding:7px 10px 7px 9px; gap:8px}
  .logo-main{font-size:.87rem}
  .logo-sub{font-size:.54rem}
  .med-pin{width:22px;height:36px}
  .ball-o,.stetho{width:20px;height:20px}
  .stetho:before{left:4px; top:1px; width:10px; height:12px}
  .stetho:after{width:7px;height:7px}
}


/* Unified full Bowling Medic logo on every page */
.site-header .brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  min-width:0;
}
.site-header .brand-logo{
  display:block !important;
  width:auto !important;
  height:62px !important;
  max-width:min(420px, 42vw) !important;
  object-fit:contain !important;
  object-position:left center !important;
  filter:drop-shadow(0 5px 10px rgba(15,22,31,.12));
}
@media(max-width:980px){
  .site-header .brand-logo{
    height:54px !important;
    max-width:300px !important;
  }
}
@media(max-width:680px){
  .site-header .brand-logo{
    height:46px !important;
    max-width:220px !important;
  }
  .header-inner{
    gap:10px;
  }
}
@media(max-width:420px){
  .site-header .brand-logo{
    height:42px !important;
    max-width:190px !important;
  }
}


/* Homepage gets the larger full logo; inner pages use the same logo smaller */
body.home-page .site-header .brand-logo{
  height:72px !important;
  max-width:min(500px, 48vw) !important;
}
body.inner-page .site-header .brand-logo{
  height:54px !important;
  max-width:min(340px, 36vw) !important;
}

@media(max-width:980px){
  body.home-page .site-header .brand-logo{
    height:62px !important;
    max-width:360px !important;
  }
  body.inner-page .site-header .brand-logo{
    height:50px !important;
    max-width:280px !important;
  }
}
@media(max-width:680px){
  body.home-page .site-header .brand-logo{
    height:54px !important;
    max-width:260px !important;
  }
  body.inner-page .site-header .brand-logo{
    height:44px !important;
    max-width:215px !important;
  }
}
@media(max-width:420px){
  body.home-page .site-header .brand-logo{
    height:50px !important;
    max-width:235px !important;
  }
  body.inner-page .site-header .brand-logo{
    height:40px !important;
    max-width:190px !important;
  }
}


/* v8: tightly cropped logo, deliberately large on homepage */
body.home-page .header-inner{
  min-height:108px !important;
}
body.home-page .site-header .brand-logo{
  height:88px !important;
  width:auto !important;
  max-width:min(620px, 56vw) !important;
}

body.inner-page .header-inner{
  min-height:78px !important;
}
body.inner-page .site-header .brand-logo{
  height:54px !important;
  width:auto !important;
  max-width:min(350px, 38vw) !important;
}

@media(max-width:980px){
  body.home-page .header-inner{min-height:94px !important}
  body.home-page .site-header .brand-logo{
    height:76px !important;
    max-width:430px !important;
  }
}
@media(max-width:680px){
  body.home-page .header-inner{min-height:86px !important}
  body.home-page .site-header .brand-logo{
    height:68px !important;
    max-width:310px !important;
  }
  body.inner-page .site-header .brand-logo{
    height:44px !important;
    max-width:215px !important;
  }
}
@media(max-width:420px){
  body.home-page .site-header .brand-logo{
    height:62px !important;
    max-width:285px !important;
  }
  body.inner-page .site-header .brand-logo{
    height:40px !important;
    max-width:185px !important;
  }
}


/* v9 CLEAN HEADER — overrides all legacy logo rules */
.site-header .official-brand{
  display:flex !important;
  align-items:center !important;
  text-decoration:none !important;
  flex:0 0 auto !important;
}
.site-header .official-logo{
  display:block !important;
  width:auto !important;
  object-fit:contain !important;
  object-position:left center !important;
  filter:drop-shadow(0 5px 10px rgba(15,22,31,.12));
}
.site-header.home-header .header-inner{
  min-height:118px !important;
}
.site-header.home-header .official-logo{
  height:98px !important;
  max-width:620px !important;
}
.site-header.inner-header .header-inner{
  min-height:82px !important;
}
.site-header.inner-header .official-logo{
  height:60px !important;
  max-width:390px !important;
}
/* Disable all legacy logo constructions completely. */
.site-header .logo-sign,
.site-header .logo-icon-group,
.site-header .logo-text,
.site-header .signmark,
.site-header .brand-sign,
.site-header .med-pin,
.site-header .ball-o,
.site-header .stetho{
  display:none !important;
}
@media(max-width:980px){
  .site-header.home-header .header-inner{min-height:102px !important}
  .site-header.home-header .official-logo{height:82px !important;max-width:480px !important}
  .site-header.inner-header .official-logo{height:54px !important;max-width:330px !important}
}
@media(max-width:680px){
  .site-header.home-header .header-inner{min-height:94px !important}
  .site-header.home-header .official-logo{height:76px !important;max-width:330px !important}
  .site-header.inner-header .header-inner{min-height:72px !important}
  .site-header.inner-header .official-logo{height:48px !important;max-width:235px !important}
  .site-header .nav{gap:10px !important}
}
@media(max-width:420px){
  .site-header.home-header .official-logo{height:70px !important;max-width:300px !important}
  .site-header.inner-header .official-logo{height:44px !important;max-width:210px !important}
}
