:root {
  --ice: #a8d8ea;
  --ice-light: #d6f0fb;
  --ice-pale: #eaf7fd;
  --deep: #071d2e;
  --navy: #0c2d48;
  --mid: #1a4a6b;
  --accent: #00cfff;
  --white: #f5fdff;
  --glass: rgba(168, 216, 234, 0.12);
  --glass-border: rgba(168, 216, 234, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--deep);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
  cursor: none;
}
/* UA stylesheet uses pointer on links/buttons — override so only the custom cursor shows */
a,
a:hover,
a:focus,
button,
button:hover,
button:focus,
[role="button"],
[role="button"]:hover,
summary,
summary:hover {
  cursor: none !important;
}

/* CUSTOM CURSOR — ice cube arrow */
.cursor-ice {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 36px;
  pointer-events: none;
  z-index: 9999999;
  transform-origin: 0 0;
  filter: drop-shadow(0 0 6px rgba(0, 207, 255, 0.7));
  transition: filter 0.2s;
}
.cursor-ice.hover {
  filter: drop-shadow(0 0 14px rgba(0, 207, 255, 1));
}

/* Floating WhatsApp (bottom right) */
.wa-float {
  position: fixed;
  right: 1.35rem;
  bottom: max(1.35rem, env(safe-area-inset-bottom, 0px));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 28px rgba(37, 211, 102, 0.5),
    0 0 0 3px rgba(255, 255, 255, 0.1);
  z-index: 10000;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow:
    0 8px 36px rgba(37, 211, 102, 0.55),
    0 0 0 4px rgba(255, 255, 255, 0.15);
}
.wa-float-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: waFloatBob 3s ease-in-out infinite;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
@keyframes waFloatBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* CANVAS BACKGROUND */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5vw;
  transition:
    background 0.4s,
    backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(7, 29, 46, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
}
.logo {
  width: 200px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  display: block;
  flex-shrink: 0;
  width: 100%;
}
.logo span {
  color: var(--accent);
}
.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: rgba(245, 253, 255, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-cta {
  background: linear-gradient(135deg, var(--accent), #0099cc);
  color: var(--deep) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 100px;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition:
    box-shadow 0.3s,
    transform 0.2s !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  box-shadow: 0 0 24px rgba(0, 207, 255, 0.5) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(7, 29, 46, 0.6);
  backdrop-filter: blur(8px);
  z-index: 110;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.nav-backdrop {
  display: none;
}
body.nav-menu-open {
  overflow: hidden;
}

/* HERO */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 8vw 0;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 50%,
      rgba(0, 150, 200, 0.18) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 20% 80%,
      rgba(0, 207, 255, 0.08) 0%,
      transparent 60%
    );
  z-index: 0;
}

/* Floating ice cubes */
.ice-float {
  position: absolute;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(168, 216, 234, 0.18),
    rgba(0, 207, 255, 0.08)
  );
  border: 1px solid rgba(168, 216, 234, 0.25);
  backdrop-filter: blur(6px);
  animation: floatIce linear infinite;
  z-index: 0;
}

@keyframes floatIce {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0) rotate(360deg);
    opacity: 0.6;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 207, 255, 0.1);
  border: 1px solid rgba(0, 207, 255, 0.3);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.8rem;
  animation: fadeSlideUp 0.8s ease both;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  animation: fadeSlideUp 0.9s 0.1s ease both;
}
h1 em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  background: linear-gradient(90deg, var(--accent), var(--ice-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 1.6rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 253, 255, 0.65);
  max-width: 440px;
  animation: fadeSlideUp 1s 0.2s ease both;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 1.1s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--accent), #0099cc);
  color: var(--deep);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
  border: none;
  cursor: none;
}
.btn-primary:hover {
  box-shadow: 0 0 32px rgba(0, 207, 255, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--glass-border);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.2s;
  backdrop-filter: blur(6px);
  cursor: none;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(0, 207, 255, 0.08);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeSlideUp 1.2s 0.4s ease both;
}
.stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 253, 255, 0.5);
  margin-top: 0.2rem;
}

/* Big ice cube visual */
.hero-visual {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 40vw, 560px);
  z-index: 1;
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-2deg);
  }
  50% {
    transform: translateY(calc(-50% - 20px)) rotate(2deg);
  }
}

/* SECTION BASE */
section {
  position: relative;
  z-index: 1;
}
.section-inner {
  padding: 7rem 8vw;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

/* ABOUT — same atmosphere as hero: particles + floating glass squares */
#about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--deep) 0%, var(--navy) 100%);
}
.about-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
#about-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}
#about .ice-float-about {
  z-index: 1;
}
#about .section-inner.about-grid {
  position: relative;
  z-index: 2;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-text p {
  color: rgba(245, 253, 255, 0.65);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.feature-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  transition:
    border-color 0.3s,
    transform 0.2s;
}
.feature-chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-chip-icon {
  font-size: 1.3rem;
}

.about-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(100%, 500px);
  margin-left: auto;
}
/* .about-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: linear-gradient(145deg, rgba(7,29,46,0.85) 0%, rgba(12,45,72,0.55) 100%);
  box-shadow: inset 0 0 60px rgba(0,207,255,0.06), 0 20px 50px rgba(0,0,0,0.35);
}
.about-visual-frame .ice-float {
  z-index: 0;
  opacity: 0.75;
}
.about-logo-float {
  position: absolute;
  inset: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
} */
@keyframes aboutFloat {
  0% {
    transform: translate(1%, 1%) rotate(-2deg) scale(1);
  }
  25% {
    transform: translate(1%, calc(1% - 18px)) rotate(1deg) scale(1.02);
  }
  50% {
    transform: translate(1%, calc(1% - 28px)) rotate(2.5deg) scale(1.03);
  }
  75% {
    transform: translate(1%, calc(1% - 14px)) rotate(0.5deg) scale(1.01);
  }
  100% {
    transform: translate(1%, 1%) rotate(-2deg) scale(1);
  }
}
.about-watermark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.52;
  /* filter: saturate(0)  brightness(1.75) drop-shadow(0 0 28px rgba(0,207,255,0.35)); */
  mix-blend-mode: luminosity;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    black 38%,
    transparent 76%
  );
  mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    black 38%,
    transparent 76%
  );
  animation: aboutFloat 6s ease-in-out infinite;
}

/* PRODUCTS */
#products {
  background: var(--deep);
  position: relative;
}
#products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    rgba(0, 207, 255, 0.06) 0%,
    transparent 55%
  );
  pointer-events: none;
}
#products .section-inner {
  position: relative;
  z-index: 1;
}
.products-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.products-header .products-lead {
  color: rgba(245, 253, 255, 0.55);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  margin-top: 0.25rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

a.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(12, 45, 72, 0.55);
  border: 1px solid rgba(168, 216, 234, 0.14);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
  cursor: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
a.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
a.product-card:hover::after {
  opacity: 1;
}
a.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 207, 255, 0.35);
  box-shadow:
    0 28px 48px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(0, 207, 255, 0.08);
}
a.product-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
a.product-card--popular {
  border-color: rgba(0, 207, 255, 0.28);
  box-shadow: 0 8px 32px rgba(0, 207, 255, 0.1);
}
.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem 0.5rem;
  background: linear-gradient(
    180deg,
    rgba(0, 80, 110, 0.25) 0%,
    rgba(7, 29, 46, 0.15) 100%
  );
  overflow: hidden;
}
.product-card-media::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(12, 45, 72, 0.9), transparent);
  pointer-events: none;
}
.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.35rem 0.85rem;
  background: rgba(7, 29, 46, 0.75);
  border: 1px solid rgba(0, 207, 255, 0.35);
  border-radius: 6px;
  color: var(--white);
  backdrop-filter: blur(8px);
}
.product-card-badge--accent {
  background: linear-gradient(
    135deg,
    rgba(0, 207, 255, 0.25),
    rgba(0, 150, 200, 0.15)
  );
  border-color: rgba(0, 207, 255, 0.5);
  color: var(--ice-light);
}
.product-card-popular {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  background: var(--accent);
  color: var(--deep);
  border-radius: 4px;
}
.product-card-media img {
  position: relative;
  z-index: 1;
  width: 88%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
a.product-card:hover .product-card-media img {
  transform: scale(1.04);
}
.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.65rem;
  gap: 0;
}
.product-card-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.product-card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245, 253, 255, 0.58);
  margin-bottom: 1.25rem;
  flex: 1;
  font-weight: 400;
}
.product-card .product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(168, 216, 234, 0.12);
}
.product-card .tag {
  background: rgba(0, 207, 255, 0.06);
  border: 1px solid rgba(168, 216, 234, 0.2);
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(168, 216, 234, 0.95);
  text-transform: uppercase;
}
.product-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep);
  background: linear-gradient(135deg, var(--accent), #0099cc);
  border: none;
  transition:
    box-shadow 0.3s ease,
    transform 0.25s ease;
}
a.product-card:hover .product-card-btn {
  box-shadow: 0 0 24px rgba(0, 207, 255, 0.45);
  transform: translateY(-1px);
}
.product-card-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}
a.product-card:hover .product-card-btn svg {
  transform: translateX(3px);
}
.tag {
  background: rgba(0, 207, 255, 0.1);
  border: 1px solid rgba(0, 207, 255, 0.2);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

/* WHY US */
#why {
  background: linear-gradient(135deg, var(--navy) 0%, #0a2238 100%);
  overflow: hidden;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.why-item:hover {
  background: var(--glass);
  border-color: var(--glass-border);
}
.why-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #0088bb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.why-text h4 {
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.why-text p {
  font-size: 0.85rem;
  color: rgba(245, 253, 255, 0.55);
  line-height: 1.6;
}

/* Numbers panel */
.why-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.num-card {
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.num-card:hover {
  transform: scale(1.04);
}
.num-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.num-big {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--ice-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.num-desc {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 253, 255, 0.5);
  margin-top: 0.4rem;
}

/* CONTACT */
#products,
#contact {
  scroll-margin-top: 100px;
}
#contact {
  background: var(--deep);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.contact-form-wrap {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
}
.contact-form-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 253, 255, 0.55);
}
.form-field input,
.form-field textarea {
  background: rgba(7, 29, 46, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  cursor: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.12);
}
.form-field textarea {
  resize: none;
  height: 110px;
}
.form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.form-status.is-visible {
  display: block;
}
.form-status.is-success {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #9ef0c4;
}
.form-status.is-error {
  background: rgba(255, 99, 99, 0.12);
  border: 1px solid rgba(255, 99, 99, 0.35);
  color: #ffb3b3;
}
.btn-primary:disabled {
  opacity: 0.7;
  cursor: none !important;
  transform: none;
  box-shadow: none;
}

/* Custom product dropdown (replaces native select) */
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  background: rgba(7, 29, 46, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  cursor: none;
}
.custom-select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-select-value.is-placeholder {
  color: rgba(245, 253, 255, 0.45);
}
.custom-select-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
  opacity: 0.9;
}
.custom-select.is-open .custom-select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.12);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.custom-select.is-open .custom-select-chevron {
  transform: rotate(225deg) translateY(2px);
}
.custom-select-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: rgba(12, 45, 72, 0.98);
  border: 1px solid var(--accent);
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 50;
  max-height: 220px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.custom-select.is-open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-select-option {
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: rgba(245, 253, 255, 0.85);
  cursor: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.custom-select-option:hover,
.custom-select-option.is-focused {
  background: rgba(0, 207, 255, 0.12);
  color: var(--white);
}
.custom-select-option.is-selected {
  background: rgba(0, 207, 255, 0.18);
  color: var(--accent);
  font-weight: 500;
}
.custom-select-option.is-placeholder-opt {
  color: rgba(245, 253, 255, 0.4);
  font-size: 0.85rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  transition: border-color 0.3s;
}
.info-block:hover {
  border-color: var(--accent);
}
.info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0, 207, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.info-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.info-val,
.info-val a {
  font-size: 0.9rem;
  color: rgba(245, 253, 255, 0.85) !important;
  text-decoration: none !important;
}

.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: #25d366;
  color: white;
  border-radius: 14px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  cursor: none;
}
.wa-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  padding: 3.5rem 8vw 2rem;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/footer-bg.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {
  width: 200px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(245, 253, 255, 0.5);
  line-height: 1.7;
  margin-top: 0.8rem;
}
footer h5 {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
footer ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(245, 253, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
footer ul li a svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}
footer ul li a:hover {
  color: var(--white);
}
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(245, 253, 255, 0.35);
}
.footer-copy,
.footer-credit {
  margin: 0;
  line-height: 1.55;
}
.footer-credit a {
  color: rgba(245, 253, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit a:hover {
  color: var(--white);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wmFloat {
  0% {
    transform: translate(-50%, -50%) rotate(-2deg) scale(1);
  }
  25% {
    transform: translate(-50%, calc(-50% - 18px)) rotate(1deg) scale(1.02);
  }
  50% {
    transform: translate(-50%, calc(-50% - 28px)) rotate(2.5deg) scale(1.03);
  }
  75% {
    transform: translate(-50%, calc(-50% - 14px)) rotate(0.5deg) scale(1.01);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-2deg) scale(1);
  }
}

/* MARQUEE */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  background: rgba(0, 207, 255, 0.03);
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: rgba(245, 253, 255, 0.35);
  padding: 0 1.5rem;
}
.marquee-track span em {
  color: var(--accent);
  font-style: normal;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Contact — below 1200px: stack columns, tighter gap */
@media (max-width: 1199px) {
  #contact .section-inner {
    padding: 5rem 6vw;
  }
  .contact-header {
    margin-bottom: 2rem;
  }
  .contact-header .section-title br {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 100%;
    margin-inline: auto;
    align-items: stretch;
  }
  .contact-form-wrap {
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
  }
  .contact-form-title {
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
  }
  .contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .contact-info .wa-btn {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    padding: 1rem 1.25rem;
  }
  .contact-info .info-block {
    margin: 0;
    height: 100%;
    padding: 1rem 1.1rem;
  }
  .contact-info .info-block:nth-child(2) {
    grid-column: 1 / -1;
  }
  .contact-info .info-val {
    font-size: 0.85rem;
    line-height: 1.55;
    word-break: break-word;
  }
}
/* MOBILE */
@media (max-width: 900px) {
  .logo {
    width: min(160px, 42vw);
  }
  .nav-toggle {
    display: flex;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(4, 14, 24, 0.65);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease;
    z-index: 104;
  }
  nav.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 5.25rem 1.5rem 2rem;
    list-style: none;
    background: rgba(7, 29, 46, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 105;
    overflow-y: auto;
  }
  nav.nav-open .nav-links {
    transform: translateX(0);
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(168, 216, 234, 0.1);
  }
  .nav-links li:last-child {
    border-bottom: none;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
  }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.9rem;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-cta {
    display: block;
    text-align: center;
    padding: 0.85rem 1.25rem !important;
    border-radius: 100px;
  }
  /* Custom ice-cube cursor shows as a stray “arrow” on touch — hide on mobile */
  .cursor-ice,
  #ice-trail-canvas {
    display: none !important;
  }
  body {
    cursor: auto;
  }
  a,
  a:hover,
  a:focus,
  button,
  button:hover,
  button:focus,
  [role="button"],
  [role="button"]:hover,
  .custom-select-trigger,
  .custom-select-option,
  summary,
  summary:hover {
    cursor: pointer !important;
  }
  .about-visual .ice-float {
    display: none;
  }
  #home .ice-float {
    display: none;
  }
  h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }
  .hero-visual {
    display: none;
  }
  .about-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 420px;
    margin-inline: auto;
  }
  .product-card-media {
    aspect-ratio: 16 / 11;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  #contact .section-inner {
    padding: 4rem 5vw;
  }
  .contact-header {
    margin-bottom: 1.75rem;
  }
  .contact-grid {
    max-width: none;
    gap: 1rem;
  }
  .contact-form-wrap {
    padding: 1.25rem 1rem;
    border-radius: 18px;
  }
  .contact-form-title {
    margin-bottom: 1rem;
    font-size: 1.35rem;
  }
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .contact-info .wa-btn {
    grid-column: auto;
  }
  .form-field {
    margin-bottom: 0.75rem;
  }
  .why-numbers {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats {
    gap: 2rem;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  footer {
    padding-bottom: 5.5rem;
  }
  .footer-brand {
    width: auto;
    max-width: 280px;
    margin-inline: auto;
    text-align: center;
  }
  .footer-brand .logo {
    justify-content: center;
    margin-inline: auto;
  }
  .footer-grid > div {
    text-align: center;
  }
  footer ul {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    padding-top: 1.25rem;
  }
  .footer-copy,
  .footer-credit {
    max-width: 20rem;
  }
}

/* Image Gallery Section - Related Code Start */

.visual-gallery {
  --gallery-blue: #2057a4;
  --gallery-ink: #152b49;
  --gallery-muted: #718096;

  width: 100%;
  max-width: 100%;
  padding: 100px 24px;
  background: #f7f9fc;
  color: var(--gallery-ink);
  font-family: inherit;
  overflow: hidden;
}

.visual-gallery,
.visual-gallery * {
  box-sizing: border-box;
}

.visual-gallery{
  background: linear-gradient(0deg, var(--deep) 0%, var(--navy) 100%);
}
.visual-gallery .visual-gallery__container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Heading */

.visual-gallery .visual-gallery__header {
  width: 100%;
  max-width: 750px;
  margin: 0 auto 55px;
  text-align: center;
  animation: visualGalleryFadeUp 0.8s ease both;
}

.visual-gallery .visual-gallery__eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
  color: #00CFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.visual-gallery .visual-gallery__eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: #00CFFF;
  opacity: 0.8;
}

.visual-gallery .visual-gallery__title {
  margin: 0;
   color: #F5FDFF;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -2px;
}

.visual-gallery .visual-gallery__title span {
   color: #F5FDFF;
  -webkit-text-fill-color: #F5FDFF;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.visual-gallery .visual-gallery__description {
  max-width: 560px;
  margin: 22px auto 24px;
  color: var(--gallery-muted);
  font-size: 16px;
  line-height: 1.8;
}

.visual-gallery .visual-gallery__count {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid #e1e7f0;
  border-radius: 50px;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.visual-gallery .visual-gallery__count-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gallery-blue);
  box-shadow: 0 0 0 4px #e9f0fc;
}

/* Gallery Grid */

.visual-gallery .visual-gallery__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 18px;
  align-items: stretch;
}

.visual-gallery .visual-gallery__item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #e7edf5;
  cursor: zoom-in;
  text-align: left;
  isolation: isolate;
  opacity: 0;
  transform: translateY(24px);
  animation: visualGalleryFadeUp 0.65s ease forwards;
}

.visual-gallery .visual-gallery__item:nth-child(1) {
  animation-delay: 0.04s;
}
.visual-gallery .visual-gallery__item:nth-child(2) {
  animation-delay: 0.1s;
}
.visual-gallery .visual-gallery__item:nth-child(3) {
  animation-delay: 0.16s;
}
.visual-gallery .visual-gallery__item:nth-child(4) {
  animation-delay: 0.22s;
}
.visual-gallery .visual-gallery__item:nth-child(5) {
  animation-delay: 0.28s;
}
.visual-gallery .visual-gallery__item:nth-child(6) {
  animation-delay: 0.34s;
}
.visual-gallery .visual-gallery__item:nth-child(7) {
  animation-delay: 0.4s;
}
.visual-gallery .visual-gallery__item:nth-child(8) {
  animation-delay: 0.46s;
}
.visual-gallery .visual-gallery__item:nth-child(9) {
  animation-delay: 0.52s;
}
.visual-gallery .visual-gallery__item:nth-child(10) {
  animation-delay: 0.58s;
}
.visual-gallery .visual-gallery__item:nth-child(11) {
  animation-delay: 0.64s;
}

.visual-gallery .visual-gallery__item--large {
  grid-row: span 2;
}

.visual-gallery .visual-gallery__item--wide {
  grid-column: span 2;
}

.visual-gallery .visual-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.visual-gallery .visual-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(7, 20, 39, 0.6) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.visual-gallery .visual-gallery__overlay {
  position: absolute;
  inset: auto 15px 15px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.visual-gallery .visual-gallery__item-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.visual-gallery .visual-gallery__zoom {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 20px;
}

@media (hover: hover) {
  .visual-gallery .visual-gallery__item:hover img {
    transform: scale(1.07);
  }

  .visual-gallery .visual-gallery__item:hover::after,
  .visual-gallery .visual-gallery__item:hover .visual-gallery__overlay {
    opacity: 1;
  }

  .visual-gallery .visual-gallery__item:hover .visual-gallery__overlay {
    transform: translateY(0);
  }
}

.visual-gallery .visual-gallery__item:focus-visible {
  outline: 3px solid #5892ed;
  outline-offset: 4px;
}

/* Footer */

.visual-gallery .visual-gallery__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 35px;
  color: #8190a5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.visual-gallery .visual-gallery__footer-line {
  width: 50px;
  height: 1px;
  background: #cbd5e1;
}

/* Popup: parent-scoped */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 45px;
  overflow: auto;
  background: rgba(5, 13, 26, 0.96);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox__content {
  width: min(100%, 1050px);
  min-width: 0;
  max-height: 100%;
  animation: visualGalleryLightboxZoom 0.35s ease both;
}

.gallery-lightbox__top,
.gallery-lightbox__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #fff;
}

.gallery-lightbox__top {
  margin-bottom: 17px;
}

.gallery-lightbox__brand,
.gallery-lightbox__counter,
.gallery-lightbox__hint {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}

.gallery-lightbox__counter,
.gallery-lightbox__hint {
  color: #a9b7cb;
}

.gallery-lightbox__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: min(68vh, 740px);
  height: min(68dvh, 740px);
  min-height: 200px;
}

.gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox__bottom {
  margin-top: 17px;
}

.gallery-lightbox__caption {
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.gallery-lightbox button {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s ease;
}

.gallery-lightbox button:hover {
  background: rgba(255, 255, 255, 0.19);
}

.gallery-lightbox button:focus-visible {
  outline: 3px solid #5892ed;
  outline-offset: 4px;
}

.gallery-lightbox__close {
  position: absolute !important;
  top: 22px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.gallery-lightbox__nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
}

.gallery-lightbox button:disabled {
  opacity: 0.45;
  cursor: default;
}

/* Animations */

@keyframes visualGalleryFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes visualGalleryLightboxZoom {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Tablet */

@media (max-width: 900px) {
  .visual-gallery {
    padding: 75px 22px;
  }

  .visual-gallery .visual-gallery__container {
    max-width: 100%;
  }

  .visual-gallery .visual-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 175px;
    gap: 13px;
  }

  .gallery-lightbox {
    gap: 14px;
    padding: 55px 20px;
  }

  .gallery-lightbox__nav {
    width: 40px;
    height: 40px;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .visual-gallery {
    padding: 55px 15px;
  }

  .visual-gallery .visual-gallery__header {
    margin-bottom: 30px;
  }

  .visual-gallery .visual-gallery__eyebrow {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #00CFFF;
    text-shadow: 0 0 8px rgba(0, 207, 255, 0.25);
    opacity: 1;
  }

  .visual-gallery .visual-gallery__title {
    font-size: clamp(32px, 8vw, 44px);
    letter-spacing: -1px;
  }

  .visual-gallery .visual-gallery__description {
    margin: 16px auto 20px;
    font-size: 14px;
  }

  .visual-gallery .visual-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 145px;
    gap: 10px;
  }

  .visual-gallery .visual-gallery__item--large {
    grid-row: span 2;
  }

  .visual-gallery .visual-gallery__item--wide {
    grid-column: span 2;
  }

  .visual-gallery .visual-gallery__item {
    border-radius: 9px;
  }

  .visual-gallery .visual-gallery__overlay {
    inset: auto 8px 8px;
    opacity: 1;
    transform: none;
  }

  .visual-gallery .visual-gallery__item::after {
    opacity: 1;
  }

  .visual-gallery .visual-gallery__item-number {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .visual-gallery .visual-gallery__zoom {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .visual-gallery .visual-gallery__footer {
    gap: 10px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .visual-gallery .visual-gallery__footer-line {
    width: 25px;
  }

  .gallery-lightbox {
    gap: 8px;
    padding: 60px 10px 30px;
  }

  .gallery-lightbox__content {
    flex: 1;
    min-width: 0;
  }

  .gallery-lightbox__nav {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .gallery-lightbox__image-wrap {
    height: 65vh;
    height: 65dvh;
    min-height: 180px;
  }

  .gallery-lightbox__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .gallery-lightbox__brand,
  .gallery-lightbox__counter,
  .gallery-lightbox__hint {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .gallery-lightbox__caption {
    font-size: 11px;
  }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  .visual-gallery .visual-gallery__item,
  .visual-gallery .visual-gallery__header {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .visual-gallery *,
  .visual-gallery *::before,
  .visual-gallery *::after,
  .gallery-lightbox,
  .gallery-lightbox * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
/* Keep mouse cursor visible inside gallery popup */

.gallery-lightbox,
.gallery-lightbox *,
.gallery-lightbox button,
.gallery-lightbox img {
  cursor: auto !important;
}

.gallery-lightbox button {
  cursor: pointer !important;
}

.gallery-lightbox__image {
  cursor: zoom-out !important;
}
/* Image Gallery Section - Related Code End */
