:root {
  --graphite: #111827;
  --steel: #273241;
  --ember: #f97316;
  --brass: #f6b04d;
}

* {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

img,
iframe {
  display: block;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, var(--ember), #b91c1c);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.25);
}

.brand-logo {
  overflow: hidden;
  background: #fff;
  padding: 0.2rem;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  position: fixed;
  inset-inline: 1rem;
  top: 74px;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 24, 39, 0.98);
  padding: 0.75rem;
  max-height: calc(100vh - 92px);
  overflow-y: auto;
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu a {
  color: #e5e7eb;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.language-link {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .nav-menu a {
    padding: 0.5rem 0.55rem;
  }
}

@media (min-width: 1280px) {
  .nav-menu a {
    padding: 0.5rem 0.75rem;
  }
}

.hero-section {
  position: relative;
  isolation: isolate;
  background-image: url("8.jpg");
  background-position: center 44%;
  background-size: cover;
}

.hero-section h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.12;
}

.hero-section p,
.section-heading p,
.industrial-panel p,
.value-block p,
.product-card p {
  text-wrap: pretty;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.28), rgba(17, 24, 39, 0.74) 48%, rgba(17, 24, 39, 0.98)),
    linear-gradient(180deg, rgba(17, 24, 39, 0.34), rgba(17, 24, 39, 0.76));
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0;
  padding: 0.85rem 1.25rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-action {
  background: var(--ember);
  color: #fff;
}

.primary-action:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(10px);
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.capacity-tile {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 0.5rem;
}

.capacity-tile strong {
  display: block;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-weight: 900;
  color: #fff;
}

.capacity-tile span {
  margin-top: 0.2rem;
  display: block;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.section-shell {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  padding-inline: 1rem;
  text-align: center;
}

.section-heading span,
.section-kicker,
.panel-label {
  color: var(--ember);
  font-weight: 900;
}

.section-heading h2,
.industrial-panel h2 {
  margin-top: 0.75rem;
  color: var(--graphite);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
}

.section-heading p,
.industrial-panel p {
  margin-top: 1rem;
  color: #64748b;
  font-size: 1.08rem;
  line-height: 1.9;
}

.product-card {
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
  padding: 0 0 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:last-child:nth-child(odd) {
  grid-column: auto;
}

.product-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.product-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin: -29px 1.5rem 0;
  background: #111827;
  color: var(--brass);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.product-photo {
  width: 100%;
  height: clamp(210px, 28vw, 250px);
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.product-card h3,
.value-block h3 {
  margin-top: 1rem;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--graphite);
}

.product-card h3,
.product-card p,
.product-card ul {
  padding-inline: 1.5rem;
}

.product-card p,
.value-block p {
  margin-top: 0.75rem;
  color: #64748b;
  line-height: 1.8;
}

.product-card ul {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.65rem;
  color: #334155;
  font-weight: 700;
}

.product-card li {
  position: relative;
  padding-inline-start: 1rem;
}

.product-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--ember);
}

.stats-band {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(39, 50, 65, 0.94)),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, 0.04) 14px 15px);
}

.stat-box {
  border-inline-start: 4px solid var(--ember);
  background: rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
}

.stat-box strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
}

.stat-box span {
  color: #cbd5e1;
  font-weight: 700;
}

.industrial-panel {
  border-inline-start: 6px solid var(--ember);
  background: #fff;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.about-logo-card {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.about-logo-card img {
  max-width: min(100%, 360px);
  max-height: 210px;
  object-fit: contain;
}

.page-en .hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.74) 48%, rgba(17, 24, 39, 0.28)),
    linear-gradient(180deg, rgba(17, 24, 39, 0.34), rgba(17, 24, 39, 0.76));
}

.value-block {
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.4rem;
}

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

.gallery-item {
  position: relative;
  min-height: clamp(240px, 62vw, 340px);
  overflow: hidden;
  background: #111827;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.78));
}

.gallery-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem;
  color: #fff;
}

.gallery-item strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.gallery-item span {
  color: #dbe4ef;
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-item:hover img {
  filter: saturate(1.03) contrast(1.06);
  transform: scale(1.035);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .gallery-item {
    min-height: auto;
  }

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

  .gallery-tall {
    grid-row: span 2;
  }
}

.dealer-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-inline-start: 4px solid var(--ember);
  background: #f8fafc;
  padding: 1rem;
  color: #334155;
  font-weight: 800;
}

.contact-form {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: clamp(1.1rem, 4vw, 2rem);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: #334155;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 48px;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0.75rem 0.9rem;
  color: #111827;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}

.footer-link:hover {
  color: #fff;
}

.map-frame {
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 310px;
  filter: grayscale(0.3) contrast(1.05);
}

.whatsapp-float {
  position: fixed;
  inset-inline-start: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.34);
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .nav-menu {
    inset-inline: 0.75rem;
    top: 66px;
  }

  .hero-section {
    background-position: 42% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.93), rgba(17, 24, 39, 0.8));
  }

  .hero-section h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
    line-height: 1.18;
  }

  .hero-section .primary-action,
  .hero-section .secondary-action {
    width: 100%;
  }

  .capacity-tile {
    padding: 0.85rem 0.35rem;
  }

  .capacity-tile strong {
    font-size: 1.05rem;
  }

  .capacity-tile span {
    font-size: 0.78rem;
  }

  .section-shell {
    padding-block: 3.25rem;
  }

  .section-heading {
    margin-bottom: 1.75rem;
  }

  .section-heading h2,
  .industrial-panel h2 {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .product-photo {
    height: 220px;
  }

  .industrial-panel,
  .value-block,
  .contact-form {
    padding: 1.1rem;
  }

  .about-logo-card {
    min-height: 210px;
  }

  .about-logo-card img {
    max-height: 165px;
  }

  .dealer-point {
    align-items: flex-start;
    line-height: 1.7;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 260px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .product-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .product-card:last-child:nth-child(odd) .product-photo {
    height: 280px;
  }
}

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