/* ======================================== */
/* ESTILOS GENERALES */
/* ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: url('../img/Collage_Fumigacion_Plagas.webp') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 100px;
}

/* ======================================== */
/* CURSORES */
/* ======================================== */

*,
*::before,
*::after {
    cursor: default !important;
}

a,
button,
.btn-consultar,
.menu-btn,
.hamburger-icon,
[role="button"],
input[type="submit"],
input[type="button"],
.btn-wsp {
    cursor: pointer !important;
}

input,
textarea,
[contenteditable="true"] {
    cursor: text !important;
}

button:disabled,
input:disabled {
    cursor: not-allowed !important;
}

/* ======================================== */
/* NAVBAR STICKY */
/* ======================================== */

.sticky-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    width: 100%;
}

.navbar-custom .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0 20px;
}

.icono-container {
    flex: 0 0 auto;
    position: relative;
    display: inline-block;
}

.icono-container .navbar-brand {
    padding: 0;
    margin: 0;
    display: block;
    line-height: 0;
}

.icono-container img {
    width: auto;
    height: 100px;
    max-width: 150%;
    object-fit: contain;
    display: block;
    animation: rotateOnAxis 6s ease-in-out infinite;
    transform-origin: center center;
    filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0));
    position: relative;
    z-index: 2;
}

@keyframes rotateOnAxis {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0));
    }

    45% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0));
    }

    50% {
        transform: rotate(360deg) scale(1.05);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }

    55% {
        transform: rotate(360deg) scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    }

    60% {
        filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0));
    }

    100% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0));
    }
}

.texto-container {
    flex: 1 1 auto;
    text-align: center;
    margin: 0 15px;
}

.texto-container .navbar-brand {
    padding: 0;
    margin: 0;
    display: inline-block;
}

.texto-container img {
    width: auto;
    height: 110px;
    max-width: 100%;
    object-fit: contain;
}

.empty-right {
    flex: 0 0 auto;
    width: 60px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .icono-container img {
        height: 70px;
    }

    .texto-container img {
        height: 75px;
    }

    .empty-right {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .icono-container img {
        height: 55px;
    }

    .texto-container img {
        height: 60px;
    }
}

/* ======================================== */
/* TÍTULO DE SERVICIOS */
/* ======================================== */

.services-title-container {
    text-align: center;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-title {
    font-size: 2.5rem;
    color: #2c5f2d;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #2c5f2d);
    margin: 0 auto;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .services-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 1.5rem;
    }
}

/* ======================================== */
/* MENÚ HAMBURGUESA - VERSIÓN CORREGIDA */
/* ======================================== */

.menu-container {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    width: 100%;
}

/* Icono hamburguesa */
.hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 25px;
    cursor: pointer;
    z-index: 1002;
    position: absolute;
    top: 18px;
    right: 25px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #2c5f2d;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Wrapper del menú - Desktop */
.menu-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: white;
    transition: all 0.3s ease;
}

/* Botones del menú */
.menu-btn {
    padding: 12px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #495057;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    min-width: 130px;
    max-width: 160px;
    height: auto;
    min-height: 70px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.menu-btn:hover {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
}

.menu-btn.active {
    background: #2c5f2d;
    color: white;
    border-color: #2c5f2d;
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.4);
}

/* ======================================== */
/* RESPONSIVE MENÚ HAMBURGUESA */
/* ======================================== */

@media (max-width: 768px) {
    .menu-container {
        min-height: 70px;
        position: relative;
    }

    .hamburger-icon {
        display: flex;
    }

    /* El wrapper del menú se oculta inicialmente */
    .menu-wrapper {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        max-height: 80vh;
        overflow-y: auto;
        border-top: 3px solid #4caf50;
        gap: 12px;
    }

    /* Clase active para mostrar el menú */
    .menu-wrapper.active {
        display: flex !important;
    }

    /* Botones en móvil */
    .menu-wrapper .menu-btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        height: auto;
        min-height: 55px;
        margin: 0;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        border-radius: 12px;
        background-color: #f1f3f5;
        transition: all 0.2s;
    }

    .menu-wrapper .menu-btn:hover {
        background: linear-gradient(135deg, #4caf50, #45a049);
        transform: translateX(5px);
    }

    .menu-wrapper .menu-btn.active {
        background: #2c5f2d;
        color: white;
    }
}

/* Asegurar que en desktop siempre se vea el menú */
@media (min-width: 769px) {
    .menu-wrapper {
        display: flex !important;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: auto;
        background: transparent;
        flex-direction: row;
        padding: 15px;
        box-shadow: none;
        max-height: none;
        overflow-y: visible;
    }

    .hamburger-icon {
        display: none !important;
    }
}

/* Scroll personalizado */
.menu-wrapper::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.menu-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.menu-wrapper::-webkit-scrollbar-thumb {
    background: #4caf50;
    border-radius: 10px;
}

/* ======================================== */
/* CONTENEDOR DE CONTENIDO */
/* ======================================== */

.content-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

.service-content {
    display: flex;
    gap: 40px;
    align-items: center;
    background: rgba(99, 178, 80, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeIn 0.5s ease;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-container {
    flex: 0 0 40%;
    max-width: 40%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 20px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.05);
}

.text-container {
    flex: 1;
    padding: 40px;
}

.text-container h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 5px solid #f9fcf9;
    padding-left: 20px;
}

.text-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f9fcf9;
    margin-bottom: 20px;
}

.text-container ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.text-container ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 1rem;
    color: #f9fcf9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.text-container ul li:last-child {
    border-bottom: none;
}

.text-container ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-consultar {
    padding: 15px 40px;
    background: linear-gradient(135deg, #ffffff, #e8f5e9);
    color: #2c5f2d;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-consultar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: white;
}

/* Responsive content */
@media (max-width: 992px) {
    .service-content {
        flex-direction: column;
    }

    .image-container {
        flex: 0 0 100%;
        max-width: 90%;
        height: 300px;
        left: 0;
        margin-top: 20px;
    }

    .text-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .content-container {
        padding: 30px 15px;
    }

    .image-container {
        height: 250px;
        max-width: 95%;
    }

    .text-container h2 {
        font-size: 1.5rem;
    }

    .text-container p {
        font-size: 1rem;
    }

    .btn-consultar {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 200px;
    }

    .text-container {
        padding: 20px;
    }

    .text-container h2 {
        font-size: 1.3rem;
    }
}

/* ======================================== */
/* FORMULARIO DE CONTACTO MODERNO */
/* ======================================== */

.contact-section-modern {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

.contact-container-modern {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(99, 178, 80, 0.9);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
    font-weight: 400;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* Tarjetas de información */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 28px;
    color: #2c5f2d;
}

.info-content h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Formulario */
.contact-form-modern {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c5f2d;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label i {
    margin-right: 8px;
    color: #4caf50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #4caf50;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234caf50' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #4caf50;
}

.checkbox-group label {
    color: #333;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
}

.privacy-link {
    color: #4caf50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: #2c5f2d;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4caf50, #2c5f2d);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049, #1e4f1e);
}

.btn-submit:hover i {
    transform: translateX(5px);
}

/* Responsive formulario */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-container-modern {
        padding: 30px;
    }

    .contact-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section-modern {
        padding: 40px 15px;
    }

    .contact-container-modern {
        padding: 20px;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .info-card {
        padding: 18px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 24px;
    }

    .info-content h3 {
        font-size: 1rem;
    }

    .contact-form-modern {
        padding: 25px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
    }

    .btn-submit {
        padding: 14px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-container-modern {
        padding: 15px;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-content {
        text-align: center;
    }

    .contact-form-modern {
        padding: 20px;
    }

    .btn-submit {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ======================================== */
/* MAPA */
/* ======================================== */

.map-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

.map-section h1 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 2rem;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(99, 178, 80, 0.9);
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .map-section h1 {
        font-size: 1.5rem;
    }

    .map-container {
        padding: 20px;
    }
}

/* ======================================== */
/* WHATSAPP FLOTANTE */
/* ======================================== */

.btn-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1080;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-wsp:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

@media (max-width: 768px) {
    .btn-wsp {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* ======================================== */
/* FOOTER */
/* ======================================== */

#footerbackground {
    background: linear-gradient(135deg, #4caf50, #2c5f2d, #1e4f1e);
    background-size: 200% 200%;
    text-align: center;
    padding: 40px 20px 30px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
    position: relative;
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

#Copyright {
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 20px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    #footerbackground {
        padding: 30px 15px 25px;
    }

    #Copyright {
        font-size: 0.75rem;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    #Copyright {
        font-size: 0.7rem;
    }
}

/* ======================================== */
/* ANIMACIONES ADICIONALES */
/* ======================================== */

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section-modern {
    animation: slideInFromBottom 0.8s ease-out;
}

.info-card:nth-child(1) {
    animation: slideInFromBottom 0.8s ease-out 0.1s both;
}

.info-card:nth-child(2) {
    animation: slideInFromBottom 0.8s ease-out 0.2s both;
}

.info-card:nth-child(3) {
    animation: slideInFromBottom 0.8s ease-out 0.3s both;
}

.info-card:nth-child(4) {
    animation: slideInFromBottom 0.8s ease-out 0.4s both;
}

/* ======================================== */
/* INDICADOR DE AUTO-ROTACIÓN */
/* ======================================== */

.auto-rotate-indicator {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: rgba(44, 95, 45, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 20px;
    z-index: 1070;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 280px;
    opacity: 0;
    transform: translateX(100px);
    pointer-events: none;
}

.auto-rotate-indicator.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.auto-rotate-indicator.hidden {
    opacity: 0;
    transform: translateX(100px);
    pointer-events: none;
}

.indicator-text {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.indicator-text i {
    font-size: 0.9rem;
    color: #4caf50;
}

.indicator-timer {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.timer-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    border-radius: 3px;
    transform-origin: left;
}

@keyframes timerBarProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Responsive para el indicador */
@media (max-width: 768px) {
    .auto-rotate-indicator {
        bottom: 80px;
        right: 15px;
        padding: 8px 15px;
        max-width: 240px;
    }
    
    .indicator-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .auto-rotate-indicator {
        bottom: 70px;
        right: 10px;
        padding: 6px 12px;
        max-width: 200px;
    }
    
    .indicator-text {
        font-size: 0.7rem;
    }
}

/* Animación de entrada para el contenido */
.service-content {
    transition: all 0.5s ease;
}

/* Efecto de pulso suave para el indicador cuando está activo */
@keyframes indicatorPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    }
}

.auto-rotate-indicator.visible {
    animation: indicatorPulse 2s ease-in-out infinite;
}