:root {
  --red: #f4524d;
  --red-dark: #f23630;
  --red-band: #f44336;
  --blue: #0088cc;
  --blue-dark: #0074ad;
  --green: #4caf50;
  --dark: #1b1b1b;
  --ink: #3e3e3e;
  --muted: #6b7280;
  --line: #ececec;
  --bg: #f7f7f7;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(16, 24, 40, .08);
  --shadow-lg: 0 18px 50px rgba(16, 24, 40, .16);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.3; color: var(--dark); margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--red); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 86px; }
.logo { display: block; flex-shrink: 0; }
.logo img { display: block; height: 62px; width: auto; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; margin: 0; }
.nav > ul > li > a {
  display: block; padding: 12px 14px;
  font-size: 14px; font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase; color: #2b2b2b; white-space: nowrap;
}
.nav > ul > li > a:hover { color: var(--red); text-decoration: none; }
.nav .cta-item a { color: var(--red); }
.nav .cta-item a:hover { color: var(--red-dark); }

.has-sub > a::after { content: "▾"; font-size: .72em; margin-left: 4px; color: #9a9a9a; }

.sub {
  position: absolute; top: 100%; left: 0; z-index: 95;
  display: none; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: 0 0 6px 6px; box-shadow: 0 14px 34px rgba(0, 0, 0, .13);
  padding: 6px 0; margin: 0;
}
.has-sub:hover > .sub,
.has-sub:focus-within > .sub { display: block; }
.sub li { display: block; width: 100%; margin: 0; }
.nav .sub a {
  display: block; padding: 10px 18px;
  font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--ink); white-space: nowrap;
}
.nav .sub a:hover { background: #fdf1f0; color: var(--red); text-decoration: none; }

.sub-mega { left: auto; right: 0; width: min(720px, 88vw); padding: 8px; }
.sub-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 4px; }
.nav .sub-cols a { padding: 8px 12px; font-size: 13.5px; white-space: normal; border-radius: 4px; }

.nav-toggle {
  display: none; margin-left: auto; position: relative; z-index: 100;
  background: var(--dark); color: #fff; border: 0; border-radius: 6px;
  padding: 10px 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px 0; }

/* ---------- Page header (inner pages) ---------- */
.page-header { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0 28px; text-align: center; }
.page-header h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); margin: 8px 0 12px; }
.page-header .lede { max-width: 900px; margin: 0 auto 20px; color: var(--muted); font-size: 17px; }
.page-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.breadcrumbs { font-size: 13px; color: #9a9a9a; margin: 0 0 8px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs a { color: #777; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #b9b9b9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  font-size: 14px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
  text-align: center; line-height: 1.4; border: 0; border-radius: var(--radius);
  cursor: pointer; text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--red); color: #fff !important; }
.btn-primary:hover { background: var(--red-dark); color: #fff !important; }
.btn-blue { background: var(--blue); color: #fff !important; }
.btn-blue:hover { background: var(--blue-dark); color: #fff !important; }
.btn-green { background: var(--green); color: #fff !important; }
.btn-green:hover { background: #3d8b40; }
.btn-block { display: block; width: 100%; }
.btn-pill { border-radius: 999px; }
.btn-lg { padding: 15px 22px; font-size: 15px; }

/* ---------- Content ---------- */
.content-wrap { padding: 42px 20px 64px; }
.entry { max-width: 1160px; margin: 0 auto; }
.entry .row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin: 0 0 24px; }
.entry .col { min-width: 0; }
.entry .col-3 { grid-column: span 3; }
.entry .col-4 { grid-column: span 4; }
.entry .col-6 { grid-column: span 6; }
.entry .col-8 { grid-column: span 8; }
.entry .col-12 { grid-column: span 12; }

.entry p { text-align: justify; margin: 0 0 1.15em; }
.entry .text-center { text-align: center; }
.entry h2 {
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.65rem);
  font-weight: 700; color: var(--dark);
  border-left: 5px solid var(--red); padding-left: 14px;
  margin: 1.6em 0 .7em;
}
.entry h2.text-center { border-left: 0; padding-left: 0; }
.entry h3 { font-size: 1.2rem; margin: 1.3em 0 .5em; }
.entry h4 { font-size: 1.05rem; }
.entry img { border-radius: 3px; }
.entry a:not(.btn) { color: var(--blue); text-decoration: none; }
.entry a:not(.btn):hover { text-decoration: underline; }
.entry ul, .entry ol { margin: 0 0 1.2em; padding-left: 1.5em; }
.entry li { margin-bottom: .45em; }
.entry ul li::marker, .entry ol li::marker { color: var(--red); font-weight: 700; }
.heading-rule { display: block; width: 150px; height: 3px; background: var(--red); margin: 12px auto 0; }
.entry .row.cta-row { grid-template-columns: 1fr; justify-items: center; }
.entry .row.cta-row .btn { min-width: min(360px, 100%); }

.table { width: 100%; border-collapse: collapse; margin: 1.2em 0; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--dark); color: #fff; font-size: .95rem; }
.table tbody th { background: #fafafa; color: var(--dark); }
.table tr:nth-child(even) td { background: #fafbfc; }
.table td:last-child, .table th:last-child { text-align: right; }

/* Home hero */
.home-hero { align-items: center; margin-bottom: 34px !important; }
.home-hero .col { display: flex; flex-direction: column; align-items: center; }
.home-hero .home-logo { width: 340px; max-width: 82%; height: auto; margin: 0 auto 8px; }
.home-hero h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); text-align: center; margin: 8px 0 18px; }
.home-hero p { text-align: center; }
.home-hero .col-8 .row { width: 100%; }
.home-hero .col-4 img { width: 100%; max-width: 420px; margin: 0 auto; }
.hero-cta { margin-top: 28px !important; }
.certibadge { width: 250px; max-width: 80%; height: auto; margin-top: 10px; }

/* Red full-width band */
.band-red {
  background: var(--red-band) !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 22px calc(50vw - 50%) !important;
}
.band-red p {
  color: #fff !important;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem);
  font-weight: 700; text-transform: uppercase; text-align: center; margin: 0;
}

/* Why PuniZen */
.why-section { align-items: center; }
.why-section .col-3 p { text-align: center; }
.why-section .col-3 p:first-child {
  display: flex; flex-direction: column; align-items: center;
  font-weight: 700; font-size: 18px; text-transform: uppercase; margin-bottom: 14px;
}
.why-section .col-3 p:first-child::before {
  content: "↓"; display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 10px;
}
.why-section .col-6 img { display: block; margin: 0 auto; }

/* Stats band */
.stats-band {
  background: #000;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 36px calc(50vw - 50%) !important;
  margin-top: 10px !important; margin-bottom: 30px !important;
}
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; text-align: center; }
.stat svg { width: 34px; height: 34px; fill: var(--red); margin-bottom: 8px; }
.stat strong { display: block; color: #fff; font-size: 34px; font-weight: 700; line-height: 1.2; }
.stat span { display: block; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; box-shadow: var(--shadow); }
.contact-card h2 { border-left: 5px solid var(--red); padding-left: 14px; font-size: 1.35rem; }
.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ico { width: 42px; height: 42px; border-radius: 10px; background: #fdf1f0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--dark); }
.contact-item a { font-weight: 700; }
.hs-form-wrap { min-height: 120px; }
#hs-form-target { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; box-shadow: var(--shadow); }
.hs-loading { display: none; color: var(--muted); font-size: .92rem; }
.hs-loading.is-loading { display: block; }
.consent-gate { text-align: center; padding: 10px 0; }
.consent-gate .btn { margin-bottom: 10px; }
.hs-consent-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b9c0ca; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 50px 0 34px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: .9em; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { color: #c9ced6; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .92rem; }
.footer-logo { height: 46px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 6px; font-size: .92rem; }
.footer-contact a { font-weight: 700; color: #fff; }
.footer-bottom { border-top: 1px solid #2e323a; padding: 16px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: #b9c0ca; }

/* ---------- Floating call button ---------- */
.call-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 85;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(244, 82, 77, .45);
  transition: transform .15s ease, background .15s ease;
}
.call-float svg { width: 26px; height: 26px; fill: #fff; }
.call-float:hover { background: var(--red-dark); transform: scale(1.06); }

/* ---------- Cookie banner ---------- */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  width: min(430px, calc(100vw - 36px));
  background: #1c1e24; color: #e7eaef; border: 1px solid #33373f;
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 22px;
}
.cookie-banner h2 { color: #fff; font-size: 1.08rem; margin-bottom: .4em; border: 0; padding: 0; }
.cookie-banner p { font-size: .88rem; color: #b9c0ca; margin-bottom: 1em; text-align: left; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .full { grid-column: 1 / -1; }
.cookie-banner .btn { padding: 11px 16px; font-size: .88rem; }
.cookie-link { background: none; border: 0; color: #b9c0ca; text-decoration: underline; cursor: pointer; font-size: .85rem; padding: 0; }
.cookie-link:hover { color: #fff; }
.cookie-prefs { display: none; margin: 0 0 14px; border-top: 1px solid #33373f; padding-top: 14px; }
.cookie-prefs.is-open { display: block; }
.cookie-pref { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: .88rem; }
.cookie-pref small { display: block; color: #9aa2ad; }
.switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.switch .track { position: absolute; inset: 0; background: #444a54; border-radius: 999px; transition: background .15s; pointer-events: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 2px solid var(--blue); outline-offset: 2px; }

/* HubSpot form visuals */
#hs-form-target .hs-form-field > label { font-weight: 600; color: var(--dark); }
#hs-form-target input[type="text"],
#hs-form-target input[type="email"],
#hs-form-target input[type="tel"],
#hs-form-target textarea,
#hs-form-target select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  font: inherit; margin-top: 4px; background: #fbfcfd;
}
#hs-form-target input:focus, #hs-form-target textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
#hs-form-target input[type="submit"], #hs-form-target .hs-button {
  background: var(--red); color: #fff; border: 0; border-radius: 6px; padding: 14px 28px;
  font-weight: 700; font-size: 1rem; cursor: pointer; text-transform: uppercase;
}
#hs-form-target input[type="submit"]:hover, #hs-form-target .hs-button:hover { background: var(--red-dark); }
#hs-form-target .hs-error-msgs { color: var(--red-dark); list-style: none; padding: 0; font-size: .85rem; }
#hs-form-target .hs-form-required { color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav > ul > li > a { padding: 12px 10px; font-size: 13px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: fixed; inset: 0; z-index: 99; margin: 0;
    background: #fff; padding: 92px 22px 40px; overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav > ul > li > a {
    padding: 14px 4px; border-bottom: 1px solid var(--line);
    font-size: 15px; white-space: normal;
  }
  .has-sub > a::after { float: right; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.is-open > .sub { display: block; }
  .sub {
    position: static; display: none; width: auto !important; min-width: 0;
    border: 0; border-top: 0; box-shadow: none; padding: 4px 0 10px 16px;
  }
  .sub li { width: 100%; }
  .nav .sub a, .nav .sub-cols a { padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
  .sub-cols { grid-template-columns: 1fr; }

  .header-inner { min-height: 72px; }
  .logo img { height: 48px; }

  .home-hero .col-4 { order: -1; }
  .home-hero .col-4 img { max-width: 300px; }
  .home-hero h1 { font-size: 1.7rem; }

  .entry .row { grid-template-columns: 1fr; gap: 18px; }
  .entry .col-3, .entry .col-4, .entry .col-6, .entry .col-8, .entry .col-12 { grid-column: span 1; }
  .entry p { text-align: left; }
  .band-red p { font-size: 1.15rem; }

  .stats-inner { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .stat strong { font-size: 28px; }

  .footer-main { grid-template-columns: 1fr; padding-top: 36px; }
  .page-header { padding: 26px 0 22px; }
  .page-cta .btn { width: 100%; }
  .cookie-banner { right: 10px; left: 10px; bottom: 86px; width: auto; max-height: 72vh; overflow-y: auto; }
  .call-float { left: 14px; bottom: 14px; width: 50px; height: 50px; }
  .call-float svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .site-header, .call-float { transition: none; }
}
