:root {
    --bailey-green: #179647;
    --bailey-dark: #151718;
    --bailey-orange: #df7918;
    --bailey-soft: #f6f4ef;
    --bailey-line: #e7e2d8;
}

.baileys-login-body {
    margin: 0;
    min-height: 100vh;
    background: #fff;
    color: var(--bailey-dark);
}

.baileys-login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
}

.baileys-login-photo {
    position: relative;
    min-height: 100vh;
    background: url("../images/courtyard.jpg") center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 56px;
}

.baileys-login-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 10, .12), rgba(8, 10, 10, .78));
}

.baileys-login-brand {
    position: relative;
    max-width: 560px;
    color: #fff;
}

.baileys-login-brand img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    background: rgba(255, 255, 255, .92);
    padding: 12px;
    margin-bottom: 24px;
}

.baileys-login-brand h1 {
    font-size: 52px;
    line-height: 1;
    margin: 0 0 16px;
    font-weight: 800;
}

.baileys-login-brand p {
    font-size: 19px;
    line-height: 1.55;
    max-width: 520px;
}

.baileys-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: linear-gradient(135deg, #fff 0%, #fbfaf7 52%, #eef9f1 100%);
}

.baileys-login-card {
    width: 100%;
    max-width: 520px;
}

.baileys-login-heading span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--bailey-green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.baileys-login-heading h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 10px;
}

.baileys-login-heading p {
    color: #687075;
    margin-bottom: 34px;
}

.baileys-login-card .form-control {
    min-height: 58px;
    border: 1px solid #d7ded8;
    border-radius: 6px;
    font-size: 17px;
}

.baileys-login-card .form-control:focus {
    border-color: var(--bailey-green);
    box-shadow: 0 0 0 4px rgba(23, 150, 71, .12);
}

.baileys-forgot {
    display: inline-block;
    color: #9b1f2a;
    font-weight: 700;
    margin: 2px 0 22px;
}

.baileys-login-btn {
    min-height: 58px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(90deg, var(--bailey-green), var(--bailey-orange));
}

.baileys-login-footer {
    border-top: 1px solid var(--bailey-line);
    margin-top: 34px;
    padding-top: 18px;
    display: grid;
    gap: 5px;
    color: #596165;
}

.baileys-login-footer a {
    color: var(--bailey-green);
    font-weight: 800;
}

.baileys-sms-balance {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 10px;
    margin-right: 8px;
    border-radius: 4px;
    border: 1px solid #11843a;
    background: #179647;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

.bailey-page .navbar,
.bailey-page .header-sticky {
    border-bottom: 1px solid rgba(231, 226, 216, .9);
}

.bailey-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: end;
    background: url("../images/courtyard.jpg") center / cover no-repeat;
    color: #fff;
}

.bailey-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 8, 8, .9), rgba(5, 8, 8, .58), rgba(5, 8, 8, .22));
}

.bailey-hero-inner {
    position: relative;
    width: 100%;
    padding: 150px 0 84px;
}

.bailey-kicker {
    color: #ffb054;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 13px;
}

.bailey-hero h1 {
    max-width: 720px;
    font-size: 62px;
    line-height: 1.02;
    font-weight: 900;
    margin: 14px 0 22px;
    color: #fff !important;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .6);
}

.bailey-hero p {
    max-width: 620px;
    font-size: 19px;
    line-height: 1.65;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.bailey-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.bailey-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 4px;
    font-weight: 800;
}

.bailey-btn-primary {
    background: var(--bailey-green);
    color: #fff;
}

.bailey-btn-light {
    background: rgba(255, 255, 255, .92);
    color: var(--bailey-dark);
}

.bailey-section {
    padding: 80px 0;
}

.bailey-section-soft {
    background: var(--bailey-soft);
}

.bailey-section-title {
    margin-bottom: 34px;
}

.bailey-section-title h2 {
    font-weight: 900;
    color: var(--bailey-dark);
}

.bailey-card {
    background: #fff;
    border: 1px solid var(--bailey-line);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
}

.bailey-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #e9ecef url("../images/exterior.jpg") center / cover no-repeat;
}

.bailey-card-body {
    padding: 24px;
}

.bailey-card-body h3,
.bailey-card-body h4 {
    font-weight: 800;
}

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

.bailey-amenity {
    padding: 22px;
    border: 1px solid var(--bailey-line);
    background: #fff;
    border-radius: 6px;
}

.bailey-amenity i {
    color: var(--bailey-orange);
    font-size: 24px;
    margin-bottom: 12px;
}

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

.bailey-gallery-grid a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.bailey-gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #e9ecef url("../images/exterior.jpg") center / cover no-repeat;
}

.bailey-gallery-grid span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(0, 0, 0, .66);
    color: #fff;
    padding: 6px 10px;
    border-radius: 3px;
    font-weight: 800;
}

@media (max-width: 991px) {
    .baileys-login {
        grid-template-columns: 1fr;
    }

    .baileys-login-photo {
        min-height: 360px;
        padding: 32px;
    }

    .baileys-login-panel {
        padding: 34px 20px;
    }

    .bailey-hero h1 {
        font-size: 44px;
    }

    .bailey-amenity-grid,
    .bailey-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .baileys-login-brand h1,
    .baileys-login-heading h2 {
        font-size: 34px;
    }

    .baileys-sms-balance {
        min-height: 30px;
        padding: 4px 8px;
        font-size: 11px;
        margin-right: 5px;
    }

    .bailey-hero {
        min-height: 560px;
    }

    .bailey-hero h1 {
        font-size: 36px;
    }

    .bailey-amenity-grid,
    .bailey-gallery-grid {
        grid-template-columns: 1fr;
    }
}
