/* MAQUINADO CNC - ESTILOS EXCLUSIVOS */

.machining-hero {
  width: 100%;
  padding: 72px 0;
  background: linear-gradient(120deg,#5a5c61 0%,#474a4f 68%,#702019 100%);
  color: #fff;
}

.machining-hero-inner {
  width: 93%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 72px;
  align-items: center;
}

.machining-eyebrow {
  margin: 0 0 16px;
  color: #8b1e16;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
}

.machining-hero .machining-eyebrow,
.machining-quote .machining-eyebrow {
  color: rgba(255,255,255,.78);
}

.machining-hero h1 {
  margin: 0 0 24px;
  max-width: 800px;
  font-size: clamp(46px,5.5vw,78px);
  line-height: .96;
  font-weight: 800;
}

.machining-lead {
  max-width: 690px;
  margin: 0 0 32px;
  color: rgba(255,255,255,.84);
  font-size: 19px;
  line-height: 1.65;
}

.machining-main-cta {
  display: inline-flex;
  padding: 15px 28px;
  border-radius: 7px;
  background: #8b1e16;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.machining-hero-media {
  height: 570px;
  overflow: hidden;
  background: #444;
}

.machining-hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.machining-intro {
  padding: 95px 0;
  background: #fff;
}

.machining-intro-inner {
  width: 93%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
}

.machining-intro h2,
.machining-videos h2,
.machining-capabilities h2,
.machining-materials h2,
.machining-quality h2,
.machining-quote h2 {
  margin: 0;
  color: #8b1e16;
  font-size: clamp(34px,4vw,52px);
  line-height: 1.05;
}

.machining-intro-copy p {
  margin: 0 0 20px;
  color: #555;
  font-size: 17px;
  line-height: 1.8;
}


.machining-videos {
  padding: 90px 0 100px;
  background: #f3f3f3;
}

.machining-section-head {
  width: 93%;
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.machining-section-head > p:last-child {
  color: #5a5a5a;
  font-size: 17px;
  line-height: 1.7;
}

.machining-video-grid {
  width: 93%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 36px;
}

.machining-video-grid article {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.07);
}

.machining-video-frame {
  height: 520px;
  overflow: hidden;
  background: #444;
}

.machining-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machining-video-content {
  padding: 28px;
}

.machining-video-content span {
  color: #8b1e16;
  font-size: 12px;
  font-weight: 800;
}

.machining-video-content h3 {
  margin: 12px 0 10px;
  color: #252525;
  font-size: 24px;
}

.machining-video-content p {
  margin: 0;
  color: #626262;
  line-height: 1.7;
}


.machining-capabilities {
  padding: 95px 0;
  background: #fff;
}

.machining-capabilities-inner {
  width: 93%;
  max-width: 1180px;
  margin: 0 auto;
}

.machining-capabilities-title {
  max-width: 760px;
  margin-bottom: 45px;
}

.machining-capability-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.machining-capability-grid article {
  min-height: 245px;
  padding: 30px;
  background: #f3f3f3;
  border-top: 4px solid #8b1e16;
}

.machining-capability-grid span {
  color: #8b1e16;
  font-size: 12px;
  font-weight: 800;
}

.machining-capability-grid h3 {
  margin: 22px 0 12px;
  color: #292929;
  font-size: 21px;
}

.machining-capability-grid p {
  margin: 0;
  color: #606060;
  line-height: 1.65;
}


.machining-materials {
  padding: 95px 0;
  background: #e9e9e9;
}

.machining-materials-inner {
  width: 93%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.machining-material-list {
  border-top: 1px solid #c9c9c9;
}

.machining-material-list div {
  padding: 22px 0;
  border-bottom: 1px solid #c9c9c9;
}

.machining-material-list strong {
  display: block;
  margin-bottom: 7px;
  color: #8b1e16;
  font-size: 16px;
}

.machining-material-list p {
  margin: 0;
  color: #555;
  line-height: 1.65;
}


.machining-quality {
  padding: 95px 0;
  background: #fff;
}

.machining-quality-inner {
  width: 93%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.machining-quality-copy > p:last-of-type {
  margin: 25px 0;
  color: #555;
  font-size: 17px;
  line-height: 1.75;
}

.machining-quality-copy a {
  display: inline-flex;
  padding: 14px 24px;
  background: #8b1e16;
  border: 1px solid #8b1e16;
  border-radius: 7px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.machining-quality-copy a:hover {
  background: #fff;
  color: #8b1e16;
}

.machining-quality-image img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
}


.machining-quote {
  padding: 78px 0;
  background: #8b1e16;
  color: #fff;
}

.machining-quote-inner {
  width: 93%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.machining-quote h2 {
  color: #fff;
}

.machining-quote p:last-child {
  color: rgba(255,255,255,.84);
  line-height: 1.65;
}

.machining-quote a {
  flex: 0 0 auto;
  padding: 16px 30px;
  background: #55585d;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 7px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}


.machining-footer {
  background: linear-gradient(180deg,#55585d 0%,#45484d 100%);
  border-top: 4px solid #8b1e16;
  color: #fff;
}

.machining-footer-inner {
  width: 93%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 55px;
}

.machining-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 18px 22px;
  background: rgba(255,255,255,.96);
  border-radius: 14px;
}

.machining-footer-brand img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.machining-footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
}

.machining-footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.machining-footer a:hover {
  color: #fff;
}

.machining-footer-bottom {
  min-height: 72px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #34373c;
  color: rgba(255,255,255,.78);
  text-align: center;
}


@media (max-width: 900px) {

  .machining-hero-inner,
  .machining-intro-inner,
  .machining-materials-inner,
  .machining-quality-inner {
    width: 87%;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .machining-video-grid {
    width: 87%;
    grid-template-columns: 1fr;
  }

  .machining-section-head,
  .machining-capabilities-inner,
  .machining-quote-inner,
  .machining-footer-inner {
    width: 87%;
  }

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

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

  .machining-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

}


@media (max-width: 600px) {

  .machining-hero {
    padding: 55px 0;
  }

  .machining-hero-media {
    height: 440px;
  }

  .machining-video-frame {
    height: 440px;
  }

  .machining-intro,
  .machining-videos,
  .machining-capabilities,
  .machining-materials,
  .machining-quality {
    padding: 65px 0;
  }

  .machining-capability-grid {
    grid-template-columns: 1fr;
  }

  .machining-quality-image img {
    height: 340px;
  }

  .machining-quote a {
    width: 100%;
    text-align: center;
  }

}
