/* Estilos Generales */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Google Translate: ocultar banner e interfaz flotante */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

body {
    top: 0 !important;
}

.skiptranslate,
.goog-te-gadget,
.goog-te-gadget > div,
.goog-te-gadget span,
.goog-te-gadget img {
    display: none !important;
}

.VIpgJd-ZVi9od-ORHb,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-vH1Gmf,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe,
.VIpgJd-ZVi9od-ORHb-bN97Pc,
.VIpgJd-ZVi9od-LgbsSe,
.VIpgJd-ZVi9od-TvD9Pc-hSRGPd {
    display: none !important;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #f15806;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d14a05;
}

/* Animaciones */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-fade-in {
    animation: fadeIn 1s ease-in-out;
}

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



/* Hero sections adjustment */
.hero-section {
    margin-top: 0 !important;
    padding-top: 10% !important;
}

/* Transiciones suaves */
* {
    transition-property: color, background-color, border-color;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
}

/* Botones */
.btn-primary {
    background-color: #f15806;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d14a05;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(241, 88, 6, 0.3);
}

/* Cards */
.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.dark .card {
    background: #1f2937;
}

/* Links */
a {
    transition: color 0.2s ease;
}

/* Imágenes responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Ocultar scrollbar en contenedores específicos */
.no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.no-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.consultation-message-enter {
    animation: consultationMessageEnter 0.24s ease-out;
}

.consultation-typing-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    background: #f15806;
    opacity: 0.35;
    animation: consultationTypingPulse 1.1s ease-in-out infinite;
}

.consultation-typing-dot:nth-child(2) {
    animation-delay: 0.18s;
}

.consultation-typing-dot:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes consultationTypingPulse {
    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@keyframes consultationMessageEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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