/* ======================================================
   MAIN WRAPPER
====================================================== */
main.property-brochure {
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1;
    max-width: 1200px;
    margin: 0 2rem;
    background: #fff;
}

/* ======================================================
   TITULOS
====================================================== */
.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: #111;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #353157, #6481BD);
    margin-top: 8px;
    border-radius: 2px;
}

/* ======================================================
   PROPERTY OVERVIEW
====================================================== */
.property-overview {
    margin-bottom: 2.5rem;
}

.property-overview .price-range {
    font-size: 1.3rem;
    font-weight: bold;
    color: #353157;
}

.property-overview .intro {
    margin-top: 1rem;
    font-style: italic;
    color: #555;
}

.property-overview .highlight {
    margin-top: 1.5rem;
    background: #faf3dd;
    padding: 1rem 1.5rem;
    border-left: 4px solid #353157;
    border-radius: 8px;
}

/* ======================================================
   KEY FEATURES
====================================================== */
.key-features {
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none !important;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.feature-list li {
    background: #fafafa;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-list li:hover {
    transform: translateY(-3px);
}

/* ======================================================
   GALLERY
====================================================== */
.property-gallery {
    margin-bottom: 3rem;
    height: auto;
    overflow: visible;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-item {
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 1rem;
    display:flex;
    justify-content: center;
    width: 100%;
}

.gallery-grid img {
    width: 80%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    page-break-inside: avoid;
    break-inside: avoid;
    display: block;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* ======================================================
   INTERACTIVE VIEWER BUTTON
====================================================== */
.interactive-viewer {
    margin: 3rem 0;
}

/* From Uiverse.io (vinodjangid07) */
.interactive-viewer a .button {
    width: 110px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background-color: rgb(161, 255, 20);
    border-radius: 30px !important;
    padding:0 !important;
    color: rgb(19, 19, 19);
    font-weight: 600;
    border: none;
    cursor: pointer;
    padding-left: 8px;
    transition-duration: .5s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.116);
}

.svgIcon {
    height: 25px;
    transition-duration: 1.5s;
}

.bell path {
    fill: rgb(19, 19, 19);
}

.button:hover {
    background-color: rgb(192, 255, 20);
}

.button:active {
    transform: scale(0.97);
}

.button:hover .svgIcon {
    transform: rotate(250deg);
}

/* ======================================================
   USEFUL LINKS
====================================================== */
.useful-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.useful-links li {
    background: #fafafa;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.useful-links li:hover {
    background: #f0e5c9;
}

.useful-links a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
}

/* ======================================================
   PROPERTY FEATURES (dl)
====================================================== */
.property-features {
    margin: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem 0rem;
    background: #fafafa;
    padding: 2rem;
    border-radius: 12px;
    font-size: 1rem;
}

.features-grid dt {
    font-weight: bold;
    color: #333;
}

.features-grid dd {
    margin: 0;
    color: #555;
}

/* ======================================================
   CLIENT INFO
====================================================== */
.client-info {
    margin-top: 3rem !important;
    text-align:justify;
    padding: 2rem;
    background: #fdfbf7;
    border-left: 5px solid #353157;
    border-radius: 12px;
    font-size: 1rem;
    color: #444;
}

/* ======================================================
   UTILITY CLASSES
====================================================== */
#footer-content {
    position: relative;
}

.marginbottom0 {
    margin-bottom: 0 !important;
    position: absolute;
    bottom: 0;
    left: 0;
}

.pad60 {
    padding: 0 60px;
}

.marg60 {
    margin: 0 60px;
}

/* ======================================================
   PRINT / PDF SUPPORT
====================================================== */
.page-break-before {
    page-break-before: always;
    break-before: always;
}

.page-break-after {
    page-break-after: always;
    break-after: always;
}

.folio-a4 {
    position: relative;
    height:297.5mm;
    box-sizing: border-box;
    overflow: visible;
    width: 100%; /* Aseguramos que ocupe el 100% de los 210mm */
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 850px) {
    .features-grid {
        grid-template-columns: 80px 1fr;
        gap: 0.5rem 1rem;
        padding: 1rem;
    }
    .marg60{
        margin:0 30px;
    }
    .client-info{
        padding:1rem;
    }
}
