:root {
  --bg: #07111f;
  --panel: #0d1b2b;
  --panel-2: #111f30;
  --ink: #f4f7fb;
  --muted: #aab4c2;
  --soft: #d7dde6;
  --line: rgba(214, 224, 238, 0.14);
  --line-strong: rgba(214, 224, 238, 0.24);
  --accent: #e95e32;
  --accent-2: #f28a2e;
  --steel: #9ca6b3;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--white);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.site-header.is-solid {
  background: rgba(7, 17, 31, 0.92);
  border-color: var(--line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  width: 214px;
  flex: 0 0 auto;
}

.brand img {
  width: 214px;
  height: auto;
  padding: 4px 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(244, 247, 251, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-social {
  display: flex;
  align-items: center;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-link:hover {
  color: var(--white);
  border-color: rgba(242, 138, 46, .74);
  background: rgba(233, 94, 50, .16);
  transform: translateY(-1px);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: min(860px, 92vh);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, .94) 0%, rgba(7, 17, 31, .82) 42%, rgba(7, 17, 31, .34) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, .36) 0%, rgba(7, 17, 31, .84) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: end;
  padding: 150px 0 46px;
}

.hero-copy {
  width: min(780px, 100%);
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(46px, 6.8vw, 86px);
  font-weight: 900;
}

.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(244, 247, 251, 0.84);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 900;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 36px rgba(233, 94, 50, .24);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, .42);
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(7, 17, 31, .72);
}

.hero-panel strong {
  display: block;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 104px 0;
  background: #f5f7fa;
  color: #111924;
}

.section:nth-of-type(even) {
  background: #ffffff;
}

.section-head {
  width: min(760px, 100%);
  margin-bottom: 44px;
}

.section-head h2,
.contact-info h2 {
  color: #101820;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
}

.section-head p:not(.eyebrow) {
  margin-top: 16px;
  color: #596574;
  font-size: 17px;
}

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

.service-card {
  min-height: 238px;
  padding: 26px;
  border: 1px solid #dde4ec;
  border-radius: var(--radius);
  background: #ffffff;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #c8d2dd;
  box-shadow: 0 18px 48px rgba(15, 27, 42, .1);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .08em;
}

.service-card h3 {
  color: #121a24;
  font-size: 22px;
  font-weight: 900;
}

.service-card p {
  margin: 12px 0 0;
  color: #667282;
}

.why {
  color: var(--white);
  background: linear-gradient(135deg, #07111f 0%, #0f2235 100%);
}

.why .section-head h2 {
  color: var(--white);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

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

.why-item {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}

.why-item span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(233, 94, 50, .14);
}

.why-item p {
  margin: 0;
  color: var(--soft);
  font-weight: 800;
}

.machine-park {
  background: #ffffff;
}

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

.machine-card {
  overflow: hidden;
  border: 1px solid #dde4ec;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 25, 36, .08);
}

.machine-card img {
  width: 100%;
  height: clamp(220px, 24vw, 280px);
  aspect-ratio: 18 / 13;
  object-fit: contain;
  object-position: center;
  background: #eef2f7;
}

.machine-card div {
  padding: 24px;
}

.machine-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.machine-card h3 {
  color: #111924;
  font-size: 24px;
  font-weight: 900;
}

.machine-card p {
  margin: 12px 0 0;
  color: #5f6d7d;
}

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

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: #0b1422;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease), filter .35s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.055);
  filter: contrast(1.08) saturate(1.04);
}

.references {
  background: #ffffff;
}

.reference-note {
  max-width: 860px;
  padding: 30px;
  border: 1px solid #dde4ec;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(233, 94, 50, .08), transparent 38%),
    #f8fafc;
}

.reference-note p {
  margin: 0;
  color: #4f5d6d;
  font-size: 18px;
  font-weight: 700;
}

.quote-section {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,17,31,.94), rgba(7,17,31,.78)),
    url("../images/hero-edm.webp") center / cover;
}

.quote-inner {
  width: min(920px, 100%);
}

.quote-inner h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
}

.contact {
  background: #f5f7fa;
}

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 44px;
  align-items: stretch;
}

.contact-info {
  padding: 32px;
  border: 1px solid #dde4ec;
  border-radius: var(--radius);
  background: #ffffff;
}

.contact-lines {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}

.contact-lines p {
  margin: 0;
}

.contact-lines strong,
.contact-lines span,
.contact-lines a {
  display: block;
}

.contact-lines strong {
  margin-bottom: 4px;
  color: #121a24;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-lines span,
.contact-lines a {
  color: #667282;
}

.contact-lines a:hover {
  color: var(--accent);
}

.map-frame {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid #dde4ec;
  border-radius: var(--radius);
  background: #dfe5ec;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: grayscale(.18) contrast(1.02);
}

.site-footer {
  padding: 34px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #07111f;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner img {
  width: 176px;
  height: auto;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(31, 174, 90, .34);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

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

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

@media (max-width: 980px) {
  .desktop-nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: grid;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: var(--white);
    background: rgba(7, 17, 31, .98);
    border-top: 1px solid var(--line);
    transition: max-height .24s var(--ease), padding .24s var(--ease);
  }

  .mobile-nav.is-open {
    max-height: 360px;
    padding: 12px 20px 20px;
  }

  .mobile-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
  }

  .hero-inner,
  .why-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 30px;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-panel div {
    padding: 18px;
  }

  .hero-panel strong {
    font-size: 22px;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand,
  .brand img {
    width: 158px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 17, 31, .96), rgba(7, 17, 31, .78)),
      linear-gradient(180deg, rgba(7, 17, 31, .42), rgba(7, 17, 31, .88));
  }

  .hero-inner {
    padding: 112px 0 32px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-actions,
  .quote-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
  }

  .hero-panel span {
    margin-top: 0;
    text-align: right;
  }

  .section {
    padding: 76px 0;
  }

  .service-grid,
  .machine-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .machine-card div,
  .reference-note {
    padding: 22px;
  }

  .contact-info {
    padding: 24px;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}
