/*
|--------------------------------------------------------------------------
| Villa Sol y Fun Guest Portal
| Main Stylesheet — Light Theme
|--------------------------------------------------------------------------
*/

:root {
    --primary: #176b87;
    --primary-dark: #0d5068;
    --primary-light: #eaf4f7;

    --gold: #c99a3e;
    --gold-dark: #a97d2d;
    --gold-light: #f8efd9;

    --text: #20343b;
    --text-muted: #60757d;
    --text-light: #84939a;

    --background: #f5f8fa;
    --surface: #ffffff;
    --border: #e1e8eb;

    --danger: #a94442;
    --danger-background: #fff0f0;

    --shadow-sm: 0 4px 14px rgba(23, 107, 135, 0.08);
    --shadow-md: 0 12px 32px rgba(23, 107, 135, 0.13);
    --shadow-lg: 0 20px 55px rgba(7, 43, 55, 0.2);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --content-width: 1120px;
    --transition: 0.25s ease;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body,
button,
input,
textarea,
select {
    font-family: "Poppins", Arial, sans-serif;
}

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

a {
    color: var(--primary);
}

button,
input,
textarea,
select {
    font-size: 1rem;
}

button {
    cursor: pointer;
}

::selection {
    color: #ffffff;
    background: var(--primary);
}

:focus-visible {
    outline: 3px solid rgba(201, 154, 62, 0.8);
    outline-offset: 3px;
}

/* ==========================================================================
   Shared Layout
   ========================================================================== */

.portal-container,
.dashboard-container {
    width: min(calc(100% - 32px), var(--content-width));
    margin-right: auto;
    margin-left: auto;
}

.portal-section {
    padding: 48px 0;
}

.portal-section-title {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.25;
}

.portal-section-intro {
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--text-muted);
}

/* ==========================================================================
   Login Page
   ========================================================================== */

.login-page {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #78949b;
    background-image:
        linear-gradient(
            135deg,
            rgba(7, 43, 55, 0.36),
            rgba(7, 43, 55, 0.16)
        ),
        url("/images/villa-photos/villa-master-bedroom-view.jpg");
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.login-page::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    background: rgba(7, 43, 55, 0.1);
    content: "";
    pointer-events: none;
}

.login-shell {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 32px 16px;
}

.login-card {
    width: min(100%, 500px);
    padding: 28px;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.login-brand {
    display: flex;
    justify-content: center;
    margin: 4px 0 20px;
    text-align: center;
}

.login-brand a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 116px;
    padding: 10px;
    overflow: hidden;
    border: 4px solid var(--gold);
    border-radius: 50%;
    background: #ffffff !important;
    box-shadow:
        0 0 0 7px rgba(201, 154, 62, 0.13),
        0 8px 25px rgba(23, 107, 135, 0.14);
    text-decoration: none;
    transition: transform var(--transition);
}

.login-brand a:hover {
    transform: translateY(-2px);
}

.login-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
}

.login-header {
    margin-bottom: 24px;
    text-align: center;
}

.login-header h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.55rem, 5vw, 2.15rem);
    line-height: 1.25;
}

.login-eyebrow {
    margin: 0 0 8px;
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-subtitle {
    margin: 8px 0 4px;
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 600;
}

.login-instruction {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* ==========================================================================
   Language Picker
   ========================================================================== */

.language-picker {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.language-picker a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

.language-picker a:hover,
.language-picker a:focus-visible,
.language-picker a.active {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.language-picker a.active {
    font-weight: 700;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm);
    outline: none;
    background: #ffffff !important;
    box-shadow: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text) !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 1;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #b6cbd1 !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(23, 107, 135, 0.12);
}

.btn-submit,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 22px;
    color: #ffffff !important;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--primary) !important;
    box-shadow: 0 7px 16px rgba(23, 107, 135, 0.2);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition:
        background-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.btn-submit:hover,
.btn-primary:hover {
    color: #ffffff !important;
    background: var(--primary-dark) !important;
    box-shadow: 0 10px 21px rgba(23, 107, 135, 0.28);
    transform: translateY(-1px);
}

.btn-submit:active,
.btn-primary:active {
    transform: translateY(0);
}

.login-help {
    margin: 22px 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.55;
    text-align: center;
}

/* ==========================================================================
   Alerts
   ========================================================================== */

.alert {
    margin: 0 0 20px;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.alert-error {
    color: var(--danger);
    border-color: #efcaca;
    background: var(--danger-background);
}

/* ==========================================================================
   Portal Header
   ========================================================================== */

.portal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: #ffffff !important;
    box-shadow: 0 3px 15px rgba(23, 107, 135, 0.06);
}

.portal-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(calc(100% - 32px), var(--content-width));
    min-height: 72px;
    margin: 0 auto;
}

.portal-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.portal-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.portal-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.portal-nav a {
    padding: 8px 11px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    text-decoration: none;
}

.portal-nav a:hover,
.portal-nav a:focus-visible,
.portal-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* ==========================================================================
   Dashboard
   ========================================================================== */

.dashboard-container {
    padding-bottom: 52px;
}

.hero,
.dashboard-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 280px;
    margin-right: calc((100% - 100vw) / 2);
    margin-left: calc((100% - 100vw) / 2);
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(7, 43, 55, 0.68),
            rgba(23, 107, 135, 0.2)
        ),
        url("/images/villa-photos/villa-master-bedroom-view.jpg")
        center / cover no-repeat;
}

.hero .overlay,
.dashboard-hero .overlay {
    width: 100%;
    padding: 46px max(20px, calc((100vw - var(--content-width)) / 2));
    color: #ffffff;
}

.hero h1,
.dashboard-hero h1 {
    max-width: 800px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.7rem, 5vw, 3rem);
    line-height: 1.2;
}

.stay-dates {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: -42px auto 30px;
    padding: 0 20px;
}

.stay-date-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff !important;
    box-shadow: var(--shadow-md);
}

.stay-date-icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-light);
    font-size: 1.35rem;
}

.stay-date-content {
    min-width: 0;
}

.stay-date-content span {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.stay-date-content strong {
    display: block;
    overflow: hidden;
    color: var(--primary);
    font-size: 1.08rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stay-date-content small {
    display: block;
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.dashboard-links {
    max-width: 900px;
    margin: 0 auto;
}

.dashboard-card-list {
    display: grid;
    gap: 11px;
}

.dashboard-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 14px 20px;
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff !important;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.dashboard-link-card:hover,
.dashboard-link-card:focus-visible {
    color: #ffffff;
    border-color: var(--primary);
    background: var(--primary) !important;
    box-shadow: var(--shadow-md);
    transform: translateX(9px);
}

.dashboard-link-icon {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.dashboard-link-text {
    font-weight: 600;
}

.dashboard-link-arrow {
    margin-left: auto;
    font-size: 1.35rem;
    font-weight: 700;
}

/* ==========================================================================
   General Cards
   ========================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.portal-card,
.guidebook-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff !important;
    box-shadow: var(--shadow-sm);
}

.portal-card {
    padding: 22px;
}

.portal-card h2,
.portal-card h3 {
    margin-top: 0;
    color: var(--primary);
}

.portal-card p {
    color: var(--text-muted);
}

.guidebook-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.guidebook-card {
    display: block;
    padding: 22px;
    color: var(--primary);
    text-decoration: none;
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.guidebook-card:hover,
.guidebook-card:focus-visible {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.portal-footer {
    padding: 30px 16px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: #ffffff !important;
    font-size: 0.85rem;
    text-align: center;
}

.portal-footer p {
    margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 800px) {
    .portal-nav {
        gap: 2px;
    }

    .portal-nav a {
        padding: 7px 8px;
        font-size: 0.78rem;
    }

    .card-grid,
    .guidebook-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .login-page {
        background-attachment: scroll;
    }

    .login-shell {
        align-items: flex-start;
        padding: 18px 12px;
    }

    .login-card {
        padding: 22px 18px;
        border-radius: 17px;
    }

    .login-brand a {
        width: 96px;
        height: 96px;
        padding: 7px;
        border-width: 3px;
    }

    .hero,
    .dashboard-hero {
        min-height: 250px;
    }

    .hero .overlay,
    .dashboard-hero .overlay {
        padding: 34px 20px;
    }

    .stay-dates {
        gap: 10px;
        margin-top: -28px;
        padding: 0 12px;
    }

    .stay-date-card {
        gap: 9px;
        padding: 14px 11px;
    }

    .stay-date-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .stay-date-content strong {
        font-size: 0.86rem;
    }

    .dashboard-link-card:hover,
    .dashboard-link-card:focus-visible {
        transform: translateX(4px);
    }

    .card-grid,
    .guidebook-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .portal-container,
    .dashboard-container,
    .portal-header-inner {
        width: calc(100% - 24px);
    }

    .portal-logo span {
        display: none;
    }

    .portal-nav a {
        padding: 6px;
        font-size: 0.7rem;
    }

    .stay-dates {
        grid-template-columns: 1fr;
        margin-top: -22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
/* ==========================================================================
   Site Header and Navigation
   ========================================================================== */

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    color: #ffffff;
    background: #176b87;
    box-shadow: 0 4px 16px rgba(7, 43, 55, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(calc(100% - 32px), 1120px);
    min-height: 82px;
    margin: 0 auto;
}

.site-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    color: #ffffff;
    line-height: 1.15;
    text-decoration: none;
}

.logo-main {
    color: #ffffff;
    font-size: clamp(1.05rem, 3vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.logo-subtitle {
    margin-top: 4px;
    color: #f8efd9;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-logo:hover .logo-main,
.site-logo:focus-visible .logo-main {
    color: #ffffff;
}

.site-logo:hover .logo-subtitle,
.site-logo:focus-visible .logo-subtitle {
    color: #ffffff;
}

/* Language selector */

.lang-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.lang-picker a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lang-picker a:hover,
.lang-picker a:focus-visible,
.lang-picker a.active {
    color: #f8d98d;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.5);
}

/* Menu button */

.menu-toggle,
.navigation-close {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 8px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 2px;
}

/* Desktop navigation */

.main-navigation {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: #0d5068;
}

.navigation-header {
    display: none;
}

.navigation-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: min(calc(100% - 32px), 1120px);
    margin: 0 auto;
    padding: 8px 0;
    list-style: none;
}

.navigation-list li {
    margin: 0;
    padding: 0;
}

.navigation-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.88);
    border-radius: 7px;
    font-size: 0.83rem;
    font-weight: 500;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.navigation-list a:hover,
.navigation-list a:focus-visible,
.navigation-list li.active a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.navigation-list i {
    color: #f8d98d;
    font-size: 0.9rem;
}

.navigation-overlay {
    display: none;
}

.site-main {
    min-height: calc(100vh - 140px);
}

/* Mobile navigation */

@media (max-width: 800px) {
    .header-inner {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-logo {
        flex: 1;
        align-items: center;
        text-align: center;
    }

    .lang-picker {
        flex: 0 0 auto;
    }

    .main-navigation {
        position: fixed;
        z-index: 120;
        top: 0;
        left: 0;
        display: block;
        width: min(310px, 86vw);
        height: 100vh;
        overflow-y: auto;
        border: 0;
        background: #ffffff;
        box-shadow: 10px 0 28px rgba(0, 0, 0, 0.22);
        transform: translateX(-105%);
        transition: transform 0.25s ease;
    }

    .main-navigation.is-open,
    .main-navigation.open,
    body.menu-open .main-navigation {
        transform: translateX(0);
    }

    .navigation-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 70px;
        padding: 0 18px;
        color: #ffffff;
        background: #176b87;
    }

    .navigation-title {
        font-size: 0.9rem;
        font-weight: 700;
    }

    .navigation-close {
        width: 38px;
        height: 38px;
        color: #ffffff;
        background: transparent;
        font-size: 1.2rem;
    }

    .navigation-list {
        display: block;
        width: 100%;
        padding: 14px;
    }

    .navigation-list li {
        margin-bottom: 5px;
    }

    .navigation-list a {
        padding: 12px 13px;
        color: #176b87;
    }

    .navigation-list a:hover,
    .navigation-list a:focus-visible,
    .navigation-list li.active a {
        color: #176b87;
        background: #eaf4f7;
    }

    .navigation-overlay {
        position: fixed;
        z-index: 110;
        inset: 0;
        display: block;
        visibility: hidden;
        background: rgba(7, 43, 55, 0.5);
        opacity: 0;
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    .navigation-overlay.is-visible,
    .navigation-overlay.visible,
    body.menu-open .navigation-overlay {
        visibility: visible;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .header-inner {
        width: calc(100% - 20px);
        gap: 8px;
    }

    .logo-main {
        font-size: 0.95rem;
    }

    .logo-subtitle {
        font-size: 0.62rem;
    }

    .lang-picker {
        gap: 5px;
        font-size: 0.7rem;
    }
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.faq-item h3 {
    margin: 0 0 10px 0;
    color: #333;
}
.map-placeholder {
    margin-top: 20px;
    border: 1px solid #ddd;
}
.page-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    box-sizing: border-box;
}

.page-panel {
    width: 100%;
    box-sizing: border-box;
}

.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #e4e8ed;
    border-radius: 14px;
    background: #ffffff;
}

.faq-item summary {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 18px 48px 18px 18px;
    color: #243447;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 18px;
    color: #4b8f8c;
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    transform: translateY(-50%);
}

.faq-item[open] summary {
    border-bottom: 1px solid #e4e8ed;
    background: #f7fbfb;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 16px 18px 19px;
    color: #586574;
    font-size: 0.95rem;
    line-height: 1.65;
}

.faq-answer p {
    margin: 0 0 12px;
}

.faq-external-link,
.primary-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 700;
}

.faq-external-link {
    color: #347875;
}

.directions-content {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.direction-card,
.map-action-card,
.directions-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-sizing: border-box;
    border-radius: 14px;
    padding: 18px;
}

.direction-card {
    border: 1px solid #e4e8ed;
    background: #ffffff;
}

.direction-card-icon,
.map-action-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    background: #4b8f8c;
}

.direction-card-content h2,
.map-action-content h2 {
    margin: 0 0 6px;
    color: #243447;
    font-size: 1.05rem;
}

.direction-card-content p,
.map-action-content p {
    margin: 0;
    color: #586574;
    line-height: 1.6;
}

.map-action-card {
    color: #ffffff;
    background: linear-gradient(135deg, #347875, #5aa39d);
}

.map-action-card .map-action-icon {
    color: #347875;
    background: #ffffff;
}

.map-action-card h2,
.map-action-card p {
    color: #ffffff;
}

.primary-action-button {
    margin-top: 16px;
    padding: 10px 15px;
    color: #347875;
    background: #ffffff;
}

.directions-note {
    color: #52616f;
    background: #f4f8f8;
}

.directions-note i {
    margin-top: 4px;
    color: #4b8f8c;
}

.directions-note p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .page-container {
        padding: 16px 12px 36px;
    }

    .page-panel {
        padding: 18px 14px;
    }

    .faq-item summary {
        padding: 16px 42px 16px 15px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 14px 15px 16px;
        font-size: 0.92rem;
    }

    .direction-card,
    .map-action-card,
    .directions-note {
        padding: 15px;
    }

    .direction-card-icon,
    .map-action-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }
}
.self-checkin-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 16px 48px;
}

.self-checkin-hero {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(34, 78, 81, .84), rgba(76, 143, 140, .75)),
        url('/images/villa-photos/villa-front-view2.jpg') center / cover;
}

.self-checkin-hero-overlay {
    width: 100%;
    padding: 42px 20px;
}

.self-checkin-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: #347875;
    background: #fff;
    font-size: 1.5rem;
}

.self-checkin-hero .eyebrow {
    color: rgba(255, 255, 255, .85);
}

.self-checkin-hero h1 {
    margin: 0 0 10px;
    color: #fff;
}

.self-checkin-hero p:last-child {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .92);
}

.arrival-summary-panel,
.access-code-panel,
.smart-lock-instructions-panel,
.lock-help-panel {
    margin-bottom: 18px;
}

.arrival-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.arrival-detail-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid #e4e8ed;
    border-radius: 14px;
    background: #fff;
}

.arrival-detail-icon,
.access-code-lock-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: #4b8f8c;
}

.arrival-detail-label {
    display: block;
    margin-bottom: 4px;
    color: #75818d;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.arrival-detail-card strong {
    display: block;
    color: #243447;
    font-size: 1.05rem;
}

.access-code-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.access-code-heading h2 {
    margin: 0;
}

.access-code-display {
    margin: 22px 0 14px;
    padding: 18px 14px;
    overflow-wrap: anywhere;
    border: 2px dashed #4b8f8c;
    border-radius: 14px;
    color: #243447;
    background: #f4fbfa;
    font-family: monospace;
    font-size: clamp(2rem, 8vw, 3.3rem);
    font-weight: 800;
    letter-spacing: .12em;
    text-align: center;
}

.access-code-reminder {
    margin: 0;
    color: #347875;
    font-weight: 700;
    line-height: 1.5;
}

.access-code-reminder i {
    margin-right: 5px;
}

.smart-lock-steps {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.smart-lock-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: #f7fbfb;
}

.smart-lock-step-number {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: #347875;
    font-weight: 800;
}

.smart-lock-step h3 {
    margin: 1px 0 5px;
    color: #243447;
    font-size: 1rem;
}

.smart-lock-step p {
    margin: 0;
    color: #586574;
    line-height: 1.55;
}

.lock-help-panel {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff9e9;
}

.lock-help-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #9a7117;
    background: #ffe6a3;
}

.lock-help-panel h2 {
    margin: 0 0 6px;
    color: #6f5415;
    font-size: 1.05rem;
}

.lock-help-panel p {
    margin: 0;
    color: #705f32;
    line-height: 1.6;
}

.back-dashboard-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 9px;
    color: #347875;
    background: #eef7f6;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 640px) {
    .self-checkin-page {
        padding: 12px 12px 36px;
    }

    .self-checkin-hero {
        min-height: 220px;
        border-radius: 16px;
    }

    .self-checkin-hero-overlay {
        padding: 32px 16px;
    }

    .arrival-details-grid {
        grid-template-columns: 1fr;
    }

    .access-code-display {
        letter-spacing: .08em;
    }
}
.transportation-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.transportation-card::after {
    position: absolute;
    right: -35px;
    bottom: -45px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(244, 176, 80, 0.14);
    content: "";
}

.transportation-card:hover,
.transportation-card:focus-visible {
    border-color: #e7a94c;
    box-shadow: 0 12px 28px rgba(43, 37, 30, 0.14);
    transform: translateY(-4px);
}

.transportation-card:focus-visible {
    outline: 3px solid rgba(231, 169, 76, 0.4);
    outline-offset: 3px;
}

.transportation-icon {
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, #efa94f, #d98235);
    color: #ffffff;
    font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(217, 130, 53, 0.25);
}

.transportation-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.transportation-card-content strong {
    margin: 2px 0 5px;
    color: var(--heading-color, #29231d);
    font-size: 1.05rem;
    line-height: 1.25;
}

.transportation-card-content small {
    max-width: 260px;
    color: var(--muted-text, #766f67);
    font-size: 0.86rem;
    line-height: 1.45;
}

.transportation-card-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #c8752e;
    font-size: 0.82rem;
    font-weight: 700;
}

.transportation-card-action i {
    transition: transform 0.2s ease;
}

.transportation-card:hover .transportation-card-action i,
.transportation-card:focus-visible .transportation-card-action i {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .transportation-card {
        padding: 18px;
    }

    .transportation-card-content small {
        max-width: none;
    }
}
.airport-transfer-page {
    max-width: 1180px;
    margin: 0 auto;
	padding-top: 24px;
}

.transfer-hero {
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 28px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(16, 57, 74, .92), rgba(32, 128, 145, .72)),
        url('/../../images/villa-photos/villa-front-parking-view.jpg')
        center / cover;
    color: #fff;
}

.transfer-hero-overlay {
    width: 100%;
    padding: 42px;
}

.transfer-hero h1 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.transfer-hero p:not(.eyebrow) {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 1.08rem;
}

.transfer-hero-icon,
.transfer-promise-icon,
.transfer-airport-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
}

.transfer-hero-icon {
    background: rgba(255, 255, 255, .18);
    font-size: 1.5rem;
}

.transfer-promise-panel {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 30px;
    border: 1px solid rgba(213, 169, 74, .45);
    border-radius: 20px;
    background: linear-gradient(135deg, #fffaf0, #fff);
    box-shadow: 0 12px 30px rgba(28, 44, 53, .08);
}

.transfer-promise-icon {
    flex: 0 0 54px;
    color: #fff;
    background: #d5a94a;
    font-size: 1.4rem;
}

.transfer-promise-panel h2 {
    margin: 4px 0 10px;
    color: #173e4b;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.transfer-promise-panel p:last-child {
    margin-bottom: 0;
    color: #5d6870;
    font-size: 1.05rem;
}

.transfer-airport-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.transfer-airport-card {
    display: flex;
    flex-direction: column;
    min-height: 265px;
    padding: 24px;
    border: 1px solid #e4eaec;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(24, 54, 66, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.transfer-airport-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(24, 54, 66, .13);
}

.transfer-airport-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.transfer-airport-icon {
    color: #fff;
    background: #1f8791;
    font-size: 1.3rem;
}

.airport-code {
    padding: 6px 10px;
    border-radius: 8px;
    color: #1f6871;
    background: #eaf6f7;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.transfer-airport-card h3 {
    min-height: 52px;
    margin: 22px 0;
    color: #173e4b;
}

.transfer-price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    margin-bottom: 20px;
}

.transfer-price span {
    color: #718087;
    font-size: .85rem;
}

.transfer-price strong {
    color: #173e4b;
    font-size: 1.45rem;
}

.transfer-request-form {
    margin: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 18px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

.button-primary {
    width: 100%;
    color: #fff;
    background: #1f8791;
}

.button-primary:hover {
    background: #176d76;
}

.transfer-request-panel {
    margin-top: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: #244852;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #d7e1e3;
    border-radius: 10px;
    background: #fff;
    color: #243d44;
    font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 3px solid rgba(31, 135, 145, .16);
    border-color: #1f8791;
}

.transfer-submit-button {
    width: auto;
    margin-top: 4px;
}

.transfer-empty-state {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-radius: 12px;
    color: #52666c;
    background: #f3f8f8;
}

.transfer-empty-state i {
    color: #1f8791;
    font-size: 1.3rem;
}

@media (max-width: 800px) {
    .transfer-airport-grid {
        grid-template-columns: 1fr;
    }

    .transfer-hero-overlay {
        padding: 28px 22px;
    }
}

@media (max-width: 560px) {
    .transfer-promise-panel {
        flex-direction: column;
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .transfer-submit-button {
        width: 100%;
    }
}

.form-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 12px;
    line-height: 1.5;
}

.form-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.form-alert-success {
    color: #155d43;
    background: #e8f7ef;
    border: 1px solid #a9ddbf;
}

.form-alert-error {
    color: #842029;
    background: #fff0f1;
    border: 1px solid #efb6bc;
}

.form-alert i {
    margin-top: 3px;
}

.select-transfer-button.is-selected {
    background: #176d76;
    box-shadow: 0 0 0 3px rgba(31, 135, 145, .2);
}
/* ==========================================================================
   Checkout Page
   ========================================================================== */

.checkout-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 56px;
}

.checkout-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding: 28px;
    border-radius: 22px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(19, 82, 92, 0.98),
            rgba(38, 126, 126, 0.92)
        );
    box-shadow: 0 14px 35px rgba(20, 64, 71, 0.18);
}

.checkout-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    font-size: 30px;
    background: rgba(255, 255, 255, 0.18);
}

.checkout-hero .eyebrow {
    margin: 0 0 5px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.82;
}

.checkout-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.checkout-intro {
    max-width: 700px;
    margin: 0;
    line-height: 1.65;
    opacity: 0.92;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.info-card.checkout-card {
    height: 100%;
    padding: 26px;
    border: 1px solid rgba(31, 92, 100, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(30, 63, 70, 0.08);
}

.checkout-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 23px;
    background: #e5f4f1;
}

.checkout-card h2 {
    margin: 0 0 10px;
    color: #174f58;
    font-size: 1.35rem;
}

.checkout-card p {
    margin: 0 0 12px;
    color: #53676b;
    line-height: 1.65;
}

.checkout-time {
    color: #19706f !important;
    font-size: 1.8rem;
    font-weight: 800;
}

.checkout-list {
    margin: 0;
    padding-left: 20px;
    color: #53676b;
}

.checkout-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.checkout-form-card {
    display: block !important;
    margin-bottom: 22px;
}

.card-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.card-heading p {
    margin-bottom: 0;
}

.checkout-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: #294d52;
    font-weight: 700;
}

.form-field label span {
    color: #bd4b45;
}

.form-field input,
.form-field textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #c9d9d8;
    border-radius: 10px;
    padding: 12px 14px;
    color: #243e42;
    background: #fbfdfd;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #2b8b89;
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 139, 137, 0.14);
}

.form-field textarea {
    min-height: 125px;
    resize: vertical;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 2px 0 22px;
    color: #36575b;
    cursor: pointer;
}

.checkbox-field input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #277c7b;
}

.checkbox-field strong,
.checkbox-field small {
    display: block;
}

.checkbox-field small {
    margin-top: 3px;
    color: #6b7e81;
    line-height: 1.45;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

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

.button-primary {
    color: #ffffff;
    background: #217a79;
    box-shadow: 0 7px 16px rgba(33, 122, 121, 0.2);
}

.button-primary:hover {
    background: #176564;
}

.button-secondary {
    color: #ffffff;
    background: #3c7180;
}

.button-review {
    color: #ffffff;
    background: #d17b32;
}

.checkout-submit {
    width: 100%;
    min-height: 50px;
}

.checkout-message {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 12px;
    line-height: 1.55;
}

.checkout-message ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.checkout-message-error {
    border: 1px solid #e5b4b0;
    color: #7d2f2b;
    background: #fff2f1;
}

.checkout-message-success {
    border: 1px solid #abd8c4;
    color: #216443;
    background: #effbf4;
}

.feedback-actions {
    margin-top: 16px;
}

.feedback-note {
    margin: 13px 0 0 !important;
    font-size: 0.9rem;
}

.checkout-thank-you {
    padding: 32px 20px;
    border-radius: 18px;
    text-align: center;
    background: #f2faf8;
}

.checkout-thank-you h2 {
    margin: 0 0 8px;
    color: #174f58;
}

.checkout-thank-you p {
    color: #53676b;
}

.thank-you-stars {
    margin: 0 0 12px !important;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
}

/* Responsive layout */

@media (max-width: 760px) {
    .checkout-page {
        padding: 18px 14px 40px;
    }

    .checkout-hero {
        align-items: flex-start;
        padding: 22px;
    }

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

    .info-card.checkout-card {
        padding: 21px;
    }

    .checkout-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 430px) {
    .checkout-hero {
        display: block;
    }

    .checkout-hero-icon {
        margin-bottom: 15px;
    }

    .checkout-card {
        gap: 11px;
    }

    .card-icon {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
        font-size: 19px;
    }

    .checkout-card h2 {
        font-size: 1.17rem;
    }
}
.checkout-hero-icon,
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-hero-icon i,
.card-icon i {
    line-height: 1;
}

.checkout-hero-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.18);
}

.card-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #237a79;
    font-size: 21px;
    background: #e5f4f1;
}

.thank-you-stars {
    color: #d99038;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
}

.thank-you-stars i {
    margin: 0 2px;
}
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    color: #237a79;
    background: #e5f4f1;
    font-size: 21px;
}

.card-icon i {
    display: inline-block;
    line-height: 1;
}
.portal-footer-bottom {
    justify-content: center;
    text-align: center;
}

.portal-footer-copyright {
    text-align: center;
}
.portal-page-hero {
    position: relative;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 0 30px;
    border-radius: 0 0 28px 28px;
    background:
        linear-gradient(
            135deg,
            rgba(8, 47, 73, 0.78),
            rgba(21, 94, 117, 0.48)
        ),
        url("/../../images/villa-photos/villa-pool-area.jpg") center center / cover no-repeat;
    color: #ffffff;
    text-align: center;
}
.portal-page-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 32px);
    min-height: 250px;
    margin: 28px auto 34px;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            rgba(8, 47, 73, 0.78),
            rgba(21, 94, 117, 0.48)
        ),
        url("/images/villa-photos/villa-entrada-vista.jpg")
        center center / cover no-repeat;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.16);
}

.portal-page-hero1 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 32px);
    min-height: 250px;
    margin: 28px auto 34px;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            rgba(8, 47, 73, 0.78),
            rgba(21, 94, 117, 0.48)
        ),
        url("/images/villa-photos/villa-sombrilla-pizcina.jpg")
        center center / cover no-repeat;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.16);
}

.portal-page-hero2 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 32px);
    min-height: 250px;
    margin: 28px auto 34px;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            rgba(8, 47, 73, 0.78),
            rgba(21, 94, 117, 0.48)
        ),
        url("/images/villa-photos/villa-comedor-cocina.jpg")
        center center / cover no-repeat;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.16);
}

.portal-page-hero3 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 32px);
    min-height: 250px;
    margin: 28px auto 34px;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            rgba(8, 47, 73, 0.78),
            rgba(21, 94, 117, 0.48)
        ),
        url("/images/villa-photos/villa-living-dining-kitchen.jpg")
        center center / cover no-repeat;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.16);
}

/*
|--------------------------------------------------------------------------
| Dark image overlay
|--------------------------------------------------------------------------
*/

.portal-page-hero::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.08),
        rgba(2, 6, 23, 0.34)
    );
    content: "";
    pointer-events: none;
}

.portal-page-hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 40px));
    padding: 42px 20px;
}

.portal-page-hero-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 18px;
    color: #155e75;
    background: rgba(255, 255, 255, 0.95);
    font-size: 23px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.2);
}

.portal-page-hero h1 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    line-height: 1.15;
}

.portal-page-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

/*
|--------------------------------------------------------------------------
| Prevent the header from covering the hero
|--------------------------------------------------------------------------
*/

.checkout-page {
    position: relative;
    padding-top: 1px;
}

@media (max-width: 700px) {
    .portal-page-hero {
        width: calc(100% - 24px);
        min-height: 220px;
        margin: 20px auto 28px;
        border-radius: 22px;
    }

    .portal-page-hero-content {
        padding: 34px 16px;
    }

    .portal-page-hero h1 {
        font-size: 1.85rem;
    }

    .portal-page-hero p {
        font-size: 0.92rem;
    }
}


.portal-page-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.08),
        rgba(2, 6, 23, 0.3)
    );
    content: '';
    pointer-events: none;
}

.portal-page-hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 40px));
    padding: 35px 20px;
}

.portal-page-hero-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 13px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    color: #155e75;
    background: rgba(255, 255, 255, 0.94);
    font-size: 23px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.2);
}

.portal-page-hero h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.15;
}

.portal-page-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .portal-page-hero {
        min-height: 205px;
        margin-bottom: 24px;
        border-radius: 0 0 22px 22px;
    }

    .portal-page-hero-content {
        padding: 28px 16px;
    }

    .portal-page-hero h1 {
        font-size: 1.85rem;
    }

    .portal-page-hero p {
        font-size: 0.92rem;
    }
}
/* ==========================================================================
   Amenities Page
   ========================================================================== */

.amenities-page {
    padding-bottom: 48px;
}

.amenities-hero {
    background:
        linear-gradient(
            135deg,
            rgba(8, 47, 73, 0.78),
            rgba(21, 94, 117, 0.52)
        ),
        url("/../../images/villa-photos/villa-pool-area.jpg")
        center center / cover no-repeat;
}

.amenities-introduction {
    display: flex;
    justify-content: center;
    margin: 0 auto 38px;
    text-align: center;
}

.amenities-introduction-content {
    width: min(760px, 100%);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--secondary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.amenities-introduction h2 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1.2;
}

.amenities-introduction p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.amenities-group {
    margin-top: 42px;
}

.amenities-group-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 17px;
}

.amenities-group-heading::after {
    flex: 1;
    height: 1px;
    background: var(--border);
    content: "";
}

.amenities-group-heading h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.amenity-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 142px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.amenity-card:hover {
    border-color: #a9ccce;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.amenity-card-icon {
    display: grid;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 13px;
    color: var(--secondary-dark);
    background: var(--secondary-light);
    font-size: 19px;
}

.amenity-card-content {
    min-width: 0;
}

.amenity-card h3 {
    margin: 1px 0 7px;
    color: var(--primary-dark);
    font-size: 1.02rem;
    line-height: 1.3;
}

.amenity-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.amenities-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 44px;
    padding: 21px 23px;
    border: 1px solid #b9dce0;
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    background: var(--primary-light);
}

.amenities-note-icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    color: var(--primary);
    background: #ffffff;
    font-size: 18px;
}

.amenities-note h2 {
    margin: 1px 0 5px;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.amenities-note p {
    margin: 0;
    color: #41686e;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .amenities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .amenities-group {
        margin-top: 34px;
    }

    .amenities-group-heading h2 {
        font-size: 1.2rem;
    }

    .amenity-card {
        min-height: 0;
        padding: 18px;
    }

    .amenities-note {
        padding: 18px;
    }
}

@media (max-width: 420px) {
    .amenities-introduction {
        text-align: left;
    }

    .amenity-card-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}
.checkout-tip-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin: 28px 0;
    padding: 22px;
    border: 1px solid rgba(188, 151, 91, 0.35);
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(255, 250, 239, 0.98),
        rgba(248, 241, 222, 0.92)
    );
    box-shadow: 0 8px 24px rgba(74, 58, 35, 0.08);
}

.checkout-tip-icon {
    display: flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: #b9935a;
    font-size: 1.15rem;
}

.checkout-tip-content {
    flex: 1;
}

.checkout-tip-content .eyebrow {
    margin: 0 0 6px;
    color: #9a7541;
}

.checkout-tip-content h3 {
    margin: 0 0 10px;
    color: #3f3529;
}

.checkout-tip-content p {
    margin: 0 0 12px;
    color: #5e554a;
    line-height: 1.6;
}

.checkout-tip-optional {
    font-size: 0.9rem;
    font-style: italic;
}

.checkout-tip-content label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 600;
    color: #3f3529;
}

.checkout-tip-content select {
    width: 100%;
    max-width: 260px;
    padding: 11px 13px;
    border: 1px solid #cdbb9a;
    border-radius: 9px;
    background: #ffffff;
    color: #3f3529;
    font: inherit;
}

.checkout-tip-note {
    margin-top: 8px !important;
    font-size: 0.82rem;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .checkout-tip-card {
        gap: 13px;
        padding: 17px;
    }

    .checkout-tip-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
}
.restaurant-hours-card {
    overflow: hidden;
}

.restaurant-hours-image-wrapper {
    margin-top: 1rem;
    text-align: center;
    background: #f7f7f5;
    border-radius: 16px;
    padding: 0.75rem;
}

.restaurant-hours-image {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.portal-expired-overlay {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 43, 55, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.portal-expired-card {
    width: min(100%, 520px);
    padding: 36px 28px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.portal-expired-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #176b87;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
}

.portal-expired-card h2 {
    margin: 0 0 14px;
    color: #176b87;
    font-size: 1.45rem;
}

.portal-expired-card p {
    margin: 0 auto 24px;
    max-width: 420px;
    color: #60757d;
    line-height: 1.65;
}

.portal-book-again-button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 8px;
    background: #c99a3e;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.portal-book-again-button:hover,
.portal-book-again-button:focus-visible {
    background: #ad7f2e;
}

.portal-home-link {
    display: block;
    margin-top: 18px;
    color: #176b87;
    font-size: 0.92rem;
    text-decoration: none;
}

.portal-home-link:hover,
.portal-home-link:focus-visible {
    text-decoration: underline;
}


@media (max-width: 600px) {
    .restaurant-hours-image-wrapper {
        margin-inline: -0.25rem;
        padding: 0.5rem;
    }

    .restaurant-hours-image {
        max-width: 100%;
        border-radius: 10px;
    }
}
