.demo {
    border: 1px solid #c6cec5;
    background: white;
    color: #1b2721;
    overflow: hidden;
    position: relative;
    min-width: 0;
    box-shadow: 0 25px 70px #18271912;
}
.demo button,
.demo input,
.demo select {
    font-family: inherit;
    font-size: var(--text-control-size);
}
.demo button:focus-visible,
.demo input:focus-visible,
.demo select:focus-visible {
    outline: 2px solid #1e633d;
    outline-offset: 3px;
}
.demo-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 26px;
    background: #e8eddc;
    font-size: var(--text-label-size);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-wrap: wrap;
}
.demo-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #dce2da;
    padding: 24px 30px;
    flex-wrap: wrap;
}
.demo-top strong {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.04em;
}
.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #243d2e;
    color: white;
    border: 1px solid #243d2e;
    padding: 12px 20px;
    min-height: 44px;
    font-size: var(--text-control-size);
    font-weight: 500;
}
.demo-btn:hover {
    background: #3b5c45;
    color: white;
}
.demo-btn:disabled {
    opacity: 0.5;
    cursor: default;
}
.demo-caption {
    font-size: var(--text-small-size);
    color: #627165;
    line-height: 1.7;
}
.demo-label {
    font-size: var(--text-small-size);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #627165;
}
.demo h3 {
    font-weight: 500;
}
.demo label {
    font-size: var(--text-small-size);
}
.demo input,
.demo select {
    border: 1px solid #bdc9bd;
    padding: 12px;
    width: 100%;
    background: white;
    color: #21382a;
    border-radius: 0;
    min-height: 44px;
}
.demo-reset {
    background: none;
    border: 0;
    text-decoration: underline;
    font-size: var(--text-control-size);
    min-height: 44px;
    padding: 10px;
    font-weight: 500;
}
.demo-live {
    font-size: var(--text-small-size);
    line-height: 1.7;
    margin-top: 20px;
}
.demo-success {
    background: #e1efcf;
    border-left: 2px solid #47713c;
    padding: 18px;
}
.hotel-demo {
    background: #f7f5ee;
    color: #353b2f;
}
.hotel-demo .demo-top {
    border: 0;
    padding: 22px 34px;
}
.hotel-brand {
    font:
        400 29px/1.1 Georgia,
        serif;
    letter-spacing: 0.04em;
}
.hotel-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
.hotel-nav button {
    border: 0;
    background: none;
    font-size: var(--text-control-size);
    padding: 8px 0;
    min-height: 44px;
    font-weight: 500;
}
.hotel-nav button[aria-pressed='true'] {
    border-bottom: 1px solid currentColor;
}
.hotel-hero {
    position: relative;
    height: 560px;
    background: #525b3b;
    display: flex;
    align-items: end;
}
.hotel-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hotel-hero::after {
    content: '';
    position: absolute;
    inset: 30% 0 0;
    background: linear-gradient(transparent, #101a10aa);
}
.hotel-hero-copy {
    position: relative;
    z-index: 1;
    padding: 44px;
    color: white;
}
.hotel-hero-copy p {
    font-size: var(--text-label-size);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
}
.hotel-hero-copy h3 {
    font:
        400 clamp(38px, 4vw, 68px) / 1.05 Georgia,
        serif;
    max-width: 14ch;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.hotel-hero-copy .demo-btn {
    background: #f7f5ee;
    color: #343d2d;
    border: 0;
}
.hotel-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 34px;
    font-size: var(--text-small-size);
}
.hotel-bottom span {
    max-width: 34ch;
}
.hotel-room {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 34px;
}
.hotel-room img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}
.hotel-room h3,
.hotel-booking h3 {
    font:
        400 42px/1.1 Georgia,
        serif;
    margin: 20px 0;
}
.hotel-room p {
    font-size: var(--text-small-size);
    margin-bottom: 26px;
    max-width: 35ch;
}
.hotel-room ul {
    padding: 0;
    list-style: none;
    font-size: var(--text-small-size);
    margin-bottom: 24px;
}
.hotel-room li {
    padding: 9px 0;
    border-top: 1px solid #d2d8ca;
}
.hotel-booking {
    padding: 35px;
    max-width: 740px;
    margin: auto;
    min-height: 500px;
}
.hotel-booking form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}
.hotel-booking label {
    display: block;
    margin-bottom: 8px;
}
.hotel-booking .full {
    grid-column: 1/-1;
}
.hotel-booking .demo-caption {
    max-width: 55ch;
}
.preview-mode .site-header,
.preview-mode .site-nav,
.preview-mode .header-contact,
.preview-mode .page-intro,
.preview-mode .block,
.preview-mode .contact-section,
.preview-mode .site-footer,
.preview-mode .ai-widget,
.preview-mode #cookie-consent-root,
.preview-mode .demo-section .section-heading,
.preview-mode .demo-section > .wrap > .demo-note,
.preview-mode .skip-link {
    display: none !important;
}
.preview-mode main {
    margin: 0 !important;
}
.preview-mode .demo-section {
    padding: 0;
    background: #fff;
}
.preview-mode .demo-section > .wrap {
    padding: 0;
    max-width: none;
}
.preview-mode .demo {
    border: 0;
    box-shadow: none;
}
.preview-mode .hotel-hero {
    height: 630px;
}
.preview-mode .hotel-bottom {
    padding-block: 30px;
}
@media (max-width: 700px) {
    .demo-bar {
        padding: 12px 16px;

        gap: 10px;
    }
    .demo-top {
        padding: 15px;
    }
    .hotel-demo .demo-top {
        padding: 14px 16px;
    }
    .hotel-brand {
        font-size: 21px;
    }
    .hotel-nav {
        gap: 12px;
        width: 100%;
        justify-content: space-between;
    }
    .hotel-hero {
        height: 420px;
    }
    .hotel-hero-copy {
        padding: 24px;
    }
    .hotel-hero-copy h3 {
        font-size: 43px;
    }
    .hotel-bottom {
        padding: 20px 16px;

        gap: 15px;
    }
    .hotel-room {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }
    .hotel-room img {
        height: 250px;
    }
    .hotel-room h3,
    .hotel-booking h3 {
        font-size: 34px;
    }
    .hotel-booking {
        padding: 22px 16px;
    }
    .hotel-booking form {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
