/* DBF Trading — Industrial minimalist, cPanel-ready static site */
:root {
  --dbf-blue: #003366;
  --dbf-blue-dark: #00264d;
  --brand-construction-blue: #0a3a64;
  --brand-industrial-gray: #5a5a5c;
  --steel: #5c6770;
  --steel-light: #8a9399;
  --white: #ffffff;
  --off-white: #f4f6f8;
  --text: #1a1f24;
  --shadow: rgba(0, 51, 102, 0.12);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 5.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--dbf-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

/* —— Top bar —— */
.top-bar {
  background: var(--dbf-blue-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  padding: 0.4rem 0;
}

.top-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.top-bar a {
  color: inherit;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
  color: #fff;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  overflow: hidden;
}

.lang-toggle .lang-switch {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.lang-toggle .lang-switch:hover {
  color: #fff;
}

.lang-toggle .lang-switch[aria-current="page"] {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.lang-toggle .lang-switch:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.dbf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 51, 102, 0.08);
  box-shadow: 0 4px 24px var(--shadow);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  text-decoration: none;
  color: var(--text);
  --logo-mark-w: 11rem;
}

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

/* Cap wide PNG lockups so the nav row stays usable; object-fit keeps artwork legible */
.logo-link__mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  max-width: min(11rem, 38vw);
  max-height: 3.75rem;
}

.logo-link__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 3.75rem;
  object-fit: contain;
  object-position: left center;
}

.logo-link__wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: max(var(--logo-mark-w), 17.5rem);
  min-width: min(17.5rem, 100%);
  flex-shrink: 0;
}

.logo-link__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.75rem, 2.85vw, 1rem);
  line-height: 1.15;
  letter-spacing: 0.045em;
  color: var(--brand-construction-blue);
  text-transform: uppercase;
  width: 100%;
}

.logo-link__sector {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.75rem, 2.85vw, 1rem);
  line-height: 1.15;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--brand-construction-blue);
  margin-top: 0.22rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 380px) {
  .logo-link__wordmark {
    width: 100%;
    min-width: 0;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-main .btn {
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .nav-main .btn {
    display: none;
  }
}

.nav-main__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  gap: 0.15rem;
}

@media (min-width: 900px) {
  .nav-main__list {
    display: flex;
  }
}

.nav-main__list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-main__list a:hover,
.nav-main__list a[aria-current="page"] {
  background: var(--off-white);
  color: var(--dbf-blue);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__btn {
  font: inherit;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown__btn:hover {
  background: var(--off-white);
  color: var(--dbf-blue);
}

.nav-dropdown__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  background: var(--white);
  border: 1px solid rgba(0, 51, 102, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 40px var(--shadow);
}

.nav-dropdown.is-open .nav-dropdown__panel {
  display: block;
}

.nav-dropdown__panel a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--text);
}

.nav-dropdown__panel a:hover {
  background: var(--off-white);
  color: var(--dbf-blue);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: var(--off-white);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dbf-blue);
  border-radius: 1px;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(0, 51, 102, 0.08);
  padding: 1rem 1.25rem 1.25rem;
  background: var(--white);
}

.mobile-nav.is-open {
  display: block;
}

@media (min-width: 900px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav a {
  display: block;
  padding: 0.65rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--off-white);
}

.mobile-nav a:hover {
  color: var(--dbf-blue);
}

.mobile-nav__dropdown {
  width: 100%;
}

.mobile-nav__dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 1px solid var(--off-white);
  text-align: left;
  cursor: pointer;
}

.mobile-nav__dropdown-btn:hover {
  color: var(--dbf-blue);
}

.mobile-nav__dropdown-btn::after {
  content: '▾';
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.mobile-nav__dropdown-btn.is-open::after {
  transform: rotate(180deg);
}

.mobile-nav__dropdown-panel {
  padding-left: 1.25rem;
  background: var(--off-white);
  border-radius: 6px;
  margin: 0.35rem 0;
}

.mobile-nav__dropdown-panel a {
  font-size: 0.8125rem;
  padding: 0.5rem 0.5rem;
  border-bottom: none;
}

.mobile-nav__dropdown-panel a:last-child {
  border-bottom: none;
}

/* —— Buttons (tactile 3D hover) —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    background 0.15s;
}

.btn--primary {
  background: linear-gradient(180deg, #004080 0%, var(--dbf-blue) 45%, #002a52 100%);
  color: var(--white);
  box-shadow:
    0 4px 0 #001a33,
    0 6px 16px rgba(0, 51, 102, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 #001a33,
    0 10px 24px rgba(0, 51, 102, 0.4);
}

.btn--primary:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 #001a33,
    0 4px 12px rgba(0, 51, 102, 0.3);
}

.btn--secondary {
  background: linear-gradient(180deg, #fff 0%, var(--off-white) 100%);
  color: var(--dbf-blue);
  border: 2px solid rgba(0, 51, 102, 0.2);
  box-shadow: 0 4px 0 rgba(0, 51, 102, 0.15), 0 4px 12px var(--shadow);
}

.btn--secondary:hover {
  transform: translateY(-2px);
  border-color: var(--dbf-blue);
}

.btn--secondary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(0, 51, 102, 0.15);
}

.btn--whatsapp {
  background: linear-gradient(180deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 4px 0 #0d6b5c, 0 6px 16px rgba(18, 140, 126, 0.35);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn--telegram {
  background: linear-gradient(180deg, #22aae8 0%, #0088cc 100%);
  color: #fff;
  box-shadow: 0 4px 0 #005a88, 0 6px 16px rgba(0, 136, 204, 0.35);
}

.btn--telegram:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* —— Layout —— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--off-white);
}

.section--parallax {
  position: relative;
  overflow: hidden;
  background: var(--dbf-blue);
  color: #fff;
}

.section--parallax .parallax-bg {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(135deg, rgba(0, 51, 102, 0.97) 0%, rgba(0, 38, 77, 0.98) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.03) 40px,
      rgba(255, 255, 255, 0.03) 41px
    );
  transform: translateZ(0);
  will-change: transform;
}

.section--parallax .container {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dbf-blue);
  margin: 0 0 0.75rem;
}

.section--parallax h1,
.section--parallax h2,
.section--parallax h3 {
  color: #fff;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.lead {
  font-size: 1.125rem;
  color: var(--steel);
  max-width: 42rem;
}

.section--parallax .lead {
  color: rgba(255, 255, 255, 0.88);
}

/* —— Hero carousel (below site header) —— */
.hero-carousel {
  position: relative;
  width: 100%;
  background: var(--dbf-blue-dark);
  outline: none;
}

.hero-carousel:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.hero-carousel__viewport {
  width: 100%;
  overflow: hidden;
  height: clamp(420px, 78vh, 880px);
  max-height: min(92vh, 920px);
}

@media (max-width: 599px) {
  .hero-carousel__viewport {
    height: clamp(380px, 62vh, 580px);
  }
}

.hero-carousel__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.65s var(--ease);
}

.hero-carousel__slide {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
}

.hero-carousel__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Per-slide focal point when the subject sits off-centre */
.hero-carousel__media--bottom {
  object-position: center 65%;
}

.hero-carousel__media--top {
  object-position: center 28%;
}

.hero-carousel__media--piping {
  filter: contrast(1.08) brightness(0.96) saturate(1.18);
  object-position: center 50%;
}

.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 26, 51, 0.78) 0%,
    rgba(0, 51, 102, 0.36) 48%,
    rgba(0, 40, 80, 0.12) 100%
  );
  pointer-events: none;
}

.hero-carousel__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-carousel__content-inner {
  max-width: 36rem;
}

.hero-carousel__content h2 {
  color: #fff;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-carousel__content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-carousel__content .btn {
  align-self: flex-start;
}

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 3.25rem;
  height: 3.25rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(228, 232, 238, 0.98) 100%);
  color: var(--dbf-blue);
  box-shadow:
    0 4px 0 rgba(0, 51, 102, 0.2),
    0 8px 28px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s;
}

.hero-carousel__arrow:hover {
  transform: translateY(-50%) translateY(-2px);
  box-shadow:
    0 6px 0 rgba(0, 51, 102, 0.22),
    0 12px 36px rgba(0, 0, 0, 0.28);
}

.hero-carousel__arrow:active {
  transform: translateY(-50%) translateY(1px);
}

.hero-carousel__arrow svg {
  width: 1.35rem;
  height: 1.35rem;
}

.hero-carousel__arrow--prev {
  left: clamp(0.75rem, 3vw, 1.75rem);
}

.hero-carousel__arrow--next {
  right: clamp(0.75rem, 3vw, 1.75rem);
}

.hero-carousel__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-carousel__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.hero-carousel__dots button[aria-selected="true"] {
  background: #fff;
  transform: scale(1.15);
}

.hero-carousel__dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-carousel__pause {
  position: absolute;
  top: 1rem;
  right: clamp(0.75rem, 3vw, 1.75rem);
  z-index: 5;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.hero-carousel__pause:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* —— Hero intro (below carousel) —— */
.hero-intro {
  padding: 2.75rem 0 2rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.hero-intro h1 {
  max-width: 52rem;
}

.hero-intro .lead {
  max-width: 48rem;
}

.hero-intro .hero__actions {
  margin-top: 1.35rem;
}

/* —— 3D spotlight (moved below intro) —— */
.hero-spotlight {
  padding: 2rem 0 3.5rem;
  background: var(--off-white);
  border-top: 1px solid rgba(0, 51, 102, 0.08);
}

.hero-spotlight__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-spotlight__grid {
    grid-template-columns: 1fr minmax(280px, 400px);
    gap: 3rem;
  }
}

.hero-spotlight__text h2 {
  margin-bottom: 0.5rem;
}

.hero-spotlight__text .lead {
  margin-bottom: 0;
}

/* —— Hero / legacy —— */
.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 55%);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

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

.hero-spotlight .hero__3d-wrap,
.hero__3d-wrap {
  position: relative;
  aspect-ratio: 1;
  max-height: 420px;
  margin: 0 auto;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  background: linear-gradient(145deg, #e8ecf0 0%, #fff 50%, #dce2e8 100%);
  border: 1px solid rgba(0, 51, 102, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 20px 50px var(--shadow);
  overflow: hidden;
}

.hero__3d-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 40% 35%, rgba(0, 51, 102, 0.08), transparent 55%);
  transition: opacity 0.5s ease;
}

.hero__3d-poster.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero__3d-poster-inner {
  width: 45%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #f0f3f6 0%, #c5cdd6 40%, #8a9399 100%);
  border-radius: 12px;
  box-shadow:
    0 24px 0 rgba(0, 51, 102, 0.12),
    0 32px 48px rgba(0, 0, 0, 0.15);
  transform: rotate(-8deg) perspective(400px) rotateX(8deg);
  animation: hero-tile-float 5s ease-in-out infinite;
}

@keyframes hero-tile-float {
  0%,
  100% {
    transform: rotate(-8deg) perspective(400px) rotateX(8deg) translateY(0);
  }
  50% {
    transform: rotate(-6deg) perspective(400px) rotateX(6deg) translateY(-8px);
  }
}

#hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__3d-label {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}

/* —— 3D Preview Controls —— */
.hero__3d-controls {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 8px 32px rgba(0, 51, 102, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero__3d-controls.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.hero__3d-control-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.control-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-construction-blue);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.control-buttons,
.control-colors {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.btn-3d-ctrl {
  border: 1px solid rgba(0, 51, 102, 0.15);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-head);
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-3d-ctrl:hover {
  background: var(--off-white);
  border-color: var(--steel);
}

.btn-3d-ctrl.active {
  background: var(--dbf-blue);
  color: #fff;
  border-color: var(--dbf-blue);
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.2);
}

.btn-3d-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.btn-3d-color:hover {
  transform: scale(1.15);
}

.btn-3d-color.active {
  border-color: var(--dbf-blue);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 6px rgba(0, 51, 102, 0.3);
  transform: scale(1.1);
}

/* —— Trust strip —— */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 700px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  padding: 1.25rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(0, 51, 102, 0.08);
  box-shadow: 0 4px 16px var(--shadow);
}

.trust-item strong {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dbf-blue);
  display: block;
  margin-bottom: 0.35rem;
}

.trust-item span {
  font-size: 0.875rem;
  color: var(--steel);
}

/* —— Product grid —— */
.product-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(0, 51, 102, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 20px var(--shadow);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  perspective: 800px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 51, 102, 0.18);
}

.product-card__visual {
  position: relative;
  height: 180px;
  background: linear-gradient(160deg, var(--off-white) 0%, #d8dee6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.product-card:hover .product-card__img {
  transform: scale(1.08);
}

.product-card:focus-visible {
  outline: 3px solid var(--dbf-blue);
  outline-offset: 3px;
}

.product-card:focus-visible:not(:hover) {
  box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.2);
}

/* —— Category grids (home + products hub) —— */
.category-region {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.category-subhead {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dbf-blue);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 51, 102, 0.15);
}

.category-subhead:first-child {
  margin-top: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .category-grid--wide {
    grid-template-columns: repeat(5, 1fr);
  }
}

.category-showcase {
  position: relative;
}

.category-showcase__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.category-showcase__hint {
  font-size: 0.8125rem;
  color: var(--steel);
  margin-right: auto;
}

.category-scroll-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  border: 2px solid rgba(0, 51, 102, 0.2);
  background: var(--white);
  color: var(--dbf-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.15s;
}

.category-scroll-btn:hover {
  background: var(--off-white);
  border-color: var(--dbf-blue);
}

.category-scroll-btn:focus-visible {
  outline: 3px solid var(--dbf-blue);
  outline-offset: 2px;
}

.category-scroll-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.category-grid-responsive {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0 1rem;
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.category-grid-responsive:focus-visible {
  outline: 3px solid var(--dbf-blue);
  outline-offset: 4px;
}

.category-grid-responsive .product-card {
  flex: 0 0 min(260px, 78vw);
  max-width: min(260px, 78vw);
  scroll-snap-align: start;
}

@media (min-width: 900px) {
  .category-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    overflow-x: visible;
    scroll-snap-type: none;
    margin: 0;
    padding: 0;
  }

  .category-grid-responsive .product-card {
    flex: none;
    max-width: none;
    width: auto;
    scroll-snap-align: none;
  }
}

@media (min-width: 900px) {
  .category-showcase__toolbar .category-scroll-btn {
    display: none;
  }
}

/* —— Category detail page (bathroom-fittings) —— */
.category-detail {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.category-detail__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .category-detail__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .category-detail__grid--reverse .category-detail__figure {
    order: 2;
  }

  .category-detail__grid--reverse .category-detail__text {
    order: 1;
  }
}

.category-detail__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px var(--shadow);
  border: 1px solid rgba(0, 51, 102, 0.08);
}

.category-detail__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.category-detail__text h2 {
  margin-top: 0;
}

.product-card__mesh {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.15) 0%, rgba(92, 103, 112, 0.35) 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.45s var(--ease);
  transform-style: preserve-3d;
}

.product-card:hover .product-card__mesh {
  transform: scale(1.15) rotateY(18deg) rotateX(-6deg);
}

.product-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.product-card__body h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.product-card__body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--steel);
}

/* —— Two column —— */
.two-col {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  padding: 1.75rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(0, 51, 102, 0.08);
}

.section--alt .panel {
  background: var(--white);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  background: var(--dbf-blue);
  border-radius: 2px;
}

/* —— Lead form —— */
.lead-form {
  max-width: 520px;
}

.lead-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--dbf-blue);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  font: inherit;
  border: 1px solid rgba(0, 51, 102, 0.2);
  border-radius: 8px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--dbf-blue);
  outline-offset: 2px;
}

/* —— Specs table —— */
.spec-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(0, 51, 102, 0.12);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 51, 102, 0.08);
}

.spec-table th {
  font-family: var(--font-head);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--off-white);
  color: var(--dbf-blue);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

/* —— Chips —— */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

@media (max-width: 899px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem -1.25rem 1.5rem;
    padding: 0.25rem 1.25rem 0.5rem;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar {
    display: none;
  }
  .chips a {
    flex: 0 0 auto;
  }
}

.chips a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--dbf-blue);
  background: var(--white);
  border: 1px solid rgba(0, 51, 102, 0.2);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.chips a:hover {
  background: var(--dbf-blue);
  color: #fff;
  border-color: var(--dbf-blue);
}

/* —— FAQ —— */
.faq-item {
  border-bottom: 1px solid rgba(0, 51, 102, 0.1);
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  font: inherit;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dbf-blue);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item button::after {
  content: "+";
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--steel);
}

.faq-item.is-open button::after {
  content: "−";
}

.faq-item__panel {
  display: none;
  padding: 0 0 1rem;
  color: var(--steel);
}

.faq-item.is-open .faq-item__panel {
  display: block;
}

/* —— Footer —— */
.site-footer {
  background: var(--dbf-blue-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 2rem;
  font-size: 0.9375rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

/* —— WhatsApp float —— */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(180deg, #25d366 0%, #128c7e 100%);
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 999px;
  box-shadow: 0 6px 0 #0a5c4f, 0 12px 32px rgba(18, 140, 126, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  color: #fff !important;
}

.whatsapp-float:active {
  transform: translateY(0);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* —— Telegram float —— */
.telegram-float {
  position: fixed;
  bottom: 4.5rem;
  right: 1.25rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(180deg, #22aae8 0%, #0088cc 100%);
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 999px;
  box-shadow: 0 6px 0 #005a88, 0 12px 32px rgba(0, 136, 204, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.telegram-float:hover {
  transform: translateY(-3px);
  color: #fff !important;
}

.telegram-float:active {
  transform: translateY(0);
}

.telegram-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* —— Utilities —— */
.form-alert {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.form-alert--ok {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #0d5c36;
}

.form-alert--err {
  background: rgba(180, 40, 40, 0.08);
  border: 1px solid rgba(180, 40, 40, 0.35);
  color: #8b1a1a;
}

.mt-0 {
  margin-top: 0;
}
.mb-lg {
  margin-bottom: 2rem;
}
.text-muted {
  color: var(--steel);
}

[data-i18n-key] {
  transition: opacity 0.15s ease;
}

html.is-lang-switching [data-i18n-key] {
  opacity: 0.7;
}

/* —— Scroll Reveal Animations —— */
.reveal-init {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: 0.1s;
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-carousel__track {
    transition: none;
  }
  .product-card,
  .btn,
  .product-card__mesh,
  .hero__3d-poster-inner {
    animation: none;
    transition: none;
  }
  .hero__3d-poster-inner {
    transform: rotate(-8deg) perspective(400px) rotateX(8deg);
  }
}

/* Sticky floating buttons on mobile */
@media (max-width: 899px) {
  .whatsapp-float,
  .telegram-float {
    position: fixed;
    right: 0;
    left: auto;
    width: 46px;
    height: 46px;
    padding: 0 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.15);
    transform: none !important;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .whatsapp-float span,
  .telegram-float span {
    display: inline-block;
    opacity: 0;
    margin-left: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    transition: opacity 0.2s ease;
  }

  .telegram-float {
    top: calc(50% - 23px);
    bottom: auto;
    border-radius: 8px 0 0 0;
  }

  .whatsapp-float {
    top: calc(50% + 23px);
    bottom: auto;
    border-radius: 0 0 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .telegram-float:hover {
    width: 175px;
  }

  .whatsapp-float:hover {
    width: 180px;
  }

  .telegram-float:hover span,
  .whatsapp-float:hover span {
    opacity: 1;
    transition-delay: 0.08s;
  }

  .whatsapp-float:active,
  .telegram-float:active {
    transform: none !important;
  }
}

/* —— Back to top button —— */
.back-to-top {
  position: fixed;
  bottom: 7.75rem;
  right: 2rem;
  z-index: 190;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: none;
  background: var(--dbf-blue);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 51, 102, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s, background-color 0.2s;
  transform: scale(0.9);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.back-to-top:hover {
  background: var(--dbf-blue-dark);
  transform: scale(1.05);
}

.back-to-top:active {
  transform: scale(0.95);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

@media (max-width: 899px) {
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* ── Footer social & copyright bar ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  color: #fff;
}

.footer-social__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-social__link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
}

.footer-social__link--wa {
  background: #25d366;
}

.footer-social__link--fb {
  background: #1877f2;
}

.footer-social__link--tt {
  background: #010101;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social__link--tt:hover {
  background: #000;
  border-color: #fe2c55;
  box-shadow: 0 2px 10px rgba(254, 44, 85, 0.35);
}

.footer-copy {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 599px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
