/* ==========================================================================
   RESIDENCIAL PORTA AL VEDAT - FAITHFUL REPLICA STYLESHEET
   ========================================================================== */

/* 1. ROOT VARIABLES & GLOBAL RESET */
:root {
    --primary-red: #fa0808;
    --primary-red-dark: #d60505;
    --dark-bg: #1c1c1c;
    --dark-text: #222222;
    --light-gray-bg: #f2f0ef;
    --video-bg: #a5a5a5;
    --border-gray: #e5e5e5;
    --paspartu-width: 25px;
    --header-height: 90px;
    --font-heading: 'Raleway', 'Open Sans', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    font-family: var(--font-body);
    color: #444444;
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text_center {
    text-align: center;
}

/* SPA View Toggle (router: home / calidades) */
.view {
    display: none;
}

.view.active {
    display: block;
}

/* 2. PASPARTU OUTER FRAME (PORTA AL VEDAT SIGNATURE BORDER) */
.paspartu_outer {
    padding: var(--paspartu-width) var(--paspartu-width) 0 var(--paspartu-width);
    background-color: #ffffff;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
}

.paspartu_inner {
    background-color: #ffffff;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.03);
}

@media (max-width: 1024px) {
    .paspartu_outer {
        padding: 15px 15px 0 15px;
    }
}

@media (max-width: 600px) {
    .paspartu_outer {
        padding: 0;
    }
}

/* 3. PAGE HEADER & NAVIGATION */
.page_header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 999;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.header_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-height);
}

.logo_wrapper img {
    height: 70px;
    width: auto;
    object-fit: contain;
    background-color: #ffffff;
}

.main_menu .nav_list {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav_item {
    position: relative;
}

.nav_item > a {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #222222;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.nav_item > a:hover {
    color: var(--primary-red);
}

.nav_arrow {
    font-size: 10px;
    transition: transform 0.25s ease;
}

/* Dropdown Menu - Faithful Replica to User Screenshot */
.has_dropdown {
    position: relative;
}

.has_dropdown:hover .dropdown_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has_dropdown:hover .nav_arrow {
    transform: rotate(180deg);
}

.dropdown_menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #282828; /* Dark charcoal background like uploaded image */
    min-width: 175px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    list-style: none;
    padding: 14px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    border-top: 3px solid var(--primary-red);
    z-index: 1000;
}

.dropdown_menu li a {
    display: block;
    padding: 10px 22px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.dropdown_menu li a:hover {
    background-color: #383838;
    color: var(--primary-red);
    padding-left: 26px;
}

/* Mobile Toggle */
.mobile_menu_button {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #222222;
    cursor: pointer;
}

.mobile_menu_list {
    display: none;
    background-color: #ffffff;
    border-top: 1px solid var(--border-gray);
    padding: 15px 20px;
}

.mobile_menu_list ul {
    list-style: none;
}

.mobile_menu_list li a {
    display: block;
    padding: 10px 0;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222222;
}

.mobile_menu_list > ul > li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile_dropdown_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile_sub_toggle {
    background: none;
    border: none;
    font-size: 14px;
    color: #444444;
    padding: 8px 12px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.mobile_sub_toggle.active {
    transform: rotate(180deg);
}

.mobile_sub_menu {
    list-style: none;
    padding-left: 15px;
    display: none;
    background: #f9f9f9;
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.mobile_sub_menu.active {
    display: block;
}

.mobile_sub_menu li a {
    font-size: 12px;
    font-weight: 700;
    color: #555555;
    padding: 6px 0;
    border-bottom: none;
}

.mobile_sub_menu li a:hover {
    color: var(--primary-red);
}

.footer_sub_menu {
    list-style: none;
    padding-left: 12px;
    margin-top: 4px;
}

.footer_sub_menu li a {
    font-size: 11px;
    color: #aaaaaa;
    line-height: 1.8;
    font-weight: 500;
}

.footer_sub_menu li a:hover {
    color: var(--primary-red);
}

@media (max-width: 992px) {
    .main_menu {
        display: none;
    }
    .mobile_menu_button {
        display: block;
    }
    .mobile_menu_list.active {
        display: block;
    }
}

/* 4. HERO SLIDER & FLOATING CONTACT FORM */
.hero_section {
    position: relative;
    width: 100%;
    height: 720px;
    background-color: #111111;
    overflow: hidden;
}

.slider_container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
}

.slide_content_wrapper {
    position: absolute;
    top: 160px;
    left: max(5%, calc(50% - 580px));
    max-width: 650px;
    z-index: 5;
}

.phase_badge {
    font-family: 'Open Sans', sans-serif;
    font-size: 55px;
    font-weight: 600;
    color: #ffffff;
    background: var(--primary-red);
    opacity: 0.95;
    padding: 4px 14px;
    display: inline-block;
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.slide_title {
    font-family: 'Open Sans', sans-serif;
    font-size: 72px;
    line-height: 80px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Floating Contact Form Card ("Pide cita previa:") */
.hero_form_card {
    position: absolute;
    top: 100px;
    right: max(5%, calc(50% - 580px));
    width: 400px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.form_header_title {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 12px;
}

.form_row {
    margin-bottom: 10px;
}

.form_row.half_row {
    display: flex;
    gap: 10px;
}

.form_col.full {
    width: 100%;
}

.form_col.half {
    width: 50%;
}

.hero_form_card label {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 3px;
}

.hero_form_card input[type="text"],
.hero_form_card input[type="email"],
.hero_form_card input[type="tel"],
.hero_form_card textarea {
    width: 100%;
    border: 1px solid #cccccc;
    background: #ffffff;
    padding: 5px 8px;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.hero_form_card input[type="text"]:focus,
.hero_form_card input[type="email"]:focus,
.hero_form_card input[type="tel"]:focus,
.hero_form_card textarea:focus {
    border-color: #333333;
}

.hero_form_card textarea {
    height: 75px;
    resize: none;
}

.privacy_row {
    margin-top: 10px;
    margin-bottom: 15px;
}

.privacy_label {
    display: flex !important;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px !important;
    color: #000000 !important;
    line-height: 1.4;
    cursor: pointer;
}

.privacy_label input[type="checkbox"] {
    margin-top: 2px;
}

.privacy_label a {
    color: #000000;
    text-decoration: underline;
}

.submit_row {
    margin-bottom: 0;
}

.wpcf7_submit_btn {
    background: #333333;
    color: #ffffff;
    border: none;
    padding: 8px 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpcf7_submit_btn:hover {
    background: var(--primary-red);
}

/* Slider Controls */
.slider_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: background 0.3s;
}

.slider_nav:hover {
    background: var(--primary-red);
}

.slider_nav.prev {
    left: 20px;
}

.slider_nav.next {
    right: 20px;
}

.slider_dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #ffffff;
}

@media (max-width: 1200px) {
    .slide_content_wrapper {
        left: 5%;
        top: 120px;
    }
    .hero_form_card {
        right: 5%;
        top: 80px;
    }
}

@media (max-width: 992px) {
    .hero_section {
        height: auto;
        min-height: 850px;
    }
    .slide_content_wrapper {
        position: relative;
        top: 40px;
        left: 0;
        padding: 0 20px;
        max-width: 100%;
    }
    .phase_badge {
        font-size: 32px;
    }
    .slide_title {
        font-size: 44px;
        line-height: 52px;
    }
    .hero_form_card {
        position: relative;
        top: 60px;
        right: auto;
        left: 0;
        margin: 0 auto 40px auto;
        width: calc(100% - 40px);
        max-width: 450px;
    }
}

/* 5. PROMOTION HIGHLIGHTS SECTION */
.highlights_section {
    padding: 60px 0 30px 0;
    background: #ffffff;
}

.main_headline {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 300;
    line-height: 42px;
    color: #222222;
    margin: 0;
}

.heading_separator {
    height: 1px;
    width: 63px;
    background-color: #0a0a0a;
    margin: 29px auto 15px auto;
    opacity: 1;
}

.porcelanosa_headline {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    margin: 0;
}

.porcelanosa_headline a {
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.porcelanosa_headline a:hover {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .main_headline {
        font-size: 22px;
        line-height: 32px;
    }
    .porcelanosa_headline {
        font-size: 20px;
    }
}

/* 5b. LA PROMOCIÓN EN CIFRAS SECTION */
.cifras_section {
    padding: 30px 0 60px 0;
    background: #ffffff;
}

.cifras_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.cifra_item {
    padding: 25px 15px;
    background: #f8f8f8;
    border: 1px solid #eeeeee;
    text-align: center;
}

.cifra_icon {
    width: 64px;
    height: 64px;
    background: #000000;
    border: 2px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: #ffffff;
    font-size: 22px;
}

.cifra_item:hover .cifra_icon {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.cifra_numero {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 600;
    color: #222222;
    line-height: 1.1;
}

.cifra_label {
    font-family: 'Open Sans', sans-serif;
    font-size: 12.5px;
    line-height: 1.6;
    color: #666666;
    margin-top: 8px;
}

@media (max-width: 992px) {
    .cifras_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cifras_grid {
        grid-template-columns: 1fr;
    }
}

/* 6. EXTERIORES SECTION */
.exteriores_section {
    padding: 40px 0 60px 0;
    background: #ffffff;
}

.section_subtitle {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 35px;
}

.exteriores_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.exterior_item {
    position: relative;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    background: #000;
}

.exterior_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out, opacity 0.3s ease;
    display: block;
}

.exterior_item:hover img {
    transform: scale(1.08);
    opacity: 0.9;
}

.zoom_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
    font-size: 24px;
}

.exterior_item:hover .zoom_overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .exteriores_grid {
        grid-template-columns: 1fr;
    }
    .exterior_item {
        height: 230px;
    }
}

/* 7. INTERIORES SECTION */
.interiores_section {
    padding: 20px 0 60px 0;
    background: #ffffff;
}

.interiores_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.interior_heading {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    text-align: left;
    margin-bottom: 12px;
}

.gallery_preview_card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
}

.gallery_img_wrapper {
    position: relative;
    overflow: hidden;
    height: 210px;
    background: #eee;
}

.gallery_img_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery_preview_card:hover img {
    transform: scale(1.05);
}

.gallery_badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 11px;
    font-family: 'Open Sans', sans-serif;
    padding: 3px 8px;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .interiores_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .interiores_grid {
        grid-template-columns: 1fr;
    }
}

/* 9. VIDEO SHOWCASE SECTION */
.video_showcase_section {
    background-color: var(--video-bg);
    padding: 40px 0;
}

.video_frame_container {
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    background: #000000;
}

.video_frame_container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    border: none;
}

/* 9. VALUE PILLARS SECTION */
.value_pillars_section {
    background-color: var(--light-gray-bg);
    padding: 60px 0;
}

.pillars_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.pillar_icon_holder img {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px auto;
    display: block;
}

.pillar_icon_holder i {
    width: 64px;
    height: 64px;
    background: #000000;
    border: 2px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: #ffffff;
    font-size: 24px;
}

.pillar_column:hover .pillar_icon_holder i {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.pillar_title {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 12px;
}

.pillar_text {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: #555555;
    max-width: 320px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pillars_grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 9b. CTA SECTION (PISO PILOTO / PREVENTA) */
.cta_section {
    background-color: #ffffff;
    padding: 50px 0 60px 0;
}

.cta_text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #555555;
    max-width: 700px;
    margin: 0 auto 10px auto;
}

.cta_email_link {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #222222;
    margin: 10px 0 15px 0;
    transition: color 0.3s ease;
}

.cta_email_link:hover {
    color: var(--primary-red);
}

.cta_note {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #888888;
    margin: 0;
}

/* 10. PARTNERS LOGOS SECTION */
.partners_logos_section {
    padding: 40px 0;
    background: #ffffff;
}

.partners_flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner_logo_item img {
    max-height: 55px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner_logo_item img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* 11. SITE FOOTER */
.site_footer {
    background-color: #000000;
    color: #ffffff;
}

.footer_top {
    padding: 60px 0 40px 0;
    background-color: #000000;
}

.footer_columns_grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 40px;
}

.footer_brand_logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.footer_brand_logo .brand_thin {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1.2;
}

.footer_brand_logo .brand_bold {
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.2;
}

.footer_title {
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-style: normal;
    text-transform: uppercase;
}

.footer_title.margin_top {
    margin-top: 30px;
}

.footer_contact_text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #ffffff;
}

.footer_contact_text a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer_contact_text a:hover {
    opacity: 0.8;
}

.footer_menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_menu a {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 2.2;
    display: block;
    transition: opacity 0.3s ease;
}

.footer_menu a:hover {
    opacity: 0.8;
}

.footer_sub_menu {
    list-style: none;
    padding-left: 15px;
    margin: 4px 0;
}

.footer_sub_menu a {
    font-size: 12px;
    color: #dddddd;
    line-height: 1.8;
}

/* Footer Logo Styling - White on Black background matching portaalvedat */
.footer_partner_logo {
    margin-top: 10px;
}

.logo_footer_canet {
    max-width: 320px;
    width: 320px;
    height: auto;
    display: block;
    margin-bottom: 20px;
    margin-left: -15px;
}

.logo_footer_sbc_img {
    max-width: 170px;
    height: auto;
    display: block;
    background: transparent;
}

.logo_footer_velamar_box {
    display: inline-block;
    border: none;
    padding: 0;
    margin-top: 5px;
    background-color: transparent;
}

.logo_footer_velamar_img {
    max-height: 85px;
    width: auto;
    display: block;
}

.footer_social_icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social_circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.social_circle:hover {
    background-color: #eaeaea;
    color: #666666;
}

.footer_bottom {
    padding-bottom: 25px;
}

.footer_bottom_line {
    height: 1px;
    background-color: #565656;
    margin-bottom: 20px;
}

.footer_legal_text p {
    font-size: 11px;
    color: #888888;
    margin: 0;
    text-align: left;
}

.footer_legal_text a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 992px) {
    .footer_columns_grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer_columns_grid {
        grid-template-columns: 1fr;
    }
}

/* 12. BACK TO TOP BUTTON */
.back_to_top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: #262626;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 2px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.back_to_top.visible {
    opacity: 1;
    visibility: visible;
}

.back_to_top:hover {
    background: var(--primary-red);
}

/* 13. COOKIE NOTICE BANNER */
.cookie_notice_bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000000;
    color: #ffffff;
    padding: 15px 30px;
    z-index: 99999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.cookie_notice_container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cn_text {
    font-size: 12px;
    line-height: 1.5;
}

.cn_btn {
    background: #333333;
    color: #ffffff;
    border: 1px solid #555555;
    padding: 6px 18px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    white-space: nowrap;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cn_btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

@media (max-width: 768px) {
    .cookie_notice_container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 14. LIGHTBOX MODAL WITH GALLERY NAVIGATION */
.lightbox_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox_modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox_close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    z-index: 100002;
    transition: color 0.2s;
}

.lightbox_close:hover {
    color: var(--primary-red);
}

.lightbox_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100002;
    transition: background 0.3s ease;
}

.lightbox_arrow:hover {
    background: var(--primary-red);
}

.lightbox_arrow.prev {
    left: 30px;
}

.lightbox_arrow.next {
    right: 30px;
}

.lightbox_content_box {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox_content_box img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox_caption {
    color: #ffffff;
    margin-top: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

/* 15. CALIDADES PAGE (MEMORIA DE CALIDADES) */
.calidades_header_image {
    width: 100%;
    max-height: 230px;
    overflow: hidden;
    background: #111111;
}

.calidades_header_image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.calidades_content_section {
    padding: 60px 0;
    background: #ffffff;
}

.calidades_intro_text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    max-width: 860px;
    margin: 0 auto;
}

/* ================= NOSOTROS SECTION STYLES ================= */
.nosotros_content_section {
    padding: 60px 0 80px 0;
    background-color: #ffffff;
}

.nosotros_entities_wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 45px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.nosotros_entity_card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
    background-color: #fcfcfc;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 40px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.nosotros_entity_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.nosotros_logo_box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 25px;
    width: 100%;
    aspect-ratio: 1 / 1;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.01);
}

.nosotros_logo_box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nosotros_info_box h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #1a2530;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nosotros_info_box h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #005c8a;
    line-height: 1.5;
    margin-bottom: 18px;
}

.nosotros_separator {
    width: 63px;
    height: 2px;
    background-color: #005c8a;
    margin-bottom: 20px;
}

.nosotros_info_box p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 8px;
}

.nosotros_info_box p strong {
    color: #333333;
}

.nosotros_info_box ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 8px;
}

.nosotros_info_box ul li {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 6px;
}

@media (max-width: 850px) {
    .nosotros_entity_card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 25px;
        text-align: center;
    }

    .nosotros_logo_box {
        max-width: 220px;
        margin: 0 auto;
    }

    .nosotros_separator {
        margin-left: auto;
        margin-right: auto;
    }

    .nosotros_info_box ul {
        text-align: left;
        display: inline-block;
    }
}

.calidades_download_wrapper {
    margin-top: 35px;
}

.calidades_download_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #333333;
    color: #ffffff;
    border: none;
    padding: 13px 36px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.calidades_download_btn:hover {
    background: #000000;
    color: #ffffff;
}

.calidades_items_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 30px;
    margin-top: 60px;
    text-align: center;
}

.calidad_item {
    padding: 0 10px;
}

.calidad_icon {
    width: 74px;
    height: 74px;
    background: #000000;
    border: 2px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    color: #ffffff;
    font-size: 26px;
}

.calidad_item:hover .calidad_icon {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.calidad_heading {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 10px;
}

.calidad_text {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    line-height: 1.65;
    color: #555555;
    margin: 0;
}

@media (max-width: 992px) {
    .calidades_items_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calidades_header_image img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .calidades_items_grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .calidades_header_image img {
        height: 160px;
    }
    .calidades_content_section {
        padding: 40px 0;
    }
}

/* 16. PLANOS PAGE SECTION & TABLES (PORTA AL VEDAT FAITHFUL REPLICA) */
.planos_content_section {
    padding: 60px 0 80px 0;
    background: #ffffff;
}

.zaguan_subheadline {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: #444444;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* Sub-navigation Tabs for Zaguanes */
.zaguan_tabs_wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 40px 0;
    flex-wrap: wrap;
}

.zaguan_tab_btn {
    background: #f4f4f4;
    color: #222222;
    border: 1px solid #d0d0d0;
    padding: 12px 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.zaguan_tab_btn:hover {
    background: #e5e5e5;
    color: #000000;
    border-color: #bbbbbb;
}

.zaguan_tab_btn.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.zaguan_tab_.btn_ver_plano:hover {
    background: #333333;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.badge_reservado {
    display: inline-block;
    padding: 6px 14px;
    background-color: #777777;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Master Plan Card Thumbnail */
.master_plan_wrapper {
    margin-bottom: 55px;
    display: flex;
    justify-content: center;
}

.master_plan_card {
    position: relative;
    border: 1px solid #e0e0e0;
    padding: 10px;
    background: #ffffff;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.master_plan_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.master_plan_card img {
    max-width: 270px;
    height: auto;
    display: block;
}

.zoom_hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    color: #555555;
    margin-top: 10px;
    font-weight: 600;
}

.master_plan_card:hover .zoom_hint {
    color: var(--primary-red);
}

/* Zaguán Panels */
.zaguan_panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.zaguan_panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Floor Section Rows (Schema on left, Table on right) */
.floor_section_row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
    padding-bottom: 45px;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
}

.floor_section_row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.floor_info_col {
    width: 220px;
    flex-shrink: 0;
    text-align: center;
}

.floor_title {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.floor_img_box {
    position: relative;
    border: 1px solid #e0e0e0;
    padding: 8px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
}

.floor_img_box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.floor_img_box:hover img {
    transform: scale(1.05);
}

.floor_zoom_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floor_img_box:hover .floor_zoom_overlay {
    opacity: 1;
}

/* Planos Table Styling */
.floor_table_col {
    flex-grow: 1;
    overflow-x: auto;
}

.planos_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
}

.planos_table th {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 14px;
    text-align: center;
}

.planos_table td {
    padding: 11px 14px;
    text-align: center;
    color: #222222;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.planos_table tbody tr:nth-child(odd) td {
    background-color: rgba(0, 0, 0, 0.035);
}

.planos_table tbody tr:hover td {
    background-color: rgba(250, 8, 8, 0.05);
}

.btn_ver_plano {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #222222;
    color: #ffffff !important;
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.btn_ver_plano:hover {
    background: var(--primary-red);
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .floor_section_row {
        flex-direction: column;
        align-items: center;
    }
    .floor_info_col {
        width: 100%;
        max-width: 250px;
        margin-bottom: 20px;
    }
    .floor_table_col {
        width: 100%;
    }
}

/* 17. PLANO DETAIL MODAL FOR BLUEPRINTS */
.plano_modal_card {
    background: #ffffff;
    width: 90%;
    max-width: 850px;
    border-radius: 4px;
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    max-height: 90vh;
    overflow-y: auto;
}

.plano_modal_header {
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 12px;
    margin-bottom: 25px;
    text-align: left;
}

.plano_modal_title {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.plano_modal_subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.plano_modal_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    text-align: left;
}

.plano_graphic_col {
    background: #f8f8f8;
    border: 1px solid #eeeeee;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.plano_graphic_col img {
    max-width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
}

.plano_details_heading {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 15px;
}

.plano_specs_list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.plano_specs_list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e5e5e5;
    font-size: 13.5px;
    color: #444444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plano_specs_list li i {
    color: var(--primary-red);
    width: 16px;
}

.plano_actions_group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn_cita {
    background: var(--primary-red) !important;
}

.btn_cita:hover {
    background: var(--primary-red-dark) !important;
}

@media (max-width: 768px) {
    .plano_modal_grid {
        grid-template-columns: 1fr;
    }
    .plano_modal_card {
        padding: 20px;
    }
}

/* UNIFIED GALLERY SHOWCASE SECTION */
.unified_gallery_section {
    padding: 60px 0 80px 0;
    background-color: #fcfcfc;
}

.unified_gallery_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.gallery_card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.gallery_card_title {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1c1c1c;
    padding: 18px 15px 12px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.gallery_img_container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery_img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery_img_container:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .unified_gallery_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .unified_gallery_grid {
        grid-template-columns: 1fr;
    }
}

/* Contacto Page Layout */
@media (max-width: 768px) {
    .contacto_grid_layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}


