
:root {
  --red: #7b1117;
  --red-dark: #4b090d;
  --red-soft: #f9eeee;
  --charcoal: #1e1f22;
  --ink: #2d2f34;
  --muted: #6f737b;
  --line: #e6e0dc;
  --cream: #fbf7f1;
  --silver: #d8d8d8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 20, 20, 0.12);
  --radius: 20px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { color: var(--charcoal); line-height: 1.08; margin: 0 0 0.7rem; }
h1 { font-size: clamp(2.2rem, 8vw, 5rem); letter-spacing: -0.06em; }
h2 { font-size: clamp(1.7rem, 4vw, 3rem); letter-spacing: -0.04em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--charcoal); color: var(--white); padding: 0.7rem 1rem; z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only, .hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); border-bottom: 1px solid rgba(230,224,220,0.75); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; color: var(--charcoal); text-decoration: none; flex: 0 1 285px; min-width: 0; }
.brand img { width: min(285px, 52vw); height: auto; }
.site-nav { display: flex; align-items: center; gap: 0.15rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 0.65rem 0.75rem; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--red-soft); color: var(--red); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0.6rem 1rem; border-radius: 999px; background: var(--red); color: var(--white); text-decoration: none; font-weight: 800; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.menu-toggle__bar { display: block; width: 20px; height: 2px; background: var(--charcoal); margin: 4px auto; }
.hero { padding: clamp(3rem, 8vw, 7rem) 0 3rem; background: linear-gradient(135deg, var(--cream), #fff 48%, var(--red-soft)); }
.hero__grid, .split { display: grid; grid-template-columns: 1.03fr 0.97fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero__lead { font-size: clamp(1.08rem, 2vw, 1.35rem); color: var(--muted); max-width: 680px; }
.eyebrow { color: var(--red); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.75rem; }
.hero__actions, .cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.78rem 1.25rem; border: 0; border-radius: 999px; background: var(--red); color: var(--white); text-decoration: none; font-weight: 900; cursor: pointer; box-shadow: 0 12px 30px rgba(123, 17, 23, 0.2); }
.button:hover { background: var(--red-dark); color: var(--white); }
.button--secondary { color: var(--red); background: var(--white); border: 1px solid var(--line); box-shadow: none; }
.button--secondary:hover { color: var(--red-dark); background: var(--red-soft); }
.button--light { background: var(--white); color: var(--red); box-shadow: none; }
.button--ghost-light { background: transparent; border: 1px solid rgba(255,255,255,0.45); color: var(--white); box-shadow: none; }
.hero-price-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; align-items: center; }
.hero-price-strip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0.45rem 0.75rem; border-radius: 999px; background: rgba(255,255,255,0.78); border: 1px solid var(--line); color: var(--muted); font-weight: 850; font-size: 0.92rem; }
.hero-price-strip strong { color: var(--red); margin-right: 0.25rem; }
.card-photo, .photo-placeholder { min-height: 360px; border-radius: var(--radius); background: linear-gradient(145deg, #eeeeee, #ffffff); border: 1px dashed #c7c7c7; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow); color: var(--muted); padding: 1rem; }
.photo-placeholder span { display: block; color: var(--charcoal); font-weight: 900; }
.photo-placeholder small { color: var(--muted); }
.photo-placeholder.small { min-height: 170px; box-shadow: none; }
.photo-placeholder.tall { min-height: 470px; }
.trust-strip { background: var(--charcoal); color: var(--white); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.trust-strip span { text-align: center; padding: 1rem 0.5rem; font-weight: 900; color: #fff; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--soft { background: var(--cream); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.card-grid { display: grid; gap: 1.2rem; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .price-card, .mini-card, .info-panel, .quote-card, .contact-card, .note-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 0 16px 35px rgba(20,20,20,0.06); }
.service-card--featured, .price-card--highlight { border-color: rgba(123, 17, 23, 0.35); background: linear-gradient(180deg, #fff, var(--red-soft)); }
.badge { display: inline-flex; width: fit-content; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--red); color: var(--white); font-size: 0.74rem; text-transform: uppercase; font-weight: 900; letter-spacing: 0.08em; }
.price { color: var(--red); font-size: 1.8rem; line-height: 1; font-weight: 950; letter-spacing: -0.05em; margin: 1rem 0; }
.tick-list, .step-list { padding-left: 1.2rem; margin: 1rem 0 1.6rem; }
.tick-list li, .step-list li { margin-bottom: 0.55rem; }
.tick-list.compact { margin-bottom: 0; }
.quote-card { background: var(--red); color: var(--white); }
.quote-card p, .quote-card strong { color: var(--white); }
.quote-card p { font-size: 1.45rem; line-height: 1.25; font-weight: 800; }
.split--reverse > .photo-grid { order: 2; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.photo-grid--wide .photo-placeholder { min-height: 320px; }

.section--compact { padding: clamp(2rem, 5vw, 4rem) 0; }
.section-heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.brand-pathways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.brand-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 0 16px 35px rgba(20,20,20,0.06); display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.brand-card--performance { background: linear-gradient(135deg, var(--charcoal), #2a2b2f); color: var(--white); border-color: rgba(255,255,255,0.16); }
.brand-card--performance h3, .brand-card--performance p { color: var(--white); }
.brand-card__logo { display: block; height: auto; object-fit: contain; }
.brand-card__logo--pcc { width: min(100%, 360px); }
.brand-card__logo--performance { width: min(100%, 360px); filter: drop-shadow(0 14px 22px rgba(0,0,0,0.25)); }
.performance-logo-link { display: inline-block; border-radius: 18px; transition: transform 0.18s ease; }
.performance-logo-link:hover { transform: translateY(-2px); }
.brand-card__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: auto; }
.performance-home-card { min-height: 320px; border-radius: var(--radius); background: linear-gradient(135deg, var(--charcoal), #2b2c31); border: 1px solid rgba(255,255,255,0.18); box-shadow: var(--shadow); display: grid; place-items: center; text-align: center; padding: clamp(1.2rem, 4vw, 2rem); text-decoration: none; color: var(--white); }
.performance-home-card img { width: min(100%, 460px); height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.28)); }
.performance-home-card span { display: block; color: var(--white); font-weight: 950; margin-top: 1rem; }

.section--trusted { background: var(--white); }
.trusted-logo-cloud { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.85rem; align-items: stretch; margin-top: 1.5rem; }
.trusted-logo-cloud img { width: 100%; height: 104px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0.8rem; box-shadow: 0 12px 28px rgba(20,20,20,0.05); }
.trusted-quote { max-width: 880px; margin: 1.5rem auto 0; padding: clamp(1.1rem, 3vw, 1.6rem); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.trusted-quote blockquote { margin: 0; color: var(--charcoal); font-size: clamp(1.1rem, 2.4vw, 1.45rem); line-height: 1.35; font-weight: 850; }
.trusted-quote figcaption { margin-top: 0.75rem; color: var(--red); font-weight: 900; }
@media (max-width: 1080px) { .trusted-logo-cloud { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .trusted-logo-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; } .trusted-logo-cloud img { height: 92px; padding: 0.65rem; } }

.page-hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: linear-gradient(135deg, var(--cream), var(--white)); border-bottom: 1px solid var(--line); }
.page-hero--dark { background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.page-hero--dark h1, .page-hero--dark p { color: var(--white); }
.page-hero--dark .eyebrow { color: #ffdadd; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.logo-cloud { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.logo-cloud span { grid-column: 1 / -1; font-weight: 900; color: var(--red); }
.logo-cloud div { display: grid; place-items: center; min-height: 90px; border-radius: 14px; background: var(--cream); color: var(--muted); font-weight: 800; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gallery-grid .photo-placeholder { min-height: 230px; box-shadow: none; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.area-grid a { display: block; padding: 1.3rem; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); color: var(--charcoal); text-decoration: none; font-weight: 900; }
.area-grid a:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.quote-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2rem); box-shadow: var(--shadow); }
.quote-form label { display: block; font-weight: 900; color: var(--charcoal); margin-bottom: 1rem; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; display: block; margin-top: 0.35rem; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 0.95rem; font: inherit; background: #fff; color: var(--ink); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 3px solid rgba(123, 17, 23, 0.16); border-color: var(--red); }
.legal-copy h2 { margin-top: 2rem; }
.cta-band { background: linear-gradient(135deg, var(--red-dark), var(--red)); color: var(--white); padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-band h2, .cta-band p, .cta-band .eyebrow { color: var(--white); }
.cta-band__inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.82); padding: 3rem 0 calc(3rem + 56px); }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.9fr 0.8fr; gap: 2rem; }
.footer-brand { color: var(--white); text-decoration: none; font-size: 1.35rem; font-weight: 950; }
.site-footer h2 { color: var(--white); font-size: 1rem; }
.footer-links { display: grid; gap: 0.45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.mobile-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; display: none; grid-template-columns: 1fr 1fr; z-index: 60; }
.mobile-sticky-cta a { display: grid; place-items: center; min-height: 56px; background: var(--red); color: var(--white); text-decoration: none; font-weight: 950; border-top: 1px solid rgba(255,255,255,0.2); }
.mobile-sticky-cta a:first-child { background: var(--charcoal); }
@media (max-width: 1080px) {
  .site-nav { position: fixed; inset: 116px 16px auto 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0.8rem; display: none; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.8rem 1rem; }
  .menu-toggle { display: inline-block; }
  .header-cta { display: none; }
}
@media (max-width: 840px) {
  h1 { font-size: clamp(2.1rem, 12vw, 3.5rem); }
  .hero__grid, .split, .contact-grid, .cta-band__inner, .footer-grid { grid-template-columns: 1fr; }
  .card-grid--3, .pricing-grid, .gallery-grid, .area-grid, .trust-strip__inner, .brand-pathways { grid-template-columns: 1fr; }
  .photo-placeholder.tall { min-height: 320px; }
  .footer-bottom { display: block; }
  .mobile-sticky-cta { display: grid; }
  .section { padding: 3rem 0; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand img { width: min(220px, 58vw); height: auto; }
  .photo-grid { grid-template-columns: 1fr; }
  .hero__actions, .cta-band__actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-price-strip { gap: 0.4rem; }
  .hero-price-strip span { width: 100%; justify-content: center; }
}



.brand-strip { background: var(--charcoal); color: var(--white); font-size: 0.86rem; }
.brand-strip__inner { display: flex; justify-content: flex-end; gap: 0.5rem; min-height: 36px; align-items: center; }
.brand-strip__link { color: rgba(255,255,255,0.78); text-decoration: none; font-weight: 900; padding: 0.35rem 0.75rem; border-radius: 999px; }
.brand-strip__link:hover, .brand-strip__link--active { color: var(--white); background: rgba(255,255,255,0.12); }
.performance-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2rem); display: grid; place-items: center; min-height: 320px; }
.performance-panel p { color: var(--white); margin-top: 1rem; font-weight: 900; }
.performance-logo { width: min(100%, 480px); height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25)); }
@media (max-width: 840px) {
  .brand-strip__inner { justify-content: center; }
  .brand-strip__link { font-size: 0.78rem; padding: 0.32rem 0.55rem; }
}


/* V1.5 PCC Performance specialist service banner */
.specialist-banner {
  background: linear-gradient(135deg, var(--charcoal), #2a2b2f 55%, var(--red-dark));
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: clamp(1.4rem, 4vw, 2.4rem) 0;
}
.specialist-banner__inner {
  display: grid;
  grid-template-columns: minmax(190px, 260px) 1fr auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.specialist-banner__logo {
  display: block;
  text-decoration: none;
  border-radius: 18px;
}
.specialist-banner__logo img {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.3));
}
.specialist-banner__copy h2,
.specialist-banner__copy p,
.specialist-banner .eyebrow {
  color: var(--white);
}
.specialist-banner__copy h2 {
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  margin-bottom: 0.5rem;
}
.specialist-banner__copy p:last-child {
  margin-bottom: 0;
  color: rgba(255,255,255,0.86);
}
.specialist-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 210px;
}
@media (max-width: 980px) {
  .specialist-banner__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .specialist-banner__actions { width: min(100%, 360px); }
}
@media (max-width: 520px) {
  .specialist-banner__logo img { max-width: 235px; }
  .specialist-banner__copy p { font-size: 0.96rem; }
}


/* V1.6 real image integration */
.hero-media-card,
.image-card,
.image-tile,
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-media-card img,
.image-card img,
.image-tile img,
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media-card { min-height: 430px; }
.hero-media-card img { min-height: 430px; }
.hero-media-card__caption,
.image-card figcaption,
.image-tile figcaption,
.gallery-item figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 16px;
  padding: 0.8rem 0.95rem;
  background: rgba(25, 26, 30, 0.82);
  color: var(--white);
  backdrop-filter: blur(8px);
  font-weight: 850;
}
.hero-media-card__caption strong,
.hero-media-card__caption span { display: block; color: var(--white); }
.hero-media-card__caption span { font-size: 0.92rem; opacity: 0.9; margin-top: 0.2rem; }
.image-card { min-height: 380px; }
.image-card--dark { background: var(--charcoal); }
.image-card--dark img { object-fit: contain; padding: 0.6rem; }
.image-card--portrait img { min-height: 420px; }
.showcase-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1rem; }
.image-tile { min-height: 220px; }
.image-tile--large { grid-row: span 2; min-height: 470px; }
.gallery-grid--photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item { min-height: 285px; }
.gallery-item--wide { grid-column: span 2; }
@media (max-width: 840px) {
  .hero-media-card, .hero-media-card img { min-height: 320px; }
  .showcase-grid, .gallery-grid--photos { grid-template-columns: 1fr; }
  .image-tile--large, .gallery-item--wide { grid-column: auto; grid-row: auto; min-height: 300px; }
  .image-card, .image-card--portrait img, .gallery-item { min-height: 300px; }
  .image-card--dark img { object-fit: contain; }
}
@media (max-width: 520px) {
  .hero-media-card, .hero-media-card img { min-height: 260px; }
  .hero-media-card__caption, .image-card figcaption, .image-tile figcaption, .gallery-item figcaption { left: 0.7rem; right: 0.7rem; bottom: 0.7rem; font-size: 0.9rem; }
  .image-card--dark { min-height: auto; }
  .image-card--dark img { height: auto; min-height: 0; }
}

/* V1.8 business proof, real gallery and contact form refinements */
.business-proof-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.trusted-strip-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: clamp(0.55rem, 2vw, 0.9rem);
}
.business-quote {
  margin: 1.2rem 0 0;
  padding: 1rem;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.business-quote blockquote {
  margin: 0;
  color: var(--charcoal);
  font-weight: 850;
  line-height: 1.35;
}
.business-quote figcaption {
  margin-top: 0.65rem;
  color: var(--red);
  font-weight: 900;
}
.trusted-logo-cloud--business img {
  background: #fff;
}
.hero__actions--center {
  justify-content: center;
}
.gallery-grid--real {
  align-items: stretch;
}
.gallery-grid--real .gallery-item {
  min-height: 310px;
}
.gallery-grid--real .gallery-item img {
  min-height: 310px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .trusted-strip-image { padding: 0.45rem; }
  .gallery-grid--real .gallery-item,
  .gallery-grid--real .gallery-item img { min-height: 280px; }
}


/* V1.9 mobile/review polish */
@media (max-width: 1080px) {
  .site-nav {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.mobile-sticky-cta {
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--charcoal);
}
.quote-form select,
.quote-form input,
.quote-form textarea {
  min-height: 48px;
}
.quote-form textarea {
  resize: vertical;
}
.performance-home-card:focus-visible,
.button:focus-visible,
.site-nav a:focus-visible,
.brand-strip__link:focus-visible,
.mobile-sticky-cta a:focus-visible {
  outline: 3px solid rgba(123, 17, 23, 0.35);
  outline-offset: 3px;
}
@media (max-width: 520px) {
  .brand-strip__inner {
    gap: 0.35rem;
  }
  .brand-strip__link {
    white-space: nowrap;
  }
  .quote-form,
  .contact-card {
    padding: 1rem;
  }
}

/* V1.12 PCC Performance colour and back navigation polish */
.page-hero--performance {
  background:
    radial-gradient(circle at 78% 22%, rgba(123, 17, 23, 0.48), transparent 34%),
    linear-gradient(135deg, #15161a 0%, #24262b 46%, #4b090d 100%);
}
.page-hero--performance .performance-panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)),
    linear-gradient(135deg, #1e1f22 0%, #2a2b2f 58%, #4b090d 100%);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}
.page-hero--performance .performance-panel p {
  color: rgba(255,255,255,0.92);
}
.back-bar {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
}
.back-bar .container {
  padding: 0.7rem 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(20,20,20,0.04);
}
.back-link:hover {
  color: var(--red);
  background: var(--red-soft);
  border-color: rgba(123, 17, 23, 0.22);
}
.back-link:focus-visible {
  outline: 3px solid rgba(123, 17, 23, 0.25);
  outline-offset: 3px;
}
@media (max-width: 840px) {
  .page-hero--performance .performance-panel { min-height: 250px; }
  .back-bar .container { padding: 0.55rem 0; }
  .back-link { width: 100%; justify-content: center; }
}

/* V1.13 Franchise page expansion */
.franchise-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(123, 17, 23, 0.14), transparent 32%),
    linear-gradient(135deg, var(--cream), #fff 54%, #f8eeee);
}
.franchise-hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}
.franchise-hero-card img {
  width: min(100%, 390px);
  height: auto;
  margin-bottom: 1.2rem;
}
.franchise-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.franchise-proof-grid .mini-card {
  text-align: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.franchise-proof-grid strong {
  display: block;
  color: var(--red);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.franchise-proof-grid span {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-weight: 800;
}
.franchise-package-grid .price-card {
  display: flex;
  flex-direction: column;
}
.franchise-package-grid .tick-list {
  margin-bottom: 0;
}
.franchise-terms-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.4rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 16px 35px rgba(20,20,20,0.06);
}
.franchise-terms-strip div {
  background: var(--charcoal);
  color: var(--white);
  padding: 1.1rem;
}
.franchise-terms-strip strong {
  display: block;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.franchise-terms-strip span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  font-weight: 750;
}
.franchise-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: franchise-step;
}
.franchise-steps li {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem 1rem 1rem;
  box-shadow: 0 16px 35px rgba(20,20,20,0.06);
}
.franchise-steps li::before {
  counter-increment: franchise-step;
  content: counter(franchise-step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
}
.franchise-form h2 {
  margin-bottom: 0.75rem;
}
.form-check {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-weight: 800;
}
.form-check input {
  width: auto !important;
  min-height: 0 !important;
  margin: 0.25rem 0 0 !important;
}
.franchise-contact-card {
  position: sticky;
  top: 150px;
}
@media (max-width: 1080px) {
  .franchise-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .franchise-terms-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .franchise-proof-grid { grid-template-columns: 1fr; }
  .franchise-contact-card { position: static; }
}
@media (max-width: 620px) {
  .franchise-steps,
  .franchise-terms-strip { grid-template-columns: 1fr; }
  .franchise-proof-grid .mini-card { min-height: 140px; }
}


/* QR control sheet */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.qr-card {
  display: grid;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(112, 16, 24, 0.16);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.qr-card img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

.qr-card code,
.alert-card code {
  overflow-wrap: anywhere;
}

.alert-card {
  padding: 1.25rem;
  border-left: 5px solid var(--brand-burgundy);
  border-radius: var(--radius-lg);
  background: #fff;
}
