
/* ==================================================================
   JOURDANTON PHARMACY — 2026 MOCK-INSPIRED REDESIGN
   Loaded after the existing stylesheet so inner pages remain stable.
   ================================================================== */

:root{
  --jp-red:#d71920;
  --jp-red-dark:#b90e16;
  --jp-navy:#0b2f50;
  --jp-ink:#12243a;
  --jp-muted:#627388;
  --jp-line:#e6ebf0;
  --jp-soft:#f6f8fa;
  --jp-warm:#fbfaf7;
  --jp-white:#fff;
  --jp-green:#14865b;
  --jp-orange:#e87324;
  --jp-blue:#2868b2;
  --jp-radius:24px;
  --jp-shadow:0 24px 70px rgba(15,42,68,.13);
  --jp-shadow-sm:0 12px 34px rgba(15,42,68,.10);
  --jp-container:1180px;
}

body{
  color:var(--jp-ink);
  background:#fff;
}

.container{
  width:min(calc(100% - 40px),var(--jp-container));
}

/* ---------- Global top bar / header ---------- */
.utility-bar{
  background:var(--jp-red);
  color:#fff;
  border:0;
  position:relative;
  z-index:150;
}

.utility-inner{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.005em;
}

.utility-inner a,
.utility-inner span{
  color:#fff;
}

.utility-inner > a,
.utility-hours{
  display:flex !important;
  align-items:center;
  gap:7px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:140;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(17,46,74,.08);
  backdrop-filter:blur(16px);
}

.site-header.is-scrolled{
  box-shadow:0 8px 28px rgba(9,39,65,.09);
}

.header-inner{
  min-height:78px;
  gap:28px;
}

.brand{
  gap:12px;
  text-decoration:none;
}

.brand-mark{
  width:46px;
  height:46px;
  border-radius:12px;
  background:linear-gradient(145deg,#ec252c,#c80f16);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:1.55rem;
  font-weight:950;
  box-shadow:0 8px 22px rgba(215,25,32,.22);
}

.brand-text{
  line-height:.88;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.brand-text strong:first-child{
  color:var(--jp-red);
  font-size:1.08rem;
}

.brand-text strong:nth-child(2){
  color:var(--jp-navy);
  font-size:1.19rem;
}

.brand-text small{
  display:block;
  margin-top:7px;
  color:#6a7786;
  font-size:.56rem;
  line-height:1;
  letter-spacing:.01em;
  text-transform:none;
  font-weight:650;
}

.desktop-nav{
  display:flex;
  align-items:center;
  gap:28px;
  margin-left:auto;
}

.desktop-nav .nav-link{
  position:relative;
  padding:27px 0 25px;
  color:var(--jp-ink);
  font-size:.93rem;
  font-weight:850;
}

.desktop-nav .nav-link::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:17px;
  height:2px;
  background:var(--jp-red);
  transition:right .22s ease;
}

.desktop-nav .nav-link:hover::after,
.desktop-nav .nav-link.active::after{
  right:0;
}

.header-actions{
  margin-left:0;
}

.header-actions .btn-primary{
  border-radius:12px;
  box-shadow:none;
  padding:12px 18px;
}

.menu-toggle{
  border-radius:12px;
  border:1px solid var(--jp-line);
  background:#fff;
}

/* ---------- Home hero ---------- */
.jp26-home main{
  overflow:hidden;
}

.jp26-hero{
  min-height:610px;
  position:relative;
  display:flex;
  align-items:center;
  isolation:isolate;
  background:var(--jp-navy);
}

.jp26-hero .hero-media{
  position:absolute;
  inset:0;
}

.jp26-hero .hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
  transform:scale(1.02);
}

.jp26-hero-shade{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(5,27,45,.94) 0%,rgba(5,27,45,.78) 34%,rgba(5,27,45,.38) 58%,rgba(5,27,45,.05) 82%),
    linear-gradient(180deg,rgba(7,37,61,.07),rgba(7,37,61,.18));
}

.jp26-hero-inner{
  position:relative;
  z-index:2;
  padding:92px 0 118px;
}

.jp26-hero-copy{
  max-width:650px;
  color:#fff;
}

.jp26-kicker{
  margin:0 0 13px;
  color:var(--jp-red);
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.jp26-hero .jp26-kicker{
  color:#ff8e92;
}

.jp26-hero h1{
  margin:0;
  max-width:680px;
  color:#fff;
  font-family:var(--font-display,Georgia,serif);
  font-size:clamp(3.55rem,6.8vw,6.45rem);
  line-height:.91;
  letter-spacing:-.055em;
}

.jp26-hero h1 span{
  color:#ff5b61;
}

.jp26-hero-copy > p:not(.jp26-kicker){
  max-width:570px;
  margin:24px 0 0;
  color:#eef5f9;
  font-size:1.11rem;
  line-height:1.65;
}

.jp26-hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}

.jp26-btn{
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:13px 20px;
  border:1px solid transparent;
  border-radius:13px;
  font-weight:900;
  text-decoration:none;
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease,border-color .22s ease;
}

.jp26-btn:hover{
  transform:translateY(-2px);
}

.jp26-btn-red{
  background:var(--jp-red);
  color:#fff;
  box-shadow:0 12px 28px rgba(215,25,32,.28);
}

.jp26-btn-red:hover{background:var(--jp-red-dark);color:#fff}

.jp26-btn-glass{
  color:#fff;
  border-color:rgba(255,255,255,.55);
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
}

.jp26-btn-glass:hover{background:#fff;color:var(--jp-navy)}

.jp26-btn-outline{
  color:var(--jp-navy);
  border-color:#cfd8e0;
  background:#fff;
}

.jp26-btn-outline:hover{border-color:var(--jp-red);color:var(--jp-red)}

.jp26-hero-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:27px;
}

.jp26-hero-pills span{
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(255,255,255,.09);
  color:#fff;
  font-size:.74rem;
  font-weight:850;
  backdrop-filter:blur(8px);
}

/* ---------- Quick actions overlap ---------- */
.jp26-actions{
  position:relative;
  z-index:5;
  margin-top:-64px;
  padding-bottom:62px;
}

.jp26-actions-panel{
  padding:26px;
  border:1px solid rgba(14,49,80,.08);
  border-radius:28px;
  background:rgba(255,255,255,.97);
  box-shadow:0 26px 70px rgba(9,39,65,.16);
  backdrop-filter:blur(18px);
}

.jp26-actions-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  padding:2px 4px 20px;
}

.jp26-actions-heading h2,
.jp26-section-head h2,
.jp26-story-copy h2,
.jp26-visit-card h2{
  margin:0;
  color:var(--jp-navy);
  font-family:var(--font-display,Georgia,serif);
  letter-spacing:-.04em;
}

.jp26-actions-heading h2{
  font-size:clamp(2.2rem,4vw,3.6rem);
}

.jp26-actions-heading > p{
  max-width:360px;
  margin:0 0 6px;
  color:var(--jp-muted);
  text-align:right;
}

.jp26-action-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px;
}

.jp26-action-card{
  position:relative;
  min-height:160px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:20px;
  border:1px solid var(--jp-line);
  border-radius:19px;
  background:linear-gradient(145deg,#fff,#fbfcfd);
  color:var(--jp-ink);
  text-decoration:none;
  box-shadow:0 9px 24px rgba(9,39,65,.06);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}

.jp26-action-card:hover{
  transform:translateY(-6px);
  border-color:#d6dfe6;
  box-shadow:0 18px 36px rgba(9,39,65,.12);
}

.jp26-action-icon{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:16px;
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 22px rgba(14,46,76,.12);
}

.jp26-action-icon svg{width:25px;height:25px}
.jp26-action-icon.red{background:linear-gradient(145deg,#ef333b,#c81118)}
.jp26-action-icon.blue{background:linear-gradient(145deg,#4c87cc,#245b9c)}
.jp26-action-icon.green{background:linear-gradient(145deg,#2ea675,#14724e)}
.jp26-action-icon.orange{background:linear-gradient(145deg,#f39a4f,#d75c14)}

.jp26-action-card strong{
  margin-top:16px;
  color:var(--jp-navy);
  font-size:1rem;
}

.jp26-action-card small{
  margin-top:4px;
  color:var(--jp-muted);
  line-height:1.4;
}

.jp26-round-arrow{
  position:absolute;
  right:16px;
  bottom:16px;
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border:1px solid var(--jp-line);
  border-radius:50%;
  color:var(--jp-red);
  background:#fff;
  font-weight:950;
  transition:transform .2s ease,background .2s ease,color .2s ease;
}

.jp26-action-card:hover .jp26-round-arrow{
  transform:translateX(3px);
  background:var(--jp-red);
  color:#fff;
}

/* ---------- Shared section headings ---------- */
.jp26-section-head{
  margin-bottom:34px;
}

.jp26-section-head.centered{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.jp26-section-head.split{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
}

.jp26-section-head h2{
  font-size:clamp(2.55rem,5vw,4.7rem);
  line-height:.96;
}

.jp26-section-head h2 span{
  color:var(--jp-red);
}

.jp26-section-head p:not(.jp26-kicker){
  margin:15px 0 0;
  color:var(--jp-muted);
  font-size:1.04rem;
}

.jp26-text-link{
  color:var(--jp-red);
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
}

/* ---------- Wellness carousel ---------- */
.jp26-wellness{
  padding:78px 0 88px;
  background:
    radial-gradient(circle at 8% 20%,rgba(215,25,32,.06),transparent 25%),
    radial-gradient(circle at 90% 80%,rgba(22,78,126,.07),transparent 24%),
    var(--jp-warm);
}

.jp26-product-shell{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px;
  align-items:center;
  gap:12px;
}

.jp26-product-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(160px,1fr);
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding:18px 2px 22px;
}

.jp26-product-track::-webkit-scrollbar{display:none}

.jp26-product-card{
  min-width:0;
  padding:18px 14px 19px;
  border:1px solid #e5e8eb;
  border-radius:24px;
  background:#fff;
  text-align:center;
  scroll-snap-align:start;
  box-shadow:0 16px 36px rgba(22,48,72,.08);
  transform-style:preserve-3d;
  transition:box-shadow .24s ease,border-color .24s ease,transform .18s ease;
}

.jp26-product-card:hover{
  border-color:#d4dbe2;
  box-shadow:0 24px 54px rgba(22,48,72,.14);
}

.jp26-product-pedestal{
  position:relative;
  height:175px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
}

.jp26-product-pedestal::after{
  content:"";
  position:absolute;
  left:12%;
  right:12%;
  bottom:4px;
  height:31px;
  border-radius:50%;
  background:linear-gradient(180deg,#fff,#e9edf0);
  box-shadow:0 12px 22px rgba(13,45,72,.14);
  transform:perspective(180px) rotateX(62deg);
}

.jp26-product-pedestal img{
  position:relative;
  z-index:2;
  width:150px;
  height:150px;
  object-fit:contain;
  filter:drop-shadow(0 17px 16px rgba(9,39,65,.18));
  animation:jp26Float 4.8s ease-in-out infinite;
}

.jp26-product-card:nth-child(2) img{animation-delay:-.8s}
.jp26-product-card:nth-child(3) img{animation-delay:-1.6s}
.jp26-product-card:nth-child(4) img{animation-delay:-2.4s}
.jp26-product-card:nth-child(5) img{animation-delay:-3.2s}
.jp26-product-card:nth-child(6) img{animation-delay:-4s}

.jp26-product-card h3{
  margin:0;
  color:var(--jp-navy);
  font-size:1rem;
}

.jp26-product-card p{
  margin:5px 0 0;
  color:var(--jp-muted);
  font-size:.79rem;
}

.otc-arrow{
  width:46px;
  height:46px;
  border:1px solid var(--jp-line);
  border-radius:50%;
  background:#fff;
  color:var(--jp-navy);
  font-size:1.8rem;
  box-shadow:0 9px 24px rgba(9,39,65,.09);
  transition:transform .2s ease,background .2s ease,color .2s ease;
}

.otc-arrow:hover{
  transform:scale(1.07);
  background:var(--jp-red);
  color:#fff;
}

@keyframes jp26Float{
  0%,100%{transform:translateY(0) rotate(-.4deg)}
  50%{transform:translateY(-8px) rotate(.4deg)}
}

/* ---------- Service photo cards ---------- */
.jp26-services{
  padding:88px 0;
  background:#fff;
}

.jp26-service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.jp26-service-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--jp-line);
  border-radius:22px;
  background:#fff;
  color:inherit;
  text-decoration:none;
  box-shadow:0 12px 30px rgba(9,39,65,.07);
  transition:transform .26s ease,box-shadow .26s ease;
}

.jp26-service-card:hover{
  transform:translateY(-7px);
  box-shadow:0 24px 48px rgba(9,39,65,.13);
}

.jp26-service-card picture{
  display:block;
  height:220px;
  overflow:hidden;
  background:#e9eef2;
}

.jp26-service-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s cubic-bezier(.2,.7,.2,1);
}

.jp26-service-card:hover img{
  transform:scale(1.045);
}

.jp26-service-card-copy{
  position:relative;
  padding:22px 21px 24px;
}

.jp26-service-card-copy > span{
  color:#a4b0ba;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.15em;
}

.jp26-service-card h3{
  margin:7px 0 7px;
  color:var(--jp-navy);
  font-size:1.2rem;
}

.jp26-service-card p{
  min-height:46px;
  margin:0;
  color:var(--jp-muted);
  font-size:.9rem;
  line-height:1.55;
}

.jp26-service-card b{
  display:inline-block;
  margin-top:15px;
  color:var(--jp-red);
  font-size:.86rem;
}

/* ---------- Story / pharmacist ---------- */
.jp26-story{
  padding:92px 0;
  background:var(--jp-soft);
}

.jp26-story-grid{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  align-items:center;
  gap:70px;
}

.jp26-story-image{
  position:relative;
  min-height:650px;
  overflow:hidden;
  border-radius:30px;
  box-shadow:var(--jp-shadow);
}

.jp26-story-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 35%;
}

.jp26-story-badge{
  position:absolute;
  left:24px;
  bottom:24px;
  display:grid;
  gap:2px;
  padding:17px 19px;
  border-radius:16px;
  background:rgba(255,255,255,.92);
  box-shadow:0 14px 30px rgba(8,34,56,.18);
  backdrop-filter:blur(14px);
}

.jp26-story-badge span{
  color:var(--jp-red);
  font-size:.68rem;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.jp26-story-badge strong{
  color:var(--jp-navy);
}

.jp26-story-copy h2{
  font-size:clamp(3rem,5.3vw,5rem);
  line-height:.94;
}

.jp26-story-copy > p:not(.jp26-kicker){
  max-width:650px;
  margin:20px 0 0;
  color:var(--jp-muted);
  font-size:1.05rem;
  line-height:1.75;
}

.jp26-check-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:28px;
}

.jp26-check-grid > div{
  display:grid;
  grid-template-columns:34px 1fr;
  grid-template-rows:auto auto;
  column-gap:11px;
  padding:16px;
  border:1px solid var(--jp-line);
  border-radius:16px;
  background:#fff;
}

.jp26-check-grid span{
  grid-row:1/3;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(215,25,32,.09);
  color:var(--jp-red);
  font-weight:950;
}

.jp26-check-grid strong{color:var(--jp-navy);font-size:.93rem}
.jp26-check-grid small{margin-top:2px;color:var(--jp-muted);line-height:1.4}

.jp26-story-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  margin-top:28px;
}

/* ---------- Real-photo collage ---------- */
.jp26-gallery{
  padding:88px 0;
  background:#fff;
}

.jp26-photo-grid{
  display:grid;
  grid-template-columns:1.6fr .8fr;
  grid-template-rows:260px 260px;
  gap:16px;
}

.jp26-photo-grid picture{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  box-shadow:0 16px 40px rgba(9,39,65,.09);
}

.jp26-photo-main{
  grid-row:1/3;
}

.jp26-photo-grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .65s cubic-bezier(.2,.7,.2,1);
}

.jp26-photo-grid picture:hover img{
  transform:scale(1.035);
}

/* ---------- Visit ---------- */
.jp26-visit{
  padding:88px 0 96px;
  background:var(--jp-soft);
}

.jp26-visit-grid{
  display:grid;
  grid-template-columns:1fr 1.12fr;
  gap:22px;
  align-items:stretch;
}

.jp26-visit-card,
.jp26-visit-photo{
  border-radius:26px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 16px 42px rgba(9,39,65,.09);
}

.jp26-visit-card{
  padding:38px;
}

.jp26-visit-card h2{
  font-size:clamp(2.5rem,4.6vw,4rem);
  line-height:.98;
}

.jp26-location-line{
  display:flex;
  gap:12px;
  margin-top:22px;
  padding-bottom:18px;
  border-bottom:1px solid var(--jp-line);
}

.jp26-location-line > span{
  color:var(--jp-red);
  font-size:.9rem;
}

.jp26-location-line p{margin:0;color:var(--jp-muted);line-height:1.55}
.jp26-location-line strong{color:var(--jp-navy)}

.jp26-hours{
  display:grid;
  gap:10px;
  margin-top:20px;
}

.jp26-hours div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:9px 0;
  border-bottom:1px dashed #dce3e8;
}

.jp26-hours span{color:var(--jp-muted)}
.jp26-hours strong{color:var(--jp-navy)}

.jp26-visit-photo{
  position:relative;
  min-height:520px;
}

.jp26-visit-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.jp26-visit-overlay{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 20px;
  border-radius:16px;
  background:rgba(8,35,58,.88);
  color:#fff;
  backdrop-filter:blur(12px);
}

.jp26-visit-overlay strong{font-size:1.08rem}
.jp26-visit-overlay span{font-size:.82rem;color:#dce8f0}

/* ---------- CTA / footer ---------- */
.jp26-final-cta{
  background:linear-gradient(100deg,#c70f17,#e5272f);
}

.jp26-final-cta .final-cta-inner{
  gap:28px;
}

.jp26-footer{
  background:#082b49;
}

/* ---------- Inner pages: subtle modernization ---------- */
body:not(.jp26-home) .page-hero{
  border-bottom:1px solid var(--jp-line);
}

body:not(.jp26-home) .page-hero h1{
  letter-spacing:-.045em;
}

body:not(.jp26-home) .rounded-media,
body:not(.jp26-home) .feature-panel,
body:not(.jp26-home) .contact-form-wrap,
body:not(.jp26-home) .safe-card,
body:not(.jp26-home) .info-panel{
  border-radius:24px;
}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .desktop-nav{display:none}
  .header-actions{margin-left:auto}
  .menu-toggle{
    display:grid;
    width:46px;
    height:46px;
    place-items:center;
    flex:0 0 46px;
  }

  .jp26-action-grid{grid-template-columns:repeat(2,1fr)}
  .jp26-service-grid{grid-template-columns:repeat(2,1fr)}
  .jp26-story-grid{gap:40px}
  .jp26-story-image{min-height:590px}
}

@media (max-width:800px){
  .container{width:min(calc(100% - 28px),var(--jp-container))}

  .utility-inner{
    min-height:0;
    padding:7px 0 8px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:3px;
    text-align:center;
    font-size:.69rem;
    line-height:1.3;
  }

  .utility-inner > a,
  .utility-inner > span,
  .utility-hours,
  .utility-address{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
    white-space:normal;
  }

  .header-inner{
    min-height:66px;
    justify-content:space-between;
    gap:10px;
  }

  .brand{
    min-width:0;
    max-width:calc(100% - 58px);
  }

  .brand-mark{
    width:40px;
    height:40px;
    flex:0 0 40px;
    font-size:1.25rem;
  }

  .brand-text strong:first-child{font-size:.88rem}
  .brand-text strong:nth-child(2){font-size:.96rem}
  .brand-text small{display:none}

  .header-actions>.btn{display:none}
  .menu-toggle{
    margin-left:auto;
    width:43px;
    height:43px;
    flex-basis:43px;
  }

  .mobile-menu{
    padding:8px 18px 20px;
    border-top:1px solid var(--jp-line);
    background:#fff;
    box-shadow:0 16px 30px rgba(9,39,65,.11);
  }

  .jp26-hero{
    min-height:0;
    display:grid;
    background:#061f35;
  }

  .jp26-hero .hero-media{
    position:relative;
    height:315px;
  }

  .jp26-hero .hero-media img{
    position:absolute;
    inset:0;
    object-position:center 50%;
    transform:none;
  }

  .jp26-hero-shade{
    background:linear-gradient(180deg,rgba(5,27,45,.05) 0%,rgba(5,27,45,.34) 100%);
  }

  .jp26-hero-inner{
    padding:32px 0 104px;
    background:linear-gradient(180deg,#082b49,#061f35);
  }

  .jp26-hero-copy{
    max-width:none;
  }

  .jp26-hero h1{
    font-size:clamp(2.8rem,12.3vw,4rem);
    line-height:.94;
  }

  .jp26-hero-copy > p:not(.jp26-kicker){
    font-size:1rem;
  }

  .jp26-hero-buttons{
    display:grid;
    grid-template-columns:1fr;
  }

  .jp26-btn{width:100%}

  .jp26-hero-pills{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .jp26-actions{
    margin-top:-60px;
    padding-bottom:50px;
  }

  .jp26-actions-panel{
    padding:18px;
    border-radius:23px;
  }

  .jp26-actions-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
    padding-bottom:17px;
  }

  .jp26-actions-heading > p{
    text-align:left;
  }

  .jp26-action-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .jp26-action-card{
    min-height:150px;
    padding:16px;
  }

  .jp26-section-head.split{
    align-items:flex-start;
    flex-direction:column;
  }

  .jp26-section-head h2{
    font-size:clamp(2.45rem,10vw,3.6rem);
  }

  .jp26-product-shell{
    grid-template-columns:1fr;
  }

  .jp26-product-track{
    grid-auto-columns:min(70vw,240px);
    padding-inline:2px;
  }

  .jp26-product-shell .otc-arrow{display:none}

  .jp26-service-grid{
    grid-template-columns:1fr 1fr;
  }

  .jp26-service-card picture{
    height:200px;
  }

  .jp26-story-grid{
    grid-template-columns:1fr;
  }

  .jp26-story-image{
    min-height:520px;
  }

  .jp26-check-grid{
    grid-template-columns:1fr 1fr;
  }

  .jp26-photo-grid{
    grid-template-columns:1fr 1fr;
    grid-template-rows:360px 230px;
  }

  .jp26-photo-main{
    grid-column:1/3;
    grid-row:auto;
  }

  .jp26-visit-grid{
    grid-template-columns:1fr;
  }

  .jp26-visit-photo{
    min-height:390px;
  }

  .mobile-action-bar{
    padding-bottom:max(env(safe-area-inset-bottom),4px);
  }
}

@media (max-width:540px){
  .container{width:min(calc(100% - 22px),var(--jp-container))}

  .jp26-hero .hero-media{height:245px}
  .jp26-hero-inner{padding:27px 0 92px}
  .jp26-hero h1{font-size:clamp(2.55rem,12vw,3.35rem)}
  .jp26-hero-pills{grid-template-columns:1fr 1fr}
  .jp26-hero-pills span{text-align:center}

  .jp26-actions{margin-top:-52px}
  .jp26-actions-panel{padding:14px}
  .jp26-action-grid{grid-template-columns:1fr}
  .jp26-action-card{
    min-height:104px;
    display:grid;
    grid-template-columns:46px 1fr 32px;
    grid-template-rows:auto auto;
    column-gap:12px;
    align-items:center;
  }
  .jp26-action-icon{
    grid-row:1/3;
    width:46px;
    height:46px;
    border-radius:14px;
  }
  .jp26-action-card strong{margin:0}
  .jp26-action-card small{margin:0}
  .jp26-round-arrow{
    position:static;
    grid-column:3;
    grid-row:1/3;
  }

  .jp26-wellness,
  .jp26-services,
  .jp26-story,
  .jp26-gallery,
  .jp26-visit{
    padding:64px 0;
  }

  .jp26-product-track{
    grid-auto-columns:min(80vw,235px);
  }

  .jp26-service-grid{
    grid-template-columns:1fr;
  }

  .jp26-service-card picture{
    height:240px;
  }

  .jp26-story-image{
    min-height:430px;
  }

  .jp26-check-grid{
    grid-template-columns:1fr;
  }

  .jp26-photo-grid{
    grid-template-columns:1fr;
    grid-template-rows:300px 220px 220px;
  }

  .jp26-photo-main{
    grid-column:auto;
  }

  .jp26-visit-card{
    padding:28px 20px;
  }

  .jp26-hours div{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }

  .jp26-visit-photo{
    min-height:330px;
  }

  .jp26-visit-overlay{
    left:14px;
    right:14px;
    bottom:14px;
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
}

@media (prefers-reduced-motion:reduce){
  .jp26-product-pedestal img{
    animation:none !important;
  }
}


/* ============================================================
   V3 — MORE VISIBLE ANIMATION / VIDEO / 3D MICRO-INTERACTIONS
   ============================================================ */

/* Animated J brand mark */
.brand-mark-motion{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  animation:jpLogoBreath 4.8s ease-in-out infinite;
}
.brand-mark-motion span{position:relative;z-index:2}
.brand-mark-motion i{
  position:absolute;
  z-index:1;
  inset:-35% auto -35% -70%;
  width:44%;
  transform:skewX(-22deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);
  animation:jpLogoSheen 5.3s ease-in-out infinite;
}
@keyframes jpLogoSheen{
  0%,58%{left:-70%;opacity:0}
  66%{opacity:1}
  82%{left:135%;opacity:.9}
  100%{left:135%;opacity:0}
}
@keyframes jpLogoBreath{
  0%,100%{box-shadow:0 8px 22px rgba(215,25,32,.20)}
  50%{box-shadow:0 12px 34px rgba(215,25,32,.36)}
}

/* Quick-action icon motion */
.jp26-icon-motion{position:relative;overflow:visible}
.jp26-action-card:hover .icon-refill{animation:jpCapsule .65s ease both}
.jp26-action-card:hover .icon-transfer{animation:jpTransfer .62s ease both}
.jp26-action-card:hover .icon-delivery{animation:jpTruck .7s cubic-bezier(.2,.8,.2,1) both}
.jp26-action-card:hover .icon-directions{animation:jpPin .62s ease both}
@keyframes jpCapsule{
  0%{transform:rotate(0) scale(1)}
  45%{transform:rotate(-13deg) scale(1.11)}
  100%{transform:rotate(0) scale(1.04)}
}
@keyframes jpTransfer{
  0%,100%{transform:translateX(0)}
  35%{transform:translateX(6px)}
  68%{transform:translateX(-4px)}
}
@keyframes jpTruck{
  0%{transform:translateX(0)}
  45%{transform:translateX(9px) translateY(-2px)}
  75%{transform:translateX(-3px)}
  100%{transform:translateX(0)}
}
@keyframes jpPin{
  0%,100%{transform:translateY(0) scale(1)}
  45%{transform:translateY(-9px) scale(1.07)}
  70%{transform:translateY(2px) scale(.98)}
}

/* Moving service ribbon */
.jp26-motion-ribbon{
  overflow:hidden;
  border-block:1px solid #e9edf1;
  background:#fff;
  padding:13px 0;
}
.jp26-motion-track{
  width:max-content;
  display:flex;
  align-items:center;
  gap:23px;
  color:var(--jp-navy);
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.035em;
  text-transform:uppercase;
  animation:jpTicker 28s linear infinite;
}
.jp26-motion-track b{color:var(--jp-red);font-size:.75rem}
@keyframes jpTicker{to{transform:translateX(-50%)}}

/* True motion/video panel */
.jp26-motion-showcase{
  margin-bottom:28px;
  display:grid;
  grid-template-columns:.78fr 1.35fr;
  overflow:hidden;
  border:1px solid #dde5eb;
  border-radius:28px;
  background:
    radial-gradient(circle at 20% 20%,rgba(215,25,32,.12),transparent 36%),
    linear-gradient(145deg,#fff 0%,#f9fbfc 62%,#eef4f7 100%);
  box-shadow:0 22px 58px rgba(9,39,65,.10);
}
.jp26-motion-copy{
  padding:42px 35px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.jp26-motion-badge{
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border:1px solid #f0c9cb;
  border-radius:999px;
  background:#fff4f4;
  color:var(--jp-red);
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.jp26-motion-badge i{
  width:8px;height:8px;border-radius:50%;background:var(--jp-red);
  box-shadow:0 0 0 0 rgba(215,25,32,.35);
  animation:jpLivePulse 1.8s ease-out infinite;
}
@keyframes jpLivePulse{
  0%{box-shadow:0 0 0 0 rgba(215,25,32,.45)}
  70%{box-shadow:0 0 0 9px rgba(215,25,32,0)}
  100%{box-shadow:0 0 0 0 rgba(215,25,32,0)}
}
.jp26-motion-copy h3{
  margin:17px 0 13px;
  color:var(--jp-navy);
  font-family:var(--font-display,Georgia,serif);
  font-size:clamp(2.15rem,4vw,3.7rem);
  line-height:.98;
  letter-spacing:-.045em;
}
.jp26-motion-copy h3 em{color:var(--jp-red);font-style:normal}
.jp26-motion-copy p{margin:0 0 23px;color:var(--jp-muted);line-height:1.65}
.jp26-motion-copy .jp26-btn{align-self:flex-start}

.jp26-video-card{
  position:relative;
  min-height:360px;
  overflow:hidden;
  background:var(--jp-navy);
}
.jp26-video-card video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.jp26-video-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(7,37,61,.10),transparent 45%);
}
.jp26-video-glass{
  position:absolute;
  left:18px;
  right:18px;
  bottom:17px;
  z-index:3;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:14px;
  background:rgba(7,37,61,.52);
  color:#fff;
  backdrop-filter:blur(12px);
  font-size:.77rem;
}
.jp26-video-glass span{font-weight:850}
.jp26-video-glass b{color:#ff9b9f;font-size:.68rem;text-transform:uppercase;letter-spacing:.09em}

/* Give OTC cards a visible "alive" feel */
.jp26-product-motion .jp26-product-pedestal{
  animation:jpProductFloat 4.2s ease-in-out infinite;
}
.jp26-product-motion:nth-child(2) .jp26-product-pedestal{animation-delay:-.7s}
.jp26-product-motion:nth-child(3) .jp26-product-pedestal{animation-delay:-1.4s}
.jp26-product-motion:nth-child(4) .jp26-product-pedestal{animation-delay:-2.1s}
.jp26-product-motion:nth-child(5) .jp26-product-pedestal{animation-delay:-2.8s}
.jp26-product-motion:nth-child(6) .jp26-product-pedestal{animation-delay:-3.5s}
@keyframes jpProductFloat{
  0%,100%{transform:translateY(0) rotate(-.4deg)}
  50%{transform:translateY(-8px) rotate(.6deg)}
}
.jp26-product-motion::after{
  content:"";
  position:absolute;
  inset:auto 22px 9px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,var(--jp-red),transparent);
  opacity:0;
  transform:scaleX(.2);
  transition:.28s ease;
}
.jp26-product-motion:hover::after{opacity:.85;transform:scaleX(1)}

/* Hero photo breath + subtle foreground depth */
@media (min-width:901px){
  .jp26-hero .hero-media img{
    animation:jpHeroBreath 12s ease-in-out infinite alternate;
  }
  @keyframes jpHeroBreath{
    from{transform:scale(1.02)}
    to{transform:scale(1.065)}
  }
}

/* Mobile: keep animation visible but lighter */
@media (max-width:800px){
  .jp26-motion-showcase{grid-template-columns:1fr}
  .jp26-motion-copy{padding:28px 21px}
  .jp26-video-card{min-height:250px}
  .jp26-motion-track{animation-duration:34s}
  .jp26-motion-copy .jp26-btn{width:100%}
  .jp26-video-glass{font-size:.7rem}
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion:reduce){
  .brand-mark-motion,
  .brand-mark-motion i,
  .jp26-motion-track,
  .jp26-motion-badge i,
  .jp26-product-motion .jp26-product-pedestal,
  .jp26-hero .hero-media img{
    animation:none !important;
  }
}


/* ============================================================
   FINAL CLEANUP v20260923d
   Removes the large OTC video panel and centers carousel arrows.
   ============================================================ */

/* Cleaner spacing now that the large live-motion/video panel is gone. */
.jp26-wellness{
  padding-top:88px;
}
.jp26-wellness .jp26-section-head.centered{
  margin-bottom:34px;
}

/* Product carousel: arrows stay centered on the left/right edges. */
.jp26-product-shell{
  position:relative;
  display:block;
  padding:0 64px;
}
.jp26-product-track{
  width:100%;
  min-width:0;
}
.jp26-product-shell .otc-arrow{
  position:absolute;
  z-index:6;
  top:50%;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  padding:0;
  margin:0;
  border:1px solid #dfe5ea;
  border-radius:999px;
  background:#fff;
  color:var(--jp-navy);
  line-height:0;
  box-shadow:0 10px 26px rgba(9,39,65,.11);
  transform:translateY(-50%);
  cursor:pointer;
}
.jp26-product-shell .otc-prev{left:4px}
.jp26-product-shell .otc-next{right:4px}
.jp26-product-shell .otc-arrow svg{
  width:21px;
  height:21px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.jp26-product-shell .otc-arrow:hover,
.jp26-product-shell .otc-arrow:focus-visible{
  background:var(--jp-red);
  color:#fff;
  border-color:var(--jp-red);
  transform:translateY(-50%) scale(1.06);
}
.jp26-product-shell .otc-arrow:focus-visible{
  outline:3px solid rgba(215,25,32,.22);
  outline-offset:3px;
}

/* Prevent card hover/tilt from creating horizontal clipping. */
.jp26-product-track{
  padding-top:22px;
  padding-bottom:28px;
  scroll-padding-inline:4px;
}

/* Keep service ticker subtle instead of distracting. */
.jp26-motion-ribbon{
  border-color:#edf1f4;
}
.jp26-motion-track{
  animation-duration:36s;
}

/* Header brand animation stays tasteful. */
.brand-mark-motion{
  animation-duration:6s;
}

/* Mobile/tablet: swipe cards directly; side arrows are intentionally hidden. */
@media (max-width:800px){
  .jp26-wellness{padding-top:62px}
  .jp26-wellness .jp26-section-head.centered{margin-bottom:24px}
  .jp26-product-shell{padding:0}
  .jp26-product-shell .otc-arrow{display:none !important}
  .jp26-product-track{
    padding:14px 2px 24px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
}

@media (max-width:540px){
  .jp26-wellness{padding-top:52px}
}

@media (prefers-reduced-motion:reduce){
  .jp26-motion-track{animation:none !important}
}
