body { font-family: 'Outfit', sans-serif; background-color: #f8fafc; }
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-regular-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2') format('woff2');
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #0f766e; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #065f46; }
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.tab-btn { color: #9ca3af; border-color: transparent; transition: all 0.3s ease; }
.tab-btn.active-tab { color: #065f46; border-color: #065f46; background-color: #f0fdfa; border-radius: 8px 8px 0 0; }
.tab-btn:not(.active-tab):hover { color: #4b5563; border-color: #e5e7eb; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
#projection-results-container > div > div {
    border-left-width: 0 !important; border-top-width: 0 !important;
    border: 1px solid #e5e7eb !important; border-radius: 0.75rem !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
}
#projection-results-container > div > div:hover {
    border-color: #0f766e !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-2px);
    will-change: transform;
}
@media (max-width: 768px) {
    #projection-results-container .grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 1rem; }
    #projection-results-container .grid > div { flex: 1 1 40%; min-width: 120px; }
    #projection-results-container .grid > div:first-child { flex: 1 1 100%; border-bottom: 1px solid #f1f5f9; padding-bottom: 0.5rem; }
    #projection-results-container .grid > div:last-child { flex: 1 1 100%; background-color: #f0fdfa; padding: 0.75rem; border-radius: 0.5rem; margin-top: 0.25rem; }
}

.montserrat-heading { font-family: 'Montserrat', sans-serif; }
.poppins-font { font-family: 'Poppins', sans-serif; }
.bg-pattern {
    background-image: radial-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}
.reveal { opacity: 1 !important; transform: none !important; }
#asesoria-rapida {
    min-height: 560px;
}
@media (max-width: 1023px) {
    #asesoria-rapida {
        min-height: auto;
    }
}

@keyframes pulse-white {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(1.05); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}
.btn-pulse { animation: pulse-white 2s infinite; will-change: transform, opacity; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

.sheet-mobile {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
*:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
    border-radius: 4px;
}

.text-contrast-teal {
    color: #065f46 !important;
}

.result-label {
    color: #374151;
}

.text-secondary-contrast {
    color: #4b5563;
}

.nav-link-contrast {
    color: #374151;
    transition: color 0.2s ease;
}
.nav-link-contrast:hover {
    color: #0f766e;
    transform: translateY(-1px);
}

.text-label-accessible {
    color: #374151;
}

.text-muted-accessible {
    color: #4b5563;
}