/* ============================================================
   PLACEBO ESCAPE ROOM - EVENTS PAGE
   Uses the same color language as the current home page.
   ============================================================ */

body.events-page, body.events-page * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.events-page {
    margin: 0;
    background: var(--home-bg,#102131);
    color: var(--home-text,#fff);
    font-family: Arial,Helvetica,sans-serif;
}

body.events-page a {
    color: inherit;
    text-decoration: none;
}

body.events-page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.events-page .wrap {
    width: min(1180px,calc(100% - 30px));
    margin: auto;
}

body.events-page header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--home-header-bg,#b9b9b9);
    border-bottom: 1px solid var(--home-line,#2f7fa2);
    backdrop-filter: blur(12px);
}

body.events-page .nav {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

body.events-page .logo {
    font-size: 31px;
    font-weight: 900;
    line-height: .84;
    letter-spacing: -1.4px;
    color: #fff;
}

body.events-page .logo small {
    display: block;
    color: var(--home-red,#32b8e6);
    font-size: 11px;
    letter-spacing: 2.4px;
    margin-top: 7px;
}

body.events-page .links {
    display: flex;
    gap: 25px;
    color: #fff;
    font-weight: 700;
    align-items: center;
}

body.events-page .links a {
    opacity: .9;
}

body.events-page .links a:hover,body.events-page .links a.active {
    opacity: 1;
    color: #102131;
}

body.events-page .book, body.events-page .primary, body.events-page .whatsapp-send {
    background: linear-gradient(135deg,var(--home-button-start,#29c2f2),var(--home-button-end,#665cf5));
    color: #fff;
    font-weight: 900;
    border: 0;
}

body.events-page .book {
    padding: 14px 22px;
    border-radius: 9px;
}

body.events-page .menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
}

body.events-page .mobile-menu {
    display: none;
}

.events-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 20% 20%,rgba(41,194,242,.22),transparent 32%), radial-gradient(circle at 82% 30%,rgba(102,92,245,.22),transparent 34%), linear-gradient(180deg,#102131,#0b1a27);
    border-bottom: 1px solid var(--home-line,#2f7fa2);
    overflow: hidden;
}

.events-hero-inner {
    text-align: center;
    padding: 80px 0;
}

.events-kicker {
    color: #80e8ff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
}

.events-hero h1 {
    font-size: clamp(54px,8vw,94px);
    line-height: .9;
    letter-spacing: -4px;
    margin: 0;
}

.events-hero h1 span,.events-title h2 span {
    color: var(--home-red,#32b8e6);
}

.events-hero p {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--home-muted,#c6dbe5);
    font-size: 21px;
    line-height: 1.7;
}

.events-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.events-hero-actions a {
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 900;
}

.events-hero-actions .secondary {
    border: 1px solid var(--home-line,#2f7fa2);
    background: rgba(255,255,255,.05);
}

.event-types {
    padding: 78px 0;
}

.events-title {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 44px;
}

.events-title h2 {
    font-size: 46px;
    margin: 0;
    letter-spacing: -1.8px;
}

.events-title p {
    font-size: 18px;
    color: var(--home-muted,#c6dbe5);
    line-height: 1.7;
    margin: 12px 0 0;
}

.event-showcase {
    display: grid;
    grid-template-columns: .9fr 1.25fr;
    gap: 30px;
    align-items: center;
    background: linear-gradient(145deg,var(--home-panel,#17344a),var(--home-panel2,#1d425a));
    border: 1px solid var(--home-line,#2f7fa2);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 26px;
    overflow: hidden;
    box-shadow: 0 24px 65px rgba(0,0,0,.18);
}

.event-showcase.reverse {
    grid-template-columns: 1.25fr .9fr;
}

.event-showcase.reverse .event-copy {
    order: 2;
}

.event-showcase.reverse .event-photos {
    order: 1;
}

.event-copy {
    padding: 20px 14px;
    position: relative;
}

.event-number {
    position: absolute;
    top: -22px;
    left: 0;
    font-size: 88px;
    line-height: 1;
    color: rgba(255,255,255,.055);
    font-weight: 950;
}

.event-label {
    color: #7fe6ff;
    font-weight: 900;
    margin-bottom: 13px;
    position: relative;
}

.event-copy h3 {
    font-size: 38px;
    line-height: 1.08;
    margin: 0 0 17px;
    letter-spacing: -1px;
    position: relative;
}

.event-copy p {
    color: var(--home-muted,#c6dbe5);
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 23px;
    position: relative;
}

.event-link {
    display: inline-flex;
    align-items: center;
    font-weight: 900;
    color: #fff;
    padding: 13px 18px;
    border: 1px solid var(--home-line,#2f7fa2);
    border-radius: 10px;
    background: rgba(255,255,255,.045);
    position: relative;
}

.event-link:hover {
    border-color: var(--home-red,#32b8e6);
    transform: translateY(-1px);
}

.event-photos {
    height: 360px;
    position: relative;
    min-width: 0;
}

.event-photos figure {
    margin: 0;
    overflow: hidden;
    border-radius: 17px;
    border: 2px solid rgba(255,255,255,.18);
    box-shadow: 0 16px 38px rgba(0,0,0,.32);
}

.photo-main {
    position: absolute;
    inset: 0 17% 0 0;
}

.photo-side {
    position: absolute;
    width: 43%;
    height: 58%;
    left: 0;
    bottom: -5px;
    transform: rotate(-3deg);
}

.event-showcase.reverse .photo-main {
    inset: 0 0 0 17%;
}

.event-showcase.reverse .photo-side {
    right: 0;
    left: auto;
    transform: rotate(3deg);
}

.event-showcase.kids {
    border-color: rgba(244,189,69,.45);
}

.event-showcase.company {
    border-color: rgba(41,194,242,.45);
}

.event-showcase.adults {
    border-color: rgba(102,92,245,.5);
}

.calculator-section {
    padding: 86px 0 100px;
    background: linear-gradient(180deg,#0b1a27,#102131);
    border-top: 1px solid var(--home-line,#2f7fa2);
}

.calculator-title {
    margin-bottom: 38px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 24px;
    align-items: start;
}

.calculator-form {
    display: grid;
    gap: 16px;
}

.calc-step {
    background: linear-gradient(180deg,var(--home-panel,#17344a),rgba(23,52,74,.75));
    border: 1px solid var(--home-line,#2f7fa2);
    border-radius: 18px;
    padding: 24px;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 16px;
}

.step-title>span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#29c2f2,#665cf5);
    font-size: 14px;
}

.step-help,.capacity-note,.pricing-note {
    color: var(--home-muted,#c6dbe5);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.capacity-note {
    margin-top: 12px;
    margin-bottom: 0;
}

.pricing-note {
    margin-top: 13px;
    margin-bottom: 0;
}

.choice-grid {
    display: grid;
    gap: 10px;
}

.choice-grid.three {
    grid-template-columns: repeat(3,1fr);
}

.choice-card {
    cursor: pointer;
}

.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card span {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--home-line,#2f7fa2);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255,255,255,.035);
    font-weight: 800;
}

.choice-card input:checked+span {
    border-color: #70ddff;
    background: rgba(41,194,242,.14);
    box-shadow: inset 0 0 0 1px rgba(112,221,255,.3);
}

.split-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.number-control {
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    max-width: 280px;
    height: 52px;
    direction: ltr;
}

.number-control button,.number-control input {
    border: 1px solid var(--home-line,#2f7fa2);
    background: #10283a;
    color: #fff;
    font-size: 20px;
    text-align: center;
}

.number-control button {
    cursor: pointer;
    font-size: 26px;
    font-weight: 900;
}

.number-control button:first-child {
    border-radius: 10px 0 0 10px;
}

.number-control button:last-child {
    border-radius: 0 10px 10px 0;
}

.number-control input {
    width: 100%;
    border-inline: 0;
    outline: none;
    font-weight: 900;
}

.number-control input: :-webkit-inner-spin-button {
    appearance: none;
}

.calc-select {
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
    border: 1px solid var(--home-line,#2f7fa2);
    background: #10283a;
    color: #fff;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 700;
    outline: none;
}

.room-count-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.room-count-row label {
    cursor: pointer;
}

.room-count-row input {
    position: absolute;
    opacity: 0;
}

.room-count-row span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--home-line,#2f7fa2);
    border-radius: 11px;
    background: rgba(255,255,255,.03);
    font-weight: 900;
    font-size: 18px;
}

.room-count-row input:checked+span {
    background: linear-gradient(135deg,#29c2f2,#665cf5);
    border-color: transparent;
}

.rooms-choice-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

.room-choice {
    cursor: pointer;
    position: relative;
}

.room-choice input {
    position: absolute;
    opacity: 0;
}

.room-choice>span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 70px;
    border: 1px solid var(--home-line,#2f7fa2);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,.035);
}

.room-choice b {
    font-size: 16px;
}

.room-choice small {
    color: var(--home-muted,#c6dbe5);
    white-space: nowrap;
}

.room-choice input:checked+span {
    border-color: #70ddff;
    background: rgba(41,194,242,.15);
}

.room-choice.soccer>span {
    border-color: rgba(126,231,92,.35);
}

.room-choice.disabled {
    opacity: .38;
    cursor:not-allowed;
}

.room-warning {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(244,189,69,.12);
    border: 1px solid rgba(244,189,69,.5);
    color: #ffe4a4;
    font-weight: 700;
    line-height: 1.5;
}

.room-warning.show {
    display: block;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
}

.addon-box {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 14px;
}

.addon-box label {
    display: block;
    font-weight: 900;
    margin-bottom: 9px;
}

.muted-addon {
    opacity: .45;
}

.event-summary {
    position: relative;
}

.summary-sticky {
    position: sticky;
    top: 94px;
    background: linear-gradient(160deg,#1b3f56,#122a3c);
    border: 1px solid #3a8eaf;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.summary-label {
    color: #7fe6ff;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 1px;
}

.summary-sticky h3 {
    font-size: 30px;
    margin: 7px 0 20px;
}

.summary-lines {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 7px 0;
}

.summary-lines>div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    color: var(--home-muted,#c6dbe5);
    font-size: 14px;
}

.summary-lines b {
    color: #fff;
    text-align: left;
    max-width: 60%;
}

.summary-price {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    padding: 21px 0 5px;
}

.summary-price span {
    color: var(--home-muted,#c6dbe5);
    font-size: 16px;
    font-weight: 800;
}

.summary-price strong {
    font-size: 29px;
}

.summary-small {
    font-size: 12px;
    color: var(--home-muted,#c6dbe5);
    line-height: 1.55;
    margin: 7px 0 17px;
}

.whatsapp-send {
    width: 100%;
    min-height: 56px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    padding: 0 14px;
}

.whatsapp-send:disabled {
    opacity: .38;
    cursor:not-allowed;
    filter: grayscale(.4);
}

.summary-error {
    color: #ffd28a;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
    font-weight: 700;
}

body.events-page footer {
    padding: 44px 0 90px;
    border-top: 1px solid var(--home-line,#2f7fa2);
    background: #0b1a27;
}

body.events-page .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 28px;
}

body.events-page footer h3 {
    margin: 0 0 12px;
}

body.events-page footer p {
    color: var(--home-muted,#c6dbe5);
    line-height: 1.8;
}

.mobile-event-cta {
    display: none;
}

@media(max-width: 900px) {
    body.events-page .links,body.events-page .nav>.book {
        display: none;
    }

    body.events-page .menu-btn {
        display: block;
        color: #102131;
    }

    body.events-page .mobile-menu {
        position: fixed;
        top: 66px;
        right: 0;
        left: 0;
        z-index: 9999;
        background: var(--home-panel,#17344a);
        border-block: 1px solid var(--home-line,#2f7fa2);
        padding: 10px 20px 18px;
    }

    body.events-page .mobile-menu.open {
        display: block;
    }

    body.events-page .mobile-menu a {
        display: block;
        padding: 15px 4px;
        border-bottom: 1px solid var(--home-line,#2f7fa2);
        font-weight: 700;
    }

    body.events-page .mobile-menu a:last-child {
        border-bottom: 0;
    }

    .event-showcase,.event-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .event-showcase.reverse .event-copy,.event-showcase.reverse .event-photos {
        order: initial;
    }

    .event-photos {
        height: 330px;
    }

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

    .summary-sticky {
        position: relative;
        top: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr!important;
    }
}

@media(max-width: 620px) {
    body.events-page .wrap {
        width: min(100% - 20px,1180px);
    }

    body.events-page .nav {
        height: 66px;
    }

    body.events-page .logo {
        font-size: 26px;
    }

    .events-hero {
        min-height: 480px;
    }

    .events-hero-inner {
        padding: 62px 0;
    }

    .events-hero h1 {
        font-size: 54px;
        letter-spacing: -2.5px;
    }

    .events-hero p {
        font-size: 17px;
    }

    .event-types {
        padding: 55px 0;
    }

    .events-title {
        margin-bottom: 30px;
    }

    .events-title h2 {
        font-size: 35px;
    }

    .events-title p {
        font-size: 16px;
    }

    .event-showcase {
        padding: 18px;
        border-radius: 18px;
        margin-bottom: 18px;
    }

    .event-copy {
        padding: 12px 2px;
    }

    .event-copy h3 {
        font-size: 31px;
    }

    .event-copy p {
        font-size: 16px;
    }

    .event-photos {
        height: 270px;
    }

    .photo-main {
        inset: 0 10% 0 0;
    }

    .photo-side {
        width: 47%;
        height: 53%;
    }

    .event-showcase.reverse .photo-main {
        inset: 0 0 0 10%;
    }

    .calculator-section {
        padding: 58px 0 110px;
    }

    .calc-step {
        padding: 18px 15px;
    }

    .choice-grid.three {
        grid-template-columns: 1fr;
    }

    .choice-card span {
        min-height: 54px;
        justify-content: flex-start;
    }

    .split-step {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .rooms-choice-grid {
        grid-template-columns: 1fr 1fr;
    }

    .room-choice>span {
        min-height: 64px;
        display: block;
    }

    .room-choice small {
        display: block;
        margin-top: 5px;
    }

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

    .summary-sticky {
        padding: 21px 17px;
    }

    .summary-sticky h3 {
        font-size: 27px;
    }

    .summary-lines>div {
        font-size: 13px;
    }

    .summary-price strong {
        font-size: 26px;
    }

    .mobile-event-cta {
        display: flex;
        position: fixed;
        z-index: 120;
        right: 12px;
        left: 12px;
        bottom: 12px;
        min-height: 58px;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: linear-gradient(135deg,#29c2f2,#665cf5);
        font-weight: 900;
        font-size: 18px;
        box-shadow: 0 12px 36px rgba(0,0,0,.42);
    }

    body.events-page footer {
        padding-bottom: 110px;
    }
}

/* Fix dropdown background on events page */

.events-page .nav-dropdown-menu {
    background: #17344a;
    border: 1px solid #2f7fa2;
}

.events-page .nav-dropdown-menu a {
    color: #ffffff;
}

.events-page .nav-dropdown-menu a:hover {
    background: #1d425a;
}

/* Match the shared light site navigation and keep text legible on each surface. */
body.events-page header .logo,
body.events-page header .links,
body.events-page header .nav-dropdown-toggle,
body.events-page .mobile-menu,
body.events-page .mobile-submenu-toggle {
    color: var(--home-text);
}

body.events-page header .links a:hover,
body.events-page header .nav-dropdown-toggle:hover {
    color: var(--home-red2);
}

body.events-page .nav-dropdown-menu {
    background: var(--home-panel);
    border-color: var(--home-line);
    box-shadow: 0 12px 30px var(--light-shadow);
}

body.events-page .nav-dropdown-menu a {
    color: var(--home-text);
}

body.events-page .nav-dropdown-menu a:hover {
    background: var(--home-panel2);
    color: var(--home-red2);
}

body.events-page .events-hero {
    color: #fff;
}

body.events-page .events-hero p {
    color: #e1edf2;
}

body.events-page .events-hero h1 span {
    color: #80e8ff;
}

body.events-page .events-hero-actions .secondary {
    color: #fff;
    border-color: #c2dae3;
    background: rgba(255, 255, 255, .08);
}

body.events-page .events-title .events-kicker,
body.events-page .event-label {
    color: var(--home-red2);
}

body.events-page .event-number {
    color: rgba(23, 56, 74, .10);
}

body.events-page .event-link {
    color: var(--home-red2);
    background: #edf6fa;
}

body.events-page .calculator-section {
    background: linear-gradient(180deg, #e8f3f7, var(--home-bg));
}

body.events-page .calc-step {
    background: linear-gradient(180deg, var(--home-panel), var(--home-panel2));
}

body.events-page .step-title > span,
body.events-page .room-count-row input:checked + span {
    color: #fff;
}

body.events-page .room-warning {
    color: #704400;
}

body.events-page .summary-sticky {
    color: #fff;
}

body.events-page .summary-lines > div,
body.events-page .summary-price span,
body.events-page .summary-small {
    color: #d5e8f0;
}

body.events-page footer {
    color: #fff;
}

body.events-page footer p {
    color: #d5e8f0;
}
/* Event hosting and refreshments details, next to the calculator choices. */
.event-package-details {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.6;
}

.event-package-details h3 { margin: 0 0 8px; font-size: 18px; }
.event-package-details p { margin: 6px 0; }
.event-package-details summary { cursor: pointer; font-weight: 700; }
.refreshments-table-wrap { overflow-x: auto; margin-top: 8px; }
.refreshments-table { width: 100%; border-collapse: collapse; text-align: right; }
.refreshments-table th, .refreshments-table td { padding: 7px; border-bottom: 1px solid #bfd9e3; }
