/* Shared main-website footer. Keep layout independent of each page's styles. */
#tbd-site-footer { display: block; position: relative; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: #173248; color: #d5e0e5; font: 400 14px/1.5 "DM Sans", ui-sans-serif, system-ui, sans-serif; text-align: left; }
#tbd-site-footer, #tbd-site-footer * { box-sizing: border-box; }
#tbd-site-footer .tbd-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; width: clamp(820px, 68%, 980px); max-width: calc(100% - 48px); margin: 0 auto; padding: 28px 0; }
#tbd-site-footer a { color: #d5e0e5; text-decoration: none; font: inherit; letter-spacing: normal; }
#tbd-site-footer .tbd-footer-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; }
#tbd-site-footer img { display: block; width: 30px; height: 30px; margin: 0; }
#tbd-site-footer .tbd-footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
#tbd-site-footer .tbd-footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
#tbd-site-footer .tbd-footer-copyright { flex-basis: 100%; margin: 0; color: #acbfc9; font: 400 12px/1.5 "DM Sans", ui-sans-serif, system-ui, sans-serif; }
#tbd-site-footer a:focus-visible { outline: 2px solid #80d7ed; outline-offset: 4px; }
@media (hover: hover) { #tbd-site-footer a:hover { color: #80d7ed; } }
@media (max-width: 680px) { #tbd-site-footer .tbd-footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; } #tbd-site-footer .tbd-footer-links { gap: 2px 22px; } }

/* The homepage contact section is the single footer design on every route. */
#tbd-site-footer .contact{ padding: var(--section-space) 0; background: var(--navy); color: var(--white); }
#tbd-site-footer .contact .section-heading{ display: block; margin-bottom: 24px; }
#tbd-site-footer .contact .section-heading h2{ color: var(--white); }

#tbd-site-footer .contact-grid{
display: grid;
grid-template-columns: minmax(0, 0.75fr) minmax(440px, 1.25fr);
gap: 72px;
align-items: start;
}

#tbd-site-footer .contact-copy{ color: #c8d4d9; font-size: 17px; line-height: 1.58; }
#tbd-site-footer .contact-copy a{ color: var(--blue-light); }

#tbd-site-footer .contact-person{ margin: 32px 0 0; }
#tbd-site-footer .contact-person figcaption{ margin-bottom: 20px; font-size: 18px; font-weight: 600; }
#tbd-site-footer .contact-portrait{ position: relative; isolation: isolate; width: 80px; }
#tbd-site-footer .contact-portrait img{ display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--blue-pale); }
#tbd-site-footer .contact-portrait::before{ content: ""; position: absolute; z-index: -1; width: 34%; aspect-ratio: 1; top: -10%; right: 5%; border-radius: 50%; background: var(--blue-light); }
#tbd-site-footer .contact-portrait::after{ content: ""; position: absolute; width: 28%; aspect-ratio: 1; bottom: 0; left: -5%; border: 6px solid var(--blue-light); border-radius: 50%; }

#tbd-site-footer .contact-booking{ margin-top: 28px; }
#tbd-site-footer .primary-link--light{ border-color: var(--blue-light); background: var(--blue-light); color: var(--navy); }
#tbd-site-footer .contact-alternative{ margin: 0 0 22px; color: #c8d4d9; font-size: 14px; line-height: 1.5; }

#tbd-site-footer .contact-meta{
display: grid;
gap: 9px;
margin-top: 34px;
color: #9eb0b7;
font: 500 12px/1.4 var(--font-mono);
}

#tbd-site-footer .contact-form{ display: grid; gap: 24px; }
#tbd-site-footer .field-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
#tbd-site-footer .form-field{ display: grid; gap: 9px; }
#tbd-site-footer .form-field.full{ grid-column: 1 / -1; }

#tbd-site-footer .form-field label{
color: #9eb0b7;
font: 500 12px/1 var(--font-mono);
text-transform: uppercase;
}

#tbd-site-footer .form-field input, #tbd-site-footer .form-field textarea{
width: 100%;
border: 0;
border-bottom: 1px solid #718895;
border-radius: 0;
background: transparent;
color: var(--white);
font-size: 15px;
transition: border-color 160ms ease;
}

#tbd-site-footer .form-field input{ min-height: 48px; }
#tbd-site-footer .form-field textarea{ min-height: 116px; padding: 14px 0; resize: vertical; }
#tbd-site-footer .form-field input:focus, #tbd-site-footer .form-field textarea:focus{ border-color: var(--blue-light); }
#tbd-site-footer .form-field input::placeholder, #tbd-site-footer .form-field textarea::placeholder{ color: #718895; }
#tbd-site-footer .form-field input, #tbd-site-footer .form-field textarea{ font-size: 16px; }

#tbd-site-footer .hp-field{ position: absolute; left: -9999px; }
#tbd-site-footer .form-actions{ display: flex; gap: 18px; align-items: center; }

#tbd-site-footer .submit-button{
min-height: 44px;
padding: 0 19px;
border: 1px solid var(--blue-light);
background: transparent;
color: var(--blue-light);
cursor: pointer;
font-size: 14px;
font-weight: 700;
transition: background-color var(--duration-control) ease, color var(--duration-control) ease, transform var(--duration-press) var(--ease-out);
}

#tbd-site-footer .submit-button:focus-visible{ background: var(--blue-light); color: var(--navy); }
#tbd-site-footer .submit-button:disabled{ cursor: wait; opacity: 0.5; }
#tbd-site-footer .form-status{
min-height: 20px;
color: #9eb0b7;
font: 500 12px/1.4 var(--font-mono);
transition: color var(--duration-control) ease, opacity var(--duration-control) var(--ease-out);
}
#tbd-site-footer .form-status[data-state="success"]{ color: #78d8bd; }
#tbd-site-footer .form-status[data-state="error"]{ color: #ffad9f; }

body.is-booking-open { overflow: hidden; }

#tbd-site-footer .booking-dialog{
width: min(1180px, calc(100vw - 48px));
height: min(820px, calc(100dvh - 48px));
max-width: none;
max-height: none;
padding: 0;
border: 1px solid var(--navy);
border-radius: 0;
background: var(--white);
box-shadow: 0 28px 90px rgba(17, 23, 25, 0.28);
color: var(--ink);
opacity: 0;
overflow: hidden;
transform: scale(0.985);
transform-origin: center;
transition:
opacity 180ms var(--ease-out),
transform 220ms var(--ease-out),
display 220ms allow-discrete,
overlay 220ms allow-discrete;
}

#tbd-site-footer .booking-dialog[open]{ opacity: 1; transform: scale(1); }
#tbd-site-footer .booking-dialog:focus{ outline: none; }

@starting-style {
#tbd-site-footer .booking-dialog[open]{ opacity: 0; transform: scale(0.985); }
#tbd-site-footer .booking-dialog[open]::backdrop{ opacity: 0; }
}

#tbd-site-footer .booking-dialog::backdrop{
background: rgba(17, 23, 25, 0.58);
backdrop-filter: blur(2px);
opacity: 1;
transition:
opacity 180ms var(--ease-out),
display 220ms allow-discrete,
overlay 220ms allow-discrete;
}

#tbd-site-footer .booking-dialog-shell{
display: grid;
height: 100%;
grid-template-rows: auto minmax(0, 1fr);
}

#tbd-site-footer .booking-dialog-header{
display: flex;
min-height: 78px;
gap: 24px;
padding: 16px 18px 16px 24px;
border-bottom: 1px solid var(--line);
background: var(--white);
align-items: center;
justify-content: space-between;
}

#tbd-site-footer .booking-dialog-kicker{
margin: 0 0 5px;
color: var(--blue);
font: 650 12px/1 var(--font-mono);
letter-spacing: 0.06em;
text-transform: uppercase;
}

#tbd-site-footer .booking-dialog-header h2{
margin: 0;
color: var(--navy);
font-size: clamp(22px, 2.2vw, 30px);
line-height: 1.05;
letter-spacing: -0.035em;
}

#tbd-site-footer .booking-dialog-actions{ display: flex; gap: 10px; align-items: center; }

#tbd-site-footer .booking-close{
display: grid;
width: 44px;
height: 44px;
padding: 0;
border: 1px solid var(--blue);
background: var(--blue);
color: var(--white);
cursor: pointer;
place-items: center;
transition: background-color var(--duration-control) ease, color var(--duration-control) ease, transform var(--duration-press) var(--ease-out);
}

#tbd-site-footer .booking-close svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
#tbd-site-footer .booking-close:active{ transform: scale(0.97); }
#tbd-site-footer .booking-fallback{ display: inline-flex; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-dark); color: var(--navy); font-size: 12px; font-weight: 700; align-items: center; }
#tbd-site-footer .booking-frame-wrap{ min-height: 0; background: #fff; }
#tbd-site-footer .booking-frame{ display: block; width: 100%; height: 100%; border: 0; background: #fff; }

#tbd-site-footer { --navy: #173248; --white: #fff; --ink: #172322; --blue: #00689f; --blue-light: #b2e9ff; --blue-pale: #eaf5f8; --line: #cbd0cf; --line-dark: #9ba5a7; --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace; --ease-out: cubic-bezier(.23,1,.32,1); --duration-control: 160ms; --duration-press: 120ms; --section-space: clamp(36px, 3vw, 44px); }
#tbd-site-footer .shell { width: clamp(820px, 68%, 980px); max-width: calc(100% - 48px); margin: 0 auto; padding: 0; }
#tbd-site-footer .contact { position: relative; margin: 0; border: 0; text-align: left; }
#tbd-site-footer .contact h2 { margin: 0; padding: 0; font: 500 clamp(36px, 4vw, 58px)/1.02 "DM Sans", sans-serif; letter-spacing: -.045em; color: white; text-transform: none; }
#tbd-site-footer .contact-copy { margin: 0; padding: 0; max-width: none; font-weight: 400; letter-spacing: normal; }
#tbd-site-footer .contact-grid > div, #tbd-site-footer .contact-form { min-width: 0; }
#tbd-site-footer .contact-form { margin: 0; padding: 0; border: 0; background: transparent; }
#tbd-site-footer .contact-form-fields { display: grid; gap: 24px; min-width: 0; margin: 0; padding: 0; border: 0; }
#tbd-site-footer .form-field input, #tbd-site-footer .form-field textarea { display: block; margin: 0; box-shadow: none; font: 400 16px/1.5 "DM Sans", sans-serif; letter-spacing: normal; }
#tbd-site-footer .contact-person figcaption { color: white; line-height: 1.5; letter-spacing: normal; }
#tbd-site-footer .contact .contact-booking { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; max-width: 100%; padding: 12px 20px; border: 1px solid #b2e9ff; border-radius: 0; background: #b2e9ff; color: #173248; font: 700 15px/1.4 "DM Sans", sans-serif; text-align: center; text-transform: none; }
#tbd-site-footer .contact-booking::after { content: none; }
#tbd-site-footer button { font-family: "DM Sans", sans-serif; }
#tbd-site-footer .contact-meta a { font: 500 12px/1.4 var(--font-mono); color: #9eb0b7; }
#tbd-site-footer .form-actions { flex-wrap: wrap; }
#tbd-site-footer .booking-dialog { margin: auto; }
#tbd-site-footer .booking-dialog-header { position: static; }
#tbd-site-footer .booking-fallback { color: #173248; font-size: 12px; font-weight: 700; text-align: center; }
#tbd-site-footer .booking-dialog[data-input="keyboard"], #tbd-site-footer .booking-dialog[data-input="keyboard"][open], #tbd-site-footer .booking-dialog[data-input="keyboard"]::backdrop { transition: none; }
#tbd-site-footer .tbd-footer-inner { border-top: 1px solid #3c5868; }
@media (max-width: 980px) {
 #tbd-site-footer .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 680px) {
 #tbd-site-footer .shell, #tbd-site-footer .tbd-footer-inner { width: calc(100% - 40px); max-width: none; }
 #tbd-site-footer .contact h2 { font-size: 40px; }
 #tbd-site-footer .contact-portrait { width: 64px; }
 #tbd-site-footer .field-grid { grid-template-columns: 1fr; }
 #tbd-site-footer .form-field.full { grid-column: auto; }
 #tbd-site-footer .booking-dialog { width: 100vw; height: 100dvh; margin: 0; border: 0; }
 #tbd-site-footer .booking-dialog-header { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; padding: 12px 15px; }
 #tbd-site-footer .booking-dialog-header h2 { font-size: 21px; }
 #tbd-site-footer .booking-dialog-actions { display: contents; }
 #tbd-site-footer .booking-close { grid-column: 2; grid-row: 1; }
 #tbd-site-footer .booking-fallback { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
 #tbd-site-footer .booking-dialog, #tbd-site-footer .booking-dialog[open], #tbd-site-footer .booking-dialog::backdrop { transform: none; transition: none; }
 #tbd-site-footer .submit-button, #tbd-site-footer .booking-close { transition: none; }
}

#tbd-site-footer :is(a, button, input, textarea):focus-visible { outline: 2px solid #80d7ed; outline-offset: 4px; }
/* Captured pages animate generic section/footer elements on load. Keep this shared UI settled. */
#tbd-site-footer, #tbd-site-footer .contact, #tbd-site-footer .booking-dialog-header { animation: none; opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
 #tbd-site-footer .submit-button:hover { background: #b2e9ff; color: #173248; }
 #tbd-site-footer .contact .contact-booking:hover { background: #eaf5f8; }
}
#tbd-site-footer .contact-booking:active, #tbd-site-footer .submit-button:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
 #tbd-site-footer .contact-booking:active, #tbd-site-footer .submit-button:active, #tbd-site-footer .booking-close:active { transform: none; }
}

/* Shared compact footer layout. */
#tbd-site-footer .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
#tbd-site-footer .contact .section-heading { margin-bottom: 16px; }
#tbd-site-footer .contact h2 { font-size: clamp(36px, 3.2vw, 46px); }
#tbd-site-footer .contact-copy { font-size: 16px; }
#tbd-site-footer .contact-person { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 20px; margin: 24px 0 0; }
#tbd-site-footer .contact-person figcaption { margin: 0; font-size: 16px; }
#tbd-site-footer .contact-portrait { flex: 0 0 80px; }
#tbd-site-footer .contact-booking { margin-top: 22px; }
#tbd-site-footer .contact-meta { margin-top: 16px; }
#tbd-site-footer .contact-form { gap: 0; padding-top: 6px; }
#tbd-site-footer .contact-alternative { margin-bottom: 24px; }
#tbd-site-footer .form-field textarea { min-height: 96px; }
#tbd-site-footer .tbd-footer-inner { padding-block: 20px; gap: 6px 24px; }
@media (max-width: 760px) {
 #tbd-site-footer .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
 #tbd-site-footer .contact-portrait { flex-basis: 64px; }
 #tbd-site-footer .contact-person { margin-top: 20px; }
 #tbd-site-footer .field-grid { gap: 18px; }
}
