:root {
  --red: #ff3131;
  --black: #000000;
  --white: #ffffff;
  --paper: #f6f2eb;
  --sand: #e8dfd2;
  --gray: #6b6863;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Archivo Narrow", "Arial Narrow", "Arial Narrow Bold", Impact, Arial, sans-serif;
  color: var(--black);
  background:
    radial-gradient(circle at top right, rgba(255, 49, 49, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, var(--paper) 100%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  line-height: 1.5;
  font-size: 1.08rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.15rem, 4.3vw, 3.7rem);
}

h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.75rem);
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 3.75rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 52px;
  height: 3px;
  background: var(--black);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--black);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--solid {
  background: var(--red);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--black);
}

.button--outline {
  background: rgba(255, 255, 255, 0.72);
}

.button--outline.light {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.text-link {
  display: inline-flex;
  margin-top: 1.15rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================
   UTILITY BAR & HEADER
   =========================== */

.utility-bar {
  background: var(--black);
  color: var(--white);
}

.utility-bar__inner,
.main-nav,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-bar__inner {
  padding: 0.55rem 0;
}

.utility-items,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}

.social-links {
  gap: 0.4rem;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.utility-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  background-color: #FF3131;
}

.utility-items a,
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
}

.utility-items a:hover,
.social-links a:hover {
  color: var(--white);
}

.utility-items a svg,
.social-links a svg {
  width: 18px;
  height: 18px;
  stroke: #FF3131;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.social-links a {
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  gap: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
}

.social-links a:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.social-links a svg {
  width: 25px;
  height: 25px;
}

.social-links a.social-links__fb {
  border-color: transparent;
  background: #ff3b30;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.social-links a.social-links__fb:hover {
  border-color: transparent;
  background: #eb3429;
  transform: scale(1.05);
}

.social-links a.social-links__fb:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.social-links a.social-links__fb svg {
  stroke: none;
  overflow: visible;
}

.social-links a.social-links__fb svg .social-links__fb-bg {
  fill: #ff3b30;
}

.social-links a.social-links__fb:hover svg .social-links__fb-bg {
  fill: #eb3429;
}

.social-links a.social-links__fb svg .social-links__fb-mark {
  fill: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .social-links a.social-links__fb {
    transition: background-color 180ms ease;
  }

  .social-links a.social-links__fb:hover {
    transform: none;
  }
}

.main-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 249, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.main-nav {
  padding: 1rem 0;
}

.brand-lockup {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  flex-shrink: 0;
}

.logo-link {
  width: min(220px, 42vw);
  flex-shrink: 0;
}

.public-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.12);
}

/* .logo-link img,
.contact-panel--accent img {
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.16));
} */

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 120ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: #ff3131;
  font-weight: 700;
}

.nav-cta {
  flex-shrink: 0;
}

/* ===========================
   HERO SLIDER
   =========================== */

.hero {
  position: relative;
  padding: 0 0 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 3rem;
  background:
    linear-gradient(90deg, rgba(255, 49, 49, 0.98) 0%, rgba(239, 33, 33, 0.94) 30%, rgba(207, 20, 20, 0.72) 48%, rgba(153, 11, 11, 0.18) 68%, rgba(153, 11, 11, 0) 82%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.04)),
    var(--hero-bg, url("/themes/jonesboro-restaurant/images/hero-kitchen.jpg")) center right / cover;
  clip-path: polygon(0 0, 100% 0, 100% 87%, 0 100%);
}

.hero-slider {
  display: grid;
  position: relative;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 400px;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.hero-copy,
.hero-stat-grid,
.hero-badge-stack {
  position: relative;
  z-index: 1;
}

.hero-copy {
  color: var(--white);
  max-width: 40rem;
  padding: 0.75rem 0 1rem;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 22ch;
  text-wrap: balance;
  font-size: clamp(1.95rem, 3.2vw, 3rem);
  line-height: 1;
}

.hero-copy .eyebrow {
  color: var(--white);
}

.hero-copy .eyebrow::before {
  background: var(--white);
}

.hero-text {
  max-width: 30rem;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.hero-actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding: 0;
  margin: 1.1rem 0 0;
  list-style: none;
}

.hero-highlights li {
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.96rem;
}

.service-card,
.offer-card,
.contact-panel,
.about-snippet .split-layout {
  box-shadow: var(--shadow);
}

.slider-controls {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 0;
}

.slider-dot {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.slider-dot.is-active {
  width: 52px;
  background: var(--red);
}

/* ===========================
   ABOUT SNIPPET
   =========================== */

.split-layout,
.contact-preview__grid,
.offer-grid {
  display: grid;
  gap: 1.5rem;
}

.split-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  padding: 2rem;
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
}

.about-snippet__photo {
  margin: 1rem 0 0;
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about-snippet__photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ===========================
   SECTION HEADINGS
   =========================== */

.section-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  max-width: 960px;
}

.section-heading h2 {
  max-width: 28ch;
}

.section-heading p {
  max-width: 72ch;
}

/* ===========================
   SERVICES
   =========================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.services {
  background:
    radial-gradient(circle at top left, rgba(255, 49, 49, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
}

.service-card {
  padding: 1.55rem;
  border: 2px solid var(--black);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
}

.service-media {
  margin: 0 0 1.3rem;
  overflow: hidden;
  width: min(190px, 100%);
  height: 110px;
  border: 2px solid var(--black);
  border-radius: 20px;
  /* background: linear-gradient(180deg, rgba(255, 49, 49, 0.14), rgba(255, 49, 49, 0.02)); */
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.96);
}

.service-media--logo img {
  object-fit: contain;
}

.service-card p,
.offer-card p,
.contact-panel p {
  color: var(--gray);
}

/* ===========================
   CTA BAND
   =========================== */

.cta-band {
  padding: 2.25rem 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(255, 49, 49, 0.96), rgba(170, 16, 16, 0.94));
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0;
  color: var(--white);
  box-shadow: none;
}

.cta-band__inner h2 {
  max-width: 24ch;
}

.cta-band .eyebrow {
  color: var(--white);
}

.cta-band .eyebrow::before {
  background: var(--white);
}

/* ===========================
   BRANDS
   =========================== */

.brands {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.brands-shell {
  position: relative;
  overflow: hidden;
  width: var(--container);
  margin: 0 auto;
  padding: 2.2rem 1.5rem 1.8rem;
  border: 2px solid var(--black);
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(255, 49, 49, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 235, 0.94));
  box-shadow: var(--shadow);
}

.brands-shell::before,
.brands-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 49, 49, 0.08);
}

.brands-shell::before {
  top: -60px;
  left: -70px;
  width: 220px;
  height: 220px;
}

.brands-shell::after {
  right: -80px;
  bottom: -90px;
  width: 260px;
  height: 260px;
}

.brands-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-inline: 0.35rem;
}

.brands .section-heading {
  margin-bottom: 0;
}

.brands .eyebrow::before {
  background: var(--black);
}

.brands .eyebrow,
.brands .section-heading h2,
.brands .section-heading p {
  color: inherit;
}

.brands-note {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 1.2rem 1.35rem;
  border: 2px solid var(--black);
  border-radius: 24px;
  background: rgba(255, 49, 49, 0.08);
  color: var(--black);
  overflow-wrap: anywhere;
 
}

.brand-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0.35rem;
}

.brand-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--black);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 229, 0.96)),
    var(--white);
  color: var(--black);
  box-shadow: 5px 5px 0 rgba(255, 49, 49, 0.12);
}

.brand-logo-card img {
  width: 100%;
  max-width: 180px;
  max-height: 56px;
  object-fit: contain;
}

.brand-carousel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0.35rem;
}

/* grid-auto-columns makes every card exactly (container − 3 gaps) / 4 wide,
   so the last partial group stays the same size as the rest. */
.brand-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 0.85rem) / 4);
  gap: 0.85rem;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.brand-carousel-track:active {
  cursor: grabbing;
}

.brand-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.brand-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.brand-carousel-dot.active {
  background: var(--red);
  transform: scale(1.25);
}

/* ===========================
   OFFERS
   =========================== */

.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.offers {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(246, 242, 235, 0.3));
}

.offer-card {
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
}

.offer-card__media {
  position: relative;
  min-height: 260px;
  padding: 1.2rem;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.offer-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.32), transparent 36%);
}

.offer-card__media::after {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  z-index: 1;
  color: rgba(255, 255, 255, 0.28);
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
}

.offer-card__media span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.offer-card__content {
  padding: 1.5rem;
}

.offer-card--equipment .offer-card__media {
  background:
    linear-gradient(135deg, rgba(255, 49, 49, 0.54), rgba(80, 9, 9, 0.72)),
    var(--offer-equipment-bg, url("/themes/jonesboro-restaurant/images/equipment.jpg")) center / cover;
}

.offer-card--equipment .offer-card__media::after {
  content: "Equip";
}

.offer-card--smallwares .offer-card__media {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(255, 49, 49, 0.5)),
    var(--offer-smallwares-bg, url("/themes/jonesboro-restaurant/images/smallwares.jpg")) center / cover;
}

.offer-card--smallwares .offer-card__media::after {
  content: "Ware";
}

/* ===========================
   CONTACT CTA
   =========================== */

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.75rem;
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(255, 49, 49, 0.96), rgba(170, 16, 16, 0.94));
  box-shadow: var(--shadow);
  color: var(--white);
}

.contact-cta__copy {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
}

.contact-cta .eyebrow {
  color: var(--white);
}

.contact-cta .eyebrow::before {
  background: var(--white);
}

.contact-cta__copy h2 {
  max-width: 20ch;
}

.contact-cta__copy p:last-child {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-cta .button--outline {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  color: var(--white);
}

/* ===========================
   PAGE HEADER (interior pages)
   =========================== */

.jrs-page-header {
  position: relative;
  overflow: hidden;
}

.jrs-page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(14 13 13 / 73%) 0%, rgb(153 0 0 / 68%) 100%, transparent 100%),
    var(--page-header-bg, url(/themes/jonesboro-restaurant/images/hero-kitchen.jpg)) center right / cover;
}

/* Legacy divs kept in markup on some pages — hidden now that ::before handles everything */
.jrs-page-header-bg,
.jrs-page-header-overlay {
  display: none;
}

.jrs-page-header-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  color: var(--white);
  max-width: 40rem;
}

/* Eyebrow inside page header: white text + white bar (mirrors hero-copy .eyebrow) */
.jrs-page-header .eyebrow,
.jrs-page-header-eyebrow {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.jrs-page-header .eyebrow::before,
.jrs-page-header-eyebrow::before {
  background: var(--white);
}

.jrs-page-header-title,
.jrs-page-header h1 {
  max-width: 22ch;
  text-wrap: balance;
  font-size: clamp(1.95rem, 3.2vw, 3rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.jrs-page-header-subtitle {
  max-width: 30rem;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===========================
   PAGE CONTENT
   =========================== */

/* Narrow column for CMS-authored page / rich-text body */
.cms-page-body,
.jrs-prose-column,
.jrs-page-content-inner {
  max-width: 820px;
}

.jrs-page-intro-pill {
  display: inline-block;
  background: rgba(255,49,49,0.1);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255,49,49,0.25);
}

:where(.jrs-rich-content, .cms-page-body) h1,
:where(.jrs-rich-content, .cms-page-body) h2,
:where(.jrs-rich-content, .cms-page-body) h3,
:where(.jrs-rich-content, .cms-page-body) h4 {
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

:where(.jrs-rich-content, .cms-page-body) p {
  margin-bottom: 1.25rem;
  color: #000;
}

:where(.jrs-rich-content, .cms-page-body) ul,
:where(.jrs-rich-content, .cms-page-body) ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: #000;
  line-height: 1.8;
}

:where(.jrs-rich-content, .cms-page-body) a {
  color: var(--red);
  text-decoration: underline;
}

.jrs-content-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border: 2px solid var(--black);
  border-radius: var(--radius-md);
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

/* ===========================
   CMS BLOCK – SPLIT CONTENT REVERSE
   =========================== */

.cms-block-split-reverse {
  background: var(--paper);
}

.split-reverse-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.split-reverse-copy h2 {
  text-transform: uppercase;
  max-width: 22ch;
  line-height: 1.05;
}

.split-reverse-body {
  margin-top: 1.25rem;
}

/* Dash list with separator lines */
.split-reverse-body ul {
  list-style: none !important;
  margin: 1.5rem 0 0 !important;
  padding: 0 !important;
}

.split-reverse-body ul li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--gray);
  font-size: 0.95rem;
}

.split-reverse-body ul li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.split-reverse-body ul li::before {
  content: "—";
  color: var(--black);
  flex-shrink: 0;
}

.split-reverse-figure {
  position: relative;
  margin: 0;
}

.split-reverse-figure img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.split-reverse-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.split-reverse-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
}

/* When feature-grid follows a content-section, collapse the top padding */
.cms-block-content-section + .cms-block-feature-grid {
  padding-top: 0;
}

.cms-block-content-section {
  padding-bottom: 1rem;
}

/* ── Numbered category header (01 / 02 style, like Sills Derm services) ── */
.cms-block-category-header {
  padding-bottom: 0.5rem;
}

.cms-block-split-reverse {
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.category-header-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.category-number {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 0, 0, 0.07);
  flex-shrink: 0;
  user-select: none;
  letter-spacing: -0.03em;
}

.category-header-copy {
  padding-top: 0.25rem;
}

.category-header-copy h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-bottom: 0;
}

.category-header-body p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 60ch;
}

.cms-block-feature-grid {
  padding-bottom: 5rem;
}

/* ===========================
   CMS BLOCK – FEATURE GRID
   =========================== */

.feature-grid-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.feature-grid-list-centered {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid-list-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 1.5rem) / 4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.feature-grid-list-slider::-webkit-scrollbar {
  display: none;
}

.feature-grid-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--black);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
}

.feature-grid-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.feature-grid-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

.feature-grid-index {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 0.85rem;
}

.feature-grid-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  margin-bottom: 1.1rem;
  overflow: hidden;
  border-radius: 10px;
}
.feature-grid-logo img {
  height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: cover;
}

/* Brands page: logos must not be cropped */
[data-page="brands"] .feature-grid-logo {
  height: 90px;
}

[data-page="brands"] .feature-grid-logo img {
  object-fit: contain;
  max-height: 60px;
}


.feature-grid-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.feature-grid-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.feature-grid-dot.is-active {
  background: var(--black);
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  padding: 2rem 0 1.6rem;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.96), rgba(0, 0, 0, 1));
  color: var(--white);
}

.site-footer__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.6fr) minmax(220px, 0.8fr);
  gap: 1.5rem;
  padding: 0 0 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand,
.site-footer__links,
.site-footer__contact {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.site-footer__brand img {
  width: min(220px, 100%);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.18));
  background: #fff;
  padding: 15px;
  border-radius: 10px;
}

.site-footer__brand p:last-child {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__links h3,
.site-footer__contact h3 {
  font-size: 1.25rem;
}

.site-footer__links a,
.site-footer__contact a,
.site-footer__contact p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer__bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

/* ===========================
   BACK TO TOP
   =========================== */

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    visibility 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.22);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1080px) {
  .hero-slide__inner,
  .split-layout,
  .offer-grid,
  .brands-intro,
  .site-footer__panel,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-carousel-track {
    grid-auto-columns: calc((100% - 0.85rem) / 2);
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* CMS block inline split grids: collapse to single column at 1080px */
  .cms-block-content-section [style*="grid-template-columns"],
  .cms-block-text [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .split-reverse-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid-list:not(.feature-grid-list-slider) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid-list-slider {
    grid-auto-columns: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 760px) {
  .utility-bar__inner,
  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .utility-right {
    align-self: center;
  }

  .hero {
    padding-top: 0;
    background-position: center;
  }

  .hero-slide__inner {
    min-height: auto;
    padding-top: 2rem;
    align-items: start;
  }

  .hero-copy {
    padding-bottom: 1rem;
  }

  .jrs-page-header-content {
    min-height: 280px;
  }

  .section {
    padding: 3rem 0;
  }

  .contact-panel,
  .service-card,
  .offer-card__content,
  .split-layout,
  .cta-band__inner {
    padding: 1.45rem;
  }

  /* CTA band: equal-width buttons (stacked) */
  .cta-band__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band__actions > .button {
    width: 100%;
    justify-content: center;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-carousel-track {
    grid-auto-columns: calc((100% - 0.85rem) / 2);
  }

  .brand-logo-card {
    min-height: 68px;
    border-radius: 20px;
  }

  .brand-logo-card img {
    max-width: 160px;
    max-height: 48px;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
  }

  /* Inline split grids used by CMS blocks (content_section, text) */
  .cms-block-content-section [style*="grid-template-columns"],
  .cms-block-text [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .split-reverse-figure img {
    height: 280px;
  }

  /* Feature grid: stack on mobile */
  .feature-grid-list {
    grid-template-columns: 1fr !important;
  }
}

/* ── Contact Info Cards ────────────────────────────────────────── */
.cms-block-contact-info {
  padding-bottom: 3rem;
}

.jrs-contact-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.jrs-contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.jrs-contact-info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
}

.jrs-contact-info-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.jrs-contact-info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.jrs-contact-info-primary {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  word-break: break-word;
}

a.jrs-contact-info-primary:hover {
  color: var(--red);
}

.jrs-contact-info-secondary {
  display: block;
  font-size: 0.88rem;
  color: var(--gray);
}

@media (max-width: 760px) {
  .jrs-contact-info-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Form Module (contact / CMS forms) ────────────────────────── */

/* Section wrapper */
.cms-block-form-module {
  background: var(--paper);
}

/* Section heading inside form module */
.cms-block-form-module .section-head {
  max-width: 640px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.section-kicker::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--black);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.3vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1.02;
  color: var(--black);
}

/* Grid layout for contact form fields */
.row.g-3 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.col-12  { grid-column: span 12; }
.col-md-4 { grid-column: span 12; }
.col-md-5 { grid-column: span 12; }
.col-md-6 { grid-column: span 12; }
.col-md-7 { grid-column: span 12; }

@media (min-width: 640px) {
  .col-md-4 { grid-column: span 4; }
  .col-md-5 { grid-column: span 5; }
  .col-md-6 { grid-column: span 6; }
  .col-md-7 { grid-column: span 7; }
}

.align-items-end { align-items: end; }
.mt-1 { margin-top: 0.4rem; }

/* Field wrapper */
.field[data-field-wrap] {
  display: flex;
  flex-direction: column;
}

/* Labels */
.reserve-form .field label,
.contact-form .field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Inputs & textareas */
.reserve-input,
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  background: #fffdf9;
  color: var(--black);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.reserve-input::placeholder,
.form-control::placeholder {
  color: rgba(107, 104, 99, 0.55);
}

.reserve-input:focus,
.form-control:focus {
  outline: none;
  border-color: rgba(255, 49, 49, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 49, 49, 0.1);
  background: #fff;
}

.reserve-input.is-invalid,
.form-control.is-invalid {
  border-color: rgba(179, 62, 62, 0.6);
  box-shadow: 0 0 0 4px rgba(179, 62, 62, 0.08);
}

textarea.reserve-input,
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Validation error text */
.invalid-feedback {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #b33e3e;
}

/* Form toast notifications */
.form-toast-stack {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-errors,
.form-success {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.form-errors {
  background: #fef2f2;
  border: 1.5px solid rgba(179, 62, 62, 0.25);
}

.form-success {
  background: #f0fdf4;
  border: 1.5px solid rgba(34, 134, 58, 0.25);
}

.form-toast-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
}

.form-toast-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.form-toast-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
}

.form-errors .form-toast-title { color: #991b1b; }
.form-success .form-toast-title { color: #166534; }

.form-toast-message {
  font-size: 0.9rem;
  color: var(--gray);
}

.form-toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gray);
  padding: 0;
  margin-top: -1px;
  opacity: 0.6;
  transition: opacity 120ms;
}

.form-toast-close:hover { opacity: 1; }

/* reCAPTCHA / status bar */
.contact-recaptcha-wrap,
.reserve-recaptcha-wrap {
  height: 100%;
}

.reserve-recaptcha-mock {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  height: 100%;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--sand);
  background: #fffdf9;
  box-sizing: border-box;
}

.reserve-recaptcha-mock-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 49, 49, 0.08);
  color: var(--red);
  font-size: 1.1rem;
}

.reserve-recaptcha-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.reserve-recaptcha-mock-text {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--black);
}

.reserve-recaptcha-mock-subtext {
  display: block;
  font-size: 0.82rem;
  color: var(--gray);
}

/* Submit button area */
.contact-actions-row {
  margin-top: 1rem;
}

.contact-submit-wrap {
  display: flex;
  align-items: center;
}

.contact-submit-btn,
.reserve-submit-btn {
  width: 100%;
  min-height: 58px;
  padding: 1rem 1.6rem;
  border: none;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 49, 49, 0.96), rgba(170, 16, 16, 0.94));
  box-shadow: 0 12px 28px rgba(153, 0, 0, 0.28);
  transition: box-shadow 180ms ease, transform 100ms ease;
}

.contact-submit-btn:hover,
.reserve-submit-btn:hover {
  box-shadow: 0 16px 36px rgba(153, 0, 0, 0.36);
  transform: translateY(-1px);
}

.contact-submit-btn:focus,
.contact-submit-btn:focus-visible,
.reserve-submit-btn:focus,
.reserve-submit-btn:focus-visible {
  outline: none;
  box-shadow: 0 12px 28px rgba(153, 0, 0, 0.28), 0 0 0 4px rgba(255, 49, 49, 0.2);
}

/* Generic (non-contact-panel) form grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid .field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-grid .field input,
.form-grid .field textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  background: #fffdf9;
  color: var(--black);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-grid .field input:focus,
.form-grid .field textarea:focus {
  outline: none;
  border-color: rgba(255, 49, 49, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 49, 49, 0.1);
}

.form-grid .field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-grid .md\:col-span-2 {
  grid-column: span 2;
}

.form-submit-row {
  margin-top: 0.6rem;
  display: flex;
  justify-content: flex-end;
}

/* Generic btn for non-contact forms */
.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 49, 49, 0.96), rgba(170, 16, 16, 0.94));
  box-shadow: 0 10px 24px rgba(153, 0, 0, 0.26);
  transition: box-shadow 180ms ease, transform 100ms ease;
}

.btn.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(153, 0, 0, 0.34);
  transform: translateY(-1px);
}

/* Mobile adjustments for form */
@media (max-width: 639px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .md\:col-span-2 {
    grid-column: span 1;
  }

  .contact-submit-btn,
  .reserve-submit-btn {
    font-size: 0.95rem;
  }
}

/* ── Checkbox group (form fields) ─────────────────────────────── */

/* Checkbox group: border on inner panel only — native <legend> always breaks the fieldset
   border in many UAs, so the real legend is .visually-hidden and the heading is a <span>. */
.jrs-checkbox-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.jrs-checkbox-fieldset-panel {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  background: #fffdf9;
  padding: 0.75rem 1.1rem;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

/* Visible group title (not <legend>, avoids UA border notch) */
.jrs-checkbox-legend {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: normal;
}

.jrs-checkbox-fieldset-body {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.jrs-required-star {
  color: var(--red);
  margin-left: 2px;
}

/* Options in a row below the group title */
.jrs-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.4rem;
}

.jrs-checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.jrs-checkbox-option input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

/* ── Product Gallery block (jrs_product_gallery) ──────────────── */
.cms-block-product-gallery {
  padding: 0 0 4rem;
}

/* Dark category divider */
.pg-divider {
  background: var(--black, #0e0d0d);
  padding: 1.5rem 0;
  margin-bottom: 2.5rem;
}

.pg-divider__inner {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
}

.pg-divider__num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--red, #c00);
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.pg-divider__label {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

/* Product grid */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Product card */
.pg-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm, 0.5rem);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}

.pg-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 20px;
  box-sizing: border-box;
  transition: transform 0.35s ease;
}

.pg-card:hover .pg-card__img {
  transform: scale(1.04);
}

.pg-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
}

.pg-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1.4rem 0.85rem 0.7rem;
}

@media (max-width: 960px) {
  .pg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .pg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── reCAPTCHA v3 ──────────────────────────────────────────────── */
/* Floating badge is visible site-wide */

/* ===========================
   MOBILE NAVIGATION TOGGLE
   =========================== */

/* Hamburger button — hidden above the mobile breakpoint */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  background: none;
  border: 1.5px solid rgba(0, 0, 0, 0.16);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 150ms ease,
    background-color 150ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--black);
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition:
    transform 220ms ease,
    opacity 180ms ease;
  transform-origin: center;
}

/* Animate bars into × when open */
/* padding 12px top/bottom → inner height 20px, 3 bars space-between:
   bar1 center=1px  bar2 center=10px  bar3 center=19px
   shift = ±9px to meet the middle bar */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===========================
   SERVICE GRID – MEDIUM SCREENS
   3-col → 2-col at tablet, 1-col at mobile
   (the 1080px rule collapses it straight to 1 col;
    this adds the 2-col middle tier)
   =========================== */

@media (min-width: 600px) and (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===========================
   RESPONSIVE — MOBILE / TABLET (≤ 1199px)
   Replaces the desktop nav with
   a hamburger + full-width drawer.
   =========================== */

@media (max-width: 1199px) {

  /* --- Hamburger: show, positioned after brand lockup --- */
  .nav-toggle {
    display: flex;
    order: 2;
    flex-shrink: 0;
  }

  /* --- Nav bar: two-item row (logo | hamburger), extras wrap below --- */
  .main-nav {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    gap: 0;
  }

  /* Brand lockup: left-aligned, takes remaining row space */
  .brand-lockup {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    justify-items: start !important;
    gap: 0.3rem;
  }

  /* Slightly smaller public-badge under logo */
  .public-badge {
    font-size: 0.75rem;
    min-height: 26px;
    padding: 0.2rem 0.55rem;
  }

  /* Logo constrained on very small screens */
  .logo-link {
    width: min(200px, 52vw);
  }

  /* --- Desktop nav links: hidden; shown as full-width drawer when open --- */
  .site-nav {
    order: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    margin-top: 0.5rem;
    padding: 0.5rem 0 0.35rem;
    border-top: none;
  }

  .main-nav-wrap.nav-is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 0.4rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: color 120ms ease, padding-left 120ms ease;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--red);
    padding-left: 0.85rem;
  }

  .site-nav a.is-active,
  .site-nav a[aria-current="page"] {
    color: #ff3131;
    font-weight: 700;
  }

  .site-nav a.is-active:hover,
  .site-nav a.is-active:focus-visible,
  .site-nav a[aria-current="page"]:hover,
  .site-nav a[aria-current="page"]:focus-visible {
    color: #ff3131;
    padding-left: 0.85rem;
  }

  /* --- CTA button: hidden; full-width at the bottom of the drawer --- */
  .nav-cta {
    order: 4;
    display: none;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    justify-content: center;
  }

  .main-nav-wrap.nav-is-open .nav-cta {
    display: inline-flex;
  }

  /* --- Utility bar: hide fax link on mobile to keep bar compact --- */
  .utility-items a[href^="fax:"] {
    display: none;
  }

  /* Hero: drop angled clip-mask so the gradient/image reads flat on tablet/phone */
  .hero::before {
    inset: 0;
    clip-path: none;
  }

  /* --- Hero copy: let viewport drive font size at narrow widths --- */
  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(1.65rem, 7.5vw, 2.4rem);
  }

  /* Tighter hero highlight pills */
  .hero-highlights li {
    font-size: 0.88rem;
    padding: 0.5rem 0.75rem;
  }

  /* Keep slider dots from drifting too close to the section below */
  .slider-controls {
    margin-bottom: 1rem;
  }

  /* Dots sit on the dark gradient on mobile — use white-tinted colours */
  .slider-dot {
    background: rgba(255, 255, 255, 0.35);
  }

  .slider-dot.is-active {
    background: rgba(255, 255, 255, 0.92);
  }

  /* --- Contact CTA action buttons: stretch to full width --- */
  .contact-cta__actions {
    width: 100%;
  }

  .contact-cta__actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }
}
@media (min-width: 576px) and (max-width: 1199px) {

   .main-nav-wrap .nav-cta {
    width: 40% !important;
   }
}
/* Phone: smaller header logo (overrides .logo-link inside ≤1199px block) */
@media (max-width: 760px) {
  .logo-link {
    width: min(155px, 52vw);
  }
}

/* ===========================
   EXTRA SMALL (≤ 479px)
   =========================== */

@media (max-width: 479px) {

  /* Slightly smaller utility text */
  .utility-items a {
    font-size: 0.75rem;
  }

  .utility-badge {
    font-size: 0.66rem;
    padding: 0.2rem 0.5rem;
  }

  /* Hero: reduce heading floor further */
  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(1.5rem, 8vw, 2.1rem);
  }

  /* Section padding tighter */
  .section {
    padding: 2.5rem 0;
  }

  /* Split-layout (about) padding tighter */
  .split-layout {
    padding: 1.25rem;
  }

  /* Brands shell padding tighter */
  .brands-shell {
    padding: 1.5rem 1rem 1.25rem;
  }

  /* Footer bottom stacking */
  .site-footer__bottom {
    font-size: 0.85rem;
    gap: 0.5rem;
    text-align: center;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer__bottom p {
    font-size: 15px;
  }
}

.grecaptcha-badge {
  bottom: 95px !important;
}