/* -------------------- DESIGN VARIABLES -------------------- */
:root {
  --accent: #db545a;
  --accent-dark: #bd3f45;
  --text: #111111;
  --muted: #555555;
  --surface: #ffffff;
  --surface-soft: #f2f2f2;
  --surface-blue: #e5ebf1;
  --surface-dark: #333333;
  --border: #d8d8d8;
  --container: 1140px;
}

/* -------------------- BASE STYLES -------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow-container {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--surface-soft);
}

.section-heading {
  margin-bottom: 34px;
}

.centered-heading {
  text-align: center;
}

.centered-heading p {
  color: #4f4f4f;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hidden-field,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section-action {
  margin-top: 40px;
  text-align: center;
}

/* -------------------- SITE HEADER -------------------- */
.site-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
}

.header-content {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand img {
  width: 128px;
  height: 64px;
  object-fit: contain;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-navigation a {
  padding: 9px 0;
  color: #111111;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-navigation a:hover,
.site-navigation a[aria-current="page"] {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #111111;
}

/* -------------------- BUTTONS AND TEXT LINKS -------------------- */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 25px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

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

.button-primary:hover {
  background: var(--accent-dark);
}

.button-outline-light {
  color: #ffffff;
  border-color: #ffffff;
  background: transparent;
}

.button-outline-light:hover {
  color: #111111;
  background: #ffffff;
}

.button-dark {
  color: #ffffff;
  background: #000000;
}

.button-dark:hover {
  background: #242424;
}

.button-blue {
  color: #ffffff;
  background: #478ac9;
}

.button-square {
  border-radius: 5px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.text-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid #ef9fa2;
  color: #111111;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover {
  border-color: var(--accent);
}

/* -------------------- HERO SECTIONS -------------------- */
.hero {
  display: grid;
  color: #ffffff;
  background-position: center;
  background-size: cover;
}

.hero-home {
  min-height: 575px;
  place-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)), url("images/hero-home.webp");
}

.hero-inner {
  min-height: 510px;
  place-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), url("images/hero-dark.webp");
}

.hero-content {
  max-width: 900px;
  padding: 55px 0;
  text-align: center;
}

.hero-content h1 {
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  font-weight: 700;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 1.22rem;
  line-height: 1.55;
}

.projects-hero {
  min-height: 300px;
}

.projects-hero .hero-content {
  padding: 35px 0;
}

.projects-hero .hero-content h1 {
  margin-bottom: 18px;
}

.projects-hero .hero-text {
  margin-bottom: 0;
}

/* -------------------- HOME PRODUCT CAROUSEL -------------------- */
.home-carousel-section {
  padding: 58px 0 55px;
  background: var(--surface-soft);
}

.carousel-shell {
  position: relative;
}

.card-carousel {
  display: grid;
  grid-auto-columns: calc((100% - 20px) / 3);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.card-carousel::-webkit-scrollbar {
  display: none;
}

.image-card,
.project-card {
  min-width: 0;
  scroll-snap-align: start;
  background: transparent;
}

.image-card {
  padding: 30px;
}

.image-card > img,
.project-card > img {
  width: 100%;
  height: 256px;
  object-fit: cover;
}

.image-card .card-content,
.project-card .card-content {
  padding-top: 19px;
}

.image-card h3,
.project-card h3 {
  margin-bottom: 17px;
  font-size: 1.25rem;
}

.image-card p,
.project-card p {
  margin-bottom: 20px;
  color: #333333;
}

.carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 247px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0 0 4px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(80, 80, 80, 0.72);
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-arrow:hover {
  background: rgba(40, 40, 40, 0.9);
}

.carousel-arrow-previous {
  left: -5px;
}

.carousel-arrow-next {
  right: -5px;
}

/* -------------------- HOME SERVICES ICON SECTION -------------------- */
.home-services-section {
  padding: 58px 0 35px;
}

.home-services-section .section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 400;
}

.home-services-section .section-heading p {
  font-size: 1.1rem;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.icon-card {
  padding: 20px 30px 35px;
  text-align: center;
}

.icon-card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.icon-card h3 {
  margin-bottom: 18px;
  font-size: 1.8rem;
  font-weight: 400;
}

.icon-card p {
  min-height: 52px;
  margin-bottom: 15px;
  color: #333333;
}

/* -------------------- HOW WE CAN HELP SECTION -------------------- */
.help-wave-section {
  min-height: 405px;
  padding: 1px 0 60px;
  background-image: url("images/wave-help.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.help-panel {
  display: grid;
  grid-template-columns: 36% 64%;
  min-height: 344px;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.74);
}

.help-title,
.help-content {
  display: grid;
  align-content: center;
  padding: 30px;
}

.help-title {
  justify-items: center;
  text-align: center;
}

.help-title h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.55rem);
  font-weight: 400;
}

.help-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.65;
}

.help-content li::before {
  content: "✓ ";
}

.help-content .button {
  justify-self: start;
  margin-top: 28px;
  font-size: 1rem;
  text-transform: none;
}

/* -------------------- HOME PROJECTS SECTION -------------------- */
.home-projects-section {
  min-height: 760px;
  padding: 92px 0 70px;
  background-color: #ffffff;
  background-image:
    url("images/wave-projects.svg"),
    linear-gradient(to bottom, #ff4b52 0, #ff4b52 285px, transparent 285px);
  background-position: top center, top center;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 430px, 100% 100%;
}

.home-projects-section > .container > h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 4rem);
  text-align: center;
  text-shadow: 0 4px 2px rgba(0, 0, 0, 0.45);
}

.project-carousel-shell {
  margin-top: 78px;
}

.project-card {
  padding: 30px;
  color: inherit;
  background: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.project-card:focus-visible {
  outline: 3px solid #c9181f;
  outline-offset: 4px;
}

.project-card h3 {
  font-weight: 700;
}

.project-carousel-shell .carousel-arrow {
  top: 245px;
}

/* -------------------- CONTACT FORM SECTIONS -------------------- */
.contact-section {
  color: #ffffff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.68)), url("images/hero-dark.webp");
  background-position: center;
  background-size: cover;
}

.contact-section-centered {
  min-height: 690px;
  padding: 70px 0 75px;
}

.contact-centered {
  text-align: center;
}

.contact-centered h2 {
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400;
  text-transform: uppercase;
}

.contact-centered > p {
  margin-bottom: 28px;
  font-size: 1.45rem;
}

.contact-form {
  display: grid;
  gap: 11px;
}

.contact-form-centered {
  width: min(100%, 570px);
  margin-inline: auto;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #c9c9c9;
  border-radius: 0;
  color: #111111;
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form-centered .button {
  justify-self: start;
  margin-top: 2px;
  text-transform: none;
}

/* -------------------- SERVICES PAGE -------------------- */
.services-hero .hero-content {
  width: 100%;
  max-width: 900px;
}

.services-hero .hero-content h1 {
  margin-bottom: 19px;
}

.services-hero .hero-text {
  margin-bottom: 24px;
  font-size: 1rem;
}

.services-hero-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 35px;
  max-width: 760px;
  margin: 40px auto 0;
}

.services-hero-icons div {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.services-hero-icons img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.services-hero-icons span {
  font-size: 1.08rem;
}

.services-catalog-section {
  padding: 75px 0 85px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 45px;
}

.service-card img {
  width: 100%;
  height: 225px;
  margin-bottom: 18px;
  object-fit: cover;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.service-card p {
  margin-bottom: 0;
  color: #333333;
}

.consulting-section {
  padding: 45px 0;
  background: #eeeeee;
}

.consulting-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
}

.consulting-grid > div {
  display: grid;
  align-content: center;
  padding: 45px 55px 45px 30px;
}

.consulting-grid h2 {
  margin-bottom: 6px;
  font-size: 2.4rem;
  font-weight: 400;
}

.consulting-grid h3 {
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.consulting-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* -------------------- REALIZZAZIONI PAGE -------------------- */
.project-detail {
  padding: 75px 0;
}

.project-detail-alt {
  background: var(--surface-soft);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 65px;
  align-items: center;
}

.project-detail-grid > img {
  width: 100%;
  height: 445px;
  object-fit: contain;
}

.project-detail-alt .project-detail-grid > img {
  order: 2;
}

.project-detail-grid h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 400;
}

.project-detail-grid p {
  color: #222222;
}

/* -------------------- CHI SIAMO PAGE -------------------- */
.about-story-section {
  padding: 65px 0;
}

.story-list {
  display: grid;
  gap: 0;
}

.story-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  min-height: 350px;
}

.story-row img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.story-row > div {
  padding: 45px 55px;
}

.story-row-reverse img {
  order: 2;
}

.story-row h1,
.story-row h2 {
  margin-bottom: 22px;
  font-size: 2.65rem;
  font-weight: 400;
}

.story-row p {
  color: #222222;
}

.stats-section {
  min-height: 390px;
  display: grid;
  align-items: center;
  padding: 65px 0;
  color: #ffffff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.68)), url("images/chi-siamo-mission.webp");
  background-position: center;
  background-size: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  margin-bottom: 8px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
}

/* -------------------- SUPPORT PAGE -------------------- */
.support-intro {
  padding: 70px 0 55px;
}

.support-intro p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.support-intro h1 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 400;
}

.download-section {
  background: var(--surface-blue);
  border-bottom: 1px solid #c6ced6;
}

.download-grid {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 55px;
  min-height: 260px;
  padding: 50px 0;
  align-items: start;
}

.download-title h2 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 400;
}

.download-title h2::after {
  display: block;
  width: 96px;
  height: 8px;
  margin-top: 20px;
  background: #111111;
  content: "";
}

.download-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 7px 0 0;
  list-style: none;
}

.download-list li {
  padding: 0;
  background: transparent;
}

.download-list a {
  color: #111111;
  text-decoration: underline;
}

/* -------------------- CONTACT PAGE -------------------- */
.contact-page-intro {
  padding: 65px 0 28px;
}

.contact-page-intro h1 {
  margin-bottom: 20px;
  font-size: 2.7rem;
  font-weight: 400;
}

.contact-map-section {
  padding: 0 0 55px;
}

.contact-map {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 2px;
  background: #e7e7e7;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 11px 16px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(16, 16, 16, 0.92);
  border-radius: 2px;
}

.contact-map-link:hover,
.contact-map-link:focus-visible {
  color: #ffffff;
  background: var(--accent);
}

.contact-page-section {
  padding: 0 0 75px;
}

.contact-form-title {
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 65px;
  align-items: start;
}

.contact-details {
  padding: 12px 35px;
  color: #111111;
  background: transparent;
}

.contact-details h2 {
  margin-bottom: 25px;
  font-size: 2.3rem;
  font-weight: 400;
}

.contact-details a {
  color: #478ac9;
  text-decoration: none;
}

.form-on-light {
  padding: 0;
  background: transparent;
}

.form-on-light .button {
  justify-self: start;
  margin-top: 0;
  min-height: 40px;
  padding: 8px 22px;
  text-transform: none;
}

/* -------------------- GENERIC PAGE INTRO / EMPTY STATE -------------------- */
.page-intro {
  padding: 85px 0 65px;
  background: #ffffff;
}

.page-intro h1 {
  margin-bottom: 18px;
  font-weight: 400;
}

.page-intro p:last-child {
  color: #555555;
}

.confirmation-section {
  min-height: 62vh;
  display: grid;
  align-items: center;
}

.empty-state {
  max-width: 700px;
  margin-inline: auto;
  padding: 55px 25px;
  border: 1px dashed #b8b8b8;
  text-align: center;
  background: #ffffff;
}

/* -------------------- SITE FOOTER -------------------- */
.site-footer {
  padding: 0;
  color: #ffffff;
  background: #333333;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 145px;
  align-items: center;
  gap: 30px;
}

.footer-brand img {
  width: 150px;
  height: 78px;
  object-fit: contain;
}

.footer-email {
  color: #ffffff;
  font-size: 0.92rem;
  text-decoration: none;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.social-links a {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0;
  font-weight: 700;
  text-decoration: none;
}

.social-links a::before {
  font-size: 1.35rem;
  line-height: 1;
}

.social-links a:nth-child(1) {
  background: #4267a9;
}

.social-links a:nth-child(1)::before {
  content: "f";
}

.social-links a:nth-child(2) {
  background: #d62d8a;
}

.social-links a:nth-child(2)::before {
  content: "◎";
}

.social-links a:nth-child(3) {
  background: #ff0000;
}

.social-links a:nth-child(3)::before {
  content: "▶";
  font-size: 1rem;
}

.copyright {
  display: none;
}

/* -------------------- TABLET LAYOUT -------------------- */
@media (max-width: 991px) {
  .header-content {
    min-height: 78px;
  }

  .menu-toggle {
    display: block;
  }

  .site-navigation {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    padding: 16px 25px 22px;
    border-top: 1px solid #dddddd;
    background: #ffffff;
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.12);
  }

  .site-navigation.is-open {
    display: grid;
  }

  .card-carousel {
    grid-auto-columns: calc((100% - 10px) / 2);
  }

  .icon-grid,
  .services-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-panel,
  .project-detail-grid,
  .story-row,
  .consulting-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-alt .project-detail-grid > img,
  .story-row-reverse img {
    order: 0;
  }

  .help-title {
    padding-bottom: 5px;
  }


  .help-content {
    padding-top: 5px;
  }

  .consulting-grid > div {
    padding: 45px 30px;
  }

  .contact-details {
    padding-inline: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 25px 0;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* -------------------- MOBILE LAYOUT -------------------- */
@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 115px;
  }


  .hero-home {
    min-height: 580px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)), url("images/hero-home-mobile.webp");
  }

  .hero-inner {
    min-height: 600px;
  }

  .projects-hero {
    min-height: 330px;
  }

  .hero-content h1 {
    font-size: 2.55rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .card-carousel {
    grid-auto-columns: 100%;
  }

  .image-card,
  .project-card {
    padding: 20px 28px;
  }

  .carousel-arrow-previous {
    left: 2px;
  }

  .carousel-arrow-next {
    right: 2px;
  }

  .icon-grid,
  .services-grid,
  .stats-grid,
  .services-hero-icons {
    grid-template-columns: 1fr;
  }

  .icon-card p {
    min-height: 0;
  }

  .help-panel {
    border-radius: 16px;
  }

  .help-content ul {
    font-size: 1rem;
  }

  .home-projects-section {
    padding-top: 70px;
    background-size: auto 350px;
  }

  .home-projects-section > .container > h2 {
    font-size: 2.7rem;
  }

  .contact-centered h2 {
    font-size: 2.65rem;
  }

  .services-hero-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card img {
    height: 250px;
  }

  .project-detail,
  .about-story-section {
    padding: 50px 0;
  }

  .project-detail-grid > img,
  .story-row img {
    height: 300px;
  }

  .story-row > div {
    padding: 35px 10px 50px;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .download-title h2::after {
    width: 75px;
  }

  .contact-map {
    min-height: 280px;
  }

  .contact-map iframe {
    height: 320px;
  }

  .contact-map-link {
    right: 12px;
    bottom: 12px;
    left: 12px;
    text-align: center;
  }
}

/* -------------------- PRODUCTS CATALOG PAGE -------------------- */
.products-page-intro {
  padding-bottom: 72px;
}

.products-catalog-section {
  padding-top: 70px;
  padding-bottom: 90px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.catalog-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-column: 1 / -1;
  min-height: 500px;
  overflow: hidden;
  border-radius: 18px;
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.catalog-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.13);
}

.catalog-product-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #e8e8e8;
}

.catalog-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.catalog-product-card:hover .catalog-product-image img {
  transform: scale(1.025);
}

.catalog-product-label {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(201, 24, 31, 0.92);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px;
}

.catalog-product-content h2 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
}

.catalog-product-content > p:not(.eyebrow) {
  margin-bottom: 24px;
  color: #444444;
}

.catalog-product-features {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}

.catalog-product-features li {
  position: relative;
  padding-left: 23px;
  color: #333333;
}

.catalog-product-features li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  transform: translateY(-50%);
}

.catalog-product-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
  font-weight: 700;
}

.products-custom-cta {
  padding: 72px 0;
  color: #ffffff;
  background: #c9181f;
}

.products-custom-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.products-custom-cta h2 {
  margin-bottom: 12px;
  font-weight: 400;
}

.products-custom-cta p:last-child {
  margin-bottom: 0;
}

/* -------------------- MOPOWER PRODUCT PAGE -------------------- */
.product-hero {
  padding: 0 0 66px;
  overflow: hidden;
  background: #ffffff;
}

.product-hero-media-wide {
  width: 100%;
  overflow: hidden;
  background: #ded7ca;
}

.product-hero-media-wide img {
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 470px);
  object-fit: cover;
  object-position: center 48%;
}

.product-hero-intro {
  padding-top: 36px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  color: #777777;
  font-size: 0.8rem;
}

.breadcrumb a {
  color: #333333;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.product-hero-intro h1 {
  margin-bottom: 18px;
  font-size: clamp(3.7rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.product-lead {
  max-width: 820px;
  margin-bottom: 26px;
  color: #3c3c3c;
  font-size: 1.2rem;
  line-height: 1.55;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
}

.product-badges span {
  padding: 8px 13px;
  border: 1px solid #d0d0d0;
  border-radius: 999px;
  color: #333333;
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.product-button-secondary {
  color: #111111;
  border-color: #111111;
  background: transparent;
}

.product-button-secondary:hover {
  color: #ffffff;
  background: #111111;
}

.product-media-note {
  margin: 20px 0 0;
  color: #6b6b6b;
  font-size: 0.82rem;
}

.product-benefits-section {
  padding: 0 0 18px;
  background: #ffffff;
}

.product-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.product-benefit {
  padding: 40px 28px;
  border-right: 1px solid #dddddd;
}

.product-benefit:last-child {
  border-right: 0;
}

.product-benefit-number {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-benefit h2 {
  margin-bottom: 14px;
  font-size: 1.28rem;
}

.product-benefit p {
  margin-bottom: 0;
  color: #565656;
  font-size: 0.93rem;
}

.product-description-section {
  padding-top: 105px;
  padding-bottom: 105px;
}

.product-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 80px;
}

.product-copy-block h2 {
  max-width: 650px;
  margin-bottom: 28px;
  font-weight: 400;
}

.product-copy-block p:not(.eyebrow) {
  color: #444444;
}

.product-feature-image {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

.product-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.product-feature-image figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  margin: 0;
  padding: 9px 12px;
  border-radius: 8px;
  color: #555555;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  text-align: center;
  backdrop-filter: blur(5px);
}

.product-specifications-section {
  padding: 95px 0;
  color: #ffffff;
  background: #242424;
}

.product-specifications-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 90px;
}

.product-specifications-copy h2 {
  margin-bottom: 22px;
  font-weight: 400;
}

.product-specifications-copy p:last-child {
  color: #cfcfcf;
}

.product-eyebrow-light {
  color: #ffffff;
  opacity: 0.75;
}

.product-specification-list {
  margin: 0;
}

.product-specification-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.product-specification-list > div:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.product-specification-list dt {
  color: #c2c2c2;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-specification-list dd {
  margin: 0;
  font-weight: 700;
}

.product-section-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.product-compatibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.compatibility-card {
  min-height: 310px;
  padding: 38px;
  border-top: 4px solid var(--accent);
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.compatibility-type {
  display: block;
  margin-bottom: 45px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compatibility-card h3 {
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.compatibility-card p {
  margin-bottom: 0;
  color: #555555;
}

.product-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 14px;
}

.product-gallery-item {
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #ececec;
}

.product-gallery-item-large {
  grid-column: span 8;
  grid-row: span 2;
}

.product-gallery-item-dimensions {
  grid-column: span 8;
  background: #f3f3f3;
}

.product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-gallery-item-dimensions img {
  object-fit: contain;
}

.product-gallery-item:hover img {
  transform: scale(1.025);
}

.product-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.product-video-card {
  padding: 18px 18px 28px;
  border-radius: 14px;
  color: inherit;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.product-video-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 9px;
}

.product-video-image img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.product-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  padding-left: 4px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(201, 24, 31, 0.94);
  font-size: 1.35rem;
  transform: translate(-50%, -50%);
}

.product-video-card h3,
.product-video-card p {
  margin-right: 10px;
  margin-left: 10px;
}

.product-video-card p {
  margin-bottom: 0;
  color: #555555;
}

.product-resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.product-resource-card {
  min-height: 360px;
  padding: 48px;
  border-radius: 14px;
}

.product-resource-card h2 {
  margin-bottom: 20px;
  font-weight: 400;
}

.product-resource-card p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 32px;
}

.product-download-card {
  color: #ffffff;
  background: #c9181f;
}

.product-download-card .eyebrow {
  color: #ffffff;
  opacity: 0.75;
}

.product-download-card .button-primary {
  color: #111111;
  background: #ffffff;
}

.product-download-card .button-primary:hover {
  background: #f1f1f1;
}

.product-accessory-card {
  background: #f1f1f1;
}

.product-custom-section {
  padding: 76px 0;
  color: #ffffff;
  background: #111111;
}

.product-custom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.product-custom-content h2 {
  margin-bottom: 14px;
  font-weight: 400;
}

.product-custom-content p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #d0d0d0;
}

.product-notice-section {
  padding: 24px 0;
  background: #ededed;
}

.product-notice {
  display: flex;
  gap: 18px;
  align-items: baseline;
  color: #555555;
  font-size: 0.78rem;
}

.product-notice strong {
  flex: 0 0 auto;
  color: #111111;
  text-transform: uppercase;
}

.product-notice p {
  margin: 0;
}

/* -------------------- ADDITIONAL PRODUCT PAGE MODIFIERS -------------------- */
.catalog-product-card-reverse .catalog-product-image {
  order: 2;
}

.catalog-product-card-reverse .catalog-product-content {
  order: 1;
}

.catalog-product-image-dark,
.product-hero-media-dark {
  background: #050505;
}

.product-title-long {
  max-width: 1100px;
  font-size: clamp(3rem, 5.8vw, 5.8rem) !important;
  line-height: 0.98;
}

.product-gallery-grid-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 390px;
}

.product-gallery-grid-pair .product-gallery-item {
  grid-column: auto;
}

.product-video-grid-single {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: 1fr;
}

@media (max-width: 991px) {
  .catalog-product-card,
  .product-content-grid,
  .product-specifications-grid {
    grid-template-columns: 1fr;
  }

  .product-feature-image {
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .product-feature-image img {
    height: auto;
    border: 1px solid #dedede;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
  }

  .product-feature-image figcaption {
    position: static;
    margin-top: 14px;
    padding: 0;
    color: #777777;
    background: transparent;
    backdrop-filter: none;
  }

  .catalog-product-image {
    min-height: 430px;
  }

  .product-hero-media-wide img {
    height: clamp(300px, 48vw, 410px);
  }

  .breadcrumb {
    margin-bottom: 28px;
  }

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

  .product-benefit:nth-child(2) {
    border-right: 0;
  }

  .product-benefit:nth-child(-n + 2) {
    border-bottom: 1px solid #dddddd;
  }

  .product-content-grid,
  .product-specifications-grid {
    gap: 50px;
  }

  .product-compatibility-grid {
    grid-template-columns: 1fr;
  }

  .compatibility-card {
    min-height: 0;
  }

  .compatibility-type {
    margin-bottom: 25px;
  }

  .product-gallery-grid {
    grid-auto-rows: 200px;
  }

  .product-gallery-item,
  .product-gallery-item-large,
  .product-gallery-item-dimensions {
    grid-column: span 6;
  }

  .product-gallery-item-large {
    grid-row: span 2;
  }

  .products-custom-cta-content,
  .product-custom-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .catalog-product-image {
    min-height: 310px;
  }

  .catalog-product-content {
    padding: 38px 27px 44px;
  }

  .product-hero {
    padding-bottom: 48px;
  }

  .product-hero-media-wide img {
    height: 270px;
    object-position: center 48%;
  }

  .product-hero-intro {
    padding-top: 26px;
  }

  .product-hero-intro h1 {
    font-size: 4rem;
  }

  .product-lead {
    font-size: 1.05rem;
  }

  .product-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-benefits-grid {
    grid-template-columns: 1fr;
  }

  .product-benefit,
  .product-benefit:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #dddddd;
  }

  .product-benefit:last-child {
    border-bottom: 0;
  }

  .product-description-section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .product-specifications-section {
    padding: 72px 0;
  }

  .product-specification-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .compatibility-card,
  .product-resource-card {
    padding: 32px 27px;
  }

  .product-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 290px;
  }

  .product-gallery-item,
  .product-gallery-item-large,
  .product-gallery-item-dimensions {
    grid-column: 1;
    grid-row: auto;
  }

  .product-video-grid,
  .product-resources-grid {
    grid-template-columns: 1fr;
  }

  .product-video-image img {
    height: 220px;
  }

  .product-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

/* -------------------- ADDITIONAL PRODUCT RESPONSIVE RULES -------------------- */
@media (max-width: 991px) {
  .catalog-product-card-reverse .catalog-product-image,
  .catalog-product-card-reverse .catalog-product-content {
    order: initial;
  }

  .product-gallery-grid-pair {
    grid-auto-rows: 330px;
  }
}

@media (max-width: 640px) {
  .product-title-long {
    font-size: clamp(2.7rem, 13vw, 4rem) !important;
  }

  .product-gallery-grid-pair {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
}

/* -------------------- PRODUCT CATEGORY SECTIONS -------------------- */
.product-category-section {
  padding-top: 88px;
  padding-bottom: 96px;
}

.product-category-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.product-category-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  font-weight: 400;
}

.product-category-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-category-grid {
  gap: 30px;
}

.product-category-grid .catalog-product-content h3 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
}

@media (max-width: 640px) {
  .product-category-section {
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .product-category-heading {
    margin-bottom: 30px;
  }
}

/* -------------------- SHS DYNO CONTROLLER PRODUCT PAGE -------------------- */
.shs-hero {
  padding-bottom: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 12%, rgba(44, 103, 183, 0.34), transparent 42%),
    linear-gradient(145deg, #071326 0%, #0b2344 55%, #081529 100%);
}

.shs-hero-visual {
  position: relative;
  display: grid;
  min-height: clamp(360px, 42vw, 590px);
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shs-hero-visual::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(35, 115, 205, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 115, 205, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 72%, transparent);
}

.shs-hero-visual::after {
  position: absolute;
  right: 8%;
  bottom: 8%;
  left: 8%;
  height: 20%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  filter: blur(42px);
  content: "";
}

.shs-hero-visual img {
  position: relative;
  z-index: 2;
  width: min(82vw, 920px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.42));
}

.shs-hero-circuit {
  position: absolute;
  width: 38%;
  height: 38%;
  opacity: 0.38;
  background:
    linear-gradient(90deg, transparent 0 12%, #1678d6 12% 12.8%, transparent 12.8% 42%, #1678d6 42% 42.8%, transparent 42.8%),
    linear-gradient(transparent 0 24%, #1678d6 24% 25%, transparent 25% 62%, #1678d6 62% 63%, transparent 63%);
}

.shs-hero-circuit-left {
  top: 7%;
  left: -4%;
  transform: skewX(-24deg);
}

.shs-hero-circuit-right {
  right: -5%;
  bottom: 6%;
  transform: rotate(180deg) skewX(-24deg);
}

.shs-hero-intro {
  padding-top: clamp(46px, 7vw, 78px);
  padding-bottom: clamp(58px, 8vw, 90px);
}

.shs-hero-intro h1 {
  max-width: 920px;
  color: #ffffff;
  font-size: clamp(2.7rem, 6vw, 5.25rem);
}

.shs-hero-intro .product-lead {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.86);
}

.breadcrumb-light,
.breadcrumb-light a {
  color: rgba(255, 255, 255, 0.72);
}

.shs-product-badges span {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.09);
}

.shs-media-note {
  color: rgba(255, 255, 255, 0.62);
}

.shs-feature-image {
  background: #eef1f5;
}

.shs-feature-image img {
  object-position: center;
}

.shs-comparison-section {
  padding: 92px 0;
  color: #ffffff;
  background: #101522;
}

.shs-section-heading-light {
  max-width: 780px;
  margin-inline: auto;
}

.shs-section-heading-light h2,
.shs-section-heading-light p {
  color: #ffffff;
}

.shs-section-heading-light p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.shs-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.shs-comparison-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.shs-comparison-card-new {
  border-color: rgba(219, 84, 90, 0.5);
  background: linear-gradient(145deg, rgba(219, 84, 90, 0.22), rgba(255, 255, 255, 0.06));
}

.shs-comparison-label {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shs-comparison-card-new .shs-comparison-label {
  color: #ff8e92;
}

.shs-comparison-card h3 {
  margin-bottom: 24px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.shs-comparison-card ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.shs-comparison-card li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.shs-comparison-card li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  content: "";
}

.shs-comparison-card-new li::before {
  border-color: var(--accent);
  background: var(--accent);
}

.shs-weather-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.shs-weather-card {
  min-height: 260px;
  padding: 36px;
  border: 1px solid #dedede;
  border-radius: 16px;
  background: #ffffff;
}

.shs-weather-card > span {
  display: inline-grid;
  min-width: 64px;
  height: 64px;
  margin-bottom: 28px;
  padding-inline: 12px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
}

.shs-weather-card h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.shs-weather-card p {
  margin: 0;
  color: var(--muted);
}

.shs-gallery-grid {
  grid-auto-rows: 340px;
}

.shs-gallery-grid .product-gallery-item:first-child {
  grid-row: span 2;
}

.shs-roadmap-section {
  padding: 92px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 105, 195, 0.24), transparent 34%),
    #081528;
}

.shs-roadmap-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.shs-roadmap-content h2 {
  color: #ffffff;
}

.shs-roadmap-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.shs-roadmap-steps {
  display: grid;
  gap: 18px;
}

.shs-roadmap-steps > div {
  padding: 26px 28px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.07);
}

.shs-roadmap-steps span {
  display: block;
  margin-bottom: 7px;
  color: #ff9296;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shs-roadmap-steps strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.45;
}

/* Product catalog image for transparent SHS controller render. */
.catalog-product-image-shs {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(37, 103, 181, 0.38), transparent 45%),
    linear-gradient(145deg, #071326, #102c52);
}

.catalog-product-image-shs img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.45));
}

.catalog-product-card:hover .catalog-product-image-shs img {
  transform: scale(1.035);
}

@media (max-width: 900px) {
  .shs-comparison-grid,
  .shs-roadmap-content {
    grid-template-columns: 1fr;
  }

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

  .shs-gallery-grid {
    grid-auto-rows: 300px;
  }

  .shs-gallery-grid .product-gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .shs-hero-visual {
    min-height: 300px;
  }

  .shs-hero-visual img {
    width: 104%;
    max-width: none;
  }

  .shs-hero-intro h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .shs-comparison-section,
  .shs-roadmap-section {
    padding: 68px 0;
  }

  .shs-comparison-grid,
  .shs-weather-grid {
    grid-template-columns: 1fr;
  }

  .shs-weather-card {
    min-height: 0;
    padding: 28px;
  }

  .shs-gallery-grid {
    grid-auto-rows: 250px;
  }

  .shs-gallery-grid .product-gallery-item {
    grid-column: 1;
    grid-row: auto;
  }
}

/* -------------------- PRODUCT GALLERY LIGHTBOX -------------------- */
.has-gallery-lightbox .product-gallery-item img {
  cursor: zoom-in;
}

.has-gallery-lightbox .product-gallery-item img:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -5px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: max(64px, env(safe-area-inset-top)) max(72px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(72px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, 0.94);
}

.gallery-lightbox-open,
.gallery-lightbox-open body {
  overflow: hidden;
}

.gallery-lightbox-stage {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  touch-action: none;
}

.gallery-lightbox-stage img {
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-lightbox-stage figcaption {
  min-height: 1.4em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-align: center;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(20, 20, 20, 0.64);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-arrow:focus-visible {
  background: var(--accent);
}

.gallery-lightbox-close {
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  font-size: 2rem;
}

.gallery-lightbox-arrow {
  top: 50%;
  font-size: 2.5rem;
  transform: translateY(-50%);
}

.gallery-lightbox-previous {
  left: max(14px, env(safe-area-inset-left));
}

.gallery-lightbox-next {
  right: max(14px, env(safe-area-inset-right));
}

@media (max-width: 640px) {
  .gallery-lightbox {
    padding: 58px 12px 24px;
  }

  .gallery-lightbox-stage img {
    max-height: calc(100dvh - 105px);
  }

  .gallery-lightbox-arrow {
    width: 44px;
    height: 44px;
    background: rgba(20, 20, 20, 0.76);
  }

  .gallery-lightbox-previous {
    left: 8px;
  }

  .gallery-lightbox-next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery-item img {
    transition: none;
  }
}



/* -------------------- DOWNLOAD FILE METADATA -------------------- */
.download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.download-meta {
  flex: 0 0 auto;
  color: #666666;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .download-list a { align-items: flex-start; flex-direction: column; gap: 4px; }
}
