/* Header logo: the shield and the TRAUMERCH wordmark as one SVG (colour rgb(19,35,27)), replacing the old shield image + text.
   Loaded after v2.css so these sizes win over the old .brand img rules. */
.brand img{width:auto;height:38px;max-width:none;object-fit:contain}
@media (max-width:900px){.brand img{width:auto;height:30px}}

/* Footer: social links under the brand text */
.footer-social{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0;padding:0;list-style:none}
.footer-social a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#ffffff14;box-shadow:inset 0 0 0 1px #ffffff1f;color:var(--ivory);transition:background .2s,color .2s,transform .15s}
.footer-social a:hover{background:var(--lime);color:var(--forest)}
.footer-social a:active{transform:scale(.95)}
.footer-social svg{width:18px;height:18px;fill:currentColor}

/* Legal page: facts that need the full row (address, trade, regulations) */
.legal-facts .wide{grid-column:1/-1}

/* Legal page: numbered clauses (terms of use) */
.legal-body h3{margin:26px 0 6px;font-size:17px;font-weight:800;line-height:1.3;letter-spacing:-.02em;color:var(--ink)}
.legal-body .legal-updated{margin-bottom:4px;font-size:14px;color:var(--muted)}
.legal-body .legal-contact{margin-top:28px}

/* Booking card (home page): Google's calendar loads only after the visitor clicks "Load calendar" and then slides open. */
.booking-top{margin-bottom:20px}
.booking-gate-wrap,.booking-panel{display:grid;transition:grid-template-rows .5s cubic-bezier(.2,.7,.2,1),opacity .35s ease}
.booking-gate-wrap{grid-template-rows:1fr}
.booking-panel{grid-template-rows:0fr;opacity:0}
.booking-gate-wrap>*,.booking-panel>*{min-height:0;overflow:hidden}
.booking.is-open .booking-gate-wrap{grid-template-rows:0fr;opacity:0}
.booking.is-open .booking-panel{grid-template-rows:1fr;opacity:1}
.booking-gate{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;padding:18px 22px;border-radius:18px;background:#ffffff0f;box-shadow:inset 0 0 0 1px #ffffff1f}
.booking-gate-note{flex:1 1 340px;min-width:0;font-size:13.5px;line-height:1.55;color:#cfe3c4}
.booking-gate-note a{color:var(--lime);text-decoration:underline;text-underline-offset:3px}
.booking-gate-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px}
.booking-direct{font-size:14px;font-weight:700;color:#cfe3c4;text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.booking-direct:hover{color:var(--lime)}
.booking-panel .booking-frame{margin-top:0}
/* The calendar itself is Google's page and cannot be restyled from outside; this shifts its blue accents to the brand green. Remove the line to get Google's own colours back. */
.booking-frame iframe{filter:hue-rotate(-87deg) saturate(.85)}
.booking:not(.is-open) .booking-open,.booking:not(.is-open) .booking-hide{display:none}
.booking .call-alt{margin-left:auto}
.booking-hide{font-size:13px;font-weight:700;color:#cfe3c4;text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.booking-hide:hover{color:var(--lime)}
.booking-sheet-bar{display:none}
@media (prefers-reduced-motion:reduce){.booking-gate-wrap,.booking-panel{transition:none}}
@media (max-width:600px){
  .booking{padding:20px 14px 16px}
  .booking-top{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:16px}
  .booking-lead{max-width:none;font-size:14.5px}
  .booking-gate{flex-direction:column;align-items:stretch;gap:14px;padding:16px;border-radius:16px}
  .booking-gate-note{flex:0 0 auto}
  .booking-gate-actions{flex-direction:column;align-items:stretch;gap:12px}
  .booking-load{width:100%}
  .booking-direct{text-align:center}
  .booking-foot{flex-direction:column;align-items:stretch;gap:12px;padding-inline:0}
  .booking-foot .booking-hide{display:none}
  .booking-open{text-align:center}
  .booking .call-alt{width:100%;margin:0;padding:12px 0;text-align:center}
  /* On a phone the calendar opens as a full-screen sheet: full width (Google's page needs about 370px, so no sideways scrolling) and a single scroll area. */
  .booking-panel{position:fixed;inset:0;z-index:70;display:block;opacity:1;background:var(--forest);visibility:hidden;transform:translateY(100%);transition:transform .45s cubic-bezier(.2,.7,.2,1),visibility 0s linear .45s}
  .booking.is-open .booking-panel{visibility:visible;transform:none;transition:transform .45s cubic-bezier(.2,.7,.2,1),visibility 0s}
  .booking-panel>*{min-height:0;overflow:visible}
  .booking-panel-inner{display:flex;flex-direction:column;height:100%}
  .booking-sheet-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;padding-top:max(12px,env(safe-area-inset-top));color:var(--ivory);font-size:17px;font-weight:800}
  .booking-sheet-bar .booking-hide{font-size:14px}
  .booking-frame{flex:1 1 auto;height:auto;min-height:0;margin:0;border-radius:0;box-shadow:none}
  html.booking-sheet-open,html.booking-sheet-open body{overflow:hidden}
}
@media (max-width:600px) and (prefers-reduced-motion:reduce){.booking-panel,.booking.is-open .booking-panel{transition:none}}
