@font-face {
  font-family: 'DINNextStencil';
  src: url('fonts/DINNextStencil-Heavy.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { overflow-x: hidden; }
body { font-family: 'Montserrat', Arial, sans-serif; color: #222; background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
/*img { max-width:100%; height:auto; display:block; }*/

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== PAGE TITLE ===== */
.page-title {
  padding: 10px 0 30px;
}
.page-title__label {
  font-size: 14px;
  font-weight: 700;
  color: #D2691E;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.page-title h1 {
  font-size: 32px;
  font-weight: 800;
  color: #1B2A4A;
  margin-bottom: 16px;
}
.page-title p {
  font-size: 15px;
  line-height: 1.8;
  color: #1B2A4A;
  margin-bottom: 10px;
}

/* ===== SECTION ===== */
.catalog-section {
  padding: 0 0 50px;
  margin-bottom: 40px;
  border-bottom: 1px solid #D0D5DD;
}
.catalog-section--gray {
  background: #F4F6F8;
}
.section-header {
  text-align: center;
  background: #2B3E5E;
  padding: 35px 20px 30px;
  margin-bottom: 30px;
  border-radius: 4px;
}
.section-brand {
  font-family: 'DINNextStencil', 'Montserrat', Arial, sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-brand--dark {
  color: #fff;
}
.section-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
}
.section-description {
  text-align: center;
  max-width: 900px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid #D0D5DD;
  font-size: 14px;
  line-height: 1.8;
  color: #1B2A4A;
}
.section-intro {
  font-size: 14px;
  line-height: 1.85;
  color: #1B2A4A;
  margin-bottom: 30px;
  padding: 0;
}
.section-intro p {
  margin-bottom: 12px;
}
.section-intro p:last-child {
  margin-bottom: 0;
}

/* ===== FOOTER CTA ===== */
.footer-cta {
  background: #F4F6F8;
  padding: 60px 0;
}
.footer-cta__inner {
  font-size: 14px;
  line-height: 1.85;
  color: #1B2A4A;
}
.footer-cta__inner p {
  margin-bottom: 14px;
}
.footer-cta__inner p:last-child {
  margin-bottom: 0;
  font-weight: 700;
}

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
.section-intro[data-animate],
.section-description[data-animate],
.footer-cta__inner[data-animate],
.page-title[data-animate] {
  transform: translateY(20px);
}
.section-intro[data-animate].visible,
.section-description[data-animate].visible,
.footer-cta__inner[data-animate].visible,
.page-title[data-animate].visible {
  transform: translateY(0);
}

/* --- Product card enhanced animation --- */
.product-card[data-animate] {
  opacity: 0;
  transform: translateY(50px) scale(0.92);
  transition: opacity 0.7s cubic-bezier(.23,1,.32,1),
              transform 0.7s cubic-bezier(.23,1,.32,1),
              box-shadow 0.4s ease,
              border-color 0.5s ease;
  border-color: transparent;
}
.product-card[data-animate].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: #E8ECF0;
}
.product-card__image img {
  transition: transform 0.5s cubic-bezier(.23,1,.32,1), filter 0.5s ease;
}
.product-card:hover .product-card__image img {
  transform: scale(1.06);
}
.product-card[data-animate].visible:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 12px 36px rgba(43,62,94,0.16);
  border-color: rgba(43,62,94,0.2);
}

/* --- Service card enhanced animation --- */
.service-card[data-animate] {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(.23,1,.32,1),
              transform 0.6s cubic-bezier(.23,1,.32,1),
              box-shadow 0.4s ease;
}
.service-card[data-animate].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.service-card[data-animate].visible:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 8px 28px rgba(43,62,94,0.14);
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}
.products-grid--6 {
  grid-template-columns: repeat(6, 1fr);
}
.products-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}
.products-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.products-grid--1 {
  grid-template-columns: repeat(4, 1fr);
}
.products-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ===== SUBCATEGORY TITLE ===== */
.subcat-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #2B3E5E;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 0 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid #D0D5DD;
}
.subcat-title:not(:first-of-type) {
  margin-top: 40px;
}

/* ===== SUBCATEGORY SPLIT (2 columns 50/50) ===== */
.subcat-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 20px;
}
.subcat-split .products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 0;
  max-width: none;
}
@media (max-width: 768px) {
  .subcat-split { grid-template-columns: 1fr; gap: 10px; }
}

/* ===== NEW BADGE ===== */
.product-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: linear-gradient(135deg, #FF7A18, #FF2D2D);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 13px;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(255,45,45,0.35);
}

/* ===== PRODUCT CARD ===== */
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid #E8ECF0;
  border-radius: 4px;
  padding: 20px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.product-card__image {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.product-card__image img {
  max-height: 130px;
  max-width: 100%;
  object-fit: contain;
}
.product-card__title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1B2A4A;
  line-height: 1.4;
  margin-bottom: 6px;
  min-height: 28px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.product-card__desc {
  font-size: 9px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 8px;
  min-height: 28px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.product-card__specs {
  font-size: 10px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 14px;
  font-weight: 500;
}
.product-card__specs span {
  display: block;
}
.btn-more {
  display: inline-block;
  background: #6B6B6B;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 22px;
  border-radius: 3px;
  transition: background 0.2s;
  margin-top: auto;
}
.btn-more:hover {
  background: #555;
}
.btn-order {
  display: inline-block;
  background: #3D3D3D;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 22px;
  border-radius: 3px;
  transition: background 0.2s;
  margin-top: auto;
  cursor: pointer;
}
.btn-order:hover {
  background: #2A2A2A;
}

/* ===== POPUP ORDER FORM ===== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.popup-overlay.active {
  display: flex;
}
.popup {
  background: #fff;
  border-radius: 8px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.popup__close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  line-height: 1;
  z-index: 1;
  transition: color 0.2s;
}
.popup__close:hover { color: #fff; }
.popup__header {
  background: #2B3E5E;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px 8px 0 0;
}
.popup__header h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
}
.popup__product-name {
  font-size: 13px;
  color: #F5A623;
  font-weight: 600;
  margin-bottom: 6px;
}
.popup__header p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0.8;
}
.popup__body {
  padding: 16px 24px 14px;
}
.popup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.popup__field {
  margin-bottom: 0;
}
.popup__field--full {
  grid-column: 1 / -1;
}
.popup__field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}
.popup__field input,
.popup__field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #D0D5DD;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.popup__field input:focus,
.popup__field textarea:focus {
  border-color: #2B3E5E;
  outline: none;
}
.popup__field textarea {
  height: 56px;
  resize: vertical;
}
.popup__consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 12px;
  font-size: 10px;
  color: #666;
  line-height: 1.4;
}
.popup__consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}
.popup__consent a {
  color: #2B3E5E;
  text-decoration: underline;
}
.popup__submit {
  display: block;
  width: 100%;
  background: #2B3E5E;
  color: #fff;
  border: none;
  padding: 11px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.popup__submit:hover { background: #1f2f47; }
.popup__submit:disabled {
  background: #aaa;
  cursor: not-allowed;
}
.popup__success {
  display: none;
  text-align: center;
  padding: 36px 24px;
}
.popup__success svg {
  width: 48px; height: 48px;
  color: #4CAF50;
  margin-bottom: 12px;
}
.popup__success h4 {
  font-size: 17px;
  margin: 0 0 6px;
  color: #333;
}
.popup__success p {
  font-size: 13px;
  color: #666;
  margin: 0;
}
@media (max-width: 600px) {
  .popup { max-width: 100%; max-height: 95vh; overflow-y: auto; }
  .popup__header { padding: 14px 18px; }
  .popup__header h3 { font-size: 15px; }
  .popup__header p { font-size: 10.5px; }
  .popup__body { padding: 14px 18px 10px; }
  .popup__row { grid-template-columns: 1fr; gap: 8px; }
  .popup__field textarea { height: 50px; }
  .popup__consent { font-size: 9.5px; }
}

/* Gray bg cards */
.catalog-section--gray .product-card {
  background: #fff;
}

/* ===== SLIDER ===== */
.slider {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.slider__viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.slider__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}
.slider__track .product-card {
  min-width: calc(25% - 15px);
  max-width: calc(25% - 15px);
  flex-shrink: 0;
}
.slider__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #D0D5DD;
  border-radius: 50%;
  background: #fff;
  color: #2B3E5E;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  z-index: 2;
}
.slider__arrow:hover {
  background: #2B3E5E;
  border-color: #2B3E5E;
  color: #fff;
}
.slider__arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.slider__arrow--left { margin-right: 12px; }
.slider__arrow--right { margin-left: 12px; }
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
}
.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D0D5DD;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.slider__dot.active {
  background: #2B3E5E;
  transform: scale(1.3);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 0 0 60px;
  background: #F4F6F8;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid #E8ECF0;
  border-radius: 6px;
  padding: 28px 22px 24px;
}
.service-card__icon {
  width: 40px;
  height: 40px;
  color: #2B3E5E;
  margin-bottom: 14px;
}
.service-card__icon svg {
  width: 100%;
  height: 100%;
}
.service-card__title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1B2A4A;
  line-height: 1.4;
  margin-bottom: 8px;
}
.service-card__text {
  font-size: 12px;
  color: #555;
  line-height: 1.7;
}

/* ===== COLLAPSIBLE TEXT ===== */
.intro-hidden { display: none; }
.intro-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #2B3E5E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: opacity .2s ease;
}
.intro-toggle:hover { opacity: 0.7; }
.intro-toggle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .25s ease;
}
.intro-expanded .intro-toggle::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.page-title .intro-toggle { color: #2B3E5E; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .products-grid--6 { grid-template-columns: repeat(4, 1fr); }
  .products-grid--1 { grid-template-columns: repeat(2, 1fr); }
  .products-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .products-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .products-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .products-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .products-grid--1 { grid-template-columns: repeat(2, 1fr); }
  .products-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .slider__track .product-card { min-width: calc(50% - 10px); max-width: calc(50% - 10px); }
  .slider__arrow { width: 36px; height: 36px; }
  .slider__arrow svg { width: 18px; height: 18px; }
  .section-brand { font-size: 32px; }
  .section-subtitle { font-size: 11px; letter-spacing: 1px; }
}

@media (max-width: 768px) {
  .products-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .products-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .products-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .products-grid--1 { grid-template-columns: 1fr; max-width: 300px; }
  .products-grid--2 { grid-template-columns: 1fr; }
  .page-title h1 { font-size: 24px; }
  .page-title p { font-size: 14px; }
  .section-brand { font-size: 28px; }
  .section-subtitle { font-size: 10px; }
  .section-header { padding: 25px 20px 20px; }
  .subcat-title { font-size: 16px; margin-top: 28px; }
  .product-card__title { font-size: 11px; }
  .product-card__desc { font-size: 10px; }
  .product-card__specs { font-size: 11px; }
  .btn-more, .btn-order { font-size: 10px; padding: 10px 20px; }

  /* AQUARIUS: disable slider, show as grid */
  .slider__arrow { display: none; }
  .slider__dots { display: none; }
  .slider { display: block; }
  .slider__viewport { overflow: visible; }
  .slider__track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    transform: none !important;
  }
  .slider__track .product-card {
    min-width: unset !important;
    max-width: unset !important;
  }
}

@media (max-width: 480px) {
  .slider__track { grid-template-columns: 1fr !important; }
  .products-grid--6,
  .products-grid--5,
  .products-grid--4 { grid-template-columns: 1fr; }
  .products-grid--1 { max-width: 100%; }
  .products-grid--2 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .product-card { padding: 24px 20px; }
  .product-card__image { height: 200px; }
  .product-card__image img { max-height: 190px; }
  .section-brand { font-size: 24px; }
  .page-title h1 { font-size: 20px; }
  .page-title p { font-size: 13px; }
  .section-description { font-size: 13px; }
  .section-intro { font-size: 13px; }
  .service-card { padding: 22px 18px 20px; }
  .service-card__title { font-size: 12px; }
  .service-card__text { font-size: 11px; }
  .footer-cta { padding: 40px 0; }
  .footer-cta__inner { font-size: 13px; }
}

