body {
  font-family: var(--font-main);
  color: var(--dark);
  background-color: var(--white);
}

body {
  position: relative;
}

footer {
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
}

.section {
  padding: 80px 0;
}

/* Botón principal */
.btn-primary-custom {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.carousel-item {
  height: 85vh;
  min-height: 520px;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.whatsapp-float {
  position: fixed !important;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  padding: 14px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  text-decoration: none;
  z-index: 99999;
}

.whatsapp-float img {
  width: 26px;
  height: 26px;
}

.whatsapp-float span {
  font-weight: 600;
  font-size: 14px;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.section-intro {
  position: relative;
  background: #0e8436; /* verde corporativo */
}

/*.overlay-intro {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 132, 54, 0.9),
    rgba(0, 0, 0, 0.75)
  );
}*/

.overlay-intro {
  display: none;
}

/* Controles del slider */
.carousel-control-prev,
.carousel-control-next {
  z-index: 10;
}

/* Contenido del slide */
.carousel-item .container {
  position: relative;
  z-index: 15;
}

/* Botones del hero */
.carousel-item .btn {
  position: relative;
  z-index: 20;
}

/* CONTACTO INDUSTRIAL */
.contacto-industrial {
  background: linear-gradient(
    rgba(14, 132, 54, 0.95),
    rgba(14, 132, 54, 0.95)
  ),
  url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.contacto-industrial h2,
.contacto-industrial h5 {
  color: #fff;
}

.contacto-industrial .card,
.contacto-industrial .bg-white {
  border-radius: 12px;
}

/* Corrección texto dentro de contacto */
.contacto-industrial .bg-white {
  color: #212529;
}

.contacto-industrial .bg-white p,
.contacto-industrial .bg-white li,
.contacto-industrial .bg-white small {
  color: #555;
}

.contacto-industrial h5 {
  color: #0e8436;
}

.contacto-industrial .bg-white {
  border-radius: 14px;
}

.contacto-industrial .text-muted {
  color: #6c757d !important;
}

.mapa-industrial {
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.mapa-industrial iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(15%);
}

.contacto-industrial {
  background: linear-gradient(
      rgba(8, 92, 53, 0.92),
      rgba(8, 92, 53, 0.92)
    ),
    url('https://images.unsplash.com/photo-1581090700227-1e37b190418e?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
}

.contacto-industrial h2,
.contacto-industrial p {
  color: #fff;
}

/*.nosotros-pro {
  background: linear-gradient(
      rgba(14, 132, 54, 0.95),
      rgba(14, 132, 54, 0.95)
    ),
    url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
  color: #fff;
}*/

/*.nosotros-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-left: 5px solid #ffffff;
  border-radius: 10px;
}

.nosotros-box p {
  color: #f1f1f1;
}*/
.nosotros-box {
  background: #fff;
  border-left: 5px solid #0e8436;
}

.nosotros-box p {
  color: #555;
}

.image-box img {
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.card-pro {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card-pro:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.2);
}

.card-pro h5 {
  margin-top: 15px;
  margin-bottom: 10px;
}

.card-pro p,
.card-pro ul {
  color: #555;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: #0e8436;
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 10px;
}

.card-pro {
  border-top: 4px solid #0e8436;
}

.section h2 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section p.text-muted,
.section p.text-white-50 {
  max-width: 720px;
  margin: 0 auto;
}

/* ================= NOSOTROS - TITULOS ================= */
#nosotros h2 {
  color: #212529; /* negro elegante */
}

#nosotros p {
  color: #6c757d; /* gris bootstrap pro */
}

#nosotros .badge {
  background-color: #0e8436;
  color: #fff;
}

#nosotros h2 {
  font-size: 2.3rem;
  letter-spacing: -0.5px;
}#nosotros p {
  max-width: 720px;
  margin: 0 auto;
}

/* ================= NOSOTROS - HEADER ================= */
#nosotros .text-center h2 {
  color: #212529; /* negro fuerte */
}

#nosotros .text-center .subtitle {
  color: #6c757d;
  font-size: 1.05rem;
}

/* Badge FACTONOR */
#nosotros .badge {
  background-color: #0e8436;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ================= NOSOTROS - TEXTO ================= */
.nosotros-box {
  background: #ffffff;
  padding: 35px;
  border-left: 5px solid #0e8436;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

.nosotros-box p {
  text-align: justify;
  color: #495057;
  line-height: 1.7;
}

.nosotros-box h4 {
  color: #0e8436;
}

/* ================= CARD PRO MEDIA ================= */
.card-pro-media {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-pro-media:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* Imagen */
.card-pro-media img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-pro-media:hover img {
  transform: scale(1.08);
}

/* Body */
.card-pro-media .card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Título */
.card-pro-media h5 {
  font-weight: 700;
  margin-bottom: 12px;
}

/* Texto */
.card-pro-media p {
  color: #6c757d;
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Botón */
.card-pro-media .btn {
  align-self: flex-start;
  margin-top: 15px;
}

/* Badge superior opcional */
.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #0e8436;
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* ================= LINEA VERDE PRO ================= */
.card-pro-media {
  position: relative;
}

/* Línea izquierda */
.card-pro-media::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  width: 5px;
  height: calc(100% - 50px);
  background: linear-gradient(
    to bottom,
    #0e8436,
    #18b15a
  );
  border-radius: 0 10px 10px 0;
  opacity: 0.9;
  transition: all 0.35s ease;
}

/* Animación en hover */
.card-pro-media:hover::before {
  height: calc(100% - 20px);
  top: 10px;
}

.card-pro-media .card-body {
  padding-left: 30px;
}

.card-pro-media::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 30px;
  width: 0;
  height: 4px;
  background: #0e8436;
  transition: width 0.4s ease;
}

.card-pro-media:hover::after {
  width: calc(100% - 60px);
}

/* ================= IMAGENES DE CARDS ================= */
.card-pro-media img {
  height: auto;
  object-fit: contain;
  background: #f8f9fa;
}