/* ========================================
   VILLA SOLEDAD - MAIN STYLESHEET
   Color Scheme: Blue & Orange
   ======================================== */

:root {
    --primary-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --accent-orange: #f97316;
    --light-orange: #fb923c;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-gray: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --white: #ffffff;
}

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

img,
iframe,
video {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

input,
select,
textarea {
    min-width: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* ========== UTILITIES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 2rem;
    color: var(--accent-orange);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    line-height: 1.2;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-profile {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-profile:hover {
    background-color: var(--light-orange);
}

.btn-login {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background-color: var(--light-orange);
}

.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.login-modal.show {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
}

.login-modal-content {
    width: min(520px, 100%);
    max-width: 520px;
    background: #0f172a;
    border-radius: 28px;
    padding: 2rem;
    color: #f8fafc;
    position: relative;
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    transition: transform 0.25s ease;
}

.login-modal.show .login-modal-content {
    transform: translateY(0);
}

.login-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.login-modal-close:hover {
    color: #ffffff;
}

.login-popup-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.login-popup-header p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.login-popup-buttons {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-1px);
}

.social-btn-google {
    background: #ffffff;
    color: #1f1f1f;
    border: 1px solid #747775;
    font-weight: 500;
}

.social-btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 1px 2px rgba(60, 64, 67, 0.15);
}

.social-btn-google .google-logo {
    flex-shrink: 0;
}

.social-btn-facebook {
    background: #1877f2;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.social-btn i {
    font-size: 1.1rem;
}

.login-popup-disclaimer {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== NAVIGATION RIGHT (Notifications + Profile) ========== */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-notification {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

.btn-notification:hover {
    transform: scale(1.1);
}

.review-success-popup {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    display: flex !important;
    align-items: center;
    gap: 0.8rem;
    z-index: 11000;
    visibility: visible !important;
    opacity: 1 !important;
    width: min(420px, calc(100vw - 2rem));
    min-height: 68px;
    padding: 0.85rem 2.75rem 0.85rem 0.9rem;
    overflow: hidden;
    border: 2px solid #16a34a;
    border-radius: 14px;
    background: #ffffff;
    color: #000000;
    box-shadow: 0 16px 40px rgba(15, 50, 42, 0.18), 0 3px 10px rgba(15, 50, 42, 0.08);
    animation: reviewSuccessPopup 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-success-icon {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.9rem;
}

.review-success-message {
    color: #000000;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.review-success-close {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    background: #f1f5f3;
    color: #668078;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.review-success-close:hover {
    background: #dcfce7;
    color: #15803d;
}

@keyframes reviewSuccessPopup {
    from { opacity: 0; transform: translate3d(0, -12px, 0) scale(0.97); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 600px) {
    .review-success-popup {
        top: 0.85rem;
        right: 0.85rem;
        width: calc(100vw - 1.7rem);
    }
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-orange);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 350px;
    margin-top: 0.5rem;
    z-index: 100;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-gray);
    cursor: pointer;
    transition: background 0.3s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: var(--bg-light);
}

.notification-item p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.notification-item small {
    color: var(--text-light);
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

/* ========== PROFILE CIRCLE ========== */
.profile-circle {
    position: relative;
}

.circle-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.circle-avatar:hover {
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
    transform: scale(1.05);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 100;
    overflow: hidden;
}

.profile-item {
    display: block;
    padding: 0.75rem 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: none;
    font-family: inherit;
    font-size: 0.95rem;
}

.profile-item:hover {
    background: var(--bg-light);
    padding-left: 1.5rem;
}

.profile-item i {
    margin-right: 0.5rem;
    color: var(--accent-orange);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.52)), url('../images/villasoledadbg.png') center / cover no-repeat;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.hero-info-item i {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.hero-info-item h3 {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-blue);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* ========== SECTIONS ========== */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 2px;
}

.welcome-contact {
    background-color: var(--bg-light);
}

.welcome-contact .section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.welcome-contact .contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    grid-auto-rows: 1fr;
    justify-items: center;
    align-items: stretch;
    width: min(100%, 1080px);
    margin: 0 auto;
}

.welcome-contact .contact-card {
    width: 100%;
    max-width: 360px;
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 1rem;
}

.welcome-contact .contact-card-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    background: rgba(249, 115, 22, 0.14);
    border-radius: 18px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.welcome-contact .contact-card-icon i {
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.welcome-contact .contact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.welcome-contact .contact-card h3 {
    font-size: 1.35rem;
    margin: 0;
    color: var(--primary-blue);
}

.welcome-contact .contact-card-details {
    width: 100%;
}

.welcome-contact .contact-card p {
    margin: 0.35rem 0;
    color: #475569;
    line-height: 1.8;
}

.welcome-contact .contact-card strong {
    color: var(--text-dark);
}

@media (max-width: 980px) {
    .welcome-contact .contact-cards {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 700px) {
    .welcome-contact .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* ========== LOCATION SECTION ========== */
.location {
    background: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.78)), url('../images/villasoledadbg.png') center / cover no-repeat !important;
}

.resort-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.resort-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resort-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.resort-info-card i {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.resort-info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.resort-info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.map-container {
    display: block;
    margin-top: 0;
    text-align: center;
}

.map-container > div:first-child {
    text-align: center;
}

.map-container iframe {
    width: 100%;
    max-width: none;
    height: 380px;
    border: 0;
    margin: 0;
    display: block;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-info-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.map-info-item i {
    font-size: 1.8rem;
    color: var(--accent-orange);
    min-width: 30px;
}

.map-info-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.map-info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.location-facade-layout {
    display: block;
    width: 100%;
    color: #ffffff;
}

.location-facade-header {
    text-align: center;
    margin-bottom: 2rem;
}

.location-facade-header h2 {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    color: #ffffff !important;
    background: transparent;
    border-radius: 8px;
    margin: 0;
}

.location-facade-layout h2,
.location-facade-layout h3,
.location-facade-layout p {
    color: #ffffff !important;
}

.location-facade-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
    gap: 2.25rem;
    align-items: start;
}

.location-heading,
.facade-heading {
    width: fit-content;
    padding: 0.55rem 0.85rem;
    color: #ffffff !important;
    background: transparent;
    border-radius: 6px;
    margin: 0 0 1rem;
    font-size: 1.15rem;
}

.location-facade-content > * {
    min-width: 0;
}

.location-heading {
    grid-column: 1;
}

.map-container {
    grid-column: 1;
}

.facade-heading {
    grid-column: 2;
    grid-row: 1;
}

.facade-grid {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    max-width: 620px;
    margin: 0 auto;
}

.facade-card {
    display: block;
    background: var(--white);
    border-radius: 14px;
    width: 100%;
    height: 380px;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.facade-card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.facade-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

@media (max-width: 900px) {
    .location-facade-content {
        grid-template-columns: 1fr;
    }

    .facade-grid {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        max-width: 620px;
    }
}

@media (max-width: 560px) {
    .location-facade-layout {
        padding: 1.25rem;
    }

    .facade-heading {
        grid-column: 1;
        grid-row: auto;
    }

    .facade-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .facade-card {
        height: 300px;
    }
}

/* ========== HOME PAGE REFERENCE LAYOUT ========== */
.home-page {
    background: #eaf2f9;
    color: #16324f;
}

.home-page .header {
    position: fixed;
    inset: 0 0 auto;
    background: rgba(246, 250, 253, 0.94);
    color: #183b5d;
    padding: 0.55rem 0;
    box-shadow: 0 1px 12px rgba(18, 58, 91, 0.08);
    backdrop-filter: blur(12px);
}

.home-page .header .container {
    max-width: 1240px;
}

.home-page .header .logo {
    gap: 0.6rem !important;
}

.home-page .header .logo img {
    width: 44px !important;
    height: 44px !important;
    box-shadow: none !important;
}

.home-page .header .logo span {
    color: #234663 !important;
    font-size: 1.05rem !important;
    line-height: 1.1;
}

.home-page .nav-links {
    gap: clamp(1rem, 2.4vw, 2.15rem);
}

.home-page .nav-links a {
    color: #49647b;
    font-size: 0.82rem;
    font-weight: 600;
}

.home-page .nav-links a:hover,
.home-page .nav-links a:focus {
    color: #1f73b7;
}

.home-page .nav-links a::after {
    background-color: #2d8bd0;
}

.home-page .btn-login,
.home-page .btn-profile {
    background: transparent !important;
    border: 1px solid #d4e0ea !important;
    border-radius: 8px !important;
    color: #294b67 !important;
    padding: 0.65rem 1rem !important;
}

.home-page .welcome-contact {
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    padding: 8.5rem 0 2.25rem !important;
    background: linear-gradient(90deg, rgba(9, 40, 68, 0.68), rgba(9, 40, 68, 0.14) 68%, rgba(9, 40, 68, 0.08)), url('../images/villasoledadbg.png') center / cover no-repeat !important;
    color: #ffffff;
}

.home-page .home-section-with-bg {
    background: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.78)), url('../images/villasoledadbg.png') center / cover no-repeat !important;
}

#rooms .home-section-heading,
#cottages .home-section-heading,
#pools .home-section-heading {
    text-align: center;
    color: #ffffff !important;
    margin: 0 0 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
}

#rooms,
#cottages,
#pools {
    scroll-margin-top: 88px;
    padding-top: 4.5rem !important;
}

#rooms .home-section-heading::after,
#cottages .home-section-heading::after,
#pools .home-section-heading::after {
    display: none !important;
}

.home-page .welcome-contact .container {
    width: 100%;
    max-width: 1240px;
}

.home-page .welcome-contact .section-intro {
    max-width: 560px !important;
    margin: 0 auto 2rem 0 !important;
    text-align: left !important;
}

.home-page .welcome-contact .section-intro h2 {
    margin-bottom: 0.9rem;
    color: #ffffff !important;
    font-size: clamp(2.7rem, 5vw, 4.25rem);
    line-height: 1.05;
    text-align: left;
    letter-spacing: 0;
}

.home-page .welcome-contact .section-intro h2::after,
.home-page .welcome-contact > .container > div:nth-child(2) h2::after {
    display: none;
}

.home-page .welcome-contact .section-intro p {
    max-width: 390px;
    margin: 0.55rem 0 !important;
    color: #edf7ff !important;
    font-size: 1rem;
    line-height: 1.65;
}

.home-page .welcome-contact > .container > div:nth-child(2) {
    display: none;
}

.home-page .welcome-contact .contact-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 920px;
    margin: 0 !important;
    justify-content: start !important;
}

.home-page .welcome-contact .contact-card {
    min-height: 142px !important;
    max-width: none !important;
    padding: 1.25rem !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.45rem !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    border-radius: 10px !important;
    background: rgba(240, 248, 255, 0.84) !important;
    box-shadow: 0 16px 28px rgba(7, 34, 58, 0.12) !important;
    text-align: left !important;
}

.home-page .welcome-contact .contact-card > div:first-child {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #dceefa !important;
}

.home-page .welcome-contact .contact-card > div:first-child i {
    color: #2378ae !important;
    font-size: 1rem !important;
}

.home-page .welcome-contact .contact-card h3 {
    color: #1d4f72 !important;
    font-size: 0.98rem !important;
}

.home-page .welcome-contact .contact-card p {
    color: #5c7489 !important;
    font-size: 0.78rem;
    line-height: 1.35;
}

.home-page .welcome-contact .contact-card strong {
    color: #315e7e !important;
}

.home-page .location,
.home-page .reviews {
    background-color: #eaf2f9;
}

.home-page .footer {
    background: rgba(246, 250, 253, 0.96);
    color: #49647b;
    padding: 1.6rem 0 1rem;
    border-top: 1px solid #dbe7f0;
    box-shadow: 0 -4px 18px rgba(24, 67, 98, 0.05);
}

.home-page .footer-content {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.home-page .footer-section h3 {
    margin-bottom: 0.55rem;
    color: #234663;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.home-page .footer-section p,
.home-page .footer-section a {
    color: #60788c;
    font-size: 0.95rem;
    line-height: 1.5;
}

.home-page .footer-section a:hover {
    color: #1f73b7;
}

.home-page .social-icons {
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.home-page .social-icons a,
.home-page .social-icons .social-facebook,
.home-page .social-icons .social-instagram,
.home-page .social-icons .social-tiktok {
    width: 34px;
    height: 34px;
    background: #dceefa;
    color: #2378ae;
    font-size: 0.9rem;
}

.home-page .social-icons a:hover {
    background: #c8e1f1;
}

.home-page .footer-bottom {
    padding-top: 0.9rem;
    border-top-color: #dbe7f0;
}

.home-page .footer-bottom p {
    color: #71879a;
    font-size: 0.88rem;
}

.home-page #reviews {
    padding: 2.2rem 0;
}

.home-page #reviews > .container {
    width: min(100% - 2rem, 820px);
    padding-right: 0;
    padding-left: 0;
}

.home-page #reviews > .container > div:first-child {
    margin-bottom: 1rem !important;
}

.home-page #reviews > .container > div:first-child h2 {
    margin-bottom: 0.45rem;
    font-size: 1.8rem;
}

.home-page #reviews > .container > div:first-child p {
    font-size: 0.82rem;
}

.home-page #reviews .review-form {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    border-radius: 8px;
}

.home-page #reviews .review-form h3 {
    margin-bottom: 0.5rem !important;
    font-size: 1.05rem;
}

.home-page #reviews .star-rating {
    margin-bottom: 0.45rem !important;
}

.home-page #reviews .star-rating i {
    font-size: 1.1rem !important;
}

.home-page #reviews textarea {
    min-height: 62px !important;
    padding: 0.65rem !important;
    font-size: 0.85rem;
}

.home-page #reviews .review-note {
    margin: 0.4rem 0 0.65rem !important;
    font-size: 0.75rem !important;
}

.home-page #reviews .review-form .btn-primary {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.home-page #reviews > .container > div:nth-of-type(2) {
    margin-bottom: 0.5rem !important;
}

.home-page #reviews > .container > div:nth-of-type(2) h3 {
    font-size: 1rem;
}

.home-page #reviews .review-item {
    width: 100%;
    padding: 0.85rem !important;
    margin-bottom: 0.65rem !important;
    border-radius: 8px;
}

.home-page #reviews .reviews-list {
    width: 100%;
    margin: 0 auto;
}

.home-page #reviews .review-item p {
    margin: 0.35rem 0 !important;
    font-size: 0.82rem;
    line-height: 1.45 !important;
}

.home-page #reviews .review-date {
    font-size: 0.72rem !important;
}

@media (max-width: 760px) {
    .home-page .header {
        position: fixed;
    }

    .home-page .welcome-contact {
        min-height: auto;
        padding-top: 3.5rem !important;
    }

    .home-page .welcome-contact .section-intro h2 {
        font-size: 2.7rem;
    }

    .home-page .welcome-contact .contact-cards {
        grid-template-columns: 1fr !important;
    }
}

.home-page .welcome-contact {
    display: block;
    min-height: 0;
    padding: 0 !important;
    background: #eaf2f9 !important;
}

.home-reference-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: 7.5rem max(1.5rem, calc((100% - 1240px) / 2)) 4rem;
    background: linear-gradient(90deg, rgba(11, 47, 78, 0.72), rgba(11, 47, 78, 0.18) 72%), url('../images/villasoledadbg.png') center / cover no-repeat;
}

.home-reference-hero-copy {
    width: min(100%, 530px);
    color: #ffffff;
}

.home-reference-eyebrow {
    display: block;
    margin-bottom: 0.8rem;
    color: #e4f2fb;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.home-reference-hero h1 {
    margin: 0 0 0.75rem;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.home-reference-hero-copy p {
    max-width: 380px;
    margin: 0;
    color: #edf7ff;
    font-size: 1rem;
    line-height: 1.65;
}

.home-reference-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.8rem 1.15rem;
    border: 0;
    border-radius: 7px;
    background: #1976c5;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.home-reference-cta:hover {
    background: #145f9d;
}

.home-reference-map-card {
    position: absolute;
    right: max(1.5rem, calc((100% - 1240px) / 2));
    bottom: -4.5rem;
    width: min(310px, 30vw);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(12, 49, 80, 0.2);
}

.home-reference-map-card.is-dragging {
    z-index: 5;
    box-shadow: 0 24px 44px rgba(12, 49, 80, 0.3);
}

.home-reference-map-heading,
.home-reference-map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
    color: #244862;
    font-size: 0.75rem;
}

.home-reference-map-heading i,
.home-reference-map-footer i {
    color: #217bc0;
}

.home-reference-map-heading strong {
    flex: 1;
}

.home-reference-map-heading {
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.home-reference-map-card.is-dragging .home-reference-map-heading {
    cursor: grabbing;
}

.home-reference-map-heading button {
    border: 0;
    background: transparent;
    color: #8799a8;
    font-size: 1.1rem;
    cursor: pointer;
}

.home-reference-map-card iframe {
    display: block;
    width: 100%;
    height: 205px;
    border: 0;
}

.home-reference-map-footer {
    font-size: 0.7rem;
}

.home-reference-map-footer a {
    color: #2772a7;
    font-weight: 600;
    text-decoration: none;
}

.home-reference-address {
    padding: 0;
    border: 0;
    background: transparent;
    color: #2772a7;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.home-reference-address:hover {
    text-decoration: underline;
}

.home-address-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 35, 55, 0.58);
}

.home-address-modal[hidden] {
    display: none;
}

.home-address-dialog {
    position: relative;
    width: min(100%, 420px);
    padding: 2rem;
    border: 1px solid #dbe7f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(12, 49, 80, 0.26);
    color: #234663;
    text-align: center;
}

.home-address-close {
    position: absolute;
    top: 0.65rem;
    right: 0.8rem;
    border: 0;
    background: transparent;
    color: #71879a;
    font-size: 1.45rem;
    cursor: pointer;
}

.home-address-icon {
    color: #2d8bd0;
    font-size: 1.8rem;
}

.home-address-dialog h2 {
    margin: 0.7rem 0 0.55rem;
    color: #234663;
    font-size: 1.35rem;
}

.home-address-dialog h2::after {
    display: none;
}

.home-address-dialog p {
    margin: 0 0 1.2rem;
    color: #60788c;
    line-height: 1.6;
}

.home-address-link {
    color: #1976c5;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.home-address-link:hover {
    text-decoration: underline;
}

.home-navigation-dialog {
    width: min(100%, 860px);
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.home-navigation-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dbe7f0;
    color: #234663;
}

.home-navigation-heading i {
    color: #1976c5;
    font-size: 1.1rem;
}

.home-navigation-body {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 1rem;
    padding: 1rem;
}

.home-navigation-body iframe {
    display: block;
    width: 100%;
    min-height: 390px;
    border: 0;
    border-radius: 8px;
}

.home-navigation-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.25rem;
}

.home-navigation-route {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.65rem;
    padding: 0.75rem;
    border-bottom: 1px solid #e5eef4;
    color: #234663;
}

.home-navigation-route i {
    grid-row: span 2;
    color: #1976c5;
}

.home-navigation-route span,
.home-navigation-step small {
    color: #71879a;
    font-size: 0.73rem;
}

.home-navigation-step {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.35rem 0.75rem;
    color: #234663;
    font-size: 0.82rem;
}

.home-navigation-step > i {
    width: 18px;
    margin-top: 0.15rem;
    color: #1976c5;
    text-align: center;
}

.home-navigation-step div {
    display: grid;
    gap: 0.1rem;
}

.home-navigation-details .home-address-link {
    display: block;
    margin-top: auto;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: #1976c5;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
}

.home-navigation-details .home-address-link:hover {
    background: #145f9d;
}

@media (max-width: 700px) {
    .home-navigation-body {
        grid-template-columns: 1fr;
    }

    .home-navigation-body iframe {
        min-height: 280px;
    }
}

.home-reference-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 4.8rem max(1.5rem, calc((100% - 1120px) / 2)) 2.7rem;
    background: #eaf2f9;
}

.home-reference-feature {
    min-width: 0;
    min-height: 245px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    color: #2b5878;
}

.home-reference-feature > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 0.9rem;
    border-radius: 12px;
    background: #d9ebf7;
    color: #2a5574;
    font-size: 1.1rem;
}

.home-reference-feature h3 {
    margin: 0 0 0.7rem;
    color: #2a5574;
    font-size: 1rem;
}

.home-reference-feature p {
    max-width: 100%;
    margin: 0.4rem auto;
    color: #668095;
    font-size: 0.84rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.home-reference-feature p strong {
    color: #173b5d;
}

.home-reference-resorts {
    padding: 1.2rem max(1.5rem, calc((100% - 1120px) / 2)) 4rem;
    background: #eaf2f9;
}

.home-reference-facade {
    padding-top: 1.5rem;
}

.home-facade-slideshow {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-radius: 8px;
    background: #c8dce9;
    box-shadow: 0 10px 24px rgba(24, 67, 98, 0.14);
}

.home-facade-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.65s ease;
}

.home-facade-slide {
    flex: 0 0 11.111%;
    min-width: 0;
    padding-right: 1rem;
}

.home-facade-slide img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 7px;
    object-fit: cover;
}

.home-facade-overlay-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-facade-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 47, 73, 0.62);
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    pointer-events: auto;
}

.home-facade-control:hover {
    background: rgba(15, 47, 73, 0.88);
}

.home-facade-prev {
    left: 1rem;
}

.home-facade-next {
    right: 1rem;
}

.home-facade-dots {
    position: absolute;
    right: 0;
    bottom: 1rem;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
}

.home-facade-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.home-facade-dot.is-active {
    background: #ffffff;
    transform: scale(1.25);
}

.home-reference-section-heading {
    margin-bottom: 1rem;
}

.home-reference-section-heading h2 {
    margin: 0;
    color: #19476b;
    font-size: 1.8rem;
    text-align: left;
}

.home-reference-section-heading h2::after {
    display: none;
}

.home-reference-section-heading p {
    margin: 0.1rem 0 0;
    color: #668095;
    font-size: 0.8rem;
}

.home-reference-resort-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-reference-resort-card {
    position: relative;
    display: block;
    min-height: 150px;
    overflow: hidden;
    border-radius: 7px;
    background: #c8dce9;
    box-shadow: 0 8px 18px rgba(24, 67, 98, 0.1);
    text-decoration: none;
}

.home-reference-resort-card img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.home-reference-resort-card span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.65rem 0.75rem;
    background: linear-gradient(transparent, rgba(7, 38, 64, 0.78));
    color: #ffffff;
    font-size: 0.83rem;
    font-weight: 700;
}

@media (max-width: 850px) {
    .home-reference-map-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 360px);
        margin: 2rem auto 0;
    }

    .home-reference-hero {
        display: block;
        padding-top: 5.5rem;
    }

    .home-reference-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-reference-hero {
        padding: 4rem 1.25rem 2.5rem;
    }

    .home-reference-features,
    .home-reference-resorts {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .home-reference-features {
        grid-template-columns: 1fr;
        padding-top: 4rem;
    }

    .home-reference-feature {
        min-height: 0;
    }

    .home-reference-resort-grid {
        grid-template-columns: 1fr;
    }

    .home-facade-slideshow {
        height: 200px;
    }
}

/* ========== ROOMS/FACILITIES SECTION ========== */
.facilities {
    background-color: var(--white);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.facility-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.facility-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-card.available::after {
    content: 'Available';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--success);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.facility-card.unavailable::after {
    content: 'Unavailable';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ef4444;
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pool-maintenance-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    z-index: 10;
}

.facility-info {
    padding: 1.5rem;
}

.facility-info h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.facility-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.facility-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.facility-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.facility-detail-item i {
    color: var(--accent-orange);
}

.facility-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.price-tag .period {
    font-size: 0.8rem;
    color: var(--text-light);
}

.btn-book {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-book:hover {
    background-color: var(--light-blue);
}

/* ========== REVIEWS SECTION ========== */
.reviews {
    background-color: var(--bg-light);
}

.review-form-box {
    margin-bottom: 2rem;
}

.review-form-box textarea {
    background: var(--white);
    border: none;
    resize: none;
    font-family: inherit;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

.review-form-box textarea::placeholder {
    color: #bbb;
}

.review-form-box textarea:focus {
    outline: none;
    background: var(--white);
}

.review-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.review-form textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.star-rating i {
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.star-rating i:hover,
.star-rating i.active {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.reviews-list {
    display: grid;
    gap: 1.5rem;
}

.review-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: var(--primary-blue);
}

.review-rating {
    color: var(--accent-orange);
}

.review-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Skeleton Loading Animation */
.reviews-skeleton {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.skeleton-item {
    height: 60px;
    background: linear-gradient(
        90deg,
        #e5e7eb 25%,
        #f3f4f6 50%,
        #e5e7eb 75%
    );
    background-size: 200% 100%;
    border-radius: 8px;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.btn-send-review {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--accent-orange);
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-send-review:hover {
    transform: scale(1.1);
    color: var(--light-orange);
}

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
}

/* ========== FOOTER ========== */
.footer {
    background: #2F58AD;
    color: #ffffff;
    padding: 2rem 0 1.25rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    align-items: start;
}

.footer-section h3 {
    margin-bottom: 0.7rem;
    color: #f97316;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f97316;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin-bottom: 0.45rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-size: 1rem;
    color: #ffffff;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons .social-facebook {
    background-color: rgba(255, 255, 255, 0.2);
    color: #1877f2;
}

.social-icons .social-instagram {
    background: rgba(255, 255, 255, 0.2);
    color: #e4405f;
}

.social-icons .social-tiktok {
    background-color: rgba(255, 255, 255, 0.2);
    color: #000000;
}

.social-icons a:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.social-icons .social-facebook:hover {
    color: #1877f2;
}

.social-icons .social-instagram:hover {
    color: #e4405f;
}

.social-icons .social-tiktok:hover {
    color: #000000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========== PUBLIC SYSTEM UI ========== */
body.public-page {
    background: #eaf2f9;
    color: #234663;
}

body.public-page .header {
    background: rgba(246, 250, 253, 0.96);
    color: #183b5d;
    padding: 0.55rem 0;
    box-shadow: 0 1px 12px rgba(18, 58, 91, 0.08);
    backdrop-filter: blur(12px);
}

body.public-page .header .logo img {
    width: 44px !important;
    height: 44px !important;
    box-shadow: none !important;
}

body.public-page .header .logo span {
    color: #234663 !important;
    font-size: 1.05rem !important;
}

body.public-page .header .logo,
body.public-page .header .logo i {
    color: #234663;
}

body.public-page .nav-links {
    gap: clamp(1rem, 2.4vw, 2.15rem);
}

body.public-page .nav-links a {
    color: #49647b;
    font-size: 0.82rem;
    font-weight: 600;
}

body.public-page .nav-links a:hover,
body.public-page .nav-links a:focus {
    color: #1f73b7;
}

body.public-page .nav-links a::after {
    background-color: #2d8bd0;
}

body.public-page .btn-login,
body.public-page .btn-profile {
    background: transparent !important;
    border: 1px solid #d4e0ea !important;
    border-radius: 8px !important;
    color: #294b67 !important;
    padding: 0.65rem 1rem !important;
}

body.public-page .footer {
    background: rgba(246, 250, 253, 0.96);
    color: #49647b;
    padding: 1.6rem 0 1rem;
    border-top: 1px solid #dbe7f0;
    box-shadow: 0 -4px 18px rgba(24, 67, 98, 0.05);
}

body.public-page .footer-section h3 {
    color: #234663;
    font-size: 1.1rem;
    letter-spacing: 0;
}

body.public-page .footer-section p,
body.public-page .footer-section a {
    color: #60788c;
    font-size: 0.95rem;
}

body.public-page .footer-section a:hover {
    color: #1f73b7;
}

body.public-page .social-icons a,
body.public-page .social-icons .social-facebook,
body.public-page .social-icons .social-instagram,
body.public-page .social-icons .social-tiktok {
    width: 34px;
    height: 34px;
    background: #dceefa;
    color: #2378ae;
}

/* Keep each footer icon in its recognizable platform color. */
.social-icons .social-facebook,
.home-page .social-icons .social-facebook,
body.public-page .social-icons .social-facebook {
    color: #1877f2 !important;
}

.social-icons .social-instagram,
.home-page .social-icons .social-instagram,
body.public-page .social-icons .social-instagram {
    color: #e4405f !important;
}

.social-icons .social-tiktok,
.home-page .social-icons .social-tiktok,
body.public-page .social-icons .social-tiktok {
    color: #111111 !important;
}

body.public-page .footer-bottom {
    padding-top: 0.9rem;
    border-top-color: #dbe7f0;
}

body.public-page .footer-bottom p {
    color: #71879a;
    font-size: 0.88rem;
}

body.public-page .about-hero,
body.public-page .contact-hero,
body.public-page .food-menu-hero {
    background: linear-gradient(90deg, rgba(11, 47, 78, 0.72), rgba(11, 47, 78, 0.18)), url('../images/villasoledadbg.png') center / cover no-repeat;
    padding: 6rem 0 4rem;
}

body.public-page .about-hero h1,
body.public-page .contact-hero h1,
body.public-page .food-menu-hero h1 {
    color: #ffffff;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

@media (max-width: 760px) {
    body.public-page:not(.home-page) .header {
        position: relative;
    }

    body.public-page .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--accent-orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 1.5rem;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--light-orange);
    transform: translateY(-5px);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .resort-info {
        grid-template-columns: 1fr;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 300px;
    }

    .facade-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@media (max-width: 1100px) {
    body.public-page .header .container {
        position: relative;
    }

    body.public-page .nav {
        gap: 1rem;
    }

    body.public-page .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    body.public-page .logo img {
        flex: 0 0 auto;
    }

    body.public-page .logo span {
        font-size: clamp(1rem, 2.4vw, 1.4rem) !important;
        line-height: 1.2;
    }

    body.public-page .nav-links {
        display: none;
    }

    body.public-page .nav-links.active {
        position: absolute;
        top: calc(100% + 0.55rem);
        right: 0;
        left: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        width: auto;
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
        padding: 0.75rem;
        border: 1px solid rgba(120, 150, 174, 0.25);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 12px 28px rgba(18, 58, 91, 0.18);
    }

    body.public-page .nav-links.active a {
        padding: 0.75rem;
        border-radius: 6px;
        color: #294b67;
    }

    body.public-page .nav-links.active a:hover,
    body.public-page .nav-links.active a:focus {
        background: #eaf2f9;
    }

    body.public-page .mobile-menu-toggle {
        display: block !important;
        color: #234663 !important;
    }
}

body.public-page .facility-page-hero {
    min-height: 12rem;
    padding: 2rem 1rem;
}

/* Shared responsive safeguards for public pages. */
body.public-page,
body.admin-page {
    min-width: 0;
    max-width: 100%;
}

body.public-page main,
body.public-page section,
body.public-page .container,
body.public-page .card,
body.public-page form {
    min-width: 0;
}

body.public-page img,
body.public-page video,
body.public-page iframe,
body.public-page canvas,
body.public-page svg {
    max-width: 100%;
}

body.public-page input,
body.public-page select,
body.public-page textarea,
body.public-page button {
    max-width: 100%;
}

body.public-page h1,
body.public-page h2,
body.public-page h3,
body.public-page h4,
body.public-page p,
body.public-page a,
body.public-page label,
body.public-page td,
body.public-page th {
    overflow-wrap: anywhere;
}

body.public-page .table-container,
body.public-page .table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1023px) {
    body.public-page .container {
        width: calc(100% - 2rem);
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    body.public-page [style*="grid-template-columns"] {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important;
    }

    body.public-page main [style*="display: flex"]:not([style*="flex-direction: column"]) {
        flex-wrap: wrap !important;
    }

    body.public-page .notification-dropdown {
        width: min(350px, calc(100vw - 2rem));
        min-width: 0;
    }

    body.public-page .footer-content {
        grid-template-columns: minmax(0, 1fr);
    }

    body.public-page .room-slider,
    body.public-page .cottage-slider,
    body.public-page .pool-slider {
        gap: 0.5rem !important;
        justify-content: space-between !important;
    }

    body.public-page .room-slider > button,
    body.public-page .cottage-slider > button,
    body.public-page .pool-slider > button {
        flex: 0 0 40px;
        width: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        font-size: 1.4rem !important;
    }

    body.public-page .slider-stage {
        flex: 1 1 0;
        width: auto !important;
        min-width: 0;
        overflow: clip;
    }

    body.public-page .room-card,
    body.public-page .cottage-card,
    body.public-page .pool-card {
        width: min(380px, calc(100% - 0.5rem)) !important;
    }
}

@media (max-width: 520px) {
    body.public-page .container {
        width: calc(100% - 1.25rem);
    }

    body.public-page .facility-page-hero {
        min-height: 10rem;
        padding: 1.5rem 0.75rem;
    }

    body.public-page .logo img {
        width: 44px !important;
        height: 44px !important;
    }

    body.public-page .logo span {
        font-size: 1rem !important;
    }

    body.public-page .contact-container {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.public-page .contact-container > *,
    body.public-page .contact-info-item {
        width: 100%;
        min-width: 0;
    }

    body.public-page section h1,
    body.public-page section h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    body.public-page .hero h1 {
        font-size: clamp(1.8rem, 9vw, 2.5rem) !important;
    }

    body.public-page .hero p {
        font-size: clamp(0.95rem, 4.5vw, 1.15rem) !important;
    }

    body.public-page .modal-content,
    body.public-page .login-modal-content,
    body.public-page .review-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - 2rem);
        overflow-y: auto;
        padding: 1.25rem;
    }

    body.public-page .scroll-top {
        right: 0.75rem;
        bottom: 0.75rem;
        width: 42px;
        height: 42px;
    }
}