/* =========================================================
PYRO HOME
Product → Partner → Client
========================================================= */

.pyro-home {
  --pyro-navy: #0d1b3e;
  --pyro-navy-2: #162957;

  --pyro-orange: #e8560a;
  --pyro-orange-2: #ff6b1a;
  --pyro-orange-soft: #fff1e9;

  --pyro-white: #ffffff;
  --pyro-bg: #f6f7fa;
  --pyro-line: #e6e9ef;

  --pyro-text: #182033;
  --pyro-muted: #657086;

  font-family: 'Sarabun', sans-serif;
  color: var(--pyro-text);
  background: #fff;
  line-height: 1.6;
  overflow: hidden;
}


/* =========================================================
GLOBAL
========================================================= */

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

.pyro-home a {
  text-decoration: none;
}

.pyro-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


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

.pyro-hero {
  position: relative;
  min-height: 650px;

  display: flex;
  align-items: center;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 107, 26, .16),
      transparent 30%
    ),
    linear-gradient(
      120deg,
      rgba(9, 21, 47, .93) 0%,
      rgba(13, 27, 62, .88) 55%,
      rgba(23, 43, 88, .90) 100%
    ),
    url('https://pyro.co.th/wp-content/uploads/2026/09/safety-extinguisher-instrument-utility-faucet-scaled.jpg')
    center / cover no-repeat;

  color: #fff;
  overflow: hidden;
}

.pyro-hero::before {
  content: '';

  position: absolute;

  width: 650px;
  height: 650px;

  right: -250px;
  bottom: -350px;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, .08);

  box-shadow:
    0 0 0 70px rgba(255, 255, 255, .025),
    0 0 0 140px rgba(255, 255, 255, .018);
}

.pyro-hero::after {
  content: '';

  position: absolute;

  width: 450px;
  height: 450px;

  left: -300px;
  top: -250px;

  border-radius: 50%;

  background: rgba(255, 107, 26, .06);
}

.pyro-hero-inner {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.15fr .85fr;

  gap: 70px;

  align-items: center;

  padding: 90px 0;
}

.pyro-hero-content {
  max-width: 700px;
}

.pyro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 7px 14px;

  border: 1px solid rgba(255, 255, 255, .15);

  background: rgba(255, 255, 255, .07);

  border-radius: 30px;

  font-family: 'Kanit', sans-serif;
  font-size: 13px;

  color: rgba(255, 255, 255, .8);

  margin-bottom: 24px;
}

.pyro-eyebrow::before {
  content: '';

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--pyro-orange-2);

  box-shadow:
    0 0 12px rgba(255, 107, 26, .8);
}

.pyro-hero h1 {
  margin: 0 0 24px;

  font-family: 'Kanit', sans-serif;

  font-size: clamp(38px, 5vw, 64px);

  font-weight: 800;

  line-height: 1.15;

  letter-spacing: -1px;

  color: #fff;
}

.pyro-hero h1 span {
  color: var(--pyro-orange-2);
}

.pyro-hero-description {
  max-width: 650px;

  margin: 0 0 32px;

  font-size: 18px;

  line-height: 1.8;

  color: rgba(255, 255, 255, .72);
}

.pyro-hero-description strong {
  color: #fff;
}


/* =========================================================
HERO BUTTONS
========================================================= */

.pyro-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pyro-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0 26px;

  border-radius: 8px;

  font-family: 'Kanit', sans-serif;

  font-size: 15px;

  font-weight: 600;

  cursor: pointer;

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease;
}

.pyro-btn-primary {
  background:
    linear-gradient(
      135deg,
      var(--pyro-orange),
      var(--pyro-orange-2)
    );

  color: #fff;

  box-shadow:
    0 10px 30px rgba(232, 86, 10, .28);
}

.pyro-btn-primary:hover {
  transform: translateY(-3px);

  color: #fff;

  box-shadow:
    0 16px 38px rgba(232, 86, 10, .42);
}

.pyro-btn-primary:active {
  transform: translateY(-1px);

  box-shadow:
    0 8px 20px rgba(232, 86, 10, .28);
}

.pyro-btn-outline {
  color: #fff;

  border: 1px solid rgba(255, 255, 255, .25);

  background: rgba(255, 255, 255, .04);
}

.pyro-btn-outline:hover {
  transform: translateY(-3px);

  color: #fff;

  background: rgba(255, 255, 255, .12);

  border-color: rgba(255, 255, 255, .4);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, .18);
}

.pyro-btn-outline:active {
  transform: translateY(-1px);
}


/* =========================================================
HERO VISUAL
========================================================= */

.pyro-hero-visual {
  position: relative;

  min-height: 390px;

  display: flex;

  align-items: center;
  justify-content: center;
}

.pyro-orbit {
  position: absolute;

  width: 330px;
  height: 330px;

  border: 1px solid rgba(255, 255, 255, .09);

  border-radius: 50%;
}

.pyro-orbit::before {
  content: '';

  position: absolute;

  inset: 35px;

  border: 1px solid rgba(255, 255, 255, .06);

  border-radius: 50%;
}

.pyro-core-card {
  position: relative;

  z-index: 3;

  width: 230px;
  height: 230px;

  border-radius: 24px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .12),
      rgba(255, 255, 255, .04)
    );

  border: 1px solid rgba(255, 255, 255, .14);

  backdrop-filter: blur(12px);

  box-shadow:
    0 25px 70px rgba(0, 0, 0, .3);
}

.pyro-core-logo {
  font-family: 'Kanit', sans-serif;

  font-size: 43px;

  font-weight: 900;

  color: #fff;

  letter-spacing: -2px;
}

.pyro-core-logo span {
  color: var(--pyro-orange-2);
}

.pyro-core-label {
  margin-top: 5px;

  font-size: 13px;

  color: rgba(255, 255, 255, .65);
}

.pyro-float {
  position: absolute;

  z-index: 4;

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 11px 15px;

  border-radius: 12px;

  background: rgba(255, 255, 255, .09);

  border: 1px solid rgba(255, 255, 255, .13);

  backdrop-filter: blur(10px);

  color: #fff;

  font-family: 'Kanit', sans-serif;

  font-size: 13px;

  box-shadow:
    0 15px 35px rgba(0, 0, 0, .2);
}

.pyro-float-icon {
  width: 32px;
  height: 32px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: rgba(232, 86, 10, .15);

  color: var(--pyro-orange-2);
}

.pyro-float-1 {
  top: 35px;
  right: 10px;
}

.pyro-float-2 {
  bottom: 45px;
  left: 5px;
}

.pyro-float-3 {
  bottom: 10px;
  right: 30px;
}


/* =========================================================
TRUST BAR
========================================================= */

.pyro-trust {
  border-bottom: 1px solid var(--pyro-line);

  background: #fff;
}

.pyro-trust-inner {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
}

.pyro-trust-item {
  padding: 22px 20px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 13px;

  min-width: 0;

  border-right: 1px solid var(--pyro-line);
}

.pyro-trust-item:last-child {
  border-right: 0;
}

.pyro-trust-icon {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: var(--pyro-orange-soft);

  color: var(--pyro-orange);

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.pyro-trust-item:hover .pyro-trust-icon {
  background: var(--pyro-orange);

  color: #fff;

  transform: translateY(-2px);
}

.pyro-trust-icon svg {
  width: 23px;
  height: 23px;

  display: block;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.pyro-trust-text {
  min-width: 0;
}

.pyro-trust-text strong {
  display: block;

  margin: 0;

  font-family: 'Kanit', sans-serif;

  font-size: 14px;

  font-weight: 600;

  line-height: 1.35;

  color: var(--pyro-navy);
}

.pyro-trust-text span {
  display: block;

  margin-top: 2px;

  font-size: 12px;

  line-height: 1.4;

  color: var(--pyro-muted);
}


/* =========================================================
SECTION COMMON
========================================================= */

.pyro-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.pyro-section-gray {
  background: var(--pyro-bg);
}

.pyro-section-heading {
  max-width: 700px;

  margin: 0 auto 48px;

  text-align: center;
}

.pyro-section-label {
  margin-bottom: 10px;

  font-family: 'Kanit', sans-serif;

  font-size: 13px;

  font-weight: 600;

  color: var(--pyro-orange);

  text-transform: uppercase;

  letter-spacing: 1.5px;
}

.pyro-section-heading h2 {
  margin: 0 0 12px;

  font-family: 'Kanit', sans-serif;

  font-size: clamp(28px, 3vw, 42px);

  font-weight: 800;

  line-height: 1.25;

  color: var(--pyro-navy);
}

.pyro-section-heading h2 span {
  color: var(--pyro-orange);
}

.pyro-section-heading p {
  margin: 0;

  font-size: 16px;

  line-height: 1.8;

  color: var(--pyro-muted);
}


/* =========================================================
PRODUCTS
CONTINUOUS AUTO CAROUSEL
========================================================= */

.pyro-products-carousel {
  position: relative;

  width: 100%;

  margin-top: 42px;

  overflow: hidden;
}

.pyro-products-viewport {
  position: relative;

  width: 100%;

  overflow: hidden;

  isolation: isolate;

  padding: 5px 0 22px;
}

.pyro-product-track {
  display: flex;

  align-items: stretch;

  gap: 20px;

  width: max-content;

  will-change: transform;

  transform: translate3d(0, 0, 0);

  user-select: none;

  touch-action: pan-y;
}


/* =========================================================
PRODUCT CARD
3 CARDS DESKTOP
========================================================= */

.pyro-product-card {
  position: relative;

  flex: 0 0 calc(
    (min(1180px, calc(100vw - 48px)) - 40px) / 3
  );

  width: calc(
    (min(1180px, calc(100vw - 48px)) - 40px) / 3
  );

  min-height: 320px;

  padding: 26px 24px;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  background: #fff;

  border: 1px solid var(--pyro-line);

  border-radius: 16px;

  overflow: hidden;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.pyro-product-card:hover {
  transform: translateY(-5px);

  border-color: rgba(232, 86, 10, .28);

  box-shadow:
    0 20px 55px rgba(13, 27, 62, .13);
}


/* =========================================================
PRODUCT IMAGE
========================================================= */

.pyro-product-card::before {
  content: '';

  position: absolute;

  inset: 0;

  z-index: 0;

  background:
    var(--card-img, none)
    center / cover no-repeat;

  transform: scale(1.01);

  transition:
    transform .5s ease;
}

.pyro-product-card:hover::before {
  transform: scale(1.06);
}


/* =========================================================
PRODUCT OVERLAY
========================================================= */

.pyro-product-card::after {
  content: '';

  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      to top,
      rgba(13, 27, 62, .94) 0%,
      rgba(13, 27, 62, .68) 43%,
      rgba(13, 27, 62, .08) 100%
    );
}


/* =========================================================
PRODUCT CHILDREN
========================================================= */

.pyro-product-card > * {
  position: relative;

  z-index: 2;
}


/* =========================================================
PRODUCT NUMBER
========================================================= */

.pyro-product-number {
  position: absolute;

  top: 20px;

  right: 22px;

  font-family: 'Kanit', sans-serif;

  font-size: 12px;

  font-weight: 600;

  color: rgba(255, 255, 255, .58);
}


/* =========================================================
PRODUCT CATEGORY
========================================================= */

.pyro-product-category {
  margin-bottom: 8px;

  font-family: 'Kanit', sans-serif;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 1.2px;

  color: var(--pyro-orange-2);

  text-transform: uppercase;
}


/* =========================================================
PRODUCT ICON
========================================================= */

.pyro-product-icon {
  width: 52px;

  height: 52px;

  margin-bottom: 15px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 13px;

  background:
    rgba(255, 107, 26, .15);

  border:
    1px solid rgba(255, 255, 255, .10);

  font-size: 25px;
}


/* =========================================================
PRODUCT CONTENT
========================================================= */

.pyro-product-content {
  position: relative;

  z-index: 3;
}

.pyro-product-card h3 {
  margin: 0 0 9px;

  font-family: 'Kanit', sans-serif;

  font-size: 21px;

  font-weight: 700;

  line-height: 1.3;

  color: #fff;
}

.pyro-product-card p {
  min-height: 47px;

  margin: 0 0 18px;

  font-size: 13px;

  line-height: 1.7;

  color: rgba(255, 255, 255, .74);
}


/* =========================================================
PRODUCT LINK
========================================================= */

.pyro-product-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  font-family: 'Kanit', sans-serif;

  font-size: 14px;

  font-weight: 600;

  color: var(--pyro-orange-2);

  transition:
    gap .2s ease,
    color .2s ease;
}

.pyro-product-link span {
  font-size: 17px;

  line-height: 1;
}

.pyro-product-link:hover {
  gap: 13px;

  color: #fff;
}


/* =========================================================
CAROUSEL EDGE FADE
========================================================= */

.pyro-products-viewport::before,
.pyro-products-viewport::after {
  content: '';

  position: absolute;

  top: 0;
  bottom: 0;

  width: 45px;

  z-index: 5;

  pointer-events: none;
}

.pyro-products-viewport::before {
  left: 0;

  background:
    linear-gradient(
      to right,
      #fff,
      rgba(255, 255, 255, 0)
    );
}

.pyro-products-viewport::after {
  right: 0;

  background:
    linear-gradient(
      to left,
      #fff,
      rgba(255, 255, 255, 0)
    );
}


/* =========================================================
CAROUSEL CLONES
========================================================= */

.pyro-product-card--clone {
  flex-shrink: 0;
}


/* =========================================================
SOLUTIONS
========================================================= */

.pyro-solution-layout {
  display: grid;

  grid-template-columns: .8fr 1.2fr;

  gap: 70px;

  align-items: center;
}

.pyro-solution-copy h2 {
  margin: 0 0 18px;

  font-family: 'Kanit', sans-serif;

  font-size: clamp(30px, 3vw, 43px);

  line-height: 1.25;

  color: var(--pyro-navy);
}

.pyro-solution-copy h2 span {
  color: var(--pyro-orange);
}

.pyro-solution-copy p {
  margin: 0 0 25px;

  font-size: 16px;

  line-height: 1.8;

  color: var(--pyro-muted);
}

.pyro-solution-note {
  padding: 18px 20px;

  border-left: 3px solid var(--pyro-orange);

  background: var(--pyro-orange-soft);

  border-radius: 0 10px 10px 0;

  font-size: 14px;

  color: var(--pyro-text);
}

.pyro-solution-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 16px;
}

.pyro-solution-card {
  min-height: 220px;

  padding: 25px;

  background: #fff;

  border: 1px solid var(--pyro-line);

  border-radius: 16px;

  position: relative;

  overflow: hidden;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.pyro-solution-card:hover {
  transform: translateY(-4px);

  border-color: rgba(232, 86, 10, .2);

  box-shadow:
    0 15px 40px rgba(13, 27, 62, .08);
}

.pyro-solution-card::after {
  content: '';

  position: absolute;

  width: 110px;
  height: 110px;

  right: -45px;
  bottom: -45px;

  border-radius: 50%;

  background: var(--pyro-orange-soft);
}


/* =========================================================
SOLUTION PARTNER CARD
========================================================= */

.pyro-solution-card.partner {
  background:
    linear-gradient(
      135deg,
      rgba(13, 27, 62, .88),
      rgba(22, 41, 87, .82)
    ),
    var(--partner-img, none)
    center / cover no-repeat,
    var(--pyro-navy);

  border-color: var(--pyro-navy);
}

.pyro-solution-card.partner:hover {
  border-color: rgba(255, 107, 26, .35);

  box-shadow:
    0 18px 45px rgba(13, 27, 62, .18);
}

.pyro-solution-card.partner::after {
  background: rgba(255, 255, 255, .05);
}

.pyro-solution-icon {
  width: 48px;
  height: 48px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: var(--pyro-orange-soft);

  font-size: 23px;

  margin-bottom: 22px;
}

.pyro-solution-card.partner .pyro-solution-icon {
  background: rgba(255, 107, 26, .15);
}

.pyro-solution-card h3 {
  margin: 0 0 7px;

  position: relative;

  z-index: 2;

  font-family: 'Kanit', sans-serif;

  font-size: 19px;

  color: var(--pyro-navy);
}

.pyro-solution-card.partner h3 {
  color: #fff;
}

.pyro-solution-card p {
  position: relative;

  z-index: 2;

  margin: 0;

  font-size: 13px;

  line-height: 1.7;

  color: var(--pyro-muted);
}

.pyro-solution-card.partner p {
  color: rgba(255, 255, 255, .62);
}

.pyro-partner-label {
  display: inline-block;

  margin-bottom: 10px;

  padding: 4px 9px;

  border-radius: 20px;

  background: rgba(255, 107, 26, .13);

  color: var(--pyro-orange-2);

  font-family: 'Kanit', sans-serif;

  font-size: 10px;

  font-weight: 600;
}


/* =========================================================
SOLUTION PHOTO VARIANT
========================================================= */

.pyro-solution-card--photo {
  padding: 0;

  min-height: 220px;

  background: #fff;

  border-color: var(--pyro-line);

  overflow: hidden;
}

.pyro-solution-card--photo::after {
  content: none;
}

.pyro-solution-card--photo .pyro-solution-photo {
  width: 100%;

  height: 130px;

  background:
    var(--partner-img, var(--pyro-orange-soft))
    center / cover no-repeat;

  transition: transform .35s ease;
}

.pyro-solution-card--photo:hover .pyro-solution-photo {
  transform: scale(1.04);
}

.pyro-solution-card--photo .pyro-solution-body {
  padding: 18px 20px 22px;
}

.pyro-solution-card--photo .pyro-solution-body h3 {
  margin: 0 0 7px;

  color: var(--pyro-navy);
}

.pyro-solution-card--photo .pyro-solution-body p {
  margin: 0;

  color: var(--pyro-muted);
}


/* =========================================================
CUSTOMER → CLIENT
========================================================= */

.pyro-client-section {
  position: relative;

  background:
    linear-gradient(
      135deg,
      #09152f,
      var(--pyro-navy)
    );

  color: #fff;

  overflow: hidden;
}

.pyro-client-section::before {
  content: '';

  position: absolute;

  width: 500px;
  height: 500px;

  right: -200px;
  top: -200px;

  border-radius: 50%;

  background: rgba(232, 86, 10, .09);
}

.pyro-client-heading {
  position: relative;

  z-index: 2;

  max-width: 700px;

  margin: 0 auto 55px;

  text-align: center;
}

.pyro-client-heading .pyro-section-label {
  color: var(--pyro-orange-2);
}

.pyro-client-heading h2 {
  margin: 0 0 14px;

  font-family: 'Kanit', sans-serif;

  font-size: clamp(30px, 4vw, 48px);

  line-height: 1.25;

  color: #fff;
}

.pyro-client-heading h2 span {
  color: var(--pyro-orange-2);
}

.pyro-client-heading p {
  margin: 0;

  font-size: 16px;

  color: rgba(255, 255, 255, .65);
}


/* =========================================================
CLIENT FLOW
========================================================= */

.pyro-client-flow {
  position: relative;

  z-index: 2;
}

.pyro-client-track {
  position: relative;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

  padding-bottom: 30px;
}

.pyro-track-line {
  position: absolute;

  left: 6%;
  right: 6%;
  top: 22px;

  height: 2px;

  background:
    linear-gradient(
      to right,
      rgba(255, 107, 26, 0) 0%,
      rgba(255, 107, 26, .55) 8%,
      rgba(255, 107, 26, .55) 92%,
      rgba(255, 107, 26, 0) 100%
    );

  z-index: 1;
}

.pyro-track-node {
  position: relative;

  z-index: 2;

  justify-self: center;

  width: 44px;
  height: 44px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--pyro-navy);

  border: 2px solid var(--pyro-orange);

  color: #fff;

  font-family: 'Kanit', sans-serif;

  font-weight: 700;

  font-size: 14px;

  box-shadow:
    0 0 0 6px rgba(255, 107, 26, .08),
    0 10px 25px rgba(0, 0, 0, .3);

  animation:
    pyro-node-pulse 2.6s ease-in-out infinite;
}

.pyro-track-node::after {
  content: '';

  position: absolute;

  top: 100%;
  left: 50%;

  transform: translateX(-50%);

  width: 2px;
  height: 30px;

  background:
    linear-gradient(
      to bottom,
      rgba(255, 107, 26, .6),
      rgba(255, 107, 26, 0)
    );
}

@keyframes pyro-node-pulse {

  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(255, 107, 26, .08),
      0 10px 25px rgba(0, 0, 0, .3);
  }

  50% {
    box-shadow:
      0 0 0 10px rgba(255, 107, 26, .16),
      0 10px 25px rgba(0, 0, 0, .3);
  }
}


/* =========================================================
MOBILE STEP
========================================================= */

.pyro-mobile-step {
  display: none;

  margin-bottom: 8px;

  font-family: 'Kanit', sans-serif;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: .5px;

  color: var(--pyro-orange-2);
}


/* =========================================================
CLIENT CARDS
========================================================= */

.pyro-client-cards {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.pyro-client-step {
  position: relative;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, .09);

  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .055),
      rgba(255, 255, 255, .02)
    );

  text-align: left;

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.pyro-client-step:hover {
  transform: translateY(-6px);

  border-color: rgba(255, 107, 26, .3);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, .25);
}

.pyro-client-image {
  position: relative;

  height: 168px;

  overflow: hidden;
}

.pyro-client-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transform: scale(1.02);

  transition: transform .5s ease;
}

.pyro-client-step:hover .pyro-client-image img {
  transform: scale(1.08);
}

.pyro-client-image::after {
  content: '';

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(13, 27, 62, 0) 45%,
      rgba(13, 27, 62, .85) 100%
    );
}

.pyro-client-body {
  padding: 20px 22px 26px;
}

.pyro-client-step h3 {
  margin: 0 0 8px;

  font-family: 'Kanit', sans-serif;

  font-size: 19px;

  font-weight: 700;

  color: #fff;
}

.pyro-client-step p {
  margin: 0;

  font-size: 13px;

  line-height: 1.75;

  color: rgba(255, 255, 255, .55);
}


/* =========================================================
WHY PYRO
========================================================= */

.pyro-why-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;
}

.pyro-why-card {
  padding: 28px 24px;

  border: 1px solid var(--pyro-line);

  border-radius: 14px;

  background: #fff;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.pyro-why-card:hover {
  transform: translateY(-4px);

  border-color: rgba(232, 86, 10, .2);

  box-shadow:
    0 15px 40px rgba(13, 27, 62, .07);
}

.pyro-why-number {
  font-family: 'Kanit', sans-serif;

  font-size: 12px;

  color: var(--pyro-orange);

  margin-bottom: 20px;
}

.pyro-why-card h3 {
  margin: 0 0 9px;

  font-family: 'Kanit', sans-serif;

  font-size: 18px;

  color: var(--pyro-navy);
}

.pyro-why-card p {
  margin: 0;

  font-size: 13px;

  line-height: 1.7;

  color: var(--pyro-muted);
}


/* =========================================================
INSIGHTS
========================================================= */

.pyro-insight-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.pyro-insight-card {
  overflow: hidden;

  background: #fff;

  border: 1px solid var(--pyro-line);

  border-radius: 16px;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.pyro-insight-card:hover {
  transform: translateY(-4px);

  border-color: rgba(232, 86, 10, .2);

  box-shadow:
    0 15px 40px rgba(13, 27, 62, .08);
}

.pyro-insight-image {
  position: relative;

  display: block;

  width: 100%;
  height: 180px;

  overflow: hidden;

  background:
    var(--insight-img, none)
    center / cover no-repeat,
    linear-gradient(
      135deg,
      #e9ecf3,
      #d9deeb
    );

  font-size: 55px;
}

.pyro-insight-image--photo {
  font-size: 0;
}

.pyro-insight-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  transition:
    transform .4s ease;
}

.pyro-insight-card:hover
.pyro-insight-image img {
  transform: scale(1.05);
}

.pyro-insight-body {
  padding: 22px;
}

.pyro-insight-tag {
  display: inline-block;

  margin-bottom: 10px;

  font-size: 11px;

  font-weight: 600;

  color: var(--pyro-orange);

  background: var(--pyro-orange-soft);

  padding: 4px 10px;

  border-radius: 20px;
}

.pyro-insight-card h3 {
  margin: 0 0 15px;

  font-family: 'Kanit', sans-serif;

  font-size: 17px;

  line-height: 1.5;

  color: var(--pyro-navy);
}

.pyro-insight-card h3 a {
  color: var(--pyro-navy);

  text-decoration: none;

  transition:
    color .2s ease;
}

.pyro-insight-card h3 a:hover {
  color: var(--pyro-orange);
}

.pyro-insight-link {
  display: inline-flex;

  align-items: center;

  gap: 5px;

  font-family: 'Kanit', sans-serif;

  font-size: 13px;

  font-weight: 600;

  color: var(--pyro-orange);

  transition:
    color .2s ease,
    gap .2s ease;
}

.pyro-insight-link:hover {
  gap: 9px;

  color: var(--pyro-navy);
}

.pyro-insight-image-placeholder {
  width: 100%;
  height: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      var(--pyro-navy),
      var(--pyro-navy-2)
    );

  color: #fff;

  font-family: 'Kanit', sans-serif;

  font-size: 32px;

  font-weight: 800;

  letter-spacing: -1px;
}

.pyro-insight-empty {
  grid-column: 1 / -1;

  padding: 50px 20px;

  text-align: center;

  color: var(--pyro-muted);
}

.pyro-insight-empty p {
  margin: 0;
}


/* =========================================================
FINAL CTA
========================================================= */

.pyro-final-cta {
  padding: 80px 0;

  background: var(--pyro-bg);
}

.pyro-final-box {
  position: relative;

  overflow: hidden;

  padding: 60px;

  border-radius: 22px;

  background:
    linear-gradient(
      120deg,
      rgba(13, 27, 62, .92),
      rgba(22, 41, 87, .92)
    ),
    var(--cta-img, none)
    center / cover no-repeat,
    linear-gradient(
      120deg,
      var(--pyro-navy),
      var(--pyro-navy-2)
    );

  text-align: center;

  color: #fff;
}

.pyro-final-box::before {
  content: '';

  position: absolute;

  width: 300px;
  height: 300px;

  right: -100px;
  top: -180px;

  border-radius: 50%;

  background: rgba(232, 86, 10, .15);
}

.pyro-final-box h2 {
  position: relative;

  z-index: 2;

  margin: 0 0 12px;

  font-family: 'Kanit', sans-serif;

  font-size: clamp(28px, 3vw, 40px);

  color: #fff;
}

.pyro-final-box p {
  position: relative;

  z-index: 2;

  max-width: 650px;

  margin: 0 auto 25px;

  color: rgba(255, 255, 255, .65);
}

.pyro-final-box .pyro-btn {
  position: relative;

  z-index: 2;
}


/* =========================================================
RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

  .pyro-trust-item {
    padding: 20px 12px;
    gap: 10px;
  }

  .pyro-trust-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .pyro-trust-icon svg {
    width: 21px;
    height: 21px;
  }

  .pyro-trust-text strong {
    font-size: 13px;
  }

  .pyro-trust-text span {
    font-size: 11px;
  }

  .pyro-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pyro-hero-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
  }

  .pyro-hero-buttons {
    justify-content: center;
  }

  .pyro-hero-visual {
    min-height: 330px;
  }

  .pyro-solution-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .pyro-solution-copy {
    text-align: center;
  }

  .pyro-solution-note {
    text-align: left;
  }

  .pyro-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pyro-client-track {
    display: none;
  }

  .pyro-client-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pyro-mobile-step {
    display: block;
  }


  /* =====================================================
     PRODUCT CAROUSEL TABLET
     2 CARDS
  ===================================================== */

  .pyro-products-carousel {
    margin-top: 35px;
  }

  .pyro-product-track {
    gap: 18px;
  }

  .pyro-product-card {
    flex: 0 0 calc(
      (min(1180px, calc(100vw - 48px)) - 18px) / 2
    );

    width: calc(
      (min(1180px, calc(100vw - 48px)) - 18px) / 2
    );

    min-height: 310px;
  }
}


/* =========================================================
RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {

  .pyro-container {
    width: min(100% - 32px, 1180px);
  }

  .pyro-hero {
    min-height: auto;
  }

  .pyro-hero-inner {
    padding: 65px 0 55px;
  }

  .pyro-hero h1 {
    font-size: 38px;
  }

  .pyro-hero-description {
    font-size: 15px;
  }

  .pyro-hero-buttons {
    flex-direction: column;
  }

  .pyro-btn {
    width: 100%;
  }

  .pyro-hero-visual {
    min-height: 290px;
  }

  .pyro-orbit {
    width: 260px;
    height: 260px;
  }

  .pyro-core-card {
    width: 180px;
    height: 180px;
  }

  .pyro-core-logo {
    font-size: 35px;
  }

  .pyro-float {
    transform: scale(.82);
  }

  .pyro-float-1 {
    right: -5px;
  }

  .pyro-float-2 {
    left: -15px;
  }

  .pyro-float-3 {
    right: 0;
  }

  .pyro-trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .pyro-trust-item {
    justify-content: flex-start;
    padding: 18px 14px;
  }

  .pyro-trust-item:nth-child(2) {
    border-right: 0;
  }

  .pyro-trust-item:nth-child(3),
  .pyro-trust-item:nth-child(4) {
    border-top: 1px solid var(--pyro-line);
  }

  .pyro-section {
    padding: 65px 0;
  }


  /* =====================================================
     PRODUCT CAROUSEL MOBILE
     1 CARD + PEEK
  ===================================================== */

  .pyro-products-carousel {
    width: 100%;
    margin-top: 30px;
    overflow: hidden;
  }

  .pyro-products-viewport {
    width: 100%;
    overflow: hidden;
    padding: 5px 0 18px;
    touch-action: pan-y;
  }

  .pyro-product-track {
    gap: 12px;
  }

  .pyro-product-card {
    flex: 0 0 calc((100vw - 32px) * .86);

    width: calc((100vw - 32px) * .86);

    min-height: 285px;

    padding: 24px 22px;

    border-radius: 14px;
  }

  .pyro-product-number {
    top: 18px;
    right: 18px;
  }

  .pyro-product-category {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .pyro-product-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 15px;

    border-radius: 11px;

    font-size: 23px;
  }

  .pyro-product-card h3 {
    font-size: 19px;
  }

  .pyro-product-card p {
    min-height: auto;

    font-size: 13px;

    line-height: 1.7;
  }

  .pyro-product-link {
    margin-top: 18px;
  }

  .pyro-products-viewport::before,
  .pyro-products-viewport::after {
    width: 22px;
  }


  /* =====================================================
     OTHER SECTIONS
  ===================================================== */

  .pyro-insight-grid {
    grid-template-columns: 1fr;
  }

  .pyro-solution-grid {
    grid-template-columns: 1fr;
  }

  .pyro-client-cards {
    grid-template-columns: 1fr;
  }

  .pyro-client-image {
    height: 150px;
  }

  .pyro-why-grid {
    grid-template-columns: 1fr;
  }

  .pyro-final-box {
    padding: 40px 22px;
  }

  .pyro-solution-card--photo .pyro-solution-photo {
    height: 145px;
  }

  .pyro-insight-image {
    height: 200px;
  }
}


/* =========================================================
RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .pyro-hero h1 {
    font-size: 32px;
  }

  .pyro-eyebrow {
    font-size: 11px;
  }

  .pyro-trust-item {
    padding: 16px 10px;
    gap: 9px;
  }

  .pyro-trust-icon {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
    border-radius: 9px;
  }

  .pyro-trust-icon svg {
    width: 19px;
    height: 19px;
  }

  .pyro-trust-text strong {
    font-size: 11px;
  }

  .pyro-trust-text span {
    font-size: 9px;
  }

  .pyro-float {
    display: none;
  }


  /* =====================================================
     PRODUCT CAROUSEL SMALL MOBILE
  ===================================================== */

  .pyro-product-card {
    flex: 0 0 calc((100vw - 32px) * .88);

    width: calc((100vw - 32px) * .88);

    min-height: 280px;
  }

  .pyro-insight-image {
    height: 190px;
  }

  .pyro-insight-body {
    padding: 20px;
  }

  .pyro-insight-card h3 {
    font-size: 16px;
  }
}


/* =========================================================
REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .pyro-track-node {
    animation: none;
  }

  .pyro-btn,
  .pyro-product-card,
  .pyro-solution-card,
  .pyro-solution-photo,
  .pyro-product-link,
  .pyro-trust-icon,
  .pyro-client-step,
  .pyro-client-image img,
  .pyro-insight-card,
  .pyro-insight-image img,
  .pyro-why-card {
    transition: none;
  }
}