.slider {
  background: white;
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev {
  right: var(--swiper-navigation-sides-offset, 10px);
  left: auto;
}
.swiper-button-prev, .swiper-rtl .swiper-button-next {
  left: var(--swiper-navigation-sides-offset, 10px);
  right: auto;
}

#copyLink {
  width: 150px;
  border-radius: 10px;
  width: 150px;
  border-radius: 10px;
  height: auto;
  line-height: normal;
}


#ver-telefono {
  margin: 0 auto;
  margin-bottom: 10px;
  display: block;
  border: none;
  padding: 6px 8px;
  border-radius: 5px;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 10px;
  z-index: 2;
}

#viewPhones{
    padding: 7px;
    border-radius: 28px;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider .slide {
  height: 100px;
  width: 250px;
}

.copyLinkTemp {
  color: #000000;
  border: 2px solid #d8a07b;
  background-color: #d8a07b;
  border-radius: 10px;
}

.contentModal {
  background-color: white;
  box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: start;
  max-height: 90%;
  overflow-y: auto;
  margin: 10px;
}

.modal-inmobiliarias_listado {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.modal-inmobiliarias_numero {
  font-size: 15px;
  display: flex;
}

.text {
  color: #77665e;
}

.precio{
    display: inline-block;
    color: #364144;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 500;
    position: relative;
    top: 4px;
}

.inmos_ligadas {
  height: 20px !important;
  width: 20px !important;
  margin-right: 10px !important;
  border-radius: 50% !important;
}

#btn_consultar {
      margin-bottom: 10px;
    background-color: #3A6D8C;
    letter-spacing: 1px;
    font-weight: bold;
    border-radius: 16px;
    color: #FFFF;
    height: auto;
}

.propiedadesSimilar:hover {
  transform: scale(1.02);
}

#titulo {
  line-height: 1.5;
}

#noPropiedadContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#noPropiedad {
  font-size: 40px;
  line-height: 1;
  border-bottom: 3px solid #d8a07b;
  display: block;
}

.propiedadesContainer {
  display: grid;
  grid-template-columns: repeat(2, 45%);
  justify-content: space-evenly;
  row-gap: 30px;
}

@media only screen and (max-width: 500px) {
  .propiedadesContainer {
    grid-template-columns: repeat(1, 80%);
  }
}

.propiedadSimilarContainer {
  min-width: 100%;
}

.propiedadSimilarContainer .swiper {
  height: fit-content;
}


/* ===== Alquileres Temporales ===== */
.temp-rental-options {
  margin-top: 18px;
  margin-bottom: 7px;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.tro-head { margin-bottom: 10px; }
.tro-kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:600; text-transform:uppercase;
  letter-spacing:.03em; color:#8a8f98;
}
.tro-kicker .la{ font-size:16px; }
.tro-title{
  margin:6px 0 0; font-size:18px; line-height:1.3; font-weight:700; color:#2b2f38;
}

.tro-grid{
  display:grid;
  gap:12px;
  min-width:1px;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
}
.tro-grid-toggle.is-collapsed .tro-card--extra { display:none; }

.tro-card{
  border:1px solid #e8eaee; border-radius:14px; padding:14px;
  box-shadow: 0 1px 3px rgba(16,24,40,.06);
  display:flex; flex-direction:column; gap:10px;
  transition: box-shadow .2s ease, transform .2s ease;
  background:#fff;
}
.tro-card:hover{
  box-shadow: 0 6px 18px rgba(16,24,40,.12);
  transform: translateY(-2px);
}

.tro-chip{
  display:inline-flex; align-items:center; gap:6px;
  width:max-content;
  background:#f7f3f0; color:#b06c45;
  padding:6px 10px; border-radius:999px;
  font-weight:600; font-size:12px;
}
.tro-chip .la{ font-size:16px; }

.tro-price-row{ display:flex; flex-direction:column; gap:4px; }
.tro-price{
  font-size:22px; font-weight:800; line-height:1.1; color:#1f2937;
}
.tro-desc{
  font-size:13px; color:#6b7280;
  contain: content;
}

.tro-meta{
  display:flex; flex-wrap:wrap; gap:10px 14px; margin:2px 0 0; padding:0; list-style:none;
}
.tro-meta li{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; color:#828b95;
}
.tro-meta .la{ font-size:16px; color:#94a3b8; }

/* Mobile toggle button (only shown on mobile) */
.tro-toggle-btn{
  display:none;
  cursor:pointer;
  align-items:center; gap:8px;
  padding:10px 12px;
  border:1px solid #e8eaee;
  border-radius:10px;
  font-weight:600; font-size:14px;
  background:#fff;
  margin-top:12px;
}
.tro-toggle-btn .la{ font-size:18px; }

@media (max-width:480px){
  .temp-rental-options{ padding:12px; border-radius:10px; }
  .tro-title{ font-size:16px; }
  .tro-price{ font-size:20px; }
  .tro-toggle-btn{ display:inline-flex; width:100%; justify-content:flex-start; }
}

@media (min-width:481px){
  .tro-toggle-btn{ display:none; }
  .tro-grid-toggle .tro-card--extra{ display:block; }
}

#notificaciones_c{
    height: 17px;
    width: 17px;
}

/* BBVA Modal Styles */
.bbva-modal .modal-content {
    max-width: 560px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.bbva-modal .modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.bbva-modal .modal-header {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.bbva-modal .modal-title {
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.2;
    margin: 0;
}

.bbva-modal .modal-title img {
    height: 28px;
}

.bbva-modal .modal-close {
    color: #333;
    font-size: 1.75rem;
    font-weight: 300;
    opacity: 0.7;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

.bbva-modal .modal-close:hover {
    opacity: 1;
}

.bbva-modal .modal-body {
    padding: 1.5rem;
}

.bbva-modal .form-group {
    margin-bottom: 1.25rem;
}

.bbva-modal .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.bbva-modal .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    line-height: 1.35;
    transition: all 0.2s;
}

.bbva-modal select.form-control,
.bbva-modal .bbva-select {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    background-image: none;
    min-height: 46px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.bbva-modal .form-control:focus {
    border-color: #d8a07b;
    box-shadow: 0 0 0 3px rgba(216, 160, 123, 0.15);
    outline: none;
}

.bbva-modal .form-group small {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.375rem;
}

.bbva-modal .bbva-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.375rem;
    display: none;
}

.bbva-modal .bbva-btn {
    background: linear-gradient(135deg, #004481 0%, #072146 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.bbva-modal .bbva-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 68, 129, 0.35);
}

.bbva-modal .bbva-results {
    display: none;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.bbva-modal .bbva-results h4 {
    color: #004481;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.bbva-modal .bbva-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1rem;
}

.bbva-modal .bbva-result-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.bbva-modal .bbva-result-card .label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 4px;
}

.bbva-modal .bbva-result-card .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #004481;
}

.bbva-modal .bbva-gastos {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.bbva-modal .bbva-gastos .label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.bbva-modal .bbva-gastos .value {
    font-size: 0.9rem;
    color: #333;
}

.bbva-modal .bbva-disclaimer {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.5;
    padding: 0.75rem;
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid #004481;
    margin-bottom: 1rem;
}

.bbva-modal .bbva-disclaimer a {
    color: #004481;
    text-decoration: underline;
}

.bbva-modal .bbva-cta {
    background: linear-gradient(135deg, #004481 0%, #072146 100%);
    color: #fff;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.bbva-modal .bbva-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 68, 129, 0.35);
    color: #fff;
}

@media (max-width: 576px) {
    .bbva-modal {
        padding: 8px;
    }

    .bbva-modal .modal-content {
        max-width: 100%;
        margin: 0;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
    }

    .bbva-modal .modal-header {
        padding: 0.65rem 0.75rem;
    }

    .bbva-modal .modal-title {
        font-size: 0.95rem;
        gap: 3px;
        line-height: 1.15;
    }

    .bbva-modal .modal-title img {
        height: 20px;
    }
    
    .bbva-modal .modal-body {
        padding: 0.65rem 0.75rem 0.75rem;
    }

    .bbva-modal #bbvaFormContent {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 0.4rem;
    }

    .bbva-modal #bbvaFormContent .form-group {
        margin-bottom: 0;
    }

    .bbva-modal .form-group label {
        margin-bottom: 0.15rem;
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .bbva-modal .form-control {
        padding: 0.45rem 0.65rem;
        font-size: 0.9rem;
        line-height: 1.25;
    }

    .bbva-modal select.form-control,
    .bbva-modal .bbva-select {
        min-height: 36px;
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
    }

    .bbva-modal .form-group small {
        margin-top: 0.15rem;
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .bbva-modal .bbva-error {
        margin-top: 0.2rem;
        font-size: 0.72rem;
    }

    .bbva-modal .bbva-btn {
        margin-top: 0;
        padding: 0.65rem 0.9rem;
    }

    .bbva-modal .bbva-results {
        margin-top: 0.8rem;
        padding: 0.8rem;
    }
    
    .bbva-modal .bbva-results-grid {
        grid-template-columns: 1fr;
    }
}

/* Extracted from Propiedad.php inline <style> */
    /* Reset and Base Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: var(--font-sans);
        color: #1a1a2e;
        line-height: 1.6;
        background: #f5f5f7;
        padding-top: 70px;
        min-height: 100vh;
        position: relative;
        overflow-x: hidden;
    }
    
    /* Fondo con grilla gris muy sutil */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
        background-size: 100px 100px;
        pointer-events: none;
        z-index: -1;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    .text-center {
        text-align: center;
    }
    
    /* Agency Badge - Above Gallery */
    .agency-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 16;
        display: none;
        align-items: center;
        gap: 6px;
        background: rgba(0, 0, 0, 0.5);
        padding: 5px 8px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .agency-badge-logo {
        width: 32px;
        height: 32px;
        object-fit: contain;
        border-radius: 4px;
    }

    .agency-badge-name {
        font-size: 10px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95);
        text-transform: uppercase;
        letter-spacing: 0.35px;
    }

    /* Show agency badge only on mobile */
    @media (max-width: 767px) {
        .agency-badge {
            display: flex;
        }
    }
    
    /* Main Container */
    .property-page {
        max-width: 100%;
        overflow-x: hidden;
        position: relative;
        z-index: 1;
    }
    
    /* Gallery Section */
    .gallery-section {
        position: relative;
        background: #000;
    }

    .gallery-stage-layout {
        position: relative;
    }

    .gallery-main-stage {
        position: relative;
    }

    .gallery-preview-rail {
        display: none;
    }

    .gallery-preview-item {
        position: relative;
        width: 100%;
        border: 2px solid transparent;
        border-radius: 12px;
        background: #fff;
        padding: 0;
        overflow: hidden;
        cursor: pointer;
        transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .gallery-preview-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .gallery-preview-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .gallery-preview-item.active {
        border-color: #374151;
        box-shadow: 0 10px 20px rgba(17, 24, 39, 0.28);
    }

    .gallery-preview-item.is-video::before {
        content: "VIDEO";
        position: absolute;
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        border-radius: 999px;
        background: rgba(17, 24, 39, 0.78);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.06em;
        z-index: 2;
    }

    .gallery-preview-play {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.28);
        pointer-events: none;
        z-index: 1;
    }

    .gallery-preview-play i {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        color: #111827;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
    
    .gallery-container {
        position: relative;
        width: 100%;
        height: 60vh;
        max-height: 500px;
        min-height: 300px;
        overflow: hidden;
        background: #000;
        touch-action: manipulation;
    }
    
    /* Image container */
    .gallery-slide-wrapper {
        width: 100%;
        height: 100%;
        display: none !important;
        cursor: pointer;
        background: #000;
        position: relative;
        touch-action: manipulation;
    }
    
    .gallery-slide-wrapper.active {
        display: block !important;
    }
    
    /* Fill the entire container with object-fit: cover */
    .gallery-slide-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        -webkit-user-drag: none;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        pointer-events: none;
    }
    
    .gallery-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        font-size: 20px;
        cursor: pointer;
        z-index: 20;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        transition: all 0.2s ease;
        touch-action: manipulation;
    }
    
    .gallery-nav:hover {
        background: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    
    .gallery-prev {
        left: 16px;
    }
    
    .gallery-next {
        right: 16px;
    }
    
    .gallery-pagination {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        gap: 8px;
        z-index: 20;
    }
    
    .gallery-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        touch-action: manipulation;
    }
    
    .gallery-dot.active {
        background: white;
        transform: scale(1.2);
    }
    
    /* Gallery Overlay Buttons */
    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 15;
    }
    
    .gallery-top-buttons {
        position: absolute;
        top: 10px;
        right: 16px;
        display: flex;
        gap: 10px;
        pointer-events: auto;
    }
    
    .gallery-bottom-buttons {
        position: absolute;
        bottom: 20px;
        right: 16px;
        display: flex;
        gap: 10px;
        pointer-events: auto;
    }
    
    .gallery-action-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        font-size: 20px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        transition: all 0.2s ease;
        pointer-events: auto;
        touch-action: manipulation;
    }
    
    .gallery-action-btn:hover {
        background: white;
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .gallery-favorite-btn,
    .gallery-share-btn {
        color: #111827;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(17, 24, 39, 0.28);
    }

    .gallery-favorite-btn:hover,
    .gallery-share-btn:hover {
        color: #ffffff;
        background: #111827;
        border-color: #111827;
    }

    .gallery-map-btn {
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(15, 118, 110, 0.2);
    }

    .gallery-map-btn:hover {
        background: rgba(240, 253, 250, 1);
    }

    .gallery-map-btn .map-icon-svg {
        width: 26px;
        height: 26px;
        display: block;
    }
    
    /* Video Slide Styles */
    .video-slide {
        position: relative;
        cursor: pointer;
        background: #000;
    }
    
    /* Video Overlay Styles */
    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 5;
        pointer-events: none;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
        background: rgba(55, 65, 81, 0.9);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        pointer-events: auto;
    }
    
    .video-play-btn:hover {
        background: #374151;
        transform: scale(1.1);
    }
    
    .video-label {
        margin-top: 10px;
        color: white;
        font-weight: 600;
        font-size: 14px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        pointer-events: none;
    }
    
    /* Property Header */
    .property-header {
        padding: 24px 20px;
        background: white;
        border-radius: 16px;
        margin: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .property-title {
        font-size: 24px;
        font-weight: 700;
        color: #1a1a2e;
        margin: 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .property-location {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #1a1a2e;
        font-size: 15px;
        font-weight: 500;
        margin: 0;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .property-location i {
        color: #374151;
    }
    
    .price-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .price-card {
        padding: 0;
        background: transparent;
        border-radius: 0;
        border: none;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;
        min-height: auto;
        box-shadow: none;
    }

    /* Divider between stacked prices (tablet fallback, column layout) */
    .price-container-desktop .price-card + .price-card {
        border-top: 1px solid #eef0f3;
        padding-top: 14px;
        margin-top: 2px;
    }

    .price-card .price-label {
        font-size: 12px;
        color: #6b7280;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .price-card .price-value {
        font-size: 27px;
        font-weight: 700;
        color: #1a1a2e;
        line-height: 1.15;
        letter-spacing: -0.01em;
    }

    .price-card .price-period-desc {
        font-size: 12px;
        font-weight: 600;
        color: #6b7280;
        letter-spacing: 0;
    }

    .price-card-temp .temp-periods {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px 16px;
        margin-top: 6px;
    }

    .price-card-temp .temp-period {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 8px;
        padding: 6px 0;
        min-width: 0;
    }

    .price-card-temp .temp-period + .temp-period {
        border-top: 1px solid #eef0f3;
    }

    .price-card-temp .temp-period-price {
        font-size: 14px;
        font-weight: 700;
        color: #1a1a2e;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .price-card-temp .temp-period-desc {
        font-size: 11px;
        font-weight: 500;
        color: #6b7280;
        text-align: right;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .price-card-temp .temp-period-from {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 0 10px;
        margin-bottom: 8px;
        border-bottom: 1px solid #e2e5eb;
    }

    .price-card-temp .temp-period-from .from-label {
        font-size: 12px;
        color: #6b7280;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        flex-shrink: 0;
    }

    .price-card-temp .temp-period-from .from-price {
        font-weight: 700;
        color: #1a1a2e;
        font-size: 23px;
        letter-spacing: -0.01em;
        margin-left: auto;
    }

    .price-card-temp .temp-count-badge {
        grid-column: 1 / -1;
        text-align: center;
        font-size: 10px;
        font-weight: 600;
        color: #9ca3af;
        padding: 2px 0 0;
        letter-spacing: 0.04em;
    }

    .temp-prices-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
        padding: 8px 16px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        background: #fff;
        color: #374151;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: border-color 0.2s, background 0.2s;
    }
    .temp-prices-btn i {
        font-size: 15px;
    }
    .temp-prices-btn:hover {
        border-color: #f59e0b;
        background: #fffbeb;
    }

    .temp-periods-modal__content {
        max-width: 500px !important;
        border-radius: 16px !important;
        overflow: hidden;
    }
    .modal-header.temp-periods-modal__header {
        border-bottom: 1px solid #e5ebf4;
        padding: 18px 22px !important;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }
    .temp-periods-modal__header-left {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }
    .temp-periods-modal__icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e5ebf4;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    }
    .temp-periods-modal__icon i {
        font-size: 18px;
        color: #64748b;
    }
    .temp-periods-modal__title {
        font-size: 18px;
        font-weight: 700;
        color: #111827;
        margin: 0;
        line-height: 1.2;
    }
    .temp-periods-modal__subtitle {
        font-size: 11px;
        font-weight: 500;
        color: #9ca3af;
        display: block;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 340px;
    }
    .temp-periods-modal__body {
        padding: 20px 24px 24px !important;
    }
    .temp-periods-modal__body .temp-periods {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 20px;
        overflow: hidden;
    }
    .temp-periods-modal__body .temp-period {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 8px;
        padding: 10px 10px;
        border-radius: 8px;
        border: 1px solid transparent;
        transition: background 0.15s, border-color 0.15s;
        min-width: 0;
    }
    .temp-periods-modal__body .temp-period:nth-child(even) {
        background: #f8fafc;
    }
    .temp-periods-modal__body .temp-period:hover {
        background: #f1f5f9;
        border-color: #e2e8f0;
    }
    .temp-periods-modal__body .temp-period-price {
        font-size: 15px;
        font-weight: 700;
        color: #111827;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .temp-periods-modal__body .temp-period-desc {
        font-size: 12px;
        font-weight: 500;
        color: #6b7280;
        text-align: right;
        line-height: 1.3;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .temp-periods-modal__body .temp-period-from {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        margin-bottom: 12px;
        background: #fff;
        border-radius: 12px;
        border: 1px solid #e5ebf4;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    }
    .temp-periods-modal__body .temp-period-from .from-label {
        font-size: 11px;
        color: #6b7280;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        flex-shrink: 0;
    }
    .temp-periods-modal__body .temp-period-from .from-price {
        font-weight: 800;
        color: #111827;
        font-size: 22px;
        letter-spacing: -0.01em;
        margin-left: auto;
    }
    .temp-periods-modal__body .temp-count-badge {
        grid-column: 1 / -1;
        text-align: center;
        font-size: 10px;
        font-weight: 600;
        color: #9ca3af;
        padding: 2px 0 0;
        letter-spacing: 0.04em;
    }
    .temp-periods-modal__body .temp-periods-divider {
        grid-column: 1 / -1;
        height: 1px;
        background: #e5ebf4;
        margin: 0 0 4px;
    }
    
    /* Mobile Service Button inside Price Card */
    .price-card-service-btn {
        position: absolute;
        right: 12px;
        top: 12px;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
        transition: all 0.2s ease;
        z-index: 2;
    }
    
    .price-card-service-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
    }
    
    .price-card-service-btn img {
        width: 20px;
        height: 20px;
    }
    
    .price-card-bbva {
        background: #004481;
        border: 2px solid #004481;
    }

    .price-card-bbva img {
        filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
    }

    .price-card-sancor {
        background: #BE0064;
        border: 2px solid #BE0064;
    }
    
    .floating-sancor {
        background: #BE0064;
        border: 2px solid #BE0064;
    }

    /* Features Grid */
    .features-section {
        padding: 20px 16px;
        background: white;
        margin: 16px;
        margin-top: 0;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    }
    
    .section-title {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 20px;
    }
    
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
        gap: 8px;
        justify-items: center;
    }
    
    .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 10px 8px;
        background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
        border-radius: 10px;
        width: 100%;
        text-align: center;
        min-height: 82px;
        justify-content: center;
        border: 1px solid rgba(0,0,0,0.04);
    }
    
    .feature-item.quick-feature {
        background: linear-gradient(135deg, #fff 0%, #f8f6f3 100%);
        border: 1px solid rgba(55, 65, 81, 0.3);
    }
    
    .feature-icon {
        width: 24px;
        height: 24px;
        color: #374151;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .feature-value {
        font-size: 17px;
        font-weight: 700;
        color: #1a1a2e;
        text-align: center;
        width: 100%;
    }
    
    .feature-label {
        font-size: 11px;
        color: #6b7280;
        text-align: center;
        width: 100%;
        font-weight: 500;
    }

    .feature-item.feature-extra {
        display: none;
    }

    .features-show-all-wrap {
        margin-top: 12px;
        display: flex;
        justify-content: center;
    }

    .features-show-all-btn {
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: #fff;
        color: #1a1a2e;
        padding: 8px 14px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .features-show-all-btn:hover {
        background: #f8f9fa;
        border-color: rgba(0, 0, 0, 0.22);
    }

    .features-modal .modal-content {
        max-width: 720px;
    }

    .features-modal {
        z-index: 2147483000 !important;
        align-items: flex-start;
        padding-top: 84px;
        padding-bottom: 20px;
    }

    .features-modal .modal-content {
        position: relative;
        z-index: 2147483001;
        max-height: calc(100vh - 104px);
        overflow-y: auto;
    }

    @media (max-width: 767px) {
        .features-modal {
            padding-top: 72px;
            padding-bottom: 12px;
        }

        .features-modal .modal-content {
            max-height: calc(100vh - 84px);
        }
    }

    .features-modal .modal-body {
        padding: 16px;
    }

    .features-modal-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    /* Services Section - Solo desktop */
    .services-section {
        padding: 20px 16px;
        background: white;
        margin: 16px;
        margin-top: 0;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        display: none; /* Oculto por defecto */
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 16px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        color: white;
        text-decoration: none;
    }
    
    .service-bbva {
        background: #004481;
        border: 2px solid #004481;
        color: #fff;
    }

    .service-bbva img {
        filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
    }
    
    .service-sancor {
        background: #BE0064;
        border: 2px solid #BE0064;
        color: #fff;
    }

    .price-card-sancor img,
    .floating-sancor img,
    .service-sancor img,
    .sancor-modal .modal-title img {
        filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
    }
    
    .service-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .service-btn img {
        height: 24px;
    }
    
    /* Description Section */
    .description-section {
        padding: 20px 16px;
        background: white;
        margin: 16px;
        margin-top: 0;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .description-content {
        color: #555;
        line-height: 1.7;
        font-size: 16px;
    }
    
    .description-content p {
        margin-bottom: 16px;
    }
    
    .description-content p:last-child {
        margin-bottom: 0;
    }

    .map-section {
        padding: 20px 16px;
        background: white;
        margin: 16px;
        margin-top: 0;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .map-section-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
    }

    .map-section-head .section-title {
        margin-bottom: 4px;
    }

    .map-inline-note {
        font-size: 14px;
        color: #6b7280;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .map-inline-open-btn {
        border: 1px solid #d1d5db;
        background: #fff;
        color: #111827;
        border-radius: 999px;
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .map-inline-open-btn:hover {
        border-color: #9ca3af;
        background: #f9fafb;
    }

    .map-inline-shell {
        position: relative;
        height: 300px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        overflow: hidden;
        background: #f8fafc;
    }

    #propertyMapInline {
        width: 100%;
        height: 100%;
    }

    .map-inline-disclaimer {
        margin-top: 10px;
        font-size: 12px;
        color: #6b7280;
    }
    
    /* Contact Form Section */
    .contact-form-section {
        padding: 24px 20px;
        background: white;
        margin: 16px;
        margin-top: 0;
        margin-bottom: 100px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
        border: 1px solid rgba(15, 23, 42, 0.06);
    }

    .contact-form-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 18px;
    }

    .contact-form-head .section-title {
        margin-bottom: 6px;
    }

    .contact-form-intro {
        font-size: 14px;
        color: #4b5563;
        line-height: 1.45;
    }

    .contact-response-pill {
        font-size: 12px;
        font-weight: 700;
        color: #065f46;
        background: #ecfdf5;
        border: 1px solid #a7f3d0;
        border-radius: 999px;
        padding: 6px 10px;
        white-space: nowrap;
    }

    .consultas-form {
        background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
        border: 1px solid rgba(17, 24, 39, 0.08);
        border-radius: 14px;
        padding: 16px;
    }

    .contact-form-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 14px;
    }

    .contact-tab-btn {
        border: 1px solid #d1d5db;
        border-radius: 10px;
        background: #fff;
        color: #374151;
        font-size: 14px;
        font-weight: 700;
        min-height: 40px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .contact-tab-btn.active {
        background: #111827;
        border-color: #111827;
        color: #fff;
        box-shadow: 0 4px 10px rgba(17, 24, 39, 0.2);
    }

    .contact-form-panel {
        display: none;
    }

    .contact-form-panel.active {
        display: block;
    }

    .visit-datetime-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .contact-form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .contact-form-grid .form-group.full {
        grid-column: 1 / -1;
    }
    
    .contact-form-section .form-group {
        margin-bottom: 20px;
    }
    
    .contact-form-section .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        color: #111827;
        font-size: 13px;
    }
    
    .contact-form-section .form-control {
        width: 100%;
        padding: 11px 14px;
        border: 1px solid #d1d5db;
        border-radius: 10px;
        font-size: 15px;
        line-height: 1.35;
        transition: all 0.2s ease;
        background: #fff;
    }
    
    .contact-form-section .form-control:focus {
        outline: none;
        border-color: #374151;
        box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.15);
        background: white;
    }
    
    .contact-form-section textarea.form-control {
        min-height: 108px;
        resize: vertical;
        font-family: inherit;
        line-height: 1.5;
    }

    .contact-form-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .contact-legal {
        font-size: 12px;
        color: #6b7280;
        text-align: center;
    }
    
    .submit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 14px 18px;
        background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(55, 65, 81, 0.3);
    }
    
    .submit-btn:hover {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(55, 65, 81, 0.4);
    }

    .contact-form-section .section-title {
        font-size: 24px;
    }

    .contact-form-section .operation-select {
        appearance: auto;
        -webkit-appearance: menulist;
        -moz-appearance: menulist;
        background-image: none;
        min-height: 46px;
        padding-right: 14px;
        cursor: pointer;
    }

    .contact-form-section .operation-select:hover {
        border-color: #9ca3af;
    }

    .contact-form-section .submit-btn {
        width: auto;
        min-width: 174px;
        padding: 11px 18px;
        border-radius: 999px;
        font-size: 14px;
        letter-spacing: 0.01em;
        box-shadow: 0 2px 8px rgba(55, 65, 81, 0.2);
    }

    .contact-form-section .submit-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(55, 65, 81, 0.26);
    }
    
    /* Form select styles */
    .contact-form-section select.form-control {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 46px;
        line-height: 46px;
        padding-top: 0;
        padding-bottom: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        background-size: 12px;
        padding-right: 40px;
    }

    .operation-radio-group {
        display: none;
    }

    .operation-radio-option {
        position: relative;
        display: block;
        margin: 0;
        cursor: pointer;
    }

    .operation-radio-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .operation-radio-option span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        border: 1px solid #d1d5db;
        border-radius: 10px;
        background: #fff;
        color: #374151;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .operation-radio-option input:checked + span {
        border-color: #374151;
        background: #f3f4f6;
        color: #111827;
        box-shadow: 0 0 0 2px rgba(55, 65, 81, 0.12);
    }
    
    /* Similar Properties */
    .similar-section {
        padding: 24px 20px;
        background: white;
        margin: 16px;
        margin-top: 0;
        margin-bottom: 100px;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    }
    
    .similar-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
        margin-top: 24px;
    }

    .desktop-similar-grid {
        display: none !important;
    }

    .mobile-similar-scroll {
        display: flex !important;
    }

    .similar-carousel-wrap {
        position: relative;
        margin-top: 16px;
        padding: 0 44px;
    }

    .similar-carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border: none;
        border-radius: 50%;
        background: rgba(17, 24, 39, 0.78);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 3;
    }

    .similar-carousel-nav.prev {
        left: 2px;
    }

    .similar-carousel-nav.next {
        right: 2px;
    }
    
    .similar-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        border: 1px solid rgba(0,0,0,0.04);
        cursor: pointer;
    }
    
    .similar-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        border-color: rgba(55, 65, 81, 0.25);
    }

    .similar-card:focus-visible,
    .similar-card-scroll:focus-visible {
        outline: 3px solid rgba(55, 65, 81, 0.25);
        outline-offset: 2px;
    }
    
    .similar-card > img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

    .similar-card:hover > img,
    .similar-card-scroll:hover > img {
        transform: scale(1.04);
    }
    
    .similar-card-content {
        padding: 20px;
    }
    
    .similar-card-title {
        font-size: 16px;
        font-weight: 600;
        color: #1a1a2e;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    .similar-card-location {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #6b7280;
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .similar-card-location i {
        color: #374151;
    }
    
    .similar-card-features {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }
    
    .feature-tag {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        padding: 5px 9px;
        background: #f5f5f7;
        border-radius: 6px;
        color: #6b7280;
        font-weight: 500;
    }

    .feature-tag img {
        width: 11px;
        height: 11px;
        min-width: 11px;
        min-height: 11px;
        object-fit: contain;
        opacity: 0.88;
    }
    
    .similar-card-price {
        font-weight: 700;
        color: #374151;
        margin-bottom: 12px;
        font-size: 15px;
    }

    .similar-empty-state {
        margin-top: 18px;
        padding: 20px;
        border-radius: 12px;
        border: 1px solid rgba(17, 24, 39, 0.1);
        background: #f8fafc;
        text-align: center;
    }

    .similar-empty-state p {
        margin: 0 0 12px;
        color: #4b5563;
    }

    .similar-empty-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
        border-radius: 999px;
        text-decoration: none;
        color: #fff;
        background: #374151;
        font-weight: 600;
        font-size: 14px;
    }

    .similar-card-link {
        display: block;
        text-align: center;
        padding: 12px 20px;
        background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
        color: white;
        text-decoration: none;
        border-radius: 10px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(55, 65, 81, 0.3);
    }
    
    .similar-card-link:hover {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(55, 65, 81, 0.4);
    }
    
    /* Sticky Contact Bar - Mobile only */
    .sticky-contact-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 16px;
        display: flex;
        gap: 12px;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
        z-index: 1000;
        display: none;
    }

    body.has-active-modal .sticky-contact-bar,
    body.has-active-modal .floating-service-icons {
        display: none !important;
    }

    body.has-active-modal header.fix,
    body.has-active-modal #menu-ham,
    body.has-active-modal #menu-ham-bg {
        z-index: 1 !important;
    }
    
    .sticky-contact-btn {
        flex: 1;
        padding: 14px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .sticky-contact-primary {
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        color: white;
    }
    
    .sticky-contact-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    /* Floating Service Icons - Mobile only */
    .floating-service-icons {
        position: fixed;
        bottom: 80px;
        right: 16px;
        display: flex;
        gap: 10px;
        z-index: 999;
        display: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .floating-service-icons.is-scrolling {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .floating-service-btn {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        position: relative;
    }
    
    .floating-service-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    }
    
    .floating-service-btn img {
        width: 26px;
        height: 26px;
    }
    
    .floating-bbva {
        background: #004481;
        border: 2px solid #004481;
    }

    .floating-bbva img {
        filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
    }
    
    .floating-sancor {
        background: #BE0064;
        border: 2px solid #BE0064;
    }
    
    .sancor-modal .modal-header {
        background: #BE0064;
        border-bottom: none;
        border-radius: 10px 10px 0 0;
    }

    .sancor-modal .modal-title {
        color: #fff;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .sancor-modal .modal-close {
        color: #fff;
    }

    .sancor-modal .modal-title img {
        height: 22px;
    }

    .sancor-modal .modal-body {
        padding: 16px 20px 20px;
    }

    .sancor-intro {
        margin: 0 0 14px;
        font-size: 13px;
        color: #5b4a54;
        line-height: 1.45;
    }

    .sancor-step-hidden {
        display: none !important;
    }

    .sancor-simulation-loading {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 18px 0;
        color: #5b4a54;
        font-size: 13px;
    }

    .sancor-simulation-content .contact_form {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .sancor-back-btn {
        width: 100%;
        border: 1px solid #d8c2cf;
        border-radius: 10px;
        background: #fff;
        color: #5b4a54;
        font-size: 14px;
        font-weight: 600;
        padding: 10px 12px;
        margin-top: 10px;
        cursor: pointer;
    }

    .sancor-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sancor-grid .form-group {
        margin-bottom: 0;
    }

    .sancor-grid .full {
        grid-column: 1 / -1;
    }

    .sancor-grid .form-control {
        background: #fff;
        border-color: #d8c2cf;
    }

    .sancor-grid .form-control:focus {
        border-color: #BE0064;
        box-shadow: 0 0 0 3px rgba(190, 0, 100, 0.14);
    }

    .sancor-note {
        background: #faf5f8;
        border: 1px solid rgba(190, 0, 100, 0.2);
        border-radius: 10px;
        padding: 12px;
        color: #5b4a54;
        font-size: 13px;
        line-height: 1.4;
        margin-top: 12px;
    }

    .sancor-submit-btn {
        width: 100%;
        border: none;
        border-radius: 10px;
        background: #BE0064;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        padding: 12px 14px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .sancor-submit-btn:hover {
        background: #980050;
    }
    
    /* Modals */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.9);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 12000;
        padding: 20px;
    }
    
    .modal-overlay.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    
    .modal-content {
        background: white;
        border-radius: 12px;
        width: 100%;
        max-width: 400px;
        max-height: 90vh;
        overflow-y: auto;
        animation: slideUp 0.3s ease;
    }
    
    .modal-header {
        padding: 20px 24px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .modal-title {
        font-size: 20px;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .modal-close {
        background: none;
        border: none;
        font-size: 24px;
        color: #666;
        cursor: pointer;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.2s;
    }
    
    .modal-close:hover {
        background: #f8f9fa;
    }
    
    .modal-body {
        padding: 0;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(30px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* Video Modal - Más grande */
    .video-modal .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        width: 95vw;
        height: 95vh;
        padding: 0;
        background: #000;
        border-radius: 0;
    }
    
    .video-modal .modal-header {
        background: rgba(0,0,0,0.8);
        border-bottom: 1px solid #333;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10;
    }
    
    .video-modal .modal-title {
        color: white;
    }
    
    .video-modal .modal-close {
        color: white;
    }
    
    .video-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 300px;
    }
    
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
    
    /* Contact Options Modal */
    .contact-modal-subtitle {
        text-align: center;
        color: #666;
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.4;
        padding: 0 16px;
    }
    
    .contact-options {
        display: grid;
        gap: 16px;
        justify-items: center;
    }
    
    /* Dynamic grid based on number of options */
    .contact-options[data-count="1"] {
        grid-template-columns: 1fr;
    }
    
    .contact-options[data-count="2"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-options[data-count="3"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-options[data-count="3"] .contact-option:nth-child(3) {
        grid-column: 1 / -1;
        width: 50%;
        margin: 0 auto;
    }
    
    .contact-options[data-count="4"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px;
        border: 1px solid #eee;
        border-radius: 12px;
        text-decoration: none;
        color: #333;
        transition: all 0.2s ease;
        background: white;
        width: 100%;
        min-height: 140px;
        justify-content: center;
        text-align: center;
    }
    
    .contact-option:hover {
        border-color: #374151;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    
    .contact-option-icon {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
        flex-shrink: 0;
    }
    
    .contact-option-text {
        font-weight: 500;
        font-size: 14px;
        line-height: 1.3;
    }
    
    .contact-option-arrow {
        display: none;
    }
    
    /* Icon colors */
    .contact-option-icon.whatsapp {
        background: #25D366;
    }
    
    .contact-option-icon.phone {
        background: #4CAF50;
    }
    
    .contact-option-icon.email {
        background: #374151;
    }
    
    /* Map Modal */
    .map-modal .modal-content {
        max-width: 800px;
        height: 80vh;
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    
    .map-modal .modal-header {
        flex-shrink: 0;
    }
    
    .map-container {
        flex: 1;
        position: relative;
        min-height: 0;
        height: 100%;
    }
    
    #propertyMap {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    /* Map search loading indicator */
    .map-loading {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #666;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.9);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* Share Modal */
    .share-modal .modal-content {
        max-width: 400px;
        overflow: hidden;
    }
    
    .share-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        justify-items: center;
        align-items: center;
        padding: 0 24px 24px;
    }
    
    .share-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 16px;
        border: none;
        background: none;
        cursor: pointer;
        transition: all 0.2s ease;
        border-radius: 8px;
        width: 100%;
        min-height: 100px;
        justify-content: center;
    }
    
    .share-option:hover {
        background: #f8f9fa;
    }
    
    .share-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
        flex-shrink: 0;
    }
    
    .share-label {
        font-size: 12px;
        color: #666;
        text-align: center;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Gallery Lightbox Modal */
    .gallery-lightbox-modal .modal-content {
        max-width: 90vw;
        max-height: 90vh;
        background: rgba(0,0,0,0.95);
        border-radius: 0;
        touch-action: none;
        overscroll-behavior: contain;
    }

    .gallery-lightbox {
        position: relative;
        width: 100%;
        height: 70vh;
        touch-action: none;
    }

    .gallery-lightbox-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        align-items: center;
        justify-content: center;
        touch-action: none;
    }
    
    .gallery-lightbox-slide.active {
        display: flex;
    }
    
    .gallery-lightbox-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        touch-action: none;
        -webkit-user-drag: none;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        pointer-events: none;
    }
    
    .gallery-lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 10;
        touch-action: manipulation;
    }
    
    .gallery-lightbox-nav:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(1.1);
    }
    
    .gallery-lightbox-prev {
        left: 20px;
    }
    
    .gallery-lightbox-next {
        right: 20px;
    }
    
    .gallery-lightbox-counter {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        text-align: center;
        color: white;
        font-size: 14px;
        z-index: 10;
    }
    
    .gallery-lightbox-thumbnails {
        display: flex;
        gap: 10px;
        padding: 20px;
        overflow-x: auto;
        background: rgba(0,0,0,0.8);
        touch-action: pan-x;
    }

    .gallery-lightbox-thumbnail {
        width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
        cursor: pointer;
        opacity: 0.6;
        transition: all 0.2s ease;
        border: 2px solid transparent;
        touch-action: manipulation;
    }
    
    .gallery-lightbox-thumbnail:hover,
    .gallery-lightbox-thumbnail.active {
        opacity: 1;
        border-color: #374151;
    }
    
    /* Service Modals */
    .service-modal .modal-content {
        max-width: 500px;
    }
    
    /* Desktop Styles */
    @media (min-width: 1024px) {
        body {
            padding-top: 80px;
        }
        
        .gallery-section {
            margin: 0;
            margin-bottom: 0;
            padding: 8px;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid rgba(15, 23, 42, 0.08);
            background: #fff;
            box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
        }

        .gallery-stage-layout.has-preview-rail {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 184px;
            gap: 8px;
            align-items: start;
        }

        .gallery-stage-layout.has-preview-rail .gallery-preview-rail {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .gallery-stage-layout.has-preview-rail .gallery-preview-item {
            height: calc((500px - 24px) / 4);
        }
        
        .gallery-overlay {
            top: 20px;
        }
        
        .property-page {
            width: 100%;
            max-width: 1640px;
            margin: 0 auto;
            padding: 20px clamp(22px, 4vw, 72px) 28px;
            overflow-x: visible;
            overflow-y: visible;
        }
        
        .property-main {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
            gap: clamp(20px, 2vw, 40px);
            margin-top: 20px;
            align-items: start;
        }
        
        .property-left {
            grid-column: 1;
            min-width: 0;
        }
        
        .property-sidebar {
            grid-column: 2;
            position: sticky;
            position: -webkit-sticky;
            top: 90px;
            height: calc(100vh - 130px);
            z-index: 100;
        }
        
        .sidebar-card {
            background: white;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            margin-bottom: 0;
            flex-shrink: 0;
            border: 1px solid rgba(0,0,0,0.05);
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }
        
        /* Mostrar servicios en desktop */
        .services-section {
            display: block !important;
            margin: 0;
            margin-top: 20px;
        }
        
        /* Hide mobile sections on desktop */
        .sticky-contact-bar {
            display: none !important;
        }
        
        .floating-service-icons {
            display: none !important;
        }
        
        /* Hide price card service buttons on desktop */
        .price-card-service-btn {
            display: none !important;
        }
        
        .price-value {
            padding-right: 0;
        }
        
        /* Price container side by side on desktop */
        .price-container-desktop {
            display: flex;
            flex-direction: row;
            align-items: stretch;
            padding-bottom: 20px;
            margin-bottom: 4px;
            border-bottom: 1px solid #eef0f3;
        }

        .price-container-desktop .price-card {
            flex: 1;
            padding: 0 28px;
        }

        .price-container-desktop .price-card:first-child {
            padding-left: 0;
        }

        .price-container-desktop .price-card + .price-card {
            border-left: 1px solid #e2e5eb;
            border-top: none;
            padding-top: 0;
            margin-top: 0;
        }

        /* Desktop Gallery */
        .gallery-container {
            height: 500px;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .gallery-slide-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
        
        /* Desktop Features Grid */
        .features-grid {
            grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
            gap: 10px;
        }
        
        /* Desktop sections sin márgenes laterales */
        .property-header,
        .features-section,
        .services-section,
        .description-section,
        .map-section,
        .contact-form-section,
        .similar-section {
            margin-left: 0;
            margin-right: 0;
        }

        .map-inline-shell {
            height: 340px;
        }
        
        /* Desktop Similar Properties */
        .similar-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .sidebar-logo {
            text-align: center;
            margin-bottom: 16px;
        }

        .sidebar-logo img {
            max-width: 100%;
            object-fit: contain;
        }

        .sidebar-primary-lead {
            border: 1px solid #e5edf6;
            border-radius: 14px;
            padding: 18px 16px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
            margin-bottom: 14px;
        }

        .sidebar-store-heading {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0 0 14px;
            color: #6b7280;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.4px;
            text-transform: uppercase;
        }

        .sidebar-store-heading i {
            font-size: 14px;
            color: #9ca3af;
        }

        .sidebar-contact-info {
            text-align: center;
            margin-bottom: 16px;
            min-height: 112px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 8px;
        }

        .sidebar-contact-info h4 {
            font-size: 22px;
            color: #1f2937;
            margin-bottom: 4px;
            line-height: 1.2;
            font-weight: 700;
        }

        .sidebar-contact-name {
            color: #4b5563;
            font-size: 15px;
            margin: 0;
        }

        .sidebar-contact-phone {
            color: #111827;
            font-size: 17px;
            font-weight: 700;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .sidebar-store-meta {
            border: 1px solid #dbe4f0;
            border-radius: 10px;
            background: #fff;
            padding: 10px 12px;
            margin-top: 12px;
        }

        .sidebar-meta-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .sidebar-meta-row + .sidebar-meta-row {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px dashed #e5e7eb;
        }

        .sidebar-meta-label {
            color: #6b7280;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.25px;
            text-transform: uppercase;
        }

        .sidebar-meta-value {
            color: #111827;
            font-size: 16px;
            font-weight: 800;
            text-align: right;
        }

        .sidebar-contact-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 0;
        }

        .sidebar-action-btn {
            min-height: 56px;
            padding: 13px 22px;
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.2s ease;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow: 0 8px 18px rgba(18, 140, 126, 0.24);
            letter-spacing: 0.1px;
        }

        .sidebar-action-btn i {
            font-size: 20px;
        }

        .sidebar-action-btn:hover {
            background: linear-gradient(135deg, #30e271 0%, #15b19f 100%);
            transform: translateY(-1px);
            box-shadow: 0 12px 24px rgba(18, 140, 126, 0.3);
        }
        
        /* Services in Sidebar */
        .sidebar-services {
            margin-top: 0;
            padding: 16px;
            border: 1px solid #dbe4f0;
            border-radius: 14px;
            background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
        }

        .sidebar-services .section-title {
            margin-bottom: 10px;
            font-size: 18px;
        }

        .sidebar-services-intro {
            margin: 0;
            color: #4b5563;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.25px;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .sidebar-service-row {
            margin-bottom: 12px;
        }

        .sidebar-service-row .sidebar-services-intro {
            margin: 0 0 6px 0;
        }

        .sidebar-service-row .service-btn {
            width: 100%;
        }

        .sidebar-property-code {
            margin-top: 10px;
            padding: 6px 0;
            border: none;
            background: transparent;
        }

        .sidebar-property-code .sidebar-meta-row {
            justify-content: flex-start;
            gap: 6px;
        }

        .sidebar-property-code .sidebar-meta-label {
            color: #94a3b8;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.2px;
        }

        .sidebar-property-code .sidebar-meta-value {
            color: #64748b;
            font-size: 12px;
            font-weight: 600;
            text-align: left;
        }
        
        .sidebar-services .service-btn {
            width: 100%;
            min-height: 50px;
            padding: 10px 14px;
            gap: 8px;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.2;
            justify-content: space-between;
            box-shadow: none;
            opacity: 1;
            border-width: 1px;
            border-style: solid;
        }

        .sidebar-services .service-btn::after {
            content: ">";
            font-size: 14px;
            font-weight: 700;
            opacity: 0.7;
        }

        .sidebar-services .service-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
            opacity: 1;
        }

        .sidebar-services .service-sancor-logo-btn {
            padding: 0 14px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sidebar-services .service-sancor-logo-btn::after {
            display: none !important;
        }

        .sidebar-services .service-sancor-logo-btn img {
            height: 32px;
            width: auto;
        }
        
        /* Desktop Modals */
        .share-modal .modal-content {
            max-width: 500px;
        }
        
        .share-options {
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            padding: 0 32px 32px;
        }
        
        .share-option {
            min-height: 110px;
        }
        
        /* Video Modal - Desktop */
        .video-modal .modal-content {
            max-width: 90vw;
            max-height: 90vh;
            width: 90vw;
            height: 90vh;
        }
        
        /* Contact Modal for desktop */
        .contact-options[data-count="3"] .contact-option:nth-child(3) {
            width: 100%;
            max-width: 300px;
        }
        
        /* Map Modal improvements for desktop */
        .map-modal .modal-content {
            max-width: 900px;
            height: 70vh;
        }
        
        /* Contact Modal for desktop */
        .contact-modal .modal-content {
            max-width: 500px;
        }
        
        /* Service Modals for desktop */
        .service-modal .modal-content {
            max-width: 600px;
        }
    }
    
    /* Tablet Styles */
    @media (min-width: 768px) and (max-width: 1023px) {
        /* Features Grid for tablet */
        .features-grid {
            grid-template-columns: repeat(auto-fit, minmax(114px, 1fr));
            gap: 10px;
        }
        
        .similar-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        /* Show sticky contact bar on tablet */
        .sticky-contact-bar {
            display: flex;
        }
        
        /* Show floating icons on tablet - LADO A LADO */
        .floating-service-icons {
            display: flex;
            flex-direction: row;
            gap: 10px;
        }
        
        /* Hide services section on tablet */
        .services-section {
            display: none !important;
        }
        
        /* Hide sidebar on tablet */
        .property-sidebar {
            display: none !important;
        }
        
        /* Adjust gallery for tablet */
        .gallery-container {
            height: 45vh;
            max-height: 380px;
        }
        
        /* Video Modal - Tablet */
        .video-modal .modal-content {
            max-width: 95vw;
            max-height: 95vh;
            width: 95vw;
            height: 80vh;
        }
        
        /* Tablet Share Modal */
        .share-modal .modal-content {
            max-width: 450px;
        }
        
        .share-options {
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }
        
        /* Contact Modal for tablet */
        .contact-modal .modal-content {
            max-width: 450px;
        }
        
        /* Show price card service buttons on tablet */
        .price-card-service-btn {
            display: flex !important;
        }

        /* Hide Sancor button on tablet */
        .price-card-sancor {
            display: none !important;
        }
    }
    
    /* Mobile-specific styles */
    @media (max-width: 767px) {
        .desktop-similar-grid {
            display: none !important;
        }

        .mobile-similar-scroll {
            display: flex;
        }

        /* Show sticky contact bar on mobile */
        .sticky-contact-bar {
            display: flex;
        }

        /* Hide services section on mobile */
        .services-section {
            display: none !important;
        }

        /* Hide desktop sidebar sections on mobile */
        .property-sidebar {
            display: none !important;
        }

        /* Mobile gallery adjustments */
        .gallery-container {
            height: 35vh;
            max-height: 280px;
            margin: 0;
            border-radius: 0;
        }

        /* Video Modal - Mobile */
        .video-modal .modal-content {
            max-width: 100vw;
            max-height: 100vh;
            width: 100vw;
            height: 100vh;
            border-radius: 0;
        }

        /* Show price card service buttons on mobile */
        .price-card-service-btn {
            display: flex !important;
        }

        /* Mobile Contact Modal - Switch to 1 column on very small screens */
        @media (max-width: 400px) {
            .contact-options[data-count="2"],
            .contact-options[data-count="3"],
            .contact-options[data-count="4"] {
                grid-template-columns: 1fr;
            }

            .contact-options[data-count="3"] .contact-option:nth-child(3) {
                width: 100%;
                max-width: none;
            }

            .contact-option {
                min-height: 120px;
                padding: 16px;
            }
        }

        /* Mobile Share Modal */
        .share-modal .modal-content {
            max-width: 350px;
        }

        .share-options {
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            padding: 16px;
            justify-items: center;
        }

        .share-option {
            width: 90px;
            height: 90px;
            padding: 12px;
        }

        .share-icon {
            width: 45px;
            height: 45px;
            font-size: 20px;
        }

        .share-label {
            font-size: 11px;
        }

        /* Very small screens */
        @media (max-width: 360px) {
            .share-options {
                grid-template-columns: repeat(2, 1fr);
            }

            .share-option {
                width: 100px;
                height: 100px;
            }

            .floating-service-icons {
                flex-direction: column;
                gap: 8px;
            }
        }
    }

    /* Mobile Sancor Simulator Card */
    .mobile-sancor-simulator {
        display: none;
    }

    .mobile-bbva-simulator {
        display: none;
    }

    @media (max-width: 1023px) {
        .mobile-sancor-simulator {
            display: block;
            margin-top: 24px;
        }

        .mobile-bbva-simulator {
            display: block;
            margin-top: 24px;
        }

        .mobile-sancor-card {
            background: linear-gradient(135deg, #fef5f9 0%, #fff 100%);
            border: 1px solid rgba(190, 0, 100, 0.2);
            border-radius: 14px;
            padding: 20px;
            margin: 15px;
        }

        .mobile-bbva-card {
            background: linear-gradient(135deg, #f2f7ff 0%, #fff 100%);
            border: 1px solid rgba(0, 68, 129, 0.18);
            border-radius: 14px;
            padding: 20px;
            margin: 15px;
        }

        .mobile-sancor-header {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #BE0064;
            margin: -20px -20px 10px;
            padding: 12px 16px;
            border-radius: 14px 14px 0 0;
        }

        .mobile-bbva-header {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #004481;
            margin: -20px -20px 10px;
            padding: 12px 16px;
            border-radius: 14px 14px 0 0;
        }

        .mobile-sancor-header img {
            height: 28px;
            width: auto;
            filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
        }

        .mobile-bbva-header img {
            height: 28px;
            width: auto;
            filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
        }

        .mobile-sancor-header span {
            font-weight: 700;
            font-size: 16px;
            color: #fff;
        }

        .mobile-bbva-header span {
            font-weight: 700;
            font-size: 16px;
            color: #fff;
        }

        .mobile-sancor-description {
            margin: 0 0 14px;
            font-size: 13px;
            color: #5b4a54;
            line-height: 1.45;
        }

        .mobile-bbva-description {
            margin: 0 0 14px;
            font-size: 13px;
            color: #415469;
            line-height: 1.45;
        }

        .mobile-sancor-btn {
            width: 100%;
            border: none;
            border-radius: 10px;
            background: #BE0064;
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            padding: 12px 14px;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .mobile-bbva-btn {
            width: 100%;
            border: none;
            border-radius: 10px;
            background: #004481;
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            padding: 12px 14px;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .mobile-sancor-btn:hover {
            background: #980050;
        }

        .mobile-bbva-btn:hover {
            background: #003767;
        }
    }

    /* Utility Classes */
    .hidden {
        display: none !important;
    }
    
    .visible {
        display: block !important;
    }
    
    /* Loading States */
    .loading {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #333;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* Lightbox Styles */
    .lightbox-open {
        overflow: hidden;
    }
    
    /* Features dynamic sizing calculations */
    .features-section[data-feature-count="1"] .features-grid {
        grid-template-columns: 1fr;
        max-width: 160px;
        margin: 0 auto;
    }
    
    .features-section[data-feature-count="2"] .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-section[data-feature-count="3"] .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-section[data-feature-count="3"] .feature-item:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 160px;
        margin: 0 auto;
    }
    
    .features-section[data-feature-count="4"] .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-section[data-feature-count="5"] .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-section[data-feature-count="6"] .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-section[data-feature-count="7"] .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-section[data-feature-count="8"] .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-section[data-feature-count="9"] .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-section[data-feature-count="10"] .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-section[data-feature-count="11"] .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-section[data-feature-count="12"] .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* For larger counts, use auto-fit */
    .features-section[data-feature-count="13"] .features-grid,
    .features-section[data-feature-count="14"] .features-grid,
    .features-section[data-feature-count="15"] .features-grid,
    .features-section[data-feature-count="16"] .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    }

    /* Similar Properties - Horizontal Scroll */
    .similar-scroll-container {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .similar-scroll-container::-webkit-scrollbar {
        height: 6px;
    }

    .similar-scroll-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .similar-scroll-container::-webkit-scrollbar-thumb {
        background: #374151;
        border-radius: 3px;
    }

    .similar-card-scroll {
        flex: 0 0 300px;
        scroll-snap-align: start;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.2s ease;
        cursor: pointer;
    }

    .similar-card-scroll:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }

    .similar-card-scroll > img {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

    .similar-card-scroll .similar-card-content {
        padding: 12px;
    }

    .similar-card-scroll .similar-card-title {
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .similar-card-scroll .similar-card-location {
        display: flex;
        align-items: center;
        gap: 4px;
        color: #666;
        font-size: 12px;
        margin-bottom: 8px;
    }

    .similar-card-scroll .similar-card-features {
        display: flex;
        gap: 6px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    .similar-card-scroll .feature-tag {
        font-size: 11px;
        padding: 3px 6px;
        background: #f8f9fa;
        border-radius: 4px;
        color: #666;
    }

    .similar-card-scroll .similar-card-price {
        font-weight: 600;
        color: #374151;
        font-size: 14px;
        margin-bottom: 10px;
    }

    @media (max-width: 767px) {
        .similar-carousel-wrap {
            padding: 0;
        }

        .similar-carousel-nav {
            display: none;
        }

        .similar-card-scroll {
            flex: 0 0 84%;
        }
    }

    /* Mobile Dropdown Styles */
    .contact-form-section select.form-control.operation-select {
        appearance: auto;
        -webkit-appearance: menulist;
        -moz-appearance: menulist;
        background-image: none;
        min-height: 46px;
        padding-right: 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        padding: 12px 14px;
        background-color: #f8f9fa;
    }

    .contact-form-section select.form-control.operation-select:focus {
        outline: none;
        border-color: #374151;
        box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
        background-color: white;
    }

    /* Quick Features - Highlight Primary */
    .feature-item.quick-feature {
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        border: 1px solid #e0e0e0;
    }

    .feature-item.quick-feature .feature-icon {
        width: 24px;
        height: 24px;
    }

    .feature-item.quick-feature .feature-value {
        font-size: 16px;
        font-weight: 700;
        color: #2c3e50;
    }

    .feature-item.quick-feature .feature-label {
        font-size: 11px;
    }

    /* Price in Header - Mobile */
    .price-header-mobile {
        display: none;
    }

    @media (max-width: 767px) {
        .price-header-mobile {
            display: flex;
            flex-direction: column;
            gap: 0;
            padding: 0;
            background: transparent;
            border-radius: 0;
            margin-bottom: 12px;
            border: none;
            border-bottom: 1px solid #eef0f3;
        }

        .price-header-mobile .price-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
            padding: 12px 0;
            border: none;
            border-top: 1px solid #eef0f3;
            background: transparent;
            min-height: auto;
            box-shadow: none;
        }

        .price-header-mobile .price-item:first-child {
            border-top: none;
            padding-top: 0;
        }

        .price-header-mobile .price-label {
            font-size: 11px;
            color: #6b7280;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .price-header-mobile .price-value {
            font-size: 20px;
            font-weight: 700;
            color: #1a1a2e;
            line-height: 1.2;
        }

        .price-header-mobile .price-period-desc {
            font-size: 11px;
            font-weight: 600;
            color: #6b7280;
            display: block;
        }

        .price-item-temp .temp-periods {
            width: 100%;
        }

        .price-item-temp .temp-period {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 6px;
            padding: 5px 6px;
        }

        .price-item-temp .temp-period + .temp-period {
            border-top: 1px solid #f0f2f5;
        }

        .price-item-temp .temp-period-price {
            font-size: 13px;
            font-weight: 700;
            color: #1a1a2e;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .price-item-temp .temp-period-desc {
            font-size: 11px;
            font-weight: 500;
            color: #6b7280;
            text-align: right;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
        }

        .price-item-temp .temp-period-from {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0 0 8px;
            margin-bottom: 8px;
            border-bottom: 1px solid #e2e5eb;
        }

        .price-item-temp .temp-period-from .from-label {
            font-size: 11px;
            color: #6b7280;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            flex-shrink: 0;
        }

        .price-item-temp .temp-period-from .from-price {
            font-weight: 700;
            color: #1a1a2e;
            font-size: 18px;
            letter-spacing: -0.01em;
            margin-left: auto;
        }

        .price-item-temp .temp-count-badge {
            text-align: center;
            font-size: 10px;
            font-weight: 600;
            color: #9ca3af;
            padding: 2px 0 0;
            letter-spacing: 0.04em;
        }

        .temp-periods-modal__body {
            padding: 16px 16px 20px !important;
        }
        .temp-periods-modal__body .temp-periods {
            grid-template-columns: 1fr;
            gap: 4px 0;
        }
        .temp-periods-modal__body .temp-period {
            padding: 8px 10px;
        }
        .temp-periods-modal__body .temp-period-price {
            font-size: 14px;
        }
        .temp-periods-modal__body .temp-period-desc {
            font-size: 11px;
        }

        .map-section-head {
            flex-direction: column;
            align-items: flex-start;
        }

        .map-inline-open-btn {
            width: 100%;
            justify-content: center;
        }

        .map-inline-shell {
            height: 250px;
        }

        .property-header {
            padding: 14px 14px 12px;
            margin: 12px;
            gap: 8px;
        }

        .property-title {
            font-size: 18px;
            line-height: 1.25;
            display: block;
            -webkit-line-clamp: unset;
            -webkit-box-orient: initial;
            overflow: visible;
        }

        .property-location {
            font-size: 14px;
            max-width: 100%;
        }

        .contact-form-section {
            padding: 14px 12px;
        }

        .contact-form-head {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 10px;
        }

        .contact-form-section .section-title {
            font-size: 20px;
        }

        .contact-form-intro {
            font-size: 13px;
        }

        .consultas-form {
            padding: 10px;
        }

        .contact-form-grid {
            grid-template-columns: 1fr;
            gap: 8px;
        }

        .contact-form-section .form-group {
            margin-bottom: 8px;
        }

        .contact-form-tabs {
            margin-bottom: 10px;
        }

        .contact-tab-btn {
            font-size: 13px;
            min-height: 38px;
        }

        .contact-form-section .form-group label {
            margin-bottom: 4px;
        }

        .contact-form-section .form-control {
            padding: 9px 12px;
        }

        .contact-form-section select.form-control {
            height: 42px;
            line-height: 42px;
        }

        .contact-form-section .operation-select {
            min-height: 42px;
            display: none;
        }

        .contact-form-section .operation-radio-group {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
            margin-top: 2px;
        }

        .visit-datetime-grid {
            grid-template-columns: 1fr;
            gap: 8px;
        }

        .contact-form-section .operation-radio-group[data-count="1"] {
            grid-template-columns: 1fr;
        }

        .contact-form-section .operation-radio-option span {
            min-height: 40px;
            font-size: 13px;
        }

        .contact-form-section textarea.form-control {
            min-height: 88px;
        }

        .sancor-grid {
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .contact-form-section .submit-btn {
            width: 100%;
            min-width: 0;
            justify-content: center;
        }

        .price-container-desktop {
            display: none;
        }

        /* Smaller carousel buttons on mobile */
        .gallery-nav {
            width: 36px;
            height: 36px;
            font-size: 16px;
        }

        .gallery-action-btn {
            width: 38px;
            height: 38px;
            font-size: 18px;
        }

        .gallery-map-btn .map-icon-svg {
            width: 24px;
            height: 24px;
        }

        .gallery-top-buttons {
            top: 10px;
            right: 12px;
            gap: 8px;
        }

        .gallery-bottom-buttons {
            bottom: 12px;
            right: 12px;
            gap: 8px;
        }

        .video-play-btn {
            width: 50px;
            height: 50px;
            font-size: 22px;
        }

        .floating-service-btn {
            width: 50px;
            height: 50px;
        }

        .floating-service-btn img {
            width: 26px;
            height: 26px;
        }

        .floating-bbva img,
        .floating-sancor img {
            width: 38px;
            height: auto;
        }

        .price-card-service-btn {
            width: 38px;
            height: 38px;
        }

        .price-card-service-btn img {
            width: 20px;
            height: 20px;
        }
    }
    
