:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dde5;
  --surface: #f5f7fa;
  --white: #ffffff;
  --steel: #25282d;
  --steel-2: #43474f;
  --accent: #ff6400;
  --accent-dark: #c94d00;
  --safety: #ff9f1c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 221, 229, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  display: block;
  width: clamp(118px, 9vw, 146px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.construction-body {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 100, 0, 0.45), transparent 28%),
    linear-gradient(135deg, rgba(18, 20, 23, 0.98), rgba(37, 40, 45, 0.9) 48%, rgba(255, 100, 0, 0.96));
}

.construction-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: clamp(24px, 5vw, 72px);
  isolation: isolate;
}

.construction-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 82px),
    linear-gradient(30deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 96px);
  opacity: 0.68;
}

.construction-page::after {
  content: "";
  position: absolute;
  inset: auto -12% -26% 34%;
  z-index: -1;
  height: 52vh;
  background: rgba(255, 100, 0, 0.32);
  filter: blur(84px);
  transform: rotate(-8deg);
}

.construction-card {
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
  text-align: center;
}

.construction-logo-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: min(560px, 92vw);
  margin-bottom: clamp(30px, 5vw, 58px);
  padding: clamp(4px, 1vw, 10px);
  border-radius: 999px;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.36));
}

.construction-logo-shell::before {
  content: "";
  position: absolute;
  inset: 8% 3%;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 100, 0, 0.9), rgba(255, 159, 28, 0.38));
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.72;
}

.construction-logo {
  display: block;
  width: 100%;
  height: auto;
}

.construction-status {
  margin: 0 0 18px;
  color: #ffd1ad;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.construction-card h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.construction-card p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.04rem, 1.8vw, 1.26rem);
  line-height: 1.7;
}

.construction-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.construction-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-weight: 900;
}

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

.brand strong {
  font-size: 1.2rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--steel);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a,
.main-nav button {
  border: 0;
  padding: 10px 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-group {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  width: 250px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown a {
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--steel);
}

.nav-dropdown a:hover {
  background: var(--surface);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-action,
.primary-button,
.secondary-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.header-action,
.primary-button,
.contact-form button {
  color: var(--white);
  background: var(--accent);
}

.header-action:hover,
.primary-button:hover,
.contact-form button:hover {
  background: var(--accent-dark);
}

.secondary-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 72px) 86px;
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--steel);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.is-video-simulation {
  animation: slow-pan 13s ease-in-out infinite alternate;
  transform-origin: 70% 50%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 14, 20, 0.88) 0%, rgba(18, 27, 38, 0.68) 38%, rgba(18, 27, 38, 0.18) 72%),
    linear-gradient(0deg, rgba(8, 14, 20, 0.55), rgba(8, 14, 20, 0.06));
}

.hero-content {
  width: min(720px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd4ad;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 5.6vw, 4.55rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.8vw, 1.26rem);
  line-height: 1.65;
}

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

.carousel-controls {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  padding: 7px 9px;
  background: rgba(17, 24, 39, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.carousel-controls > button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.carousel-dots button {
  width: 22px;
  height: 3px;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--white);
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading.wide {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  max-width: none;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 3.15vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.intro-grid article {
  min-height: 250px;
  padding: 30px;
  background: var(--white);
}

.number {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--accent);
  font-weight: 900;
}

.intro-grid p,
.service-card p,
.product-body span,
.machine-info p,
.spec-list dd {
  color: var(--muted);
  line-height: 1.64;
}

.products {
  background: var(--surface);
}

.categories-showcase {
  background: var(--white);
}

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

.category-card {
  position: relative;
  display: grid;
  min-height: 280px;
  overflow: hidden;
  color: var(--white);
  background: var(--steel);
  border-radius: 8px;
  isolation: isolate;
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.1));
}

.category-card span {
  align-self: end;
  padding: 20px;
  font-size: 1.02rem;
  font-weight: 900;
}

.category-card:hover img {
  transform: scale(1.04);
}

.services {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 22, 25, 0.96), rgba(64, 67, 74, 0.9)),
    linear-gradient(90deg, var(--accent), var(--safety));
}

.services h2 {
  color: var(--white);
}

.services .eyebrow {
  color: #ffd4ad;
}

.section-note {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.62;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.service-card {
  min-height: 250px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.service-card.featured-service {
  background: rgba(255, 100, 0, 0.48);
}

.service-index {
  display: inline-block;
  margin-bottom: 42px;
  color: #ffd4ad;
  font-weight: 900;
}

.service-card h3 {
  color: var(--white);
}

.service-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  color: var(--accent);
  font-weight: 900;
}

.category-strip {
  position: relative;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scrollbar-color: rgba(255, 100, 0, 0.86) rgba(216, 221, 229, 0.72);
  scrollbar-width: thin;
}

.category-strip::-webkit-scrollbar {
  height: 7px;
}

.category-strip::-webkit-scrollbar-track {
  background: rgba(216, 221, 229, 0.72);
  border-radius: 999px;
}

.category-strip::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent), var(--steel-2));
  border-radius: 999px;
}

.category-strip::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

.category-strip button,
.category-strip a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.category-strip .is-active {
  color: var(--white);
  background: var(--steel);
  border-color: var(--steel);
}

.internal-page {
  padding-top: 70px;
}

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

.product-card {
  min-height: 438px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  min-height: 0;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.06), rgba(255, 100, 0, 0.14)),
    var(--white);
}

.product-media img,
.product-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.video-card-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--white);
  background: var(--steel);
  border-radius: 6px;
  font-weight: 900;
}

.media-one {
  background-position: 72% center;
}

.media-two {
  background-position: 52% center;
}

.media-three {
  background-position: 86% center;
}

.product-body {
  padding: 24px;
}

.product-body p {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-preview {
  background: var(--white);
}

.machine-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 42px;
  align-items: center;
}

.product-detail-media {
  display: grid;
  gap: 16px;
}

.machine-photo {
  height: clamp(360px, 42vw, 560px);
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}

.machine-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.product-video {
  overflow: hidden;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-video video {
  display: block;
  width: 100%;
  max-height: 420px;
  background: #000000;
}

.main-product-video video {
  max-height: 560px;
}

.media-caption {
  margin: 0;
  padding: 14px 16px;
  color: var(--white);
  background: var(--steel);
  font-weight: 900;
}

.product-video .text-link {
  display: block;
  padding: 18px;
  color: var(--accent);
  background: var(--white);
}

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

.product-gallery a {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.machine-info {
  max-width: 620px;
}

.machine-info p {
  margin-top: 22px;
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 28px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 16px;
  background: var(--white);
}

.spec-list dt {
  color: var(--steel);
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 42px;
  padding: 78px clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 22, 25, 0.96), rgba(64, 67, 74, 0.9)),
    linear-gradient(90deg, var(--accent), var(--safety));
}

.contact-band h2 {
  color: var(--white);
}

.contact-band .eyebrow {
  color: #ffd4ad;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 13px 14px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.admin-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  background: var(--surface);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 18px;
  color: var(--white);
  background: var(--steel);
}

.admin-brand {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 34px;
}

.admin-brand-logo {
  width: min(178px, 100%);
  padding: 6px;
  background: var(--white);
  border-radius: 8px;
}

.admin-brand-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu a {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 6px;
  font-weight: 800;
}

.admin-menu a.is-active,
.admin-menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.admin-main {
  padding: 36px clamp(20px, 4vw, 54px);
}

.admin-section {
  max-width: 1220px;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.admin-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.secondary-admin-link,
.panel-title-row button,
.banner-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 22px;
  align-items: start;
}

.admin-form,
.admin-list-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form h2,
.admin-list-panel h2 {
  margin: 0;
  font-size: 1.22rem;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 900;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  outline: none;
}

.admin-form button {
  min-height: 46px;
  color: var(--white);
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

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

.banner-row {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.banner-thumb {
  height: 76px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--steel);
}

.banner-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-row p {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.banner-row h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.banner-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.banner-row button:disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.7;
}

@keyframes slow-pan {
  from {
    transform: scale(1.04) translateX(0);
  }

  to {
    transform: scale(1.13) translateX(-22px);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

  .hero {
    min-height: 820px;
  }

  .intro-grid,
  .service-grid,
  .category-card-grid,
  .product-grid,
  .machine-panel,
  .contact-band,
  .admin-body,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section-heading.wide {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .header-action {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .carousel-controls {
    right: 18px;
    bottom: 18px;
  }

  .hero-actions a {
    width: 100%;
  }

  h1 {
    font-size: 2.25rem;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .machine-photo,
  .machine-photo img {
    min-height: 320px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .admin-heading,
  .panel-title-row {
    align-items: start;
    flex-direction: column;
  }

  .admin-menu,
  .banner-row {
    grid-template-columns: 1fr;
  }

  .banner-thumb {
    height: 160px;
  }
}
