/* =================================================================
   ASA Hydraulik Nederland - multilingual industrial site
   ================================================================= */

:root {
  --blue: #0a3a7a;
  --blue-2: #1459a6;
  --cyan: #0b9eb7;
  --red: #d9342b;
  --ink: #111827;
  --steel: #334155;
  --muted: #64748b;
  --line: #d8e0ea;
  --soft: #f4f7fb;
  --paper: #ffffff;
  --dark: #101923;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(16, 25, 35, 0.14);
  --header: 76px;
  --container: 1180px;
  --font: "Segoe UI", Roboto, Arial, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1 {
  font-size: 3.65rem;
  max-width: 900px;
}

h2 {
  font-size: 2.35rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  color: var(--steel);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding: 88px 0;
}

.section--compact {
  padding: 36px 0;
}

.section--tinted {
  background: var(--soft);
}

.section--cta {
  background: var(--dark);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: currentColor;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.section-head--center .eyebrow {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.btn svg,
.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(217, 52, 43, 0.28);
}

.btn--secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
}

.btn--shop {
  color: var(--blue);
  background: #eaf2fb;
  border: 1px solid #cfe0f4;
}

.btn--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--block {
  width: 100%;
}

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 800;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 234, 0.85);
  backdrop-filter: blur(14px);
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(16, 25, 35, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.brand__logo {
  width: 52px;
  height: auto;
}

.brand__name {
  display: grid;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.05;
}

.brand__name span {
  margin-top: 3px;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav__item {
  position: relative;
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: var(--radius);
}

.nav__item > a,
.nav > a.nav__item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
}

.nav__item:hover,
.nav__item.active {
  color: var(--blue);
  background: #eef5fd;
}

.has-dropdown > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 560px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown__link {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius);
}

.dropdown__link:hover {
  background: var(--soft);
}

.dropdown__link img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.dropdown__link strong,
.dropdown__link small {
  display: block;
}

.dropdown__link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.lang-switch__opt {
  min-width: 32px;
  padding: 6px 7px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.lang-switch__opt.active {
  color: #fff;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 45;
  display: none;
  padding: 22px;
  overflow-y: auto;
  background: #fff;
  transform: none;
}

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

.mobile-nav a,
.mobile-nav__group button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.mobile-nav__sub {
  display: none;
  padding-left: 14px;
}

.mobile-nav__group.expanded .mobile-nav__sub {
  display: block;
}

.mobile-nav__sub a {
  color: var(--steel);
  font-weight: 700;
}

.mobile-nav a.btn {
  justify-content: center;
  margin-top: 14px;
  color: #fff;
  border-bottom: 0;
}

.mobile-nav__lang {
  margin-bottom: 10px;
}

.hero,
.page-hero {
  position: relative;
  min-height: 640px;
  padding-top: var(--header);
  display: flex;
  align-items: center;
  color: #fff;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.page-hero {
  min-height: 520px;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 31, 0.92) 0%, rgba(7, 18, 31, 0.72) 48%, rgba(7, 18, 31, 0.28) 100%),
    linear-gradient(0deg, rgba(7, 18, 31, 0.38), rgba(7, 18, 31, 0.08));
}

.hero__content,
.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 70px 0;
}

.hero h1,
.page-hero h1,
.section--cta h2 {
  color: #fff;
}

.hero .lead,
.page-hero .lead {
  max-width: 720px;
  margin: 22px 0 28px;
  color: #dbe8f6;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #d8e7f7;
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: #d8e7f7;
}

.breadcrumbs a:hover {
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(16, 25, 35, 0.08);
}

.stat {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.two-col,
.product-detail,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card,
.entity-card,
.contact-panel,
.form-card,
.mapping-note,
.product-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(16, 25, 35, 0.12);
}

.product-card__image {
  aspect-ratio: 16 / 10;
  background: #eef3f8;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-card__body h3 {
  margin-bottom: 10px;
}

.product-card__body p {
  flex: 1;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card .text-link {
  margin-top: 18px;
}

.fact-list {
  display: grid;
  gap: 12px;
}

.fact-list p,
.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.fact-list svg,
.check-list svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.product-figure {
  overflow: hidden;
  margin: 0;
}

.product-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.product-figure figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-figure a {
  color: var(--blue);
  font-weight: 800;
}

.mapping-table {
  display: grid;
  gap: 10px;
}

.mapping-table a {
  display: grid;
  grid-template-columns: 120px 1fr 22px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mapping-table a:hover {
  border-color: #b7c9dc;
  background: #f9fbfe;
}

.mapping-table span {
  color: var(--blue);
  font-weight: 900;
  font-size: 0.82rem;
}

.mapping-table strong {
  color: var(--ink);
}

.mapping-table svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.mapping-note {
  padding: 22px;
}

.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  color: var(--ink);
  background: #f8fbfe;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #cfe0f4;
  border-radius: var(--radius);
  color: var(--blue);
  background: #eef5fd;
  font-weight: 800;
  font-size: 0.9rem;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq__item summary {
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq__item p {
  padding: 0 20px 20px;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 28px;
  align-items: center;
}

.cta-band p {
  margin-top: 12px;
  color: #cbd9e8;
}

.contact-panel,
.form-card,
.entity-card {
  padding: 26px;
}

.contact-panel h2,
.entity-card h3 {
  margin-bottom: 14px;
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-card label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #bfcbd9;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.form-control:focus {
  outline: 3px solid rgba(11, 158, 183, 0.22);
  border-color: var(--cyan);
}

textarea.form-control {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f8fbfe;
  font-size: 0.92rem;
}

.form-status--ok {
  color: #166534;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.form-status--warn,
.form-status--pending {
  color: #854d0e;
  background: #fff7ed;
  border-color: #fed7aa;
}

.site-footer {
  padding-top: 60px;
  background: #0b121b;
  color: #aebdce;
}

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

.brand--footer .brand__name,
.site-footer h2 {
  color: #fff;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 7px 0;
  color: #aebdce;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-size: 0.86rem;
}

.footer-bottom a {
  display: inline;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

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

.to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.not-found {
  min-height: 70vh;
  padding-top: calc(var(--header) + 90px);
}

@media (max-width: 1120px) {
  .nav,
  .header__tools .btn {
    display: none;
  }

  .header__tools > .lang-switch {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .mobile-nav {
    display: none;
  }

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

@media (max-width: 1320px) and (min-width: 1121px) {
  .brand {
    min-width: 180px;
  }

  .header__tools .btn--shop {
    display: none;
  }

  .nav__item > a,
  .nav > a.nav__item {
    padding: 0 8px;
  }
}

@media (max-width: 820px) {
  :root {
    --header: 68px;
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .hero,
  .page-hero {
    min-height: 560px;
    background-position: center;
  }

  .hero__shade {
    background: rgba(7, 18, 31, 0.78);
  }

  .hero__content,
  .page-hero__content {
    padding: 54px 0;
  }

  .stats-grid,
  .two-col,
  .product-detail,
  .contact-grid,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .stat:last-child {
    border-bottom: 0;
  }

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

  .mapping-table a {
    grid-template-columns: 1fr 22px;
  }

  .mapping-table span {
    grid-column: 1 / -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .button-row .btn {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
