/* Spot extra layouts: hover cards, vision, certificates, process galleries, alternating rows. */

.spot-hover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.spot-hover-card {
  position: relative;
  isolation: isolate;
  min-height: 110px;
  padding: 10px 26px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--spot-card-bg, linear-gradient(160deg, #1b3d34 0%, #0c241e 100%));
  color: var(--spot-card-color, #fff);
  box-shadow: 0 18px 40px rgba(12, 36, 28, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
a.spot-hover-card,
a.value-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.spot-value-section .spot-hover-card {
  min-height: 250px;
}
.spot-value-section .spot-hover-card:before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  top: 0;
  left: 0;
  z-index: 1;
}
.spot-hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(12, 36, 28, 0.2);
}
.spot-hover-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform: scale(1.12);
  transition: opacity 0.5s ease, transform 0.7s ease;
}
.spot-hover-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 42, 33, 0.08), rgba(7, 42, 33, 0.78));
  opacity: 0;
  transition: opacity 0.45s ease;
}
.spot-hover-card:hover .spot-hover-card__bg {
  opacity: 0;
  transform: scale(1);
}
.spot-hover-card:hover:after {
  opacity: 1;
}
.spot-hover-card__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  min-height: 100%;
}
.spot-hover-card__label {
  width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(169, 237, 105, 0.55);
  border-radius: 999px;
  color: var(--spot-card-title, var(--spot-card-color, #c8f56a));
  font: 800 10px/1 Manrope, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spot-hover-card h3 {
  margin: 0;
  font: 800 clamp(22px, 2vw, 30px)/1.15 Manrope, sans-serif;
  letter-spacing: -0.03em;
  color: var(--spot-card-title, var(--spot-card-color, inherit));
}
.spot-hover-card p,
.spot-hover-card span {
  margin: 0;
  color: var(--spot-card-color, rgba(255, 255, 255, 0.78));
  font-size: 14px;
  line-height: 1.65;
}
.spot-hover-card strong {
  font: 800 clamp(34px, 4vw, 48px)/1 Manrope, sans-serif;
  color: var(--spot-card-title, var(--spot-card-color, #b8f10e));
  letter-spacing: -0.04em;
}

.spot-about-company__facts.spot-hover-grid {
  background: none;
  border: 0;
  overflow: visible;
  margin: 28px 0;
}
.spot-about-company__facts.spot-hover-grid > .spot-hover-card {
  background: var(--spot-card-bg, linear-gradient(160deg, #1b3d34 0%, #0c241e 100%));
}

.spot-vision {
  padding: 90px 0 110px;
  background: #073e36;
  color: #fff;
}
.spot-vision__panel {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.spot-vision .eyebrow {
  color: #c8f56a;
  justify-content: center;
}
.spot-vision .eyebrow:before {
  background: #c8f56a;
}
.spot-vision h2 {
  margin: 0 0 22px;
  font: 800 clamp(32px, 4.4vw, 58px)/1.08 Manrope, sans-serif;
  letter-spacing: -0.04em;
}
.spot-vision__text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.75;
}
.spot-vision__text p {
  margin: 0 0 14px;
}

.spot-certificates__pair {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.spot-cert-shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: #f3f1ed;
  min-height: 360px;
  box-shadow: 0 18px 45px rgba(16, 55, 36, 0.1);
}
.spot-cert-shot img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #fff;
  transition: transform 0.5s ease;
}
.spot-cert-shot:hover img {
  transform: scale(1.03);
}
.spot-cert-shot span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 42, 33, 0.86);
  color: #fff;
  font: 800 11px/1 Manrope, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.spot-modal-open .elementor-lightbox,
body.spot-modal-open .dialog-type-lightbox {
  display: none !important;
}

.spot-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(7, 22, 18, 0.88);
  cursor: zoom-out;
}
.spot-lightbox-overlay[hidden] {
  display: none;
}
.spot-lightbox-overlay img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.spot-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #073e36;
  font: 800 22px/1 Manrope, sans-serif;
  cursor: pointer;
}

.spot-alt-list {
  display: grid;
  gap: 28px;
}
.spot-alt-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 18px;
  border-radius: 32px;
  background: var(--spot-card-bg, #fff);
  color: var(--spot-card-color, inherit);
  border: 1px solid rgba(23, 52, 45, 0.1);
  box-shadow: 0 18px 45px rgba(16, 55, 36, 0.07);
}
.spot-alt-card.is-reversed {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.spot-alt-card.is-reversed figure {
  order: 2;
}
.spot-alt-card.is-reversed .spot-alt-card__copy {
  order: 1;
}
.spot-alt-card figure {
  margin: 0;
  height: 340px;
  overflow: hidden;
  border-radius: 24px;
  background: #dce5dd;
}
.spot-alt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot-alt-card__copy {
  padding: 18px 22px 18px 8px;
}
.spot-alt-card h3 {
  margin: 10px 0 14px;
  font: 800 clamp(26px, 3vw, 40px)/1.1 Manrope, sans-serif;
  letter-spacing: -0.035em;
  color: var(--spot-card-title, var(--spot-card-color, inherit));
}
.spot-alt-card p {
  margin: 0;
  color: var(--spot-card-color, #5e6b65);
  font-size: 16px;
  line-height: 1.7;
}

.spot-journey__gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  min-height: 400px;
  max-height: 400px;
  padding: 30px;
}
.spot-journey__gallery.has-1 {
  grid-template-columns: 1fr;
}
.spot-journey__gallery.has-3 {
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
}
.spot-journey__gallery.has-3 .spot-journey__shot:first-child {
  grid-row: 1 / span 2;
}
.spot-journey__gallery.is-compact {
  min-height: 220px;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.spot-journey__shot {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #dce5dd;
  min-height: 0;
}
.spot-journey__shot img {
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.spot-journey__shot:hover img {
  transform: scale(1.04);
}
.spot-journey__nested {
  display: grid;
  gap: 18px;
  margin: -8px 0 12px;
}
.spot-journey__step {
  display: grid;
  grid-template-columns: 1fr;
}
.spot-journey__copy {
  order: 1;
}
.spot-journey__gallery {
  order: 2;
}
.spot-journey__nested-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  background: var(--spot-card-bg, #fff);
  color: var(--spot-card-color, inherit);
  border: 1px solid rgba(23, 52, 45, 0.1);
}
.spot-journey__nested-card > div:first-child {
  order: 1;
}
.spot-journey__nested-card .spot-journey__gallery {
  order: 2;
}
.spot-journey__nested-card h4 {
  margin: 0 0 10px;
  font: 800 clamp(20px, 2.2vw, 28px)/1.15 Manrope, sans-serif;
  color: var(--spot-card-title, var(--spot-card-color, inherit));
}
.spot-journey__nested-card p {
  margin: 0;
  color: var(--spot-card-color, #5e6b65);
  line-height: 1.65;
}
.spot-journey__closing {
  margin: 4px 8px 28px;
  color: #5e6b65;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .spot-hover-grid,
  .spot-certificates__pair,
  .spot-alt-card,
  .spot-alt-card.is-reversed,
  .spot-journey__nested-card {
    grid-template-columns: 1fr;
  }
  .spot-alt-card.is-reversed figure,
  .spot-alt-card.is-reversed .spot-alt-card__copy {
    order: initial;
  }
  .spot-journey__gallery,
  .spot-journey__gallery.has-3 {
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
  }
  .spot-cert-shot img,
  .spot-alt-card figure {
    height: 100%!important;
  }
}
@media (max-width: 680px) {
  .spot-hover-grid,
  .spot-certificates__pair,
  .spot-journey__gallery,
  .spot-journey__gallery.has-3 {
    grid-template-columns: 1fr;
  }
}

.reference-card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1050px) {
  .reference-card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .reference-card-grid--4 .reference-card:last-child {
    grid-column: auto;
  }
}
@media (max-width: 700px) {
  .reference-card-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* Elementor per-card colors: CSS vars override hardcoded theme backgrounds. */
.story-light { background: var(--spot-card-bg, #f5f3f0); }
.story-green { background: var(--spot-card-bg, #a9ef18); }
.story-card { color: var(--spot-card-color, inherit); }
.story-card h3,
.story-card .story-label { color: var(--spot-card-title, var(--spot-card-color, inherit)); }

.showcase-cream { background: var(--spot-card-bg, #f3f1ef); }
.showcase-lime { background: var(--spot-card-bg, #b8f10e); }
.showcase-card { color: var(--spot-card-color, #183a33); }
.showcase-card h3,
.showcase-card .showcase-label { color: var(--spot-card-title, var(--spot-card-color, inherit)); }

.ref-white { background: var(--spot-card-bg, #fff); color: var(--spot-card-color, #173a32); }
.ref-lime { background: var(--spot-card-bg, #a9ed69); color: var(--spot-card-color, #173a32); }
.ref-dark { background: var(--spot-card-bg, #073e36); color: var(--spot-card-color, #fff); }
.reference-card h3 { color: var(--spot-card-title, var(--spot-card-color, inherit)); }
.reference-card p { color: var(--spot-card-color, #69736e); }
.ref-dark p { color: var(--spot-card-color, #b9cec6); }

.approach-light { background: var(--spot-card-bg, #fff); }
.approach-green { background: var(--spot-card-bg, var(--green-soft, #a8ee70)); }
.approach-dark { background: var(--spot-card-bg, #073e36); color: var(--spot-card-color, #fff); }
.approach-card { color: var(--spot-card-color, inherit); }
.approach-card h3 { color: var(--spot-card-title, var(--spot-card-color, inherit)); }
.approach-card p { color: var(--spot-card-color, var(--muted, #6e7772)); }
.approach-dark p { color: var(--spot-card-color, #b9ccc5); }
.approach-card .approach-icon { color: var(--spot-card-title, var(--spot-card-color, var(--green, #10aa52))); }
.approach-dark .approach-icon { color: var(--spot-card-title, var(--spot-card-color, #a9ef18)); }

.value-card { background: var(--spot-card-bg, #fff); color: var(--spot-card-color, inherit); }
.value-card.dark-card { background: var(--spot-card-bg, #696b6a); color: var(--spot-card-color, #fff); }
.value-card h3 { color: var(--spot-card-title, var(--spot-card-color, inherit)); }
.value-card p { color: var(--spot-card-color, var(--muted, #6e7772)); }
.value-card.dark-card p { color: var(--spot-card-color, #aebbb5); }
.value-card .label { color: var(--spot-card-title, var(--spot-card-color, var(--green, #10aa52))); }

.spot-featured-card { background: var(--spot-card-bg, var(--paper, #f5f4ef)); color: var(--spot-card-color, inherit); }
.spot-featured-card h3 { color: var(--spot-card-title, var(--spot-card-color, inherit)); }
.spot-featured-card p { color: var(--spot-card-color, inherit); }

.product-card { background: var(--spot-card-bg, #fff); color: var(--spot-card-color, inherit); }
.product-card h3,
.product-copy h3 { color: var(--spot-card-title, var(--spot-card-color, inherit)); }
.product-copy p { color: var(--spot-card-color, var(--muted, #6e7772)); }

.article { background: var(--spot-card-bg, #fff); color: var(--spot-card-color, inherit); }
.article-copy h3,
.article-copy h3 a { color: var(--spot-card-title, var(--spot-card-color, inherit)); }
.article-copy p { color: var(--spot-card-color, var(--muted, #6e7772)); }

.spot-fin-services__panel { background: var(--spot-section-bg, linear-gradient(165deg, var(--spot-fin-panel, #1a3d31) 0%, #0f2a22 100%)); }

.spot-fin-svc-card { background: var(--spot-card-bg, var(--spot-fin-lime, #b8f10e)); color: var(--spot-card-color, var(--spot-fin-ink, #17342d)); }
.spot-fin-svc-card:hover { background: var(--spot-card-bg, var(--spot-fin-lime-deep, #a9ed69)); }
.spot-fin-svc-card__foot strong { color: var(--spot-card-title, var(--spot-card-color, inherit)); }

.spot-fin-why__card { background: var(--spot-card-bg, rgba(244, 241, 234, 0.94)); color: var(--spot-card-color, var(--spot-fin-ink, #17342d)); }
.spot-fin-why__title { color: var(--spot-card-title, var(--spot-card-color, inherit)); }
.spot-fin-why__text { color: var(--spot-card-color, inherit); }

.spot-journey__step { background: var(--spot-card-bg, #fff); color: var(--spot-card-color, inherit); }
.spot-journey__copy h3 { color: var(--spot-card-title, var(--spot-card-color, inherit)); }
.spot-journey__text,
.spot-journey__text p { color: var(--spot-card-color, #65716b); }

.spot-sustainability__pillar { background: var(--spot-card-bg, #fff); color: var(--spot-card-color, inherit); }
.spot-sustainability__copy h3 { color: var(--spot-card-title, var(--spot-card-color, inherit)); }
.spot-sustainability__copy > div { color: var(--spot-card-color, #5f6d66); }

.spot-cert-shot { background: var(--spot-card-bg, #fff); color: var(--spot-card-color, inherit); }
.spot-cert-shot span { color: var(--spot-card-title, var(--spot-card-color, #fff)); }

.spot-about-company__facts > div { background: var(--spot-card-bg, #fff); color: var(--spot-card-color, inherit); }

/* Highlighted title words wrapped in *asterisks*. */
.spot-title-accent {
  color: var(--spot-title-accent, var(--spot-green, #10aa52));
}

.reference-card .reference-card-bottom a {
  background: var(--spot-btn-bg, #fff);
  color: var(--spot-btn-color, inherit);
}
.ref-lime .reference-card-bottom a {
  background: var(--spot-btn-bg, #a9ed69);
  color: var(--spot-btn-color, inherit);
}
.ref-dark .reference-card-bottom a {
  background: var(--spot-btn-bg, #073e36);
  color: var(--spot-btn-color, #fff);
}
.reference-card .reference-card-bottom a span {
  color: var(--spot-btn-color, var(--ink, #17342d));
}
.ref-dark .reference-card-bottom a span {
  color: var(--spot-btn-color, #fff);
}
