/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* Eldeco reference imagery and layout requests. */
:root {
    --brochure-ivory: #fcf7ee;
    --brochure-sand: #f2e5d3;
    --brochure-line: #ddbf98;
    --brochure-rust: #913e25;
    --brochure-terracotta: #a24a29;
    --brochure-gold: #ac7b47;
    --brochure-brown: #542b1b;
    --brochure-ink: #33251f;
}
body, main { background: var(--brochure-ivory); color: var(--brochure-ink); }
.bg_white, .bg-white { background-color: var(--brochure-ivory) !important; }
h2, .title h2, .intro h2, .title h4, .modal-head { color: var(--brochure-rust); }
.title h2, .intro h2 {  font-weight: 500; }
.title small { color: var(--brochure-terracotta); font-size: .875rem; }
header.fixed_header { padding-block: 16px; }
header.fixed_header.sticky, .logo_panel {
    background-color: var(--brochure-ivory);
    border-bottom-color: var(--brochure-line);
}
header.fixed_header.sticky nav ul li a { color: var(--brochure-ink); }
header.fixed_header nav ul li a:hover { color: #f9d4a1; }
header.fixed_header.sticky nav ul li a:hover { color: var(--brochure-rust); }
.gradient {
    background: linear-gradient(120deg, var(--brochure-rust), #97552d) !important;
    animation: none;
}
.appbtn:hover, .appbtn:focus-visible { background: var(--brochure-brown) !important; color: #fff; }
.banner-price-detail, .banner-typology-detail { border-color: var(--brochure-line) !important; }
.slide-text h2 { color: #fff; }
p.banner-high { background-color: #42241599; }
.banner-form { background: rgba(70, 39, 22, .82); }
.form-heading { color: #ffe4b3; }
.price-section, .floor-section, .location { background-color: var(--brochure-sand); }
.price-section .price-box {
    background: var(--brochure-ivory);
    border: 1px solid var(--brochure-line);
    box-shadow: 0 6px 16px #613a221c;
}
.price-section .price-box:hover { background-color: #f7efe3; }
.price-section .typology { border-color: var(--brochure-gold); }
.price-box .typology, .price-box .price-details { color: var(--brochure-rust); }
.amenity-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(.5rem, 1.2vw, .875rem);
    list-style: none;
    padding: 0;
    margin: 0;
}
.amenity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    min-height: 104px;
    padding: .5rem;
    background: #f7efe3;
    border: 1px solid var(--brochure-line);
    border-radius: 10px;
    color: var(--brochure-brown);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
}
.amenity-card img {
    display: block;
    width: 62px;
    height: auto;
    max-width: 100%;
}
.amenities-more summary {
    width: fit-content;
    margin-inline: auto;
    padding: .5rem 1rem;
    border: 1px solid var(--brochure-gold);
    border-radius: 25px;
    color: var(--brochure-rust);
    font-size: .875rem;
    font-weight: 600;
    list-style-position: inside;
    cursor: pointer;
}
.amenities-more summary:hover { background: var(--brochure-sand); }
.amenities-more[open] .amenities-show-more,
.amenities-more:not([open]) .amenities-show-fewer { display: none; }
.floor-plan-preview figcaption {
    margin-top: .5rem;
    color: var(--brochure-brown);
    font-size: .875rem;
    text-align: center;
}
.floor-plan-card {
    height: 100%;
    padding: clamp(.75rem, 2vw, 1.5rem);
    background: var(--brochure-ivory);
    border: 1px solid var(--brochure-line);
    border-radius: 14px;
    text-align: center;
}
.floor-plan-card h3 { color: var(--brochure-rust); }
.floor-plan-preview img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #f7efe3;
    border-radius: 10px;
}
.floor-plan-preview .floor-plan-placeholder { filter: blur(5px); }
@media (min-width: 768px) {
    .amenity-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .amenity-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.plan-request-preview { background: #f4e8d3; color: var(--brochure-rust); border-color: #d9bc8c; }
.brochure-gallery-item { margin-bottom: 20px; }
.gallery-sec .image-link { display: block; overflow: hidden; border-radius: 8px; }
.gallery-caption { margin: 10px 0 0; color: var(--brochure-rust); font-size: .9375rem; }
.brochure-note { font-size: .875rem; color: #6e5643; margin-top: 12px; }
.brochure-map { width: 100%; height: auto; border-radius: 12px; border: 1px solid #d9bc8c; }
.location-image { border-color: var(--brochure-line); }
.location-image img { border-color: var(--brochure-ivory); }
img.icon-high { width: 30px; object-fit: contain; filter: none; }
.high-details span img.location-icon { height: auto; filter: none; }
img.check-icon { height: auto; background: var(--brochure-ivory); }
div#contactform {
    background: var(--brochure-sand);
    border: 1px solid var(--brochure-line);
    box-shadow: 0 6px 16px #613a221c;
}
#contactform h2.form-heading { color: var(--brochure-rust); border-color: var(--brochure-line); }
.modal-content { background: var(--brochure-ivory); outline-color: var(--brochure-ivory); }
#contactform .form-control, #exampleModal .form-control { border-color: var(--brochure-gold); }
#contactform .form-control:focus, #exampleModal .form-control:focus {
    border-color: var(--brochure-rust);
    box-shadow: 0 0 0 .2rem #a24a2926;
}
.inp-box input[type="checkbox"] { accent-color: var(--brochure-rust); }
.mobile-section-footer { background: var(--brochure-rust) !important; }
#demo .hero-image {
    display: block;
    width: 100%;
    height: clamp(650px, 58vw, 940px);
    object-fit: cover;
    object-position: right center;
}
#demo .carousel-indicators { z-index: 105; bottom: 18px; margin-bottom: 0; }
#demo .carousel-indicators button { background-color: #fff0ce; width: 32px; height: 4px; }
#demo .carousel-control-prev, #demo .carousel-control-next { width: 6%; z-index: 104; }
#demo .banner-pause {
    position: absolute; right: 20px; bottom: 20px; z-index: 106;
    border: 1px solid #e2c69a; border-radius: 20px; background: #492719d9;
    padding: 6px 18px; color: #fff; font-size: .875rem;
}
@media (prefers-reduced-motion: reduce) { #demo .carousel-item { transition: none; } }
.logo img,
.logo-black img {
    width: 140px !important;
    max-height: 54px;
    object-fit: contain;
    filter: none !important;
    background: var(--brochure-ivory);
    border-radius: 4px;
    padding: 5px 10px;
}
.logo_panel img,
img.modal-popup-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
}
.carousel-inner:after {
    background:
        linear-gradient(180deg, #2f1b13b3, transparent 15%),
        linear-gradient(90deg, #362013cf, #36201321 65%, transparent) !important;
    pointer-events: none;
}
.parallax_wrapper > img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}
.parallax_wrapper .img_over img {
    width: 230px;
    height: 290px;
    object-fit: cover;
}
.bg_white.gallery-sec .image-link img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 0;
}
.plan-request-preview {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    background: #f4e8d3;
    color: var(--brochure-rust);
    border: 1px solid #d9bc8c;
    border-radius: 12px;
}
.plan-request-preview strong { font-size: 1.4rem; }
.footer-bottom {
    background-color: var(--brochure-brown);
}
@media (max-width: 991px) {
    .main-menu { background-color: var(--brochure-ivory); }
    header.fixed_header .main-menu #mainNav ul li a:not(.head-call) { color: var(--brochure-ink); }
    header.fixed_header .main-menu #mainNav ul li a:not(.head-call):hover { color: var(--brochure-rust); }
}
@media (width < 768px) {
    #demo .hero-image { height: auto; min-height: 0; }
    #demo .carousel-inner:after { background: linear-gradient(180deg, #36201369, transparent 32%) !important; }
    #demo .carousel-control-prev, #demo .carousel-control-next { width: 12%; }
    #demo .banner-pause { right: 12px; bottom: 16px; }
    html, body { max-width: 100%; overflow-x: clip; }
    header.fixed_header { padding-block: 12px; }
    header.fixed_header .col-md-2 { width: 75%; }
    header.fixed_header .col-md-10 { width: 25%; }
    .mobile-section-footer { left: 0; right: 0; width: 100vw; }
    .mobile-section-footer a.btn { flex: 1; min-width: 0; font-size: 14px; }
    .container.banner-text { width: 100%; margin: 0; padding: 24px 16px; background: var(--brochure-brown); }
    .slide-text small { letter-spacing: 1px; font-size: 14px; }
    .parallax_wrapper { padding-left: 0; }
    .parallax_wrapper > img { height: 360px; }
    .parallax_wrapper > img.overview-mobile-building { height: auto; object-fit: contain; }
    .gallery-sec .brochure-gallery-item { margin-bottom: 12px; }
    .bg_white.gallery-sec .image-link img { height: auto; aspect-ratio: 4 / 3; }
}
