/* ==========================================================================
   GF Raccordi — Theme
   ========================================================================== */
html * {-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}
:root {
  --color-primary: #9a8a3c;
  --color-primary-dark: #7c6e30;
  --color-primary-light: #f4f1e6;
  --color-dark: #1e1c16;
  --color-text: #4a473e;
  --color-muted: #837e6f;
  --color-border: #e6e2d3;
  --color-bg-alt: #faf9f5;
  --color-white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(30, 28, 22, 0.07);
  --header-height: 88px;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  font-size: 16px;
  line-height: 1.7;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.25;
}

a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { color: var(--color-primary); }

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

.container { max-width: 1320px; }

/* ==========================================================================
   Utilities
   ========================================================================== */

@media (min-width: 992px) {
  .py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
}

.text-primary-brand { color: var(--color-primary); }
.bg-alt { background: var(--color-bg-alt); }
.bg-primary-light { background: var(--color-primary-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.section-title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-bottom: 1rem; }
.section-subtitle { color: var(--color-muted); font-size: 1.05rem; max-width: 680px; }

/* Buttons */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  transition: all .25s ease;
}
.btn-brand:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: var(--color-white); }
.btn-brand-outline {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
  transition: all .25s ease;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
}
.btn-brand-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-brand svg, .btn-brand-outline svg { width: 16px; height: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 20px;
  z-index: 1000;
  height: 0;
  overflow: visible;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 100px;
  padding: .4rem 1rem .4rem 1rem;
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck .header-inner {
  background: rgba(255,255,255,.98);
  box-shadow: 0 16px 36px rgba(30,28,22,.16);
}
@media (max-width: 767.98px) {
  .site-header { top: 12px; }
  .site-header .header-inner { padding: .4rem .7rem .4rem 0.6rem; border-radius: 60px; min-height: 62px; }
}
.brand-logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); }
.brand-logo img { height: 60px; width: auto; }
.brand-logo span { font-size: 1.05rem; letter-spacing: .02em; }
@media (max-width: 767.98px) {
  .brand-logo img { height: 46px; }
}

.main-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; margin-right: 2rem; }
.main-nav ul { display: flex; gap: 1.7rem; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-dark);
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav li.active > a,
.main-nav a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.main-nav li.has-children { position: relative; }
.main-nav .submenu {
  display: block;
  position: absolute;
  top: 125%;
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .5rem;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
}
.main-nav li.has-children:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .submenu a { display: block; padding: .5rem .7rem; border-radius: 6px; border-bottom: none; }
.main-nav .submenu a:hover { background: var(--color-primary-light); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  padding: .4rem;
  cursor: pointer;
}
.hamburger span { width: 26px; height: 3px; background: var(--color-dark); border-radius: 999px; display: block; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  background: var(--color-white);
  box-shadow: -10px 0 30px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1200;
  overflow-y: auto;
  padding: 1.5rem;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.mobile-nav li { border-bottom: 1px solid var(--color-border); }
.mobile-nav a { display: block; padding: .85rem .2rem; font-family: var(--font-heading); font-weight: 600; color: var(--color-dark); }
.mobile-nav-close { border: none; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.mobile-nav .btn-brand { display: flex; justify-content: center; color: var(--color-white); }
.mobile-nav .btn-brand:hover { color: var(--color-white); }

.mobile-nav-item-row { display: flex; align-items: center; }
.mobile-nav-item-row a { flex: 1; }
.mobile-nav-toggle {
  border: none;
  background: none;
  padding: .85rem .2rem;
  color: var(--color-dark);
  cursor: pointer;
  transition: transform .25s ease;
}
.mobile-nav-toggle svg { display: block; }
.mobile-nav-has-children.is-open .mobile-nav-toggle { transform: rotate(180deg); }
.mobile-nav .mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mobile-nav-has-children.is-open .mobile-submenu { max-height: 600px; }
.mobile-submenu li { border-bottom: none; }
.mobile-submenu a { padding: .6rem .2rem .6rem 1.2rem; font-size: .9rem; font-weight: 500; color: var(--color-primary-dark); }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 1100;
}
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 991.98px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { margin-left: auto; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-dark);
  color: var(--color-white);
  overflow: hidden;
}
@supports (height: 100dvh) {
  .hero { height: 100dvh; min-height: 100dvh; }
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-slide > .container { width: 100%; }
.hero-slide.is-active { opacity: 1; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,13,9,.88) 0%, rgba(15,13,9,.55) 55%, rgba(15,13,9,.25) 100%),
    linear-gradient(0deg, rgba(15,13,9,.35) 0%, rgba(15,13,9,0) 35%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 6rem 0; }
.hero-content .eyebrow {
  color: #f0e6bf;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(240,230,191,.35);
  border-radius: 999px;
  padding: .4rem 1rem .4rem .7rem;
}
.hero-content .eyebrow::before { background: #f0e6bf; }
.hero-content h1,
.hero-content .hero-title {
  color: var(--color-white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  text-shadow: 0 4px 28px rgba(0,0,0,.35);
}
.hero-content p { color: rgba(255,255,255,.88); font-size: 1.2rem; line-height: 1.7; max-width: 720px; margin-bottom: 2.1rem; }
.hero-content .btn-brand { padding: 1rem 2rem; font-size: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero-content .btn-brand:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.32); }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); -webkit-transform: translateY(26px); -moz-transform: translateY(26px); -ms-transform: translateY(26px); -o-transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-slide.is-active .hero-content > * { animation: heroFadeUp .8s ease both; }
.hero-slide.is-active .hero-content > *:nth-child(1) { animation-delay: .05s; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .18s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: .42s; }
.hero-arrows { position: absolute; z-index: 3; top: 50%; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 1.2rem; transform: translateY(-50%); pointer-events: none; }
.hero-arrow {
  pointer-events: auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.hero-arrow:hover { background: var(--color-primary); border-color: var(--color-primary); }

@media (max-width: 767.98px) {
  .hero-content { padding: 4rem 0 3rem; }
  .hero-arrows { display: none; }
  .hero-content .eyebrow { display: none; }
}

/* ==========================================================================
   Split section (foto + testo)
   ========================================================================== */

.split-section .split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.split-section .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-section .split-content { padding-top: 1rem; padding-bottom: 1rem; }
@media (max-width: 767.98px) {
  .split-section .split-content { padding-left: 2rem; padding-right: 2rem; }
}

.icon-badge {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge-check {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: 3px solid var(--color-white);
  display: flex; align-items: center; justify-content: center;
}
.icon-badge-check svg { width: 14px; height: 14px; }

/* ==========================================================================
   Assembly / CTA band
   ========================================================================== */

.cta-band {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(120deg, var(--color-dark) 0%, #33301f 100%);
  color: var(--color-white);
  padding: 3rem;
}
.cta-band .eyebrow { color: #e6dcb0; }
.cta-band .eyebrow::before { background: #e6dcb0; }
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255,255,255,.82); }
@media (max-width: 767.98px) { .cta-band { padding: 2rem 1.5rem; text-align: center; } }

.cta-band--assembly {
  background-color: var(--color-dark);
  background-size: cover;
  background-position: center;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 3.5rem;
  box-shadow: 0 20px 50px rgba(15,13,9,.25);
  transition: box-shadow .3s ease;
}
.cta-band--assembly::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(15,13,9,.92) 0%, rgba(15,13,9,.68) 48%, rgba(15,13,9,.3) 100%),
    linear-gradient(0deg, rgba(15,13,9,.35) 0%, rgba(15,13,9,0) 45%);
}
.cta-band--assembly:hover { box-shadow: 0 24px 60px rgba(15,13,9,.35); }
.cta-band--assembly > .row { position: relative; z-index: 1; width: 100%; }
.cta-band--assembly .eyebrow { color: #e6dcb0; }
.cta-band--assembly .eyebrow::before { background: #e6dcb0; }
.cta-band--assembly h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  text-shadow: 0 4px 22px rgba(0,0,0,.35);
}
.cta-band--assembly p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
@media (max-width: 767.98px) {
  .cta-band--assembly { min-height: 0; padding: 2.5rem 1.5rem; text-align: center; background-position: center top; }
}

.cta-impact {
  position: relative;
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 5rem 0;
  overflow: hidden;
}
.cta-impact::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-impact .container { position: relative; z-index: 1; }
.cta-impact .eyebrow { color: rgba(30,28,22,.7); }
.cta-impact .eyebrow::before { background: rgba(30,28,22,.7); }
.cta-impact h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 .8rem;
}
.cta-impact p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin: 0; }
.btn-brand-light {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  transition: all .25s ease;
}
.btn-brand-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.3); color: var(--color-dark); }
.btn-brand-light svg { width: 16px; height: 16px; }
@media (max-width: 767.98px) { .cta-impact { padding: 2rem 1.5rem; text-align: center; } .cta-impact .col-lg-4 { margin-top: .5rem; } }

/* ==========================================================================
   Cards: catalog grid
   ========================================================================== */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 991.98px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .card-grid { grid-template-columns: 1fr; } }

.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .card-grid-4 { grid-template-columns: 1fr; } }

.catalog-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-dark);
  box-shadow: 0 6px 20px rgba(30, 28, 22, .1);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s cubic-bezier(.22,1,.36,1);
}
.catalog-card:hover,
.catalog-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(30, 28, 22, .22);
}
.catalog-card-media { position: absolute; inset: 0; background: var(--color-bg-alt); }
.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.catalog-card-contain .catalog-card-media { background: var(--color-white); padding: 1.8rem; }
.catalog-card-contain .catalog-card-media img { object-fit: contain; }
.catalog-card:hover .catalog-card-media img,
.catalog-card:focus-visible .catalog-card-media img { transform: scale(1.14); }
.catalog-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(154,138,60,.22) 0%, rgba(30,28,22,0) 45%),
    linear-gradient(0deg, rgba(20,18,14,.92) 0%, rgba(20,18,14,.55) 32%, rgba(20,18,14,.05) 62%, rgba(20,18,14,0) 100%);
  transition: opacity .45s ease;
}
.catalog-card:hover .catalog-card-overlay,
.catalog-card:focus-visible .catalog-card-overlay {
  opacity: 1;
  background:
    linear-gradient(160deg, rgba(154,138,60,.4) 0%, rgba(30,28,22,0) 55%),
    linear-gradient(0deg, rgba(20,18,14,.96) 0%, rgba(20,18,14,.65) 40%, rgba(20,18,14,.1) 68%, rgba(20,18,14,0) 100%);
}
.catalog-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
  z-index: 2;
  transform: translateY(6px);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.catalog-card:hover .catalog-card-body,
.catalog-card:focus-visible .catalog-card-body { transform: translateY(0); }
.catalog-card h3 { color: var(--color-white); font-size: 1.5rem; margin-bottom: 0; transition: margin-bottom .35s ease; }
.catalog-card:hover h3, .catalog-card:focus-visible h3 { margin-bottom: .5rem; }
.catalog-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .3s ease;
}
.catalog-card:hover p, .catalog-card:focus-visible p { max-height: 5.5rem; opacity: 1; transition: max-height .4s ease, opacity .3s ease .1s; }
.catalog-card-arrow {
  position: absolute;
  right: 1.4rem;
  bottom: 1.5rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(6px, 6px) scale(.85);
  transition: all .4s cubic-bezier(.22,1,.36,1);
}
.catalog-card:hover .catalog-card-arrow,
.catalog-card:focus-visible .catalog-card-arrow { opacity: 1; transform: translate(0, 0) scale(1); }
@media (max-width: 575.98px) {
  .catalog-card { aspect-ratio: 1 / 1; }
  .catalog-card h3 { font-size: 1.7rem; }
  .catalog-card-body { padding: 1.5rem 1rem; }
  .catalog-card p { font-size: .95rem; max-height: 5.5rem; opacity: 1; }
  .catalog-card-arrow { opacity: 1; transform: translate(0, 0) scale(.9); width: 32px; height: 32px; right: 1.2rem; bottom: 1.3rem; }
}

.related-carousel-nav { display: inline-flex; gap: .7rem; }
.related-carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.related-carousel-arrow:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.related-carousel-track {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: .5rem;
  scrollbar-width: none;
  margin-bottom: -.5rem;
}
.related-carousel-track::-webkit-scrollbar { display: none; }
.related-carousel-item {
  flex: 0 0 calc((100% - 3 * 1.6rem) / 4);
  scroll-snap-align: start;
}
@media (max-width: 991.98px) {
  .related-carousel-item { flex-basis: calc((100% - 1.6rem) / 2); }
}
@media (max-width: 575.98px) {
  .related-carousel-item { flex-basis: 78%; }
}

/* ==========================================================================
   Contact info boxes
   ========================================================================== */

.contact-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  text-align: center;
  padding: 1.6rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: all .25s ease;
}
.contact-info-box:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.contact-info-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-info-box__icon svg { width: 32px; height: 32px; }
.contact-info-box__body { display: flex; flex-direction: column; gap: .2rem; }
.contact-info-box__label { font-family: var(--font-heading); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); }
.contact-info-box__value { color: var(--color-text); font-size: .95rem; font-weight: 700; word-break: break-word; }

/* ==========================================================================
   Product detail
   ========================================================================== */

.product-gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--color-bg-alt); aspect-ratio: 1/1; margin-bottom: .8rem; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.product-gallery-thumbs { display: flex; gap: .6rem; flex-wrap: wrap; }
.product-gallery-thumbs button {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 72px; height: 72px;
  padding: 0;
  overflow: hidden;
  background: var(--color-bg-alt);
  cursor: pointer;
}
.product-gallery-thumbs button.is-active { border-color: var(--color-primary); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.spec-table-hint {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-muted);
  font-size: .82rem;
  margin-bottom: .6rem;
}
.spec-table-hint svg { color: var(--color-primary); flex-shrink: 0; }
.spec-table table { width: 100%; border-collapse: collapse; }
.spec-table table th, .spec-table table td { border: 1px solid var(--color-border); padding: .65rem .9rem; font-size: .92rem; }
.spec-table table th { background: var(--color-bg-alt); font-family: var(--font-heading); text-align: left; }
@media (max-width: 767.98px) {
  .spec-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .spec-table table { width: max-content; min-width: 100%; }
  .spec-table table th, .spec-table table td { white-space: nowrap; }
}

.doc-download {
  display: flex; align-items: center; gap: .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  background: var(--color-bg-alt);
}
.doc-download .icon-badge { margin: 0; width: 46px; height: 46px; }
.doc-download .icon-badge svg { width: 20px; height: 20px; }

.video-embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: var(--color-dark); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Breadcrumbs / page banner
   ========================================================================== */

.page-banner {
  background: var(--color-primary-light);
  height: 66.67vh;
  min-height: 66.67vh;
  display: flex;
  align-items: flex-end;
}
@supports (height: 100dvh) {
  .page-banner { height: 66.67dvh; min-height: 66.67dvh; }
}
.page-banner .hero-content { padding: 0 0 4rem; }
.page-banner .breadcrumbs { margin-bottom: 1rem; }
@media (max-width: 767.98px) {
  .page-banner .hero-content { padding: 0 0 2.5rem; }
}
.header-clearance { padding-top: 9.5rem; }
.breadcrumbs { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--color-muted); flex-wrap: wrap; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--color-border); }
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }

/* ==========================================================================
   Generic content section
   ========================================================================== */

.rich-text :is(h2, h4) { margin-top: 1.6rem; }
.rich-text h3 { margin-top: 0; margin-bottom: 1.2rem; }
.rich-text p { margin-bottom: 1.1rem; }
.rich-text ul { padding-left: 1.2rem; }
.rich-text li { margin-bottom: .4rem; }

@media (min-width: 992px) {
  .rich-text-columns {
    column-count: 2;
    column-gap: 3rem;
  }
  .rich-text-columns :is(h2, h3, h4, ul, li, blockquote, img) { break-inside: avoid; }
  .rich-text-columns > :first-child { margin-top: 0; }
}

.media-gallery-main {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  margin-bottom: 1rem;
  cursor: zoom-in;
}
.media-gallery-4x3 .media-gallery-main { aspect-ratio: 4 / 3; }
.media-gallery-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .6s ease;
}
.media-gallery-slide.is-active { opacity: 1; }
.media-gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(30,28,22,.35);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.media-gallery-arrow.prev { left: 12px; }
.media-gallery-arrow.next { right: 12px; }
.media-gallery-arrow:hover { background: var(--color-primary); border-color: var(--color-primary); }
.media-gallery-thumbs { display: flex; flex-wrap: wrap; gap: .8rem; }
.media-gallery-thumbs button {
  width: 90px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: .55;
  transition: all .2s ease;
  flex-shrink: 0;
}
.media-gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-gallery-thumbs button.is-active, .media-gallery-thumbs button:hover { opacity: 1; border-color: var(--color-primary); }
@media (max-width: 767.98px) {
  .media-gallery-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .2rem;
  }
  .media-gallery-thumbs::-webkit-scrollbar { display: none; }
  .media-gallery-thumbs button { width: 64px; height: 46px; }
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-brand label { font-family: var(--font-heading); font-weight: 600; font-size: .88rem; margin-bottom: .4rem; }
.form-brand .form-control, .form-brand .form-select {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: .7rem .9rem;
}
.form-brand .form-control:focus, .form-brand .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.form-brand [js-bind="phone"] select { display: none; }

.alert-danger {
  --bs-alert-color: #fff;
  --bs-alert-bg: #dc3545;
  --bs-alert-border-color: #dc3545;
  font-weight: 700;
}
.alert-danger .alert-link { color: #fff; }
.alert-danger .alert-close {
  background: none;
  border: 0;
  padding: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--color-dark); color: rgba(255,255,255,.75); padding: 4.5rem 0 2rem; }
.site-footer h4 { color: var(--color-white); font-size: 1.05rem; margin-bottom: 1.2rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--color-primary); }
.site-footer .footer-logo { height: 110px; filter: brightness(0) invert(1); }
.site-footer .footer-iso-logo { height: 110px; width: auto; }
.site-footer .footer-contact li { display: flex; gap: 1rem; margin-bottom: 1.1rem; align-items: center; }
.site-footer .footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}
.site-footer .footer-contact svg { width: 22px; height: 22px; color: var(--color-primary); }
.site-footer .footer-menu-cols { display: flex; gap: 2.5rem; }
.site-footer ul.footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer ul.footer-links li { margin-bottom: .7rem; }
@media (min-width: 992px) {
  .site-footer .footer-contacts-col { min-width: 260px; }
  .site-footer .footer-menu-col { min-width: 340px; }
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 991.98px) {
  .site-footer .footer-logo-col { display: none; }
  .site-footer [class^="col-lg-"] { text-align: center; }
  .site-footer .footer-menu-cols { justify-content: center; text-align: left; }
  .site-footer .footer-contacts-col {
    text-align: left;
    padding-left: 4.7rem;
    padding-right: 4.7rem;
  }
    .site-footer .footer-contacts-col h4 {
    text-align: center;
  }
  .site-footer .footer-contact li { justify-content: flex-start; }
}
@media (max-width: 767.98px) {
  .footer-bottom { flex-direction: column; align-items: stretch; }
  .footer-bottom span { text-align: center; }
  .footer-bottom .d-flex { width: 100%; }
  .footer-bottom .lang-dropdown { margin-left: auto; }
}

.lang-dropdown .dropdown-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: .3rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
}
.lang-dropdown .dropdown-toggle:hover,
.lang-dropdown .dropdown-toggle:focus { border-color: var(--color-primary); color: var(--color-white); }
.lang-dropdown .dropdown-toggle::after { margin-left: .5rem; vertical-align: .1em; }
.lang-dropdown .dropdown-menu { min-width: 100px; padding: .4rem; border-radius: 10px; }
.lang-dropdown .dropdown-item { border-radius: 6px; font-weight: 600; font-size: .85rem; color: var(--color-dark); }
.lang-dropdown .dropdown-item.active, .lang-dropdown .dropdown-item:active { background: var(--color-primary); color: var(--color-white); }
.lang-dropdown .dropdown-item:hover { background: var(--color-primary-light); color: var(--color-dark); }

.footer-legal-bar { background: #000; padding: 1.2rem 0; }
.footer-legal-bar .container { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.footer-legal-bar #cookies-manager-list-of-choices-made { color: rgba(255,255,255,.7); font-size: .8rem; }
@media (max-width: 767.98px) {
  .footer-legal-bar #cookies-manager-list-of-choices-made { width: 100%; align-self: stretch; }
  #cookies-manager-list-of-choices-made #cookies_preferences_wrapper #cookies_preferences_content {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  #cookies-manager-list-of-choices-made #cookies_preferences_wrapper .cookies_preferences_row {
    flex: 0 0 auto !important;
  }
}

.back-to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-primary); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
  z-index: 900;
  cursor: pointer;
  border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   Utility fade-in
   ========================================================================== */

[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   CTA contact modal
   ========================================================================== */

@media (min-width: 992px) {
  #ctaContactModal .modal-header { padding: 2rem 2.5rem 1rem; }
  #ctaContactModal .modal-body { padding: 1rem 2.5rem 2.5rem; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(20,18,14,.94);
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-image { max-width: 90vw; max-height: 80vh; object-fit: contain; display: block; border-radius: 4px; }
.lightbox-caption { color: var(--color-white); text-align: center; margin-top: 1rem; font-size: .9rem; opacity: .8; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  color: var(--color-white);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.lightbox-close:hover { background: var(--color-primary); border-color: var(--color-primary); }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.lightbox-arrow.prev { left: 16px; }
.lightbox-arrow.next { right: 16px; }
.lightbox-arrow:hover { background: var(--color-primary); border-color: var(--color-primary); }
@media (max-width: 575.98px) {
  .lightbox-arrow { width: 38px; height: 38px; }
  .lightbox-close { width: 38px; height: 38px; top: 12px; right: 12px; }
}
.grecaptcha-badge {
  display: none !important;
}
