/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --ink: #071014;
  --black: #050708;
  --panel: #101719;
  --panel-2: #171f22;
  --line: rgba(255, 255, 255, 0.14);
  --muted: #9aa9ad;
  --text: #edf7f8;
  --cyan: #00b7d4;
  --teal: #00c7b2;
  --aqua: #18d2ff;
  --orange: #f05a28;
  --white: #fff;
  --light: #f5f8fa;
  --charcoal: #263035;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 18px;
}

/* ==========================================================================
   Base
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--charcoal);
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.icon {
  flex-shrink: 0;
}

.icon-teal {
  color: var(--cyan);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 10, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  min-width: max-content;
}

.brand-logo {
  height: 58px;
  width: auto;
}

.brand-flag {
  height: 34px;
  width: auto;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-logo-footer {
  margin-bottom: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: #d9e5e8;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
}

.main-nav a.active,
.main-nav a:hover {
  color: #fff;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--cyan);
  border-radius: 99px;
}

.nav-distributors {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.nav-distributors:hover {
  border-color: var(--cyan);
  color: var(--aqua);
  box-shadow: 0 0 0 1px rgba(0, 183, 212, 0.35);
}

.nav-distributors.active {
  border-color: var(--cyan);
  color: var(--aqua);
  box-shadow: 0 0 0 1px rgba(0, 183, 212, 0.45);
}

.nav-distributors::after {
  display: none !important;
}

.nav-label-short {
  display: none;
}

@media (max-width: 1159px) {
  .nav-label-long {
    display: none;
  }

  .nav-label-short {
    display: inline;
  }

  .main-nav {
    gap: 16px;
  }

  .nav-distributors {
    padding: 8px 12px;
  }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.phone-mobile {
  font-size: 13px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

.nav-toggle-icon {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: background 0.25s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-icon::before {
  top: -9px;
}

.nav-toggle-icon::after {
  top: 9px;
}

.nav-open .nav-toggle-icon {
  background: transparent;
}

.nav-open .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.main-nav .mobile-nav-brand,
.main-nav .mobile-nav-cta,
.main-nav .nav-close {
  display: none;
}

.nav-overlay {
  display: none;
}

@media (min-width: 1061px) {
  .main-nav {
    display: flex;
    position: static;
    transform: none;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    flex-direction: row;
    align-items: center;
  }

  .nav-mobile-actions,
  .nav-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), #00a6d8);
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 183, 212, 0.23);
  cursor: pointer;
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}

.hero-home {
  min-height: 680px;
  display: flex;
  flex-direction: column;
}

.compact-hero {
  min-height: 400px;
  padding: 86px 0 90px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 75% 20%, rgba(0, 183, 212, 0.18), transparent 35%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.15));
}

.hero-home .hero-bg {
  background-image:
    linear-gradient(180deg, rgba(8, 16, 18, 0.1), rgba(8, 16, 18, 0.65)),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.1);
}

.hero-distributors .hero-bg {
  background-image:
    linear-gradient(180deg, rgba(8, 16, 18, 0.15), rgba(8, 16, 18, 0.75)),
    url("../images/hero-dist.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.1);
}

.hero-distributors.compact-hero {
  min-height: 280px;
  padding: 43px 0 45px;
}

.hero-distributors .hero-inner-compact {
  min-height: auto;
  padding: 43px 0 24px;
  justify-content: flex-end;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 48px;
  min-height: 600px;
}

.hero-copy {
  max-width: 720px;
  padding-bottom: 32px;
}

.hero-copy-wide {
  padding-top: 10px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 900;
  font-size: 14px;
}

.eyebrow-dark {
  color: var(--cyan);
}

h1,
h2,
h3 {
  font-family: Archivo, Poppins, sans-serif;
  line-height: 1.04;
  margin: 0;
  color: inherit;
}

h1 {
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.25;
  margin: 0 0 28px;
  max-width: 620px;
  color: #fff;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Trust bar */
.trust-strip {
  margin-top: auto;
  background: rgba(8, 13, 15, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.trust-item small {
  display: block;
  color: #b6c7cb;
  font-size: 13px;
}

/* ==========================================================================
   Sections — shared
   ========================================================================== */
.section {
  padding: 86px 0;
}

.light-section {
  background: linear-gradient(180deg, #fff, #f2f7f9);
}

.centered {
  text-align: center;
  max-width: 790px;
  margin-inline: auto;
}

.intro-copy p:last-child {
  font-size: 17px;
  color: #536066;
  margin: 0 auto;
  max-width: 850px;
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.step-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(14, 36, 44, 0.1);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(7, 16, 20, 0.06);
}

.step-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-radius: 50%;
  color: #fff;
  font-family: Archivo, sans-serif;
  font-size: 22px;
  font-weight: 900;
  border: 3px solid #fff;
}

.step-card h3 {
  padding: 18px 18px 4px;
  color: #253137;
}

.step-card p {
  padding: 0 18px 22px;
  margin: 0;
  color: #607078;
  font-size: 14px;
}

/* ==========================================================================
   Why Choose Aquaphalt
   ========================================================================== */
.dark-feature,
.cr-section,
.video-section,
.distributor-section {
  background: #0b1113;
  color: #fff;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(0, 199, 178, 0.14), transparent 30%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #101719, #070a0b);
}

.feature-grid {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.feature-grid.six {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article:nth-child(3n) {
  border-right: 0;
}

.feature-grid article:nth-last-child(-n+3) {
  border-bottom: 0;
}

.feature-icon {
  display: block;
  margin: 0 auto 14px;
}

.feature-grid h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #fff;
}

.feature-grid p {
  font-size: 14px;
  color: #b6c6ca;
  margin: 0;
}

/* ==========================================================================
   Products
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 16px 42px rgba(14, 36, 44, 0.12);
  border: 1px solid rgba(7, 16, 20, 0.07);
}

.product-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.product-img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.product-card h3 {
  color: #15252a;
  margin-bottom: 8px;
}

.product-card h3 span {
  color: var(--cyan);
}

.product-card p {
  margin: 0 0 10px;
  color: #55646b;
}

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

.product-card li,
.contact-panel li {
  position: relative;
  padding-left: 24px;
  color: #3e4d53;
  font-size: 14px;
  margin: 6px 0;
}

.product-card li::before,
.contact-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

/* ==========================================================================
   Consumer Reports
   ========================================================================== */
.cr-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.cr-copy p {
  color: #c8d6da;
  max-width: 470px;
  margin-bottom: 24px;
}

.cr-logo-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.cr-logo-cr {
  font-family: Archivo, sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.cr-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.cr-video-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(24, 210, 255, 0.4);
  box-shadow: var(--shadow);
}

.cr-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0b1113;
  object-fit: cover;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
  background: #f5f8fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-grid > div > p {
  color: #536066;
  max-width: 400px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: #3c4a50;
  font-weight: 500;
}

.contact-list a {
  color: #008bc0;
  font-weight: 700;
}

.wide-form {
  background: #fff;
  border: 1px solid rgba(7, 16, 20, 0.08);
  box-shadow: 0 14px 38px rgba(14, 36, 44, 0.08);
  border-radius: 12px;
  padding: 28px;
}

.wide-form h3 {
  color: #17262b;
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.form-full {
  grid-column: 1 / -1;
}

.wide-form input,
.wide-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #d9e2e6;
  color: #15252a;
  border-radius: 6px;
  padding: 13px 14px;
  outline: none;
}

.wide-form input::placeholder,
.wide-form textarea::placeholder {
  color: #7a878d;
}

.wide-form textarea {
  resize: vertical;
  margin-bottom: 14px;
}

.wide-form .btn {
  margin-top: 0;
}

.contact-section .wide-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #3c4a50;
}

.contact-section .wide-form label span {
  display: inline;
  color: var(--cyan);
}

.contact-form .form-row {
  margin-bottom: 14px;
}

.contact-form .form-row:last-of-type {
  margin-bottom: 0;
}

.contact-form textarea {
  margin-bottom: 0;
}

.contact-form .cf-turnstile {
  margin: 18px 0;
}

.contact-form .btn {
  width: 100%;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-message {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.form-message-success {
  background: rgba(0, 183, 212, 0.12);
  border: 1px solid rgba(0, 183, 212, 0.35);
  color: #0d5f6f;
}

.form-message-error {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.25);
  color: #8b2e36;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #050708;
  color: #c7d6da;
  padding: 58px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h3 {
  font-size: 16px;
  color: #18d2ff;
  margin-bottom: 16px;
}

.footer-grid a,
.footer-grid span {
  display: block;
  color: #c7d6da;
  margin: 8px 0;
  font-size: 14px;
}

.footer-grid p {
  max-width: 280px;
  color: #9eb0b5;
  margin-top: 16px;
}

.footer-grid .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
}

.footer-grid .footer-brand .brand-logo,
.footer-grid .footer-brand .brand-flag {
  display: block;
  max-width: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  color: #8fa0a5;
  font-size: 13px;
}

.footer-bottom a {
  color: #18d2ff;
}

/* ==========================================================================
   Distributors page (dist.html) — preserved for consistency
   ========================================================================== */
.placeholder-img {
  background-image:
    linear-gradient(135deg, rgba(0, 174, 234, 0.16), rgba(0, 199, 178, 0.12)),
    linear-gradient(45deg, #1a2226, #465157);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  font-family: Archivo, sans-serif;
  font-weight: 900;
  color: #061015;
  box-shadow: 0 0 34px rgba(0, 199, 178, 0.2);
}

.brand strong {
  display: block;
  font-size: 19px;
  line-height: 1;
  color: var(--teal);
}

.brand em {
  display: block;
  font-style: normal;
  font-size: 18px;
  line-height: 1.1;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 58px;
  align-items: start;
}

.hero-text {
  max-width: 590px;
  color: #d7e4e7;
  margin: 0 0 28px;
  font-size: 16px;
}

.interest-card {
  background: rgba(8, 12, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(10px);
}

.interest-card h2 {
  font-size: 28px;
  color: var(--aqua);
  text-align: center;
}

.interest-card p {
  text-align: center;
  margin: 0 0 20px;
  color: #dce8eb;
  font-weight: 600;
}

form label {
  display: block;
  margin-bottom: 10px;
}

form label span {
  display: none;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 4px;
  padding: 13px 14px;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #b9c3c7;
}

select {
  appearance: none;
  color: #b9c3c7;
}

textarea {
  resize: vertical;
}

form small {
  display: block;
  text-align: center;
  color: #b9c3c7;
  margin-top: 12px;
}

.applications {
  background: #06090a;
  color: #fff;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 38px;
}

.app-grid article {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.app-img {
  height: 150px;
  background-image: linear-gradient(135deg, #2c373b, #6c7a7e);
}

.app-grid h3 {
  font-size: 15px;
  padding: 16px;
  text-align: center;
  color: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: center;
}

.video-grid p {
  color: #c8d6da;
  max-width: 470px;
}

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(24, 210, 255, 0.6);
  border-radius: 6px;
  background-image: linear-gradient(135deg, #2d3a35, #0b1113);
}

.video-card button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 6px solid #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 38px;
  padding-left: 8px;
  cursor: pointer;
}

.distributor-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 42px;
}

.big-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(24, 210, 255, 0.5);
  font-size: 34px;
  margin-bottom: 18px;
}

.distributor-intro h2,
.contact-panel h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.distributor-intro p,
.contact-panel p {
  color: #c5d4d8;
  margin: 0;
}

.search-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 16px;
  margin-bottom: 16px;
}

.search-box input {
  border: 0;
  background: transparent;
  color: #fff;
  height: 56px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.filter-row:not(.filter-row-light) button:first-child {
  background: linear-gradient(135deg, var(--cyan), #00a6d8);
}

.distributor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.distributor-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 24px;
  min-height: 250px;
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.distributor-card .location {
  color: #18d2ff;
  font-weight: 800;
  margin: 0 0 12px;
}

.distributor-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.distributor-card p {
  color: #c6d5d9;
  font-size: 14px;
  margin: 0 0 14px;
}

.distributor-card a {
  display: block;
  color: #18d2ff;
  font-weight: 700;
  margin-top: 8px;
  font-size: 14px;
}

.distributor-card a:last-child {
  display: inline-flex;
  margin-top: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  padding: 10px 14px;
}

.distributor-card.featured {
  border-color: rgba(24, 210, 255, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(24, 210, 255, 0.15),
    0 16px 32px rgba(0, 0, 0, 0.15);
}

.distributor-card.featured span {
  font-size: 46px;
  color: #18d2ff;
  display: block;
  margin-bottom: 22px;
}

.distributor-card.featured a:last-child {
  border: 0;
  color: #fff;
  margin-top: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 52px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
}

.dark-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.dark-form h3 {
  color: #18d2ff;
}

.dark-form input,
.dark-form textarea,
.dark-form select {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.dark-form small {
  text-align: left;
  color: #aebdc1;
}

/* ==========================================================================
   Distributors page — light listings
   ========================================================================== */
.distributor-listings {
  padding-top: 72px;
}

.distributor-listings-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.distributor-listings-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 520px;
}

.distributor-listings-intro h2 {
  color: #15252a;
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 8px;
}

.distributor-listings-intro p {
  color: #536066;
  margin: 0;
  font-size: 15px;
}

.filter-row-light {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row-light button {
  background: #fff;
  border: 1px solid #d9e2e6;
  color: #3c4a50;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}

.filter-row-light button.active {
  background: linear-gradient(135deg, var(--cyan), #00a6d8);
  border-color: transparent;
  color: #fff;
}

.filter-row-light button:hover:not(.active) {
  border-color: var(--cyan);
  color: var(--charcoal);
}

.distributor-card-light[hidden] {
  display: none;
}

.distributor-grid-light {
  margin-top: 0;
}

.distributor-card-light {
  background: #fff;
  border: 1px solid rgba(7, 16, 20, 0.08);
  border-radius: 12px;
  padding: 24px;
  min-height: 240px;
  color: var(--charcoal);
  box-shadow: 0 10px 28px rgba(14, 36, 44, 0.08);
}

.distributor-card-light .location {
  color: var(--cyan);
  font-weight: 800;
  margin: 0 0 10px;
  font-size: 13px;
}

.distributor-card-light .location::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300b7d4' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

.distributor-card-light h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #15252a;
}

.distributor-card-light p {
  color: #607078;
  font-size: 14px;
  margin: 0 0 14px;
  line-height: 1.5;
}

.distributor-card-light > a:not(.card-cta):not(.btn) {
  display: block;
  color: var(--cyan);
  font-weight: 700;
  margin-top: 4px;
  font-size: 14px;
}

.distributor-card-light .card-cta {
  display: inline-flex;
  margin-top: 18px;
  color: #3c4a50;
  border: 1px solid #d9e2e6;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 13px;
}

.distributor-card-featured {
  border: 2px dashed rgba(0, 183, 212, 0.45);
  background: #f8fcfd;
  box-shadow: none;
  text-align: left;
}

.distributor-card-featured h3 {
  margin-top: 12px;
}

.distributor-card-featured .btn {
  margin-top: 8px;
}

/* ==========================================================================
   Gallery placeholder
   ========================================================================== */
.gallery-section {
  background: #0b1113;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(0, 199, 178, 0.1), transparent 30%),
    linear-gradient(180deg, #101719, #070a0b);
  padding: 56px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.gallery-thumb {
  display: block;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a2226;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  border-color: rgba(0, 183, 212, 0.55);
  box-shadow: 0 0 0 2px rgba(0, 183, 212, 0.2);
  outline: none;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  opacity: 1;
  transform: scale(1.03);
}

/* ==========================================================================
   Legal / Privacy
   ========================================================================== */
.legal-section {
  padding: 72px 0 96px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.legal-content {
  min-width: 0;
}

.legal-sidebar {
  position: sticky;
  top: 104px;
}

.legal-sidebar-image {
  border-radius: 12px;
  overflow: hidden;
  background: #e8eef0;
  box-shadow: 0 10px 28px rgba(14, 36, 44, 0.1);
}

.legal-sidebar-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.legal-sidebar-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.legal-sidebar-ctas .btn-full {
  justify-content: center;
  text-align: center;
}

.legal-sidebar-ctas .btn-outline {
  background: #fff;
  border: 2px solid var(--cyan);
  color: var(--charcoal);
  box-shadow: none;
}

.legal-sidebar-ctas .btn-outline:hover {
  background: rgba(0, 183, 212, 0.08);
  color: var(--charcoal);
}

.legal-updated {
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.legal-content h2 {
  margin: 36px 0 16px;
  font-size: 1.35rem;
  color: var(--charcoal);
}

.legal-content p,
.legal-content li {
  color: #4a5a60;
  line-height: 1.75;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 1.4rem;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-list {
  margin-top: 20px;
}

.legal-content a {
  color: var(--teal);
  font-weight: 600;
}

.legal-content a:hover {
  color: var(--cyan);
}

/* ==========================================================================
   404 page
   ========================================================================== */
.hero-error {
  min-height: 480px;
}

.hero-inner-error {
  min-height: 480px;
  padding: 80px 0;
  justify-content: center;
}

.hero-error .hero-copy {
  max-width: 640px;
}

/* ==========================================================================
   Fade-in animations
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in,
  .fade-in-hero {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
  }

  .fade-in.is-visible,
  .fade-in-hero.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-in-delay-2 {
    transition-delay: 0.2s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in-hero {
    opacity: 1;
    transform: none;
  }

  .back-to-top {
    transition: none;
  }
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(0, 183, 212, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.back-to-top:hover {
  background: #00a6d8;
  box-shadow: 0 6px 26px rgba(0, 183, 212, 0.5);
}

.back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1060px) {
  .nav-mobile-actions {
    display: flex;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .phone-mobile {
    color: #fff;
  }

  .phone-mobile .icon {
    color: #fff;
  }

  .nav-toggle-icon {
    width: 24px;
    height: 2.5px;
    background: var(--cyan);
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    width: 24px;
    height: 2.5px;
    background: var(--cyan);
  }

  .nav-toggle-icon::before {
    top: -7px;
  }

  .nav-toggle-icon::after {
    top: 7px;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 90;
  }

  .nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-open .site-header {
    z-index: 110;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 94vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #050708;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px 24px 32px;
    overflow-y: auto;
    z-index: 100;
    margin-left: 0;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
  }

  .nav-open .main-nav {
    display: flex;
    transform: translateX(0);
  }

  .main-nav .mobile-nav-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav-brand-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .mobile-nav-brand .brand-logo {
    height: 48px;
  }

  .mobile-nav-brand .brand-flag {
    height: 27px;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .main-nav a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav a:last-of-type {
    border-bottom: 0;
  }

  .main-nav .nav-distributors {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-color: #fff;
    border-width: 2px;
  }

  .main-nav .mobile-nav-cta {
    display: inline-flex;
    margin-top: 20px;
    width: 100%;
  }

  .main-nav .nav-close {
    display: flex;
  }

  .nav-open .main-nav a.active::after {
    display: none;
  }

  .nav-open {
    overflow: hidden;
  }

  @media (prefers-reduced-motion: reduce) {
    .main-nav,
    .nav-overlay,
    .nav-toggle-icon,
    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
      transition: none;
    }
  }
}

@media (max-width: 1100px) {
  .hero-inner {
    min-height: auto;
    padding-top: 90px;
  }

  .trust-strip-inner {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .process-grid,
  .distributor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid.six {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid article:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .feature-grid article:nth-child(2n) {
    border-right: 0;
  }

  .feature-grid article:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .product-grid,
  .cr-grid,
  .contact-grid,
  .distributor-intro,
  .distributor-listings-header,
  .contact-panel,
  .video-grid,
  .hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-sidebar-image img {
    min-height: 220px;
  }

  .distributor-listings-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-card {
    grid-template-columns: 160px 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 44px, 1180px);
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand-logo {
    height: 48px;
  }

  .brand-flag {
    height: 27px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .phone-mobile span {
    font-size: 12px;
  }

  .hero-home {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 72px;
    padding-bottom: 0;
  }

  .compact-hero {
    padding: 70px 0;
  }

  .hero-distributors.compact-hero {
    padding: 35px 0;
    min-height: auto;
  }

  .hero-distributors .hero-inner-compact {
    padding: 36px 0 20px;
  }

  .hero-lead {
    font-size: 22px;
  }

  .trust-strip-inner,
  .process-grid,
  .feature-grid.six,
  .app-grid,
  .product-grid,
  .form-grid,
  .distributor-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 58px 0;
  }

  .product-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }

  .product-card ul {
    width: 100%;
    margin-top: 12px;
    text-align: left;
  }

  .product-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
    position: static;
    margin: 10px 0;
  }

  .product-card li::before {
    position: static;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
  }

  .product-img-wrap {
    margin: 0 auto;
    max-width: 200px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .contact-panel {
    padding: 24px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

}

/* ==========================================================================
   Boot preloader
   ========================================================================== */
.aqua-preloader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.aqua-preloader--out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.aqua-preloader[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .aqua-preloader__ring {
    animation: none;
    border-top-color: var(--cyan);
  }
}
