/* MK Ubezpieczenia — navy + gold brand (ported from old frontend index.css) */

:root {
  color-scheme: light;
  --brand-navy: #00234e;
  --brand-navy-mid: #0a3a6b;
  --brand-navy-dark: #001a38;
  --brand-gold: #c9a227;
  --brand-gold-light: #e8c547;
  --brand-gold-dark: #8a6a14;
  --brand-mist: #e8eef5;
  --brand-paper: #f2f5f9;
  --text-primary: #142033;
  --text-secondary: #5a6b7c;
  --font-sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.5;
  background: linear-gradient(
    180deg,
    #e4ebf3 0%,
    #eef2f7 45%,
    #e8eef5 100%
  );
}

a {
  color: var(--brand-navy);
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 3rem 0;
}

/* —— Header (white bar, navy links — matches old AppBar) —— */
#site-chrome {
  height: 64px;
}

body.has-site-banner #site-chrome {
  height: calc(64px + 2rem);
}

html:has(body.has-site-banner) {
  scroll-padding-top: calc(72px + 2rem);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--brand-paper);
  border-bottom: 1px solid rgba(0, 35, 78, 0.12);
  box-shadow: 0 2px 10px rgba(0, 35, 78, 0.08);
}

body.has-site-banner .site-header {
  border-bottom: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 64px;
}

.site-header__brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header__brand img {
  height: 42px;
  width: auto;
}

.site-header__nav {
  display: none;
  gap: 0.25rem;
  align-items: center;
}

.site-header__nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--brand-navy);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}

.site-header__nav a:hover {
  background: rgba(0, 35, 78, 0.05);
}

.site-header__nav a.is-active {
  color: var(--brand-navy-dark);
  background: rgba(0, 35, 78, 0.08);
  box-shadow: inset 0 -2px 0 var(--brand-gold);
}

.site-header__tools {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

.site-header__hours {
  display: none;
  align-items: center;
  height: 1.45rem;
  margin: 0;
  padding: 0 0.45rem;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  color: var(--brand-gold-light);
  background: linear-gradient(180deg, var(--brand-navy-dark) 0%, var(--brand-navy) 45%, var(--brand-navy-mid) 100%);
  box-shadow: inset 0 0 0 1.5px var(--brand-gold);
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--brand-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  position: relative;
  z-index: 61;
}

@media (max-width: 899px) {
  .site-header__tools {
    display: flex;
  }
}

@media (max-width: 768px) {
  .site-header__hours {
    display: inline-flex;
  }
}

@media (min-width: 900px) {
  .site-header__nav {
    display: flex;
  }

  .site-header__menu-btn {
    display: none;
  }
}

.site-header__notice {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 2rem;
  margin: 0;
  padding: 0 1.25rem;
  overflow: hidden;
  background: var(--brand-navy-dark);
  color: #f2f5f9;
  font-size: 0.92rem;
  line-height: 2rem;
  white-space: nowrap;
}

.site-header__notice-label {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--brand-gold-light);
}

.site-header__notice-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.site-header__notice-track {
  display: inline-block;
  white-space: nowrap;
}

.site-header__notice-track.is-marquee {
  display: inline-flex;
  width: max-content;
  animation: site-header-notice-marquee var(--notice-marquee-duration, 24s) linear infinite;
  will-change: transform;
}

.site-header__notice-track.is-marquee .site-header__notice-text {
  flex: 0 0 auto;
  padding-right: 3rem;
}

@keyframes site-header-notice-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__notice-track.is-marquee {
    animation: none;
    display: inline-block;
    width: auto;
  }

  .site-header__notice-track.is-marquee .site-header__notice-text {
    padding-right: 0;
  }
}

.site-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
}

.site-drawer.is-open {
  display: block;
}

.site-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 26, 56, 0.55);
  cursor: pointer;
}

.site-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100%;
  background: var(--brand-paper);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 28px rgba(0, 35, 78, 0.22);
}

.site-drawer__topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 64px;
  height: 64px;
  padding: 0 0.75rem;
  background: var(--brand-navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.site-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 8px;
}

.site-drawer__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1rem;
  overflow-y: auto;
}

.site-drawer__nav a {
  text-decoration: none;
  color: var(--brand-navy);
  font-weight: 600;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
}

.site-drawer__nav a:hover {
  background: rgba(0, 35, 78, 0.05);
}

.site-drawer__nav a.is-active {
  color: var(--brand-navy-dark);
  background: rgba(0, 35, 78, 0.08);
  box-shadow: inset 3px 0 0 var(--brand-gold);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand-navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 35, 78, 0.28);
}

.btn--primary:hover {
  background: var(--brand-navy-mid);
  color: #fff;
}

.btn--secondary {
  background: var(--brand-gold);
  color: var(--brand-navy-dark);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--brand-navy);
  border-color: var(--brand-gold);
}

.btn--outline:hover {
  background: rgba(201, 162, 39, 0.1);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* —— Page sections —— */
.hero-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(201, 162, 39, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
  border-bottom: 3px solid var(--brand-gold);
}

.hero-overline {
  display: block;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--brand-gold-dark);
  margin-bottom: 0.75rem;
}

.hero-brand__logo {
  height: 72px;
  width: auto;
  margin-bottom: 1rem;
}

.hero-illust {
  max-width: 480px;
  margin: 1.5rem auto 0;
  line-height: 0;
}

.hero-illust img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 769px) {
  .hero-illust {
    margin: 0 auto;
  }
}

/* —— Hours bookmark (left edge) ——
   Center with a full-height flex shell — avoid transform on the fixed
   element (iOS Safari often then treats it as document-relative). */
.hours-bookmark-host {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  max-width: min(34rem, calc(100vw - 1.25rem));
  font-family: var(--font-sans);
  font-size: 1rem;
  pointer-events: none;
  /* Explicit none: some WebKit paths still composite leftover transforms. */
  transform: none;
}

.hours-bookmark-host > * {
  pointer-events: auto;
}

.hours-bookmark-host:not([data-mounted="1"]) {
  /* Brief SSR flash: host itself is the panel (multiple children). */
  display: block;
  top: 12vh;
  bottom: auto;
  pointer-events: auto;
  overflow: auto;
  width: min(32rem, calc(100vw - 1.25rem));
  max-height: min(42rem, calc(100vh - 5rem));
  border: 2px solid var(--brand-navy);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(201, 162, 39, 0.18), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f3f7fc 55%, #e8eef6 100%);
  box-shadow:
    3px 0 0 var(--brand-gold),
    0 18px 40px rgba(0, 35, 78, 0.28);
}

html.hours-bookmark-pref-closed .hours-bookmark-host:not([data-mounted="1"]) {
  /* Keep layout stable: show only a slim placeholder until React mounts closed */
  top: 33.333%;
  width: 2.75rem;
  height: 10rem;
  overflow: hidden;
  color: transparent;
  pointer-events: none;
}

html.hours-bookmark-pref-closed .hours-bookmark-host:not([data-mounted="1"]) * {
  visibility: hidden;
}

.hours-bookmark {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: min(34rem, calc(100vw - 1.25rem));
  max-height: min(42rem, calc(100vh - 5rem));
}

.hours-bookmark__tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  margin: 0;
  padding: 1rem 0.2rem;
  border: 2px solid var(--brand-navy);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  color: var(--brand-gold-light);
  background:
    linear-gradient(180deg, var(--brand-navy-dark) 0%, var(--brand-navy) 45%, var(--brand-navy-mid) 100%);
  box-shadow:
    3px 0 0 var(--brand-gold),
    8px 10px 24px rgba(0, 35, 78, 0.28);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transition: border-radius 0.22s ease, box-shadow 0.22s ease, filter 0.15s ease;
}

.hours-bookmark.is-open .hours-bookmark__tab {
  border-radius: 0;
  box-shadow: 3px 0 0 var(--brand-gold);
}

.hours-bookmark__tab:hover,
.hours-bookmark__tab:focus-visible {
  color: #fff;
  outline: none;
  filter: brightness(1.08);
}

.hours-bookmark__tab-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.hours-bookmark__panel {
  flex: 1 1 auto;
  min-width: 18rem;
  overflow: auto;
  margin: 0;
  padding: 0;
  border: 2px solid var(--brand-navy);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background:
    radial-gradient(ellipse 90% 55% at 0% 0%, rgba(201, 162, 39, 0.28), transparent 52%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(0, 35, 78, 0.14), transparent 55%),
    linear-gradient(165deg, #e8eef6 0%, #f3f7fc 45%, #dce6f2 100%);
  box-shadow:
    0 2px 0 var(--brand-gold),
    0 18px 40px rgba(0, 35, 78, 0.28),
    0 6px 14px rgba(0, 26, 56, 0.18);
  transform-origin: left center;
}

/* User-triggered open/close only (initial SSR mount stays instant). */
.hours-bookmark.is-animating.is-open:not(.is-closing) .hours-bookmark__panel {
  animation: hours-bookmark-panel-in 0.28s ease both;
}

.hours-bookmark.is-animating.is-closing .hours-bookmark__panel {
  animation: hours-bookmark-panel-out 0.24s ease both;
  pointer-events: none;
}

@keyframes hours-bookmark-panel-in {
  from {
    opacity: 0;
    transform: translateX(-0.85rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hours-bookmark-panel-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-0.85rem);
  }
}

.hours-bookmark.is-closed .hours-bookmark__panel,
.hours-bookmark__panel[hidden] {
  display: none;
}

/* Mobile: open hours as a fullscreen sheet that owns scrolling.
   The closed control lives in the top navbar, beside the menu button. */
@media (max-width: 768px) {
  html.hours-bookmark-pref-closed .hours-bookmark-host:not([data-mounted="1"]),
  .hours-bookmark.is-closed .hours-bookmark__tab {
    display: none;
  }

  .hours-bookmark-host:has(.hours-bookmark.is-open),
  html.hours-bookmark-open-mobile .hours-bookmark-host {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    align-items: stretch;
    pointer-events: auto;
    width: 100%;
    max-width: none;
    max-height: none;
    height: 100%;
    height: 100dvh;
    /* Above cookie banner (z-index 80) while the sheet is open */
    z-index: 90;
    background:
      radial-gradient(ellipse 100% 40% at 50% -10%, rgba(201, 162, 39, 0.35), transparent 55%),
      linear-gradient(180deg, var(--brand-navy-dark) 0%, var(--brand-navy) 28%, #e8eef6 28%, #f3f7fc 100%);
  }

  .hours-bookmark.is-open {
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    background: transparent;
  }

  /* Tab already shows the title on mobile open */
  .hours-bookmark.is-open .hero-hours__title {
    display: none;
  }

  .hours-bookmark.is-open .hours-bookmark__tab {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.85rem 1.1rem;
    border: none;
    border-bottom: 3px solid var(--brand-gold);
    border-radius: 0;
    color: var(--brand-gold-light);
    background:
      linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 45%, var(--brand-navy-mid) 100%);
    box-shadow: 0 10px 28px rgba(0, 26, 56, 0.35);
    justify-content: space-between;
  }

  .hours-bookmark.is-open .hours-bookmark__tab-label {
    letter-spacing: 0.1em;
  }

  .hours-bookmark.is-open .hours-bookmark__tab::after {
    content: "✕";
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-gold-light);
  }

  .hours-bookmark.is-open .hours-bookmark__panel {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform-origin: center bottom;
    background:
      radial-gradient(ellipse 90% 50% at 100% 0%, rgba(201, 162, 39, 0.22), transparent 50%),
      radial-gradient(ellipse 70% 45% at 0% 100%, rgba(0, 35, 78, 0.1), transparent 55%),
      linear-gradient(180deg, #e8eef6 0%, #f5f8fc 55%, #e4ebf3 100%);
  }

  .hours-bookmark.is-animating.is-open:not(.is-closing) .hours-bookmark__panel {
    animation: hours-bookmark-sheet-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hours-bookmark.is-animating.is-closing .hours-bookmark__panel {
    animation: hours-bookmark-sheet-out 0.24s ease both;
  }

  .hours-bookmark.is-animating.is-open:not(.is-closing) .hours-bookmark__tab {
    animation: hours-bookmark-sheet-tab-in 0.28s ease both;
  }

  .hours-bookmark.is-animating.is-closing .hours-bookmark__tab {
    animation: hours-bookmark-sheet-tab-out 0.22s ease both;
  }

  /* Opacity only on the fixed host — avoid transform (iOS containing-block bug). */
  .hours-bookmark-host:has(.hours-bookmark.is-animating.is-open:not(.is-closing)) {
    animation: hours-bookmark-backdrop-in 0.28s ease both;
  }

  .hours-bookmark-host:has(.hours-bookmark.is-animating.is-closing) {
    animation: hours-bookmark-backdrop-out 0.24s ease both;
  }

  .hours-bookmark.is-open .hero-hours__locations {
    grid-template-columns: 1fr;
    padding: 1.15rem 1.15rem 1rem;
    gap: 1rem;
  }

  .hours-bookmark.is-open .hero-hours__location {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 35, 78, 0.16);
    box-shadow: 0 6px 18px rgba(0, 35, 78, 0.1);
  }
}

@keyframes hours-bookmark-sheet-in {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hours-bookmark-sheet-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(0.85rem);
  }
}

@keyframes hours-bookmark-sheet-tab-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hours-bookmark-sheet-tab-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes hours-bookmark-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hours-bookmark-backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Lock page scroll without body { position: fixed; top: -scrollY }.
   That pattern pulls fixed overlays with the page on real iOS Safari.
   JS also preventDefaults touchmove outside the sheet panel. */
html.hours-bookmark-open-mobile,
html.hours-bookmark-open-mobile body {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.hero-hours__title {
  position: relative;
  margin: 0;
  padding: 0.85rem 1.25rem 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  background:
    linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 45%, var(--brand-navy-mid) 100%);
  border-bottom: 3px solid var(--brand-gold);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.hero-hours__title::after {
  content: "";
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.28);
}

.hero-hours__locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1rem 0.85rem;
}

@media (max-width: 379px) {
  .hero-hours__locations {
    grid-template-columns: 1fr;
  }
}

.hero-hours__location {
  padding: 0.75rem 0.8rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 35, 78, 0.12);
  border-left: 3px solid var(--brand-gold);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 12px rgba(0, 35, 78, 0.08);
}

.hero-hours__location:nth-child(2) {
  border-left-color: var(--brand-navy-mid);
  background:
    linear-gradient(180deg, rgba(232, 238, 246, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.hero-hours__location-name {
  margin: 0 0 0.5rem;
  padding-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  border-bottom: 1px dashed rgba(201, 162, 39, 0.55);
}

.hero-hours__days {
  margin: 0;
}

.hero-hours__day {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.65rem;
  padding: 0.2rem 0;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-hours__day + .hero-hours__day {
  border-top: 1px solid rgba(0, 35, 78, 0.06);
}

.hero-hours__day dt {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-hours__day dd {
  margin: 0;
  color: var(--brand-navy);
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hours-pivot {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.82rem;
  line-height: 1.35;
}

.hours-pivot th,
.hours-pivot td {
  padding: 0.28rem 0.35rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 35, 78, 0.08);
}

.hours-pivot thead th {
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
}

.hours-pivot__corner {
  width: 2.1rem;
}

.hours-pivot__site {
  font-weight: 600;
  color: var(--brand-navy);
  text-align: left;
}

.hours-pivot__name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.hours-pivot__email,
.hours-pivot__phone {
  display: block;
  margin-top: 0.2rem;
  color: var(--brand-navy-mid);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.hours-pivot__phone {
  font-variant-numeric: tabular-nums;
}

.hours-pivot__email:hover,
.hours-pivot__phone:hover {
  text-decoration: underline;
}

.hours-pivot__address {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
}

.hours-pivot tbody th {
  color: var(--text-secondary);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.hours-pivot tbody td {
  color: var(--brand-navy);
  font-weight: 700;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.hero-hours__subtitle {
  margin: 0;
  padding: 0.7rem 1.25rem 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.12) 0%, rgba(201, 162, 39, 0.08) 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.35);
}

.hero-hours__body {
  margin: 0;
  padding: 0 1.25rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--brand-navy-mid);
  white-space: pre-line;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08) 0%, rgba(201, 162, 39, 0.14) 100%);
}

/* Empty komunikat stays editable, but only while CMS edit mode is on. */
.hero-hours__komunikat--empty {
  display: none;
}

html[data-edit-mode="1"] .hero-hours__komunikat--empty {
  display: block;
}

.hero-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 32rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  white-space: pre-line;
}

.coverage-disclaimer {
  margin-top: 2.75rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.history-intro__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--brand-navy);
}

.history-intro__body {
  margin-bottom: 0.75rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-paper);
  border: 1px solid rgba(0, 35, 78, 0.12);
  color: var(--brand-navy);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 35, 78, 0.06);
}

.hero-chip__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand-gold);
  flex-shrink: 0;
}

.page-section {
  position: relative;
  border-top: 1px solid rgba(0, 35, 78, 0.08);
}

.page-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(8rem, 40%);
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold-light), var(--brand-gold));
  border-radius: 999px;
}

.page-section--mist {
  background: var(--brand-mist);
}

.page-section--paper {
  background: var(--brand-paper);
}

.page-section--tint {
  background: linear-gradient(
    180deg,
    rgba(0, 35, 78, 0.04) 0%,
    rgba(201, 162, 39, 0.07) 100%
  );
}

.page-section--navy {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(201, 162, 39, 0.18), transparent 50%),
    linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-mid) 100%);
  border-top: none;
  color: #ffffff;
}

.page-section--navy::before {
  background: linear-gradient(90deg, var(--brand-gold-light), var(--brand-gold));
}

.page-section--cases {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(201, 162, 39, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(0, 35, 78, 0.16), transparent 50%),
    linear-gradient(135deg, #0b2c4d 0%, #123a5f 45%, #1a3f36 100%);
  border-top: none;
  color: #ffffff;
}

.page-section--cases::before {
  background: linear-gradient(90deg, var(--brand-gold-light), var(--brand-gold));
}

.section-title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.25;
  color: inherit;
}

.section-support {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-section--navy .section-support,
.page-section--cases .section-support {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-mid));
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 35, 78, 0.2);
}

.section-icon::after {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 0.2rem;
  background: currentColor;
  opacity: 0.95;
}

.section-icon--gold {
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  color: var(--brand-navy-dark);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.35);
}

.coverage-section .section-support {
  max-width: 42rem;
}

/* —— Why us —— */
.why-us-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.35rem;
  margin-top: 1.5rem;
}

.why-us-item {
  padding: 1rem 1.05rem 1.1rem;
  border-left: 3px solid var(--brand-gold);
  background: rgba(255, 255, 255, 0.06);
}

.why-us-item__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.why-us-item__body {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.coverage-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  height: 100%;
  padding: 1.15rem 1.1rem 1.25rem;
  background: var(--brand-paper);
  border: 1px solid rgba(0, 35, 78, 0.08);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(0, 35, 78, 0.04),
    0 0 10px rgba(0, 35, 78, 0.07),
    0 0 28px rgba(0, 35, 78, 0.1),
    0 0 48px rgba(0, 35, 78, 0.08);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.coverage-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 35, 78, 0.05),
    0 0 14px rgba(0, 35, 78, 0.09),
    0 0 36px rgba(0, 35, 78, 0.14),
    0 0 56px rgba(0, 35, 78, 0.1);
}

.coverage-card__icon {
  display: block;
  width: 100%;
  max-width: 12rem;
  height: auto;
  margin: 0 auto 0.25rem;
}

.coverage-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--brand-navy);
}

.coverage-card__support {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-line;
}

.coverage-card__cta {
  margin-top: auto;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

@media screen and (max-width: 960px) {
  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .coverage-grid {
    grid-template-columns: 1fr;
  }
}

.columns.is-vcentered {
  align-items: center;
}

/* —— Insurer carousel —— */
.insurer-carousel-section {
  padding-top: 2.5rem;
  padding-bottom: 2.75rem;
  overflow: hidden;
}

.insurer-carousel-section .section-title {
  text-align: center;
}

.insurer-carousel-section .section-support {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.insurer-carousel {
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

.insurer-carousel__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.insurer-carousel__track {
  display: flex;
  width: max-content;
  padding: 0.5rem 0;
  animation: insurer-marquee 100s linear infinite;
  will-change: transform;
}

.insurer-carousel--js .insurer-carousel__track {
  animation: none;
}

.insurer-carousel__group {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  padding-inline-end: 1.25rem;
  flex: 0 0 auto;
}

.insurer-carousel:not(.insurer-carousel--js):hover .insurer-carousel__track,
.insurer-carousel:not(.insurer-carousel--js):focus-within .insurer-carousel__track {
  animation-play-state: paused;
}

.insurer-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 76px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.insurer-carousel__btn:hover,
.insurer-carousel__btn:focus-visible {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.55);
  outline: none;
}

.insurer-carousel__btn:active {
  transform: translateY(-50%) scale(0.98);
}

.insurer-carousel__btn--prev {
  left: 0.35rem;
}

.insurer-carousel__btn--next {
  right: 0.35rem;
}

.insurer-carousel__arrow {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
}

.insurer-carousel__arrow--prev {
  border-width: 0.5rem 0.7rem 0.5rem 0;
  border-color: transparent rgba(255, 255, 255, 0.92) transparent transparent;
  margin-left: -0.15rem;
}

.insurer-carousel__arrow--next {
  border-width: 0.5rem 0 0.5rem 0.7rem;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.92);
  margin-right: -0.15rem;
}

.insurer-carousel__fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4.5rem;
  z-index: 1;
}

.insurer-carousel__fade--left {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 35, 78, 1) 0%, rgba(0, 35, 78, 0) 100%);
}

.insurer-carousel__fade--right {
  right: 0;
  background: linear-gradient(270deg, rgba(10, 58, 107, 1) 0%, rgba(10, 58, 107, 0) 100%);
}

.insurer-logo {
  margin: 0;
  flex: 0 0 auto;
  width: 150px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--brand-paper);
  border: 1px solid rgba(0, 35, 78, 0.1);
  box-shadow: 0 4px 14px rgba(0, 35, 78, 0.06);
}

.insurer-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.insurer-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.92;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.insurer-logo:hover img,
.insurer-logo a:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

@keyframes insurer-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-25%, 0, 0);
  }
}

/* —— Case studies —— */
.case-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.5rem 0;
}

.case-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--brand-paper) 92%, #ffffff);
  color: var(--brand-navy);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  color: var(--brand-navy);
}

.case-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.case-card__body {
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
}

.case-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-gold-dark);
}

.case-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.case-card__summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.section-cta {
  margin-top: 1.25rem;
}

/* —— Cooperation process map (stair) —— */
.cooperation-section {
  padding-top: 2.5rem;
  padding-bottom: 2.75rem;
}

.coop-map {
  position: relative;
  margin-top: 1.75rem;
  isolation: isolate;
}

.coop-map__path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.coop-map__path--branch {
  stroke: var(--brand-navy-mid);
  stroke-dasharray: 5 7;
  opacity: 0.7;
}

/* Stair lives inside the complex-editor SSR HTML so React remount keeps rungs as flex children. */
.coop-map__stair {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 980px;
  width: 100%;
}

.coop-map__rung {
  --x: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  box-sizing: border-box;
  /* Desktop stair offset comes from inline margin-left/width (x%). */
  max-width: 100%;
}

.coop-map__elbow {
  width: 3.4rem;
  height: 2.55rem;
  flex: 0 0 auto;
  color: var(--brand-gold);
  overflow: visible;
  margin-top: -0.35rem;
}

.coop-map__elbow--side {
  width: 3.65rem;
  height: 1.5rem;
  margin-top: 0;
  color: var(--brand-navy-mid);
}

.coop-map__card {
  position: relative;
  flex: 1 1 16rem;
  max-width: 24rem;
  min-height: 7.25rem;
  padding: 1.15rem 1.2rem 1.2rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(201, 162, 39, 0.14), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(0, 35, 78, 0.1);
  border-radius: 1.15rem;
  box-shadow:
    0 2px 4px rgba(0, 35, 78, 0.05),
    0 12px 28px rgba(0, 35, 78, 0.12),
    0 28px 48px rgba(0, 35, 78, 0.08);
  transition: box-shadow 200ms ease;
}

.coop-map__card:hover {
  box-shadow:
    0 4px 8px rgba(0, 35, 78, 0.07),
    0 18px 36px rgba(0, 35, 78, 0.16),
    0 34px 56px rgba(0, 35, 78, 0.1);
}

.coop-map__rung--dark .coop-map__card--dark {
  flex: 1 1 16rem;
}

.coop-map__card--claim {
  flex: 1 1 14rem;
  max-width: 20rem;
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(255, 255, 255, 0.92));
  border: 1px dashed rgba(201, 162, 39, 0.65);
}

.coop-map__card--dark {
  background:
    radial-gradient(ellipse 80% 70% at 0% 100%, rgba(201, 162, 39, 0.2), transparent 55%),
    linear-gradient(155deg, #0b2c4d 0%, #123a5f 100%);
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 2px 4px rgba(0, 18, 40, 0.18),
    0 14px 32px rgba(0, 18, 40, 0.28),
    0 30px 52px rgba(0, 18, 40, 0.18);
}

.coop-map__card--dark:hover {
  box-shadow:
    0 4px 8px rgba(0, 18, 40, 0.22),
    0 20px 40px rgba(0, 18, 40, 0.34),
    0 36px 58px rgba(0, 18, 40, 0.2);
}

.coop-map__card--dark .coop-map__title,
.coop-map__card--dark .coop-map__index {
  color: #fff;
}

.coop-map__card--dark .coop-map__body {
  color: rgba(255, 255, 255, 0.78);
}

.coop-map__index {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-gold-dark);
}

.coop-map__index--soft {
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--brand-gold);
}

.coop-map__title {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-navy);
}

.coop-map__body {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.45;
}

@media (min-width: 900px) {
  .coop-map__stair {
    gap: 0.55rem;
  }

  .coop-map__rung {
    flex-wrap: nowrap;
    gap: 0.65rem 1rem;
  }

  .coop-map__card {
    flex: 0 1 22.5rem;
    min-height: 8.5rem;
  }

  .coop-map__card--claim {
    flex: 0 1 17.5rem;
  }
}

@media (max-width: 899px) {
  /* Vertical timeline: no stair inset — cards stay full-width and readable */
  .coop-map__stair {
    gap: 0;
    padding-left: 1.15rem;
  }

  .coop-map__stair::before {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 1.35rem;
    bottom: 1.35rem;
    width: 2px;
    background: linear-gradient(
      180deg,
      rgba(201, 162, 39, 0.15),
      rgba(201, 162, 39, 0.85) 12%,
      rgba(201, 162, 39, 0.85) 88%,
      rgba(201, 162, 39, 0.15)
    );
    border-radius: 1px;
  }

  .coop-map__rung {
    position: relative;
    margin-left: 0 !important;
    width: 100% !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.45rem 0;
  }

  .coop-map__rung::before {
    content: "";
    position: absolute;
    left: calc(-1.15rem + 0.28rem - 0.2rem);
    top: 1.55rem;
    z-index: 1;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22);
  }

  .coop-map__rung--dark::before {
    background: var(--brand-navy);
    box-shadow: 0 0 0 3px rgba(11, 44, 77, 0.2);
  }

  .coop-map__rung--claim::before {
    background: #fff;
    border: 2px solid var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
  }

  .coop-map__elbow {
    display: none;
  }

  .coop-map__card,
  .coop-map__card--claim {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    min-height: 0;
    padding: 1rem 1.05rem 1.05rem;
  }

  .coop-map__card--claim {
    width: calc(100% - 0.65rem);
    margin-left: 0.65rem;
  }

  .coop-map__title {
    font-size: 1.05rem;
  }

  .coop-map__body {
    font-size: 0.9rem;
  }
}

/* —— Timeline (alternate rail, mirrors old MUI timeline) —— */
.timeline-section {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.timeline {
  list-style: none;
  margin: 1.25rem auto 0;
  padding: 0;
  max-width: 920px;
  display: flex;
  flex-direction: column;
}

.timeline__item {
  display: grid;
  grid-template-columns: minmax(4.25rem, 1fr) 1.25rem minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: stretch;
  min-height: 0;
}

/* Odd items: year left, card right (default DOM order).
   Even items: flip so card is left, year right — alternate layout. */
.timeline__item:nth-child(even) {
  direction: rtl;
}

.timeline__item:nth-child(even) > * {
  direction: ltr;
}

.timeline__item:nth-child(even) .timeline__year {
  text-align: left;
}

.timeline__year {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 1.05rem;
  padding: 0.75rem 0;
  text-align: right;
}

.timeline__year--now {
  color: var(--brand-gold-dark);
}

.timeline__rail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline__rail::before,
.timeline__rail::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  background: rgba(0, 35, 78, 0.18);
  transform: translateX(-50%);
}

.timeline__rail::before {
  top: 0;
  bottom: 50%;
}

.timeline__rail::after {
  top: 50%;
  bottom: 0;
}

.timeline__item:first-child .timeline__rail::before {
  background: transparent;
}

.timeline__item:last-child .timeline__rail::after {
  background: transparent;
}

.timeline__dot {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-paper);
  border: 2px solid var(--brand-navy);
  box-sizing: border-box;
  flex-shrink: 0;
}

.timeline__dot--gold {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22);
}

.timeline__card {
  background: var(--brand-paper);
  border-radius: 12px;
  border: 1px solid rgba(0, 35, 78, 0.08);
  box-shadow: 0 4px 12px rgba(0, 35, 78, 0.05);
  padding: 1rem 1.1rem;
  margin: 0.5rem 0;
  text-align: left;
}

.timeline__card--crucial {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.12);
}

.timeline__card-inner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.timeline__card img {
  width: 88px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 35, 78, 0.08);
  border-bottom: 2px solid var(--brand-gold);
}

.timeline__card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--brand-navy);
}

.timeline__card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.timeline__bullets {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
}

.timeline__bullets li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 0.2rem;
  color: var(--text-primary);
}

.timeline__item--crucial .timeline__bullets li {
  font-weight: 600;
}

.timeline__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
}

@media screen and (max-width: 700px) {
  .timeline__item,
  .timeline__item:nth-child(even) {
    grid-template-columns: 3.75rem 1.1rem minmax(0, 1fr);
    direction: ltr;
  }

  .timeline__item:nth-child(even) > * {
    direction: ltr;
  }

  .timeline__year {
    justify-content: flex-end;
    text-align: right;
    font-size: 0.95rem;
    padding-inline: 0.25rem;
  }

  .timeline__card img {
    width: 72px;
    height: 56px;
  }
}

/* —— Staff cards —— */
.staff-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.staff-card {
  width: 100%;
  max-width: 320px;
  overflow: hidden;
  background: var(--brand-paper);
  color: var(--brand-navy);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.staff-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-bottom: 3px solid var(--brand-gold);
  background: var(--brand-mist);
}

.staff-card__body {
  padding: 1.25rem;
}

.staff-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.staff-card__role {
  margin: 0.35rem 0 0.5rem;
  font-weight: 600;
  color: var(--brand-gold);
}

.staff-card__rpu {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(15, 32, 64, 0.78);
}

.staff-card__rpu-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(15, 32, 64, 0.62);
}

.staff-card__meta {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.95rem;
}

.staff-card__meta a {
  color: var(--brand-navy);
  text-decoration: none;
}

.staff-card__meta a:hover {
  text-decoration: underline;
}

.page-section--navy a.rodo-link {
  color: var(--brand-gold-light);
}

.staff-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin: 1.75rem 0 0;
}

.staff-social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand-gold-light);
  font-weight: 600;
  text-decoration: none;
}

.staff-social__link:hover {
  text-decoration: underline;
}

.staff-social__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* —— Google reviews note —— */
.google-reviews-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.google-reviews-note {
  display: grid;
  gap: 1rem 1.5rem;
  align-items: center;
}

.google-reviews-note__score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.75rem;
}

.google-reviews-note__stars {
  color: var(--brand-gold);
  letter-spacing: 0.08em;
  font-size: 1.35rem;
  line-height: 1;
}

.google-reviews-note__rating {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-navy);
}

.google-reviews-note__title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-navy);
}

.google-reviews-note__meta {
  margin: 0;
  font-weight: 600;
  color: var(--text-secondary);
}

.google-reviews-note__support {
  margin: 0.45rem 0 0;
  color: var(--text-secondary);
  max-width: 36rem;
}

.google-reviews-note__cta {
  justify-self: start;
}

.google-reviews-note--band {
  grid-template-columns: auto 1fr auto;
  padding: 1.35rem 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(201, 162, 39, 0.16), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid rgba(0, 35, 78, 0.08);
  border-left: 4px solid var(--brand-gold);
}

@media (max-width: 768px) {
  .google-reviews-note--band {
    grid-template-columns: 1fr;
  }
}

.google-reviews-note--inline {
  width: 100%;
  grid-template-columns: auto 1fr auto;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 197, 71, 0.35);
}

.google-reviews-note--inline .google-reviews-note__rating,
.google-reviews-note--inline .google-reviews-note__title {
  color: #ffffff;
}

.google-reviews-note--inline .google-reviews-note__meta {
  color: rgba(255, 255, 255, 0.78);
}

.google-reviews-note--inline .google-reviews-note__stars {
  color: var(--brand-gold-light);
}

@media (max-width: 768px) {
  .google-reviews-note--inline {
    grid-template-columns: 1fr;
  }
}

/* —— Offer lead-in —— */
.offer-lead__grid {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 1.25rem 2.5rem;
  align-items: center;
  padding-left: 2rem;
}

.offer-lead__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16rem;
  max-width: 100%;
  margin-inline: auto;
  padding: 1rem;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 3px solid var(--brand-gold);
  box-shadow:
    0 0 0 6px rgba(201, 162, 39, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.offer-lead__frame::before,
.offer-lead__frame::after {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--brand-gold);
  transform: rotate(45deg);
}

.offer-lead__frame::before {
  top: -0.4rem;
  left: 1.1rem;
}

.offer-lead__frame::after {
  right: 1.1rem;
  bottom: -0.4rem;
}

.offer-lead__art {
  width: 100%;
  height: auto;
  display: block;
}

.offer-lead__copy {
  position: relative;
}

.offer-lead__suptitle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
}

.offer-lead__suptitle::before {
  content: "";
  width: 2rem;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--brand-gold-light), var(--brand-gold));
}

.offer-lead__title {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.offer-lead__subtitle {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 768px) {
  .offer-lead__grid {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .offer-lead__copy {
    text-align: center;
  }

  .offer-lead__suptitle {
    justify-content: center;
  }

  .offer-lead__subtitle {
    margin-inline: auto;
  }
}

/* —— Offer / contact form —— */
.offer-section-wrap {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(0, 35, 78, 0.08), transparent 50%),
    linear-gradient(165deg, #eef2f7 0%, #f7f1de 42%, var(--brand-mist) 100%);
  border-top: 3px solid var(--brand-gold);
  border-bottom: 3px solid var(--brand-gold);
}

.offer-widgets {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  align-items: stretch;
}

@media screen and (min-width: 900px) {
  .offer-widgets {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.offer-widgets__form,
.offer-widgets__map {
  min-width: 0;
}

.offer-map-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.65rem 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 240, 0.9) 0%, var(--brand-paper) 55%);
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-left: 5px solid var(--brand-gold);
  box-shadow:
    0 10px 32px rgba(0, 35, 78, 0.1),
    0 0 0 1px rgba(201, 162, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.offer-map-card__title {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.offer-map-card__points {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.offer-map-card__points li {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 10px;
}

.offer-map-card__points strong {
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.offer-map-card__points span {
  color: var(--text-secondary);
  line-height: 1.4;
  font-size: 0.92rem;
  white-space: pre-line;
}

.offer-map-card__frame {
  position: relative;
  z-index: 0;
  isolation: isolate;
  flex: 1 1 auto;
  min-height: 16rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 35, 78, 0.12);
  background: #d9e2ec;
}

.offer-map-card__canvas {
  width: 100%;
  height: 100%;
  min-height: 16rem;
}

.offer-map-marker {
  background: transparent;
  border: 0;
}

.offer-map-marker__pin {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem auto 0;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(145deg, #e8c547, #c9a227);
  border: 2px solid #001226;
  box-shadow: 0 2px 8px rgba(0, 18, 38, 0.35);
}

.offer-map-card__frame .leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  font: inherit;
}

.offer-map-card__frame .leaflet-popup-content {
  margin: 0.65rem 0.85rem;
  line-height: 1.35;
  color: var(--brand-navy);
}

.offer-map-card__frame .leaflet-popup-content strong {
  display: block;
  margin-bottom: 0.2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: none;
  margin-top: 0;
  height: 100%;
  padding: 1.75rem 1.65rem 1.85rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 240, 0.9) 0%, var(--brand-paper) 55%);
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-left: 5px solid var(--brand-gold);
  box-shadow:
    0 10px 32px rgba(0, 35, 78, 0.1),
    0 0 0 1px rgba(201, 162, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.contact-form__row {
  display: grid;
  gap: 1rem;
}

.contact-form__row--2 {
  grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 640px) {
  .contact-form__row--2 {
    grid-template-columns: 1fr;
  }
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand-navy);
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 2px solid #9aa5b5;
  border-left: 4px solid var(--brand-gold);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.07) 0%, var(--brand-paper) 28%);
  color: var(--text-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-form input:not([type="checkbox"]):hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #7a8799;
  border-left-color: var(--brand-gold-light);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.11) 0%, var(--brand-paper) 32%);
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #7a8799;
  border-left-width: 5px;
  border-left-color: var(--brand-gold-dark);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.28);
  background: #f7f4ea;
}

.contact-form__hint {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.contact-form__tip {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  color: #8a1f11;
}

.contact-form input[aria-invalid="true"]:not([type="checkbox"]),
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #c0392b;
  border-left-color: #c0392b;
  background: #fff8f7;
}

.contact-form .consent--invalid {
  border-color: #c0392b;
  background: #fff8f7;
}

.contact-form__consent {
  display: grid;
  gap: 0.35rem;
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  padding: 0.85rem 1rem;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(201, 162, 39, 0.28);
}

.contact-form .consent input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--brand-gold);
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.contact-form .btn--secondary {
  justify-self: start;
  min-width: 12rem;
  border: 2px solid var(--brand-gold-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-form .btn--secondary:hover {
  background: var(--brand-gold-light);
  color: var(--brand-navy-dark);
}

.alert {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-weight: 500;
}

.alert--error {
  background: #fdecea;
  color: #8a1f11;
}

.alert--success {
  background: #e8f5e9;
  color: #1b5e20;
}

/* —— Cookie banner —— */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.1rem 1.2rem;
  background: var(--brand-paper);
  border: 1px solid rgba(0, 35, 78, 0.1);
  border-radius: 14px;
  box-shadow:
    0 4px 12px rgba(0, 35, 78, 0.12),
    0 18px 48px rgba(0, 35, 78, 0.28);
  max-width: 720px;
  margin-inline: auto;
}

.cookie-banner__body {
  flex: 1 1 16rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cookie-banner__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--brand-navy-dark);
}

.cookie-banner p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.cookie-banner__choices {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cookie-banner__choices legend {
  padding: 0;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-navy-dark);
}

.cookie-banner__option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.cookie-banner__option input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

/* —— Footer —— */
.site-footer {
  background: linear-gradient(180deg, var(--brand-navy-mid) 0%, var(--brand-navy-dark) 100%);
  color: #e8eef6;
  padding: 3rem 0 0;
  border-top: 3px solid var(--brand-gold);
}

.site-footer a {
  color: #e8eef6;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 769px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer__tagline {
  opacity: 0.85;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  white-space: pre-line;
}

.site-footer__people {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  font-size: 0.92rem;
}

.site-footer__people li {
  display: grid;
  gap: 0.2rem;
}

.site-footer__people a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-footer__heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer__text-btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.site-footer__text-btn:hover {
  text-decoration: underline;
}

.site-footer__meta {
  opacity: 0.85;
  font-size: 0.9rem;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.site-footer__social-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.site-footer__login.btn {
  margin-top: 0.85rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
  text-decoration: none;
}

.site-footer a.site-footer__login:hover {
  text-decoration: none;
}

.site-footer__auth {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: #e8eef6;
  opacity: 0.95;
}

.site-footer__auth strong {
  color: #fff;
  font-weight: 600;
}

.site-footer__auth-email {
  margin-left: 0.35rem;
  font-weight: 400;
  color: rgba(232, 238, 246, 0.85);
}

.site-footer__auth-email::before {
  content: "(";
}

.site-footer__auth-email::after {
  content: ")";
}

.site-footer__auth-links {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
}

.site-footer__analytics {
  color: var(--brand-gold-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer__analytics:hover {
  color: #fff;
}

.site-footer__hours {
  margin-top: 0.15rem;
}

.site-footer__social-wrap {
  margin: 1rem 0 0;
}

.site-footer__hours-heading {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-gold-light);
}

.site-footer .hours-pivot th,
.site-footer .hours-pivot td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  padding: 0.22rem 0.28rem;
}

.site-footer .hours-pivot thead th {
  border-bottom-color: rgba(232, 197, 71, 0.35);
}

.site-footer .hours-pivot__name {
  color: #fff;
}

.site-footer .hours-pivot__email,
.site-footer .hours-pivot__phone {
  color: var(--brand-gold-light);
}

.site-footer .hours-pivot__address {
  color: rgba(232, 238, 246, 0.78);
}

.site-footer .hours-pivot tbody th {
  color: rgba(232, 238, 246, 0.72);
}

.site-footer .hours-pivot tbody td {
  color: #fff;
}

.site-footer__hours-holidays {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(232, 238, 246, 0.82);
  white-space: pre-line;
}

.site-footer__hours-holidays strong {
  color: var(--brand-gold-light);
  font-weight: 700;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__version {
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.creator-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0 1rem;
  height: 1.6rem;
  max-height: 1.6rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #00122b;
  color: #d8e4f0;
  font-size: 0.75rem;
  line-height: 1;
  border-top: 1px solid rgba(232, 197, 71, 0.35);
  box-sizing: border-box;
}

.creator-bar a {
  color: #eef4fa;
  text-decoration: none;
}

.creator-bar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.creator-bar__sep {
  color: rgba(216, 228, 240, 0.45);
}

.site-footer__logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  max-width: 100%;
}

.site-footer__logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
  background: transparent;
}

/* —— Inner pages —— */
.privacy h1,
.privacy h2,
.privacy .cms-rich h2,
.privacy .cms-rich h3 {
  color: var(--brand-navy);
}

.privacy h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.privacy h2,
.privacy .cms-rich h2 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem;
}

.privacy .cms-rich h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
}

.privacy .cms-rich p {
  margin: 0 0 0.85rem;
}

.privacy .cms-rich ul,
.privacy .cms-rich ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.privacy .cms-rich li {
  margin: 0.25rem 0;
}

.privacy .cms-rich > [data-island="field-editor"] {
  display: block;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-gold-dark);
  margin-bottom: 0.5rem;
}

.highlight {
  font-weight: 600;
  margin: 1.25rem 0;
  color: var(--brand-navy);
}

.case-teaser-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 769px) {
  .case-teaser-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-teaser-list a {
  display: grid;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 35, 78, 0.08);
  box-shadow: 0 8px 28px rgba(0, 35, 78, 0.08);
  padding-bottom: 1rem;
}

.case-teaser-list img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.case-teaser-list span,
.case-teaser-list strong,
.case-teaser-list p {
  padding-inline: 1rem;
}

.case-teaser-list span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-gold-dark);
  margin-top: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hours-bookmark.is-animating.is-open:not(.is-closing) .hours-bookmark__panel,
  .hours-bookmark.is-animating.is-closing .hours-bookmark__panel,
  .hours-bookmark.is-animating.is-open:not(.is-closing) .hours-bookmark__tab,
  .hours-bookmark.is-animating.is-closing .hours-bookmark__tab,
  .hours-bookmark-host:has(.hours-bookmark.is-animating.is-open:not(.is-closing)),
  .hours-bookmark-host:has(.hours-bookmark.is-animating.is-closing) {
    animation: none;
  }

  .hours-bookmark__tab {
    transition: none;
  }

  .insurer-carousel__track {
    animation: none;
    width: 100%;
  }

  .insurer-carousel__group[aria-hidden="true"] {
    display: none;
  }

  .insurer-carousel__group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    padding-inline: 1rem;
  }

  .insurer-carousel__fade,
  .insurer-carousel__btn {
    display: none;
  }

  .insurer-carousel__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .btn:hover,
  .case-card:hover {
    transform: none;
  }
}

/* —— /hello poster landing —— */
body.hello-page {
  background: #001226;
  color: #fff;
}

body.hello-page #main {
  min-height: 100dvh;
}

@media (min-width: 960px) {
  body.hello-page {
    height: 100dvh;
  }

  /* Keep overflow on the stage, not body — so the cookie banner stays visible. */
  body.hello-page #main {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
}

.hello-poster {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: hidden;
}

.hello-poster__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hello-poster__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  display: block;
  transform: scale(1.03);
  animation: hello-bg-drift 18s ease-in-out infinite;
}

.hello-poster__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 18, 38, 0.92) 0%, rgba(0, 18, 38, 0.72) 34%, rgba(0, 18, 38, 0.28) 58%, rgba(0, 18, 38, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 18, 38, 0.35) 0%, transparent 28%, rgba(0, 18, 38, 0.55) 100%);
  pointer-events: none;
}

.hello-poster__stage {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.35rem 0 1.75rem;
  min-height: 100dvh;
  align-items: center;
  justify-items: center;
}

@media (min-width: 960px) {
  .hello-poster__stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(10.5rem, 0.5fr) minmax(0, 1.05fr);
    grid-template-areas:
      "banner banner banner"
      "copy . mailer"
      "cta cta cta";
    gap: 1rem 1.35rem;
    padding: 1.5rem 0;
    align-items: center;
    justify-items: stretch;
  }

  .hello-poster__brush-line {
    grid-area: banner;
    justify-self: center;
  }

  .hello-poster__copy {
    grid-area: copy;
  }

  .hello-poster__mailer {
    grid-area: mailer;
  }

  .hello-poster__cta-col {
    grid-area: cta;
  }
}

.hello-poster__copy {
  animation: hello-fade-up 0.75s ease both;
  justify-self: stretch;
}

.hello-poster__logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.hello-poster__logo {
  height: 48px;
  width: auto;
  display: block;
}

.hello-poster__script {
  margin: 0 0 0.55rem;
  font-family: "Caveat", "Source Sans 3", cursive;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  color: #f0d56a;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  max-width: 28rem;
}

.hello-poster__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.hello-poster__lead {
  margin: 0 0 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  max-width: 30rem;
}

.hello-poster__list-label {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: #fff;
}

.hello-poster__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-width: 30rem;
}

.hello-poster__list li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.55rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

.hello-poster__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background:
    linear-gradient(145deg, #e8c547, #c9a227);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.hello-poster__list li::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.72rem;
  width: 0.28rem;
  height: 0.48rem;
  border: solid #001226;
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

.hello-poster__brush-line {
  margin: 0;
  display: flex;
  justify-content: center;
  width: min(100%, 52rem);
}

.hello-poster__brush-line span {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  text-align: center;
  font-family: "Caveat", "Source Sans 3", cursive;
  font-weight: 600;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  line-height: 1.3;
  color: #f0d56a;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  background: #00234e;
  border-radius: 4px 18px 10px 4px;
  box-shadow:
    0 0 0 2px rgba(201, 162, 39, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.28);
  transform: rotate(-0.6deg);
}

.hello-poster__coming {
  margin: 0;
  display: inline-flex;
  max-width: 30rem;
}

.hello-poster__coming span {
  display: inline-block;
  padding: 0.55rem 1rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  background: #00234e;
  border-radius: 4px 18px 10px 4px;
  box-shadow:
    0 0 0 2px rgba(201, 162, 39, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.28);
  transform: rotate(-0.6deg);
}

.hello-poster__cta-col {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: hello-fade-up 0.8s ease 0.1s both;
}

.hello-poster__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 13rem);
  min-height: 4.6rem;
  padding: 1.1rem 1.8rem;
  text-decoration: none;
  isolation: isolate;
}

.hello-poster__cta-brush {
  position: absolute;
  inset: -8% -14%;
  z-index: 0;
  background:
    center / 100% 100% no-repeat url("/static/index/hello/brush-gold.svg");
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  animation: hello-cta-breathe 3.8s ease-in-out infinite;
}

.hello-poster__cta-label {
  position: relative;
  z-index: 1;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #001a38;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hello-poster__cta:hover .hello-poster__cta-label {
  color: #000d1f;
}

.hello-poster__cta:hover .hello-poster__cta-brush {
  filter: drop-shadow(0 10px 22px rgba(201, 162, 39, 0.45)) brightness(1.05);
}

.hello-poster__cookies-btn {
  position: fixed;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 70;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 18, 38, 0.72);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.hello-poster__cookies-btn:hover {
  background: rgba(0, 35, 78, 0.88);
  border-color: rgba(201, 162, 39, 0.55);
  color: #fff;
}

.hello-poster__mailer {
  animation: hello-fade-up 0.85s ease 0.18s both;
}

.hello-poster__mailer-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 16px;
  padding: 0.85rem 0.9rem 0.95rem;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}

.hello-poster__mailer-title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.hello-poster__mailer-support {
  margin: 0 0 0.5rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.hello-poster__mailer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.55rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 8px;
}

.hello-poster__mailer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.hello-poster__mailer-contact-link:hover {
  color: var(--brand-gold-dark);
  text-decoration: underline;
}

.hello-poster__mailer-icon {
  flex-shrink: 0;
  color: var(--brand-gold);
}

.hello-poster__mailer-icon--at {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-gold);
}

.hello-poster__mailer-icon--phone {
  width: 1.15rem;
  height: 1.15rem;
}

.hello-poster__mailer-contact-link:hover .hello-poster__mailer-icon {
  color: var(--brand-gold-dark);
}

/* Compact mailer layout only (fonts unchanged) */
.hello-page .contact-form {
  gap: 0.4rem;
  max-width: none;
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hello-page .contact-form__row {
  gap: 0.4rem;
}

.hello-page .contact-form label {
  gap: 0.18rem;
  color: var(--brand-navy);
}

.hello-page .contact-form input:not([type="checkbox"]),
.hello-page .contact-form select,
.hello-page .contact-form textarea {
  padding: 0.38rem 0.55rem;
  border-radius: 0 8px 8px 0;
  border-left-width: 3px;
}

.hello-page .contact-form textarea {
  height: 2.55rem;
  min-height: 2.55rem;
  resize: vertical;
  max-height: 4.5rem;
  line-height: 1.3;
}

.hello-page .contact-form .consent {
  gap: 0.4rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  line-height: 1.3;
}

.hello-page .contact-form .consent input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
}

.hello-page .contact-form .btn--secondary {
  min-width: 9rem;
  padding: 0.5rem 0.95rem;
  justify-self: stretch;
}

.hello-page .alert {
  padding: 0.4rem 0.55rem;
}

@keyframes hello-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hello-cta-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.02);
  }
}

@keyframes hello-bg-drift {
  0%,
  100% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.05) translate3d(-0.6%, -0.4%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hello-poster__copy,
  .hello-poster__cta-col,
  .hello-poster__mailer,
  .hello-poster__cta-brush,
  .hello-poster__bg img {
    animation: none;
  }
}

@media (max-width: 959px) {
  .hello-poster__bg img {
    object-position: 72% center;
  }

  .hello-poster__scrim {
    background:
      linear-gradient(180deg, rgba(0, 18, 38, 0.72) 0%, rgba(0, 18, 38, 0.55) 42%, rgba(0, 18, 38, 0.82) 100%);
  }

  .hello-poster__cta {
    width: 100%;
    max-width: 18rem;
  }
}

/* —— Inline CMS toolbar —— */
.cms-edit-toolbar {
  --cms-toolbar-accent: #e67a22;
  --cms-toolbar-accent-dark: #c45f10;
  --cms-toolbar-accent-soft: #fff4eb;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--cms-toolbar-accent) 45%, transparent);
  border-radius: 12px;
  background: var(--cms-toolbar-accent-soft);
  box-shadow: 0 4px 20px rgba(198, 95, 16, 0.22);
  max-width: calc(100vw - 2rem);
}

.cms-edit-toolbar__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cms-toolbar-accent-dark);
  line-height: 1.2;
}

.cms-edit-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.cms-edit-toolbar__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--cms-toolbar-accent);
  border-radius: 8px;
  background: var(--cms-toolbar-accent);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  white-space: nowrap;
}

.cms-edit-toolbar__btn:hover {
  background: #fff;
  color: var(--cms-toolbar-accent-dark);
  border-color: var(--cms-toolbar-accent);
}

.cms-edit-toolbar__btn.is-on {
  background: var(--cms-toolbar-accent-dark);
  border-color: var(--cms-toolbar-accent-dark);
  color: #fff;
}

.cms-edit-toolbar__btn.is-on:hover {
  background: #fff;
  color: var(--cms-toolbar-accent-dark);
  border-color: var(--cms-toolbar-accent-dark);
}

.file-admin {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.file-admin__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 45, 0.45);
}

.file-admin__panel {
  position: relative;
  width: min(960px, 100%);
  height: min(640px, 100%);
  background: #fff;
  color: var(--brand-navy, #00234e);
  border: 2px solid rgba(0, 35, 78, 0.35);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 20, 45, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.file-admin__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 2px solid rgba(0, 35, 78, 0.28);
}

.file-admin__title {
  margin: 0;
  font-size: 1.05rem;
}

.file-admin__icon-btn {
  appearance: none;
  border: 1px solid rgba(0, 35, 78, 0.35);
  border-radius: 5px;
  background: #f7f9fc;
  color: var(--brand-navy, #00234e);
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.file-admin__icon-btn:hover {
  background: #fff;
  border-color: rgba(0, 35, 78, 0.55);
}

.file-admin__icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.file-admin__icon-btn--danger {
  color: #b71c1c;
}

.file-admin__icon-btn--danger:hover:not(:disabled) {
  background: #fdecea;
  border-color: rgba(183, 28, 28, 0.45);
}

.file-admin__close {
  width: 1.85rem;
  height: 1.85rem;
}

.file-admin__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.45rem 0.85rem;
  border-bottom: 2px solid rgba(0, 35, 78, 0.22);
}

.file-admin__alert {
  margin: 0.5rem 1rem 0;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  background: #fdecea;
  color: #8a1c1c;
  font-size: 0.85rem;
}

.file-admin__body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(210px, 260px) 1fr;
}

.file-admin__tree {
  border-right: 2px solid rgba(0, 35, 78, 0.28);
  overflow: auto;
  padding: 0.55rem 0.45rem 0.7rem;
  background:
    linear-gradient(180deg, #eef2f7 0%, #f6f8fb 40%, #f3f6fa 100%);
}

.file-admin__tree-inner {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.file-admin__tree-branch {
  position: relative;
}

.file-admin__tree-children {
  margin-left: 0.7rem;
  padding-left: 0.45rem;
  border-left: 1.5px solid rgba(0, 35, 78, 0.16);
}

.file-admin__tree-children--root {
  margin-left: 0.55rem;
  margin-top: 0.15rem;
}

.file-admin__tree-row {
  --depth: 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 1.85rem;
  margin: 0.08rem 0;
  padding: 0.12rem 0.3rem 0.12rem 0.15rem;
  border: 1px solid transparent;
  border-radius: 7px;
  transition: background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.file-admin__tree-row:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 35, 78, 0.14);
}

.file-admin__tree-row.is-active {
  background: #fff;
  border-color: rgba(0, 35, 78, 0.32);
  box-shadow: 0 1px 3px rgba(0, 35, 78, 0.1);
  font-weight: 600;
}

.file-admin__tree-row--root {
  margin-bottom: 0.15rem;
}

.file-admin__tree-toggle {
  appearance: none;
  border: 0;
  background: rgba(0, 35, 78, 0.06);
  color: rgba(0, 35, 78, 0.75);
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.file-admin__tree-toggle:hover {
  background: rgba(0, 35, 78, 0.12);
  color: var(--brand-navy, #00234e);
}

.file-admin__tree-toggle--spacer {
  visibility: hidden;
  pointer-events: none;
  background: transparent;
}

.file-admin__chevron {
  display: inline-flex;
  transition: transform 0.14s ease;
}

.file-admin__chevron.is-expanded {
  transform: rotate(90deg);
}

.file-admin__tree-item {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.25;
  padding: 0.1rem 0.15rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}

.file-admin__tree-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-admin__tree-rename {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.file-admin__tree-row:hover .file-admin__tree-rename,
.file-admin__tree-row.is-active .file-admin__tree-rename {
  opacity: 1;
}

.file-admin__type--folder {
  color: #b8860b;
  filter: drop-shadow(0 0.5px 0 rgba(0, 0, 0, 0.08));
}

.file-admin__tree-row.is-active .file-admin__type--folder {
  color: #9a7209;
}

.file-admin__list {
  overflow: auto;
  padding: 0.55rem 0.75rem 0.75rem;
  position: relative;
}

.file-admin__list.is-dragover {
  outline: 2px dashed rgba(0, 35, 78, 0.55);
  outline-offset: -6px;
  background: rgba(0, 35, 78, 0.03);
}

.file-admin__hint {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

.file-admin__hint--drop {
  margin-bottom: 0.45rem;
}

.file-admin__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.file-admin__row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.12rem 0.35rem;
  border: 1.5px solid rgba(0, 35, 78, 0.38);
  border-radius: 4px;
}

.file-admin__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  color: rgba(0, 35, 78, 0.75);
}

.file-admin__type--image {
  color: #1565c0;
}

.file-admin__type--pdf {
  color: #c62828;
}

.file-admin__type--excel {
  color: #2e7d32;
}

.file-admin__type--word {
  color: #1565c0;
}

.file-admin__type--file {
  color: rgba(0, 35, 78, 0.65);
}

.file-admin__meta {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.file-admin__name {
  font-weight: 600;
  font-size: 0.8rem;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-admin__path {
  font-size: 0.7rem;
  opacity: 0.65;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.file-admin__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  justify-content: flex-end;
}

.file-admin__check {
  display: flex;
  align-items: center;
}

.file-admin__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-top: 2px solid rgba(0, 35, 78, 0.28);
  background: #f5f7fa;
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(0, 35, 78, 0.85);
}

.file-admin__footer-sep {
  opacity: 0.55;
}

.file-admin__dialog {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 18, 38, 0.45);
}

.file-admin__dialog-panel {
  width: min(22rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: #fff;
  color: var(--brand-navy, #00234e);
  border: 2px solid rgba(0, 35, 78, 0.28);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 20, 45, 0.28);
}

.file-admin__dialog-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.file-admin__dialog-message {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.file-admin__dialog-input {
  font: inherit;
  font-size: 0.9rem;
  color: inherit;
  width: 100%;
  border: 1.5px solid rgba(0, 35, 78, 0.35);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  background: #fff;
}

.file-admin__dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.file-admin__dialog-btn {
  appearance: none;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 35, 78, 0.28);
  background: #f7f9fc;
  color: inherit;
  cursor: pointer;
}

.file-admin__dialog-btn--primary {
  background: var(--brand-navy, #00234e);
  color: #fff;
  border-color: transparent;
}

.file-admin__dialog-btn--danger {
  background: #8b1a1a;
  color: #fff;
  border-color: transparent;
}

@media (max-width: 720px) {
  .file-admin__body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(120px, 30%) 1fr;
  }

  .file-admin__tree {
    border-right: 0;
    border-bottom: 2px solid rgba(0, 35, 78, 0.28);
  }

  .file-admin__row {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }
}

.allowlist-admin {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.allowlist-admin__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 45, 0.45);
}

.allowlist-admin__panel {
  position: relative;
  width: min(560px, 100%);
  height: min(520px, 100%);
  background: #fff;
  color: var(--brand-navy, #00234e);
  border: 2px solid rgba(0, 35, 78, 0.35);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 20, 45, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.allowlist-admin__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid rgba(0, 35, 78, 0.28);
}

.allowlist-admin__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.allowlist-admin__toolbar {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(0, 35, 78, 0.16);
}

.allowlist-admin__body {
  flex: 1;
  overflow: auto;
  padding: 0.5rem 0.75rem 1rem;
}

.allowlist-admin__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.allowlist-admin__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(0, 35, 78, 0.14);
  border-radius: 8px;
}

.allowlist-admin__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.allowlist-admin__email {
  font-weight: 600;
  word-break: break-all;
}

.allowlist-admin__note {
  font-size: 0.85rem;
  opacity: 0.75;
  word-break: break-word;
}

.allowlist-admin__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.allowlist-admin__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.cms-field-editable {
  outline: 2px solid #c62828;
  outline-offset: 2px;
  border-radius: 2px;
  cursor: pointer;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cms-field-editable--block {
  display: block;
  min-height: 2.5rem;
}

.cms-field-editable:hover,
.cms-field-editable:focus-visible {
  outline-width: 3px;
  background: rgba(198, 40, 40, 0.08);
}

.cms-field-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 18, 38, 0.55);
}

.cms-field-modal__dialog {
  width: min(36rem, 100%);
  max-height: min(90vh, 40rem);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  background: var(--brand-paper, #fff);
  color: var(--brand-navy, #00234e);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 35, 78, 0.35);
}

.cms-field-modal__title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0, 35, 78, 0.65);
  word-break: break-all;
}

.cms-field-modal__field {
  display: block;
  margin: 0.65rem 0 0;
}

.cms-field-modal__field-label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(0, 35, 78, 0.55);
  word-break: break-all;
}

.cms-field-modal__format {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 0 0.55rem;
}

.cms-field-modal__format-option {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(0, 35, 78, 0.78);
  cursor: pointer;
  user-select: none;
}

.cms-field-modal__format-option input {
  margin: 0;
  accent-color: var(--brand-navy, #00234e);
}

.cms-field-modal__input {
  font: inherit;
  font-size: 1rem;
  color: inherit;
  width: 100%;
  border: 1px solid rgba(0, 35, 78, 0.25);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  background: #fff;
}

.cms-field-modal__input--area {
  resize: vertical;
  min-height: 10rem;
  line-height: 1.45;
}

.cms-field-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cms-field-modal__actions--history {
  justify-content: space-between;
}

.cms-field-modal__history-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.35rem 0.45rem;
  margin: 0 0 0.35rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(0, 35, 78, 0.12);
  border-radius: 8px;
  background: rgba(0, 35, 78, 0.03);
}

.cms-field-modal__history-filter {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  margin: 0;
  min-width: 0;
  flex: 1 1 7.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(0, 35, 78, 0.62);
}

.cms-field-modal__history-filter--wide {
  flex: 2 1 11rem;
}

.cms-field-modal__history-filters .cms-field-modal__input {
  padding: 0.28rem 0.45rem;
  font-size: 0.8rem;
  border-radius: 6px;
  min-height: 1.85rem;
}

.cms-field-modal__history-filters .cms-field-modal__btn {
  flex: 0 0 auto;
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  min-height: 1.85rem;
  align-self: end;
}

.cms-field-modal__history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: min(50vh, 24rem);
  overflow: auto;
}

.cms-field-modal__history-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cms-field-modal__history-page {
  font-size: 0.85rem;
  color: rgba(0, 35, 78, 0.7);
}

.cms-field-modal__history-item {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0, 35, 78, 0.12);
  border-radius: 8px;
  background: rgba(0, 35, 78, 0.03);
}

.cms-field-modal__history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  color: rgba(0, 35, 78, 0.62);
}

.cms-field-modal__history-key {
  font-weight: 600;
  color: rgba(0, 35, 78, 0.85);
}

.cms-field-modal__history-value {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--brand-navy, #00234e);
}

.cms-field-modal__btn {
  appearance: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 35, 78, 0.2);
  background: #fff;
  color: var(--brand-navy, #00234e);
  cursor: pointer;
}

.cms-field-modal__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cms-field-modal__btn--save {
  background: var(--brand-navy, #00234e);
  color: #fff;
  border-color: transparent;
}

.cms-field-modal__btn--danger {
  background: #8b1a1a;
  color: #fff;
  border-color: transparent;
}

.cms-field-modal__error {
  margin: 0;
  font-size: 0.85rem;
  color: #8b1a1a;
}

.cms-field-modal__notes {
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(0, 35, 78, 0.12);
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(0, 35, 78, 0.62);
}

.cms-field-modal__notes-line {
  margin: 0.2rem 0 0;
}

.cms-field-modal__notes-label {
  font-weight: 600;
  color: rgba(0, 35, 78, 0.78);
}

.cms-field-modal__notes-by::before {
  content: "·";
  margin: 0 0.3rem;
  color: rgba(0, 35, 78, 0.35);
}

.cms-complex__dialog {
  max-width: min(36rem, 100%);
  max-height: min(90vh, 52rem);
  overflow: hidden;
  padding: 0;
  gap: 0;
  background: #fff;
}

.cms-complex__header {
  flex: 0 0 auto;
  padding: 1.1rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(0, 35, 78, 0.18);
  background: #fff;
}

.cms-complex__header .cms-field-modal__title {
  margin: 0;
}

.cms-complex__header .cms-complex__prefix {
  margin: 0.35rem 0 0;
}

.cms-complex__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cms-complex__footer {
  flex: 0 0 auto;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(0, 35, 78, 0.18);
  background: #fff;
}

.cms-complex__footer .cms-field-modal__error {
  margin-top: 0.55rem;
}

/* Nesting shade ladder: 0=#FFF … 8=#777 */
.cms-complex__nest--0 { background-color: #fff; }
.cms-complex__nest--1 { background-color: #eee; }
.cms-complex__nest--2 { background-color: #ddd; }
.cms-complex__nest--3 { background-color: #ccc; }
.cms-complex__nest--4 { background-color: #bbb; }
.cms-complex__nest--5 { background-color: #aaa; }
.cms-complex__nest--6 { background-color: #999; }
.cms-complex__nest--7 { background-color: #888; }
.cms-complex__nest--8 { background-color: #777; }

.cms-complex__prefix {
  margin: -0.35rem 0 0.65rem;
  font-size: 0.72rem;
  color: rgba(0, 35, 78, 0.48);
  word-break: break-all;
}

.cms-complex__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 6px;
}

.cms-complex__card {
  border: 2px solid rgba(0, 35, 78, 0.28);
  border-radius: 6px;
  overflow: hidden;
}

.cms-complex__card--open {
  border-color: rgba(0, 35, 78, 0.42);
}

.cms-complex__card-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem 0.35rem 0.25rem;
}

.cms-complex__card-toggle {
  appearance: none;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.25rem 0.35rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cms-complex__chevron {
  flex: 0 0 auto;
  width: 1rem;
  color: rgba(0, 35, 78, 0.4);
}

.cms-complex__card-index {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0, 35, 78, 0.45);
}

.cms-complex__card-summary {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--brand-navy, #00234e);
}

.cms-complex__card-count {
  font-weight: 500;
  color: rgba(0, 35, 78, 0.5);
}

.cms-complex__card-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.2rem;
  align-items: center;
}

.cms-complex__card-body {
  padding: 0.45rem 0.6rem 0.7rem;
  border-top: 2px solid rgba(0, 35, 78, 0.16);
}

.cms-complex__scalar-row {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem;
  border: 2px solid rgba(0, 35, 78, 0.22);
  border-radius: 6px;
}

.cms-complex__scalar-field {
  flex: 1;
  min-width: 0;
}

.cms-complex__icon-btn {
  appearance: none;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: 6px;
  border: 2px solid rgba(0, 35, 78, 0.22);
  background: #fff;
  color: var(--brand-navy, #00234e);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.cms-complex__icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cms-complex__icon-btn--add {
  width: auto;
  min-width: 1.75rem;
  padding: 0 0.55rem;
  background: #1b7f3a;
  border-color: transparent;
  color: #fff;
}

.cms-complex__icon-btn--danger {
  background: #b42318;
  border-color: transparent;
  color: #fff;
}

.cms-complex__object {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.2rem;
  border-radius: 4px;
}

.cms-complex__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cms-complex__field-label-row,
.cms-complex__scalar-key {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.cms-complex__field-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-navy, #00234e);
}

.cms-complex__info {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.cms-complex__info-btn {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(0, 35, 78, 0.28);
  background: rgba(0, 35, 78, 0.06);
  color: var(--brand-navy, #00234e);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.cms-complex__info-tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.35rem);
  z-index: 5;
  display: none;
  min-width: 12rem;
  max-width: 18rem;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 35, 78, 0.18);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 18, 38, 0.16);
  color: rgba(0, 35, 78, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}

.cms-complex__info:hover .cms-complex__info-tip,
.cms-complex__info:focus-within .cms-complex__info-tip {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cms-complex__info-line strong {
  font-weight: 650;
  color: var(--brand-navy, #00234e);
}

.cms-complex__leaf {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cms-complex__leaf .cms-field-modal__input {
  border-width: 2px;
  border-color: rgba(0, 35, 78, 0.28);
  color: var(--brand-navy, #00234e);
}

.cms-complex__leaf .cms-field-modal__format-option {
  color: rgba(0, 35, 78, 0.55);
  font-size: 0.8rem;
}

.cms-row-btn {
  appearance: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
}

.cms-row-btn--add {
  border-style: dashed;
  border-color: rgba(46, 125, 50, 0.55);
  background: rgba(46, 125, 50, 0.1);
  color: #1b5e20;
}

.cms-row-btn--add:hover,
.cms-row-btn--add:focus-visible {
  background: rgba(46, 125, 50, 0.18);
  outline: none;
}

.cms-row-btn--remove {
  border-style: solid;
  border-color: rgba(139, 26, 26, 0.35);
  background: rgba(198, 40, 40, 0.06);
  color: #8b1a1a;
}

.cms-row-btn--remove:hover,
.cms-row-btn--remove:focus-visible {
  background: rgba(198, 40, 40, 0.12);
  outline: none;
}

.cms-row-removable {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  outline: 2px solid #8b1a1a;
  outline-offset: 2px;
  border-radius: 2px;
  padding: 0.15rem 0.3rem;
  background: rgba(198, 40, 40, 0.06);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cms-row-removable__target {
  min-width: 0;
}

.cms-field-edit-remove {
  display: inline-block;
  max-width: 100%;
  cursor: pointer;
  outline: 2px solid #c62828;
  outline-offset: 2px;
  border-radius: 2px;
  padding: 0.1rem 0.25rem;
  background: rgba(198, 40, 40, 0.06);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cms-field-edit-remove:hover,
.cms-field-edit-remove:focus-visible {
  outline-width: 3px;
  background: rgba(198, 40, 40, 0.1);
}

.cms-row-confirm {
  margin: 0;
  font-size: 0.95rem;
  word-break: break-all;
}

.cms-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
