/* =====================================
   MOBILE PROFESIONAL INMOBICAR - VERSIÓN LIMPIA
   ===================================== */

/* RESET ESPECÍFICO PARA BOTONES PROPIEDADES */
.property-pill-button * {
    box-sizing: border-box !important;
}

.property-pill-button:visited,
.property-pill-button:focus {
    color: inherit !important;
    text-decoration: none !important;
}

/* RESET GLOBAL PARA EVITAR CONFLICTOS */
* {
    box-sizing: border-box;
}

/* SOBRESCRIBIR CSS PRINCIPAL DEL HEADER */
.header {
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
}

/* RESET MOBILE LIMPIO */
@media (max-width: 767px) {
    /* BASE LIMPIA MÓVIL */
    .container {
        padding: 0 20px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    body {
        font-size: 15px;
        line-height: 1.5;
        overflow-x: hidden;
    }
    
    /* HEADER LIMPIO CON ESPACIO PARA LOGO GRANDE */
    .header {
        padding: 18px 0; /* Más padding vertical para acomodar texto grande */
        border-bottom: 1px solid #e8e8e8;
        min-height: 70px; /* Altura mínima para asegurar espacio */
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px; /* Reducido para dar más espacio al logo */
        gap: 8px; /* Espacio mínimo entre logo y menú */
    }
    
    .logo {
        height: 48px; /* MUCHO más grande */
        width: auto;
        max-width: 220px; /* Expandido horizontalmente para que se lea bien */
        object-fit: contain;
        flex-grow: 1; /* Toma todo el espacio disponible */
        max-height: 50px; /* Altura máxima permitida */
    }
    
    .nav-toggle {
        background: none;
        border: none;
        font-size: 22px; /* Ligeramente más grande */
        color: var(--primary-color);
        padding: 8px;
        cursor: pointer;
        flex-shrink: 0; /* No se encoge nunca */
        min-width: 40px; /* Tamaño mínimo garantizado */
        order: 2; /* Siempre al final */
    }
    
    /* LOGO DE TEXTO GRANDE Y LEGIBLE - NO ES ENLACE */
    .logo-text {
        font-family: 'Montserrat', sans-serif;
        font-weight: 800; /* Más pesado */
        font-size: 24px; /* AÚN más grande */
        color: #373737 !important; /* Gris corporativo Inmobicar FORZADO */
        text-decoration: none !important;
        letter-spacing: 1px; /* Más espacio entre letras */
        text-transform: uppercase;
        transition: none; /* Sin transiciones porque no es interactivo */
        line-height: 1;
        white-space: nowrap; /* No se rompe en varias líneas */
        text-shadow: 0 1px 2px rgba(0,0,0,0.1); /* Sutil sombra para destacar */
        display: block; /* Para que tome todo el espacio disponible */
        cursor: default; /* Cursor normal, no de enlace */
    }
    
    /* ASEGURAR QUE NO SE VEA COMO ENLACE EN NINGÚN CASO */
    .logo-text:hover,
    .logo-text:visited,
    .logo-text:active,
    .logo-text:focus {
        color: #373737 !important;
        text-decoration: none !important;
        cursor: default !important;
    }
    
    /* Si usamos imagen, que sea grande */
    .logo {
        filter: none;
        opacity: 1;
        transition: opacity 0.2s ease;
    }
    
    .logo:hover {
        opacity: 0.8;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-links.show {
        display: block;
    }
    
    .nav-link {
        display: block;
        padding: 16px 24px;
        color: var(--primary-color);
        text-decoration: none;
        border-bottom: 1px solid #f5f5f5;
        font-weight: 500;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* TÍTULOS CENTRADOS */
    .section-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 32px;
        color: var(--primary-color);
        font-weight: 600;
    }
    
    /* HERO LIMPIO */
    .hero {
        padding: 40px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    
    /* FORMULARIO LIMPIO */
    .form-container {
        padding: 24px;
        margin: 32px 0 0 0;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cta-button {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 8px;
        min-height: 48px;
    }
    
    /* =============================================
       BOTONES PILL PROPIEDADES - DISEÑO DEFINITIVO
       ============================================= */
    
    .properties-section {
        padding: 40px 0;
        background: #f8f9fa;
    }
    
    .properties-header {
        text-align: center;
        margin-bottom: 28px;
        padding: 0 20px;
    }
    
    .properties-header h2 {
        font-size: 22px;
        color: var(--primary-color);
        margin-bottom: 6px;
        font-weight: 600;
    }
    
    .properties-header p {
        color: var(--text-light);
        font-size: 14px;
        margin: 0;
    }
    
    /* GRID MÓVIL - VERTICAL */
    .property-buttons-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 0 20px;
        max-width: 420px;
        margin: 0 auto;
    }
    
    /* BOTÓN PILL BASE */
    .property-pill-button {
        display: flex !important;
        align-items: center !important;
        background: white !important;
        padding: 18px 22px !important;
        border-radius: 50px !important; /* Totalmente redondeado */
        box-shadow: 0 3px 12px rgba(0,0,0,0.08) !important;
        text-decoration: none !important;
        color: inherit !important;
        border: 2px solid transparent !important;
        transition: all 0.25s ease !important;
        position: relative !important;
        overflow: hidden !important;
        min-height: 64px !important; /* Altura mínima para toque */
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* HOVER EFFECT */
    .property-pill-button:hover,
    .property-pill-button:active {
        box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
        transform: translateY(-2px) !important;
        border-color: #9d9c2a !important;
        text-decoration: none !important;
    }
    
    /* COLORES ESPECÍFICOS GARANTIZADOS */
    .property-pill-button.pisos .pill-icon {
        background: #4285F4 !important; /* Azul Google para edificios */
        color: white !important;
    }
    
    .property-pill-button.casas .pill-icon {
        background: #34A853 !important; /* Verde Google para casas */
        color: white !important;
    }
    
    .property-pill-button.fincas .pill-icon {
        background: #EA4335 !important; /* Rojo Google para terrenos */
        color: white !important;
    }
    
    /* ICONO CIRCULAR */
    .pill-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        font-size: 18px !important;
        flex-shrink: 0 !important;
        margin-right: 16px !important;
        font-weight: 500 !important;
    }
    
    /* TEXTO DEL BOTÓN */
    .pill-text {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .pill-title {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #373737 !important; /* Color corporativo */
        line-height: 1.2 !important;
        margin-bottom: 3px !important;
    }
    
    .pill-text small {
        font-size: 13px !important;
        color: #9d9c2a !important; /* Color corporativo accent */
        font-weight: 500 !important;
        opacity: 0.9 !important;
    }
}

/* =============================================
   DESKTOP - LOGO Y BOTONES OPTIMIZADOS
   ============================================= */
@media (min-width: 768px) {
    /* LOGO TEXTO MÁS GRANDE EN DESKTOP */
    .logo-text {
        font-size: 28px !important; /* MUY grande en desktop */
        letter-spacing: 1.5px !important;
        font-weight: 900 !important; /* Máximo peso en desktop */
        color: #373737 !important; /* SIEMPRE gris corporativo */
    }
    
    .header-content {
        padding: 0 40px !important; /* Más padding en desktop */
        gap: 20px !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .header {
        padding: 20px 0 !important; /* Más espacio vertical en desktop */
    }
    
    /* NAVEGACIÓN DESKTOP */
    .nav-toggle {
        display: none !important; /* Ocultar hamburger en desktop */
    }
    
    .nav-links {
        display: flex !important; /* Mostrar navegación normal */
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        flex-direction: row !important;
        gap: 30px !important;
    }
    
    .nav-link {
        padding: 8px 16px !important;
        border-bottom: none !important;
        color: #373737 !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        transition: color 0.2s ease !important;
    }
    
    .nav-link:hover {
        color: #9d9c2a !important;
    }
    
    .nav-link.active {
        color: #9d9c2a !important;
        font-weight: 600 !important;
    }
    /* GRID HORIZONTAL DESKTOP */
    .property-buttons-grid {
        flex-direction: row !important;
        gap: 18px !important;
        max-width: 100% !important;
        padding: 0 !important;
        justify-content: center !important;
    }
    
    /* BOTÓN DESKTOP - ORIENTACIÓN VERTICAL */
    .property-pill-button {
        flex: 1 !important;
        max-width: 280px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 24px 20px !important;
        min-height: 100px !important;
    }
    
    /* ICONO CENTRADO ARRIBA */
    .pill-icon {
        margin: 0 auto 12px auto !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }
    
    /* TEXTO CENTRADO ABAJO */
    .pill-text {
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .pill-title {
        font-size: 17px !important;
        margin-bottom: 4px !important;
        text-align: center !important;
    }
    
    .pill-text small {
        font-size: 14px !important;
        text-align: center !important;
    }
    
    /* HOVER MÁS SUAVE EN DESKTOP */
    .property-pill-button:hover {
        transform: translateY(-3px) scale(1.02) !important;
    }
    
    /* CONTAINERS PROFESIONALES DESKTOP */
    .container {
        padding: 0 40px !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    /* SECCIONES DESKTOP CON ESPACIO ADECUADO */
    .hero,
    .trust-section,
    .process-section,
    .google-reviews-section,
    .contact-section,
    .properties-section {
        padding: 60px 0 !important;
    }
    
    /* TÍTULOS DESKTOP */
    .section-title {
        font-size: 36px !important;
        margin-bottom: 40px !important;
    }
    
    /* GRIDS DESKTOP */
    .trust-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 30px !important;
    }
    
    .google-reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
        gap: 24px !important;
    }
}
    
    /* FORMULARIO DETALLADO PROFESIONAL */
    .detailed-form-section {
        padding: 48px 0;
        background: #fafafa;
    }
    
    .detailed-form-container {
        padding: 0 20px;
    }
    
    .detailed-form h2 {
        text-align: center;
        font-size: 28px;
        margin-bottom: 32px;
        color: var(--primary-color);
    }
    
    .form-section {
        background: white;
        border-radius: 12px;
        padding: 24px;
        margin-bottom: 24px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        border-left: 4px solid var(--accent-color);
    }
    
    .form-section h3 {
        font-size: 18px;
        color: var(--primary-color);
        margin-bottom: 20px;
        text-align: center;
        font-weight: 600;
    }
    
    .detailed-form-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .checkbox-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .checkbox-item {
        background: #f8f9fa;
        padding: 12px 16px;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
    
    .checkbox-item:hover {
        background: #e9ecef;
    }
    
    /* POLÍTICA DE PRIVACIDAD CENTRADA */
    .privacy-group {
        text-align: center;
        margin: 32px 0;
        padding: 0 20px;
    }
    
    .privacy-group .checkbox-label {
        font-size: 13px;
        line-height: 1.5;
        color: var(--text-light);
        display: inline-block;
        text-align: center;
    }
    
    /* SECCIONES GENERALES */
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .trust-item {
        text-align: center;
        background: white;
        padding: 32px 24px;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    
    .trust-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 16px auto;
    }
    
    /* RESEÑAS GOOGLE LIMPIAS */
    .google-reviews-section {
        padding: 48px 0;
        background: #f8f9fa;
    }
    
    .google-reviews-header {
        text-align: center;
        margin-bottom: 32px;
        padding: 0 20px;
    }
    
    .google-reviews-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }
    
    .google-review {
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    
    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 12px;
    }
    
    .reviewer-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .reviewer-avatar {
        width: 32px;
        height: 32px;
        background: var(--accent-color);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
    }
    
    .reviewer-details {
        display: flex;
        flex-direction: column;
    }
    
    .reviewer-name {
        font-weight: 600;
        font-size: 14px;
        color: var(--primary-color);
    }
    
    .review-time {
        font-size: 12px;
        color: var(--text-light);
    }
    
    .review-rating {
        color: #fbbc04;
        font-size: 14px;
    }
    
    .review-text {
        font-size: 14px;
        line-height: 1.5;
        color: var(--text-dark);
    }
    
    /* FOOTER LIMPIO */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
        padding: 0 20px;
    }
}

    /* PROCESO STEPS COMPACTO - SIN NÚMEROS GIGANTES */
    .process-section {
        padding: 32px 0; /* Reducido de 48px */
        background: white;
    }
    
    .process-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px; /* Muy compacto */
    }
    
    .process-step {
        display: flex;
        align-items: flex-start;
        background: #f8f9fa;
        padding: 16px;
        border-radius: 8px;
        border-left: 4px solid var(--accent-color);
    }
    
    .step-number {
        width: 28px; /* MUY pequeño */
        height: 28px;
        background: var(--accent-color);
        color: white;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
        flex-shrink: 0;
        margin-right: 12px;
    }
    
    .step-content {
        flex: 1;
    }
    
    .step-content h3 {
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 4px 0;
        color: var(--primary-color);
    }
    
    .step-content p {
        font-size: 14px;
        color: var(--text-light);
        margin: 0;
        line-height: 1.4;
    }
    
    /* SECCIONES COMPACTAS - ELIMINAR ESPACIOS VACÍOS */
    .section-title {
        font-size: 22px;
        margin-bottom: 20px; /* Reducido de 32px */
    }
    
    .hero {
        padding: 32px 0; /* Reducido de 40px */
    }
    
    .trust-section,
    .google-reviews-section {
        padding: 32px 0; /* Reducido de 48px */
    }
    
    .trust-item {
        padding: 20px; /* Reducido de 32px */
    }
    
    .trust-icon {
        width: 48px; /* Reducido de 64px */
        height: 48px;
        margin: 0 auto 12px auto; /* Reducido de 16px */
    }
    
    /* FAQ COMPACTO */
    .faq-section {
        padding: 32px 0;
    }
    
    .faq-item {
        margin-bottom: 8px; /* Muy compacto */
    }
    
    .faq-question {
        padding: 16px;
        font-size: 15px;
    }
    
    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 14px;
    }
    
    /* CONTACT COMPACTO */
    .contact-section {
        padding: 32px 0;
    }
    
    .contact-method {
        padding: 16px;
        margin-bottom: 12px;
    }
}

/* TABLET - TRANSICIÓN INTERMEDIA */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 30px !important;
        max-width: 900px !important;
    }
    
    .header-content {
        padding: 0 30px !important;
    }
    
    .logo-text {
        font-size: 26px !important;
    }
    
    .section-title {
        font-size: 32px !important;
    }
}

/* MÓVIL PEQUEÑO */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* HEADER COMPACTO EN MÓVILES PEQUEÑOS */
    .header-content {
        padding: 0 14px;
        gap: 6px;
    }
    
    .logo-text {
        font-size: 22px; /* Sigue siendo grande en móviles pequeños */
        letter-spacing: 0.8px;
    }
    
    .logo {
        height: 38px; /* Si usamos imagen */
        max-width: 140px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    /* MÓVIL PEQUEÑO - BOTONES COMPACTOS */
    .property-pill-button {
        padding: 16px 20px !important;
        min-height: 60px !important;
    }
    
    .pill-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
        margin-right: 14px !important;
    }
    
    .pill-title {
        font-size: 15px !important;
    }
    
    .pill-text small {
        font-size: 12px !important;
    }
    
    .form-section {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .process-step {
        padding: 12px;
    }
    
    .step-content h3 {
        font-size: 15px;
    }
    
    .step-content p {
        font-size: 13px;
    }
    
    /* TIMELINE PROCESO-VENTA COMPACTO */
    .timeline-section {
        padding: 24px 0;
        background: white;
    }
    
    .timeline-container {
        padding: 0;
    }
    
    .timeline-step {
        display: flex;
        align-items: flex-start;
        background: white;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 12px;
        box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    }
    
    .timeline-step .step-number {
        width: 28px !important; /* FORZAR tamaño pequeño */
        height: 28px !important;
        background: var(--accent-color);
        color: white;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px !important;
        font-weight: 600;
        flex-shrink: 0;
        margin-right: 12px;
        margin-top: 2px;
    }
    
    .timeline-step .step-content {
        flex: 1;
        padding: 0;
    }
    
    .timeline-step .step-content h3 {
        font-size: 16px !important;
        font-weight: 600;
        margin: 0 0 8px 0 !important;
        color: var(--primary-color);
    }
    
    .timeline-step .step-details p {
        font-size: 14px !important;
        font-weight: 500;
        color: var(--accent-color);
        margin: 0 0 8px 0 !important;
    }
    
    .timeline-step .step-details ul {
        margin: 0 !important;
        padding-left: 16px !important;
    }
    
    .timeline-step .step-details li {
        font-size: 13px !important;
        color: var(--text-light);
        margin-bottom: 4px !important;
        line-height: 1.3;
    }
    
    /* COMPACTAR TODO - CERO ESPACIOS VACÍOS */
    .detailed-form-section {
        padding: 24px 0 !important;
    }
    
    .premium-features,
    .team-network {
        padding: 24px 0 !important;
    }
    
    .properties-section {
        padding: 24px 0 !important;
    }
    
    .properties-header {
        margin-bottom: 20px !important;
    }
    
    .properties-header h2 {
        font-size: 20px !important;
        margin-bottom: 6px !important;
    }
    
    .properties-header p {
        font-size: 14px !important;
        margin: 0 !important;
    }
    
    /* HERO COMPACTO */
    .hero {
        padding: 20px 0 !important;
    }
    
    .hero-title {
        margin-bottom: 12px !important;
    }
    
    .hero-subtitle {
        margin-bottom: 16px !important;
    }
    
    /* FORMULARIOS COMPACTOS */
    .form-container {
        margin: 20px 0 0 0 !important;
        padding: 20px !important;
    }
    
    .form-header {
        margin-bottom: 16px !important;
    }
    
    .form-header h2 {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }
    
    .form-header p {
        font-size: 13px !important;
        margin: 0 !important;
    }
    
    /* SECCIONES GENERALES SÚPER COMPACTAS */
    .section-title {
        font-size: 20px !important;
        margin-bottom: 16px !important;
        line-height: 1.2 !important;
    }
    
    /* MÁXIMO APROVECHAMIENTO DEL ESPACIO */
    .hero,
    .trust-section,
    .process-section,
    .google-reviews-section,
    .faq-section,
    .contact-section,
    .timeline-section {
        padding: 20px 0 !important; /* Súper compacto */
    }
    
    /* ELIMINAR MARGINS INNECESARIOS */
    .trust-item h3,
    .process-step h3,
    .google-review h3 {
        margin-bottom: 8px !important;
    }
    
    .trust-item p,
    .process-step p {
        margin: 0 !important;
    }
}

/* PANTALLAS MUY GRANDES */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px !important;
        padding: 0 60px !important;
    }
    
    .header-content {
        padding: 0 60px !important;
        max-width: 1400px !important;
    }
    
    .logo-text {
        font-size: 32px !important;
    }
    
    .section-title {
        font-size: 42px !important;
    }
}

/* =============================================
   BOTONES PROPIEDADES HERO - SOLO ESTOS
   FORZAR SOBRE CSS PRINCIPAL CON !IMPORTANT
   ============================================= */

/* SOBRESCRIBIR CSS PRINCIPAL ESPECÍFICAMENTE */

/* ESTILOS ESPECÍFICOS SOLO PARA HERO-PROPERTY-BUTTON */
.hero-property-button {
    display: flex !important;
    align-items: center !important;
    background: white !important;
    padding: 18px 24px !important; /* Más padding para menos aplastamiento */
    border-radius: 50px !important; /* Estilo pill */
    box-shadow: 0 3px 12px rgba(0,0,0,0.08) !important;
    text-decoration: none !important;
    color: #373737 !important;
    border: 2px solid transparent !important;
    transition: all 0.25s ease !important;
    margin-bottom: 12px !important;
    min-height: 65px !important; /* Ligeramente más alto */
    width: 100% !important;
    box-sizing: border-box !important;
}

.hero-property-button:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px) !important;
    border-color: #9d9c2a !important;
    text-decoration: none !important;
    color: #373737 !important;
}

.hero-property-button:visited,
.hero-property-button:active,
.hero-property-button:focus {
    color: #373737 !important;
    text-decoration: none !important;
}

/* ICONOS DE LOS BOTONES HERO */
.hero-property-button .property-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 19px !important;
    flex-shrink: 0 !important;
    margin-right: 18px !important; /* Más espacio del icono */
}

/* COLORES ESPECÍFICOS PARA CADA TIPO */
.hero-property-button.pisos .property-icon {
    background: #4285F4 !important; /* Azul para pisos */
}

.hero-property-button.casas .property-icon {
    background: #34A853 !important; /* Verde para casas */
}

.hero-property-button.fincas .property-icon {
    background: #EA4335 !important; /* Rojo para fincas */
}

/* TEXTO DE LOS BOTONES HERO */
.hero-property-button span {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #373737 !important;
    line-height: 1.2 !important;
}

/* GRID CONTAINER PARA LOS BOTONES HERO - FORZAR SOBRE CSS PRINCIPAL */
.hero-properties-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    /* Anular completamente el grid del CSS principal */
    grid-template-columns: unset !important;
    grid-template-rows: unset !important; 
    grid-gap: unset !important;
    grid-auto-columns: unset !important;
    grid-auto-rows: unset !important;
}

/* RESPONSIVE PARA DESKTOP - SOLO HERO BUTTONS */
@media (min-width: 768px) {
    /* GRID HORIZONTAL EN DESKTOP - FORZAR COMPLETAMENTE */
    .hero-properties-grid {
        flex-direction: row !important;
        gap: 20px !important;
        justify-content: center !important;
        align-items: stretch !important;
    }
    
    .hero-property-button {
        flex-direction: column !important;
        text-align: center !important;
        padding: 24px 20px !important;
        min-height: 100px !important;
        margin: 0 !important;
        flex: 1 !important;
        max-width: 280px !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .hero-property-button .property-icon {
        margin: 0 auto 12px auto !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 22px !important;
    }
    
    .hero-property-button span {
        font-size: 18px !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
    
    .hero-property-button:hover {
        transform: translateY(-3px) scale(1.02) !important;
    }
}

/* =============================================
   BOTÓN SCROLL TO TOP FLOTANTE
   ============================================= */

/* BOTÓN FLOTANTE VOLVER ARRIBA */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* RESPONSIVE - MÁS GRANDE EN MÓVIL */
@media (max-width: 767px) {
    .scroll-to-top {
        width: 52px;
        height: 52px;
        font-size: 20px;
        bottom: 24px;
        left: 24px;
    }
}

/* DESKTOP - MÁS PEQUEÑO Y DISCRETO */
@media (min-width: 768px) {
    .scroll-to-top {
        width: 44px;
        height: 44px;
        font-size: 16px;
        bottom: 30px;
        left: 30px;
        opacity: 0.8;
    }
    
    .scroll-to-top:hover {
        opacity: 1;
    }
}