/* ============================================
   DISEÑO MODERNO - AUXILIADORA KELLY
   ============================================ */

:root {
    --primary-color: #017347;
    --primary-dark: #015a38;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-bg: #1f2937;
    --light-bg: #f9fafb;
    --text-dark: #111827;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
    padding-top: 0; /* El navbar fixed no necesita padding porque el logo tiene margin-top */
}

/* Tamaños de fuente aumentados para mejor legibilidad */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.4;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.5;
}

h6 {
    font-size: 1.1rem;
    line-height: 1.5;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================================
   HEADER MODERNO
   ============================================ */

.topHeader {
    background: white;
    padding: 1.5rem 0;
    box-shadow: none;
    border-bottom: none;
    margin-top: 50px; /* Espacio para el navbar fixed */
}

.topHeader .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.topHeader h1 {
    margin: 0;
}

.topHeader {
    width: 100%;
}

.topHeader .container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.topHeader .row {
    display: flex;
    align-items: center;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.topHeader .row > div {
    box-sizing: border-box;
}

.topHeader h1 {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    display: block !important;
    float: left !important;
    width: auto !important;
}

.topHeader h1 a {
    display: block !important;
    text-align: left !important;
    float: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

.topHeader h1 a img {
    max-width: 100%;
    height: auto;
    max-height: 90px;
    min-height: 60px;
    transition: var(--transition);
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.topHeader .text-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    text-align: right !important;
    float: right;
}

#google_translate_element {
    text-align: right !important;
    float: right !important;
    display: inline-block !important;
}

.topHeader .col-xs-12.col-sm-4.col-md-3 {
    text-align: right !important;
    float: right;
}

.topHeader .col-xs-12.col-sm-8.col-md-9 {
    text-align: left !important;
    float: left;
}

/* ============================================
   NAVEGACIÓN MODERNA
   ============================================ */

.navbar {
    background: var(--primary-color) !important;
    box-shadow: var(--shadow-md);
    border: none;
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.navbar-inverse {
    background-color: var(--primary-color) !important;
}

.navbar-inverse .navbar-nav > li > a {
    color: white !important;
    font-weight: 500;
    padding: 1rem 1.5rem !important;
    transition: var(--transition);
    border-radius: 8px;
    margin: 0 0.25rem;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > .active > a {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    transform: translateY(-2px);
}

.navbar-inverse .navbar-brand {
    color: white !important;
}

.navbar-inverse .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: white;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: white;
}

.dropdown-menu > li > a {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border-radius: 0;
    color: var(--text-dark);
}

.dropdown-menu > li > a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.navbar-text {
    color: white !important;
    font-size: 1.15rem;
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
    line-height: 1.5;
}

.navbar-text .license-title {
    font-weight: 600;
    color: white;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    display: block;
    line-height: 1.4;
}

.navbar-text .license-number {
    font-size: 1.3rem;
    color: white !important;
    display: block;
    line-height: 1.4;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* ============================================
   BÚSQUEDA PRINCIPAL
   ============================================ */

.search-hero {
    background: white;
    padding: 2.5rem 0 3rem;
    margin: 0 !important;
    margin-bottom: 0 !important;
    border-top: none;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: none;
    width: 100%;
}

.search-hero .container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.search-hero p {
    font-family: 'Playfair Display', serif !important;
    font-size: 2rem !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.search-hero p span {
    font-size: 2.3rem !important;
    font-weight: 700;
}

.search-hero .form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem !important;
    font-size: 1.3rem !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: auto;
}

.search-hero .form-control::placeholder {
    font-size: 1.5rem !important;
    color: var(--text-light);
    opacity: 0.7;
}

.search-hero .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 115, 71, 0.1);
    transform: translateY(-2px);
    outline: none;
}

.search-hero .btn-success {
    border-radius: 12px;
    padding: 1rem 2.5rem !important;
    font-weight: 600;
    font-size: 1.4rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--primary-color);
    border: none;
    height: auto;
    line-height: 1.5;
}

.search-hero .btn-success:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   BANNER/CAROUSEL MODERNO
   ============================================ */

.carousel {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.container-fluid .carousel {
    margin: 0 !important;
    padding: 0 !important;
}

.container-fluid[style*="padding: 0"] {
    margin: 0 !important;
    padding: 0 !important;
}

.carousel-inner .item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.carousel-inner {
    margin: 0;
    padding: 0;
}

.carousel-control {
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-control .glyphicon {
    font-size: 20px;
}

/* ============================================
   TARJETAS DE PROPIEDADES MODERNAS
   ============================================ */

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 100%;
    min-height: 100%;
}

.row.properties-row .property-card {
    margin-bottom: 1.5rem;
}

.row.properties-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    align-items: stretch;
}

.row.properties-row .col-xs-12.col-sm-6.col-md-4.col-lg-3,
.row.properties-row .property-col-lg-5,
.row.properties-row .property-col-md-3 {
    padding: 7.5px;
    display: flex;
    flex-direction: column;
}

/* Asegurar que col-md-3 muestre 4 por fila */
@media (min-width: 992px) {
    .row.properties-row .property-col-md-3 {
        width: 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

@media (min-width: 1200px) {
    .row.properties-row .property-col-lg-5 {
        width: 20% !important;
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
}

.property-card-image {
    height: 280px;
}

.property-card-body {
    padding: 2rem;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.property-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--light-bg);
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-card-image img {
    transform: scale(1.1);
}

.property-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.property-card-badge.venta {
    background: var(--accent-color);
}

.property-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.property-card-code {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 3.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card-location {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-card-location::before {
    content: "📍";
    font-size: 1.4rem;
}

.property-card-prices {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.property-price {
    flex: 1;
    min-width: 120px;
}

.property-price-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.property-price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.property-price-value.venta {
    color: var(--accent-color);
}

.property-price-value.alquiler {
    color: var(--secondary-color);
}

/* ============================================
   SECCIONES Y HEADERS
   ============================================ */

.section-header {
    text-align: left;
    margin: 3rem 0 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.8rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.page-header h3,
.page-header h4 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.page-header a {
    color: white;
    text-decoration: none;
}

.page-header h3,
.page-header h4 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

/* ============================================
   BOTONES MODERNOS
   ============================================ */

.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-success {
    background: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--primary-color);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.3rem;
}

/* ============================================
   PANELES Y FORMULARIOS MODERNOS
   ============================================ */

.panel {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.panel-heading {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border: none;
    font-weight: 600;
}

.navbar-text {
    color: var(--text-dark) !important;
    font-size: 1rem;
}

.panel-body {
    padding: 1.5rem;
    background: white;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ============================================
   DETALLE DE PROPIEDAD
   ============================================ */

.property-detail-header {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.property-detail-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.property-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.property-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 500;
}

.property-code-label {
    font-size: 1.2rem !important;
    font-weight: 600;
}

.property-description {
    font-size: 1.3rem !important;
    line-height: 1.8;
    color: var(--text-dark);
}

.property-interest-form {
    padding-left: 2rem;
    padding-right: 2rem;
}

.property-interest-form .panel-body {
    padding: 1.5rem;
}

.property-interest-form .form-group {
    margin-bottom: 1.5rem;
}

.property-interest-form label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.property-interest-form .form-control {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.property-interest-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 115, 71, 0.1);
    outline: none;
}

#propertyMathQuestion {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.property-detail-gallery {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.property-feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: var(--transition);
}

.property-feature:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.property-feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.property-feature-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-feature-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* ============================================
   FOOTER MODERNO
   ============================================ */

.msgfooter {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #111827 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.msgfooter h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.msgfooter h4 .label {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    font-weight: 700;
}

.msgfooter a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.msgfooter a:hover {
    color: white;
    text-decoration: none;
}

.msgfooter .control-label,
.msgfooter .control-label small {
    color: white !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.msgfooter .form-group {
    margin-bottom: 1.25rem;
}

.msgfooter .form-group .col-sm-8 {
    margin-top: 0.5rem;
}

.msgfooter #mathQuestion {
    color: white !important;
}

.footer-license {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-license p {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.footer-license-number {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(1, 115, 71, 0.3) 0%, rgba(1, 115, 71, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    border-left: 3px solid var(--primary-color);
}

footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .property-card-prices {
        flex-direction: column;
    }
    
    .property-price {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* ============================================
   UTILIDADES
   ============================================ */

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-xl);
}

.rounded-modern {
    border-radius: 16px;
}

/* ============================================
   PAGINACIÓN MODERNA
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    background: white;
    color: var(--primary-color);
    font-weight: 500;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
    cursor: default;
}

/* ============================================
   MODALES MODERNOS
   ============================================ */

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: var(--primary-color);
    color: white;
    border-radius: 16px 16px 0 0;
    border: none;
    padding: 1.5rem;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    font-size: 1.5rem;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
}

/* ============================================
   ALERTAS Y LABELS MODERNOS
   ============================================ */

.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.label {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.15rem;
    display: inline-block;
}

/* ============================================
   MEJORAS ADICIONALES
   ============================================ */

.msgheader {
    background: var(--primary-color);
    color: white;
    padding: 1.25rem 0 !important;
    text-align: center;
    margin: 0 !important;
    border-top: none;
    border-bottom: none;
}

.msgheader .numeros {
    margin: 0 !important;
    font-size: 1.5rem !important;
    font-weight: 600;
}

.caption {
    padding: 1rem;
    background: white;
}

.caption h5,
.caption h6 {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.thumbnail {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.thumbnail:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   LOADING STATES
   ============================================ */

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   RESPONSIVE HEADER - MÓVIL
   ============================================ */

/* Ocultar versión móvil en desktop */
@media (min-width: 769px) {
    .header-mobile {
        display: none !important;
    }
    
    .header-desktop {
        display: flex !important;
    }
    
    .search-hero-desktop {
        display: block !important;
    }
}

/* Mostrar versión móvil y ocultar desktop en móvil */
@media (max-width: 768px) {
    .header-desktop {
        display: none !important;
    }
    
    .header-mobile {
        display: block !important;
    }
    
    .search-hero-desktop {
        display: none !important;
    }
    
    .topHeader {
        padding: 1rem 0 !important;
    }
    
    .logo-mobile img {
        max-height: 70px !important;
    }
    
    .frase-mobile p {
        font-size: 1.2rem !important;
        line-height: 1.4;
    }
    
    .frase-mobile p span {
        font-size: 1.4rem !important;
    }
    
    .search-mobile {
        margin-top: 1rem;
    }
    
    .search-mobile .form-control {
        font-size: 1rem !important;
        padding: 0.875rem 1rem !important;
    }
    
    .search-mobile .btn {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    .search-mobile .btn .glyphicon {
        display: inline-block !important;
        font-size: 1.1rem !important;
        margin-right: 0.25rem !important;
        vertical-align: middle !important;
    }
    
    .search-mobile .btn .glyphicon-search:before {
        content: "\e003" !important;
        font-family: 'Glyphicons Halflings' !important;
    }
}

