/* Estilos generales */

html {
    scroll-behavior: smooth;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

.black {
    color: #2c2c2c;
}

h1,
h2,
h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

p {
    margin-bottom: 15px;
    color: #ffffff;
}


.spam {
    color: #439f38;
}



h1.h1custom {
    margin-bottom: 20px;
    color: #ff0000;
}




/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}



.navbar {
    position: relative;
    top: -20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border-bottom: 2px solid #ffffff;
    border-radius: 0 0 20px 20px;
    padding: 10px 30px;
}

.nav-links a[data-current="true"] {
    color: #439f38;
    font-weight: bold;
}


.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #439f38;
    padding: 1px 12px;
    border-radius: 20px;
    width: 150px;
    height: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
}

.badge:hover {
    transform: scale(1.05);
    background: #439f38;

}

.badge img {
    max-height: 110%;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.badge:hover img {
    transform: scale(1.05);
}


.logo img {
    width: 100px;
    height: auto;
    display: block;
}



.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #439f38;
}


/* Estilos para los menús desplegables */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 10px 10px;
    min-width: 200px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-menu a:hover {
    background-color: #439f38;
    color: white !important;
}

/* Flecha indicadora en los items con dropdown */
.dropdown>a::after {
    content: "▼";
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Estilos de menús desplegables */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 10px 10px;
    min-width: 200px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-links a.active {
    color: #439f38; /* verde */
}

/* Hero estático */
.hero-static {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 160px;
    padding-bottom: 50px; 
    overflow: hidden;
    height: auto; 
}

.hero-static .slide-content {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    margin-top: -30px;
    margin-bottom: 0;
}

.hero-static .slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero-static .slide-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.6; /* Mejor legibilidad */
}


/* Solución específica */
section h1 {
  font-size: 2.8rem; /* ajusta a tu diseño */
  font-weight: 700;
  line-height: 1.2;
  color: #000; /* o el color que uses */
  margin: 0;
}

/* Alternativa, si usas una clase .hero-static */
.hero-static h1 {
  font-size: clamp(2rem, 5vw, 3rem); /* tamaño adaptable */
  font-weight: bold;
}


/* Responsive */
@media (max-width: 1200px) { /* Monitores */
    .hero-static .slide-content {
        padding: 20px;
        max-width: 90%; /* Ajuste en pantallas grandes */
    }

    .hero-static .slide-content h1 {
        font-size: 2.2rem;
    }

    .hero-static .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) { /* Tablets */
    .hero-static .slide-content {
        padding: 20px;
        max-width: 85%;
    }

    .hero-static .slide-content h1 {
        font-size: 2rem;
    }

    .hero-static .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) { /* Celulares grandes */
    .hero-static .slide-content {
        padding: 15px;
        max-width: 90%;
    }

    .hero-static .slide-content h1 {
        font-size: 1.8rem;
    }

    .hero-static .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) { /* Celulares pequeños */
    .hero-static .slide-content {
        padding: 10px;
        max-width: 90%;
    }

    .hero-static .slide-content h1 {
        font-size: 1.6rem;
    }

    .hero-static .slide-content p {
        font-size: 0.9rem;
    }
}

/* Redes sociales */
.instagram-section {
  text-align: center;
  padding: 60px 20px;
}

.instagram-section h2 {
  font-size: 2rem;
  font-weight: bold;
}

.instagram-section h2 .green {
  color: #439f38;
}

.instagram-section h2 .blue {
  color: #1d3a8a;
}

.instagram-section .subtitle {
  color: #666;
  margin: 10px 0 30px;
  font-size: 1.1rem;
}

/* Carrusel */
.carousel {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: visible;
}

.carousel-track-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  list-style-type: none;
}

/* Slides */
.carousel-slide {
  min-width: 300px;
  margin: 0 10px;
  text-align: center;
  z-index: 1;
  padding-bottom: 30px;
}

.carousel-slide p {
  margin-top: 10px;
  font-size: 1rem;
  display: block;
  color: #000;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

/* Botones del carrusel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2000;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  transition: background 0.15s, transform 0.15s;
  pointer-events: auto;
}

.carousel-btn.prev {
  left: -22px;
  top: 40%;
}

.carousel-btn.next {
  right: -22px;
  top: 40%;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.03);
}

.carousel-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Indicadores */
.carousel-indicators {
  margin-top: 20px;
}

.carousel-indicators .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-indicators .dot.active {
  background-color: #439f38;
}

/* Caption */
.caption-text {
  font-size: 10px;
  line-height: 1.4;
  margin-top: 8px;
  max-height: 67px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

/* Media container para overlay */
.media-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  overflow: hidden;
}

.media-container img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-container:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Overlay que aparece al hacer hover */
.media-container .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  background: rgba(0,0,0,0.6);
  padding: 8px 16px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  font-size: 1rem;
}

.media-container:hover .overlay {
  opacity: 1;
}




.proveedores {
  text-align: center;
  padding: 60px 20px;
}

.proveedores h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.proveedores h2 span {
  color: #439f38; /* verde */
}

.proveedores p {
  color: #555;
  margin-bottom: 40px;
}


.brands-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px; /* más ancho */
  margin: 0 auto;
  padding: 0 50px; /* espacio lateral para que las flechas no tapen */
}

.brands-track {
  display: flex;
  transition: transform 0.5s ease;
}

.brand-slide {
  min-width: 180px; 
  margin: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-slide img {
  max-width: 160px;
  max-height: 280px;
  object-fit: contain;
  transition: transform 0.3s;
}

.brand-slide img:hover {
  transform: scale(1.05);
}




/*contact*/


.contact-section {
  padding: 60px 20px;
}

.contact-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

/* Izquierda */
.contact-info {
  flex: 1 1 50%;
}

.contact-info .tag {
  display: inline-block;
  background: #e6f6ec;
  color: #439f38;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-info .green {
  color: #439f38;
}

.green{
    color: #439f38;
}
.contact-info .blue {
  color: #1d3a8a;
}

.contact-info p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}



/* Lista de contacto */
.contact-details {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.contact-details li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-details i {
  color: #439f38;
  font-size: 1.2rem;
}

/* Derecha */
.contact-form {
  flex: 1 1 40%;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}



.contact-form p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form textarea {
  border-radius: 14px;
  resize: none;
  min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #439f38;
}

.btn-submit {
  background: #439f38;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #367a2c;
}


.products-tag {
    display: inline-block;
    background: #f3f3f3;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    /* Sombra negra */
}


.circle-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #439f38;
    border-radius: 50%;
    margin: 0 10px;
}

.location p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}

.icon-location {
  color: #439f38;
  font-size: 1.2rem;
}

.badge {
    width: 120px;
    height: 40px;
}

.badge img {
    max-height: 100%;
}



/* Footer compacto */
footer {
    position: relative;
    background: url("../img/mapa.jpg") no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 40px 0 10px; /* menos padding */
    font-size: 14px;
    z-index: 1;
}

/* Overlay */
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

/* Logo */
.footer-logo {
    flex: 1;
    min-width: 220px;
}
.footer-logo img {
    max-width: 150px;
    margin-bottom: 10px;
}
.footer-logo p {
    line-height: 1.5;
    color: #ddd;
    font-size: 13px;
}

/* Secciones */
.footer-section {
    flex: 1;
    min-width: 180px;
}
.footer-section h3 {
    margin-bottom: 10px;
    font-size: 15px;
}

/* Links */
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li,
.footer-contact li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
}
.footer-links a:hover {
    color: #43a047;
}

/* Contacto */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.footer-contact i {
    color: #43a047;
    font-size: 13px;
}

/* Copyright + Habeas en una sola línea */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    color: #aaa;
    line-height: 1.4;
}
.footer-bottom a {
    color: #43a047;
    text-decoration: none;
    margin-left: 8px;
    font-size: 12px;
}
.footer-bottom a:hover {
    text-decoration: underline;
}


.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1000;
}


.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease;
}



/* Estado activo para la animación de la 'X' */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}








/* Media Queries */
@media (max-width: 1200px) {
    .navbar {
        padding: 10px 20px;
    }

    .nav-links li {
        margin-left: 15px;
    }

    .logo img {
        width: 130px;
    }
}

@media (max-width: 992px) {
    
    .logo img {
        width: 130px;
    }
    
    .about .container,
    .products .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-box {
        transform: none;
        margin-top: 20px;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form,
    .contact-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .contact-image {
        order: -1;
        justify-content: center;
    }

    .contact-image img {
        top: 0;
        max-width: 300px;
    }

    .stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        flex: 0 0 50%;
        margin-bottom: 20px;
        border-right: none;
        justify-content: center;
    }

    .footer-container {
        gap: 20px;
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    
    /* Header y Navegación Responsive */
    .contact-image {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.5s ease;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    /* 🔹 Opciones principales del navbar con línea divisoria */
    .nav-links li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        font-size: 1.2rem;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links li a:hover,
    .nav-links li a:focus {
        color: #00b050;
        background: transparent;
    }

    /* 🔹 Dropdown en móvil */
    .nav-links.active .dropdown-menu {
        display: none;
        position: static;
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        padding: 0;
    }

    .nav-links.active .dropdown-menu.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* alineamos a la izquierda */
        padding-left: 20px;
    }

    .nav-links .badge  {
        width: 150px !important;  
        height: auto !important; 
    }

    .nav-links .badge {
        margin-top: 20px;       
        display: flex;
        justify-content: center; 
    }


    /* Opciones del dropdown con barra lateral */
    .dropdown-menu a {
        font-size: 1rem; /* más pequeño que el menú principal */
        padding: 10px 15px;
        text-align: left;
        color: white;
        border-bottom: none; /* quitamos las rayas horizontales */
        border-left: 3px solid rgba(255, 255, 255, 0.3); /* barra lateral */
    }


    .nav-links .dropdown-menu a {
        font-size: 0.9rem !important; /* forzamos */
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:focus {
        color: #00b050;
        border-left: 3px solid #00b050; /* barra verde en hover */
        background: transparent;
    }

    .hamburger {
        display: flex;
    }

    .logo img {
        width: 120px;
    }

    /* Oculta los dropdowns en la vista de móvil cuando no están activos */
    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown>a::after {
        content: "";
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .static-buttons {
        bottom: 30px;
    }

    .location-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin: 0 8px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 30px 20px;
    }

    .overlay-circle {
        width: 150px;
        height: 150px;
        top: -30px;
        left: -30px;
    }

    .play-button img {
        width: 40px;
        height: 40px;
    }

    .testimonials-header {
        flex-direction: column;
    }

    .testimonials-header .right {
        text-align: left;
        margin-top: 20px;
    }

    .testimonial {
        flex: 0 0 100%;
    }

    .brand-slide {
        width: 150px;
    }

    .arrow {
        font-size: 20px;
        padding: 6px 10px;
    }
}

@media (max-width: 576px) {
    /* Eliminar cualquier transform o translate que cause desplazamiento */
     * {
        translate: none !important;
    }
    
    /* Reset de posición absoluta/fixed */
    .nav-links,
    .dropdown-menu,
    .slide,
    .hero-slider {
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Asegurar que el viewport sea exacto */
    html {
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    *, *:before, *:after {
        box-sizing: inherit;
    }
    
    /* Forzar al viewport real */
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 5px;
        background: red;
        z-index: 9999;
        display: none; /* Solo para debug */
    }
    .contact-image {
        display: none;
    }
    /* Ajustes para móviles pequeños */
    .navbar {
        padding: 10px 15px;
    }

    .logo img {
        width: 100px;
    }

    .slide-content {
        padding: 20px;
        margin-top: 0;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .static-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .location-btn {
        width: 80%;
        margin: 5px 0;
    }

    .about h2,
    .products h2,
    .testimonials h2 {
        font-size: 2rem;
    }

    .products-tag,
    .about-tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    .circle-icon {
        width: 8px;
        height: 8px;
        margin: 0 8px;
    }

    .product-categories li {
        font-size: 14px;
    }

    .experience-box {
        padding: 15px 25px;
    }

    .experience-box .years {
        font-size: 36px;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .stat {
        flex: 0 0 100%;
        margin-bottom: 25px;
    }

    .footer-section {
        min-width: 100%;
        margin-left: 20px;
    }

}


.navbar {
    width: 100%;
}

.badge {
    width: 120px;
    height: 40px;
}

.badge img {
    max-height: 100%;
}


/* Botón scroll top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #439f38; 
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 10px;
}

.scroll-top img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    pointer-events: none; 
}


.scroll-top:hover {
    background: #008f40;
    transform: scale(1.15);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}


.swal-popup {
    border-radius: 15px !important;
    padding: 25px !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.swal-title {
    font-size: 20px !important;
    color: #439f38 !important; /* Verde que venimos usando */
    font-weight: bold;
    margin-top: 10px !important;
}

.swal-text {
    font-size: 14px !important;
    color: #555 !important;
}
/* Pantalla de carga */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff; /* Fondo blanco limpio */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  width: 120px;
  margin-bottom: 20px;
}

/* Spinner minimalista */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(67, 159, 56, 0.3); /* verde tenue */
  border-top-color: #439f38; /* verde principal */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Ocultar cuando termine */
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}



.error {
    border: 2px solid #dc3545 !important;
    background-color: #f8d7da;
}

.success {
    border: 2px solid #28a745 !important;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.btn-submit:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}