.logo {
    width: 200px;
    margin: 15px;
}

#content-absolute {
    position: relative;
    height: auto;
    min-height: 100vh;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

.hero-copy {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.hero-copy h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-copy .lead {
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-copy .btn-main {
    padding: 12px 28px;
    border-radius: 8px;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    margin-top: 22px;
}

.language-switch {
    position: absolute;
    top: 18px;
    right: 120px;
    z-index: 1002;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(20, 23, 27, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.language-switch a,
.language-switch span {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 600;
}

.language-switch a:hover,
.language-switch a.active {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.language-switch-menu {
    display: none;
}

.contact-page #section-main .de-content-overlay {
    border-radius: 14px;
}

.about-why-book {
    border-radius: 14px;
}

.about-reviews {
    border-radius: 14px;
}

.about-us-block {
    border-radius: 14px;
}

.apartment-intro,
.apartment-featured {
    border-radius: 14px;
}

.apartments-page #section-main .de-room {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.apartments-page #section-main .de-room .d-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.apartments-page #section-main .de-room .d-image .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apartments-page #section-main .de-room .d-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apartments-page #section-main .de-room .d-text p {
    min-height: 72px;
}

.apartments-page #section-main .de-room .d-text .btn-line {
    margin-top: auto;
}

.apartment-patio-carousel .title {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    margin-bottom: 10px;
}

.apartment-patio-carousel .d-carousel {
    max-width: 980px;
    margin: 0 auto;
}

.apartment-patio-carousel .item .picframe img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.apartment-patio-carousel .owl-dots {
    margin-top: 8px !important;
}

.apartment-patio-carousel .d-arrow-left,
.apartment-patio-carousel .d-arrow-right {
    transform: scale(0.86);
    opacity: 0.86;
}

.apartment-single-page #carousel-rooms .item .picframe {
    border-radius: 10px;
    overflow: hidden;
}

.apartment-single-page #carousel-rooms .item .picframe img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.apartment-single-page .d-carousel {
    margin-bottom: 8px;
}

.apartment-single-page .d-room-details {
    margin-top: 8px;
    margin-bottom: 18px;
}

.apartment-single-page .row.mt-4 {
    margin-top: 8px !important;
}

.apartment-services-block {
    margin-top: 8px;
}

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

.booking-service-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.booking-service-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    column-gap: 10px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.booking-service-icon img {
    width: 20px;
    height: 20px;
}

.booking-service-card p {
    margin: 0;
    line-height: 1.4;
}

.booking-facilities-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
}

.booking-facilities-list li i {
    color: #1ca45d;
    font-size: 16px;
    margin-top: 3px;
    flex: 0 0 16px;
}

.booking-facilities-list li span {
    display: block;
    line-height: 1.45;
}

.booking-rules-list li i {
    color: #4aa3ff;
}

.live-valencia-intro {
    border-radius: 14px;
}

.live-valencia-card {
    height: 100%;
    min-height: 540px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
}

.live-valencia-masonry {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.live-valencia-item {
    margin: 0;
}

.live-valencia-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.2);
}

.live-valencia-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.live-valencia-card:hover .live-valencia-image {
    transform: scale(1.04);
}

.live-valencia-copy {
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.live-valencia-copy h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.live-valencia-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.62;
}

.live-valencia-copy p:last-child {
    margin-bottom: 0;
}

@media (min-width: 1200px) {
    .live-valencia-masonry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .live-valencia-card {
        min-height: 560px;
    }
}

.about-stats {
    margin: 8px 0 14px;
}

.about-stat-card {
    height: 100%;
    padding: 16px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.about-stat-number {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 14px;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.9);
}

.about-why-grid {
    margin-top: 12px;
}

.about-why-card {
    height: 100%;
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 14px 14px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.about-why-card .icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    align-self: center;
}

.about-why-card .icon img {
    width: 22px;
    height: 22px;
}

.about-why-card p {
    margin: 0;
    line-height: 1.45;
}

.about-review-card {
    height: 100%;
    padding: 20px 16px 18px;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.about-review-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    margin: 2px 0 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-review-brand {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.about-review-number {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 52px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.about-review-number span {
    font-size: 26px;
    font-weight: 600;
    opacity: 0.9;
}

.about-review-card p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 767px) {
    #wrapper,
    #content,
    #content-absolute {
        max-width: 100%;
        overflow-x: hidden;
    }

    header .container-fluid {
        padding-left: 4px;
        padding-right: 10px;
    }

    div#logo {
        margin-top: 0 !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    #logo a {
        display: block;
        text-align: left;
    }

    #logo .logo {
        width: 120px;
        max-width: 120px;
        height: auto;
        margin: 8px 0 8px -3px;
        display: block;
    }

    #mo-button-open {
        right: 14px;
    }

    .language-switch {
        display: none;
    }

    .language-switch-menu {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 22px;
        z-index: 10002;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 0 auto;
        width: fit-content;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(22, 25, 30, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.28);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    }

    .language-switch-menu a,
    .language-switch-menu span {
        font-family: "Montserrat", Arial, Helvetica, sans-serif;
        font-size: 13px;
        letter-spacing: 1px;
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        font-weight: 600;
    }

    .language-switch-menu a.active,
    .language-switch-menu a:hover {
        color: #ffffff;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    #menu-overlay .mo-nav {
        padding-bottom: 90px;
    }

    .contact-page #content-absolute {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding-top: 155px;
    }

    .contact-page #subheader {
        padding-top: 30px;
        padding-bottom: 34px;
    }

    .contact-page #subheader h4 {
        font-size: 42px;
        line-height: 0.9;
    }

    .contact-page #subheader h1 {
        font-size: 38px;
        line-height: 1.05;
        margin-top: 8px;
    }

    .contact-page .float-text {
        display: none;
    }

    .contact-page #section-main {
        padding-top: 26px;
        padding-bottom: 40px;
    }

    .contact-page #section-main .de-content-overlay {
        padding: 18px 14px;
    }

    .contact-page #section-main h3 {
        font-size: 24px;
        line-height: 1.2;
    }

    .contact-page #section-main .form-control {
        margin-bottom: 10px;
    }

    .contact-page #section-main .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left top;
        margin-bottom: 8px;
    }

    .contact-page #section-main #submit {
        margin-top: 10px !important;
    }

    .contact-page #section-main .btn.btn-line {
        width: 100%;
    }

    .about-page #content-absolute {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding-top: 130px;
    }

    .about-page #subheader {
        padding-top: 18px;
    }

    .about-why-book {
        padding: 18px 14px !important;
    }

    .about-stat-number {
        font-size: 34px;
    }

    .about-review-number {
        font-size: 42px;
    }

    .about-review-number span {
        font-size: 22px;
    }

    .about-why-card {
        padding: 12px;
    }

    .apartments-page #content-absolute {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding-top: 128px;
    }

    .apartments-page #subheader {
        padding-top: 18px;
    }

    .apartment-intro,
    .apartment-featured {
        padding: 18px 14px !important;
    }

    .apartment-patio-carousel .d-carousel {
        max-width: 100%;
    }

    .apartment-patio-carousel .item .picframe img {
        height: 150px;
    }

    .apartment-single-page #carousel-rooms .item .picframe img {
        height: 220px;
    }

    .apartment-single-page .row.mt-4 {
        margin-top: 4px !important;
    }

    .booking-service-cards {
        grid-template-columns: 1fr;
    }

    .apartments-page .de-room .d-text h3 {
        font-size: 24px;
    }

    .apartments-page #section-main .de-room .d-image {
        aspect-ratio: 16 / 11;
    }

    .apartments-page #section-main .de-room .d-text p {
        min-height: 0;
    }

    .live-valencia-page #content-absolute {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding-top: 128px;
    }

    .live-valencia-page #subheader {
        padding-top: 18px;
    }

    .live-valencia-intro {
        padding: 18px 14px !important;
    }

    .live-valencia-copy {
        padding: 14px 12px;
    }

    .live-valencia-masonry {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .live-valencia-item {
        margin: 0;
    }

    .live-valencia-card {
        min-height: 0;
    }

    .hero-copy {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-copy .lead {
        margin-bottom: 18px;
    }
}

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(160deg, rgba(18, 22, 28, 0.72), rgba(8, 10, 13, 0.78)), url('/assets/images/background/patacona.jpeg') center center / cover no-repeat fixed;
}

.error-wrap {
    width: min(92%, 680px);
    margin: 0 auto;
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.error-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.error-logo img {
    width: min(230px, 70vw);
    height: auto;
}

.error-wrap h1 {
    color: #ffffff;
    margin: 0 0 10px;
}

.error-wrap p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px;
}

.error-wrap .btn-main {
    display: inline-block;
}
