:root {
  --marco: #d0d0d0;
  --marco-fondo: #f5f5f5;
}

/* Box-sizing global: evita overflow por borders sumados a width:100% (legacy ASP.NET) */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
}
body {
    overflow-x: clip;  /* clip en vez de hidden: no bloquea scroll vertical */
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    color: #000000;
}

.clear {
    clear: both;
}

.allContent {
    width: 1000px;
    min-height: 400px;
    margin: 0px auto;
    /*border: 1px dashed orange;*/
}
/*---HEADER---*/
.header {
    width: 99%;
    min-height: 120px;
    padding: 5px;
    border: 1px solid #c6c6c6;
}

.headerLogo {
    width: 110px;
    height: 110px;
    padding: 5px;
    text-align: center;
    float: left;
    /*border: 1px solid blue;*/
}

.headerCompanyName {
    width: 320px;
    min-height: 120px;
    float: left;
    /*border: 1px solid #e51ed5;*/
}

.headerTitle {
    width: 300px;
    min-height: 30px;           /* min-height en vez de height fijo, evita superposición con border-box */
    padding: 25px 0px 10px 10px;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.1;
}

.headerSubTitle {
    width: 300px;
    min-height: 40px;
    padding: 0px 0px 0px 10px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
}

.headerSocial {
    width: 200px;
    min-height: 100px;
    text-align: center;
    padding-top: 10px;
    float: right;
    /*border: 1px solid brown;*/
}

.button {
    margin: 15px auto;
    border: 1px solid #000000;
    width: 140px;
    height: 20px;
    background-color: #c6c6c6;
    font-weight: bold;
    text-align: center;
    padding: 3px;
    font-size: 11px;
}

    .button:hover {
        background-color: green;
        color: #ffffff;
    }

        .button:hover a {
            color: #ffffff;
        }

    .button a {
        vertical-align: middle;
        text-decoration: none;
        color: #000000;
    }

        .button a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/*---MENU---*/
.menu {
    width: 100%;
    height: 60px;
    float: left;
    position: relative;
    border: 1px solid #008000;
    z-index: 100;
}

.menuMain { /*Menu ul*/
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    /*width: 100%;*/
    color: #ffffff;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #008000;
}

    .menuMain li {
        float: left;
        border-right: 1px solid #ffffff;
    }

        .menuMain li a, .dropbtn {
            display: inline-block;
            color: #ffffff;
            text-align: center;
            padding: 20px;
            text-decoration: none;
        }

            .menuMain li a:hover, .dropdown:hover .dropbtn {
                background-color: #a6a6a6;
                color: #333333;
                /*border-top: 1px solid #a6a6a6;*/
                /*border-bottom: 1px solid #a6a6a6;*/
            }

        .menuMain li.dropdown {
            display: inline-block;
        }


.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 274px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

    .dropdown-content a {
        color: #000000 !important;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left !important;
        font-weight: normal !important;
        width: 230px !important;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1 !important;
            color: #000000;
            border-left: 4px solid #008000;
        }

.dropdown:hover .dropdown-content {
    display: block;
}


/*---MAIN CONTENT---*/
.mainContent {
    width: 100%;
    min-height: 200px;
    margin: 10px 0px 10px 0px;
    /*overflow: auto;*/
}

/*---FOOTER---*/
.footer {
    width: 100%;
    height: auto;
    border: solid 1px #c6c6c6;
    background-color: #c6c6c6;
    margin-top: 20px;
    display: flow-root;        /* contiene los floats internos (footerText, footerMenu, footerSocial) */
}

.footerText {
    padding: 20px;
    width: 293px;
    min-height: 100px;
    float: left;
    position: relative;
    /*border: 1px solid blue;*/
}

.footerCompany {
    font-weight: bold;
    font-size: 14px;
    line-height: 25px;
}

.footerSlogan {
    font-weight: bold;
    font-size: 11px;
    line-height: 25px;
}

.footerInfo {
    font-size: 11px;
    line-height: 15px;
}

.footerMenu {
    padding: 20px 30px;
    width: 280px;
    height: auto;
    float: left;
    position: relative;
}

    .footerMenu ul {
        font-size: 14px;
        line-height: 20px;
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .footerMenu li {
    }

        .footerMenu li a {
            display: block;
            color: #000000;
            text-align: left;
            padding: 5px;
            text-decoration: none;
        }

            .footerMenu li a:hover {
                font-weight: bold;
            }

.footerSocial {
    padding: 20px 30px 0px 30px;
    width: 240px;
    min-height: 100px;
    float: left;
    position: relative;
    text-align: center;
}

.social {
    font-weight: bold;
    font-size: 12px;
    line-height: 30px;
}

    .social img {
        margin: 10px;
    }

.footerMenu ul {
    font-size: 11px;
    line-height: 20px;
    width: 100%;
    color: white;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/*COPYRIGHTS*/

.footerCopyrights {
    width: 100%;
    height: 50px;
    background-color: #333333;
    color: white;
    text-align: center;
    border: 1px solid #000000;
    float: left;
}

.copy {
    width: 200px;
    height: 50px;
    float: left;
    position: relative;
    font-weight: bold;
    font-size: 10px;
    padding: 0px;
    margin-left: 400px;
    line-height: 45px;
}

.quarktechs {
    /*border: 2px solid lightgreen;*/
    width: 200px;
    height: 50px;
    float: right;
    position: relative;
    line-height: 45px;
    font-style: italic;
}

/*OTHERS*/
span {
    display: inline-block;
    /*vertical-align: middle;*/
    line-height: normal;
}

.blackandwhite {
    filter: grayscale(100%);
}


/*HOME*/
/*SLIDERS*/
.homeSlider {
}

/*CONTENT*/

.homeContent {
    /*border: 1px solid red;*/
    width: 100%;
    min-height: 500px;
    margin-top: 20px;
    overflow: auto;
}

.homeDescription {
    line-height: 25px;
    font-size: 13px;
    text-align: justify;
    padding: 10px;
    width: 94%;
}


/*PLACES*/
.homePlaces {
    /*border: 1px solid blue;*/
    width: 45%;
    min-height: 200px;
    position: relative;
    float: left;
    margin: 10px;
}

.homeMainSection {
    width: 100%;
    min-height: 30px;
}

.homeMainTitle {
    font-size: 20px;
    font-weight: bold;
    padding: 5px 0px 5px 0px;
    border-bottom: 2px solid #008000;
    color: #008000;
}

.homeMainDesc {
    width: 100%;
    height: 45px;
    font-size: 14px;
    font-weight: normal;
    padding-top: 15px;
}
/*Place*/
.home-Place {
    width: 100%;
    height: 155px;
    border-bottom: 1px dashed #555555;
    padding-top: 20px;
}

.home-Place-Picture {
    width: 32%;
    height: 100px;
    position: relative;
    float: left;
    text-align: center;
    padding-top: 4px;
}

.home-Place-Title {
    width: 68%;
    height: 30px;
    position: relative;
    float: left;
    font-size: 14px;
    font-weight: bold;
    color: #008000;
}

    .home-Place-Title a {
        color: inherit;
        text-decoration: none;
    }

        .home-Place-Title a:hover {
            color: inherit;
            text-decoration: underline;
        }

.home-Place-Desc {
    width: 68%;
    height: 75px;
    font-size: 13px;
    position: relative;
    float: left;
}

.home-Place-Button {
    width: 85px;
    height: 22px;
    float: right;
    border: 1px solid #000000;
    padding: 2px;
    text-align: center;
    padding-top: 6px;
    font-size: 11px;
    font-weight: bold;
    color: #000000;
}

    .home-Place-Button:hover {
        color: inherit;
        background-color: #c6c6c6;
    }

    .home-Place-Button a {
        color: inherit;
        text-decoration: none;
    }

        .home-Place-Button a:hover {
            color: inherit;
            text-decoration: underline;
        }

/*APARTMENTS*/
.homeApartments {
    /*border: 1px solid purple;*/
    width: 45%;
    min-height: 200px;
    position: relative;
    float: right;
    margin: 10px;
}

/*Apto*/
.home-Apto {
    width: 100%;
    height: 210px;
    border-bottom: 1px dashed #555555;
    padding-top: 20px;
}

.home-Apto-Picture {
    width: 50%;
    height: 100px;
    position: relative;
    float: left;
    text-align: center;
    padding-top: 4px;
}

    .home-Apto-Picture img {
        height: 100px;
        width: 200px;
    }

.home-Apto-Title {
    width: 50%;
    height: 30px;
    position: relative;
    float: left;
    font-size: 14px;
    font-weight: bold;
    color: #008000;
}

    .home-Apto-Title a {
        color: inherit;
        text-decoration: none;
    }

        .home-Apto-Title a:hover {
            color: inherit;
            text-decoration: underline;
        }

.home-Apto-Desc {
    width: 50%;
    height: 160px;
    font-size: 13px;
    position: relative;
    float: left;
}

    .home-Apto-Desc span {
        font-weight: bold;
    }

.m2 {
    vertical-align: super;
    font-weight: normal !important;
    font-size: 10px;
}

.home-Apto-Button {
    width: 85px;
    height: 22px;
    float: right;
    border: 1px solid #000000;
    padding: 2px;
    text-align: center;
    padding-top: 6px;
    font-size: 11px;
    font-weight: bold;
    color: #000000;
}

    .home-Apto-Button:hover {
        color: inherit;
        background-color: #c6c6c6;
    }

    .home-Apto-Button a {
        color: inherit;
        text-decoration: none;
    }

        .home-Apto-Button a:hover {
            color: inherit;
            text-decoration: underline;
        }

/*PLACES*/

.PlacesContent {
    /*border: 1px solid red;*/
    width: 100%;
    min-height: 500px;
    margin-top: 20px;
    overflow: auto;
    padding: 20px;
}

.Place-mainTitle {
    width: 100%;
    height: 30px;
    position: relative;
    float: left;
    font-size: 20px;
    font-weight: bold;
    color: #008000;
    padding: 10px 0px 10px 0px;
}

    .Place-mainTitle br {
        display: none;
    }
/*Place*/
.Place-Place {
    width: 46%;
    min-height: 200px;
    border-bottom: 1px dashed #555555;
    padding: 30px 30px 30px 0px;
    position: relative;
    float: left;
}

.Place-Place-Picture {
    width: 95%;
    height: 250px;
    position: relative;
    float: left;
    overflow: hidden;
    border: 1px solid var(--marco);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--marco-fondo);
}

    .Place-Place-Picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        margin: 0;
    }

.Place-Place-Title {
    width: 100%;
    height: 40px;
    position: relative;
    float: left;
    font-size: 14px;
    font-weight: bold;
    color: #008000;
    padding: 20px 0px 0px 0px;
}

    .Place-Place-Title a {
        color: inherit;
        text-decoration: none;
    }

        .Place-Place-Title a:hover {
            color: inherit;
            text-decoration: underline;
        }


.Place-Place-Desc {
    width: 95%;
    height: 170px;
    font-size: 13px;
    position: relative;
    float: left;
    line-height: 25px;
    text-align: justify;
    padding-right: 30px;
}

.Place-Place-Button {
    display: inline-block;
    margin: 16px 0 0 0;
    padding: 0;                       /* padding lo lleva el <a> para que sea clickeable */
    border: 1.5px solid #008000;
    border-radius: 8px;
    background-color: transparent;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
    font-weight: bold;
}

    .Place-Place-Button a {
        display: block;               /* link llena toda la caja → clickeable completo */
        padding: 12px 28px;           /* aire generoso */
        color: #008000;
        font-size: 14px;
        text-decoration: none;
        font-weight: bold;
        letter-spacing: 0.03em;
    }

    .Place-Place-Button:hover {
        background-color: #008000;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 128, 0, 0.25);
    }

        .Place-Place-Button:hover a {
            color: #ffffff;
            text-decoration: none;
        }

    .Place-Place-Button:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 128, 0, 0.2);
    }

/*FOUNDATION*/

.FundContent {
    /*border: 1px solid red;*/
    width: 100%;
    min-height: 500px;
    margin-top: 20px;
    overflow: auto;
    padding: 20px;
}

.Fund-mainTitle {
    width: 100%;
    height: 30px;
    position: relative;
    float: left;
    font-size: 20px;
    font-weight: bold;
    color: #008000;
    padding-top: 15px;
}

/*Fund*/
.Fund-Fund {
    width: 100%;
    min-height: 260px;
    position: relative;
    float: left;
    padding-top: 50px;
}

.Fund-Fund-Picture {
    width: 50%;
    height: 230px;
    position: relative;
    float: right;
    padding-top: 4px;
}

    .Fund-Fund-Picture img {
        height: 220px;
        width: 480px;
    }

.Fund-Fund-Title {
    width: 46%;
    height: 40px;
    position: relative;
    float: left;
    font-size: 20px;
    font-weight: bold;
    color: #008000;
    padding: 0px 0px 0px 0px;
}

    .Fund-Fund-Title a {
        color: inherit;
        text-decoration: none;
    }

        .Fund-Fund-Title a:hover {
            color: inherit;
            text-decoration: underline;
        }

.Fund-Fund-Desc {
    width: 46%;
    height: 230px;
    font-size: 13px;
    position: absolute;
    float: left;
    padding-top: 50px;
    line-height: 25px;
    text-align: justify;
}


.Fund-Fund-Button:hover {
    color: inherit;
    background-color: #c6c6c6;
}

.Fund-Fund-Button a {
    color: inherit;
    text-decoration: none;
}

    .Fund-Fund-Button a:hover {
        color: inherit;
        text-decoration: underline;
    }

/*HEADQUARTERS*/

.HQSlider {
    /*border: 1px solid red;*/
    width: 100%;
    min-height: 500px;
    margin-top: 20px;
    overflow: auto;
}

.HQ-Content {
    width: 100%;
    min-height: 700px;
}

.HQ-mainTitle {
    width: 100%;
    min-height: 55px;
    position: relative;
    float: left;
    font-size: 22px;
    font-weight: bold;
    color: #008000;
    padding: 30px 0 18px 0;       /* +18px abajo para separar del slider */
    margin-bottom: 8px;
}


.HQ-Apartments {
    /*border: 1px solid blue;*/
    width: 48%;
    min-height: 200px;
    position: relative;
    float: left;
    margin: 10px;
    overflow: auto;
}

.HQ-Info {
    /*border: 1px solid purple;*/
    width: 45%;
    min-height: 500px;
    position: relative;
    float: right;
    margin: 10px;
    overflow: hidden;
}

.HQ-SectionTitle {
}

.HQ-Apartment {
    width: 100%;
    min-height: 200px;
    border-bottom: 1px dashed #555555;
    padding: 25px 0px 25px 0px;
    position: relative;
    float: left;
    overflow: hidden;        /* contener floats internos para que la imagen no se desborde al siguiente */
    box-sizing: border-box;
}

.HQ-Apartment-Picture {
    width: 320px;
    max-width: 45%;
    aspect-ratio: 4 / 3;
    position: relative;
    float: left;
    overflow: hidden;
    margin-right: 28px;      /* aire entre la imagen y el texto a la derecha */
    margin-bottom: 16px;
}

    .HQ-Apartment-Picture img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        display: block;
    }

.HQ-Apartment-Title {
    width: auto;
    min-height: 40px;
    position: relative;
    overflow: hidden;        /* respeta el float de la imagen */
    font-size: 16px;
    font-weight: bold;
    color: #008000;
    padding: 4px 0 0 0;
}

    .HQ-Apartment-Title a {
        color: inherit;
        text-decoration: none;
    }

        .HQ-Apartment-Title a:hover {
            color: inherit;
            text-decoration: underline;
        }

.HQ-Apartment-Desc {
    width: auto;
    min-height: 120px;
    font-size: 13px;
    line-height: 1.5;
    position: relative;
    overflow: hidden;        /* respeta el float de la imagen */
    padding-top: 8px;
}

    .HQ-Apartment-Desc span {
        font-weight: bold;
    }

.HQ-ServiceContent {
    width: 100%;
    min-height: 233px;
    clear: both;                /* obliga a iniciar debajo de los floats HQ-Apartments/HQ-Info */
    display: flow-root;         /* contiene los floats internos de los HQ-Services */
    padding-top: 24px;
}

.HQ-Services {
    width: 100%;
    min-height: 0;
    position: relative;
    padding: 8px 0 16px 0;
    clear: both;
    display: flow-root;     /* contiene cualquier float interno (los <li> legacy) */
}

    .HQ-Services span {
        font-weight: bold;
    }

    .HQ-Services ul {
        line-height: 25px;
        width: 100%;
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

        .HQ-Services ul li {
            float: none;        /* anular float legacy que rompía el flow */
            width: auto;
            margin-left: 0;
            padding: 4px 0;
        }

.HQ-Map {
    width: 100%;
    height: 430px;
    position: relative;
    float: right;
    margin: 0;
    padding: 0;
}

.HQ-Contact {
    width: 95%;
    min-height: 200px;
    position: relative;
    float: right;
    margin: 10px;
}

    .HQ-Contact table {
        width: 100%;
    }

        .HQ-Contact table tr {
            height: 30px;
        }

            .HQ-Contact table tr td {
                height: 30px;
            }

.highlight {
    width: 85%;
    min-height: 60px;
    padding: 20px;
    background-color: lightgray;
    font-style: italic;
    font-weight: bold;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin: 0px auto;
}

.highlight-blue {
    width: 85%;
    min-height: 60px;
    padding: 20px;
    background-color: lightblue;
    font-style: italic;
    font-weight: bold;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin: 0px auto;
}

.highlight-yellow {
    width: 85%;
    min-height: 60px;
    padding: 20px;
    background-color: lightyellow;
    font-style: italic;
    font-weight: bold;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin: 0px auto;
}

/* CONTACT SECTION */
.Contact-Place {
    width: 48%;
    min-height: 160px;
    float: left;
    margin: 0px 20px 20px 0px;
    /*border: 1px solid red;*/
}

.Contact-Place-Title {
    width: 96%;
    height: 40px;
    position: relative;
    float: left;
    font-size: 14px;
    font-weight: bold;
    color: #008000;
    padding: 20px 0px 0px 0px;
    border-bottom: 2px solid #008000;
}

    .Contact-Place-Title a {
        color: inherit;
        text-decoration: none;
    }

        .Contact-Place-Title a:hover {
            color: inherit;
            text-decoration: underline;
        }

.Contact-Place-Desc {
    width: 90%;
    min-height: 150px;
    font-size: 13px;
    position: relative;
    float: left;
    line-height: 25px;
    text-align: justify;
    padding-right: 30px;
    padding-top: 10px;
}

    .Contact-Place-Desc ul {
        margin: 0px;
        padding-left: 20px;
    }

/* FULL TEXT SECTION */
.Section-text {
    margin: 0px auto;
    padding: 20px;
    line-height: 20px;
}

.Section-mainTitle {
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    padding: 20px 0px;
}

.Section-subTitle {
    font-size: 12px;
    text-align: left;
    text-transform: uppercase;
    font-weight: bold;
    padding: 20px 0px 10px 0px;
}

.Section-paragraph {
    text-align: justify;
}

/* Decreto */
.Item-table {
    width: 700px;
    border-spacing: 0px;
    border-collapse: separate;
}

    .Item-table tr {
        height: 30px;
    }

    .Item-table a {
        text-decoration: none;
        color: inherit;
    }

        .Item-table a:hover {
            text-decoration: underline;
        }

    .Item-table img {
        border: none;
    }

    .Item-table ul {
        height: 20px;
        padding-top: 20px;
    }

        .Item-table ul li {
            /*vertical-align: middle;*/
        }

.Table-row-odd {
    background-color: none;
}

.Table-row-even {
    background-color: #f1f1f1;
}

.lastUpdate {
    font-style: italic;
    color: #333333;
    padding: 20px 0px;
    font-size: 11px;
}


/* ===================================================================
   RESPONSIVE / MOBILE
   Agregado 2026-06-01 para que la pagina v1 funcione en celulares.
   El CSS original (arriba) usa widths fijos en pixels (1000px etc),
   pensado solo para desktop. Estos overrides adaptan a tablet y movil.
   =================================================================== */

img { max-width: 100%; height: auto; }

/* Boton hamburguesa: oculto por default en desktop, visible solo en mobile (ver @media abajo) */
.menu-toggle { display: none; }

@media (max-width: 1024px) {
    .allContent { width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 12px; }
    .header { width: 100%; box-sizing: border-box; }
    .footerText, .footerMenu, .footerSocial { padding-left: 20px; }
    .Place-Place { width: 100%; padding: 20px 0; }
    .Place-Place-Picture { width: 100%; height: auto; max-height: 280px; }
    .Place-Place-Picture img { width: 100% !important; height: auto !important; margin: 0 !important; }
    .Place-Place-Desc { width: 100%; height: auto; padding-right: 0; }
    .Fund-Fund-Picture, .Fund-Fund-Title, .Fund-Fund-Desc { width: 100%; height: auto; position: relative; padding-top: 10px; }
    .Fund-Fund-Picture img { width: 100%; height: auto; }
    .HQ-Apartments, .HQ-Info { width: 100%; margin: 10px 0; }
    .HQ-Apartment-Picture, .HQ-Apartment-Title, .HQ-Apartment-Desc { width: 100%; height: auto; }
    .HQ-Apartment-Picture img { width: 100%; max-width: 280px; height: auto; }
    .HQ-Services { width: 100%; padding: 15px 10px; }
    .Contact-Place { width: 100%; margin: 0 0 20px 0; }
    .Contact-Place-Desc { width: 100%; padding-right: 0; }
    .homePlaces, .homeApartments { width: 100%; margin: 10px 0; float: none; }
    .homeDescription { width: 100%; box-sizing: border-box; }
    .Item-table { width: 100%; }
}

/* Movil ( <=768px ) */
@media (max-width: 768px) {
    body { font-size: 14px; line-height: 1.5; }
    .allContent { padding: 0 10px; }

    /* HEADER: apilar logo + titulo + social vertical */
    .header { min-height: 0; padding: 10px; }
    .headerLogo, .headerCompanyName, .headerSocial {
        width: 100% !important; float: none !important;
        min-height: 0; text-align: center;
    }
    .headerLogo { padding: 0; }
    .headerCompanyName { padding: 8px 0; }
    .headerTitle { width: 100%; height: auto; padding: 5px 0; font-size: 22px; text-align: center; }
    .headerSubTitle { width: 100%; height: auto; padding: 0; font-size: 11px; text-align: center; }
    .headerSocial { padding-top: 4px; }
    .headerSocial img { width: 36px; height: auto; }

    /* MENU: hamburguesa. Sin transition ni overflow para evitar bug de
       renderizado en Safari iOS donde el dropdown no se repinta hasta otro tap. */
    .menu { width: 100%; height: auto; border: none; }
    .menuMain {
        display: none;
        background-color: #008000;
    }
    .menuMain.open { display: block; }
    .menuMain li { float: none !important; display: block; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .menuMain li a, .dropbtn {
        display: block !important; padding: 14px 16px !important;
        text-align: left !important; font-size: 15px;
    }
    .menuMain li.dropdown { display: block; }
    /* Chevron al lado de "Nuestras Sedes" indica que es expandible */
    .menuMain li.dropdown > .dropbtn::after {
        content: "\25BE"; /* triángulo abajo */
        float: right;
        font-size: 14px;
        margin-left: 8px;
        transition: transform 0.2s ease;
    }
    .menuMain li.dropdown.open > .dropbtn::after {
        transform: rotate(180deg);
    }
    .dropdown-content {
        position: static !important; width: 100% !important; box-shadow: none;
        background-color: #006400; display: none;
    }
    .dropdown.open .dropdown-content { display: block !important; }
    .dropdown-content a {
        color: #fff !important; width: auto !important;
        padding: 12px 28px !important; border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .dropdown-content a:hover { background-color: rgba(0,0,0,0.15) !important; color: #fff; border-left: none; }

    /* Boton hamburguesa */
    .menu-toggle {
        display: flex; align-items: center; justify-content: space-between;
        width: 100%; background-color: #008000; color: #fff;
        padding: 14px 16px; border: 0; cursor: pointer;
        font-family: inherit; font-size: 15px; font-weight: bold;
        text-transform: uppercase; letter-spacing: 0.05em;
        -webkit-tap-highlight-color: transparent;
    }
    .menu-toggle::after { content: "\2630"; font-size: 22px; }
    .menu-toggle[aria-expanded="true"]::after { content: "\2715"; }

    /* SLIDER del home: en mobile lo ocultamos completo y mostramos un hero
       estático con la primera imagen. WowSlider con KenBurns no responde bien a
       reescalado y luchar contra su JS interno introduce bugs. Más simple y
       confiable: hero estático en mobile, slider completo en desktop. */
    .homeSlider {
        width: 100%;
        aspect-ratio: 16/9;
        background-image: url("/data1/images/suba-n-8.jpg");
        background-size: cover;
        background-position: center;
        background-color: #000;
        overflow: hidden;
    }
    .homeSlider #wowslider-container1 { display: none !important; }

    /* SLIDER de sedes (HQSlider): mismo treatment que el home — ocultar el
       wowslider en mobile (causa altura fija de 400px = espacio en blanco)
       y mostrar la imagen principal de cada sede como background. */
    .HQSlider {
        position: relative;
        width: 100%;
        min-height: 0 !important;
        margin-top: 12px;
    }
    /* (Antes había aquí un HQSlider::after con background-image por sede como
       hack mientras el wowslider no funcionaba en mobile. Ya no se necesita
       porque el simple-slider responde nativamente en mobile.) */

    /* Imágenes de apartamentos: full-width, marco gris suave, esquinas curvas */
    .HQ-Apartment { padding: 16px 0 24px 0; overflow: visible; }
    .HQ-Apartment-Picture {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        float: none !important;
        padding: 0 !important;
        margin-bottom: 12px;
    }
    .HQ-Apartment-Picture img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: cover;
        border: 1px solid var(--marco, #d0d0d0);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        background-color: #f5f5f5;
    }
    .HQ-Apartment-Title, .HQ-Apartment-Desc {
        float: none !important;
        width: 100% !important;
        height: auto !important;
    }

    /* CONTENT */
    .homeDescription { padding: 10px; line-height: 22px; font-size: 14px; }
    .highlight, .highlight-blue, .highlight-yellow { width: 92%; padding: 14px; }
    .Place-mainTitle, .Fund-mainTitle, .HQ-mainTitle, .Section-mainTitle {
        font-size: 18px; height: auto; padding: 16px 0;
    }
    .Place-Place-Title, .Fund-Fund-Title, .HQ-Apartment-Title, .Contact-Place-Title {
        font-size: 16px;
    }
    .Place-Place-Picture { max-height: 220px; }
    .Place-Place-Button, .home-Place-Button, .home-Apto-Button, .Fund-Fund-Button {
        width: auto; min-width: 100px; padding: 10px 14px;
        font-size: 13px; height: auto;
    }

    /* FOOTER: apilar 3 columnas */
    .footer { padding: 10px; }
    .footerText, .footerMenu, .footerSocial {
        width: 100% !important; padding: 14px 16px !important;
        min-height: 0; float: none !important;
    }
    .footerMenu ul { font-size: 14px; }
    .footerMenu li a { padding: 8px 0; }
    .footerSocial img { width: 40px; height: auto; margin: 5px; }

    /* COPY: el margin-left:400px del original es desastre en mobile */
    .footerCopyrights { height: auto; padding: 10px 0; }
    .copy, .quarktechs { width: 100%; float: none; margin: 0; padding: 6px 0; text-align: center; line-height: 1.6; height: auto; }

    /* Tabla decreto */
    .Item-table { width: 100%; font-size: 13px; }
    .Item-table td { padding: 8px 6px; word-break: break-word; }

    /* H1 sr-only no debe afectar layout en mobile (ya esta absolute) */
}

/* Touch hover-states: en pantallas tactiles dropdown se abre con tap, no hover */
@media (hover: none) {
    .dropdown:hover .dropdown-content { display: none; }
}


/* ===================================================================
   SIMPLE SLIDER moderno — reemplaza wowslider (jquery + 140KB)
   Diseño 2026, sin dependencias, responsive nativo, flechas + dots + swipe
   =================================================================== */
.simple-slider {
    position: relative;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    width: 100%;
    aspect-ratio: 5 / 2;            /* desktop aprox 1000x400 */
    overflow: hidden;
    background: #1a1a1a;
    border-radius: 8px;
    margin: 0 auto;
}
.simple-slider .slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.simple-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
.simple-slider .slide.active {
    opacity: 1;
    pointer-events: auto;
}
.simple-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.simple-slider .caption {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 0.02em;
    max-width: calc(100% - 110px);  /* deja espacio para flechas */
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    font-family: Arial, sans-serif;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
}
.slider-arrow:hover { background: rgba(0, 0, 0, 0.75); }
.slider-arrow:active { transform: translateY(-50%) scale(0.92); }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }
.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 2;
}
.slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.slider-dots button.active {
    background: #fff;
    transform: scale(1.35);
}
.slider-dots button:hover { background: rgba(255, 255, 255, 0.85); }

/* Mobile: ajustes específicos */
@media (max-width: 768px) {
    .simple-slider { aspect-ratio: 16 / 9; border-radius: 0; }
    .slider-arrow { width: 36px; height: 36px; font-size: 22px; }
    .simple-slider .caption { font-size: 12px; padding: 4px 10px; bottom: 10px; left: 10px; }
}


/* ===================================================================
   HQ-SectionTitle: subtítulo de sección dentro de las páginas de sede
   (ej: "Apartamentos en la sede" después del slider)
   =================================================================== */
.HQ-SectionTitle {
    font-size: 20px;
    font-weight: bold;
    color: #008000;
    margin: 32px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #008000;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .HQ-SectionTitle {
        font-size: 18px;
        margin: 24px 0 12px 0;
    }
}


/* ===================================================================
   MARCO GLOBAL: aplicar marco gris + esquinas redondeadas + sombra
   sutil a TODAS las imágenes de contenido del sitio (no a logos ni
   iconos decorativos). Web y mobile.
   =================================================================== */
.home-Place-Picture img,
.home-Apto-Picture img,
.Fund-Fund-Picture img {
    border: 1px solid var(--marco);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--marco-fondo);
    display: block;
}

/* HQ-Apartment-Picture: usar contenedor con marco (desktop) */
.HQ-Apartment-Picture {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--marco);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--marco-fondo);
}
.HQ-Apartment-Picture img {
    border: 0 !important;       /* no doble marco */
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
}

/* Iframe del mapa: marco gris + esquinas redondas también */
.HQ-Map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--marco);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--marco-fondo);
    display: block;
    line-height: 0;             /* elimina espacio extra abajo del iframe */
}
.HQ-Map iframe { display: block; }

@media (max-width: 768px) {
    .HQ-Map { width: 100% !important; }
    .HQ-Map iframe { width: 100% !important; height: 320px !important; }
}


/* ===================================================================
   AJUSTES adicionales jun 2026
   =================================================================== */

/* 1. Apartamentos: eliminar línea dashed separadora + ajustar imagen para llenar contenedor.
   (NO tocar margin del .HQ-Apartment-Picture aquí — el aire entre imagen y texto se
    define en la regla principal ~línea 840: margin-right: 28px; margin-bottom: 16px.) */
.HQ-Apartment {
    border-bottom: none !important;
}
.HQ-Apartment-Picture {
    padding: 0 !important;
    box-sizing: border-box;
}
.HQ-Apartment-Picture img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
}

/* 2. Mapa: el iframe llena exactamente el contenedor (sin espacio sobrante) */
.HQ-Map { padding: 0 !important; margin: 0 !important; line-height: 0; box-sizing: border-box; }
.HQ-Map iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
    vertical-align: top;
}

/* 3. Mobile: header compacto en una sola fila (logo + texto), Facebook oculto */
@media (max-width: 768px) {
    .header {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 10px 12px !important;
        min-height: 0 !important;
    }
    .headerLogo {
        width: 64px !important;
        height: 64px !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .headerLogo img { width: 100% !important; height: auto !important; }
    .headerCompanyName {
        flex: 1 1 auto !important;
        width: auto !important;
        text-align: left !important;
        padding: 0 !important;
        min-height: 0 !important;
    }
    .headerTitle {
        font-size: 22px !important;
        line-height: 1.15 !important;
        padding: 0 !important;
        height: auto !important;
        text-align: left !important;
    }
    .headerSubTitle {
        font-size: 11px !important;
        line-height: 1.25 !important;
        padding: 2px 0 0 0 !important;
        height: auto !important;
        text-align: left !important;
    }
    .headerSocial { display: none !important; }
    /* mapa en mobile: altura razonable, iframe llena contenedor sin gaps */
    .HQ-Map { height: 280px !important; width: 100% !important; }
    .HQ-Map iframe { height: 100% !important; width: 100% !important; }
}


/* ===================================================================
   LAYOUT SEDES: CSS Grid para reordenar secciones
   Desktop: [Slider] | [Apartamentos | Ubicación] | Servicios | Actividades
   Mobile:  Slider → Apartamentos → Servicios → Actividades → Ubicación
   =================================================================== */
/* Desktop: layout legacy con floats (sin tocar). HQ-Apartments queda a la izquierda
   y HQ-Info a la derecha por sus floats originales. HQ-ServiceContent (Servicios y
   Actividades) va debajo con clear:both. */

/* Mobile: el reorden (Ubicación al final) se hace via JavaScript (más abajo en el HTML)
   porque display:contents + flex order tiene quirks en Safari iOS. */
@media (max-width: 768px) {
    body[data-sede] .HQ-Apartments { width: 100% !important; float: none !important; }
    body[data-sede] .HQ-Info       { width: 100% !important; float: none !important; }
}
