.hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px;
  border: 1px solid #e9ecef;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: #6c757d;
  margin-bottom: 0;
}

.about-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.about-card h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-card p {
  color: #555;
  line-height: 1.6;
}

.about-feature {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.about-feature h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-feature p {
  font-size: 0.9rem;
  color: #6c757d;
}


.nav-link.active {
  font-weight: 600;
}


.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  color: white;
}

.page-header h1 {
  font-size: 2.75rem;
  font-weight: 700;
}

.service-list {
  padding-left: 1rem;
}

.service-list li {
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.service-image {
  max-height: 360px; 
  overflow: hidden;
  border-radius: 16px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FORM */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.contact-form .form-control {
  padding: 14px;
  font-size: 0.95rem;
}

/* CONTACT FORM ACTIONS */
.form-actions {
  margin-top: 2rem;
}

/* STATUS MESSAGE */
.form-status {
  min-height: 48px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  display: none;
}

/* SUCCESS */
.form-status.success {
  display: block;
  background-color: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
}

/* ERROR */
.form-status.error {
  display: block;
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

/* LOADING */
.form-status.loading {
  display: block;
  background-color: #f1f3f5;
  color: #495057;
  border: 1px solid #dee2e6;
}




@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
}

.section-light {
  background-color: #f8f9fa;
}

.section-divider {
  background-color: #ffffff;
  padding: 0px 0;
}

.divider-line {
  display: block;
  width: 80px;
  height: 3px;
  background-color: #0d6efd;
  margin: 0 auto 20px;
  opacity: 0.3;
}

.divider-text {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6c757d;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

#projectsCarousel {
  padding-bottom: 60px; /* espacio para los indicadores */
}

#projectsCarousel .carousel-indicators {
  bottom: -40px; /* los baja debajo de las imágenes */
}

#projectsCarousel .carousel-indicators button {
  background-color: #0d6efd;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Botones fuera del contenido */
#projectsCarousel .carousel-control-prev,
#projectsCarousel .carousel-control-next {
  top: auto;
  bottom: -70px;
  width: auto;
}

/* Posición horizontal */
#projectsCarousel .carousel-control-prev {
  left: 40%;
}

#projectsCarousel .carousel-control-next {
  right: 40%;
}

/* Estilo más limpio */
#projectsCarousel .carousel-control-prev-icon,
#projectsCarousel .carousel-control-next-icon {
  filter: invert(1);
  background-size: 100% 100%;
}

/* Contenedor del carousel */
#projectsCarousel {
  position: relative;
}

/* BOTONES */
#projectsCarousel .carousel-control-prev,
#projectsCarousel .carousel-control-next {
  width: 50px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 1;
}

/* Izquierda */
#projectsCarousel .carousel-control-prev {
  left: -70px;
}

/* Derecha */
#projectsCarousel .carousel-control-next {
  right: -70px;
}

/* Iconos */
#projectsCarousel .carousel-control-prev-icon,
#projectsCarousel .carousel-control-next-icon {
  filter: invert(1);
  width: 32px;
  height: 32px;
}

/* Indicadores abajo */
#projectsCarousel .carousel-indicators {
  bottom: -40px;
}

@media (max-width: 768px) {
  #projectsCarousel .carousel-control-prev,
  #projectsCarousel .carousel-control-next {
    display: none;
  }
}

.carousel-item .col-md-4 {
  overflow: hidden;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .project-img:hover {
    transform: none;
    box-shadow: none;
  }
}


.about-image-wrapper {
  max-height: 900px;      /* ajusta según tu diseño */
  overflow: hidden;
  border-radius: 16px;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* clave */
  display: block;
}

.footer {
  background-color: #0f172a; /* azul industrial oscuro */
  color: #cbd5e1;
  padding: 60px 0 30px;
}

.footer-title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

.footer-bottom {
  font-size: 0.9rem;
  color: #94a3b8;
}

.section-light {
  background-color: #f8f9faa9;
}

.hero {
  position: relative;
  min-height: 90vh;
  /* background-image: url("../assets/hero-manufacturing.webp"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #eaeaea;
}

.hero-title,
.hero-subtitle,
.hero .btn {
  animation: fadeUp 0.8s ease forwards;
}

.hero-subtitle {
  animation-delay: 0.2s;
}

.hero .btn {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.section-dark {
  background: linear-gradient(180deg, #f4f6f8 0%, #eef1f4 100%);
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: #6c757d;
}

.why-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--bs-primary);
}

.why-card h5 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}


.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    to top,
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.1)
  ); */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-overlay span {
  color: #000000;
  font-size: 0.85rem;
}

/* Hover effects */
.project-item:hover .project-img {
  transform: scale(1.08);
}

.project-item:hover .project-overlay {
  opacity: 1;
}
