:root {
  --ink: #0b0f14;
  --carbon: #121820;
  --graphite: #1c2631;
  --steel: #2f3a46;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(11, 15, 20, 0.12);
  --muted: #7f8a96;
  --paper: #f4f6f7;
  --white: #ffffff;
  --red: #c8202a;
  --red-dark: #9f1921;
  --gold: #caa664;
  --gold-soft: #f0dfbb;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --shadow-soft: 0 16px 42px rgba(11, 15, 20, 0.12);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Fira Sans', Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 0%, rgba(200, 32, 42, 0.11), transparent 28rem),
    linear-gradient(180deg, #eef1f3 0%, #f7f7f4 48%, #e7ebef 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(11, 15, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 15, 20, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

p {
  color: #3f4750;
  font-size: 1.04rem;
  line-height: 1.72;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.08;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.top-strip {
  background: #080b0f;
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  padding: 0.4rem 0;
}

.top-strip a {
  color: rgba(255, 255, 255, 0.88);
  margin-left: 1.1rem;
}

.top-strip a:hover {
  color: var(--gold);
}

.main-nav {
  background:
    linear-gradient(90deg, rgba(13, 18, 24, 0.98), rgba(28, 38, 49, 0.96)),
    var(--carbon);
  min-height: 82px;
  padding: 0.75rem 0;
}

.navbar-brand {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  padding: 0.55rem 0.75rem;
}

.navbar-brand img {
  display: block;
  width: 164px;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.16rem rgba(202, 166, 100, 0.35);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}

.navbar > .container-fluid {
  align-items: center;
  display: flex;
  flex-wrap: inherit;
  justify-content: space-between;
  width: 100%;
}

.navbar-collapse {
  align-items: center;
  flex-basis: 100%;
  flex-grow: 1;
  max-width: 100%;
  min-width: 0;
}

.navbar-collapse.collapse:not(.show) {
  display: none;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.12rem;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown::after {
  bottom: -0.9rem;
  content: '';
  display: block;
  height: 1rem;
  left: 0;
  position: absolute;
  right: 0;
}

.main-nav .nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.8rem 0.68rem;
  text-transform: uppercase;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .nav-link.show {
  color: #fff;
}

.main-nav .nav-link::after {
  color: var(--gold);
}

.nav-cta {
  margin-left: 0.8rem;
}

.language-switcher {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.15rem;
  margin-left: 0.55rem;
  padding: 0.18rem;
}

.language-switcher a {
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  height: 1.9rem;
  justify-content: center;
  min-width: 2rem;
}

.language-switcher a:hover,
.language-switcher a:focus,
.language-switcher a.is-active {
  background: rgba(202, 166, 100, 0.18);
  color: #fff;
}

.btn {
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0.78rem 1.15rem;
}

.btn-ferlex,
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 14px 34px rgba(200, 32, 42, 0.28);
}

.btn-ferlex:hover,
.btn-primary:hover,
.btn-ferlex:focus,
.btn-primary:focus {
  background: linear-gradient(135deg, #de2631, var(--red-dark));
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-premium,
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn-outline-premium:hover,
.btn-outline-light:hover {
  background: #fff;
  color: var(--ink);
}

.premium-menu {
  background:
    linear-gradient(180deg, rgba(18, 24, 32, 0.98), rgba(9, 13, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: #fff;
  margin-top: 0;
  padding: 0.85rem;
}

.compact-menu {
  min-width: 310px;
}

.dropdown-item {
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 0.85rem;
}

.dropdown-item span {
  font-weight: 800;
}

.dropdown-item small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(202, 166, 100, 0.13);
  color: #fff;
}

.mega-menu {
  display: none;
  gap: 1rem;
  left: auto;
  max-width: calc(100vw - 2rem);
  min-width: 0;
  padding: 1rem;
  width: min(760px, calc(100vw - 2rem));
}

.dropdown-mega .dropdown-menu.show,
.dropdown-mega:hover .dropdown-menu {
  display: grid;
  grid-template-columns: 270px 1fr;
}

.mega-intro {
  background:
    linear-gradient(180deg, rgba(202, 166, 100, 0.16), rgba(202, 166, 100, 0.05));
  border: 1px solid rgba(202, 166, 100, 0.18);
  border-radius: 8px;
  padding: 1rem;
}

.mega-intro strong {
  color: #fff;
  display: block;
  font-size: 1.22rem;
  line-height: 1.18;
  margin: 0.4rem 0 0.65rem;
}

.mega-intro p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}

.mega-intro a {
  color: var(--gold-soft);
  font-weight: 800;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

.mega-links a {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  padding: 0.65rem 0.75rem;
}

.mega-links a:hover {
  background: rgba(200, 32, 42, 0.18);
  border-color: rgba(200, 32, 42, 0.35);
  color: #fff;
}

.site-main {
  min-height: 65vh;
}

.site-breadcrumb {
  margin: 0 auto;
  max-width: 1360px;
  padding: 1.1rem clamp(1rem, 3vw, 2.4rem) 0;
}

.site-breadcrumb ol {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 15, 20, 0.08);
  box-shadow: 0 10px 28px rgba(11, 15, 20, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0.65rem 0.85rem;
}

.site-breadcrumb li {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  min-width: 0;
  text-transform: uppercase;
}

.site-breadcrumb li + li::before {
  color: rgba(11, 15, 20, 0.28);
  content: '/';
  margin: 0 0.55rem 0 0.35rem;
}

.site-breadcrumb a {
  color: var(--steel);
}

.site-breadcrumb a:hover,
.site-breadcrumb a:focus {
  color: var(--red);
}

.site-breadcrumb [aria-current='page'] span {
  color: var(--red);
}

.hero-industrial {
  background: var(--ink);
  color: #fff;
  min-height: calc(100vh - 124px);
  overflow: hidden;
  position: relative;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: calc(100vh - 124px);
  min-height: 660px;
}

.hero-carousel img {
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero-industrial::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 7, 10, 0.94), rgba(4, 7, 10, 0.72) 42%, rgba(4, 7, 10, 0.2)),
    linear-gradient(180deg, transparent 62%, rgba(4, 7, 10, 0.92));
  pointer-events: none;
}

.hero-industrial::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
  pointer-events: none;
}

.hero-industrial-content {
  left: clamp(1.4rem, 5vw, 5rem);
  max-width: 780px;
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.45rem;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--red);
  content: '';
  display: inline-block;
  height: 2px;
  margin-top: 0.55rem;
  width: 34px;
}

.hero-industrial h1 {
  color: #fff;
  font-size: clamp(2.65rem, 5vw, 5.9rem);
  letter-spacing: 0;
  margin: 0.65rem 0 1.2rem;
  max-width: 850px;
}

.hero-industrial p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-spec-panel {
  backdrop-filter: blur(18px);
  background: rgba(12, 18, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: absolute;
  right: clamp(1.4rem, 5vw, 5rem);
  width: min(680px, calc(100% - 2.8rem));
  z-index: 2;
}

.hero-spec-panel div {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.15rem;
}

.hero-spec-panel div:last-child {
  border-right: 0;
}

.hero-spec-panel strong {
  color: #fff;
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
}

.hero-spec-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.section-shell,
.solutions-grid,
.capabilities-band,
.final-cta,
.page-heading,
.contact-layout,
.form-panel,
.product-page,
.related-products,
.row:has(.gallery),
.row:has(.galeria-eventos) {
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.section-shell {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding-bottom: 4rem;
  padding-top: 4.5rem;
}

.section-shell h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  letter-spacing: 0;
}

.section-shell p {
  font-size: 1.18rem;
}

.solutions-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 4rem;
}

.solution-card {
  background:
    linear-gradient(135deg, rgba(16, 22, 29, 0.98), rgba(31, 41, 52, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(6, 10, 15, 0.22);
  color: #fff;
  display: grid;
  grid-template-rows: 270px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.solution-card::before {
  background:
    linear-gradient(90deg, var(--red), transparent 42%),
    linear-gradient(90deg, var(--gold), transparent 32%);
  content: '';
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.solution-media {
  background:
    radial-gradient(circle at 80% 12%, rgba(202, 166, 100, 0.18), transparent 34%),
    #0d131a;
  display: block;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.solution-media::after {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0), rgba(5, 8, 12, 0.08)),
    linear-gradient(90deg, rgba(5, 8, 12, 0.08), transparent 58%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.solution-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease, filter 0.45s ease;
  width: 100%;
}

.solution-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.solution-copy {
  background:
    linear-gradient(180deg, rgba(18, 24, 32, 0.96), rgba(9, 13, 18, 0.99));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: clamp(1.35rem, 2.2vw, 2rem);
  position: relative;
}

.solution-card-large {
  grid-row: auto;
}

.solution-card-large img {
  object-position: 66% center;
}

.solution-card-product .solution-media {
  background:
    radial-gradient(circle at 72% 18%, rgba(202, 166, 100, 0.18), transparent 32%),
    linear-gradient(135deg, #eef1f3, #ffffff);
}

.solution-card-product img {
  filter: drop-shadow(0 18px 26px rgba(7, 11, 16, 0.18));
  /*object-fit: contain;*/
  /*padding: 1.1rem;*/
}

.solution-card h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2.25rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 0.7rem;
}

.solution-card p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.58;
  margin-bottom: 1rem;
}

.technical-link {
  color: var(--gold-soft);
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
  text-decoration: none;
}

.technical-link::after {
  content: ' \f178';
  font-family: FontAwesome;
}

.capabilities-band {
  background:
    linear-gradient(135deg, #10161d, #26313d);
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 4rem;
  padding: 0;
}

.capability-item {
  background: rgba(255, 255, 255, 0.04);
  padding: 2rem;
}

.capability-item span {
  color: var(--gold);
  font-weight: 800;
}

.capability-item strong {
  color: #fff;
  display: block;
  font-size: 1.35rem;
  margin: 0.45rem 0;
}

.capability-item p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.final-cta {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(12, 18, 24, 0.95), rgba(31, 41, 52, 0.9)),
    var(--ferlex-banner-industrial, url('https://cdn.ferlex.com.br/images/banner2.webp')) center / cover;
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 5rem;
  padding-bottom: 2.2rem;
  padding-top: 2.2rem;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 3rem);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.page-heading {
  padding-bottom: 2.1rem;
  padding-top: 3.2rem;
}

.page-heading h1,
.site-main > .container h1,
.site-main > h1,
.site-main h1.mt-4,
.site-main h1.my-4 {
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
  margin: 0.35rem 0 1rem;
  padding-bottom: 1rem;
}

.site-main > .container,
.site-main > .container-fluid {
  max-width: 1240px;
}

.site-main h1 .fa {
  color: var(--red);
}

.page-heading p {
  max-width: 780px;
}

.form-panel,
.contact-card,
.product-media,
.lead,
.jumbotron,
.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 15, 20, 0.1);
  box-shadow: var(--shadow-soft);
}

.form-panel,
.contact-card,
.product-media,
.lead {
  padding: 1.6rem;
}

.contact-layout {
  align-items: flex-start;
  padding-bottom: 4rem;
}

.contact-card {
  position: sticky;
  top: 130px;
}

.contact-card h2 {
  font-size: 1.35rem;
}

.form-label,
form label,
form p {
  color: var(--ink);
  font-weight: 800;
}

.form-control,
.form-select,
select.form-control {
  border: 1px solid rgba(11, 15, 20, 0.18);
  border-radius: 4px;
  min-height: 48px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.18rem rgba(200, 32, 42, 0.18);
}

textarea.form-control {
  min-height: 170px;
}

.product-detail {
  margin: 0 auto;
  max-width: 1360px;
  padding: 1.2rem clamp(1rem, 3vw, 2.4rem) 0;
}

.product-hero {
  background:
    linear-gradient(110deg, rgba(9, 13, 18, 0.96), rgba(31, 41, 52, 0.88)),
    var(--ferlex-banner-industrial, url('https://cdn.ferlex.com.br/images/banner2.webp')) center / cover;
  color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

.product-hero.no-media {
  grid-template-columns: minmax(0, 1fr);
  min-height: 420px;
}

.product-hero.no-media .product-hero-copy {
  max-width: 900px;
}

.product-hero::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: '';
  inset: 0;
  mask-image: linear-gradient(90deg, black, transparent 82%);
  pointer-events: none;
  position: absolute;
}

.product-hero-copy {
  align-self: center;
  padding: clamp(2rem, 4vw, 4rem);
  position: relative;
  z-index: 1;
}

.product-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  letter-spacing: 0;
  margin: 0.5rem 0 1rem;
}

.product-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  max-width: 680px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.product-hero-media {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 235, 238, 0.92));
  display: flex;
  justify-content: center;
  margin: 1.5rem 1.5rem 1.5rem 0;
  min-height: 380px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.product-hero-media img {
  max-height: 360px;
  object-fit: contain;
}

.product-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.45rem 0.7rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  text-transform: uppercase;
}

.product-main-grid {
  align-items: start;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 300px minmax(0, 1fr);
  padding: 1.4rem 0 3.5rem;
}

.product-side-panel {
  background: var(--carbon);
  box-shadow: var(--shadow-soft);
  color: #fff;
  padding: 1.25rem;
  position: sticky;
  top: 132px;
}

.side-panel-block {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.side-panel-block span {
  color: var(--gold);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.side-panel-block strong {
  color: #fff;
  display: block;
  font-size: 1.05rem;
}

.product-content-stack {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.product-section {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 15, 20, 0.1);
  box-shadow: var(--shadow-soft);
  min-width: 0;
  padding: clamp(1.2rem, 2vw, 2rem);
}

.section-label {
  color: var(--red);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.product-text {
  color: #323941;
  font-size: 1.04rem;
  line-height: 1.72;
}

.product-text p {
  margin-bottom: 0.9rem;
}

.ferlex-content-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.4rem 0 0;
}

.ferlex-content-gallery [class*="col-"] {
  padding: 0;
  width: 100%;
}

.ferlex-content-gallery a {
  aspect-ratio: 4 / 3;
  background: #eef1f3;
  border: 1px solid rgba(11, 15, 20, 0.1);
  border-radius: 10px;
  display: block;
  overflow: hidden;
}

.ferlex-content-gallery img {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  display: block;
  height: 100%;
  margin: 0;
  object-fit: contain;
  width: 100%;
}

.legacy-content-heading {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 1.16rem;
  gap: 0.7rem;
  margin: 1.45rem 0 0.9rem;
}

.legacy-content-heading:first-child {
  margin-top: 0;
}

.legacy-content-heading::before {
  background: var(--red);
  content: '';
  height: 2px;
  width: 32px;
}

.product-text strong {
  color: var(--ink);
  display: inline-block;
  font-size: 1.08rem;
  margin: 1rem 0 0.3rem;
}

.product-text ul,
.catalog-tech-block ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
}

.product-text li,
.catalog-tech-block li {
  background:
    linear-gradient(90deg, rgba(200, 32, 42, 0.075), transparent 62%),
    #f8fafb;
  border: 1px solid rgba(11, 15, 20, 0.08);
  border-left: 3px solid var(--red);
  color: #323941;
  line-height: 1.55;
  margin: 0;
  min-height: 46px;
  padding: 0.72rem 0.9rem 0.72rem 2.45rem;
  position: relative;
}

.product-text li::before,
.catalog-tech-block li::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(202, 166, 100, 0.16);
  content: '';
  height: 0.5rem;
  left: 1rem;
  position: absolute;
  top: 1.12rem;
  width: 0.5rem;
}

.product-text li strong,
.catalog-tech-block li strong {
  color: var(--ink);
  display: inline;
  margin: 0;
}

.product-visualizer {
  background: linear-gradient(180deg, #fff, #eef1f3);
}

.visualizer-shell {
  align-items: center;
  display: grid;
  justify-items: center;
  min-width: 0;
}

.spritespin {
  --spin-aspect: 3 / 2;
  --spin-width: 720px;
  aspect-ratio: var(--spin-aspect);
  display: block;
  height: auto !important;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  width: min(100%, var(--spin-width)) !important;
}

.spritespin-stage,
.spritespin-canvas {
  height: 100% !important;
  width: 100% !important;
}

.spritespin img,
.spritespin canvas {
  display: block;
  height: 100% !important;
  margin: 0 auto;
  object-fit: contain;
  width: 100% !important;
}

.catalog-tech-block {
  background: transparent;
  color: var(--ink);
  margin: 0;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}

.catalog-tech-block .catalog-kicker {
  color: var(--red);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.catalog-tech-block h2,
.catalog-tech-block h3 {
  color: var(--ink);
}

.catalog-tech-block h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
}

.catalog-tech-block h3 {
  font-size: 1.1rem;
  margin-top: 1.4rem;
}

.catalog-tech-block p,
.catalog-tech-block li,
.catalog-tech-block td,
.catalog-tech-block th {
  color: #38414a;
}

.catalog-tech-block blockquote {
  background: #f4f0e7;
  border-left: 4px solid var(--gold);
  color: #272d34;
  font-weight: 700;
  margin: 1.4rem 0 0;
  padding: 0.9rem 1rem;
}

.catalog-table {
  --bs-table-bg: #f8fafb;
  --bs-table-color: #313942;
  border-color: rgba(11, 15, 20, 0.12);
  margin-bottom: 0.8rem;
}

.product-content-stack .table-responsive {
  max-width: 100%;
  overflow-x: auto;
}

.catalog-table th {
  color: var(--ink);
  width: 48%;
}

.spin-controls {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
}

.related-products {
  margin: 0 auto;
  max-width: 1360px;
  padding: 0 clamp(1rem, 3vw, 2.4rem) 4rem;
}

.related-heading {
  margin-bottom: 1.2rem;
}

.related-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0;
}

.related-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.related-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(11, 15, 20, 0.1);
  box-shadow: 0 12px 30px rgba(11, 15, 20, 0.08);
  color: var(--ink);
  display: grid;
  gap: 0.7rem;
  min-height: 190px;
  padding: 1rem;
  text-align: center;
}

.related-card img {
  height: 110px;
  justify-self: center;
  object-fit: contain;
}

.related-card span {
  font-weight: 800;
}

.related-card:hover {
  color: var(--red);
  transform: translateY(-3px);
}

.card {
  border-radius: 0;
  overflow: hidden;
}

.card-body {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 210px;
}

.card-body img {
  max-height: 250px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.card:hover .card-body img {
  transform: scale(1.035);
}

.card-footer {
  background: #fff;
  border-top: 1px solid rgba(11, 15, 20, 0.08);
  padding: 0 !important;
}

.links {
  color: var(--ink) !important;
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  padding: 0.9rem;
  text-align: center;
}

.links:hover {
  color: var(--red) !important;
}

.jumbotron {
  border-radius: 0;
  margin-bottom: 1.5rem;
  padding: 1.4rem !important;
}

.action-btn {
  background: var(--carbon);
  border: 0;
  color: #fff;
  margin: 0.2rem;
}

.action-btn:hover {
  background: var(--red);
  color: #fff;
}

.img-thumbnail {
  border-radius: 0;
  border-color: rgba(11, 15, 20, 0.14);
}

.galeria-eventos,
.gallery {
  margin-bottom: 1.5rem;
}

.galeria-eventos > a,
.gallery .card {
  display: block;
}

.galeria-eventos img,
.gallery img.img-thumbnail {
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.galeria-eventos img:hover,
.gallery img.img-thumbnail:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.events-index {
  margin: 0 auto;
  max-width: 1360px;
  padding: 1.6rem clamp(1rem, 3vw, 2.4rem) 4.5rem;
}

.events-hero {
  align-items: end;
  background:
    linear-gradient(110deg, rgba(9, 13, 18, 0.96), rgba(31, 41, 52, 0.9)),
    var(--ferlex-banner-industrial, url('https://cdn.ferlex.com.br/images/banner2.webp')) center / cover;
  color: #fff;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1rem;
  min-height: 260px;
  overflow: hidden;
  padding: clamp(1.5rem, 3.2vw, 3rem);
  position: relative;
}

.events-hero::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: '';
  inset: 0;
  mask-image: linear-gradient(90deg, black, transparent 82%);
  pointer-events: none;
  position: absolute;
}

.events-hero > * {
  position: relative;
  z-index: 1;
}

.events-hero .eyebrow {
  align-self: start;
  grid-column: 1 / -1;
}

.events-hero h1 {
  border: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 4.7rem);
  margin: 0 0 0.8rem;
  padding: 0;
}

.events-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin: 0;
  max-width: 760px;
}

.events-hero strong {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.75rem 0.9rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.events-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 15, 20, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(11, 15, 20, 0.1);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.event-card:hover,
.event-card:focus-within {
  border-color: rgba(200, 32, 42, 0.3);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.event-card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #161d25, #eef1f3);
  display: block;
  overflow: hidden;
}

.event-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.event-card:hover .event-card-media img,
.event-card:focus-within .event-card-media img {
  transform: scale(1.04);
}

.event-card-body {
  display: grid;
  gap: 0.5rem;
  min-height: 160px;
  padding: 1rem;
}

.event-card-body span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-card-body h2 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0;
}

.event-card-body h2 a {
  color: var(--ink);
}

.event-card-body h2 a:hover,
.event-card-body h2 a:focus {
  color: var(--red);
}

.event-card-body .technical-link {
  align-self: end;
  color: var(--steel);
}

.event-detail {
  margin: 0 auto;
  max-width: 1360px;
  padding: 1.6rem clamp(1rem, 3vw, 2.4rem) 4.5rem;
}

.event-detail-heading {
  margin-bottom: 1.2rem;
}

.event-detail-heading h1 {
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
  margin: 0.45rem 0 0;
  padding-bottom: 1rem;
}

.event-video {
  background:
    linear-gradient(110deg, rgba(9, 13, 18, 0.97), rgba(31, 41, 52, 0.92)),
    var(--ferlex-banner-industrial, url('https://cdn.ferlex.com.br/images/banner2.webp')) center / cover;
  box-shadow: var(--shadow-soft);
  color: #fff;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  margin: 0 0 1.4rem;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.event-video::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: '';
  inset: 0;
  mask-image: linear-gradient(90deg, black, transparent 82%);
  pointer-events: none;
  position: absolute;
}

.event-video-copy,
.event-video-frame {
  position: relative;
  z-index: 1;
}

.event-video-copy {
  align-self: center;
  padding: clamp(1rem, 2vw, 1.6rem);
}

.event-video-copy span {
  color: var(--gold);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.event-video-copy strong {
  color: #fff;
  display: block;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.12;
}

.event-video-frame {
  aspect-ratio: 16 / 9;
  background: #080b0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.event-video-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.event-gallery-grid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.gallery-index {
  margin: 0 auto;
  max-width: 1360px;
  padding: 1.6rem clamp(1rem, 3vw, 2.4rem) 4.5rem;
}

.gallery-hero {
  align-items: end;
  background:
    linear-gradient(110deg, rgba(9, 13, 18, 0.96), rgba(31, 41, 52, 0.9)),
    var(--ferlex-banner-industrial, url('https://cdn.ferlex.com.br/images/banner2.webp')) center / cover;
  color: #fff;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1rem;
  min-height: 280px;
  overflow: hidden;
  padding: clamp(1.5rem, 3.2vw, 3rem);
  position: relative;
}

.gallery-hero::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: '';
  inset: 0;
  mask-image: linear-gradient(90deg, black, transparent 82%);
  pointer-events: none;
  position: absolute;
}

.gallery-hero > * {
  position: relative;
  z-index: 1;
}

.gallery-hero .eyebrow {
  align-self: start;
  grid-column: 1 / -1;
}

.gallery-hero h1 {
  border: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 4.7rem);
  margin: 0 0 0.8rem;
  padding: 0;
}

.gallery-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin: 0;
  max-width: 760px;
}

.gallery-hero strong {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--gold-soft);
  font-size: 0.82rem;
  padding: 0.75rem 0.9rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-filter {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 15, 20, 0.1);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  padding: 0.8rem;
}

.gallery-filter > span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  margin-right: 0.25rem;
  text-transform: uppercase;
}

.gallery-filter .action-btn {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(11, 15, 20, 0.14);
  border-radius: 999px;
  color: var(--steel);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
}

.gallery-filter .action-btn:hover,
.gallery-filter .action-btn:focus,
.gallery-filter .action-btn.selected {
  background: var(--carbon);
  border-color: var(--carbon);
  color: #fff;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  margin: 0;
  min-width: 0;
}

.gallery-card-link {
  color: var(--ink);
  display: block;
  height: 100%;
}

.gallery-card-link:hover {
  color: var(--red);
}

.gallery-card figure {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 15, 20, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(11, 15, 20, 0.1);
  display: grid;
  gap: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.gallery-card-link:hover figure,
.gallery-card-link:focus figure {
  border-color: rgba(200, 32, 42, 0.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.gallery-media {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(244, 246, 247, 0.96), rgba(226, 231, 235, 0.96));
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.3s ease;
  width: 100%;
}

.gallery-card-link:hover .gallery-media img,
.gallery-card-link:focus .gallery-media img {
  transform: scale(1.045);
}

.gallery-card figcaption {
  display: grid;
  gap: 0.35rem;
  min-height: 112px;
  padding: 1rem;
}

.gallery-card figcaption span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-card figcaption strong {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.28;
}

.gallery-detail-page {
  padding-bottom: 4.5rem;
}

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

.gallery-detail-card figure {
  min-height: 100%;
}

.gallery-detail-card .gallery-media {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.gallery-detail-card .gallery-media img {
  object-position: center;
}

.centro {
  display: block;
  margin: 0 auto;
}

.site-footer {
  background: #07090d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.7fr;
}

.footer-logo {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  padding: 0.5rem 0.7rem;
  width: 160px;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-link {
  display: block;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.footer-seal-wrap {
  align-self: stretch;
}

.footer-age-badge {
  align-content: center;
  background:
    linear-gradient(145deg, rgba(200, 32, 42, 0.18), rgba(202, 166, 100, 0.12)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: grid;
  min-height: 150px;
  padding: 1rem;
}

.footer-age-badge span {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-age-badge strong {
  color: #fff;
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.footer-age-badge small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-seal {
  max-height: 150px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  margin: 2.5rem 0 0;
  padding-top: 1.2rem;
  text-align: center;
}

.media-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 2rem;
  position: fixed;
  z-index: 2000;
}

.has-open-lightbox {
  overflow: hidden;
}

.media-lightbox[aria-hidden="false"] {
  display: flex;
}

.media-lightbox-frame {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  margin: 0;
  max-width: min(1180px, calc(100vw - 9rem));
  position: relative;
}

.media-lightbox-frame img {
  background: #111820;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  max-height: calc(100vh - 8rem);
  max-width: 100%;
  object-fit: contain;
}

.media-lightbox-frame figcaption {
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  font-size: 0.92rem;
  gap: 1rem;
  justify-content: center;
  max-width: min(760px, 100%);
  text-align: center;
}

.media-lightbox-caption {
  color: #fff;
  font-weight: 800;
}

.media-lightbox-count {
  color: var(--gold-soft);
  font-weight: 800;
  white-space: nowrap;
}

.media-lightbox-close {
  background: #fff;
  border: 0;
  border-radius: 50%;
  color: #000;
  font-size: 2rem;
  height: 44px;
  line-height: 1;
  position: fixed;
  right: 1.5rem;
  top: 1.5rem;
  width: 44px;
}

.media-lightbox-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.4rem;
  height: 52px;
  justify-content: center;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
  width: 52px;
  z-index: 2001;
}

.media-lightbox-nav:hover,
.media-lightbox-nav:focus,
.media-lightbox-close:hover,
.media-lightbox-close:focus {
  background: var(--gold-soft);
}

.media-lightbox-nav:hover,
.media-lightbox-nav:focus {
  transform: translateY(-50%) scale(1.04);
}

.media-lightbox-prev {
  left: 1.5rem;
}

.media-lightbox-next {
  right: 1.5rem;
}

@media (min-width: 1200px) {
  .navbar-expand-xl {
    flex-wrap: nowrap;
  }

  .navbar-expand-xl .navbar-toggler {
    display: none;
  }

  .navbar-expand-xl .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-xl .navbar-nav {
    flex-direction: row;
    justify-content: flex-end;
    max-width: 100%;
  }

  .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .main-nav .dropdown-menu {
    top: calc(100% + 0.15rem);
  }

  .dropdown-mega-end > .mega-menu {
    left: auto;
    right: 0;
  }
}

@media (max-width: 1199px) {
  .main-nav {
    min-height: 76px;
  }

  .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.9rem;
    padding-top: 0.9rem;
  }

  .nav-cta {
    margin: 0.8rem 0 0;
  }

  .language-switcher {
    margin: 0.7rem 0 0;
    width: fit-content;
  }

  .premium-menu,
  .mega-menu {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    min-width: 0;
    width: 100%;
  }

  .dropdown-mega .dropdown-menu.show,
  .dropdown-mega:hover .dropdown-menu {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mega-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .hero-industrial,
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: auto;
    min-height: 720px;
  }

  .hero-carousel img {
    min-height: 720px;
  }

  .hero-industrial-content {
    top: 44%;
  }

  .hero-spec-panel {
    grid-template-columns: 1fr;
    left: 1.2rem;
    right: 1.2rem;
    width: auto;
  }

  .hero-spec-panel div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 0;
    padding: 0.85rem 1rem;
  }

  .section-shell,
  .solutions-grid,
  .capabilities-band,
  .final-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-card-large {
    min-height: 520px;
  }

  .solution-card {
    min-height: 430px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card {
    position: static;
    margin-bottom: 1rem;
  }

  .product-detail {
    padding-inline: 1rem;
  }

  .product-hero {
    gap: 0;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-hero-copy {
    padding: 2rem;
  }

  .product-hero h1 {
    font-size: clamp(2.1rem, 9vw, 3.5rem);
    letter-spacing: 0;
  }

  .product-hero-media {
    margin: 0 1.25rem 1.25rem;
    min-height: 280px;
  }

  .product-hero-media img {
    max-height: 280px;
  }

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

  .product-side-panel {
    position: static;
    width: 100%;
  }

  .product-content-stack {
    min-width: 0;
    width: 100%;
  }

  .product-section,
  .product-catalog {
    padding: 1.5rem;
  }

  .catalog-tech-block {
    margin-inline: 0;
  }

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

  .event-video {
    grid-template-columns: 1fr;
  }

  .event-video-copy {
    padding-bottom: 0;
  }

  .events-hero {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .events-hero strong {
    justify-self: start;
  }

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

  .gallery-hero {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .gallery-hero strong {
    justify-self: start;
  }

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

@media (max-width: 575px) {
  .top-strip {
    display: none;
  }

  .main-nav {
    min-height: 68px;
  }

  .navbar-brand img {
    width: 132px;
  }

  .hero-industrial,
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    min-height: 690px;
  }

  .hero-carousel img {
    min-height: 690px;
  }

  .hero-industrial-content {
    left: 1.1rem;
    right: 1.1rem;
    top: 40%;
  }

  .hero-industrial h1 {
    font-size: 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-spec-panel {
    bottom: 1rem;
  }

  .section-shell,
  .solutions-grid,
  .capabilities-band,
  .final-cta,
  .page-heading,
  .contact-layout,
  .form-panel,
  .product-page,
  .related-products,
  .row:has(.gallery),
  .row:has(.galeria-eventos) {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .product-text li,
  .catalog-tech-block li {
    padding-right: 0.8rem;
  }

  .ferlex-content-gallery {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .event-detail {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .event-detail-heading h1 {
    font-size: 2.2rem;
  }

  .events-index {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .events-hero {
    min-height: 0;
    padding: 1.35rem;
  }

  .events-hero h1 {
    font-size: 2.2rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card-body {
    min-height: 0;
  }

  .event-video {
    padding: 0.8rem;
  }

  .event-video-copy {
    padding: 0.8rem 0.65rem 0;
  }

  .gallery-index {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gallery-hero {
    min-height: 0;
    padding: 1.35rem;
  }

  .gallery-hero h1 {
    font-size: 2.2rem;
  }

  .gallery-filter {
    align-items: stretch;
  }

  .gallery-filter > span,
  .gallery-filter .action-btn {
    width: 100%;
  }

  .gallery-filter .action-btn {
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid.gallery-detail-grid {
    grid-template-columns: 1fr;
  }

  .media-lightbox {
    padding: 1rem;
  }

  .media-lightbox-frame {
    max-width: calc(100vw - 2rem);
  }

  .media-lightbox-frame img {
    max-height: calc(100vh - 9rem);
  }

  .media-lightbox-frame figcaption {
    align-items: center;
    flex-direction: column;
    gap: 0.2rem;
  }

  .media-lightbox-close {
    height: 40px;
    right: 0.8rem;
    top: 0.8rem;
    width: 40px;
  }

  .media-lightbox-nav {
    bottom: 0.8rem;
    top: auto;
    transform: none;
  }

  .media-lightbox-nav:hover,
  .media-lightbox-nav:focus {
    transform: scale(1.04);
  }

  .media-lightbox-prev {
    left: calc(50% - 62px);
  }

  .media-lightbox-next {
    right: calc(50% - 62px);
  }
}
