body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.navbar-custom {
  background: rgba(40, 40, 40, 0.85);
  border-radius: 20px;
  margin: 20px 23rem;
  padding: 10px 30px;
  background: rgba(40, 40, 40, 0.85) !important;
}

.navbar-custom .navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.navbar-custom .navbar-nav .nav-link.active,
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus {
  background: #FEC72E66;
  color: #fff !important;
}

.navbar-custom .dropdown-menu {
  background: #222;
  border-radius: 12px;
  margin-top: 8px;
}

.navbar-custom .dropdown-item {
  color: #fff;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
  background: #FEC72E66;
  color: #fff;
}

/* Responsivo para navbar */
@media (max-width: 2000px) {
  .navbar-custom {
    margin: 20px 21rem;
    padding: 10px 10px;
  }
}
@media (max-width: 1600px) {
  .navbar-custom {
    margin: 20px 10rem;
    padding: 10px 10px;
  }
}
/* Responsivo para navbar */
@media (max-width: 1450px) {
  .navbar-custom {
    margin: 20px 6rem;
    padding: 10px 10px;
  }
}
@media (max-width: 1200px) {
  .navbar-custom {
    margin: 10px ;
    padding: 8px 4px;
    border-radius: 12px;
  }
  .navbar-custom .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 1rem;
    border-radius: 8px;
  }
  .navbar-custom .dropdown-menu {
    border-radius: 8px;
  }
}
@media (max-width: 1000px) {
  .navbar-custom {
    margin: 10px 0.5rem;
    padding: 8px 4px;
    border-radius: 12px;
  }
  .navbar-custom .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 1rem;
    border-radius: 8px;
  }
  .navbar-custom .dropdown-menu {
    border-radius: 8px;
  }
}
@media (max-width: 992px) {
  .navbar-custom {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    padding: 4px 0;
  }
}
@media (max-width: 768px) {
  .navbar-custom {
    margin: 10px 0.5rem;
    padding: 8px 4px;
    border-radius: 12px;
  }
  .navbar-custom .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 1rem;
    border-radius: 8px;
  }
  .navbar-custom .dropdown-menu {
    border-radius: 8px;
  }
}

@media (max-width: 576px) {
  .navbar-custom {
    margin: 4px 0;
    padding: 4px 0;
    border-radius: 0;
  }
  .navbar-custom .navbar-nav .nav-link {
    padding: 8px 8px;
    font-size: 0.95rem;
    border-radius: 6px;
  }
}

/* Carrusel: imagen completa sin scroll extra */
.carousel-img {
  width: 100%;
  height: 100vh;
 /*  max-height: 700px;
 object-fit: contain;*/
  background: #000;
  display: block;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .carousel-img {
    height: 50vh;
    max-height: 350px;
  }
}

@media (max-width: 576px) {
  .carousel-img {
    height: 35vh;
    max-height: 200px;
  }
}

/* FOOTER */

.bg-footer {
  background: #666;
}

.footer-icon {
  color: #F1BF2C;
  transition: color 0.2s;
}

.footer-icon:hover {
  color: #fff;
}

footer .fa-map-marker-alt,
footer .fa-phone,
footer .fa-envelope {
  color: #fff;
  margin-right: 12px;
}

/* NOSOTROS */
/* Cards de Nosotros */
.nosotros-card {
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
}

.nosotros-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nosotros-card:hover .card-overlay {
  opacity: 1;
}

.nosotros-card:hover img {
  transform: scale(1.1);
}

.card-overlay h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card-overlay p {
  font-size: 1rem;
  margin: 0;
}

.nav-link.active {
  background-color: #f0f0f0; 
  color: #000;
  font-weight: bold;
}
/*MATERIALES*/
.position-absolute{
    background:rgba(60,60,60,0.5);
     border-radius:0 0 16px 16px;
}

.abs-card .abs-overlay {
  background: rgba(60,60,60,0.5);
  border-radius: 13px;
  transition: opacity 0.3s;
  opacity: 1;
  z-index: 2;
  
}

.abs-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background:  rgba(60,60,60,0.5);
  padding: 15px 25px;
  border-radius: 10px;
  width: auto;
  min-width: 300px;
}

.abs-overlay h3 {
  margin: 0;
  line-height: 1.2;
}

.abs-overlay p {
  margin: 0;
}

.abs-card .abs-hover-overlay {
  background: rgba(60,60,60,0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 3;
  padding-right: 1.5rem;
  padding-left: 3.5rem;
}

/* Mostrar overlay en hover (escritorio) */
.abs-card.show-details .abs-overlay,
.abs-card:hover .abs-overlay,
.abs-card:focus .abs-overlay {
  opacity: 0;
}
.abs-card.show-details .abs-hover-overlay,
.abs-card:hover .abs-hover-overlay,
.abs-card:focus .abs-hover-overlay {
  opacity: 1;
  pointer-events: auto;
}

.app-icon {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.2s;
}
.app-icon:hover {
  transform: scale(1.12);
}
@media (max-width: 1900px) {
.abs-card .abs-hover-overlay {
  background: rgba(60,60,60,0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 3;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  gap: 1rem;
}
}
@media (max-width: 1000px) {
.abs-card .abs-hover-overlay {
  background: rgba(60,60,60,0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 3;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  gap: 1rem;
}
}
@media (max-width: 768px) {
  .app-icon {
    height: 28px;
  }
  .abs-hover-overlay h4 {
    font-size: 1.1rem !important;
  }
}

.abs-app-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.abs-app-label {
  font-style: italic;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0;
  margin-right: 2rem;
  white-space: nowrap;
}

/* INDUSTRIAS - Cards alineadas y responsivas */
.industria-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 0.5rem;
  margin-bottom: 3rem;
}
.industria-row .industria-card-col {
  flex: 0 0 19%;
  max-width: 19%;
  min-width: 160px;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}
.industria-card {
  transition: transform 0.3s;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  position: relative;
  width: 100%;
  min-width: 140px;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.industria-card img {
  transition: transform 0.3s;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}
.industria-card:hover img {
  transform: scale(1.08);
}
.industria-card-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #444;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
  font-style: italic;
  padding-bottom: 18px;
  opacity: 0;
}
.industria-card:hover .industria-card-name {
  opacity: 1;
}

/* Card grande de contacto */
.contacto-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  background: #222;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacto-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  z-index: 1;
  transition: filter 0.3s;
}
.contacto-card:hover .contacto-bg,
.contacto-card:focus-within .contacto-bg {
  filter: brightness(0.5) blur(1px);
}
.contacto-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 2rem;
  pointer-events: none;
}
.contacto-card .contacto-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.contacto-text {
  color: #fff;
  font-size: 2rem;
  font-style: italic;
  text-align: center;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.contacto-text .fw-bold {
  font-weight: 700;
  font-style: normal;
}
.contacto-text .text-contacto {
  color: #F1BF2C;
  font-style: normal;
}
.contacto-socials {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.5rem;
}
.contacto-socials a {
  color: #fff;
  font-size: 2.8rem;
  transition: color 0.2s, transform 0.2s;
}
.contacto-socials a:hover,
.contacto-socials a:focus {
  color: #F1BF2C;
  transform: scale(1.15);
}
@media (max-width: 1200px) {
  .industria-row .industria-card-col {
    flex: 0 0 24%;
    max-width: 24%;
  }
}
@media (max-width: 992px) {
  .industria-row .industria-card-col {
    flex: 0 0 32%;
    max-width: 32%;
  }
  .industria-card img { height: 140px; }
  .contacto-card { min-height: 220px; }
  .contacto-text { font-size: 1.2rem; }
  .contacto-socials a { font-size: 2rem; }
}
@media (max-width: 768px) {
  .industria-row .industria-card-col {
    flex: 0 0 48%;
    max-width: 48%;
  }
}
@media (max-width: 576px) {
  .industria-row .industria-card-col {
    flex: 0 0 98%;
    max-width: 98%;
  }
  .industria-card img { height: 90px; }
  .contacto-card { min-height: 160px; }
  .contacto-text { font-size: 1rem; }
  .contacto-socials { gap: 1.2rem; }
}

/*CONTACTO*/
form.bg-white {
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
form .form-control, form .form-select {
  border-radius: 8px;
  font-size: 1.1rem;
}
form .btn-warning {
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
}

/* LAMINAS*/
.producto-section {
  color: #fff;
  padding: 2.5rem 2rem;
}
.producto-img {
  border-radius: 18px;
  width: 100%;
  object-fit: cover;
  height: 50rem;
  min-height: 400px;
  max-height: 800px;
}
.producto-overlay-titulo {
  position: absolute;
  left: 0;
  bottom: 2rem;
  margin-left: .7rem;
  background: rgba(60,60,60,0.6);
  padding: 0.7rem 2.5rem;
  border-radius: 0 13px 13px 0;
  font-size: 2rem;
  font-style: italic;
  color: #fff;
  font-weight: 500;
}
.producto-info {
  padding-left: 2.5rem;
  padding-right: 1rem;
}
.producto-info h4 {
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
  color: #fff;
  font-weight: 600;
}
.producto-info .producto-list {
  margin-bottom: 1.2rem;
}
.producto-info .producto-list ul {
  margin-bottom: 0.7rem;
}
.producto-info .producto-list ul,
.producto-info .producto-list li {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.producto-info .producto-list .producto-list-title {
  font-style: italic;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.producto-info .producto-alert {
  background: #888;
  color: #fff;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-align: center;
}
.producto-info .producto-table {
  margin-bottom: 1.5rem;
}
.producto-info .producto-table th,
.producto-info .producto-table td {
  color: #fff;
  font-size: 1.05rem;
  padding: 0.3rem 1.2rem 0.3rem 0;
  border: none;
  background: transparent;
}
.producto-info .producto-table th {
  font-style: italic;
  font-weight: 600;
  border-bottom: 1px solid #bbb;
}
.producto-info .producto-table td {
  font-weight: 400;
}
.producto-info .producto-table tr:not(:last-child) td {
  border-bottom: 1px solid #bbb;
}
.producto-info .producto-table tr:not(:last-child) th {
  border-bottom: 1px solid #bbb;
}
.producto-info .producto-table {
  width: 100%;
  margin-bottom: 1.2rem;
}
.producto-info .producto-table th {
  padding-bottom: 0.5rem;
}
.producto-apps-label {
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: #fff;
  font-weight: 600;
}
.producto-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}
.producto-app {
  background: transparent;
  width: 5.2rem;
  height: 6rem;
  border-radius: .2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.producto-app i,
.producto-app img {
  color: #FEC72E;
  font-size: 2.1rem;
  transition: color 0.2s, filter 0.2s;
}
.producto-app span {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  text-align: center;
}
.producto-app:hover,
.producto-app:focus {
  background:#FEC72E;
  border-color: #fff;
}
.producto-app:hover i,
.producto-app:focus i,
.producto-app:hover img,
.producto-app:focus img {
  color: #fff;
  filter: brightness(10) grayscale(1) invert(1);
}
.producto-app:hover span,
.producto-app:focus span {
  color: #222;
}
@media (max-width: 992px) {
  .producto-section {
    padding: 1.2rem 0.5rem;
  }
  .producto-info {
    padding-left: 1rem;
    padding-right: 0.5rem;
  }
  .producto-img {
    min-height: 220px;
    max-height: 320px;
  }
  .producto-overlay-titulo {
    font-size: 1.2rem;
    padding: 0.5rem 1.2rem;
    bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .producto-section {
    padding: 1rem 0.2rem;
  }
  .producto-info {
    padding-left: 0;
    padding-right: 0;
  }
  .producto-img {
    min-height: 140px;
    max-height: 180px;
  }
  .producto-apps {
    gap: 0.5rem 0.7rem;
  }
  .producto-app {
    min-width: 70px;
    padding: 0.5rem 0.7rem 0.2rem 0.7rem;
  }
}

/* PRODUCTOS */

:root {
  --navbar-height: 0px;
}

body {
  padding-top: var(--navbar-height);
}

/* Si usas anclas, compensa el scroll */
section {
  scroll-margin-top: calc(var(--navbar-height) + 12px);
}


.textura-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.textura-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
}

.textura-img:hover,
.textura-img:focus {
  transform: scale(1.13);
  box-shadow: 0 6px 24px rgba(0,0,0,0.28);
  z-index: 2;
}

@media (max-width: 768px) {
  .textura-img {
    width: 90px;
    height: 90px;
  }
  .textura-img-container {
    margin-right: 0.7rem;
  }
}


.bg-producto {
  background: #606061 !important;
}


/* WHATSAPP*/
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #F1BF2C;
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,1);
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #F1BF2C;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}
@media (max-width: 600px) {
  .whatsapp-float {
    width: 46px;
    height: 46px;
    font-size: 1.6rem;
    bottom: 16px;
    right: 16px;
  }
}