@charset "UTF-8";
/* ───── RESET & VARIABLES ───── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #F4F7FB;
  --bg-card: rgba(255, 255, 255, .7);
  --bg-glass: rgba(255, 255, 255, .5);
  --border-glass: rgba(0, 0, 0, .06);
  --text-primary: #0A1A2F;
  --text-secondary: #2C3E56;
  --text-light: #6A7F96;
  --cyan: #6FA900;
  --magenta: #4C8600;
  --purple: #2F5E00;
  --gradient-main:
    linear-gradient(135deg,
      #B6E94D,
      #6FA900,
      #355F00);
  --shadow-glow: 0 0 60px rgba(111, 169, 0, .12);
  --radius: 24px;
  --transition: .5s cubic-bezier(.23, 1, .32, 1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* ───── UTILITY CLASSES / COMMON ───── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(0, 240, 255, 0.08);
  padding: 6px 20px;
  border-radius: 50px;
  border: 1px solid rgba(0, 240, 255, 0.15);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.section-title .highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  color: var(--cyan);
  border: 1px solid var(--border-glass);
}

/* ───── BOUTONS CYBER ───── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 38px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 50px rgba(0, 240, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 16px 38px;
  border-radius: 60px;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--cyan);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 34px;
  border-radius: 60px;
  border: 2px solid var(--cyan);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-cyan:hover {
  background: var(--cyan);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
}

/* ───── PAGE SECTION ───── */
.page-section {
  padding-top: 80px;
  min-height: 100vh;
}

/* ───── PAGE LAYOUTS ───── */
/* ───── HEADER GLASS ───── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(244, 247, 251, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}
header.scrolled {
  background: var(--bg-primary);
  box-shadow: 0 4px 30px rgba(10, 26, 47, 0.1);
}

.nav-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}
.logo .cyan {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 1rem;
}
.nav-links a {
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-actions .btn-primary {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-whatsapp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  font-size: 1.35rem;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  transform: scale(1.05);
  background: #1ebe5a;
}

.lang-toggle {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
  font-family: var(--font-body);
}
.lang-toggle:hover {
  transform: scale(1.05);
  border-color: var(--cyan);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  backdrop-filter: blur(20px);
  padding: 30px 32px 40px;
  border-bottom: 1px solid var(--border-glass);
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}
.mobile-nav a:hover {
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions .btn-primary {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  header {
    padding: 0 10px;
  }
  header .logo img {
    width: 200px;
    height: 60px;
  }
}
/* ───── FOOTER ───── */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-family: var(--font-display);
  margin-bottom: 18px;
  font-size: 1.15rem;
  color: var(--text-primary);
}
.footer-grid a {
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 12px;
  transition: var(--transition);
}
.footer-grid a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.socials a {
  margin-left: 20px;
  color: var(--text-light);
  font-size: 1.4rem;
  transition: var(--transition);
}
.socials a:hover {
  color: var(--cyan);
}

@media (max-width: 600px) {
  footer {
    padding: 40px 0 20px;
  }
}
/* ───── HOME SLIDER ───── */
.page-home #home {
  padding-top: 0;
  min-height: 100vh;
}
.page-home .hero-slider-wrapper {
  position: relative;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  overflow: hidden;
  background: var(--bg-primary);
}
.page-home .hero-slider-wrapper .slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1);
}
.page-home .hero-slider-wrapper .slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.page-home .slide-1 {
  background: radial-gradient(ellipse at 80% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(123, 47, 252, 0.08) 0%, transparent 50%);
}
.page-home .slide-2 {
  background: radial-gradient(ellipse at 20% 30%, rgba(255, 0, 229, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(0, 240, 255, 0.08) 0%, transparent 50%);
}
.page-home .slide-3 {
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
}
.page-home .slide-4 {
  background: radial-gradient(ellipse at 70% 60%, rgba(123, 47, 252, 0.1) 0%, transparent 50%), radial-gradient(ellipse at 30% 40%, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
}
.page-home .slide .slide-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.page-home .slide .slide-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  padding: 6px 20px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 240, 255, 0.1);
}
.page-home .slide h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.page-home .slide h1 .highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-home .slide p {
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.page-home .slide .slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.page-home .slide .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.page-home .slide-1 .orb {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  opacity: 0.1;
  top: -100px;
  right: -100px;
}
.page-home .slide-2 .orb {
  width: 500px;
  height: 500px;
  background: var(--magenta);
  opacity: 0.08;
  bottom: -150px;
  left: -100px;
}
.page-home .slide-3 .orb {
  width: 350px;
  height: 350px;
  background: var(--purple);
  opacity: 0.1;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.page-home .slide-4 .orb {
  width: 450px;
  height: 450px;
  background: var(--cyan);
  opacity: 0.06;
  top: -50px;
  right: -50px;
}
.page-home .slide .grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}
.page-home {
  /* ─── SLIDER CONTROLS ─── */
}
.page-home .slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 10;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 28px;
  border-radius: 60px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glow);
}
.page-home .slider-controls .dots {
  display: flex;
  gap: 12px;
}
.page-home .slider-controls .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.page-home .slider-controls .dot.active {
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transform: scale(1.2);
}
.page-home .slider-controls .dot:hover {
  background: var(--cyan);
  opacity: 0.7;
}
.page-home .slider-controls .arrow {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 4px 8px;
  border-radius: 50%;
}
.page-home .slider-controls .arrow:hover {
  color: var(--cyan);
  transform: scale(1.1);
}
.page-home {
  /* ───── TECH CARDS ───── */
}
.page-home .tech-section {
  padding: 60px 32px 80px;
}
.page-home .tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.page-home .tech-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}
.page-home .tech-card:hover {
  transform: translateY(-10px);
  border-color: var(--cyan);
  box-shadow: 0 20px 60px rgba(0, 240, 255, 0.1);
}
.page-home .tech-card .icon {
  font-size: 2.6rem;
  color: var(--cyan);
  margin-bottom: 20px;
}
.page-home .tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
}
.page-home .tech-card .sub {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.page-home .tech-card p {
  margin: 16px 0 20px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.page-home .tech-card .models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .tech-card .models a {
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .page-home .slider-controls {
    padding: 10px 18px;
    gap: 16px;
    bottom: 24px;
  }
  .page-home .slider-controls .dot {
    width: 10px;
    height: 10px;
  }
  .page-home .slide {
    padding: 100px 20px 60px;
  }
  .page-home .slide .orb {
    display: none;
  }
}
@media (max-width: 600px) {
  .page-home .hero-slider-wrapper {
    min-height: 600px;
  }
  .page-home .slide h1 {
    font-size: 2.8rem;
  }
  .page-home .slide .slide-actions .btn-primary,
  .page-home .slide .slide-actions .btn-secondary,
  .page-home .slide .slide-actions .btn-outline-cyan {
    width: 100%;
    justify-content: center;
  }
}

.page-machines .machine-detail-shell {
  padding-top: 40px;
  padding-bottom: 40px;
}
.page-machines .machine-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.page-machines .machine-back:hover {
  color: var(--cyan);
}
.page-machines .machine-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 32px;
  align-items: center;
}
.page-machines .machine-hero-media {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 18px;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-machines .machine-detail-image {
  position: relative;
  width: 100%;
}
.page-machines .machine-detail-image img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}
.page-machines .machine-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-machines .machine-description {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1.08rem;
  line-height: 1.8;
}
.page-machines .machine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.page-machines .gallery-slider {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.page-machines .gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
  padding: 2px 0 8px;
  scroll-behavior: smooth;
}
.page-machines .gallery-strip::-webkit-scrollbar {
  height: 5px;
}
.page-machines .gallery-strip::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 10px;
}
.page-machines .gallery-thumb {
  flex: 0 0 110px;
  width: 110px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.page-machines .gallery-thumb.is-active {
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow);
}
.page-machines .gallery-thumb img {
  display: block;
  width: 110px;
  height: 80px;
  object-fit: cover;
}
.page-machines .gallery-strip-nav {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  background: var(--bg-glass);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.page-machines .gallery-strip-nav:hover {
  background: var(--cyan);
  color: #111;
}
.page-machines .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.page-machines .gallery-nav:hover {
  background: rgba(149, 214, 0, 0.8);
  color: #111;
}
.page-machines .gallery-nav.prev {
  left: 16px;
}
.page-machines .gallery-nav.next {
  right: 16px;
}
.page-machines .machine-realizations {
  margin-top: 48px;
}
.page-machines .section-heading {
  font-family: var(--font-display);
  margin: 36px 0 20px;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  color: var(--text-primary);
}
.page-machines .specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
}
.page-machines .specs-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 1rem;
  vertical-align: top;
}
.page-machines .specs-table .label {
  color: var(--text-secondary);
  font-weight: 600;
  width: 38%;
  background: rgba(255, 255, 255, 0.02);
}
.page-machines .specs-table .value {
  color: var(--text-primary);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.page-machines .features-list {
  color: var(--text-secondary);
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.page-machines .features-list li + li {
  margin-top: 8px;
}
.page-machines .actions-row {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .page-machines .machine-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-machines .machine-hero-media {
    min-height: 330px;
  }
  .page-machines .machine-detail-image img {
    height: 320px;
  }
  .page-machines .gallery-thumb img {
    width: 90px;
    height: 70px;
  }
  .page-machines .gallery-thumb {
    flex-basis: 90px;
    width: 90px;
  }
}
@media (max-width: 600px) {
  .page-machines .machine-detail-shell {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .page-machines .machine-hero-media {
    min-height: 260px;
    padding: 12px;
  }
  .page-machines .machine-detail-image img {
    height: 260px;
  }
  .page-machines .machine-actions,
  .page-machines .actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .page-machines .gallery-nav {
    width: 36px;
    height: 36px;
  }
  .page-machines .gallery-slider {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 5px;
  }
  .page-machines .gallery-strip-nav {
    width: 30px;
    height: 30px;
  }
  .page-machines .specs-table {
    display: block;
    overflow: hidden;
  }
  .page-machines .specs-table tbody,
  .page-machines .specs-table tr,
  .page-machines .specs-table td {
    display: block;
    width: 100%;
  }
  .page-machines .specs-table tr {
    border-bottom: 1px solid var(--border-glass);
  }
  .page-machines .specs-table .label,
  .page-machines .specs-table .value {
    width: 100%;
  }
  .page-machines .specs-table .label {
    border-bottom: none;
  }
  .page-machines .specs-table td {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  .page-machines .btn-primary,
  .page-machines .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
.machines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.machine-card {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.machine-card:hover {
  transform: translateY(-6px);
}

.machine-image {
  height: 280px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.machine-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.machine-content {
  padding: 24px;
}

.machine-content h3 {
  font-size: 1.8rem;
  margin: 8px 0 12px;
}

.machine-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
}

.machine-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.machine-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--cyan);
}

.machine-back {
  display: inline-block;
  margin-bottom: 30px;
}

.machine-detail-image {
  width: 100%;
}

.machine-detail-image img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .machines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .machines-grid {
    grid-template-columns: 1fr;
  }
}
/* ───── INDUSTRIES PAGE ───── */
.page-industries .industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.page-industries .industry-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}
.page-industries .industry-card:hover {
  border-color: var(--cyan);
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}
.page-industries .industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text-primary);
}
.page-industries .industry-card ul {
  margin: 18px 0;
  padding-left: 24px;
  list-style: disc;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.page-industries .industry-card ul li {
  margin-bottom: 8px;
}
.page-industries .industry-card a {
  color: var(--cyan);
  font-weight: 600;
}

/* ───── DISTRIBUTOR PAGE ───── */
.page-distributor .distributor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.page-distributor .benefit-item {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  padding: 24px;
  border-radius: 16px;
  border-left: 5px solid var(--cyan);
  border: 1px solid var(--border-glass);
}
.page-distributor .benefit-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
}
.page-distributor .benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.page-distributor .distributor-form {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
}
.page-distributor .distributor-form input,
.page-distributor .distributor-form select,
.page-distributor .distributor-form textarea {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}
.page-distributor .distributor-form input:focus,
.page-distributor .distributor-form select:focus,
.page-distributor .distributor-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 240, 255, 0.05);
}
.page-distributor .distributor-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}
.page-distributor .world-map {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
  margin-bottom: 28px;
  font-size: 1.1rem;
}
.page-distributor .section-heading {
  font-family: var(--font-display);
  margin-bottom: 24px;
  font-size: 1.8rem;
  color: var(--text-primary);
}
@media (max-width: 900px) {
  .page-distributor .distributor-grid {
    grid-template-columns: 1fr;
  }
}

/* ───── NEWS PAGE ───── */
.page-news .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.page-news .news-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}
.page-news .news-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
}
.page-news .news-card .date {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 600;
}
.page-news .news-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 10px 0;
  color: var(--text-primary);
}

/* ───── RESOURCES PAGE ───── */
.page-resources .resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}
.page-resources .resource-links > a,
.page-resources .resource-links .resource-link {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  padding: 18px 34px;
  border-radius: 60px;
  border: 1px solid var(--border-glass);
  font-weight: 500;
  font-size: 1.05rem;
  transition: var(--transition);
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
}
.page-resources .resource-links > a:hover,
.page-resources .resource-links .resource-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* Brochure dropdown */
.page-resources .brochure-dropdown {
  position: relative;
}
.page-resources .brochure-dropdown summary {
  list-style: none;
  user-select: none;
}
.page-resources .brochure-dropdown summary::-webkit-details-marker {
  display: none;
}
.page-resources .brochure-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-resources .brochure-dropdown[open] > summary {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--shadow-glow);
}
.page-resources .brochure-caret {
  font-size: .75rem;
  transition: transform .3s ease;
}
.page-resources details[open] > summary > .brochure-caret {
  transform: rotate(180deg);
}
.page-resources .brochure-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 50;
  width: min(380px, calc(100vw - 32px));
  max-height: 70vh;
  overflow-y: auto;
  padding: 10px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(10, 26, 47, .14);
  animation: brochureIn .25s ease;
}
@keyframes brochureIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.page-resources .brochure-tech + .brochure-tech {
  margin-top: 6px;
}
.page-resources .brochure-tech > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: background .2s ease;
}
.page-resources .brochure-tech > summary:hover,
.page-resources .brochure-tech[open] > summary {
  background: rgba(111, 169, 0, .08);
}
.page-resources .brochure-tech-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-main);
  color: #fff;
}
.page-resources .brochure-tech-name {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.page-resources .brochure-tech-name strong {
  font-family: var(--font-display);
  color: var(--text-primary);
}
.page-resources .brochure-tech-name small {
  color: var(--text-light);
  font-size: .82rem;
}
.page-resources .brochure-count {
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(111, 169, 0, .14);
  color: var(--magenta);
  font-size: .78rem;
  font-weight: 600;
}
.page-resources .brochure-tech ul {
  list-style: none;
  padding: 4px 4px 8px 62px;
}
.page-resources .brochure-tech li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 4px 7px 0;
  border-bottom: 1px dashed var(--border-glass);
  color: var(--text-secondary);
  font-size: .95rem;
}
.page-resources .brochure-tech li:last-child {
  border-bottom: none;
}
.page-resources .brochure-tech li .fa-file-pdf {
  color: var(--text-light);
  margin-right: 6px;
}
.page-resources .brochure-tech li a {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  color: var(--cyan);
  transition: var(--transition);
}
.page-resources .brochure-tech li a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .page-resources .brochure-dropdown,
  .page-resources .brochure-dropdown > summary {
    width: 100%;
  }
  .page-resources .brochure-panel {
    width: 100%;
  }
}

/* ───── CONTACT PAGE ───── */
.page-contact .contact-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  margin-top: 48px;
}
.page-contact .contact-info {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
}
.page-contact .contact-info .item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.page-contact .contact-info .item i {
  font-size: 1.8rem;
  color: var(--cyan);
  width: 32px;
  margin-top: 4px;
}
.page-contact .contact-form input,
.page-contact .contact-form textarea,
.page-contact .contact-form select {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}
.page-contact .contact-form input:focus,
.page-contact .contact-form textarea:focus,
.page-contact .contact-form select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 240, 255, 0.05);
}
@media (max-width: 900px) {
  .page-contact .contact-split {
    grid-template-columns: 1fr;
  }
}

.page-legal .legal-shell {
  max-width: 900px;
  padding-top: 40px;
  padding-bottom: 56px;
}
.page-legal .legal-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: -8px 0 24px;
}
.page-legal .legal-intro {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 42px;
}
.page-legal .legal-content {
  display: grid;
  gap: 28px;
}
.page-legal .legal-content section {
  padding: 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
}
.page-legal .legal-content h2 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.page-legal .legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
}
@media (max-width: 600px) {
  .page-legal .legal-shell {
    padding-top: 24px;
    padding-bottom: 36px;
  }
  .page-legal .legal-content section {
    padding: 22px;
  }
}



/* =========================================================
   HOME HERO - MACHINES
========================================================= */

.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slides-track {
    display: flex;
    transition: transform .7s cubic-bezier(.77, 0, .18, 1);
}

.slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 720px;
    overflow: hidden;
}

.slide-layout {
    position: relative;
    z-index: 3;

    width: min(1400px, calc(100% - 80px));
    min-height: 720px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
    align-items: center;
    gap: 40px;
}


/* CONTENT */

.slide-content {
    position: relative;
    z-index: 5;
    max-width: 650px;
}

.slide-content h1 {
    margin: 20px 0;
}

.slide-content p {
    max-width: 620px;
}


/* MACHINE AREA */

.slide-machine {
    position: relative;

    height: 620px;

    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: none;
}

.slide-machine::before {
    content: "";
    position: absolute;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(182, 233, 77, .16) 0%,
            rgba(182, 233, 77, .07) 40%,
            transparent 70%
        );

    filter: blur(5px);
}

.slide-machine > img {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: 570px;

    object-fit: contain;

    filter:
        drop-shadow(0 35px 40px rgba(0, 0, 0, .20));

    transform: translateY(0);

    animation: machineFloat 6s ease-in-out infinite;
}


/* MACHINE INFORMATION */

.machine-infos {
    position: absolute;

    right: 20px;
    bottom: 70px;

    z-index: 5;

    padding: 12px 18px;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;

    background: rgba(15, 20, 18, .70);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #fff;
}

.machine-infos span {
    display: block;

    margin-bottom: 3px;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1.3px;

    color: #B6E94D;
}

.machine-infos strong {
    display: block;

    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 700;
}


/* FLOAT ANIMATION */

@keyframes machineFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* =========================================================
   INDUSTRY 4.0 - MULTIPLE MACHINES
========================================================= */

.slide-machine-group {
    position: relative;
}

.slide-machine-group .machine-back {
    position: absolute;

    width: 62%;
    height: 420px;

    left: 0;
    top: 90px;

    object-fit: contain;

    opacity: .65;

    transform: translateX(-20px) scale(.9);

    animation: none;
}

.slide-machine-group .machine-front {
    position: absolute;

    width: 76%;
    height: 540px;

    right: 0;
    bottom: 30px;

    object-fit: contain;

    z-index: 3;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .slide {
        min-height: 680px;
    }

    .slide-layout {
        min-height: 680px;

        width: min(100% - 50px, 1200px);

        grid-template-columns: 1fr 1fr;

        gap: 20px;
    }

    .slide-machine {
        height: 550px;
    }

    .slide-machine > img {
        height: 500px;
    }
}


@media (max-width: 768px) {

    .slide {
        min-height: auto;
    }

    .slide-layout {
        width: calc(100% - 32px);

        min-height: 780px;

        padding-top: 100px;
        padding-bottom: 80px;

        grid-template-columns: 1fr;
        grid-template-rows: auto 350px;

        gap: 20px;
    }

    .slide-content {
        text-align: center;

        margin: 0 auto;
    }

    .slide-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .slide-actions {
        justify-content: center;
    }

    .slide-machine {
        width: 100%;
        height: 350px;
    }

    .slide-machine::before {
        width: 330px;
        height: 330px;
    }

    .slide-machine > img {
        width: 100%;
        height: 340px;
    }

    .machine-infos {
        right: 10px;
        bottom: 10px;
    }

    .slide-machine-group .machine-back {
        height: 260px;
        top: 30px;
    }

    .slide-machine-group .machine-front {
        height: 330px;
        bottom: 0;
    }
}


/* indistrie */


/* ============================================================
   INDUSTRIES PAGE
   ============================================================ */

.page-industries {
    min-height: 100vh;
    background: #f5f7fa;
}


/* ============================================================
   PAGE CONTENT
   ============================================================ */

.page-industries .page-section {
    padding: 0;
}

.page-industries .page-section > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px 90px !important;
}


/* ============================================================
   SECTION HEADER
   ============================================================ */

.page-industries .section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 16px;

    border: 1px solid rgba(89, 190, 220, 0.28);
    border-radius: 30px;

    background: rgba(209, 245, 251, 0.65);

    color: #559b00;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    margin-bottom: 18px;
}


.page-industries .section-title {
    margin: 0 0 16px;

    max-width: 800px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -2px;

    color: #142238;
}


.page-industries .section-title .highlight {
    color: #78bf00;
}


.page-industries .section-sub {
    max-width: 720px;

    margin: 0 0 48px;

    font-family: 'Inter', sans-serif;

    font-size: 17px;
    line-height: 1.7;

    color: #31445f;
}


/* ============================================================
   INDUSTRY GRID
   ============================================================ */

.page-industries .industry-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 26px;
}


/* ============================================================
   INDUSTRY CARD
   ============================================================ */

.page-industries .industry-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 250px;

    padding: 32px;

    background: rgba(255, 255, 255, 0.65);

    border: 1px solid #e1e5ea;
    border-radius: 20px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.page-industries .industry-card:hover {
    transform: translateY(-5px);

    background: #ffffff;

    border-color: rgba(120, 191, 0, 0.4);

    box-shadow:
        0 18px 45px rgba(21, 34, 56, 0.08);
}


/* ============================================================
   CARD TITLE
   ============================================================ */

.page-industries .industry-card h3 {
    margin: 0 0 20px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 22px;
    line-height: 1.25;

    font-weight: 700;

    color: #142238;
}


/* ============================================================
   CARD LIST
   ============================================================ */

.page-industries .industry-card ul {
    margin: 0 0 22px;

    padding-left: 20px;

    flex: 1;
}


.page-industries .industry-card li {
    margin-bottom: 11px;

    padding-left: 2px;

    font-family: 'Inter', sans-serif;

    font-size: 14px;
    line-height: 1.55;

    color: #3b4d67;
}


.page-industries .industry-card li:last-child {
    margin-bottom: 0;
}


.page-industries .industry-card li::marker {
    color: #142238;
}


/* ============================================================
   VIEW MACHINES LINK
   ============================================================ */

.page-industries .industry-card > a {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-top: auto;

    font-family: 'Inter', sans-serif;

    font-size: 14px;
    font-weight: 600;

    color: #65a900;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.page-industries .industry-card > a:hover {
    color: #355f00;

    transform: translateX(4px);
}


/* ============================================================
   FOOTER SPACING
   ============================================================ */

.page-industries footer {
    border-top: 1px solid #e3e8ed;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1024px) {

    .page-industries .page-section > .container {
        padding: 40px 24px 70px !important;
    }


    .page-industries .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 22px;
    }


    .page-industries .section-title {
        font-size: 46px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .page-industries .page-section > .container {
        padding: 30px 18px 55px !important;
    }


    .page-industries .section-tag {
        margin-bottom: 14px;

        padding: 6px 13px;

        font-size: 10px;
    }


    .page-industries .section-title {
        margin-bottom: 14px;

        font-size: 36px;
        line-height: 1.08;

        letter-spacing: -1.2px;
    }


    .page-industries .section-sub {
        margin-bottom: 32px;

        font-size: 15px;
        line-height: 1.65;
    }


    .page-industries .industry-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .page-industries .industry-card {
        min-height: auto;

        padding: 24px;

        border-radius: 16px;
    }


    .page-industries .industry-card h3 {
        margin-bottom: 16px;

        font-size: 20px;
    }


    .page-industries .industry-card ul {
        margin-bottom: 20px;
    }


    .page-industries .industry-card li {
        margin-bottom: 9px;

        font-size: 14px;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .page-industries .page-section > .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }


    .page-industries .section-title {
        font-size: 31px;
    }


    .page-industries .industry-card {
        padding: 21px;
    }

}

/* ============================================================
   MACHINES PAGE
============================================================ */

.machines-page-section {
    padding: 55px 0 100px;
}

.machines-page-section > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}


/* PAGE HEADER */

.machines-page-header {
    max-width: 780px;
    margin-bottom: 55px;
}

.machines-page-header .section-title {
    margin: 14px 0 18px;
}

.machines-page-header .section-sub {
    margin: 0;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.7;
}


/* ============================================================
   TECHNOLOGIES
============================================================ */

.technology-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 100px;
}

.technology-intro-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 30px;
    overflow: hidden;

    background: #fff;
    border: 1px solid #e2e8ef;
    border-radius: 20px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.technology-intro-card:hover {
    transform: translateY(-5px);
    border-color: rgba(111, 169, 0, .45);
    box-shadow: 0 20px 50px rgba(20, 34, 56, .08);
}

.technology-number {
    position: absolute;
    top: 20px;
    right: 24px;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 55px;
    font-weight: 700;

    color: rgba(20, 34, 56, .05);
}

.technology-label,
.family-tag {
    display: inline-block;
    width: fit-content;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;

    color: #5f9700;
}

.technology-intro-card h2 {
    margin: 20px 0 14px;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 35px;
    line-height: 1;

    color: #142238;
}

.technology-intro-card p {
    margin: 0 0 25px;

    font-size: 14px;
    line-height: 1.7;

    color: #536176;
}

.technology-series {
    display: block;

    margin-top: auto;
    margin-bottom: 15px;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;

    color: #142238;
}

.technology-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    width: fit-content;

    color: #6fa900;
    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.technology-link:hover {
    color: #355f00;
}


/* ============================================================
   MACHINE FAMILY
============================================================ */

.machine-family {
    padding-top: 30px;
    margin-bottom: 100px;
    scroll-margin-top: 100px;
}

.machine-family:last-child {
    margin-bottom: 0;
}

.machine-family-header {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) 1.2fr;
    gap: 70px;
    align-items: end;

    padding-bottom: 27px;
    margin-bottom: 35px;

    border-bottom: 1px solid #dfe5eb;
}

.machine-family-header h2 {
    margin: 10px 0 0;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    line-height: 1;

    color: #142238;
}

.machine-family-header h2 span {
    color: #6fa900;
}

.machine-family-header p {
    max-width: 620px;
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #536176;
}


/* ============================================================
   MACHINES GRID
============================================================ */

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

.machine-family .machine-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;

    background: #fff;

    border: 1px solid #e2e7ed;
    border-radius: 18px;

    color: inherit;
    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.machine-family .machine-card:hover {
    transform: translateY(-5px);

    border-color: rgba(111, 169, 0, .4);

    box-shadow: 0 18px 45px rgba(20, 34, 56, .08);
}


/* IMAGE */

.machine-family .machine-image {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 245px;
    padding: 25px;

    background: #f6f8fa;
}

.machine-family .machine-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform .3s ease;
}

.machine-family .machine-card:hover .machine-image img {
    transform: scale(1.035);
}


/* CONTENT */

.machine-family .machine-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 25px;
}

.machine-family .machine-category {
    display: block;

    margin-bottom: 10px;

    color: #6fa900;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.machine-family .machine-content h3 {
    margin: 0 0 12px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 25px;
    font-weight: 700;

    color: #142238;
}

.machine-family .machine-content p {
    margin: 0 0 24px;

    font-size: 14px;
    line-height: 1.65;

    color: #536176;
}

.machine-family .machine-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    margin-top: auto;

    color: #6fa900;

    font-size: 13px;
    font-weight: 700;
}

.machine-family .machine-link i {
    transition: transform .2s ease;
}

.machine-family .machine-card:hover .machine-link i {
    transform: translateX(4px);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1024px) {

    .technology-intro {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .machine-family-header {
        gap: 35px;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .machines-page-section {
        padding: 35px 0 65px;
    }

    .machines-page-section > .container {
        padding: 0 18px;
    }

    .machines-page-header {
        margin-bottom: 35px;
    }

    .machines-page-header .section-sub {
        font-size: 15px;
    }

    .technology-intro {
        grid-template-columns: 1fr;
        gap: 16px;

        margin-bottom: 65px;
    }

    .technology-intro-card {
        min-height: auto;
        padding: 24px;
    }

    .technology-intro-card h2 {
        font-size: 30px;
    }

    .machine-family {
        margin-bottom: 65px;
    }

    .machine-family-header {
        grid-template-columns: 1fr;
        gap: 15px;

        margin-bottom: 25px;
    }

    .machine-family-header h2 {
        font-size: 32px;
    }

    .machine-family .machines-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .machine-family .machine-image {
        height: 230px;
    }
}



/* ==========================================================
   MATERIALS PAGE
========================================================== */

.page-materials {
    background: #f4f7fb;
    color: #142238;
}
.materials-hero,
.materials-family,
.materials-cta {
    padding: 60px 0;
}

.page-materials .materials-hero {
  padding-top: 100px !important;
}

.materials-hero .container,
.materials-family .container,
.materials-cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}


/* HERO */

.materials-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    color: #536176;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-right: 20px;
}

.materials-title {
    max-width: 800px;
    margin: 15px 0 20px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.02;
}

.materials-title span {
    color: #6fa900;
}

.materials-intro {
    max-width: 760px;
    margin-bottom: 38px;
    color: #536176;
    line-height: 1.7;
}


/* TECHNOLOGIES */

.materials-tech-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.materials-tech-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 145px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e2e8ef;
    border-radius: 14px;
    color: #142238;
    text-decoration: none;
    transition: .2s ease;
}

.materials-tech-card:hover {
    transform: translateY(-3px);
    border-color: #6fa900;
}

.materials-tech-number {
    margin-bottom: 16px;
    color: #6fa900;
    font-size: 11px;
    font-weight: 800;
}

.materials-tech-card strong {
    font-family: "Space Grotesk", sans-serif;
}

.materials-tech-card small {
    margin-top: 7px;
    color: #6b7688;
}

.materials-tech-card i {
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: #6fa900;
}


/* NOTICE */

.materials-validation-note {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding: 18px 20px;
    background: #eef6df;
    border-left: 3px solid #6fa900;
    border-radius: 8px;
}

.materials-validation-note i {
    margin-top: 4px;
    color: #6fa900;
}

.materials-validation-note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
}


/* FAMILY */

.materials-family {
    scroll-margin-top: 80px;
}

.materials-family-header {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #dfe5eb;
}

.family-index,
.family-tag {
    display: inline-block;
    margin-right: 8px;
    color: #6fa900;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.materials-family-header h2 {
    margin: 10px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
}

.materials-family-header p {
    max-width: 650px;
    margin: 0;
    color: #536176;
    line-height: 1.65;
}

.family-machines {
    min-width: 270px;
}

.family-machines > span {
    display: block;
    margin-bottom: 10px;
    color: #687488;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.family-machines div,
.machine-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.family-machines a,
.machine-badges a {
    padding: 6px 10px;
    background: #f0f6e8;
    border: 1px solid #dce9cb;
    border-radius: 6px;
    color: #4c7600;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}


/* GRID */

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

.material-card {
    display: flex;
    flex-direction: column;
    min-height: 350px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e1e6ec;
    border-radius: 14px;
}

.material-card.is-hidden {
    display: none;
}

.material-technology,
.material-family-label {
    color: #6fa900;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.material-card h3 {
    margin: 12px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
}

.material-description {
    margin: 0 0 20px;
    color: #536176;
    font-size: 13px;
    line-height: 1.65;
}

.material-block {
    margin-top: 16px;
}

.material-block h4 {
    margin: 0 0 8px;
    font-size: 11px;
    text-transform: uppercase;
}

.pending-data {
    margin: 0;
    color: #7a8493;
    font-size: 12px;
    line-height: 1.5;
}

.tds-pending {
    display: block;
    margin-top: auto;
    padding-top: 20px;
    color: #a07924;
    font-size: 11px;
    font-weight: 600;
}


/* ==========================================================
   FILTER
========================================================== */

.materials-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 28px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e1e6ec;
    border-radius: 14px;
}

.materials-filter-label {
    font-size: 12px;
    font-weight: 700;
}

.materials-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.material-filter-btn {
    padding: 8px 14px;
    border: 1px solid #dce4d2;
    border-radius: 30px;
    background: #f7f9f4;
    color: #536176;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.material-filter-btn:hover {
    border-color: #6fa900;
    color: #4c8600;
}

.material-filter-btn.active {
    background: #6fa900;
    border-color: #6fa900;
    color: #fff;
}


/* SEARCH */

.materials-search {
    position: relative;
    flex: 1;
    min-width: 190px;
    max-width: 280px;
    margin-left: auto;
}

.materials-search i {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    color: #8892a0;
    font-size: 12px;
}

.materials-search input {
    width: 100%;
    padding: 9px 12px 9px 35px;
    border: 1px solid #dce4e9;
    border-radius: 30px;
    outline: none;
    font-family: "Inter", sans-serif;
    font-size: 12px;
}

.materials-search input:focus {
    border-color: #6fa900;
}

.materials-empty-state {
    padding: 40px;
    text-align: center;
    color: #687488;
}


/* CTA */

.materials-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 35px;
    background: #edf5df;
    border-radius: 16px;
}

.materials-cta-box h2 {
    margin: 10px 0;
    font-family: "Space Grotesk", sans-serif;
}

.materials-cta-box p {
    max-width: 700px;
    margin: 0;
    color: #536176;
    line-height: 1.6;
}


/* TABLET */

@media (max-width: 950px) {

    .materials-tech-nav,
    .material-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .materials-family-header {
        flex-direction: column;
        gap: 20px;
    }

    .family-machines {
        min-width: 0;
    }
}


/* MOBILE */

@media (max-width: 650px) {

    .materials-hero,
    .materials-family,
    .materials-cta {
        padding: 40px 0;
    }

    .materials-hero .container,
    .materials-family .container,
    .materials-cta .container {
        padding: 0 18px;
    }

    .materials-tech-nav,
    .material-grid {
        grid-template-columns: 1fr;
    }

    .materials-filter {
        align-items: stretch;
    }

    .materials-filter-buttons {
        width: 100%;
    }

    .materials-search {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }

    .materials-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}