/* Cold Bath Plunge - shared styles (nav, logo, footer, newsletter popup, content pages) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #F5F0E8; --navy: #3B5F7A; --navy-d: #2A4560;
  --navy-l: #6B8FA8; --navy-f: #A8C4D4; --cream: #FDFAF5;
  --amber: #ffc84d; --amber-bar: #FFB000;
  --font: 'Courier Prime', 'Courier New', Courier, monospace; --body: 1.05rem;
  --rule: rgba(59,95,122,0.18);
}
html, body { min-height: 100%; font-family: var(--font); background: var(--bg); color: var(--navy); overflow-x: hidden; width: 100%; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }

.page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 1.5rem 2rem; position: relative; z-index: 1; width: 100%; max-width: 100%; overflow-x: hidden; }
.page-sub { justify-content: flex-start; min-height: 0; padding-top: 3rem; padding-bottom: 4rem; }

/* TOP BAR */
.topbar { position: relative; z-index: 2; background: #3076de; padding: 1.1rem 1.5rem; }
.topnav { display: flex; align-items: center; justify-content: center; gap: 0.75rem 3rem; flex-wrap: wrap; }
.topnav a { font-size: 1.4rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.topnav a:hover, .topnav a[aria-current="page"] { border-bottom-color: #fff; }
.topnav a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.topnav .topnav-book { color: var(--navy-d); background: var(--amber); padding: 0.9rem 2rem; border: none; transition: background 0.2s; }
.topnav .topnav-book:hover, .topnav .topnav-book:focus-visible { background: #fff; }
@media (max-width: 900px) { .topnav { gap: 0.75rem 1.75rem; } .topnav a { font-size: 1.1rem; letter-spacing: 0.14em; } }
@media (max-width: 640px) { .topnav { gap: 0.75rem 1.1rem; } .topnav a { font-size: 0.95rem; letter-spacing: 0.08em; } }
@media (max-width: 480px) { .topbar { padding: 0.75rem 0.75rem; } .topnav { gap: 0.6rem 0.75rem; flex-wrap: nowrap; } .topnav a { font-size: 0.85rem; letter-spacing: 0.03em; } .topnav .topnav-book { padding: 0.6rem 0.7rem; } }
@media (max-width: 340px) { .topnav { flex-wrap: wrap; } }

/* LOGO */
.logo-wrap { display: block; width: 100%; text-decoration: none; animation: fadeUp 1s ease forwards; opacity: 0; }
.logo-main { display: flex; align-items: center; justify-content: center; gap: clamp(0.5rem, 1.2vw, 1.25rem); width: 100%; }
.motif { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.motif svg { display: block; width: clamp(38px, 6vw, 95px); height: auto; overflow: visible; }
.logo-text-svg { width: clamp(160px, 74vw, 1100px); flex-shrink: 1; }
.logo-text-svg svg { width: 100%; height: auto; display: block; }
.page-sub .logo-text-svg { width: clamp(160px, 56vw, 760px); }
.page-sub .motif svg { width: clamp(30px, 4.5vw, 70px); }
@media (max-width: 600px) {
  .logo-text-svg { width: 74vw; }
  .motif svg { width: clamp(26px, 7vw, 46px); }
  .page-sub .logo-text-svg { width: 70vw; }
  .page-sub .motif svg { width: clamp(22px, 6vw, 40px); }
}

/* SHARED LABEL STYLE (matches the home page section labels) */
.label { font-size: var(--body); font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--navy-l); display: block; text-align: center; margin-bottom: 1.5rem; }

/* CONTENT PAGES */
.page-head { text-align: center; margin-top: 2.5rem; padding: 0 1rem; max-width: 680px; animation: fadeUp 1s 0.2s ease forwards; opacity: 0; }
.page-head h1 { margin-bottom: 1.5rem; }
.lead { font-size: clamp(1.2rem, 2.6vw, 1.5rem); font-weight: 700; line-height: 1.5; color: var(--navy-d); text-wrap: balance; }
.page-head .sub { margin-top: 1.25rem; font-size: var(--body); line-height: 1.8; opacity: 0.8; }
.page-body { width: 100%; display: flex; flex-direction: column; align-items: center; animation: fadeUp 1s 0.35s ease forwards; opacity: 0; }
.block { width: 100%; max-width: 680px; margin-top: 4rem; padding: 0 0.5rem; }
.block-wide { max-width: 820px; }
.prose p { font-size: var(--body); line-height: 1.85; margin-bottom: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose a, .faq-a a, .note a { color: var(--navy-d); font-weight: 700; text-underline-offset: 3px; }
.wave-sep { display: block; width: 60px; height: auto; margin: 4rem auto 0; opacity: 0.7; }

/* Two-column ruled list (same look as the opening hours table) */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 13rem 1fr; gap: 0.5rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.row-k { font-weight: 700; font-size: 0.9rem; line-height: 1.6; }
.row-k small { display: block; font-weight: 400; opacity: 0.7; font-size: 0.8rem; }
.row-v { font-size: 0.95rem; line-height: 1.75; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }

/* Navy blocks (same look as the gift card blocks) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.tile { background: var(--navy-d); color: var(--cream); padding: 2rem 1.75rem; }
.tile-k { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-f); display: block; margin-bottom: 0.6rem; }
.tile h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.75rem; }
.tile p { font-size: 0.88rem; line-height: 1.75; opacity: 0.8; }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

.note { font-size: 0.85rem; line-height: 1.7; opacity: 0.7; text-align: center; margin-top: 1.5rem; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.75rem; }
.btn { display: inline-block; font-family: var(--font); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding: 0.85rem 1.6rem; border: 2px solid var(--navy-d); color: var(--navy-d); background: transparent; transition: background 0.2s, color 0.2s; }
.btn:hover, .btn:focus-visible { background: var(--navy-d); color: var(--cream); }
.btn-solid { background: var(--navy-d); color: var(--cream); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--navy); border-color: var(--navy); }
.btn:focus-visible { outline: 2px solid var(--navy-d); outline-offset: 3px; }
.closer { text-align: center; }
.closer .lead { max-width: 560px; margin: 0 auto; }

/* FOOTER */
.site-foot { position: relative; z-index: 1; background: var(--navy-d); color: var(--cream); padding: 3.5rem 1.5rem 2rem; }
.foot-inner { max-width: 1000px; margin: 0 auto; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; align-items: start; }
.foot-col h2 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.foot-col a, .foot-col button { display: block; width: fit-content; font-family: var(--font); font-size: 0.95rem; line-height: 1; color: var(--cream); text-decoration: none; background: none; border: none; cursor: pointer; padding: 0.4rem 0; opacity: 0.85; text-align: left; }
.foot-col a:hover, .foot-col button:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot-col a:focus-visible, .foot-col button:focus-visible, .foot-base a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.foot-wave { display: block; width: 54px; margin: 3rem auto 1.25rem; }
.foot-base { text-align: center; font-size: 0.8rem; line-height: 1.9; opacity: 0.7; }
.foot-base a { color: var(--cream); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .foot-cols { grid-template-columns: 1fr; } }

/* NEWSLETTER POPUP */
.cbp-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(42,69,96,0.72); }
.cbp-modal.open { display: flex; animation: modalFade 0.3s ease; }
.cbp-modal-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 3rem); overflow-y: auto; background: var(--bg); border: 2px solid var(--navy); padding: 2.75rem 1.75rem 2rem; }
.cbp-modal-intro { font-size: 0.95rem; line-height: 1.7; color: var(--navy); opacity: 0.8; margin: -0.5rem 0 1.25rem; }
.cbp-modal-close { position: absolute; top: 0.6rem; right: 0.75rem; background: none; border: none; font-family: var(--font); font-size: 1.8rem; line-height: 1; color: var(--navy); cursor: pointer; padding: 0.25rem 0.5rem; }
.cbp-modal-close:focus-visible { outline: 2px solid var(--navy); }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.signup { text-align: center; width: 100%; }
.signup-label { font-size: var(--body); font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--navy-l); display: block; margin-bottom: 1.25rem; }
.signup-fields { display: flex; flex-direction: column; width: 100%; }
.signup-row { display: grid; grid-template-columns: 1fr 1fr; }
.signup-row input { padding: 0.9rem 1.25rem; background: transparent; border: 2px solid var(--navy); border-right: none; border-bottom: none; font-family: var(--font); font-size: var(--body); color: var(--navy); outline: none; min-width: 0; }
.signup-row input:last-child { border-right: 2px solid var(--navy); border-left: none; }
.signup-row input::placeholder, .signup-email::placeholder, .signup-phone::placeholder { color: var(--navy-l); }
.signup-row input:focus, .signup-email:focus, .signup-phone:focus { background: rgba(59,95,122,0.04); }
.signup-email, .signup-phone { padding: 0.9rem 1.25rem; background: transparent; border: 2px solid var(--navy); border-bottom: none; font-family: var(--font); font-size: var(--body); color: var(--navy); outline: none; width: 100%; }
.signup-submit-row { display: flex; }
.signup-submit-row button { flex: 1; padding: 1rem 1.5rem; background: var(--navy); color: var(--cream); border: 2px solid var(--navy); font-family: var(--font); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; cursor: pointer; transition: background 0.3s; }
.signup-submit-row button:hover { background: var(--navy-d); }
.signup-note { margin-top: 0.875rem; font-size: var(--body); color: var(--navy-l); }
.signup-success { display: none; padding: 1rem 1.5rem; border: 2px solid var(--navy-f); font-size: var(--body); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
.signup-error { display: none; padding: 0.75rem 1rem; margin-top: 0.75rem; font-size: var(--body); color: #8B1A1A; border: 1px solid #ffb3b3; background: #fff5f5; }
.brevo-hidden { position: absolute; left: -9999px; visibility: hidden; }
@media (max-width: 600px) {
  .signup-row { grid-template-columns: 1fr; }
  .signup-row input, .signup-row input:last-child { border: 2px solid var(--navy) !important; border-bottom: none !important; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}

/* PHOTO ENLARGE */
img[data-zoom] { cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(20,32,46,0.92); cursor: zoom-out; }
.zoom.open { display: flex; animation: modalFade 0.2s ease; }
.zoom img { max-width: 100%; max-height: calc(100vh - 6rem); object-fit: contain; display: block; box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.zoom figure { margin: 0; text-align: center; }
.zoom figcaption { color: var(--cream); font-size: 0.9rem; margin-top: 0.9rem; opacity: 0.85; }
.zoom-close { position: absolute; top: 0.75rem; right: 1rem; background: none; border: none; color: var(--cream); font-family: var(--font); font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 0.25rem 0.5rem; }
.zoom-close:focus-visible { outline: 2px solid var(--cream); }
