* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #f5f1eb;
    color: #111111;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-header {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 56px;
    background: rgba(250, 247, 241, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-weight: 900;
    color: #6f5b3f;
}

.real-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.logo small {
    font-size: 14px;
    font-weight: 900;
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f766e;
    color: white;
    font-weight: 900;
}

.logo-text {
    font-weight: 900;
    font-size: 22px;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-header nav > a {
    text-decoration: none;
    font-weight: 900;
    color: #111111;
}

.language-dropdown {
    position: relative;
}

.language-button {
    border: 1px solid rgba(15, 118, 110, 0.18);
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    padding: 8px;
    min-width: 160px;
    display: none;
    z-index: 999;
}

.language-dropdown.open .language-menu {
    display: block;
}

.language-menu a {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
}

.language-menu a:hover,
.language-menu a.active {
    background: #edf8f6;
    color: #0f766e;
}

.hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 28px 54px;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 34px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.08em;
    margin: 14px 0 22px;
}

.hero-content p {
    font-size: 20px;
    color: #6f6a63;
    line-height: 1.55;
    max-width: 680px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.09);
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn,
.request-form button,
.modal-request-form button {
    border: 0;
    border-radius: 999px;
    background: #0f766e;
    color: white;
    padding: 15px 22px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:hover,
.request-form button:hover,
.modal-request-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 35px rgba(15, 118, 110, 0.22);
}

.btn.secondary {
    background: #ffffff;
    color: #111111;
}

.btn.small {
    padding: 12px 18px;
    font-size: 14px;
}

.whatsapp-submit {
    background: #25D366 !important;
    color: #ffffff !important;
}

.hero-meta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-meta span {
    padding: 10px 14px;
    background: rgba(255,255,255,0.8);
    border-radius: 999px;
    color: #6f5b3f;
    font-weight: 800;
}

.hero-card {
    height: 560px;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(0,0,0,0.12);
    text-decoration: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-label {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    border-radius: 24px;
    padding: 18px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
}

.hero-slide-label span {
    color: #6f6a63;
    font-weight: 800;
}

.hero-slide-label strong {
    display: block;
    margin-top: 4px;
    font-size: 22px;
}

.hero-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    color: #0f766e;
}

.hero-placeholder strong {
    display: block;
    font-size: 44px;
}

.notice {
    max-width: 1180px;
    margin: 20px auto;
    padding: 18px 22px;
    border-radius: 20px;
    font-weight: 900;
}

.notice.success {
    background: #dcfce7;
    color: #166534;
}

.notice.error {
    background: #fee2e2;
    color: #991b1b;
}

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 20px;
}

.intro {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: center;
}

.intro h2,
.section-head h2,
.request-copy h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.07em;
    margin: 12px 0 18px;
}

.intro p,
.request-copy p {
    color: #6f6a63;
    font-size: 18px;
    line-height: 1.55;
}

.contact-box {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.contact-box span {
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: #7a6a56;
    margin-top: 12px;
}

.contact-box a {
    display: block;
    margin-top: 4px;
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.apartment-grid {
    display: grid;
    gap: 34px;
}

.apartment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
    border-radius: 34px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: 0.25s ease;
}

.apartment:hover {
    transform: translateY(-3px);
    box-shadow: 0 34px 85px rgba(0,0,0,0.12);
}

.gallery {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #ddd;
}

.gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 0.35s ease;
}

.gallery img.active {
    opacity: 1;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #111111;
    font-size: 32px;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.gallery-btn.prev {
    left: 18px;
}

.gallery-btn.next {
    right: 18px;
}

.no-image {
    height: 100%;
    display: grid;
    place-items: center;
    color: #777;
    font-weight: 900;
}

.apartment-body {
    padding: 54px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apartment-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.apartment h3 {
    margin: 0;
    font-size: 34px;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.location {
    margin: 10px 0 0;
    color: #8a765b;
    font-weight: 900;
}

.price {
    white-space: nowrap;
    background: #f4eee5;
    color: #6f4f26;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 900;
}

.short {
    font-size: 20px;
    font-weight: 900;
    margin: 26px 0 10px;
}

.description {
    color: #6f6a63;
    line-height: 1.6;
}

.apartment-actions {
    margin-top: 24px;
}

.empty-state {
    background: #ffffff;
    padding: 38px;
    border-radius: 28px;
}

.request-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    align-items: start;
}

.request-form,
.modal-request-form {
    background: #ffffff;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 26px 70px rgba(0,0,0,0.08);
}

.request-form label,
.modal-request-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 900;
    color: #4b443b;
    margin-bottom: 16px;
}

.request-form input,
.request-form textarea,
.request-form select,
.modal-request-form input,
.modal-request-form textarea,
.modal-request-form select {
    width: 100%;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 18px;
    padding: 15px 16px;
    background: #fbfaf7;
    outline: none;
}

.request-form input:focus,
.request-form textarea:focus,
.request-form select:focus,
.modal-request-form input:focus,
.modal-request-form textarea:focus,
.modal-request-form select:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.privacy-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px !important;
    font-size: 14px;
    line-height: 1.4;
}

.privacy-check input {
    width: auto !important;
    margin-top: 3px;
}

.privacy-check a {
    color: #0f766e;
    font-weight: 900;
}

.form-submit-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-submit-row button {
    flex: 1;
    min-width: 190px;
}

.footer {
    max-width: 1180px;
    margin: 60px auto 0;
    padding: 44px 20px 60px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-logo .real-logo {
    height: 48px;
}

.footer p {
    color: #6f6a63;
}

.instagram-link,
.footer-links a {
    display: block;
    text-decoration: none;
    font-weight: 900;
    margin: 8px 0;
}

/* MODAL */

.booking-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.booking-modal.active {
    display: flex;
}

.booking-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.58);
    backdrop-filter: blur(8px);
}

.booking-modal-card {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    max-height: calc(100vh - 52px);
    overflow: auto;
    background: #ffffff;
    border-radius: 34px;
    box-shadow: 0 40px 120px rgba(0,0,0,0.36);
    padding: 34px;
}

.apartment-detail-card {
    padding: 0;
}

.booking-modal-close {
    position: sticky;
    top: 18px;
    margin-left: auto;
    display: flex;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
    z-index: 5;
}

.apartment-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 0;
}

.apartment-detail-left {
    padding: 44px;
    background: #fffaf3;
}

.apartment-detail-right {
    padding: 44px;
    background: #ffffff;
    border-left: 1px solid rgba(0,0,0,0.08);
}

.apartment-detail-right h3 {
    margin: 0 0 20px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.booking-modal-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.booking-modal-head h2 {
    margin: 12px 0 8px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.booking-modal-head p {
    margin: 0;
    color: #8a765b;
    font-weight: 900;
}

.booking-modal-price {
    background: #f4eee5;
    color: #6f4f26;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 900;
    white-space: nowrap;
}

.booking-modal-description {
    color: #6f6a63;
    line-height: 1.6;
    margin: 0 0 20px;
}

.booking-modal-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 14px;
}

.booking-modal-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #ffffff;
    font-weight: 900;
    color: #4b443b;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: inline-block;
}

.legend-dot.available {
    background: #e7f8ef;
    border: 1px solid #16a34a;
}

.legend-dot.blocked {
    background: #ef4444;
}

.legend-dot.selected {
    background: #0f766e;
}

.booking-modal-hint {
    color: #6f6a63;
    margin: 0 0 22px;
    line-height: 1.5;
}

.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0;
}

.calendar-toolbar strong {
    font-size: 24px;
    letter-spacing: -0.03em;
}

.calendar-toolbar button {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 0;
    background: #ffffff;
    color: #111111;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

.calendar-loading {
    padding: 14px 16px;
    border-radius: 16px;
    background: #ffffff;
    margin-bottom: 14px;
    font-weight: 900;
    color: #0f766e;
}

.airbnb-calendar {
    background: #ffffff;
    border-radius: 26px;
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.07);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-weekdays {
    margin-bottom: 8px;
}

.calendar-weekdays div {
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    color: #8a765b;
    text-transform: uppercase;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f7fbf8;
    color: #111111;
    font-weight: 900;
    cursor: pointer;
    transition: 0.15s ease;
}

.calendar-day:hover:not(:disabled) {
    background: #dff5ea;
    border-color: #0f766e;
}

.calendar-day.empty {
    background: transparent;
    border: 0;
    pointer-events: none;
}

.calendar-day.blocked {
    background: #ef4444;
    color: #ffffff;
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.9;
}

.calendar-day.past {
    background: #eeeeee;
    color: #aaaaaa;
    cursor: not-allowed;
}

.calendar-day.selected,
.calendar-day.selected-start,
.calendar-day.selected-end {
    background: #0f766e;
    color: #ffffff;
    border-color: #0f766e;
}

.calendar-day.in-range {
    background: #bceadd;
    color: #064e3b;
    border-color: #bceadd;
}

.selected-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 18px 0;
}

.selected-dates div {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.07);
}

.selected-dates span {
    display: block;
    color: #8a765b;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 5px;
}

.selected-dates strong {
    font-size: 18px;
}

.calendar-refresh-note {
    color: #8a765b;
    font-weight: 800;
}

.modal-request-form {
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.modal-request-form input[readonly] {
    background: #f1f5f4;
    color: #0f766e;
    font-weight: 900;
}

.maintenance-body {
    min-height: 100vh;
    background: #111827;
    color: white;
}

.maintenance-lang {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10;
}

.maintenance {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.maintenance-card {
    text-align: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 34px;
    padding: 44px;
    max-width: 560px;
    backdrop-filter: blur(20px);
}

.maintenance-logo .real-logo {
    height: 70px;
    filter: brightness(0) invert(1);
}

.pulse {
    margin: 30px auto;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    display: grid;
    place-items: center;
}

.pulse span {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #0f766e;
    animation: pulse 1.4s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.maintenance-card h1 {
    font-size: 46px;
    margin: 0 0 12px;
}

.maintenance-card p {
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
}

.by {
    margin-top: 22px;
    color: rgba(255,255,255,0.55);
    font-weight: 900;
}

@media (max-width: 1050px) {
    .hero,
    .intro,
    .request-section,
    .apartment,
    .apartment-detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-card {
        height: 420px;
    }

    .apartment-detail-right {
        border-left: 0;
        border-top: 1px solid rgba(0,0,0,0.08);
    }
}

@media (max-width: 760px) {
    .site-header {
        height: auto;
        padding: 18px;
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }

    .site-header nav {
        width: 100%;
        gap: 14px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 40px 18px;
    }

    .section {
        padding: 32px 18px;
    }

    .apartment-body {
        padding: 30px 22px;
    }

    .apartment h3 {
        font-size: 30px;
    }

    .apartment-top {
        flex-direction: column;
    }

    .booking-modal {
        padding: 0;
        align-items: stretch;
    }

    .booking-modal-card {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .apartment-detail-left,
    .apartment-detail-right {
        padding: 26px 18px;
    }

    .form-row,
    .selected-dates {
        grid-template-columns: 1fr;
    }

    .calendar-grid {
        gap: 5px;
    }

    .calendar-day {
        min-height: 40px;
        border-radius: 12px;
        font-size: 13px;
    }

    .footer {
        flex-direction: column;
    }
}