.mhg-spanesi-campaign-page {
  --spc-black: #0d1210;
  --spc-green: #287b27;
  --spc-green-dark: #174f1c;
  --spc-green-label: #1f6825;
  --spc-green-bright: #7fdf6d;
  --spc-yellow: #ffcf24;
  --spc-grey: #eef1ed;
  --spc-line: #cfd6d0;
  --spc-ink: #17201c;
}

.mhg-spanesi-campaign-page .mhg-page {
  background: #ffffff;
}

.spc-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-bottom: 8px solid var(--spc-yellow);
  background: var(--spc-black);
  color: #ffffff;
}

.spc-hero::after {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 34%;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--spc-green-dark);
  content: "";
}

.spc-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 690px;
  display: flex;
  align-items: center;
}

.spc-hero__copy {
  position: relative;
  z-index: 2;
  width: 58%;
  max-width: 680px;
  padding: 60px 0 66px;
}

.spc-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
}

.spc-lockup span {
  border-left: 4px solid var(--spc-green);
  padding-left: 10px;
}

.spc-lockup b {
  color: var(--spc-yellow);
  font-size: 1.15rem;
}

.spc-lockup img {
  width: 116px;
  height: 35px;
  object-fit: contain;
}

.spc-eyebrow,
.spc-section__head > p,
.spc-workflow__intro > p,
.spc-specs header > p,
.spc-quote__top > div > p {
  margin: 0 0 12px;
  color: var(--spc-green-label);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spc-hero .spc-eyebrow,
.spc-workflow__intro > p,
.spc-quote__top > div > p {
  color: var(--spc-green-bright);
}

.spc-badge {
  display: inline-block;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--spc-yellow);
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.spc-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #ffffff;
  font-size: 3.25rem;
  line-height: 1.02;
  letter-spacing: 0;
}

html[lang="th"] .spc-hero h1 {
  font-size: 3.15rem;
  line-height: 1.08;
}

.spc-hero h1 > span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.32em;
  line-height: 0.96;
}

.spc-hero__lead {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.7;
}

.spc-price {
  width: fit-content;
  margin-top: 28px;
  border-left: 5px solid var(--spc-yellow);
  padding-left: 18px;
}

.spc-price span,
.spc-price small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 750;
}

.spc-price strong {
  display: block;
  margin: 3px 0 4px;
  color: var(--spc-yellow);
  font-size: 2.35rem;
  line-height: 1.05;
}

.spc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.spc-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 20px;
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.spc-button:focus-visible {
  outline: 3px solid var(--spc-yellow);
  outline-offset: 3px;
}

.spc-button--primary {
  background: var(--spc-green);
  color: #ffffff;
}

.spc-button--primary:hover,
.spc-button--primary:focus-visible {
  background: #339532;
}

.spc-button--secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: #ffffff;
}

.spc-button--secondary:hover,
.spc-button--secondary:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.spc-article {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.spc-hero__machine {
  position: absolute;
  z-index: 1;
  right: -16px;
  bottom: 0;
  width: 49%;
  max-width: 640px;
  height: 650px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 26px 20px rgba(0, 0, 0, 0.35));
}

.spc-section {
  padding: 92px 0;
}

.spc-section__head {
  max-width: 820px;
  margin-bottom: 44px;
}

.spc-section__head h2,
.spc-workflow__intro h2,
.spc-specs h2,
.spc-quote h2 {
  margin: 0;
  color: var(--spc-ink);
  font-size: 2.85rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.spc-section__head > span,
.spc-workflow__intro > span,
.spc-specs header > span,
.spc-quote__top > div > span {
  display: block;
  margin-top: 18px;
  color: #5f6b65;
  font-size: 1.02rem;
  line-height: 1.72;
}

.spc-package {
  background: var(--spc-grey);
}

.spc-package__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.spc-package__item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--spc-line);
  border-top: 4px solid var(--spc-yellow);
  border-radius: 6px;
  background: #ffffff;
}

.spc-package__item--machine {
  grid-row: span 2;
}

.spc-package__media {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--spc-line);
  background: #f8faf8;
}

.spc-package__item--machine .spc-package__media {
  height: 484px;
  background: var(--spc-black);
}

.spc-package__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
}

.spc-package__item > div:last-child {
  padding: 24px;
}

.spc-package__item > div:last-child > span,
.spc-details figcaption span {
  color: var(--spc-green);
  font-size: 0.75rem;
  font-weight: 900;
}

.spc-benefits article > span {
  color: var(--spc-green-bright);
}

.spc-package__item h3,
.spc-benefits h3,
.spc-contact-grid h3 {
  margin: 8px 0 0;
  color: var(--spc-ink);
  font-size: 1.35rem;
  line-height: 1.15;
}

.spc-package__item p,
.spc-benefits p {
  margin: 10px 0 0;
  color: #68746e;
  line-height: 1.6;
}

.spc-package__item small {
  display: block;
  margin-top: 16px;
  border-top: 1px solid var(--spc-line);
  padding-top: 12px;
  color: #47544d;
  font-weight: 800;
}

.spc-workflow {
  background: var(--spc-black);
  color: #ffffff;
}

.spc-workflow__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 68px;
  align-items: start;
}

.spc-workflow__intro h2,
.spc-workflow__intro > span {
  color: #ffffff;
}

.spc-workflow__intro > span {
  color: rgba(255, 255, 255, 0.68);
}

.spc-workflow__intro img {
  width: 100%;
  max-height: 430px;
  margin-top: 36px;
  object-fit: contain;
}

.spc-benefits {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.spc-benefits article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 24px 0;
}

.spc-benefits h3 {
  margin: 0;
  color: #ffffff;
}

.spc-benefits p {
  color: rgba(255, 255, 255, 0.64);
}

.spc-details {
  background: #ffffff;
}

.spc-details__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.spc-details figure {
  min-width: 0;
  margin: 0;
  border-bottom: 3px solid var(--spc-green);
  background: #f5f7f4;
}

.spc-details figure > div {
  height: 240px;
  overflow: hidden;
  background: #ffffff;
}

.spc-details img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.spc-details figcaption {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--spc-ink);
  font-weight: 850;
}

.spc-specs {
  background: var(--spc-grey);
}

.spc-specs__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: start;
}

.spc-specs header {
  position: sticky;
  top: 110px;
}

.spc-specs dl {
  margin: 0;
  border-top: 4px solid var(--spc-yellow);
  background: #ffffff;
}

.spc-specs dl > div {
  min-height: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.75fr);
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--spc-line);
  padding: 14px 20px;
}

.spc-specs dt {
  color: #66716b;
}

.spc-specs dd {
  margin: 0;
  color: var(--spc-ink);
  font-weight: 900;
}

.spc-process {
  background: #ffffff;
}

.spc-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--spc-line);
  border-bottom: 1px solid var(--spc-line);
  padding: 0;
  list-style: none;
}

.spc-process__steps li {
  min-width: 0;
  padding: 28px 24px 30px;
  border-right: 1px solid var(--spc-line);
}

.spc-process__steps li:last-child {
  border-right: 0;
}

.spc-process__steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--spc-green-label);
  font-size: 0.82rem;
  font-weight: 900;
}

.spc-process__steps h3 {
  margin: 0;
  color: var(--spc-ink);
  font-size: 1.22rem;
  line-height: 1.22;
}

.spc-process__steps p {
  margin: 12px 0 0;
  color: #5f6b65;
  line-height: 1.65;
}

.spc-quote {
  background: var(--spc-green-dark);
  color: #ffffff;
}

.spc-quote__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.spc-quote h2,
.spc-quote__top > div > span {
  color: #ffffff;
}

.spc-quote__top > div > span {
  color: rgba(255, 255, 255, 0.72);
}

.spc-quote__price {
  border-left: 4px solid var(--spc-yellow);
  padding-left: 18px;
}

.spc-quote__price span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
}

.spc-quote__price strong {
  display: block;
  margin-top: 4px;
  color: var(--spc-yellow);
  font-size: 2.1rem;
}

.spc-conditions {
  margin: 34px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 5px solid var(--spc-yellow);
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.spc-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.22);
}

.spc-contact-grid article {
  min-width: 0;
  padding: 26px;
  background: #ffffff;
}

.spc-contact-grid article > span {
  color: var(--spc-green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spc-contact-grid a {
  display: inline-block;
  margin-top: 18px;
  color: var(--spc-green-dark);
  font-weight: 900;
  text-underline-offset: 4px;
}

.spc-contact-grid small {
  display: block;
  margin-top: 6px;
  color: #6a756f;
  overflow-wrap: anywhere;
}

.spc-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.spc-sources strong {
  color: #ffffff;
}

.spc-sources a {
  color: var(--spc-yellow);
  text-underline-offset: 4px;
}

.spc-final {
  border-top: 8px solid var(--spc-yellow);
  padding: 58px 0;
  background: var(--spc-black);
  color: #ffffff;
}

.spc-final .mhg-shell {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  align-items: center;
}

.spc-final p {
  max-width: 720px;
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.12;
}

.spc-final span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
}

.spc-final .spc-actions {
  flex: 0 0 auto;
  margin: 0;
}

.spc-mobile-cta {
  display: none;
}

@media (max-width: 1060px) {
  .spc-hero h1,
  html[lang="th"] .spc-hero h1 {
    font-size: 3.25rem;
  }

  .spc-hero__copy {
    width: 62%;
  }

  .spc-hero__machine {
    right: -70px;
    width: 52%;
  }

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

  .spc-package__item--machine {
    grid-row: span 3;
  }

  .spc-package__item--machine .spc-package__media {
    height: 670px;
  }

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

@media (max-width: 760px) {
  .mhg-spanesi-campaign-page {
    padding-bottom: 66px;
  }

  .spc-hero,
  .spc-hero__inner {
    min-height: 660px;
  }

  .spc-hero::after {
    inset: auto 0 0;
    width: 100%;
    height: 32%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .spc-hero__inner {
    display: block;
  }

  .spc-hero__copy {
    width: 100%;
    padding: 34px 0 174px;
  }

  .spc-lockup {
    margin-bottom: 14px;
  }

  .spc-eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 0.68rem;
  }

  .spc-badge {
    margin-bottom: 12px;
  }

  .spc-hero h1,
  html[lang="th"] .spc-hero h1 {
    font-size: 2.08rem;
    line-height: 1.08;
  }

  .spc-hero h1 > span {
    margin-bottom: 7px;
    font-size: 1.28em;
  }

  .spc-hero__lead {
    display: none;
  }

  .spc-price {
    margin-top: 18px;
  }

  .spc-price strong {
    font-size: 1.85rem;
  }

  .spc-actions {
    margin-top: 18px;
  }

  .spc-hero__copy .spc-actions {
    display: none;
  }

  .spc-article {
    margin-top: 12px;
  }

  .spc-hero__machine {
    right: 50%;
    bottom: 0;
    width: 250px;
    height: 195px;
    transform: translateX(50%);
    object-position: center bottom;
  }

  .spc-section {
    padding: 64px 0;
  }

  .spc-section__head {
    margin-bottom: 30px;
  }

  .spc-section__head h2,
  .spc-workflow__intro h2,
  .spc-specs h2,
  .spc-quote h2 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .spc-package__grid,
  .spc-workflow__layout,
  .spc-specs__layout,
  .spc-quote__top,
  .spc-contact-grid,
  .spc-process__steps {
    grid-template-columns: 1fr;
  }

  .spc-process__steps li {
    border-right: 0;
    border-bottom: 1px solid var(--spc-line);
  }

  .spc-process__steps li:last-child {
    border-bottom: 0;
  }

  .spc-package__item--machine {
    grid-row: auto;
  }

  .spc-package__item--machine .spc-package__media,
  .spc-package__media {
    height: 280px;
  }

  .spc-workflow__layout,
  .spc-specs__layout {
    gap: 42px;
  }

  .spc-workflow__intro img {
    max-height: 320px;
  }

  .spc-details__grid {
    grid-template-columns: 1fr;
  }

  .spc-details figure > div {
    height: 260px;
  }

  .spc-specs header {
    position: static;
  }

  .spc-specs dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .spc-quote__top {
    gap: 24px;
  }

  .spc-final .mhg-shell {
    display: block;
  }

  .spc-final p {
    font-size: 1.65rem;
  }

  .spc-final .spc-actions {
    display: none;
  }

  .spc-mobile-cta {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 66px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--spc-black);
  }

  .spc-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--spc-green);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
  }

  .spc-mobile-cta a:last-child {
    background: var(--spc-black);
  }

  .spc-mobile-cta a:focus-visible {
    outline: 3px solid var(--spc-yellow);
    outline-offset: -4px;
  }
}

@media (max-width: 410px) {
  .spc-hero,
  .spc-hero__inner {
    min-height: 660px;
  }

  .spc-lockup img {
    width: 98px;
  }

  .spc-hero h1,
  html[lang="th"] .spc-hero h1 {
    font-size: 2.08rem;
  }

  .spc-price strong {
    font-size: 1.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spc-button {
    transition: none;
  }

  .spc-button:hover,
  .spc-button:focus-visible {
    transform: none;
  }
}
