:root {
    --petrol: #0f5f63;
    --petrol-dark: #0a4144;
    --cream: #f7f4ed;
    --card: rgba(255, 255, 255, 0.94);
    --text: #142033;
    --muted: #5f6b7c;
    --line: rgba(20, 32, 51, 0.13);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #ffffff 0, var(--cream) 46%, #e6f0ef 100%);
    color: var(--text);
    overflow: hidden;
}

.tablet-screen {
    width: 100vw;
    height: 100vh;
    padding: clamp(18px, 3vw, 42px);
    display: grid;
    grid-template-rows: minmax(150px, 24vh) minmax(0, 1fr);
    gap: clamp(14px, 2vw, 24px);
}

.hero {
    min-height: 0;
    border-radius: clamp(24px, 3vw, 34px);
    background: linear-gradient(135deg, var(--petrol), var(--petrol-dark));
    color: white;
    padding: clamp(22px, 3vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 24px 70px rgba(15, 95, 99, 0.20);
    overflow: hidden;
}

.brand {
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
    font-size: clamp(13px, 1.25vw, 20px);
    opacity: .88;
    margin-bottom: clamp(8px, 1vw, 14px);
}

.room {
    margin: 0 0 clamp(8px, 1.2vw, 14px);
    font-size: clamp(17px, 2vw, 30px);
    opacity: .88;
    font-weight: 800;
    line-height: 1.05;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 96px);
    line-height: .92;
    letter-spacing: -0.055em;
    max-width: 100%;
}

.hero p:not(.room) {
    margin: 14px 0 0;
    font-size: clamp(18px, 2vw, 30px);
    opacity: .88;
}

.button-grid {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.7vw, 24px);
}

.guest-button {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: clamp(18px, 2.4vw, 28px);
    background: var(--card);
    color: var(--text);
    font-size: clamp(25px, 3.6vw, 54px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.045em;
    text-align: left;
    padding: clamp(18px, 2.4vw, 34px);
    box-shadow: 0 14px 40px rgba(20, 32, 51, 0.075);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.guest-button.primary {
    background: #ffffff;
    border-color: rgba(15, 95, 99, 0.36);
    color: var(--petrol-dark);
}

.guest-button.placeholder { opacity: .82; }
.guest-button:disabled { cursor: default; }

@media (max-width: 1100px) and (orientation: landscape) {
    .tablet-screen {
        grid-template-rows: minmax(135px, 23vh) minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .guest-button {
        font-size: clamp(22px, 3.4vw, 40px);
        padding: 18px 22px;
    }

    h1 { font-size: clamp(38px, 6vw, 72px); }
}

@media (orientation: portrait) {
    .tablet-screen {
        grid-template-rows: minmax(180px, 22vh) minmax(0, 1fr);
        gap: clamp(14px, 2vw, 24px);
    }

    .button-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, minmax(0, 1fr));
    }

    h1 { font-size: clamp(44px, 9vw, 92px); }

    .guest-button {
        font-size: clamp(28px, 5vw, 56px);
        padding: clamp(16px, 3vw, 30px);
    }
}

.guest-button { text-decoration: none; }
.guest-button.placeholder:disabled { opacity: .82; }

.detail-screen {
    grid-template-rows: minmax(150px, 24vh) minmax(0, 1fr);
}

.detail-hero h1 {
    font-size: clamp(44px, 6.4vw, 88px);
}

.detail-card {
    min-height: 0;
    border-radius: clamp(22px, 2.6vw, 34px);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 18px 55px rgba(20, 32, 51, 0.08);
    padding: clamp(24px, 3vw, 46px);
    display: grid;
    gap: clamp(18px, 2vw, 30px);
    align-content: start;
    overflow: hidden;
}

.info-row {
    border-radius: clamp(18px, 2.2vw, 28px);
    background: #ffffff;
    border: 1px solid rgba(15, 95, 99, 0.16);
    padding: clamp(18px, 2.2vw, 34px);
}

.info-label {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: clamp(14px, 1.25vw, 20px);
    font-weight: 900;
    margin-bottom: 8px;
}

.info-value {
    color: var(--petrol-dark);
    font-size: clamp(36px, 6vw, 86px);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -0.05em;
    overflow-wrap: anywhere;
}

.info-value.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    letter-spacing: -0.08em;
}

.info-notes {
    font-size: clamp(24px, 3vw, 44px);
    line-height: 1.12;
    font-weight: 800;
    color: var(--text);
}

.empty-message {
    margin: 0;
    font-size: clamp(30px, 4vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.empty-submessage {
    margin: 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 30px);
    font-weight: 700;
}

.back-button {
    align-self: end;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(58px, 6vw, 86px);
    padding: 0 clamp(24px, 3vw, 42px);
    border-radius: 999px;
    background: var(--petrol);
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(20px, 2vw, 32px);
    font-weight: 900;
}

@media (orientation: portrait) {
    .detail-card { overflow-y: auto; }
    .info-value { font-size: clamp(34px, 8vw, 74px); }
}
