/* Bubble House – calm palette derived from the logo: navy for text and actions, the logo colours only as quiet accents */
@font-face {
    font-family: "Fredoka";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/fredoka-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fredoka";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/fredoka-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --sky: #2B86BD;
    --green: #4E9A4B;
    --yellow: #E0A21A;
    --red: #D9534F;
    --navy: #13335F;
    --navy-dark: #0D2649;
    --ink: #1F2A3C;
    --muted: #5E6B7E;
    --bg: #FFFFFF;
    --tint: #F5F7FA;
    --card: #FFFFFF;
    --line: #E5EAF0;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px rgba(16, 24, 40, .06);
    --display: "Fredoka", ui-rounded, system-ui, sans-serif;
    --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }
h1, h2 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; }
h3 { font-family: var(--body); color: var(--navy); line-height: 1.3; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--body); font-weight: 600; color: var(--sky); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .7em; }
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.hl { color: var(--sky); }

.btn {
    display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1rem;
    background: var(--navy); color: #fff; text-decoration: none; border: 1px solid var(--navy); cursor: pointer;
    padding: 13px 24px; border-radius: 10px; transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn:focus-visible { outline: 3px solid rgba(43, 134, 189, .35); outline-offset: 2px; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: #D3DBE5; }
.btn-small { padding: 9px 16px; font-size: .93rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:not(.btn):hover { color: var(--sky); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li { background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 9px 15px; color: var(--muted); font-size: .93rem; }
.facts strong { color: var(--navy); font-weight: 650; margin-right: 3px; }
.hero-media { position: relative; justify-self: center; }
.phone-frame { width: min(330px, 78vw); aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(16, 24, 40, .14); background: var(--tint); }
.phone-frame video { width: 100%; height: 100%; object-fit: cover; }

/* split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-card { justify-self: center; width: min(360px, 100%); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.photo-card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* videos */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.video-item { margin: 0; }
.video-item video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: #000; box-shadow: var(--shadow); }
.video-item figcaption { margin-top: 10px; font-weight: 600; color: var(--navy); font-size: .97rem; }
.video-item figcaption span { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: .9rem; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin-top: 36px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 18px 20px 20px; }
.card-body p { color: var(--muted); font-size: .97rem; margin: 0; }

/* audiences */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.audience { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.audience img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.audience-body { padding: 18px 20px 22px; }
.audience p { color: var(--muted); margin: 0; font-size: .96rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.gallery-item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.gallery-item:hover img { transform: scale(1.03); opacity: .92; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 20, 38, .92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: min(1200px, 100%); border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* booking */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; align-items: start; }
.calendar, .inquiry { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--navy); text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; color: var(--navy); cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-weekdays span { text-align: center; font-size: .8rem; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.cal-day { aspect-ratio: 1; border-radius: 8px; border: 2px solid transparent; font: 600 .95rem var(--body); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.cal-day.free { background: #EAF4EA; color: #2E6B2B; }
.cal-day.partial { background: #FDF3DE; color: #85590A; }
.cal-day.full { background: #F9E8E9; color: #A2414A; cursor: not-allowed; text-decoration: line-through; }
.cal-day.closed { background: repeating-linear-gradient(135deg, #EEF1F5 0 6px, #E4E8EE 6px 12px); color: #8A95A6; cursor: not-allowed; }
.cal-day.past { background: #F3F5F8; color: #B5BECB; cursor: default; }
.cal-day.today { border-color: var(--navy); }
.cal-day.selected { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(43, 134, 189, .2); }
.cal-day.empty { visibility: hidden; }
.cal-grid.loading { opacity: .4; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: .9rem; color: var(--muted); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.dot.free { background: #A9D3A7; } .dot.partial { background: #F3D18A; } .dot.full { background: #E9AAB0; } .dot.closed { background: repeating-linear-gradient(135deg, #E4E8EE 0 3px, #C9D0DA 3px 6px); }
.cal-info { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--tint); font-size: .97rem; min-height: 54px; }
.cal-info strong { color: var(--navy); }

.inquiry h3 { margin-bottom: 14px; }
.inquiry label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.inquiry input, .inquiry select, .inquiry textarea {
    display: block; width: 100%; margin-top: 5px; font: 16px var(--body); color: var(--ink);
    padding: 11px 13px; border: 1px solid #D5DDE6; border-radius: 8px; background: #fff;
}
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(43, 134, 189, .15); }
.inquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inquiry .row[hidden] { display: none; }
.inquiry .invalid { border-color: var(--red); }
.hp { position: absolute !important; left: -9999px; }
.form-msg { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: #2E6B2B; }
.form-msg.err { color: #A2414A; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; align-items: stretch; }
.price-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; text-align: center; }
.price-card h3 { margin-bottom: .2em; }
.price-time { color: var(--muted); font-size: 1rem; margin: 0; }
.price { color: var(--muted); font-size: 1.05rem; margin: 16px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price strong { font-family: var(--display); font-size: 2.5rem; font-weight: 500; color: var(--navy); }
.price small { font-size: 1rem; }
.price-text { color: var(--navy); font-weight: 600; font-size: 1.1rem; line-height: 1.45; }
.price-note { color: var(--muted); font-size: .93rem; margin: auto 0 0; }
.price-note strong { color: var(--ink); font-weight: 600; }
.price-other .btn { margin-top: 18px; align-self: center; }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; font-size: 1.1rem; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.icon { flex-shrink: 0; color: var(--sky); }
.contact-list a { color: var(--navy); }
.contact.split { align-items: start; }
.contact .map { margin-top: 8px; }
.contact-form .muted { margin: -6px 0 16px; }
/* Turnstile stays invisible unless Cloudflare needs the visitor to click (data-appearance="interaction-only") */
.contact-form .cf-turnstile.shown { margin-bottom: 12px; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--tint); aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-load { width: 100%; height: 100%; border: 0; background: var(--tint); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--navy); font: 600 1.05rem var(--body); }
.map-load:hover { background: #EDF1F6; }
.map-load .icon { width: 34px; height: 34px; margin-bottom: 4px; }
.map-load small { color: var(--muted); font: 400 .85rem var(--body); }

/* footer */
.site-footer { background: var(--navy); color: #C3CFE0; padding: 36px 0; font-size: .92rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner img { height: 48px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer-inner p { margin: 0; }
.site-footer a { color: #fff; }

/* responsive */
@media (max-width: 960px) {
    .hero-inner, .split, .booking { grid-template-columns: 1fr; }
    .prices { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
    .hero-media { margin-top: 10px; }
    .audiences { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .videos { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; }
}
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
    .nav.open { display: flex; }
    .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
    .nav .btn { margin-top: 12px; text-align: center; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .section { padding: 64px 0; }
    .hero { padding-top: 32px; }
    .audiences { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    /* phones: swipe through the videos */
    .videos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; max-width: none; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
    .videos::-webkit-scrollbar { display: none; }
    .video-item { flex: 0 0 72%; scroll-snap-align: center; }
    .inquiry .row { grid-template-columns: 1fr; gap: 0; }
    .calendar, .inquiry { padding: 18px; }
    .cal-grid { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gallery-item img, .btn { transition: none; }
}
