﻿section[id] {
  scroll-margin-top: 9rem;
}


.brand-kicker {
  color: rgba(255, 255, 255, 0.78);
  text-shadow: none;
}

.brand-name {
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.015em;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 10px 24px rgba(3, 15, 28, 0.18);
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #111827;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(242, 169, 0, 0.25);
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(242, 169, 0, 0.34);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.info-card,
.product-card,
.stat-card {
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover,
.product-card:hover,
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(8, 47, 79, 0.12);
  border-color: rgba(11, 79, 138, 0.3);
}

.trust-card,
.info-card,
.product-card,
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(8, 47, 79, 0.1);
  border-color: rgba(19, 103, 177, 0.22);
}

.hero-grid {
  background: #0b3d6b;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-bg-layer.is-active {
  opacity: 1;
}

.hero-copy {
  text-shadow: 0 3px 18px rgba(3, 15, 28, 0.45);
}

.hero-panel {
  background: linear-gradient(180deg, rgba(7, 44, 82, 0.72), rgba(7, 44, 82, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px rgba(3, 15, 28, 0.22);
  backdrop-filter: blur(8px);
}

.mobile-nav {
  display: flex;
  gap: 0.55rem;
  padding: 0.55rem 0 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.mobile-nav::-webkit-scrollbar {
  display: none;
}

.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2.2rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.contact-copy-break {
  display: none;
}

.soft-panel {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px rgba(8, 47, 79, 0.08);
}

.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 79, 138, 0.12);
  box-shadow: 0 16px 36px rgba(8, 47, 79, 0.07);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(19, 103, 177, 0.12), rgba(242, 169, 0, 0.18));
  color: var(--primary);
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 80%);
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: #0f172a;
}

.section-title::before {
  content: "";
  width: 0.4rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.marquee {
  position: relative;
}

.marquee-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.marquee-viewport {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -ms-overflow-style: none;
}

.marquee-viewport::-webkit-scrollbar {
  display: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  will-change: transform;
}

.marquee-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(11, 79, 138, 0.16);
  background: rgba(255, 255, 255, 0.98);
  color: var(--primary-dark);
  box-shadow: 0 12px 24px rgba(8, 47, 79, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.marquee-button:hover {
  transform: translateY(-1px);
  border-color: rgba(19, 103, 177, 0.28);
  background: #ffffff;
}

.marquee-button:focus-visible {
  outline: 3px solid rgba(19, 103, 177, 0.18);
  outline-offset: 2px;
}

.brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 16rem;
  min-height: 9rem;
  padding: 0.65rem 0.85rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(11, 79, 138, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(8, 47, 79, 0.08);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.brand-tile img {
  max-width: 100%;
  width: auto;
  max-height: 5.8rem;
  object-fit: contain;
  filter: grayscale(0.1) contrast(1.05);
  transition: transform 0.25s ease;
}

.brand-tile img.brand-logo-new {
  max-height: 4.85rem;
}

.brand-tile img.brand-logo-wide {
  max-height: 4.35rem;
}

.brand-tile img.brand-logo-hitachi {
  max-height: 2.85rem;
}

.brand-tile img.brand-logo-dh {
  max-height: 3.05rem;
}

.brand-tile img.brand-logo-rexroth {
  max-height: 5.95rem;
}

.brand-tile:hover {
  transform: scale(1.08);
  background: #ffffff;
  border-color: rgba(19, 103, 177, 0.24);
  z-index: 2;
}

.brand-tile:hover img {
  transform: scale(1.06);
}

.contact-panel {
  background:
linear-gradient(180deg, rgba(10, 63, 115, 0.98), rgba(7, 44, 82, 0.98)),
radial-gradient(circle at top right, rgba(242, 169, 0, 0.18), transparent 30%);
}

.legal-check {
  accent-color: var(--accent-strong);
}

.form-field {
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field:focus {
  box-shadow: 0 0 0 4px rgba(19, 103, 177, 0.12);
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(19, 103, 177, 0.08);
  color: var(--primary-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid rgba(19, 103, 177, 0.12);
}

.form-status.is-visible {
  display: block;
}

.form-status.is-pending {
  background: rgba(19, 103, 177, 0.08);
  border-color: rgba(19, 103, 177, 0.12);
  color: var(--primary-dark);
}

.form-status.is-success {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.18);
  color: #166534;
}

.form-status.is-error {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.16);
  color: #991b1b;
}

@media (prefers-reduced-motion: reduce) {
  html {
scroll-behavior: auto;
  }

  .btn-main,
  .info-card,
  .product-card,
  .stat-card,
  .marquee-track {
transition: none;
animation: none;
  }
}

@media (max-width: 767px) {
  .section-shell {
padding-left: 1rem;
padding-right: 1rem;
  }

  .brand-logo-header {
width: 6.5rem;
  }

  .brand-lockup {
gap: 0.6rem;
  }

  .brand-meta p:first-child {
font-size: 0.92rem;
  }

  .brand-meta p:last-child {
font-size: 0.92rem;
  }

  .brand-name {
font-size: 1rem;
  }

  .header-navline .flex {
padding-left: 0;
padding-right: 0;
padding-top: 0.25rem;
  }

  .hero-grid .section-shell {
min-height: auto;
padding-top: 2.25rem;
padding-bottom: 3rem;
  }

  .hero-grid::before {
background-size: 36px 36px;
  }

  .hero-panel {
padding: 1.25rem;
border-radius: 1.5rem;
  }

  .hero-copy h1 {
font-size: 2.35rem;
line-height: 1.1;
  }

  .hero-copy p {
line-height: 1.75;
  }

  .hero-copy .mt-10.grid {
margin-top: 1.25rem;
  }

  .soft-panel,
  .contact-panel {
border-radius: 1.5rem;
  }

  .hero-copy .btn-main,
  .hero-copy .btn-ghost {
width: 100%;
  }

  .brand-tile {
min-width: 12rem;
min-height: 6.8rem;
padding: 0.55rem 0.7rem;
  }

  .brand-tile img {
max-height: 4.3rem;
  }

  .brand-tile img.brand-logo-new {
max-height: 3.7rem;
  }

  .brand-tile img.brand-logo-wide {
max-height: 3.35rem;
  }

  .brand-tile img.brand-logo-hitachi {
max-height: 2.2rem;
  }

  .brand-tile img.brand-logo-dh {
max-height: 2.35rem;
  }

  .brand-tile img.brand-logo-rexroth {
max-height: 4.45rem;
  }

  .marquee-shell {
gap: 0.6rem;
  }

  .marquee-button {
display: none;
  }

  .contact-panel .mx-auto.max-w-3xl {
max-width: 100%;
  }

  .contact-panel .mt-5.leading-8 {
line-height: 1.65;
  }

  .contact-panel form {
padding: 1.25rem;
  }

  .contact-panel h2 {
white-space: normal;
  }

  .cookie-actions {
width: 100%;
flex-direction: column;
  }

  .cookie-actions button {
width: 100%;
justify-content: center;
  }

  footer .section-shell.grid {
gap: 2rem;
  }

}

@media (min-width: 768px) {
  .contact-copy-break {
display: block;
  }
}



