.btn:focus,
.btn:active:focus,
.navbar-toggler:focus,
.navbar-toggler:active:focus {
    outline: none !important;
    box-shadow: none !important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background-color: transparent !important;
}

.nav-link.active {
  color: #007bff !important;;
}

footer a {
    color: #000 !important; /* negro siempre */
    transition: color 0.3s;
  }

  footer a:hover {
    color: #007bff !important; /* azul al pasar el mouse */
  }
 
 #provincias ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

#provincias ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #73c444, #02aded);
}



  .btn-masinfo:hover{
    background: linear-gradient(135deg,#00ff6a,#00c6ff);
    color: white;
    transition: 0.2s;
  }

  /* círculo flotante */
  .icon-circle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg,#00ff6a,#00c6ff);
  }

  .icon-circle img {
    width: 55%;
    filter: brightness(0) invert(1); /* ícono blanco */
  }

  /* responsivo: círculo más chico en móvil */
  @media (max-width: 576px) {
    .icon-circle { width: 70px; height: 70px; }
  }

.top-bar {
    background: linear-gradient(to right, #73c444, #02aded);
    color: white;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.icon-white {
    filter: brightness(0) invert(1);
    width: 25px;
    height: 25px;
    transition: opacity 0.3s ease;
}

.social-icon:hover .icon-white {
    opacity: 0.8;
}

.top-bar a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

a h6:hover{
    color:#007bff;
}

.top-bar a:hover {
    opacity: 1;
    color: #007bff;
}

#nav-placeholder {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.main-header {
    padding: 1rem 0;
}


.nav-container {
    background: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: #007bff !important;
    background: rgba(0,123,255,0.1);
}

/* Estilos del menú desplegable */
@media (min-width: 992px) {
    .nav-item.dropdown {
        position: static;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 25px;
    }

    #servicesDropdown::after {
        content: '';
        position: absolute;
        bottom: -25px;
        left: 70%;
        transform: translateX(-30%);
        width: 100px;
        height: 25px;
    }

    .dropdown-menu {
        background-color: #d9d9d9;
        border: none;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        left: 0;
        right: 0;
        position: absolute;
    }

    .dropdown-menu .container {
        max-width: 1200px;
    }

    .dropdown-menu h6 {
        color: #333;
    }

    .dropdown-menu p {
        font-size: 0.9rem;
    }

    .dropdown-menu .list-unstyled a:hover {
        color: #007bff !important;
    }
}

.btn-contact {
    background: #007bff;
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .nav-container {
        border-radius: 0;
        margin: 0 -0.75rem;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        transition: right 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1030;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        text-align: center;
        width: 100%;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .navbar-toggler {
        z-index: 1031;
        position: relative;
    }

    .navbar-toggler[aria-expanded="true"] {
        position: fixed;
        top: 1rem;
        right: 1rem;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        padding: 0.5rem;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        backdrop-filter: blur(5px);
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M2.146 2.146a.5.5 0 0 1 .708 0L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        width: 20px;
        height: 20px;
    }
}

.hero {
    color: #333;
    min-height: 60vh;
    padding: 0 0 0;
    display: flex;
    align-items: center;
}

.hero-image-bg {
    background: linear-gradient(to right, #73c444, #02aded);
    border-radius: 4rem 0 0 4rem;
    margin-right: -12px;
    padding: 1.5rem;
    height: auto;
    min-height: 60vh;
    top: 50% !important;
    transform: translateY(-50%);
}

.hero-image-container {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    height: 100%;
}

.hero-image-container img {
    object-fit: cover;
    background-position: center left;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero h3 {
    color: #666 !important;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.btn:hover{
    transition: .6s;
}

.btn-primary {
    background: linear-gradient(90deg, #73c444 0%, #02aded 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #02aded 0%, #73c444 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-image-container {
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image-container {
        position: relative !important;
        height: 50vh;
        margin-top: 2rem;
    }
}

.trusted-brands {
    background-color: white;
}

.trusted-brands img {
    max-height: 40px;
    transition: opacity 0.3s ease;
}

.trusted-brands img:hover {
    opacity: 1 !important;
}

.solutions-image {
    height: 300px;
}

.solutions-image-bg {
    height: 100%;
    padding: 0.75rem;
}

.solutions-image-container {
    height: 100%;
}

.solutions-image img {
    height: 100%;
}

.solutions {
}

.solutions-container {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background-color: #d9d9d9;
}

.solutions h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #333;
}

.solutions .lead {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .solutions-image {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .solutions h2 {
        font-size: 2rem;
    }
}


.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #73c444, #02aded);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto; /* centrar */
  color: white;
  font-size: 28px; /* tamaño del icono */
}

.card-overlay {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 400apx;
  text-decoration: none; /* saca subrayado de <a> */
  color: white;
}

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

.card-overlay:hover .card-img {
  transform: scale(1.1); /* zoom */
}

.overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #73c444 0%, #02aded 50%);
  opacity: 0.7;
  z-index: 1;
}

.card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

  .perfil-card {
    cursor: pointer;
    background: #f6f6f6;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.7;
    border: none;
    color: black;
  }
  .perfil-card.active,
  .perfil-card:hover {
    background: linear-gradient(135deg, #73c444, #02aded);
    opacity: 1;
    color: white;
  }
