:root {
  --blue: #0b63ce;
  --blue-2: #1688e8;
  --navy: #071b36;
  --navy-2: #0d2b55;
  --green: #18a957;
  --text: #132235;
  --muted: #617185;
  --line: #dbe4ee;
  --soft: #f3f7fb;
  --steel: #e8eef5;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(7, 27, 54, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px clamp(16px, 4vw, 54px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 0; }
.brand img {
  width: clamp(178px, 18vw, 248px);
  height: 52px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  flex: 1;
  min-width: 0;
}
.desktop-nav a {
  font-size: 14px;
  font-weight: 700;
  color: #29425f;
  white-space: nowrap;
}
.desktop-nav a:hover { color: var(--blue); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}
.header-call, .header-whatsapp, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}
.header-call, .btn.primary { background: var(--blue); }
.header-whatsapp, .btn.whatsapp { background: var(--green); }
.btn.neutral { background: var(--navy-2); }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 10px;
}
.menu-btn span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}
.mobile-nav {
  display: none;
  position: sticky;
  top: 76px;
  z-index: 45;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: grid; }
.mobile-nav a {
  padding: 12px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.hero-slider {
  position: relative;
  height: clamp(350px, 38vw, 485px);
  min-height: 350px;
  background: var(--navy);
  overflow: hidden;
}
.hero-track { height: 100%; position: relative; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(28px, 4.5vw, 64px) clamp(16px, 6vw, 72px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: .48;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 54, .92), rgba(7, 27, 54, .58) 48%, rgba(11, 99, 206, .25));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  color: var(--white);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero-content h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}
.hero-content p {
  margin: 18px 0 0;
  max-width: 650px;
  color: #dbe9f8;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-arrows {
  position: absolute;
  right: clamp(16px, 5vw, 64px);
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-arrows button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 27, 54, .55);
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.hero-arrows svg { width: 22px; height: 22px; }
.hero-dots {
  position: absolute;
  left: clamp(16px, 6vw, 72px);
  bottom: 22px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .36);
}
.hero-dots button.active { background: var(--blue-2); }

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-band article {
  padding: 24px clamp(16px, 4vw, 46px);
  background: var(--white);
}
.proof-band strong { display: block; color: var(--navy); font-size: 17px; }
.proof-band span { display: block; margin-top: 6px; color: var(--muted); line-height: 1.5; }

.section {
  padding: clamp(58px, 8vw, 96px) clamp(16px, 5vw, 70px);
}
.muted { background: var(--soft); }
.section-head {
  max-width: 860px;
  margin-bottom: 28px;
}
.section-head h2, .split-section h2, .contact-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}
.section-head p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}
.split-section {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}
.rich-text {
  padding-left: clamp(0px, 3vw, 34px);
  border-left: 4px solid var(--blue);
}
.rich-text p { margin: 0; color: #35465a; font-size: 17px; line-height: 1.85; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.info-card, .process-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(7, 27, 54, .06);
}
.info-card svg, .process-card svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 8px;
  color: var(--blue);
  background: #e9f3ff;
}
.info-card h3, .process-card h3 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}
.info-card p, .process-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.machine-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.media-box {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #dce8f4, #f7fafc);
  overflow: hidden;
}
.media-box img { width: 100%; height: 100%; object-fit: cover; }
.machine-card-body { padding: 22px; }
.machine-category { color: var(--blue); font-weight: 900; font-size: 13px; text-transform: uppercase; }
.machine-card-body h3 { margin: 8px 0; color: var(--navy); font-size: 22px; }
.machine-price {
  display: block;
  margin: 10px 0 6px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.1;
}
.machine-capacity {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  color: #25435f;
  background: var(--soft);
  font-size: 13px;
  font-weight: 900;
}
.machine-card-body p { color: var(--muted); line-height: 1.65; }
.machine-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

.gallery-section { background: linear-gradient(180deg, #ffffff, #f4f8fc); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid rgba(11, 99, 206, .14);
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8eef5, #f8fbff);
  box-shadow: 0 14px 42px rgba(7, 27, 54, .09);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 99, 206, .34);
  box-shadow: 0 22px 54px rgba(7, 27, 54, .16);
}
.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.video-card { background: #071b36; }
.video-card video { opacity: .82; }
.play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(11, 99, 206, .92);
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 38px rgba(7, 27, 54, .32);
}
.play-mark svg { width: 28px; height: 28px; margin-left: 3px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  padding: clamp(58px, 8vw, 96px) clamp(16px, 5vw, 70px);
  background: var(--white);
}
.contact-panel {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.contact-panel ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.contact-panel li { line-height: 1.55; color: #32465d; }
.contact-panel a { color: var(--blue); font-weight: 800; overflow-wrap: anywhere; }
.contact-panel .btn {
  color: var(--white);
  min-width: 138px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 900;
}
.contact-panel .btn:visited { color: var(--white); }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.map-panel {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--steel);
}
.map-panel iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

.footer {
  background: var(--navy);
  color: var(--white);
  padding: 46px clamp(16px, 5vw, 70px) 24px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, .7fr));
  gap: 32px;
}
.footer-brand img {
  width: min(260px, 72vw);
  height: 72px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}
.footer p, .footer a { color: #cbd9e9; line-height: 1.65; }
.footer-col { display: grid; align-content: start; gap: 9px; min-width: 0; }
.footer h3 { margin: 0 0 8px; color: var(--white); }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #aabbd0; }

.fixed-actions {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 60;
  display: grid;
  gap: 9px;
  transform: translateY(-50%);
}
.fixed-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 14px 34px rgba(7, 27, 54, .25);
}
.fixed-btn svg { width: 24px; height: 24px; }
.fixed-btn.whats { background: var(--green); }
.fixed-btn.phone { background: var(--blue); }
.fixed-btn.top { background: var(--navy-2); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(4, 14, 29, .82);
  backdrop-filter: blur(10px);
}
.lightbox.open { display: grid; }
.lightbox-stage {
  width: min(1040px, 100%);
  max-height: min(82vh, 760px);
  display: grid;
  place-items: center;
}
.lightbox-stage img, .lightbox-stage video {
  max-width: 100%;
  max-height: min(82vh, 760px);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 28px 90px rgba(0,0,0,.36);
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255,255,255,.12);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .site-header { justify-content: space-between; }
  .menu-btn { display: block; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 8px 12px;
  }
  .brand img { width: 158px; height: 48px; max-height: 48px; }
  .header-call, .header-whatsapp { display: none; }
  .mobile-nav { top: 68px; }
  .hero-slider { height: 360px; min-height: 360px; }
  .hero-slide { padding: 28px 16px 58px; align-items: end; }
  .hero-bg { object-position: center; }
  .hero-slide::before { background: linear-gradient(180deg, rgba(7,27,54,.28), rgba(7,27,54,.92)); }
  .hero-content h1 { font-size: clamp(25px, 8.2vw, 34px); line-height: 1.08; }
  .hero-content p { font-size: 14px; line-height: 1.5; margin-top: 12px; }
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-actions .btn { min-height: 38px; padding: 0 11px; font-size: 12px; flex: 0 1 auto; }
  .hero-dots { left: 16px; bottom: 18px; }
  .hero-dots button { width: 26px; }
  .hero-arrows { right: 16px; bottom: 14px; }
  .hero-arrows button { width: 34px; height: 34px; }
  .proof-band, .split-section, .contact-section { grid-template-columns: 1fr; }
  .section, .contact-section { padding: 48px 16px; }
  .card-grid, .machine-grid, .process-grid, .footer-main { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery-item { aspect-ratio: 1 / 1; }
  .contact-panel .btn { min-width: 0; min-height: 42px; padding: 0 14px; font-size: 13px; }
  .rich-text { padding-left: 18px; }
  .map-panel, .map-panel iframe { min-height: 320px; }
  .fixed-actions { right: 10px; top: auto; bottom: 14px; transform: none; }
  .fixed-btn { width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  .mobile-nav { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1 1 100%; width: 100%; max-width: 100%; }
  .hero-actions .btn { width: auto; max-width: 100%; }
  .hero-slider { height: 382px; min-height: 382px; }
}
