body { font-family: 'Inter', sans-serif; color: #17251F; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.product-pagebanner { min-height: 520px; background-position: center; background-size: cover; display: flex; align-items: center; color: #fff; position: relative; }
.product-pagebanner .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.breadcrumb-nav { font-size: 0.85rem; color: rgba(255,255,255,0.82); margin-bottom: 64px; }
.breadcrumb-nav a { color: rgba(255,255,255,0.82); }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav .sep { margin: 0 8px; color: rgba(255,255,255,0.56); }
.breadcrumb-nav .current { color: #fff; font-weight: 600; }
.product-pagebanner-content { max-width: 760px; }
.product-pagebanner-content span { display: inline-flex; align-items: center; background: rgba(39,185,122,0.18); color: #BDF1D9; border: 1px solid rgba(189,241,217,0.32); border-radius: 999px; padding: 7px 16px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0; margin-bottom: 18px; }
.product-pagebanner-content h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.04; font-weight: 800; margin: 0 0 18px; max-width: 860px; }
.product-pagebanner-content p { max-width: 620px; margin: 0; color: rgba(255,255,255,0.88); font-size: 1.05rem; line-height: 1.8; }
.hero-producto { padding: 20px 0 40px; }
.hero-producto h2 { font-size: 1.5rem; font-weight: 700; color: #17251F; margin-bottom: 16px; }
.hero-producto p { font-size: 0.85rem; color: #5B6A63; line-height: 1.8; }
.hero-producto-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-producto-btn { align-items: center; border-radius: 999px; display: inline-flex; font-size: 13px; font-weight: 900; gap: 8px; justify-content: center; min-height: 42px; padding: 12px 20px; transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s; }
.hero-producto-btn.primary { background: #27B97A; border: 1px solid #27B97A; color: #fff; box-shadow: 0 14px 28px rgba(39,185,122,0.22); }
.hero-producto-btn.outline { background: #fff; border: 1px solid #BCE8D3; color: #17251F; }
.hero-producto-btn:hover { transform: translateY(-2px); }
.hero-producto-btn.primary:hover { background: #1A7A52; border-color: #1A7A52; color: #fff; }
.hero-producto-btn.outline:hover { background: #E9F8F1; border-color: #27B97A; color: #1A7A52; }
.hero-media-wrap { position: relative; border-radius: 12px; overflow: hidden; background: transparent; }
.hero-producto .hero-img { display: block; border-radius: 12px; object-fit: cover; height: 450px; width: 100%; }
.product-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.94); color: #17251F; font-size: 0.95rem; font-weight: 700; padding: 14px 22px 14px 16px; box-shadow: 0 18px 42px rgba(0,0,0,0.22); transition: transform 0.25s, background 0.25s, color 0.25s; cursor: pointer; }
.product-video-play i { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #27B97A; color: #fff; padding-left: 3px; }
.product-video-play:hover { transform: translate(-50%,-50%) scale(1.04); background: #27B97A; color: #fff; }
.product-video-play:hover i { background: #fff; color: #27B97A; }
.video-modal-open { overflow: hidden; }
.product-video-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; }
.product-video-modal.is-open { display: flex; }
.product-video-backdrop { position: absolute; inset: 0; background: rgba(10,25,19,0.84); backdrop-filter: blur(4px); }
.product-video-dialog { position: relative; z-index: 1; width: min(1040px, 92vw); background: #071711; border-radius: 14px; box-shadow: 0 28px 90px rgba(0,0,0,0.45); padding: 12px; }
.product-video-dialog iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; background: #000; }
.product-video-close { position: absolute; right: -14px; top: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #17251F; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0,0,0,0.24); cursor: pointer; z-index: 2; }
.product-video-close:hover { background: #27B97A; color: #fff; }
.application-section { background: #fff; padding: 46px 0 44px; border-bottom: 1px solid #DDEEE6; }
.application-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.application-head h2 { font-size: 1.55rem; font-weight: 700; color: #17251F; margin-bottom: 14px; }
.application-head p { color: #63736B; font-size: 0.86rem; line-height: 1.8; margin: 0; }
.application-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin: 0 auto; align-items: center; }
.application-card { min-height: 128px; display: flex; align-items: center; justify-content: center; text-align: center; }
.application-card img { display: block; width: 100% !important; max-width: 190px; height: 230px !important; object-fit: contain; }
.plant-layout-section { background: #F5FAF7; padding: 48px 0 54px; border-bottom: 1px solid #DDEEE6; }
.plant-layout-section h2 { text-align: center; font-size: 1.55rem; font-weight: 700; color: #17251F; margin-bottom: 28px; }
.plant-layout-img { max-width: 980px; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 1px solid #DDEEE6; background: #fff; box-shadow: 0 18px 40px rgba(23,37,31,0.08); }
.plant-layout-img img { display: block; width: 100% !important; height: auto !important; object-fit: cover; }
.production-process-section { background: #fff; padding: 62px 0 74px; }
.process-head { margin: 0 auto 52px; max-width: 760px; text-align: center; }
.process-head h2 { color: #17251F; font-size: clamp(1.7rem, 2.4vw, 2.05rem); font-weight: 800; letter-spacing: 0; line-height: 1.15; margin: 0; padding-bottom: 20px; position: relative; }
.process-head h2::after { background: #27B97A; border-radius: 999px; bottom: 0; content: ""; height: 3px; left: 50%; position: absolute; transform: translateX(-50%); width: 40px; }
.process-head p { color: #5B6A63; font-size: 0.96rem; line-height: 1.85; margin: 22px auto 0; max-width: 680px; }
.process-timeline { margin: 0 auto; max-width: 980px; position: relative; }
.process-timeline::before { background: #F4C75B; border-radius: 999px; bottom: 42px; content: ""; left: 28px; position: absolute; top: 12px; width: 2px; }
.process-step-card { align-items: center; display: grid; gap: 44px; grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr); margin-bottom: 68px; padding-left: 72px; position: relative; }
.process-step-card:last-child { margin-bottom: 0; }
.process-dot { align-items: center; background: #27B97A; border: 5px solid #fff; border-radius: 50%; box-shadow: 0 12px 28px rgba(39,185,122,0.22); color: #fff; display: flex; font-size: 0.82rem; height: 38px; justify-content: center; left: 10px; position: absolute; top: 0; width: 38px; z-index: 2; }
.process-copy h3 { align-items: center; color: #4B4F4D; display: flex; font-size: 1.02rem; font-weight: 800; gap: 10px; letter-spacing: 0.02em; margin: 0 0 34px; }
.process-copy h3 i { display: none; }
.process-copy p { color: #5B6A63; font-size: 1.02rem; line-height: 1.95; margin: 0; }
.process-copy strong { color: #1A7A52; }
.process-image { border-radius: 0; box-shadow: none; overflow: hidden; }
.process-image img { aspect-ratio: 16 / 9; display: block; object-fit: cover; transition: transform 0.45s ease; width: 100%; }
.process-step-card:hover .process-image img { transform: scale(1.04); }
.equipos-section { background: #fff; padding: 40px 0; }
.equipos-title { text-align: center; font-size: 1.4rem; font-weight: 700; color: #17251F; margin-bottom: 40px; }
.equipo-row { margin-bottom: 50px; }
.equipo-row:last-child { margin-bottom: 0; }
.equipo-img { background: #E8EBE9; border-radius: 12px; height: 210px; display: flex; align-items: center; justify-content: center; color: #5B6A63; font-size: 0.9rem; font-weight: 500; overflow: hidden; }
.equipo-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.equipo-content h4 { color: #27B97A; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.equipo-content p { font-size: 0.8rem; color: #5B6A63; line-height: 1.7; margin-bottom: 16px; }
.equipo-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-eq-green { background: #27B97A; color: #fff; font-size: 0.75rem; font-weight: 600; padding: 6px 14px; border-radius: 6px; border: 1.5px solid #27B97A; display: inline-block; transition: all 0.25s; }
.btn-eq-green:hover { background: #1A7A52; border-color: #1A7A52; color: #fff; }
.btn-eq-video { background: #fff; color: #DC3545; font-size: 0.75rem; font-weight: 600; padding: 6px 14px; border-radius: 6px; border: 1.5px solid #DC3545; display: inline-block; transition: all 0.25s; }
.btn-eq-video:hover { background: #DC3545; color: #fff; }
.decision-content { max-width: 920px; margin: 0 auto; color: #45564E; font-size: 1rem; line-height: 1.8; }
.decision-content h2,
.decision-content h3 { color: #17251F; font-weight: 700; margin: 0 0 16px; }
.decision-content h2 { font-size: 1.45rem; }
.decision-content h3 { font-size: 1.1rem; margin-top: 26px; }
.decision-content p,
.decision-content ul { margin-bottom: 18px; }
.decision-content a { color: #1A7A52; font-weight: 600; }
.relacionados-section { background: #F5FAF7; padding: 40px 0; }
.relacionados-title { text-align: center; font-size: 1.4rem; font-weight: 700; color: #17251F; margin-bottom: 30px; }
.related-carousel { margin-top: 34px; position: relative; }
.related-carousel-viewport { overflow: hidden; position: relative; }
.related-carousel-slide {
  display: none;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.related-carousel-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}
.related-carousel-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.related-carousel-item { min-width: 0; }
.related-carousel-btn {
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #DDEEE6;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(23,37,31,0.12);
  color: #17251F;
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.25s, color 0.25s, opacity 0.25s;
  width: 46px;
  z-index: 3;
}
.related-carousel-btn:hover { background: #27B97A; color: #fff; }
.related-carousel-prev { left: -23px; }
.related-carousel-next { right: -23px; }
.related-carousel.is-single .related-carousel-btn { display: none; }
.rel-card {
  align-items: stretch;
  background: #fff;
  border: 1px solid #DDEEE6;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 28px;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.rel-card:hover {
  border-color: rgba(37,191,123,0.42);
  box-shadow: 0 18px 44px rgba(22,36,31,0.09);
  transform: translateY(-3px);
}
.rel-card-img {
  align-items: center;
  background: #fff;
  display: flex;
  justify-content: center;
  order: 2;
  overflow: hidden;
  padding: 0 32px 0 0;
}
.rel-card-img img {
  height: 175px;
  object-fit: contain;
  transition: transform 0.5s ease;
  width: 100%;
}
.rel-card:hover .rel-card-img img { transform: scale(1.05); }
.rel-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  order: 1;
  padding: 32px 0 32px 32px;
}
.rel-card h5 { font-size: 25px; font-weight: 900; line-height: 1.16; margin: 0 0 14px; }
.rel-card h5 a { color: #17251F; }
.rel-card h5 a:hover { color: #27B97A; }
.rel-card-body p {
  color: #5B6A63;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.68;
  margin: 0 0 24px;
  max-width: 390px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.rel-card-link {
  align-items: center;
  align-self: flex-start;
  background: #063342;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  min-height: 36px;
  padding: 10px 17px;
  transition: background 0.25s, color 0.25s;
}
.rel-card-link:hover { background: #27B97A; color: #fff; }
@media (max-width: 767px) {
  body { padding-bottom: 50px; }
  .product-pagebanner { min-height: 460px; }
  .product-pagebanner .container { padding-top: 46px; padding-bottom: 46px; }
  .breadcrumb-nav { margin-bottom: 54px; }
  .product-pagebanner-content h1 { font-size: 2.25rem; }
  .product-pagebanner-content p { font-size: 0.95rem; line-height: 1.7; }
  .hero-producto h2 { font-size: 1.3rem; }
  .hero-producto .hero-img { height: 220px; }
  .hero-producto-actions { margin-top: 20px; }
  .hero-producto-btn { flex: 1 1 100%; min-height: 40px; }
  .product-video-play { padding: 11px 16px 11px 12px; font-size: 0.84rem; }
  .product-video-play i { width: 34px; height: 34px; }
  .product-video-dialog { width: 96vw; padding: 8px; }
  .product-video-close { right: 4px; top: -48px; }
  .equipo-row { margin-bottom: 36px; }
  .equipo-img { height: 180px; }
  .application-section { padding: 36px 0; }
  .application-head h2,
  .plant-layout-section h2 { font-size: 1.3rem; }
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .application-card { min-height: 112px; }
  .application-card img { max-width: 150px; height: 104px !important; }
  .plant-layout-section { padding: 38px 0 44px; }
  .production-process-section { padding: 48px 0 56px; }
  .process-head { margin-bottom: 34px; }
  .process-head h2 { font-size: 1.45rem; }
  .process-head p { font-size: 0.86rem; }
  .process-timeline::before { left: 18px; }
  .process-step-card { gap: 18px; grid-template-columns: 1fr; margin-bottom: 34px; padding-left: 48px; }
  .process-dot { border-width: 5px; height: 38px; left: 0; top: 0; width: 38px; }
  .process-copy h3 { font-size: 0.96rem; margin-bottom: 16px; }
  .process-copy p { font-size: 0.78rem; }
  .related-carousel-grid { grid-template-columns: 1fr; }
  .rel-card { grid-template-columns: 1fr; gap: 0; min-height: 230px; }
  .rel-card-img { min-height: 190px; order: 1; padding: 18px; }
  .rel-card-img img { max-height: 210px; }
  .rel-card-body { order: 2; padding: 22px; }
  .rel-card h5 { font-size: 1.18rem; }
  .related-carousel:not(.is-single) { padding-bottom: 62px; }
  .related-carousel-btn { bottom: -64px; top: auto; transform: none; }
  .related-carousel-prev { left: calc(50% - 54px); }
  .related-carousel-next { right: calc(50% - 54px); }
}
@media (min-width: 768px) and (max-width: 991px) {
  .equipo-content { margin-top: 16px; }
  .application-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .application-card img { max-width: 158px; height: 108px !important; }
  .process-timeline::before { left: 20px; }
  .process-step-card { gap: 18px; grid-template-columns: 1fr; margin-bottom: 38px; padding-left: 56px; }
  .process-dot { left: 2px; top: 0; }
  .related-carousel-grid { grid-template-columns: 1fr; }
  .rel-card { grid-template-columns: 1fr; gap: 0; min-height: 230px; }
  .rel-card-img { min-height: 230px; order: 1; padding: 22px; }
  .rel-card-img img { max-height: 210px; }
  .rel-card-body { order: 2; padding: 22px; }
  .rel-card h5 { font-size: 1.18rem; }
  .related-carousel:not(.is-single) { padding-bottom: 62px; }
  .related-carousel-btn { bottom: -64px; top: auto; transform: none; }
  .related-carousel-prev { left: calc(50% - 54px); }
  .related-carousel-next { right: calc(50% - 54px); }
}

/* Unified light-green production-line detail surface */
.hero-producto,
.application-section,
.plant-layout-section,
.production-process-section,
.equipos-section,
.relacionados-section,
.producto-common-line-section,
.common-line-section {
  background: #F5FAF7 !important;
  border: 0 !important;
}

.application-section,
.plant-layout-section,
.production-process-section,
.equipos-section,
.relacionados-section {
  border-bottom: 0 !important;
}

.hero-media-wrap,
.plant-layout-img,
.rel-card,
.application-card,
.process-image,
.equipo-img {
  border: 0 !important;
}

.plant-layout-img,
.rel-card {
  box-shadow: none;
}

/* Balance product-line detail spacing with machine detail pages */
.hero-producto {
  padding: 64px 0 72px;
}

.application-section,
.plant-layout-section,
.production-process-section,
.relacionados-section {
  padding-top: 68px;
  padding-bottom: 76px;
}

.application-head {
  margin-bottom: 38px;
}

.plant-layout-section h2,
.relacionados-title {
  margin-bottom: 38px;
}

@media (max-width: 991px) {
  .hero-producto {
    padding: 52px 0 58px;
  }

  .application-section,
  .plant-layout-section,
  .production-process-section,
  .relacionados-section {
    padding-top: 52px;
    padding-bottom: 58px;
  }
}

@media (max-width: 767px) {
  .hero-producto,
  .application-section,
  .plant-layout-section,
  .production-process-section,
  .relacionados-section {
    padding-top: 46px;
    padding-bottom: 52px;
  }
}
