/* ==========================================================================
   Dalmont ABS Deluxe — Design Tokens & Base
   ========================================================================== */

:root {
  --color-primary: #007ea4;
  --color-primary-dark: #167797;
  --color-dark: #001218;
  --color-text: #000000;
  --color-text-muted: #313131;
  --color-text-placeholder: #606060;
  --color-bg-light: #f2f2f2;
  --color-bg-card: #f7f7f7;
  --color-bg-product: #f9f9f9;
  --color-input: #eeeeee;
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  /* Figma exporta Regular como 400; en web se interpreta como Inter 300 */
  --font-weight-regular: 300;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --radius-sm: 15px;
  --radius-md: 20px;
  --radius-lg: 40px;
  --header-height: 108px;
  --space-section: 15rem;
  --space-section-hero: 12rem;
  --space-catalog-top: 15rem;
}

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

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Corrección global: font-weight 400 (Figma Regular) → Inter 300 */
.fw-normal,
.font-weight-normal {
  font-weight: var(--font-weight-regular) !important;
}

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

.text-primary {
  color: var(--color-primary) !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: static;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  max-width: 1920px;
  padding: 0.75rem 3rem;
}

.site-logo {
  display: inline-block;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.site-logo__img {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  gap: 4.5rem;
}

.site-nav .nav-link {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  padding: 0.5rem 1.25rem;
  transition: color 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--color-primary);
}

.site-nav__contact {
  color: var(--color-primary) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 126, 164, 0.25);
}

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 999;
  width: 66px;
  height: 66px;
  display: block;
  line-height: 0;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float__bg {
  position: absolute;
  left: 5.66px;
  top: 5.65px;
  width: 54.686px;
  height: 54.686px;
  z-index: 0;
}

.whatsapp-float__icon {
  position: relative;
  display: block;
  width: 66px;
  height: 66px;
  object-fit: cover;
  z-index: 1;
}

/* ==========================================================================
   Sections — Shared
   ========================================================================== */

.section {
  padding-top: calc(var(--space-section) / 2);
  padding-bottom: calc(var(--space-section) / 2);
}

.section--spaces {
  padding-top: var(--space-section-hero);
  padding-bottom: calc(var(--space-section) / 2);
}

.section--catalog {
  padding-top: var(--space-catalog-top);
  padding-bottom: calc(var(--space-section) / 2);
}

.section--products {
  background-color: #0d6d97;
}

.section__header {
  margin-bottom: 8rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 4.125rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section__subtitle {
  font-size: clamp(1.1rem, 2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 90%;
  margin: 0 auto;
  color: var(--color-text);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: url('../img/hero-banner.jpg');
  background-repeat: no-repeat;
  background-size: 130% auto;
  background-position: 10% 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(-89.5deg, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0.7) 76%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 3rem 6rem;
  max-width: 1400px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
  max-width: 800px;
  margin-bottom: 3rem;
}

.hero__title-bold,
.hero__title-regular {
  display: inline-block;
  opacity: 0;
  animation: hero-fade-up 0.85s ease forwards;
}

.hero__title-bold {
  font-weight: 700;
  animation-delay: 0.15s;
}

.hero__title-regular {
  font-weight: var(--font-weight-regular);
  animation-delay: 0.4s;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(1.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__footer {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: nowrap;
  max-width: 900px;
}

.hero__badge {
  width: 225px;
  height: auto;
  flex-shrink: 0;
  opacity: 0;
  animation: hero-fade-up 0.85s ease forwards;
  animation-delay: 0.65s;
}

.hero__divider {
  width: 2px;
  height: 142px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0;
  animation: hero-fade-up 0.85s ease forwards;
  animation-delay: 0.8s;
}

.hero__description {
  font-family: 'Inter', var(--font-primary), sans-serif;
  font-size: 26px;
  font-weight: var(--font-weight-regular);
  font-style: normal;
  line-height: 1.35;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
  max-width: 435px;
  flex: 0 1 435px;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  opacity: 0;
  animation: hero-fade-up 0.85s ease forwards;
  animation-delay: 0.95s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-bold,
  .hero__title-regular,
  .hero__badge,
  .hero__divider,
  .hero__description {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero__description strong {
  font-weight: var(--font-weight-bold);
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

[data-reveal-section] [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal-section].is-revealed [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-section] .section__title[data-reveal] {
  transition-delay: 0s;
}

[data-reveal-section] .section__subtitle[data-reveal] {
  transition-delay: 0.15s;
}

[data-reveal-section] .gallery-grid > div:nth-child(1) [data-reveal] { transition-delay: 0.25s; }
[data-reveal-section] .gallery-grid > div:nth-child(2) [data-reveal] { transition-delay: 0.35s; }
[data-reveal-section] .gallery-grid > div:nth-child(3) [data-reveal] { transition-delay: 0.45s; }
[data-reveal-section] .gallery-grid > div:nth-child(4) [data-reveal] { transition-delay: 0.55s; }
[data-reveal-section] .gallery-grid > div:nth-child(5) [data-reveal] { transition-delay: 0.65s; }
[data-reveal-section] .gallery-grid > div:nth-child(6) [data-reveal] { transition-delay: 0.75s; }

[data-reveal-section] [data-reveal-fade] {
  opacity: 0;
  transition: opacity 0.75s ease;
}

[data-reveal-section].is-revealed [data-reveal-fade] {
  opacity: 1;
}

[data-reveal-section].section--catalog [data-reveal] {
  transform: translateX(-1.75rem);
}

[data-reveal-section].section--catalog.is-revealed [data-reveal] {
  transform: translateX(0);
}

[data-reveal-section].section--catalog .catalog-card__title[data-reveal] {
  transition-delay: 0s;
}

[data-reveal-section].section--catalog .catalog-card__text[data-reveal] {
  transition-delay: 0.15s;
}

[data-reveal-section].section--catalog .catalog-card__image-wrap[data-reveal-fade] {
  transition-delay: 0.2s;
}

[data-reveal-section].section--catalog .catalog-card__link[data-reveal] {
  transform: translateY(1.5rem);
  transition-delay: 0.35s;
}

[data-reveal-section].section--catalog.is-revealed .catalog-card__link[data-reveal] {
  transform: translateY(0);
}

[data-reveal-section].section--products .products-intro__title[data-reveal],
[data-reveal-section].section--products .products-intro__logo[data-reveal] {
  transform: translateX(-1.75rem);
}

[data-reveal-section].section--products.is-revealed .products-intro__title[data-reveal],
[data-reveal-section].section--products.is-revealed .products-intro__logo[data-reveal] {
  transform: translateX(0);
}

[data-reveal-section].section--products .products-intro__title[data-reveal] {
  transition-delay: 0s;
}

[data-reveal-section].section--products .products-intro__logo[data-reveal] {
  transition-delay: 0.15s;
}

[data-reveal-section].section--products .products-grid > div:nth-child(1) [data-reveal] { transition-delay: 0.25s; }
[data-reveal-section].section--products .products-grid > div:nth-child(2) [data-reveal] { transition-delay: 0.33s; }
[data-reveal-section].section--products .products-grid > div:nth-child(3) [data-reveal] { transition-delay: 0.41s; }
[data-reveal-section].section--products .products-grid > div:nth-child(4) [data-reveal] { transition-delay: 0.49s; }
[data-reveal-section].section--products .products-grid > div:nth-child(5) [data-reveal] { transition-delay: 0.57s; }
[data-reveal-section].section--products .products-grid > div:nth-child(6) [data-reveal] { transition-delay: 0.65s; }
[data-reveal-section].section--products .products-grid > div:nth-child(7) [data-reveal] { transition-delay: 0.73s; }
[data-reveal-section].section--products .products-grid > div:nth-child(8) [data-reveal] { transition-delay: 0.81s; }

[data-reveal-section].section--benefits .benefits-header__title[data-reveal] {
  transform: translateX(-1.75rem);
  transition-delay: 0s;
}

[data-reveal-section].section--benefits .benefits-header__logo[data-reveal] {
  transform: translateX(1.75rem);
  transition-delay: 0.15s;
}

[data-reveal-section].section--benefits.is-revealed .benefits-header__title[data-reveal],
[data-reveal-section].section--benefits.is-revealed .benefits-header__logo[data-reveal] {
  transform: translateX(0);
}

[data-reveal-section].section--benefits .benefits-list .benefit-card:nth-child(1)[data-reveal] { transition-delay: 0.25s; }
[data-reveal-section].section--benefits .benefits-list .benefit-card:nth-child(2)[data-reveal] { transition-delay: 0.35s; }
[data-reveal-section].section--benefits .benefits-list .benefit-card:nth-child(3)[data-reveal] { transition-delay: 0.45s; }
[data-reveal-section].section--benefits .benefits-list .benefit-card:nth-child(4)[data-reveal] { transition-delay: 0.55s; }

[data-reveal-section].section--project .project__title[data-reveal] {
  transition-delay: 0s;
}

[data-reveal-section].section--project .project__text[data-reveal] {
  transition-delay: 0.15s;
}

[data-reveal-section].section--project .project__image-wrap[data-reveal-fade] {
  transition-delay: 0.25s;
}

[data-reveal-section].section--brands .brands__title[data-reveal] {
  transition-delay: 0s;
}

[data-reveal-section].section--brands [data-reveal-fade] {
  transition-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal-section] [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-reveal-section] [data-reveal-fade] {
    opacity: 1;
    transition: none;
  }
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  aspect-ratio: 579 / 460;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card__trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  text-align: left;
}

.gallery-card__trigger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.gallery-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-card__image {
  transform: scale(1.05);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 72rem);
  max-height: calc(100vh - 3rem);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-lightbox.is-open .gallery-lightbox__backdrop {
  opacity: 1;
}

.gallery-lightbox.is-open .gallery-lightbox__dialog {
  opacity: 1;
  transform: none;
}

.gallery-lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: calc(100vh - 3rem);
}

.gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.gallery-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.gallery-lightbox__close:hover {
  opacity: 0.75;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.gallery-lightbox__nav--prev {
  left: -3.5rem;
}

.gallery-lightbox__nav--next {
  right: -3.5rem;
}

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

@media (max-width: 991.98px) {
  .gallery-lightbox__nav--prev {
    left: 0.5rem;
  }

  .gallery-lightbox__nav--next {
    right: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox__backdrop,
  .gallery-lightbox__dialog {
    transition: none;
  }
}

/* ==========================================================================
   Catalog
   ========================================================================== */

.catalog-card {
  position: relative;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  overflow: visible;
  margin-bottom: 4rem;
}

.catalog-card__content {
  padding: 3rem 2rem 3rem 3rem;
  position: relative;
  z-index: 2;
}

.catalog-card__title {
  font-size: clamp(2.5rem, 4vw, 6.25rem) !important;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.catalog-card__text {
  font-size: clamp(1rem, 1.5vw, 2rem);
  line-height: 1.4;
  max-width: 600px;
  margin-bottom: 2rem;
}

.catalog-card__link {
  display: block;
  width: fit-content;
  margin-inline: auto;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 2.25rem);
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.catalog-card__link:hover {
  opacity: 0.8;
  color: var(--color-primary);
}

.catalog-card__image-wrap {
  position: relative;
  height: 100%;
  min-height: stretch;
  overflow: visible;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background-image: url('../img/catalog-faucet.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.catalog-card__decorative-clip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: -500px;
  overflow: hidden;
  pointer-events: none;
}

.catalog-carousel {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.catalog-carousel__slide {
  position: absolute;
  left: 50%;
  bottom: -70px;
  width: auto;
  height: 600px;
  max-height: none;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0;
  transform: translateX(50%);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.catalog-carousel__slide.is-active {
  opacity: 1;
  transform: translateX(-50%);
  z-index: 2;
}

.catalog-carousel__slide.is-prepared {
  opacity: 1;
  transform: translateX(50%);
  transition: none;
  z-index: 2;
}

.catalog-carousel__slide.is-exiting {
  opacity: 0;
  transform: translateX(-150%);
  z-index: 1;
}

.catalog-carousel__slide--decorative {
  height: 600px;
  bottom: -70px;
}

.catalog-carousel__slide--1 {
  height: 455px;
  bottom: -50px;
  left: 54%;
}

.catalog-carousel__slide--2 {
  height: 550px;
  bottom: -50px;
}

.catalog-carousel__slide--3 {
  height: 510px;
  bottom: 0;
  left: 48%;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-carousel__slide {
    transition: opacity 0.3s ease;
    transform: translateX(-50%);
  }

  .catalog-carousel__slide.is-prepared,
  .catalog-carousel__slide.is-exiting {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Products Grid
   ========================================================================== */

.products-intro {
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .catalog-card {
    width: 90%;
    margin: 0 auto 4rem auto;
  }

  .products-intro {
    margin-bottom: 0;
  }
}

.products-intro__title {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #ffffff;
}

.products-intro__logo .site-logo__img {
  height: 90px;
}

.product-card {
  text-align: center;
}

.product-card__image-wrap {
  background: var(--color-bg-product);
  border-radius: var(--radius-md);
  height: 372px;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  padding: 1.25rem 1rem 1rem;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover .product-card__image-wrap {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.product-card__image {
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__image--1 {
  width: 142px;
  height: 280px;
  max-width: 100%;
}

.product-card__image--2 {
  width: 202px;
  height: 173px;
  max-width: 100%;
}

.product-card__image--3 {
  width: 202px;
  height: 306px;
  max-width: 100%;
}

.product-card__image--4 {
  width: 228px;
  height: 204px;
  max-width: 100%;
}

.product-card__image--5 {
  width: 202px;
  height: 164px;
  max-width: 100%;
}

.product-card__image--6 {
  width: 89px;
  height: 193px;
  max-width: 100%;
}

.product-card__image--7 {
  width: 221px;
  height: 131px;
  max-width: 100%;
}

.product-card__image--8 {
  width: 186px;
  height: 233px;
  max-width: 100%;
}

.product-card__name {
  grid-row: 2;
  font-size: 0.9375rem;
  margin: 0;
  padding-top: 0.5rem;
  line-height: 1.4;
}

/* ==========================================================================
   Benefits
   ========================================================================== */

.benefits-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.benefits-header__title {
  font-size: clamp(2rem, 4vw, 4.375rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}

.benefits-header__logo {
  flex-shrink: 0;
}

.benefits-header__logo .site-logo__img {
  height: 70px;
}

.benefits-list {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.benefit-card__icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.benefit-card:hover .benefit-card__icon {
  transform: scale(1.05);
}

.benefit-card__content {
  min-width: 0;
}

.benefit-card__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.125rem, 1.8vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.benefit-card__text {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Project Section
   ========================================================================== */

.project__title {
  font-size: clamp(1.75rem, 3.5vw, 3.75rem);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 3rem;
}

.project__text {
  font-size: clamp(1rem, 1.5vw, 2.2rem);
  max-width: 965px;
  margin: 0 auto 4rem;
  line-height: 1.4;
}

.project__image-wrap {
  width: 100%;
  height: 728px;
  overflow: hidden;
  background-image: url('../img/project-products.jpg');
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
}

@media (prefers-reduced-motion: reduce) {
  .project__image-wrap::before {
    top: 0;
    height: 100%;
    transform: none;
    will-change: auto;
  }
}

.brands__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 3.5vw, 4.375rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.brands-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brands-carousel__arrow {
  background: none;
  border: none;
  font-family: var(--font-secondary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.5rem 1rem;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.brands-carousel__arrow:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}

.brands-carousel__track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  flex: 1;
  scroll-behavior: smooth;
  justify-content: center;
}

.brand-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 260px;
  max-width: 360px;
  text-align: center;
}

.brand-card__inner {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-bottom: 1rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand-card:hover .brand-card__inner {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.brand-card--featured .brand-card__inner {
  /* border: 10px solid #ffffff; */
  /* box-shadow: 0 0 0 1px var(--color-bg-light); */
}

.brand-card__logo {
  max-width: 80%;
  max-height: 160px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.35s ease;
}

.brand-card:hover .brand-card__logo {
  transform: scale(1.05);
}

.brand-card__link {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.brand-card__link:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact__title {
  font-size: clamp(2rem, 4vw, 4.375rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form .form-label {
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  margin-left: 1rem;
}

.contact-form__input {
  background: var(--color-input);
  border: none;
  border-radius: var(--radius-sm);
  padding: 1.75rem 1.5rem;
  font-size: 1rem;
  color: var(--color-text);
}

.contact-form__input::placeholder {
  color: var(--color-text-placeholder);
}

.contact-form__input:focus {
  background: var(--color-input);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 126, 164, 0.25);
}

.contact-form__alert {
  max-width: 1100px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  text-align: left;
}

.contact-form__recaptcha-wrap {
  margin-top: 2.5rem;
}

.contact-form__recaptcha-error {
  margin-top: 0.75rem;
  text-align: center;
  color: #dc3545;
}

.contact-form.was-validated .contact-form__recaptcha-error:not([hidden]) {
  display: block !important;
}

.contact-form__submit-wrap {
  margin-top: 2.5rem;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 516px;
  height: 69px;
  padding: 0;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: var(--font-weight-medium);
  font-size: 1.25rem;
  line-height: normal;
  border-radius: var(--radius-sm);
  border: none;
  transition: background 0.2s ease;
}

.contact-form__submit:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.contact-form__submit:active,
.contact-form__submit:focus,
.contact-form__submit:focus-visible {
  background: #0b4a5c;
  color: #ffffff;
  border: none;
  box-shadow: none;
  outline: none;
}

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

.site-footer {
  background: #0d6d97;
  padding: 0;
}

.site-footer__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 3rem;
}

.site-footer__brand {
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.site-footer__bottom {
  padding: 1.25rem 0;
  text-align: center;
}

.site-logo--footer .site-logo__img {
  height: 65px;
}

.site-footer__logo {
  display: inline-block;
}

.site-footer__copy {
  color: #ffffff;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.site-footer__copy-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer__copy-link:hover {
  opacity: 0.85;
}

.site-footer__social-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.3125rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.site-footer__social-link {
  display: block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.site-footer__social-link:hover {
  opacity: 0.85;
}

.site-footer__social-link img {
  display: block;
  width: 65px;
  height: 65px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 768px) and (max-width: 991.98px) {
  .section__header {
    margin-bottom: 4rem;
  }

  .hero__bg {
    background-size: cover;
    background-position: 30% 40%;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
  }

  .hero__title {
    text-align: center;
    margin-inline: auto;
  }

  .hero__footer {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
  }

  .hero__badge {
    width: 185px;
  }

  .hero__divider {
    display: block;
  }

  .hero__description {
    margin-left: 0;
    font-size: clamp(1.125rem, 2.5vw, 1.625rem);
    max-width: 435px;
    flex: 0 1 435px;
  }

  .catalog-carousel__slide {
    left: auto;
    right: 0%;
    bottom: -30px;
    width: auto;
    height: 320px;
    max-height: none;
    object-fit: contain;
    object-position: bottom center;
    transform: translateX(100%);
  }

  .catalog-carousel__slide.is-active {
    transform: translateX(0);
  }

  .catalog-carousel__slide.is-prepared {
    transform: translateX(100%);
  }

  .catalog-carousel__slide.is-exiting {
    transform: translateX(-100%);
  }

  .catalog-carousel__slide--decorative {
    height: 320px;
    bottom: -30px;
  }

  .catalog-carousel__slide--1 {
    height: 280px;
    bottom: -25px;
    left: auto;
    right: -2%;
  }

  .catalog-carousel__slide--2 {
    height: 290px;
    bottom: -22px;
  }

  .catalog-carousel__slide--3 {
    height: 300px;
    bottom: -20px;
    left: auto;
    right: 2%;
  }

  .products-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .products-intro__title {
    margin-bottom: 0;
  }

  .products-intro__title br {
    display: none;
  }

  .products-intro__logo {
    margin-left: 0;
  }

  .products-intro__logo .site-logo__img {
    height: 70px;
  }

  .benefit-card__icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .benefit-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1.5rem;
  }

  .project__image-wrap {
    height: 410px;
  }

  .brand-card {
    flex: 0 0 48%;
  }

  .site-footer__social {
    text-align: right !important;
  }

  .site-footer__social-list {
    justify-content: flex-end;
    margin: 0 0 0 auto;
  }
}

@media (max-width: 991.98px) {
  :root {
    --space-section: 10rem;
    --space-section-hero: 8rem;
    --space-catalog-top: 10rem;
  }

  .site-header__inner {
    padding: 0.75rem 1.5rem;
  }

  .site-footer__inner {
    padding: 0 1.5rem;
  }

  .site-nav {
    padding: 1rem 0;
    text-align: center;
  }

  .site-nav .nav-link {
    padding: 0.75rem;
  }

  .hero__content {
    padding: 3rem 1.5rem 4rem;
  }

  .catalog-card__content {
    padding: 2rem 1.5rem;
  }

  .brands-carousel__arrow {
    font-size: 2rem;
    padding: 0.25rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1.5rem;
  }

  .whatsapp-float:hover {
    transform: scale(1.08);
  }

  .site-footer__copy {
    font-size: 0.9375rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --space-catalog-top: calc(var(--space-section) / 2);
  }

  .section__header {
    margin-bottom: 4rem;
  }

  .site-logo__img {
    height: 56px;
  }

  .hero__bg {
    background-size: cover;
    background-position: 30% 40%;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
  }

  .hero__title {
    text-align: center;
    margin-inline: auto;
  }

  .hero__footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero__badge {
    width: 185px;
  }

  .hero__divider {
    display: none;
  }

  .hero__description {
    margin-left: 0;
    font-size: clamp(1.125rem, 2.5vw, 1.625rem);
    max-width: 100%;
    flex: 1 1 auto;
    text-align: center;
  }

  .catalog-carousel {
    display: none;
  }

  .products-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .products-intro__title {
    margin-bottom: 0;
  }

  .products-intro__title br {
    display: none;
  }

  .products-intro__logo {
    margin-left: 0;
  }

  .products-intro__logo .site-logo__img {
    height: 70px;
  }

  .product-card__image-wrap {
    height: 260px;
  }

  .product-card__image--1 {
    width: 142px;
    height: 170px;
  }

  .product-card__image--3 {
    width: 202px;
    height: 176px;
  }

  .product-card__image--4 {
    width: 228px;
    height: 154px;
  }

  .product-card__image--6 {
    width: 89px;
    height: 150px;
  }

  .product-card__image--8 {
    width: 186px;
    height: 150px;
  }

  .benefits-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .benefits-header__logo .site-logo__img {
    height: 70px;
  }

  .benefit-card__icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .benefit-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .project__image-wrap {
    height: 410px;
  }

  .brand-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 0;
  }

  .brand-card__inner {
    height: 220px;
  }

  .contact-form__input {
    padding: 1rem 1rem;
  }

  .contact-form__submit-wrap {
    margin-top: 2rem;
  }

  .contact-form__submit {
    width: 100%;
    max-width: none;
    height: 69px;
  }

  .site-footer__logo {
    display: block;
    width: fit-content;
    margin-inline: auto;
    text-align: center;
  }

  .site-logo--footer .site-logo__img {
    height: 70px;
  }

  .site-footer__brand {
    padding: 2.5rem 0 2rem;
  }

  .site-footer__bottom {
    padding: 1rem 0;
  }

  .site-footer__copy {
    font-size: 0.875rem;
  }

  .site-footer__social {
    text-align: center !important;
  }

  .site-footer__social-list {
    justify-content: center;
    margin: 0 auto;
  }

  .site-footer__social-link img {
    display: block;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --space-section: 8rem;
    --space-section-hero: 8rem;
  }

  .hero__bg {
    background-position: 50% 40%;
  }

  .site-logo__img {
    height: 48px;
  }

  .site-nav {
    gap: 0;
    padding: 1rem 0 0;
  }

  .hero__title {
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  }

  .hero__badge {
    width: 140px;
  }

  .hero__description {
    font-size: clamp(1rem, 3.5vw, 1.25rem);
  }

  .section__header {
    margin-bottom: 2.5rem;
  }

  .project__image-wrap {
    height: 280px;
  }

  .product-card__image-wrap {
    height: 252px;
    padding: 0.875rem 0.75rem 1.25rem;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .section--products .product-card__image {
    max-height: 148px;
    height: auto;
    width: auto;
  }

  .product-card__name {
    padding-top: 0.625rem;
    padding-bottom: 0.375rem;
  }

  .brand-card {
    flex: 0 0 85%;
  }

  .brand-card__inner {
    height: 160px;
  }

  .brands-carousel__arrow {
    font-size: 1.5rem;
    padding: 0.125rem;
  }

  .section--contact {
    padding-bottom: 7rem;
  }

  .contact-form {
    padding-right: 0;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    right: 0.75rem;
    bottom: 1rem;
  }

  .whatsapp-float__icon {
    width: 55px;
    height: 55px;
  }

  .whatsapp-float__bg {
    left: 4.7px;
    top: 4.7px;
    width: 45.6px;
    height: 45.6px;
  }

  .site-logo--footer .site-logo__img {
    height: 60px;
  }
}
