/* =====================================================================
   S.H. ENTERPRISES — Site styles
   Vistaprint-style layout language × S.H. brochure branding
   ===================================================================== */

/* ------------------------------ Tokens ----------------------------- */
:root {
  --navy: #1b2a6b; /* headings / dark brand band            */
  --navy-deep: #141f52;
  --accent: #2f6fed; /* Vistaprint-style CTA blue             */
  --accent-dk: #1f57c9;
  --magenta: #d6006e; /* brochure swoosh                       */
  --purple: #4a1d7a;
  --cyan: #00aeef;
  --yellow: #ffd200;
  /* the brochure's third ink — its capability matrix rotates cyan/magenta/gold,
     substituting gold for yellow because yellow is illegible on light stock */
  --gold: #ef9f2e;
  --wa: #25d366; /* WhatsApp green                        */
  --wa-dk: #1da851;

  --ink: #1d2433; /* body text                             */
  --muted: #5b6472;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-softer: #eef2fb;

  --grad-brand: linear-gradient(90deg, var(--magenta) 0%, var(--purple) 100%);
  /* silver-pearl with a diagonal sheen, as on the brochure cover — a neutral
     ground so the red apples pop instead of fighting a blue tint */
  --grad-hero: linear-gradient(
    135deg,
    #fcfcfd 0%,
    #f2f3f6 40%,
    #e9ebef 72%,
    #f5f6f8 100%
  );
  --swoosh-h: clamp(44px, 5.5vw, 84px);

  --shadow-sm: 0 2px 6px rgba(20, 31, 82, 0.06);
  --shadow: 0 8px 24px rgba(20, 31, 82, 0.1);
  --shadow-lg: 0 18px 44px rgba(20, 31, 82, 0.16);

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --header-h: 74px;

  /* 8-pt spacing scale — use these, not ad-hoc px */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;

  --font-head:
    "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ------------------------------ Base ------------------------------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
}
p {
  margin: 0 0 1rem;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-dk);
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
.section {
  padding: 76px 0;
}
.section--compact {
  padding: 40px 0;
}
.section--compact .section-head {
  margin-bottom: 20px;
}
.section--soft {
  background: var(--bg-soft);
}
.center {
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 10px;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}
.lead {
  font-size: 1.12rem;
  color: var(--muted);
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 111, 237, 0.28);
}
.btn--primary:hover {
  background: var(--accent-dk);
  color: #fff;
}
.btn--wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.btn--wa:hover {
  background: var(--wa-dk);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost-light:hover {
  background: #fff;
  color: var(--navy);
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn--block {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* ---------------- Moving glow border (opt-in) ----------------------
   Deliberately opt-in via .btn--glow, NOT on .btn--wa: that class is used
   36x (header, footer, float, both CTA bands, 15 product cards) and glowing
   all of them would be a slot machine. Hero CTA only.
   Note this is the one perpetual animation on the site — everything else
   rests after playing. prefers-reduced-motion stops it (see end of file). */
@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes glowSpin {
  to {
    --glow-angle: 360deg;
  }
}

.btn--glow {
  position: relative;
}
.btn--glow::before,
.btn--glow::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
  animation: glowSpin 3.2s linear infinite;
  /* punch out the middle so ONLY the ring is painted — the button's
     interior (label + icon) is untouched by construction, not by luck */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
/* the crisp comet, sitting exactly on the button's 2px border */
.btn--glow::before {
  inset: -2px;
  padding: 2px;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0 58%,
    rgba(255, 255, 255, 0.45) 70%,
    #fff 78%,
    rgba(255, 255, 255, 0.45) 86%,
    transparent 96%
  );
}
/* wider, softer halo OUTSIDE the button — reads as bloom.
   No filter:blur() here on purpose: filter is applied BEFORE mask, so a blur
   would be computed from the un-masked rect and then clipped away (the same
   trap that was eating the old hero drop-shadow). */
.btn--glow::after {
  inset: -7px;
  padding: 7px;
  opacity: 0.34;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0 50%,
    rgba(255, 255, 255, 0.6) 74%,
    transparent 98%
  );
}

/* ------------------------------ Header ----------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 46px;
  width: auto;
}
.brand__txt {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  font-size: 1.02rem;
}
.brand__txt small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  color: var(--magenta);
  font-weight: 600;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a.navlink {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav a.navlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--grad-brand);
  transition: width 0.2s;
}
.nav a.navlink:hover::after,
.nav a.navlink.active::after {
  width: 100%;
}
.nav a.navlink.active {
  color: var(--magenta);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.header-phone svg {
  width: 17px;
  height: 17px;
  color: var(--magenta);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.25s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  padding-top: var(--header-h);
}

/* ------------------------- Full-Bleed Slider Hero Banner ----------------------- */
.hero--slider-banner {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  background: #f8f9fd;
  padding: 0;
  display: block;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - var(--header-h));
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity 2.5s ease-in-out, visibility 2.5s ease-in-out, transform 2.5s ease-in-out;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* Soft, lightweight white gradient overlay on hero background image */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.40) 0%,
    rgba(255, 255, 255, 0.18) 40%,
    transparent 75%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-slide .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1380px !important;
  padding-left: 64px;
  padding-right: 32px;
}

@media (max-width: 768px) {
  .hero-slide {
    padding-bottom: 72px;
  }
  .hero-slide .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.hero-slide__content {
  max-width: 700px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
  background: transparent;
}

/* Staggered elegant slide-up entrance for hero text elements */
.hero-slide__tagline,
.hero-slide__title,
.hero-slide__desc,
.hero-slide__actions,
.hero-slide__badges {
  opacity: 0;
  transform: translateY(28px);
  transition: transform 0.45s ease-out, opacity 0.45s ease-out;
  will-change: transform, opacity;
}

.hero-slide.active .hero-slide__tagline,
.hero-slide.active .hero-slide__title,
.hero-slide.active .hero-slide__desc,
.hero-slide.active .hero-slide__actions,
.hero-slide.active .hero-slide__badges {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-slide__tagline { transition-delay: 0.12s; }
.hero-slide.active .hero-slide__title   { transition-delay: 0.22s; }
.hero-slide.active .hero-slide__desc    { transition-delay: 0.32s; }
.hero-slide.active .hero-slide__actions { transition-delay: 0.15s; }
.hero-slide.active .hero-slide__badges  { transition-delay: 0.52s; }

.hero-slide__tagline {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1d4ed8;
  text-transform: uppercase;
  text-shadow: none;
}

.hero-slide__title {
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.hero-slide__desc {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  color: black;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  text-shadow: #000;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

/* Secondary action button styling */
.hero-slide__actions .btn--outline {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid rgba(15, 23, 42, 0.2) !important;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}

.hero-slide__actions .btn--outline:hover {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.35) !important;
}

.hero-slide__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  width: 100%;
}

.hero-slide__badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  text-shadow: none;
}

.hero-slide__badges svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Dots Pagination Bar */
.hero-slider__dots {
  position: absolute;
  top: 36px;
  left: 64px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-slider__dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider__dots .dot.active {
  width: 14px;
  height: 14px;
  background: var(--primary);
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

/* Vertical Category Label */
.hero-slider__vertical-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  z-index: 10;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(15, 23, 42, 0.4);
  text-transform: uppercase;
  text-shadow: none;
}

/* Hero Scroll Down 3-Chevron Indicator */
.hero-scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 60px;
  height: 60px;
}

.scroll-chevron-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  position: relative;
}

.chevron {
  position: absolute;
  width: 52px;
  height: 6px;
  opacity: 0;
  transform: scale(0.3);
  animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
  animation-delay: 1s;
}

.chevron:nth-child(2) {
  animation-delay: 2s;
}

.chevron::before,
.chevron::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: #1d4ed8;
  border-radius: 3px;
}

.chevron::before {
  left: 0;
  transform: skewY(30deg);
}

.chevron::after {
  right: 0;
  transform: skewY(-30deg);
}

@keyframes move-chevron {
  25% {
    opacity: 1;
  }
  33.3% {
    opacity: 1;
    transform: translateY(18px);
  }
  66.6% {
    opacity: 1;
    transform: translateY(30px);
  }
  100% {
    opacity: 0;
    transform: translateY(44px) scale(0.5);
  }
}

/* brand swoosh across the base of the hero */
.hero__swoosh {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: var(--swoosh-h);
  z-index: 1;
  display: block;
}

/* ---------------------- Press marks (hero) ------------------------- */
.press-marks {
  position: absolute;
  top: 20px;
  bottom: calc(var(--swoosh-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 44px, var(--maxw));
  pointer-events: none;
  color: var(--navy);
  opacity: 0.17;
  z-index: 1;
}
.press-marks .crop {
  position: absolute;
  width: 20px;
  height: 20px;
}
.crop--tl {
  top: 0;
  left: 0;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
}
.crop--tr {
  top: 0;
  right: 0;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.crop--bl {
  bottom: 0;
  left: 0;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
}
.crop--br {
  bottom: 0;
  right: 0;
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.press-marks .regmark {
  position: absolute;
  width: 24px;
  height: 24px;
}
.regmark--tr {
  top: 34px;
  right: -2px;
}
.regmark--bl {
  bottom: 34px;
  left: -2px;
}
.cmyk-dots {
  display: inline-flex;
  gap: 5px;
  margin-bottom: 14px;
}
.cmyk-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.cmyk-dots i:nth-child(1) {
  background: var(--cyan);
}
.cmyk-dots i:nth-child(2) {
  background: var(--magenta);
}
.cmyk-dots i:nth-child(3) {
  background: var(--yellow);
}
.cmyk-dots i:nth-child(4) {
  background: #111;
}

/* ------------------------- Services strip -------------------------- */
/* -------------------- Services Split Layout (Desktop) ----------------------- */
.services-split-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

@media (min-width: 992px) {
  .services-split-layout {
    display: grid;
    grid-template-columns: 580px 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1180px;
    margin: 0 auto;
  }
  .flower-wrapper {
    margin: 0;
    justify-self: center;
  }
  .service-detail-panel {
    display: block;
    width: 100%;
  }
}

@media (max-width: 991px) {
  .service-detail-panel {
    display: none;
  }
}

.detail-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 16px 45px rgba(12, 18, 45, 0.08);
  border: 1.5px solid rgba(27, 42, 107, 0.1);
  position: relative;
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.detail-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(47, 111, 237, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.detail-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.2;
}

.detail-desc {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
}

.detail-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-highlights li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-highlights li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.detail-action {
  margin-top: auto;
}
.detail-action .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 0.95rem;
}

/* Active Petal Highlight Class on Flower */
.flower-petal.is-cycling-active {
  z-index: 20 !important;
  box-shadow: 0 20px 45px rgba(47, 111, 237, 0.28), 0 0 0 4px rgba(47, 111, 237, 0.3) !important;
  border-color: var(--accent) !important;
}

/* -------------------- Interactive 6-Petal Flower ----------------------- */
.flower-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flower-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 135px;
  height: 135px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 50 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(12, 18, 45, 0.14), 0 0 0 6px rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(27, 42, 107, 0.1);
  transition: all 0.5s ease;
  pointer-events: none;
}
.flower-hub span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--navy);
  margin-top: 5px;
  line-height: 1.2;
}

.flower-petal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  border-radius: 50% 50% 14px 50%;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(12, 18, 45, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 2px solid rgba(27, 42, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-decoration: none;
  color: var(--text);
  z-index: 5;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease, border-color 0.45s ease, opacity 0.45s ease;
  transform-origin: center center;
}

.petal-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.petal-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.petal-icon svg {
  width: 20px;
  height: 20px;
}

.flower-petal h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
  line-height: 1.2;
}

.petal-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.3;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease, margin 0.45s ease;
}

.petal-go {
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease, margin 0.45s ease;
}
.petal-go svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}

/* Individual Radial Positions & Rotations for 6 Petals */
.flower-petal[data-petal="1"] {
  transform: translate(0, -170px) rotate(45deg);
}
.flower-petal[data-petal="1"] .petal-content {
  transform: rotate(-45deg);
}

.flower-petal[data-petal="2"] {
  transform: translate(148px, -85px) rotate(105deg);
}
.flower-petal[data-petal="2"] .petal-content {
  transform: rotate(-105deg);
}

.flower-petal[data-petal="3"] {
  transform: translate(148px, 85px) rotate(165deg);
}
.flower-petal[data-petal="3"] .petal-content {
  transform: rotate(-165deg);
}

.flower-petal[data-petal="4"] {
  transform: translate(0, 170px) rotate(225deg);
}
.flower-petal[data-petal="4"] .petal-content {
  transform: rotate(-225deg);
}

.flower-petal[data-petal="5"] {
  transform: translate(-148px, 85px) rotate(285deg);
}
.flower-petal[data-petal="5"] .petal-content {
  transform: rotate(-285deg);
}

.flower-petal[data-petal="6"] {
  transform: translate(-148px, -85px) rotate(345deg);
}
.flower-petal[data-petal="6"] .petal-content {
  transform: rotate(-345deg);
}

/* Hover & Expand Effects (Hover applies ONLY to the active petal) */
.flower-petal:hover {
  z-index: 20;
  box-shadow: 0 20px 45px rgba(12, 18, 45, 0.22);
}

.flower-petal[data-petal="1"]:hover {
  transform: translate(0, -192px) scale(1.15) rotate(45deg);
}
.flower-petal[data-petal="2"]:hover {
  transform: translate(168px, -96px) scale(1.15) rotate(105deg);
}
.flower-petal[data-petal="3"]:hover {
  transform: translate(168px, 96px) scale(1.15) rotate(165deg);
}
.flower-petal[data-petal="4"]:hover {
  transform: translate(0, 192px) scale(1.15) rotate(225deg);
}
.flower-petal[data-petal="5"]:hover {
  transform: translate(-168px, 96px) scale(1.15) rotate(285deg);
}
.flower-petal[data-petal="6"]:hover {
  transform: translate(-168px, -96px) scale(1.15) rotate(345deg);
}

.flower-petal:hover .petal-desc {
  max-height: 70px;
  opacity: 1;
  margin-top: 5px;
}
.flower-petal:hover .petal-go {
  max-height: 35px;
  opacity: 1;
  margin-top: 6px;
}
.flower-petal:hover .petal-go svg {
  transform: translateX(4px);
}

/* Petal Color Themes */
.petal--cyan .petal-icon { background: rgba(0, 174, 239, 0.12); color: #00aeef; }
.petal--cyan:hover { border-color: #00aeef; }
.petal--cyan .petal-go { color: #00aeef; }

.petal--magenta .petal-icon { background: rgba(229, 0, 125, 0.12); color: #e5007d; }
.petal--magenta:hover { border-color: #e5007d; }
.petal--magenta .petal-go { color: #e5007d; }

.petal--gold .petal-icon { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.petal--gold:hover { border-color: #d97706; }
.petal--gold .petal-go { color: #d97706; }

.petal--purple .petal-icon { background: rgba(139, 42, 143, 0.12); color: #8b2a8f; }
.petal--purple:hover { border-color: #8b2a8f; }
.petal--purple .petal-go { color: #8b2a8f; }

.petal--accent .petal-icon { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.petal--accent:hover { border-color: #2563eb; }
.petal--accent .petal-go { color: #2563eb; }

.petal--navy .petal-icon { background: rgba(27, 42, 107, 0.12); color: #1b2a6b; }
.petal--navy:hover { border-color: #1b2a6b; }
.petal--navy .petal-go { color: #1b2a6b; }

.service--navy {
  --ink: var(--navy);
}

/* --------------------------- Card grids ---------------------------- */
.card-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.pcard {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: none;
}
.pcard__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: transparent;
  overflow: visible;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.pcard__img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 10px 22px rgba(20, 31, 82, 0.12));
}
.pcard:hover .pcard__img img {
  transform: scale(1.04);
  filter: drop-shadow(0 16px 28px rgba(20, 31, 82, 0.18));
}
.pcard__body {
  padding: 14px 6px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}
.pcard__body h3 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
}
.pcard__body p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  line-height: 1.45;
}
.pcard__body .btn {
  margin-top: auto;
  width: 100%;
}
.pcard__tag {
  align-self: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--purple);
  background: #f3ecfb;
  padding: 3px 10px;
  border-radius: 999px;
}

/* category tile (home) — clean, minimal product image style */
.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}
.tcard:hover {
  transform: translateY(-4px);
  box-shadow: none;
}
.tcard img {
  width: 100%;
  aspect-ratio: 1/1;
  max-height: 240px;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  margin: auto;
  display: block;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 10px 22px rgba(20, 31, 82, 0.1));
}
.tcard:hover img {
  transform: scale(1.04);
}
.tcard__cap {
  position: static;
  padding: 12px 6px 4px;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: none;
  margin-top: auto;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Homepage product card — hover "Get a Quote" button (bottom-right) */
.tcard {
  position: relative;
}
.tcard img {
  position: relative;
  z-index: 1;
}
.tcard .tcard__cap {
  z-index: 3;
}
.tcard__btn {
  position: absolute;
  bottom: 60px;
  right: 10px;
  opacity: 0;
  transform: translateY(8px);
  padding: 9px 18px;
  background: var(--wa);
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tcard:hover .tcard__btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ------------------------- Filter chips ---------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.chip {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: 0.15s;
}
.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.is-hidden {
  display: none !important;
}



/* ------------------------- Why / features -------------------------- */
.section--parallax-why {
  position: relative;
  background-image: url('../assets/why_bg_parallax.png');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  z-index: 1;
}

.section--parallax-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.86) 55%,
    rgba(255, 255, 255, 0.68) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.section--parallax-why .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section--parallax-why {
    background-attachment: scroll;
    background-position: center center;
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* opt-in: lets the workflow rail fill the column height instead of floating.
   NOT on .split itself — about.html's split centres a fixed-aspect tile. */
.split--stretch {
  align-items: stretch;
}
.feature-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.feature-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  --fi: var(--accent);
}
.feature-list .fi {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--fi) 12%, #fff);
  color: var(--fi);
  display: grid;
  place-items: center;
}
.feature-list li.fi--cyan {
  --fi: var(--cyan);
}
.feature-list li.fi--magenta {
  --fi: var(--magenta);
}
.feature-list li.fi--gold {
  --fi: var(--gold);
}
.feature-list li.fi--navy {
  --fi: var(--navy);
}
.feature-list .fi svg {
  width: 18px;
  height: 18px;
}
.feature-list h4 {
  margin: 0 0 2px;
  font-size: 1rem;
  color: var(--navy);
}
.feature-list p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.feature-list--cols {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  margin-top: var(--s6);
}
.stat-row {
  display: flex;
  gap: 24px;
  margin-top: 30px;
}
.stat {
  flex: 1;
  min-width: 0;
}
.stat b {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--magenta);
  display: block;
  line-height: 1;
}
.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}
.why__cta {
  margin-top: var(--s6);
}

/* ---------------- Workflow rail (Why section) ----------------------
   Pre-Press -> Press -> Post-Press -> Dispatch, straight off the brochure's
   About Us page. Same card language as .service (brochure corner, square left
   edge, silver fill); the left bar's gradient runs through the four step
   colours in order, so the spine IS the workflow. */
.flow {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, #fff 0%, #f8f9fc 52%, #eaeef6 100%);
  border: 1px solid rgba(27, 42, 107, 0.16);
  border-left: 0;
  border-radius: 0 clamp(32px, 6vw, 84px) 0 0;
  padding: var(--s6) var(--s5) var(--s6) calc(var(--s5) + 8px);
}
.flow::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 5px;
  background: linear-gradient(
    180deg,
    var(--cyan) 0%,
    var(--magenta) 34%,
    var(--gold) 67%,
    var(--navy) 100%
  );
}
.flow__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s5);
}
/* steps grow to spread down the card, so the rail reads as a pipeline spanning
   the section rather than a short list with a long empty tail. Dispatch stays
   fixed so it pins to the bottom. Gap stays a fixed --s5, which is what the
   connector maths below depends on. */
.flow__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.flow__step {
  --step: var(--accent);
  position: relative;
  padding-left: 30px;
  flex: 1;
  z-index: 3;
}
.flow__step:last-child {
  flex: 0 0 auto;
}

/* Background track line for each step */
.flow__step::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  bottom: calc((var(--s5) + 6px) * -1);
  width: 2px;
  background: rgba(27, 42, 107, 0.12);
  z-index: 1;
}
.flow__step:last-child::after {
  display: none;
}

/* Active moving line segment physically growing down from this dot to next dot */
.flow__step::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  width: 3px;
  margin-left: -0.5px;
  height: 0%;
  max-height: calc(100% + var(--s5) - 12px);
  background: var(--step);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--step);
  z-index: 2;
}
.flow__step:last-child::before {
  display: none;
}

.flow__dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--step);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--step) 20%, #fff);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 4;
}
.flow__step h4 {
  margin: 0 0 3px;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.flow__step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
/* Individual step colors - each line path is distinct & different */
.flow__step--cyan {
  --step: var(--cyan);
}
.flow__step--magenta {
  --step: var(--magenta);
}
.flow__step--gold {
  --step: var(--gold);
}
.flow__step--navy {
  --step: var(--navy);
}

/* Physical line drawing animations from top dot down to next dot */
.flow__step--cyan::before {
  animation: growLineCyan 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.flow__step--magenta::before {
  animation: growLineMagenta 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.flow__step--gold::before {
  animation: growLineGold 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes growLineCyan {
  0% {
    height: 0%;
    opacity: 1;
  }
  28% {
    height: calc(100% + var(--s5) - 12px);
    opacity: 1;
  }
  86% {
    height: calc(100% + var(--s5) - 12px);
    opacity: 1;
  }
  95%, 100% {
    height: 0%;
    opacity: 0;
  }
}

@keyframes growLineMagenta {
  0%, 26% {
    height: 0%;
    opacity: 0;
  }
  28% {
    height: 0%;
    opacity: 1;
  }
  56% {
    height: calc(100% + var(--s5) - 12px);
    opacity: 1;
  }
  86% {
    height: calc(100% + var(--s5) - 12px);
    opacity: 1;
  }
  95%, 100% {
    height: 0%;
    opacity: 0;
  }
}

@keyframes growLineGold {
  0%, 54% {
    height: 0%;
    opacity: 0;
  }
  56% {
    height: 0%;
    opacity: 1;
  }
  82% {
    height: calc(100% + var(--s5) - 12px);
    opacity: 1;
  }
  86% {
    height: calc(100% + var(--s5) - 12px);
    opacity: 1;
  }
  95%, 100% {
    height: 0%;
    opacity: 0;
  }
}

/* Synchronized Dot Glowing Pulses as flow reaches each dot */
.flow__step--cyan .flow__dot {
  animation: dotGlowCyan 5.5s ease-in-out infinite;
}
.flow__step--magenta .flow__dot {
  animation: dotGlowMagenta 5.5s ease-in-out infinite;
}
.flow__step--gold .flow__dot {
  animation: dotGlowGold 5.5s ease-in-out infinite;
}
.flow__step--navy .flow__dot {
  animation: dotGlowNavy 5.5s ease-in-out infinite;
}

/* Synchronized Title Highlights */
.flow__step--cyan h4 {
  animation: textHighlightCyan 5.5s ease-in-out infinite;
}
.flow__step--magenta h4 {
  animation: textHighlightMagenta 5.5s ease-in-out infinite;
}
.flow__step--gold h4 {
  animation: textHighlightGold 5.5s ease-in-out infinite;
}
.flow__step--navy h4 {
  animation: textHighlightNavy 5.5s ease-in-out infinite;
}

@keyframes dotGlowCyan {
  0%, 20% {
    transform: scale(1.35);
    box-shadow: 0 0 0 6px rgba(0, 174, 239, 0.35), 0 0 12px rgba(0, 174, 239, 0.8);
  }
  30%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 20%, #fff);
  }
}

@keyframes dotGlowMagenta {
  0%, 25% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--magenta) 20%, #fff);
  }
  33%, 52% {
    transform: scale(1.35);
    box-shadow: 0 0 0 6px rgba(229, 0, 125, 0.35), 0 0 12px rgba(229, 0, 125, 0.8);
  }
  62%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--magenta) 20%, #fff);
  }
}

@keyframes dotGlowGold {
  0%, 58% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, #fff);
  }
  66%, 85% {
    transform: scale(1.35);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.35), 0 0 12px rgba(245, 158, 11, 0.8);
  }
  92%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, #fff);
  }
}

@keyframes dotGlowNavy {
  0%, 88% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 20%, #fff);
  }
  93%, 98% {
    transform: scale(1.35);
    box-shadow: 0 0 0 6px rgba(27, 42, 107, 0.35), 0 0 12px rgba(27, 42, 107, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 20%, #fff);
  }
}

/* Synchronized Dot Glowing Pulses as line crosses each dot */
.flow__step--cyan .flow__dot {
  animation: dotGlowCyan 6s ease-in-out infinite;
}
.flow__step--magenta .flow__dot {
  animation: dotGlowMagenta 6s ease-in-out infinite;
}
.flow__step--gold .flow__dot {
  animation: dotGlowGold 6s ease-in-out infinite;
}
.flow__step--navy .flow__dot {
  animation: dotGlowNavy 6s ease-in-out infinite;
}

/* Synchronized Title Highlights */
.flow__step--cyan h4 {
  animation: textHighlightCyan 6s ease-in-out infinite;
}
.flow__step--magenta h4 {
  animation: textHighlightMagenta 6s ease-in-out infinite;
}
.flow__step--gold h4 {
  animation: textHighlightGold 6s ease-in-out infinite;
}
.flow__step--navy h4 {
  animation: textHighlightNavy 6s ease-in-out infinite;
}

@keyframes dotGlowCyan {
  0%, 15% {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(0, 174, 239, 0.35), 0 0 15px rgba(0, 174, 239, 0.8);
  }
  25%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 20%, #fff);
  }
}

@keyframes dotGlowMagenta {
  0%, 25% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--magenta) 20%, #fff);
  }
  33%, 45% {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(229, 0, 125, 0.35), 0 0 15px rgba(229, 0, 125, 0.8);
  }
  55%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--magenta) 20%, #fff);
  }
}

@keyframes dotGlowGold {
  0%, 55% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, #fff);
  }
  66%, 78% {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.35), 0 0 15px rgba(245, 158, 11, 0.8);
  }
  88%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, #fff);
  }
}

@keyframes dotGlowNavy {
  0%, 82% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 20%, #fff);
  }
  90%, 98% {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(27, 42, 107, 0.35), 0 0 15px rgba(27, 42, 107, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 20%, #fff);
  }
}

@keyframes textHighlightCyan {
  0%, 18% { color: var(--cyan); }
  25%, 100% { color: var(--navy); }
}
@keyframes textHighlightMagenta {
  0%, 28% { color: var(--navy); }
  33%, 48% { color: var(--magenta); }
  55%, 100% { color: var(--navy); }
}
@keyframes textHighlightGold {
  0%, 60% { color: var(--navy); }
  66%, 80% { color: var(--gold); }
  88%, 100% { color: var(--navy); }
}
@keyframes textHighlightNavy {
  0%, 85% { color: var(--navy); }
  90%, 98% { color: var(--navy); font-weight: 700; }
  100% { color: var(--navy); }
}

/* --------------------------- Clients ------------------------------- */
.client-strip img {
  width: 100%;
  border-radius: var(--radius);
}
.clients-note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ------------------------- Testimonials ---------------------------- */
/* Same card language as .service and .flow: brochure corner, square left edge
   with a CMYK ink bar, silver fill. 3-up so the featured quote can span. */
.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tquote {
  --tink: var(--accent);
  position: relative;
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, #fff 0%, #f8f9fc 52%, #eaeef6 100%);
  border: 1px solid rgba(27, 42, 107, 0.16);
  border-left: 0;
  border-radius: 0 clamp(32px, 6vw, 84px) 0 0;
  padding: var(--s5) var(--s5) var(--s5) calc(var(--s5) + 8px);
  box-shadow: var(--shadow-sm);
}
.tquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 5px;
  background: var(--tink);
}
/* ghost quote mark — bottom-right, because the top-right is the cut-away
   corner. Gives the six-word quotes weight they can't earn from word count. */
.tquote::after {
  content: "\201D";
  position: absolute;
  right: 16px;
  bottom: -30px;
  pointer-events: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--tink);
  opacity: 0.1;
}
.tquote .stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.tquote blockquote {
  margin: 0 0 var(--s3);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
}

/* Full review behind a native <details> — no JS, works with scripting off. */
.tquote__more {
  margin-bottom: var(--s4);
}
.tquote__more summary {
  cursor: pointer;
  list-style: none;
  width: max-content;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--tink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0;
}
.tquote__more summary::-webkit-details-marker {
  display: none;
}
.tquote__more summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.tquote__more[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 1px;
}
.tquote__more summary:hover {
  text-decoration: underline;
}
.tquote__full {
  margin-top: var(--s3);
  border-top: 1px solid var(--line);
  padding-top: var(--s3);
}
.tquote__full p {
  margin: 0 0 0.7em;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.62;
}
.tquote__full p:last-child {
  margin-bottom: 0;
}
.tquote .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.tquote .avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(12, 18, 45, 0.15);
  background: var(--bg-soft);
}
.who__id {
  display: grid;
}
.who__name {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.95rem;
  line-height: 1.35;
}
.who__org {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.tquote--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: var(--s6);
  align-items: center;
  padding: var(--s7) var(--s6) var(--s7) calc(var(--s6) + 8px);
}
.tquote--featured blockquote {
  font-size: 1.28rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.tquote--featured .who {
  margin-top: 0;
}
.tquote--featured::after {
  font-size: 8.5rem;
  right: 22px;
  bottom: -42px;
}

.tq--magenta {
  --tink: var(--magenta);
}
.tq--cyan {
  --tink: var(--cyan);
}
.tq--gold {
  --tink: var(--gold);
}
.tq--navy {
  --tink: var(--navy);
}

/* --------------------------- CTA band ------------------------------ */
.cta-band {
  background: var(--grad-brand);
  color: #fff;
  border-radius: 22px;
  padding: 46px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 24px;
}
.cta-band .btn--wa {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* -------------------------- Capability matrix ---------------------- */
.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
table.matrix {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
  font-size: 0.9rem;
}
table.matrix th,
table.matrix td {
  padding: 11px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
table.matrix thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  position: sticky;
  top: 0;
}
table.matrix thead th:first-child {
  text-align: left;
}
table.matrix tbody th {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-soft);
  white-space: nowrap;
}
table.matrix tbody tr:nth-child(even) td,
table.matrix tbody tr:nth-child(even) th {
  background: #fbfcfe;
}
table.matrix .yes {
  color: var(--wa-dk);
  font-weight: 700;
}
table.matrix .no {
  color: var(--line);
}

/* ----------------- Industry accordion (replaces matrix) ------------ */
.iaccord {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: var(--s3);
}
.iaccord__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.iaccord__item.open {
  box-shadow: var(--shadow);
  border-color: transparent;
}
.iaccord__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy);
  transition: color 0.15s;
}
.iaccord__btn:hover {
  color: var(--accent);
}
.iaccord__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-brand);
}
.iaccord__name {
  flex: 1;
}
.iaccord__meta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.iaccord__chev {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.28s ease;
}
.iaccord__item.open .iaccord__chev {
  transform: rotate(180deg);
  color: var(--accent);
}
.iaccord__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s ease;
}
.iaccord__item.open .iaccord__panel {
  max-height: 640px;
}
.iaccord__inner {
  padding: 0 var(--s5) var(--s5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.iaccord__inner span {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}
@media (max-width: 480px) {
  .iaccord__btn {
    padding: var(--s4);
    font-size: 1rem;
    gap: var(--s3);
  }
  .iaccord__inner {
    padding: 0 var(--s4) var(--s4);
  }
  .iaccord__meta {
    display: none;
  }
}

/* --------------------------- Contact ------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.info-row .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-softer);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.info-row .ic svg {
  width: 20px;
  height: 20px;
}
.info-row h4 {
  margin: 0 0 2px;
  font-size: 1rem;
}
.info-row p,
.info-row a {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.info-row a:hover {
  color: var(--accent);
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
}

.legal-line {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 8px;
}
.map-embed {
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}
.map-embed--full {
  height: 360px;
  margin-top: var(--s7);
}

.assoc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.assoc span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
}

/* -------------------- Association Cards Grid -------------------- */
.assoc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--s5);
  text-align: left;
}

.assoc-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.assoc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan, #00A8E8), var(--magenta, #E6007A), var(--gold, #F5A623));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.assoc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(11, 37, 69, 0.08);
  border-color: rgba(0, 168, 232, 0.35);
}

.assoc-card:hover::before {
  opacity: 1;
}

.assoc-card__logo-wrap {
  width: 100%;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.assoc-card__logo-wrap img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.assoc-card:hover .assoc-card__logo-wrap img {
  transform: scale(1.04);
}

.assoc-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy, #0B2545);
  margin-bottom: 6px;
  line-height: 1.35;
}

.assoc-card__desc {
  font-size: 0.86rem;
  color: var(--muted, #64748B);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.assoc-card__badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft, #f1f5f9);
  color: var(--navy, #0B2545);
}

@media (max-width: 900px) {
  .assoc-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    gap: 18px;
  }
}

/* Products: "also available" chip cloud */
.more-products {
  margin-top: var(--s7);
}
.more-products .assoc {
  justify-content: center;
  margin-top: var(--s4);
}
.more-products .btn-wrap {
  margin-top: var(--s5);
}

/* ------------------------------ Footer ----------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: #cdd4ee;
  padding: 56px 0 26px;
}
.site-footer a {
  color: #cdd4ee;
}
.site-footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 34px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
/* The white chip is load-bearing, not decoration: the mark is dark ink on a
   transparent ground and would vanish against --navy-deep without it. Height is
   border-box, so 72px - 2*8px padding leaves the mark itself at 56px. */
.footer-brand img {
  height: 72px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: #a9b2d8;
  max-width: 300px;
}
.foot-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}
.foot-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 0.92rem;
}
.foot-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.foot-contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--cyan);
}
.foot-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.foot-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.foot-social a:hover {
  background: var(--magenta);
}
.foot-social svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #97a1cc;
}

/* ------------------------- Edge Sliding Contact Buttons ----------------------- */
.edge-buttons-container {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.edge-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 8px 8px;
  border-radius: 40px 0 0 40px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-right: none;
  box-shadow:
    -6px 6px 20px rgba(12, 18, 45, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition:
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    background 0.3s,
    box-shadow 0.3s;
  transform: translateX(calc(100% - 50px));
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Glassy Icon container style applied directly to SVG */
.edge-btn svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.7s cubic-bezier(0.25, 1, 0.5, 1),
    background 0.3s;
  flex-shrink: 0;
  display: block;
}

.edge-btn span {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Deluxe sliding metallic shine overlay */
.edge-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
}

/* Color variations using rich gradients */
.edge-btn--wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.edge-btn--wa:hover {
  background: linear-gradient(135deg, #2cf477 0%, #15a393 100%);
  box-shadow:
    -8px 8px 24px rgba(37, 211, 102, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.edge-btn--call {
  background: linear-gradient(135deg, #00aeef 0%, #1c2b6b 100%);
}

.edge-btn--call:hover {
  background: linear-gradient(135deg, #00bfff 0%, #25398a 100%);
  box-shadow:
    -8px 8px 24px rgba(0, 174, 239, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Staggered slide out delays */
.edge-btn:nth-child(1) {
  transition-delay: 0s;
}
.edge-btn:nth-child(2) {
  transition-delay: 0.04s;
}

/* Desktop Expanded state transitions on hover */
@media (min-width: 761px) {
  .edge-btn:hover,
  .edge-buttons-container:hover .edge-btn,
  .edge-buttons-container.expanded .edge-btn {
    transform: translateX(0);
  }

  .edge-btn:hover span,
  .edge-buttons-container:hover .edge-btn span,
  .edge-buttons-container.expanded .edge-btn span {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.15s;
  }

  /* Trigger sliding shine animation */
  .edge-btn:hover::after,
  .edge-buttons-container:hover .edge-btn::after,
  .edge-buttons-container.expanded .edge-btn::after {
    left: 150%;
    transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .edge-btn--wa:hover::before,
  .edge-buttons-container:hover .edge-btn--wa::before,
  .edge-buttons-container.expanded .edge-btn--wa::before {
    opacity: 0;
  }
}

/* Hover rotation and zoom on the glassy icon circle */
.edge-btn:hover svg {
  transform: scale(1.18) rotate(-10deg);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.edge-btn--wa::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 30px;
  width: 8px;
  height: 8px;
  background-color: #ff3b30;
  border-radius: 50%;
  border: 1.5px solid #fff;
  z-index: 10;
  box-shadow: 0 0 6px rgba(255, 59, 48, 0.6);
  animation: pulsePing 2s infinite;
  transition: opacity 0.3s;
}

@keyframes pulsePing {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 5px rgba(255, 59, 48, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

/* Responsive Overrides - Do not expand on mobile view */
@media (max-width: 760px) {
  .edge-buttons-container {
    gap: 10px;
  }
  .edge-btn {
    padding: 6px 6px 6px 6px;
    transform: translateX(calc(100% - 48px)) !important;
    gap: 0;
    border-radius: 30px 0 0 30px;
  }
  .edge-btn svg {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
  .edge-btn span {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .edge-btn--wa::before {
    top: 4px;
    left: 30px;
    width: 6px;
    height: 6px;
    opacity: 1 !important;
  }
  .edge-buttons-container:hover .edge-btn,
  .edge-buttons-container.expanded .edge-btn,
  .edge-btn:hover,
  .edge-btn:active,
  .edge-btn:focus {
    transform: translateX(calc(100% - 48px)) !important;
  }
  .edge-buttons-container:hover .edge-btn--wa::before,
  .edge-buttons-container.expanded .edge-btn--wa::before {
    opacity: 1 !important;
  }
}

/* page hero (inner pages) */
.page-hero {
  background: var(--grad-hero);
  padding: 54px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--grad-brand);
}
.page-hero .crumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.page-hero h1 {
  margin: 0;
}
.page-hero p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 640px;
}

/* ------------------------- Responsive ------------------------------ */
@media (max-width: 980px) {
  .hero .container {
    text-align: center;
    padding-top: 0 !important;
    padding-bottom: 10px !important;
  }
  .hero__deck-container {
    height: 320px;
    max-width: 100%;
    margin: 4px auto 0;
  }
  .hero__deck-card {
    width: 48%;
    min-width: 240px;
    height: 270px;
  }
  .hero__deck-card.state-center,
  .hero__deck-card.state-0 {
    transform: translate(-50%, -50%) scale(1.08);
  }
  .hero__deck-card.state-left {
    transform: translate(-125%, -50%) scale(0.84);
    opacity: 0.82;
  }
  .hero__deck-card.state-right,
  .hero__deck-card.state-1 {
    transform: translate(25%, -50%) scale(0.84);
    opacity: 0.82;
  }
  .hero__actions-wrapper {
    width: 100%;
    margin-top: 8px;
  }
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  /* Mobile hero banner spanning full visible screen height */
  .hero--slider-banner,
  .hero-slider {
    min-height: calc(100svh - var(--header-h)) !important;
    height: calc(100svh - var(--header-h)) !important;
  }

  .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: 68% center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 20px 16px 64px !important;
  }

  .hero-slide.active {
    display: flex !important;
  }

  .hero-slide__overlay {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.30) 0%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 255, 255, 0.30) 100%
    ) !important;
    z-index: 1 !important;
  }

  .hero-slide .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .hero-slide__content {
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 0 12px !important;
    background: transparent !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-slide__tagline {
    font-size: 0.84rem !important;
    letter-spacing: 1.4px !important;
    color: #1d4ed8 !important;
    background: transparent !important;
    padding: 0 10px !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 800 !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .hero-slide__title {
    font-size: 1.88rem !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em !important;
    color: #0a0f1d !important;
    text-align: center !important;
    font-weight: 800 !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-slide__desc {
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0.1px !important;
    color: #0f172a !important;
    text-align: center !important;
    max-width: 440px !important;
    font-weight: 600 !important;
    min-height: auto !important;
  }

  .hero-slide__actions {
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 0 !important;
  }

  .hero-slide__actions .btn {
    width: auto !important;
    max-width: 100% !important;
    justify-content: center !important;
    padding: 8px 14px !important;
    font-size: 0.80rem !important;
    letter-spacing: 0.1px !important;
    border-radius: 20px !important;
  }

  .hero-slide__actions .btn svg {
    width: 15px !important;
    height: 15px !important;
  }

  .hero-slide__actions .btn--outline {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #0f172a !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }

  /* Hide the 3 text chips (badges) on mobile view */
  .hero-slide__badges {
    display: none !important;
  }

  .hero-scroll-down {
    bottom: 44px !important;
    width: 44px !important;
    height: 44px !important;
  }

  .chevron {
    width: 38px !important;
    height: 4.5px !important;
  }

  .hero-slider__dots {
    top: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .hero-slider__vertical-label {
    display: none !important;
  }

  /* Move floating contact buttons down on mobile view */
  .edge-buttons-container {
    top: auto !important;
    bottom: 75px !important;
    transform: none !important;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    padding: 18px 22px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform 0.28s;
    align-items: stretch;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav a.navlink {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav a.navlink::after {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .header-phone {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .brand__txt {
    font-size: 0.95rem;
    white-space: nowrap;
  }
  .brand img {
    height: 40px;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 54px 0;
  }
  .cta-band {
    padding: 34px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .footer-brand,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 460px) {
  .grid-3,
  .grid-4,
  .card-grid.grid-4,
  .card-grid.grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .stat-row {
    gap: 24px;
  }
}

/* =====================================================================
   PHASE 2 — Motion, marquee & responsive polish
   ===================================================================== */

/* ------------------------- Keyframes ------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes marquee-l {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes marquee-r {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes float-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes blob-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(24px, -22px) scale(1.1);
  }
}
@keyframes grad-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
@keyframes shine {
  to {
    left: 130%;
  }
}

/* ---------------------- Scroll-reveal ------------------------------
   The hiding is gated on .js, which an inline <script> in <head> puts on
   <html> before first paint. If main.js never loads, the class is still
   there but nothing reveals it — so the ONLY safe default is "not hidden".
   Hence: no .js class -> nothing is hidden -> the page reads normally.
   This fails OPEN. Previously a failed main.js left every section below the
   hero stuck at opacity:0 permanently. */
.reveal {
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: opacity, transform;
}
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
}
.js-reveal .reveal--left {
  transform: translateX(-32px);
}
.js-reveal .reveal--right {
  transform: translateX(32px);
}
.js-reveal .reveal--zoom {
  transform: scale(0.94);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* staggered groups: JS sets --i per child */
.reveal-group > * {
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: calc(var(--i, 0) * 75ms);
  will-change: opacity, transform;
}
.js-reveal .reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
}
.reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

/* --------------------- Header shrink-on-scroll --------------------- */
.site-header {
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    height 0.25s ease;
}
.brand img {
  transition: height 0.25s ease;
}
.site-header.scrolled {
  height: 60px;
}
.site-header.scrolled .brand img {
  height: 38px;
}

/* -------------------------- Hero (static ambient shapes) ----------- */
/* Ambient gradient shapes are intentionally still — no perpetual drift. */
.hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(47, 111, 237, 0.09),
    transparent 68%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* On-load hero entrance. Deliberately CSS-only, NOT .reveal/.reveal-group:
   the hero is above the fold, so it must never wait on IntersectionObserver
   (that caused a flash before JS booted, and a blank hero if JS failed). */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes heroInMedia {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero__content-wrapper {
  animation: heroIn 0.8s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

/* --------------------------- Marquee ------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
}
.marquee + .marquee {
  margin-top: 22px;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-soft), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-soft), transparent);
}
.section:not(.section--soft) .marquee::before {
  background: linear-gradient(90deg, #fff, transparent);
}
.section:not(.section--soft) .marquee::after {
  background: linear-gradient(270deg, #fff, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: marquee-l 46s linear infinite;
}
.marquee--rtl .marquee__track {
  animation-name: marquee-r;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  flex: none;
  width: 168px;
  height: 92px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.marquee__item img {
  max-height: 54px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s;
}
.marquee__item:hover img {
  transform: scale(1.06);
}

/* ------------------- CTA band (static rich gradient) --------------- */
.cta-band {
  background: linear-gradient(120deg, var(--magenta) 0%, var(--purple) 100%);
}

/* ---------------- Products filter transition ----------------------- */
.pcard {
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    opacity 0.35s ease;
}
.pcard.pop {
  animation: fadeInUp 0.45s both;
}

/* ------------------ Matrix: sticky product column ------------------ */
table.matrix tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 var(--line);
}
table.matrix thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 4;
}
.matrix-hint {
  display: none;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
}

/* --------------------- Mobile menu backdrop ------------------------ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 45, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s;
  z-index: 99;
}
.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}
body.menu-open {
  overflow: hidden;
}
/* compact mobile icon buttons (hidden on desktop) */
.wa-mini {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--wa);
  place-items: center;
  margin-right: 6px;
}
.wa-mini svg {
  width: 22px;
  height: 22px;
  color: #fff;
}
.call-mini {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-softer);
  place-items: center;
  margin-right: 6px;
}
.call-mini svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
}

/* =====================================================================
   Expanded responsive ladder
   ===================================================================== */
@media (min-width: 1440px) {
  :root {
    --maxw: 1240px;
  }
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero .container {
    gap: 30px;
  }
  .hero__media > img {
    width: min(420px, 86%);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: calc(var(--swoosh-h) + var(--s5)); /* swoosh-h + 16px */
  }
  .hero .container {
    padding-top: 0;
    padding-bottom: 0;
  }
  /* press marks crowd the content at phone widths */
  .press-marks {
    display: none;
  }
  .wa-mini,
  .call-mini {
    display: none;
  }
  .nav.open a.navlink {
    animation: fadeInUp 0.32s both;
  }
  .nav.open a.navlink:nth-child(1) {
    animation-delay: 0.05s;
  }
  .nav.open a.navlink:nth-child(2) {
    animation-delay: 0.1s;
  }
  .nav.open a.navlink:nth-child(3) {
    animation-delay: 0.15s;
  }
  .nav.open a.navlink:nth-child(4) {
    animation-delay: 0.2s;
  }
  .matrix-hint {
    display: block;
  }
  /* testimonials -> horizontal snap slider */
  .tgrid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -16px;
    padding: 4px 16px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .tgrid::-webkit-scrollbar {
    display: none;
  }
  .tgrid .tquote {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }
  .tquote--featured {
    display: flex;
    flex-direction: column;
    padding: var(--s5) var(--s5) var(--s5) calc(var(--s5) + 8px);
  }
  .tquote--featured blockquote {
    font-size: 1.05rem;
    margin-bottom: var(--s4);
  }
  .tquote--featured .who {
    margin-top: auto;
  }
  .tquote--featured::after {
    font-size: 6rem;
    right: 16px;
    bottom: -30px;
  }
  .marquee__item {
    width: 140px;
    height: 80px;
  }
}

@media (max-width: 560px) {
  /* one column: at 2-up the cards drop to ~114px of usable width and shred
     headings like "Branding & Promotions" */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
  }

  .stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--grad-brand);
    border: none;
    border-radius: 0;
    padding: 20px 24px;
    margin-top: var(--s5);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    box-shadow: 0 10px 25px rgba(214, 0, 110, 0.2);
  }
  .stat {
    text-align: center;
  }
  .stat b {
    font-size: 1.8rem !important;
    color: #fff !important;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  }
  .stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.3;
    display: block;
    margin-top: 6px;
  }
  .why__cta {
    display: flex;
    justify-content: center;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--s5);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: calc(100vh - var(--header-h)) !important;
    min-height: calc(100dvh - var(--header-h)) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .hero .container {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 10px !important;
    padding-bottom: 15px !important;
  }
  h1 {
    font-size: clamp(1.5rem, 7vw, 1.85rem);
  }
  h2 {
    font-size: clamp(1.3rem, 6vw, 1.6rem);
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.88rem;
  }
  .hero__actions {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero__actions .btn {
    width: 88%;
    max-width: 285px;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
  .cta-band {
    padding: 24px 16px;
  }
  .hero__deck-container {
    height: 350px;
    max-width: 100%;
    margin-top: 5px;
  }
  .hero__deck-card {
    width: 86%;
    min-width: 230px;
    max-width: 350px;
    height: 290px;
    border-radius: 20px;
  }
  .hero__deck-card img {
    border-radius: 20px;
  }
  .card-caption {
    padding: 16px 14px 12px;
    font-size: 0.96rem;
  }
  .hero__deck-card.state-center,
  .hero__deck-card.state-0 {
    transform: translate(-50%, -50%) scale(1.10);
    z-index: 10;
    opacity: 1;
  }
  .hero__deck-card.state-left {
    transform: translate(-114%, -50%) scale(0.75);
    z-index: 4;
    opacity: 0.6;
  }
  .hero__deck-card.state-right,
  .hero__deck-card.state-1 {
    transform: translate(14%, -50%) scale(0.75);
    z-index: 4;
    opacity: 0.6;
  }
  .hero__deck-card.state-idle,
  .hero__deck-card.state-2 {
    transform: translate(100%, -50%) scale(0.65);
    opacity: 0;
  }
  .hero__actions-wrapper {
    justify-content: center;
    margin-top: 10px;
  }
  .grid-3,
  .grid-4,
  .card-grid.grid-4,
  .card-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid {
    gap: 16px 12px;
  }
  .tcard__cap {
    font-size: 0.82rem;
    padding: 10px 4px 2px;
  }
  .tcard__btn {
    font-size: 0.72rem;
    padding: 6px 12px;
    bottom: 44px;
    right: 4px;
  }
  .container {
    padding: 0 16px;
  }
  .brand__txt small {
    display: none;
  }
  .stat-row {
    padding: 16px 12px;
  }
}

/* Responsive adjustments for 6-petal flower */
@media (max-width: 768px) {
  .section--compact {
    padding: 10px 0 0 !important;
  }
  .section--compact .section-head {
    margin-bottom: 8px !important;
  }
  .flower-wrapper {
    height: 350px;
    max-width: 370px;
    margin: 0 auto;
    transform: none !important;
  }
  .flower-hub {
    width: 105px;
    height: 105px;
    top: 50%;
    left: 50%;
    margin-top: -52.5px;
    margin-left: -52.5px;
    transform: none !important;
  }
  .flower-hub img {
    height: 28px;
  }
  .flower-hub span {
    font-size: 0.62rem;
  }
  .flower-petal {
    width: 145px;
    height: 145px;
    margin-top: -72.5px;
    margin-left: -72.5px;
    padding: 14px;
  }
  .flower-petal h3 {
    font-size: 0.8rem;
    line-height: 1.15;
  }
  .petal-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
  }
  .petal-icon svg {
    width: 16px;
    height: 16px;
  }
  .flower-petal[data-petal="1"] { transform: translate(0, -125px) rotate(45deg); }
  .flower-petal[data-petal="2"] { transform: translate(108px, -62px) rotate(105deg); }
  .flower-petal[data-petal="3"] { transform: translate(108px, 62px) rotate(165deg); }
  .flower-petal[data-petal="4"] { transform: translate(0, 125px) rotate(225deg); }
  .flower-petal[data-petal="5"] { transform: translate(-108px, 62px) rotate(285deg); }
  .flower-petal[data-petal="6"] { transform: translate(-108px, -62px) rotate(345deg); }

  /* Disable hover scale & description expansion on mobile so tap opens WhatsApp directly */
  .flower-petal:hover {
    box-shadow: 0 10px 30px rgba(12, 18, 45, 0.08) !important;
    z-index: 5 !important;
  }
  .flower-petal[data-petal="1"]:hover { transform: translate(0, -125px) rotate(45deg) !important; }
  .flower-petal[data-petal="2"]:hover { transform: translate(108px, -62px) rotate(105deg) !important; }
  .flower-petal[data-petal="3"]:hover { transform: translate(108px, 62px) rotate(165deg) !important; }
  .flower-petal[data-petal="4"]:hover { transform: translate(0, 125px) rotate(225deg) !important; }
  .flower-petal[data-petal="5"]:hover { transform: translate(-108px, 62px) rotate(285deg) !important; }
  .flower-petal[data-petal="6"]:hover { transform: translate(-108px, -62px) rotate(345deg) !important; }
  .flower-petal .petal-desc,
  .flower-petal .petal-go {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .flower-wrapper {
    height: 340px !important;
    max-width: 370px;
    margin: 0 auto !important;
  }
  .flower-hub {
    width: 108px;
    height: 108px;
    margin-top: -54px;
    margin-left: -54px;
  }
  .flower-hub img {
    height: 28px;
  }
  .flower-hub span {
    font-size: 0.62rem;
  }
  .flower-petal {
    width: 148px;
    height: 148px;
    margin-top: -74px;
    margin-left: -74px;
    padding: 13px;
  }
  .flower-petal h3 {
    font-size: 0.82rem;
    line-height: 1.15;
  }
  .petal-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
  }
  .petal-icon svg {
    width: 16px;
    height: 16px;
  }
  .flower-petal[data-petal="1"] { transform: translate(0, -126px) rotate(45deg); }
  .flower-petal[data-petal="2"] { transform: translate(109px, -63px) rotate(105deg); }
  .flower-petal[data-petal="3"] { transform: translate(109px, 63px) rotate(165deg); }
  .flower-petal[data-petal="4"] { transform: translate(0, 126px) rotate(225deg); }
  .flower-petal[data-petal="5"] { transform: translate(-109px, 63px) rotate(285deg); }
  .flower-petal[data-petal="6"] { transform: translate(-109px, -63px) rotate(345deg); }

  .flower-petal[data-petal="1"]:hover { transform: translate(0, -126px) rotate(45deg) !important; }
  .flower-petal[data-petal="2"]:hover { transform: translate(109px, -63px) rotate(105deg) !important; }
  .flower-petal[data-petal="3"]:hover { transform: translate(109px, 63px) rotate(165deg) !important; }
  .flower-petal[data-petal="4"]:hover { transform: translate(0, 126px) rotate(225deg) !important; }
  .flower-petal[data-petal="5"]:hover { transform: translate(-109px, 63px) rotate(285deg) !important; }
  .flower-petal[data-petal="6"]:hover { transform: translate(-109px, -63px) rotate(345deg) !important; }
}

@media (max-width: 360px) {
  .flower-wrapper {
    height: 370px;
    max-width: 300px;
  }
  .flower-hub {
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
  }
  .flower-hub img {
    height: 20px;
  }
  .flower-hub span {
    font-size: 0.50rem;
  }
  .flower-petal {
    width: 110px;
    height: 110px;
    margin-top: -55px;
    margin-left: -55px;
    padding: 10px;
  }
  .flower-petal h3 {
    font-size: 0.66rem;
    line-height: 1.1;
  }
  .petal-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
  }
  .petal-icon svg {
    width: 12px;
    height: 12px;
  }
  .flower-petal[data-petal="1"] { transform: translate(0, -92px) rotate(45deg); }
  .flower-petal[data-petal="2"] { transform: translate(80px, -46px) rotate(105deg); }
  .flower-petal[data-petal="3"] { transform: translate(80px, 46px) rotate(165deg); }
  .flower-petal[data-petal="4"] { transform: translate(0, 92px) rotate(225deg); }
  .flower-petal[data-petal="5"] { transform: translate(-80px, 46px) rotate(285deg); }
  .flower-petal[data-petal="6"] { transform: translate(-80px, -46px) rotate(345deg); }
}

/* ======================== Showcase Gallery (4-in-a-row) ======================= */
.section--gallery {
  padding: 40px 0 60px;
}

.showcase-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.showcase-gallery__item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(12, 18, 45, 0.08);
  border: 1.5px solid rgba(27, 42, 107, 0.08);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.showcase-gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(12, 18, 45, 0.16);
}

.showcase-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.showcase-gallery__item:hover img {
  transform: scale(1.06);
}

.showcase-gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 18, 45, 0.75) 0%, rgba(12, 18, 45, 0) 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px 18px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.showcase-gallery__overlay span {
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
  .showcase-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .section--gallery {
    padding: 30px 0 45px;
  }
  .showcase-gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* =====================================================================
   Reduced motion — accessibility override (keep last)
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee__track {
    animation: none !important;
  }
  /* kill the staggered delays too — duration:0 alone would still hold the
     hero invisible for the length of each animation-delay */
  .hero__text > *,
  .hero__media {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}