/* Xyrix – matched to production www.xyrix.cz (global styles primary #0044c2) */
:root {
  --xy-primary: #0044c2;
  --xy-secondary: #0079c2;
  --xy-heading: #1F3E72;
  --xy-body: #8490A9;
  --xy-highlight: #4B5563;
  --xy-surface: #F3F7FF;
  --xy-bg: #FFFFFD;
  --xy-white: #fffffe;
  --xy-container: 1170px;
  --xy-font: "Poppins", system-ui, sans-serif;
  --xy-font-heading: "Manrope", system-ui, sans-serif;
  --xy-fs-small: clamp(14px, 1.6vw, 16px);
  --xy-fs-medium: clamp(16px, 1.8vw, 18px);
  --xy-fs-large: clamp(18px, 2.2vw, 20px);
  --xy-fs-x-large: clamp(24px, 3vw, 28px);
  --xy-fs-xx-large: clamp(28px, 3.6vw, 36px);
  --xy-fs-xxx-large: clamp(36px, 4.8vw, 48px);
  --xy-fs-xxxx-large: clamp(48px, 7.2vw, 72px);
  --xy-space-xxs: 8px;
  --xy-space-xs: 15px;
  --xy-space-sm: 24px;
  --xy-space-md: 32px;
  --xy-space-lg: 48px;
  --xy-space-xl: 64px;
  /* header: outer 10/6 + inner 5/5 + compact logo and tagline */
  --xy-header-height: calc(10px + 5px + 74px + 5px + 6px);
  /* WP preset spacing used in imported page HTML inline styles */
  --wp--preset--spacing--xx-small: 8px;
  --wp--preset--spacing--x-small: 15px;
  --wp--preset--spacing--small: 24px;
  --wp--preset--spacing--medium: 32px;
  --wp--preset--spacing--large: 48px;
  --wp--preset--spacing--x-large: 64px;
  --wp--preset--spacing--xx-large: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--xy-font);
  font-size: var(--xy-fs-small);
  color: var(--xy-body);
  background: var(--xy-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--xy-primary); text-decoration: none; }
a:hover { color: #003399; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--xy-font-heading);
  color: var(--xy-heading);
  line-height: 1.15;
  margin: 0 0 .55em;
  font-weight: 800;
}

.xy-container {
  width: min(100% - 2rem, var(--xy-container));
  margin-inline: auto;
}

/* ========== HEADER (production match www.xyrix.cz) ========== */
.xy-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fffffe;
  /* compact vertical spacing around the logo */
  padding: 10px 0 6px;
}
.xy-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--xy-space-md);
  padding: 5px 0;
}
.xy-logo {
  flex-shrink: 0;
  line-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.xy-logo__mark {
  width: 155px;
  height: 55px;
  max-width: min(155px, 70vw);
}
.xy-logo__tagline {
  margin-top: 3px;
  width: 126px;
  height: 15px;
  max-width: min(126px, 60vw);
}
.xy-logo img {
  display: block;
}
.xy-nav-wrap {
  display: flex;
  align-items: center;
  gap: var(--xy-space-md); /* 32px — production group gap medium */
  margin-left: auto;
}
.xy-nav {
  display: flex;
  align-items: center;
  gap: var(--xy-space-sm); /* 24px — production nav flex gap small */
  list-style: none;
  margin: 0;
  padding: 0;
}
.xy-nav a {
  color: #1d243d; /* secondary-accent-text */
  font-family: var(--xy-font);
  font-weight: 600;
  font-size: var(--xy-fs-small); /* clamp(14px, 1.6vw, 16px) */
  line-height: 1.7;
  text-transform: capitalize;
  letter-spacing: .25px;
  white-space: nowrap;
}
.xy-nav a:hover,
.xy-nav a.is-active { color: var(--xy-primary); }

.xy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.xy-btn--cta {
  background: var(--xy-primary);
  color: #fffffe !important;
  border-radius: 100px;
  /* WP button padding: calc(0.667em + 2px) / calc(1.333em + 2px) */
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  font-family: var(--xy-font);
  font-size: var(--xy-fs-small);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.xy-btn--cta:hover {
  background: #003399;
  color: #fffffe !important;
}
.xy-btn--hero {
  background: #fff;
  color: var(--xy-heading) !important;
  border-radius: 30px;
  /* production: x-small / medium padding, ~50% column width */
  padding: var(--xy-space-xs) var(--xy-space-md);
  font-family: var(--xy-font);
  font-size: var(--xy-fs-small);
  font-weight: 600;
  min-width: min(100%, 14rem);
}
.xy-btn--hero:hover {
  background: var(--xy-surface);
  color: var(--xy-primary) !important;
}
.xy-btn--primary {
  background: var(--xy-primary);
  color: #fff !important;
  border-radius: 30px;
  padding: var(--xy-space-xs) var(--xy-space-md);
  font-family: var(--xy-font);
  font-size: var(--xy-fs-small);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 68, 194, .22);
}
.xy-btn--primary:hover {
  background: #003399;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 68, 194, .28);
}

.xy-nav-backdrop {
  display: none;
}
.xy-nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--xy-heading);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.xy-nav-toggle:hover,
.xy-nav-toggle:focus-visible {
  background: var(--xy-surface);
  outline: none;
}
.xy-nav-toggle__box {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}
.xy-nav-toggle__bar {
  position: absolute;
  left: 0;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .28s ease, opacity .2s ease, top .28s ease;
}
.xy-nav-toggle__bar:nth-child(1) { top: 0; }
.xy-nav-toggle__bar:nth-child(2) { top: 7px; }
.xy-nav-toggle__bar:nth-child(3) { top: 14px; }
body.is-nav-open .xy-nav-toggle__bar:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
body.is-nav-open .xy-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
body.is-nav-open .xy-nav-toggle__bar:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}
body.is-nav-open {
  overflow: hidden;
}

@media (max-width: 1040px) {
  :root {
    /* na mobilu logo menší (max 70vw) → nižší header */
    --xy-header-height: calc(10px + 5px + min(74px, calc(70vw * 74 / 155)) + 5px + 6px);
  }
  .xy-nav-toggle {
    display: inline-flex;
    order: 2;
  }
  .xy-logo { order: 1; }
  .xy-nav-wrap {
    position: fixed;
    top: var(--xy-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 1.25rem 1.5rem 2rem;
    background: linear-gradient(180deg, #fffffe 0%, #F7FAFF 100%);
    border-top: 1px solid #E4EBF6;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), visibility .32s;
  }
  body.is-nav-open .xy-nav-wrap {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .xy-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 104;
    background: rgba(31, 62, 114, .42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s;
  }
  body.is-nav-open .xy-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .xy-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .xy-nav li {
    border-bottom: 1px solid #E4EBF6;
  }
  .xy-nav a {
    display: block;
    padding: 1.05rem 0;
    font-size: 1.125rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--xy-heading);
    letter-spacing: .15px;
    white-space: normal;
    transition: color .15s ease, padding-left .15s ease;
  }
  .xy-nav a:hover,
  .xy-nav a.is-active {
    color: var(--xy-primary);
  }
  .xy-nav a:active {
    padding-left: .35rem;
  }
  .xy-nav-cta {
    margin-top: 1.75rem;
    width: 100%;
    min-height: 52px;
    padding: .95rem 1.5rem;
    font-size: 1.0625rem;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 68, 194, .2);
  }
  .xy-header {
    z-index: 110;
  }
  .xy-header__inner {
    position: relative;
    z-index: 111;
  }
}

@media (min-width: 1041px) {
  .xy-nav-backdrop { display: none !important; }
}

/* ========== HOME OFFERS ========== */
.xy-hero {
  background: var(--xy-primary);
  color: #fff;
}
.xy-hero--offers {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}
.xy-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;
}

.xy-offers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 1.8vw, 1.5rem);
  max-width: 760px;
  margin-inline: auto;
}
@media (max-width: 900px) {
  .xy-offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
}
@media (max-width: 560px) {
  .xy-hero--offers { padding: 1.25rem 0; }
  .xy-offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; }
}

/* ========== SECTIONS ========== */
.xy-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.xy-section--surface { background: var(--xy-surface); }
.xy-section--primary { background: var(--xy-primary); color: #fff; }
.xy-section--primary h2,
.xy-section--primary h3,
.xy-section--primary p { color: #fff; }

.xy-section__head { max-width: 40rem; margin-bottom: 2.25rem; }
.xy-section__head h2 {
  font-family: var(--xy-font-heading);
  font-size: var(--xy-fs-xxx-large);
  font-weight: 800;
  line-height: 1.1;
}
.xy-section__head p {
  font-family: var(--xy-font);
  font-size: var(--xy-fs-medium);
  color: var(--xy-body);
}

/* ========== O NÁS – blue band (alternates after light aktuality) ========== */
.xy-about {
  background: var(--xy-primary);
  color: #fff;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.xy-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--xy-space-lg);
  align-items: center;
}
.xy-about__copy {
  max-width: 34rem;
}
.xy-about__title {
  font-family: var(--xy-font-heading);
  font-size: var(--xy-fs-xxx-large);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 var(--xy-space-sm);
}
.xy-about__lead {
  font-family: var(--xy-font);
  font-size: var(--xy-fs-medium);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
  margin: 0 0 var(--xy-space-md);
}
.xy-about__lead strong {
  font-weight: 500;
  color: inherit;
}

.xy-about__collage {
  display: flex;
  flex-direction: column;
  gap: var(--xy-space-sm);
  padding: var(--xy-space-xs) 0;
  background-image: url("../brand/about-img4.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.xy-about__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--xy-space-sm);
}
.xy-about__shot {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  line-height: 0;
}
.xy-about__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* WP original: border-top-left-radius:50% (jen levý-horní roh) */
.xy-about__shot--tl {
  border-radius: 50% 0 0 0;
}

/* WP original: border-radius:100% (plný kruh) */
.xy-about__shot--bl {
  border-radius: 50%;
}

/* WP original: border-bottom-right-radius:50% (jen pravý-dolní roh) */
.xy-about__shot--br {
  border-radius: 0 0 50% 0;
}

.xy-about__badge {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1 / 1;
  max-width: none;
  border-radius: 50%;
  background: #FFFFFE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--xy-space-lg) var(--xy-space-md);
  box-sizing: border-box;
}
.xy-about__badge strong {
  display: block;
  color: var(--xy-primary);
  font-family: var(--xy-font-heading);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
}
.xy-about__badge span {
  display: block;
  color: var(--xy-heading);
  font-family: var(--xy-font-heading);
  font-size: clamp(.8rem, 1.5vw, 1rem);
  font-weight: 600;
  line-height: 1.1;
  margin-top: .4rem;
  max-width: 9ch;
}

@media (max-width: 900px) {
  .xy-about__grid {
    grid-template-columns: 1fr;
    gap: var(--xy-space-lg);
  }
  .xy-about__copy { max-width: none; }
  .xy-about__collage {
    max-width: 440px;
    width: 100%;
    margin-inline: auto;
  }
}
@media (max-width: 520px) {
  /* WP hides top-left image on small screens */
  .xy-about__shot--tl { display: none; }
  .xy-about__row:first-child {
    justify-content: center;
  }
  .xy-about__badge {
    flex: 0 0 auto;
    width: min(46vw, 160px);
    padding: var(--xy-space-md) var(--xy-space-sm);
  }
}

/* Team home */
.xy-team-home__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .xy-team-home__grid { grid-template-columns: 1fr; }
}
.xy-team-home__copy h2 { color: #fff; }
.xy-team-home__copy p { color: #fff; font-size: var(--xy-fs-medium); }
.xy-team-home__bullets {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  display: grid;
  gap: .75rem;
}
.xy-team-home__bullets li {
  color: #fff;
  font-size: var(--xy-fs-medium);
  padding-left: 1.6rem;
  position: relative;
}
.xy-team-home__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: .85rem;
  height: .85rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 3px var(--xy-primary);
}

.xy-post-card__more {
  margin: .65rem 0 0;
}
.xy-post-card__more a {
  font-weight: 600;
  color: var(--xy-primary);
}

/* Homepage Aktuálně – left intro + right 2×2 (production) */
.xy-news {
  display: grid;
  grid-template-columns: minmax(0, 41%) minmax(0, 59%);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.xy-news__intro h2 {
  font-family: var(--xy-font-heading);
  font-size: var(--xy-fs-xxx-large);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 .85rem;
}
.xy-news__intro p {
  margin: 0;
  max-width: 28rem;
  font-size: var(--xy-fs-medium);
  color: var(--xy-highlight);
  line-height: 1.65;
}
.xy-news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .xy-news {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .xy-news__intro p { max-width: none; }
}
@media (max-width: 560px) {
  .xy-news__grid { grid-template-columns: 1fr; }
}

.xy-home-news__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}
.xy-home-news__head h2 {
  font-family: var(--xy-font-heading);
  font-size: var(--xy-fs-xxx-large);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}
.xy-home-news__all {
  font-weight: 600;
  color: var(--xy-primary);
  white-space: nowrap;
}
.xy-home-news__carousel {
  overflow: hidden;
  position: relative;
}
.xy-home-news__track {
  display: flex;
  transition: transform .55s ease;
  will-change: transform;
}
.xy-home-news__page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  box-sizing: border-box;
  align-items: stretch;
}
.xy-home-news__page .xy-post-card {
  height: 100%;
  min-width: 0;
}
.xy-home-news__dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.35rem;
}
.xy-home-news__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(0, 68, 194, .25);
  cursor: pointer;
}
.xy-home-news__dots button.is-active {
  background: var(--xy-primary);
}
@media (max-width: 900px) {
  .xy-home-news__head {
    align-items: start;
    flex-direction: column;
  }
  .xy-home-news__page {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

.xy-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.xy-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.xy-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
@media (max-width: 1000px) {
  .xy-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .xy-grid-3, .xy-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .xy-grid-4 { grid-template-columns: 1fr; }
}

/* ========== SERVICES (Co děláme) – 1:1 production ========== */
.xy-services {
  background: var(--xy-bg);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.xy-services__intro {
  max-width: 52rem;
  margin-bottom: var(--xy-space-xl);
}
.xy-services__title {
  font-family: var(--xy-font-heading);
  font-size: var(--xy-fs-xxx-large);
  font-weight: 800;
  font-style: normal;
  line-height: 1.1;
  color: var(--xy-heading);
  margin: 0 0 var(--xy-space-sm);
  letter-spacing: -0.5px;
}
.xy-services__lead {
  font-family: var(--xy-font);
  font-size: var(--xy-fs-medium);
  font-weight: 400;
  line-height: 1.65;
  color: var(--xy-highlight);
  margin: 0;
  max-width: 48rem;
}

.xy-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xy-space-md);
}
@media (max-width: 900px) {
  .xy-svc-grid { grid-template-columns: 1fr; }
}

/* Soft blue offset plate (WP #3693eb2b + xx-small pad) */
.xy-svc-card-wrap {
  background: #3693eb2b;
  border-radius: 20px;
  padding: 0 var(--xy-space-xxs) var(--xy-space-xxs) 0;
}
.xy-svc-card {
  background: #FFFFFE;
  border: 2px solid #3693eb45;
  border-radius: 20px;
  padding: var(--xy-space-md) var(--xy-space-sm);
  min-height: calc(100% + 10px);
  margin-top: -10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.xy-svc-card__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--xy-primary);
  display: grid;
  place-items: center;
  margin-bottom: var(--xy-space-sm);
  flex-shrink: 0;
  padding: var(--xy-space-xs);
  box-sizing: border-box;
}
.xy-svc-card__icon img {
  width: 46px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}
.xy-svc-card__title {
  font-family: var(--xy-font-heading);
  font-size: var(--xy-fs-large);
  font-weight: 700;
  font-style: normal;
  line-height: 1.45;
  color: var(--xy-heading);
  margin: 0 0 var(--xy-space-xxs);
}
.xy-svc-card__text {
  font-family: var(--xy-font);
  font-size: var(--xy-fs-small);
  font-weight: 400;
  line-height: 1.6;
  color: var(--xy-body);
  margin: 0;
}

.xy-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(0,68,194,.08);
  height: 100%;
  box-shadow: 0 8px 24px rgba(0,68,194,.05);
}
.xy-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--xy-surface);
  display: grid; place-items: center;
  margin-bottom: .9rem;
  font-size: 1.4rem;
}
.xy-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.xy-card p { margin: 0; font-size: .95rem; }

.xy-team-card {
  --xy-ring-from: #0044c2;
  --xy-ring-to: #18B4EA;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #F3F7FF;
  border-radius: 28px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0, 68, 194, .1);
  max-width: 280px;
  width: 100%;
  transition: transform .28s ease, box-shadow .28s ease;
}
.xy-team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: #0044c2;
  z-index: 1;
}
.xy-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 68, 194, .2);
}
.xy-team-card__photo {
  width: 140px;
  height: 140px;
  margin: 1.6rem auto 0;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 3px;
  border: 0;
  background: linear-gradient(135deg, var(--xy-ring-from) 0%, var(--xy-ring-to) 100%);
  box-shadow: 0 8px 22px rgba(0, 68, 194, .14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
  transition: padding .28s ease, box-shadow .28s ease, filter .28s ease;
  animation: xy-ring-pulse 1.6s ease-out .2s 1 both;
}
.xy-team-card:hover .xy-team-card__photo {
  padding: 4px;
  box-shadow:
    0 12px 28px rgba(0, 68, 194, .26),
    0 0 0 4px rgba(0, 68, 194, .1);
  filter: saturate(1.08);
}
.xy-team-card__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #fff;
  padding: 0;
  box-shadow: none;
  animation: none;
}
.xy-team-card__photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #dce8ff;
  color: #0044c2;
  font-family: var(--xy-font-heading);
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
}
.xy-team-card__body {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 1.15rem 1rem 1.45rem;
}
.xy-team-card__body h5 {
  position: relative;
  z-index: 2;
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #1F3E72;
}
.xy-team-card__body span {
  position: relative;
  z-index: 2;
  display: block;
  color: #8490A9;
  font-size: .9rem;
  line-height: 1.35;
  font-style: italic;
}

/* ========== Reference / testimonials (production match) ========== */
.xy-references {
  background: #fffffe;
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
}
.xy-references .xy-section__head h2 {
  color: var(--xy-heading);
}
.xy-references__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.xy-references__link:hover {
  color: var(--xy-primary);
}

.xy-testimonials {
  position: relative;
}
.xy-testimonials__viewport {
  overflow: hidden;
}
.xy-testimonials__track {
  display: flex;
  transition: transform .3s ease;
  will-change: transform;
}
.xy-testimonials__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 7.5px;
  box-sizing: border-box;
}
.xy-testimonials__dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.5rem;
}
.xy-testimonials__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d0d5e0;
  cursor: pointer;
}
.xy-testimonials__dots button.is-active {
  background: var(--xy-heading);
}
@media (min-width: 768px) {
  .xy-testimonials__slide { flex-basis: 50%; }
}

.xy-quote {
  background: #EBEEFC;
  border-radius: 30px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin: 0;
  border: 0;
  box-shadow: none;
}
.xy-quote__stars {
  width: 100px;
  height: 15px;
  display: block;
}
.xy-quote p {
  font-style: normal;
  font-size: var(--xy-fs-medium);
  color: var(--xy-highlight);
  flex: 1;
  margin: 0;
  line-height: 1.55;
}
.xy-quote__author strong {
  display: block;
  font-family: var(--xy-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--xy-heading);
  margin-bottom: .15rem;
}
.xy-quote__avatar {
  float: left;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 .65rem .3rem 0;
  border-radius: 50%;
  object-fit: cover;
}
.xy-quote__author span {
  display: block;
  font-size: var(--xy-fs-small);
  color: var(--xy-body);
}

.xy-insurers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}
.xy-insurers img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Pojišťovny – light band so the blue footer stays a clear closing stripe */
.xy-insurers-section {
  background: var(--xy-surface);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.xy-insurers-section h2 {
  color: var(--xy-heading);
  text-align: center;
  margin: 0 0 1.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.xy-insurers-carousel {
  overflow: hidden;
  position: relative;
}
.xy-insurers-track {
  display: flex;
  transition: transform .55s ease;
  will-change: transform;
}
.xy-insurers-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .625rem;
  box-sizing: border-box;
}
.xy-insurers-slide img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  /* Source logos are white-on-transparent; tint them to brand blue on light bg. */
  filter: brightness(0) saturate(100%) invert(16%) sepia(94%) saturate(2878%) hue-rotate(210deg) brightness(92%) contrast(101%);
}

.xy-insurers-dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.25rem;
}
.xy-insurers-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(0, 68, 194, .25);
  cursor: pointer;
}
.xy-insurers-dots button.is-active {
  background: var(--xy-primary);
}
@media (min-width: 760px) {
  .xy-insurers-slide { flex-basis: 33.333%; }
}


.xy-post-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,68,194,.08);
  box-shadow: 0 8px 24px rgba(0,68,194,.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.xy-post-card__thumb { aspect-ratio: 16/10; background: var(--xy-surface); overflow: hidden; }
.xy-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.xy-post-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101010;
}
.xy-post-card__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.xy-post-card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.xy-post-card__meta {
  font-size: .8rem;
  color: var(--xy-body);
  font-weight: 500;
}
.xy-post-card h3 {
  font-size: var(--xy-fs-large);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.xy-post-card h3 a { color: var(--xy-heading); }
.xy-post-card p { margin: 0; font-size: var(--xy-fs-small); color: var(--xy-body); }

.xy-page-hero {
  background: var(--xy-primary);
  color: #fff;
  padding: 3rem 0 2.25rem;
}
.xy-page-hero--compact {
  padding: 2.25rem 0 1.75rem;
}
.xy-page-hero h1 { color: #fff; margin-bottom: .35rem; }
.xy-page-hero p {
  color: rgba(255,255,255,.88);
  margin: 0;
  font-size: var(--xy-fs-medium);
  max-width: 36rem;
}

@keyframes xy-ring-pulse {
  0% {
    box-shadow:
      0 8px 22px rgba(0, 68, 194, .14),
      0 0 0 0 rgba(24, 180, 234, .22);
  }
  60% {
    box-shadow:
      0 8px 22px rgba(0, 68, 194, .14),
      0 0 0 8px rgba(0, 68, 194, .08);
  }
  100% {
    box-shadow:
      0 8px 22px rgba(0, 68, 194, .14),
      0 0 0 0 rgba(0, 68, 194, 0);
  }
}

/* Team page – alternating blue / light profile stripes */
.xy-team-profiles {
  margin: 0;
  /* closing white band = same height as .xy-header */
  padding: 0 0 var(--xy-header-height);
  background: #fffffe;
}
.xy-team-profile {
  background: #0044c2;
  color: #fffffe;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.xy-team-profile:nth-child(even) {
  background: #fffffe;
  color: var(--xy-highlight);
}
.xy-team-profile__inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}
.xy-team-profile--reverse .xy-team-profile__inner {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}
.xy-team-profile--reverse .xy-team-profile__card {
  order: 2;
}
.xy-team-profile--reverse .xy-team-profile__copy {
  order: 1;
}
.xy-team-profile__card {
  background: #fffffe;
  border-radius: 30px;
  text-align: center;
  overflow: visible;
  color: var(--xy-heading);
  box-shadow: 0 8px 28px rgba(31, 62, 114, .1);
}
.xy-team-profile__photo {
  margin: 0 0 -50px;
  position: relative;
  z-index: 1;
}
.xy-team-profile__photo img,
.xy-team-profile__photo-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  max-width: none;
}
.xy-team-profile__photo-placeholder {
  display: grid;
  place-items: center;
  background: var(--xy-surface);
  color: var(--xy-primary);
  font-family: var(--xy-font-heading);
  font-weight: 800;
  font-size: 3.5rem;
}
.xy-team-profile__badge {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: #0044c2;
  border: 4px solid #fffffe;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}
.xy-team-profile__badge img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  max-width: none;
}
.xy-team-profile__meta {
  padding: 15px 15px 24px;
}
.xy-team-profile__meta h3 {
  margin: 0 0 .35rem;
  font-family: var(--xy-font-heading);
  font-weight: 700;
  font-size: var(--xy-fs-large);
  line-height: 1.3;
  color: var(--xy-heading);
}
.xy-team-profile__meta p {
  margin: 0;
  font-size: var(--xy-fs-small);
  color: var(--xy-body);
  line-height: 1.4;
}
.xy-team-profile__copy h2 {
  margin: 0 0 1rem;
  color: #fffffe;
  font-family: var(--xy-font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.xy-team-profile:nth-child(even) .xy-team-profile__copy h2 {
  color: #1F3E72;
}
.xy-team-profile__bio {
  font-size: var(--xy-fs-medium);
  line-height: 1.7;
  color: #fffffe;
}
.xy-team-profile:nth-child(even) .xy-team-profile__bio {
  color: var(--xy-highlight);
}
.xy-team-profile__bio p {
  margin: 0 0 1rem;
  color: inherit;
}
.xy-team-profile__bio p:last-child {
  margin-bottom: 0;
}
.xy-team-profile__bio strong {
  font-weight: 700;
}
.xy-team-profile__bio em {
  font-style: italic;
  color: #f3f7ff;
}
.xy-team-profile:nth-child(even) .xy-team-profile__bio em {
  color: #1F3E72;
}
.xy-team-profile__bio a {
  color: #fffffe;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.xy-team-profile__bio a:hover {
  color: #cfe0ff;
}
.xy-team-profile:nth-child(even) .xy-team-profile__bio a {
  color: #0044c2;
}
.xy-team-profile:nth-child(even) .xy-team-profile__bio a:hover {
  color: #1F3E72;
}
@media (max-width: 800px) {
  .xy-team-profile__inner,
  .xy-team-profile--reverse .xy-team-profile__inner {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
    gap: 1.75rem;
  }
  .xy-team-profile--reverse .xy-team-profile__card {
    order: 0;
  }
  .xy-team-profile--reverse .xy-team-profile__copy {
    order: 0;
  }
  .xy-team-profile__copy {
    text-align: center;
  }
  .xy-team-profile__copy h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .xy-team-card__photo {
    animation: none;
  }
  .xy-team-card:hover {
    transform: none;
  }
}

.xy-content { font-size: 1.05rem; color: var(--xy-heading); }
.xy-content .wp-block-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}
/* Ethics triangle (Náš příběh): match WP ~490–600px, not crushed by 1fr column */
.xy-content .wp-block-columns:has(.wp-block-image.is-resized) {
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 280px), 560px);
  gap: 1.5rem 2.5rem;
}
.xy-content .wp-block-image.is-resized {
  margin: 0;
  max-width: 100%;
}
.xy-content .wp-block-image.is-resized img {
  width: min(100%, 560px) !important;
  max-width: 100%;
  height: auto !important;
}
@media (max-width: 800px) {
  .xy-content .wp-block-columns,
  .xy-content .wp-block-columns:has(.wp-block-image.is-resized) {
    grid-template-columns: 1fr;
  }
  .xy-content .wp-block-image.is-resized img {
    width: min(100%, 420px) !important;
    margin-inline: auto;
  }
}
.xy-content img { border-radius: 16px; }
.xy-content .has-surface-background-color {
  background: var(--xy-surface);
  margin: 2rem calc(50% - 50vw);
  padding: 2rem max(1rem, calc(50vw - 600px));
}
.xy-content .has-primary-background-color {
  background: var(--xy-primary);
  color: #fff;
  margin: 2rem calc(50% - 50vw);
  padding: 2.5rem max(1rem, calc(50vw - 600px));
}
.xy-content .has-primary-background-color h1,
.xy-content .has-primary-background-color h2,
.xy-content .has-primary-background-color p,
.xy-content .has-accent-text-color { color: #fff !important; }
.xy-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1rem 0;
}
.xy-content .wp-block-button__link {
  display: inline-block;
  background: var(--xy-primary);
  color: #fff !important;
  border-radius: 30px;
  padding: .8rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
.xy-content .wp-block-button__link:hover {
  background: #003399;
}
.xy-content .has-light-background-color {
  background: #EBEEFC;
  border-radius: 20px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* Objednání: alternating white / full-bleed light section (production match) */
.xy-booking-page {
  /* closing white band before blue footer (same idea as .xy-team-profiles) */
  padding: 0 0 var(--xy-header-height);
  background: #fffffe;
}
.xy-booking-page .xy-content > .wp-block-group:not(.has-light-background-color) {
  width: min(100% - 2rem, var(--xy-container));
  margin-inline: auto;
  box-sizing: border-box;
  /* beat WP inline padding vars so content aligns with .xy-container */
  padding-top: clamp(2rem, 4vw, 3.25rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3.25rem) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Full-bleed lavender: background edge-to-edge, inner content in container */
.xy-booking-page .xy-content > .has-light-background-color {
  background: #EBEEFC;
  border-radius: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  position: static;
  left: auto;
  transform: none;
  box-sizing: border-box;
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
  padding-left: max(1rem, calc(50% - (var(--xy-container) / 2))) !important;
  padding-right: max(1rem, calc(50% - (var(--xy-container) / 2))) !important;
}
.xy-booking-page .xy-content h2 {
  font-size: var(--xy-fs-xx-large);
  font-weight: 800;
  color: var(--xy-heading);
}
.xy-booking-page .xy-content p {
  max-width: 48rem;
  color: var(--xy-heading);
  font-size: var(--xy-fs-medium);
}
.xy-booking-page .xy-content .wp-block-buttons {
  margin-top: 1.25rem;
}
.xy-content a { color: var(--xy-primary); }
.xy-content h1, .xy-content h2, .xy-content h3, .xy-content h4 {
  color: var(--xy-heading);
}
.xy-content .xy-service-block + .xy-service-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 68, 194, 0.1);
}
.xy-content .xy-service-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.xy-content .xy-service-block p {
  margin: 0;
  color: var(--xy-body);
}
.xy-page-return {
  width: min(100% - 2rem, var(--xy-container));
  margin: 2.5rem auto 4.5rem;
}
.xy-page-return .xy-container {
  width: auto;
  max-width: none;
  padding: 0;
}
.xy-media-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 16px;
  background: #101010;
  box-shadow: 0 10px 28px rgba(0, 31, 102, .14);
}
.xy-media-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Google Maps embeds (Kontakt page) */
.xy-content .wp-block-gmap-gmap-block {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 68, 194, 0.12);
  box-shadow: 0 10px 28px rgba(0, 68, 194, 0.12);
  background: #fff;
}
.xy-content .wp-block-gmap-gmap-block + .wp-block-gmap-gmap-block {
  margin-top: 1rem;
}
.xy-content .wp-block-gmap-gmap-block iframe,
.xy-content iframe.embd-map {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  outline: none;
}
@media (max-width: 767px) {
  .xy-content .wp-block-gmap-gmap-block iframe,
  .xy-content iframe.embd-map {
    height: 200px;
  }
}

.xy-booking {
  background: var(--xy-surface);
  border-radius: 24px;
  padding: 2.25rem;
  text-align: center;
}
.xy-booking iframe {
  width: 100%;
  min-height: 700px;
  border: 0;
  border-radius: 16px;
  margin-top: 1.25rem;
  background: #fff;
}

/* ========== HOME OFFER CARDS ========== */
.xy-tile--offer {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .07));
  box-shadow: 0 12px 28px rgba(0, 31, 102, .18);
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, color .22s ease;
}
.xy-tile--offer::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 7.5rem;
  height: 7.5rem;
  right: -3rem;
  bottom: -3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: transform .3s ease, background-color .22s ease;
}
.xy-tile--offer:focus-within,
.xy-tile--offer:hover {
  color: #fff;
  background: rgba(0, 51, 153, .42);
  box-shadow: 0 18px 40px rgba(0, 31, 102, .26);
  transform: translateY(-5px);
}
.xy-tile--offer:hover::before,
.xy-tile--offer:focus-within::before {
  background: rgba(255, 255, 255, .16);
  transform: scale(1.3);
}

.xy-tile__icon {
  width: 4.15rem;
  height: 4.15rem;
  padding: .5rem;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 16px;
  color: currentColor;
  background: rgba(255, 255, 255, .11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  flex-shrink: 0;
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}
.xy-tile--offer:hover .xy-tile__icon,
.xy-tile--offer:focus-within .xy-tile__icon {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .2);
  transform: translateY(-2px) scale(1.03);
}
.xy-tile__icon * {
  vector-effect: non-scaling-stroke;
}

.xy-tile__title {
  font-family: var(--xy-font-heading);
  font-size: clamp(1.1rem, 1.65vw, 1.3rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0;
  color: inherit;
  display: block;
}
.xy-tile__title::after {
  content: "";
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-left: 0.42em;
  vertical-align: 0.08em;
  opacity: var(--arrow-opacity);
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M2.5 7.25h8.19L7.22 3.78a.75.75 0 1 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06l3.47-3.47H2.5a.75.75 0 0 1 0-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M2.5 7.25h8.19L7.22 3.78a.75.75 0 1 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06l3.47-3.47H2.5a.75.75 0 0 1 0-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.xy-tile:hover .xy-tile__title::after,
.xy-tile:focus-within .xy-tile__title::after {
  transform: translateX(3px);
}
@media (max-width: 560px) {
  .xy-tile__title::after { display: none; }
}

.xy-tile__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.xy-tile__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
  border-radius: 20px;
}
@media (max-width: 560px) {
  .xy-tile--offer {
    padding: 1.1rem 1.2rem;
  }
  .xy-tile__icon {
    width: 3.1rem;
    height: 3.1rem;
    padding: .4rem;
  }
}

/* ========== FOOTER ========== */
.xy-footer {
  background: var(--xy-primary);
  color: rgba(255,255,255,.9);
  padding: 2.25rem 0 0;
}
.xy-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
}
.xy-footer__slogan {
  margin: 0;
  color: #fff;
  font-family: var(--xy-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.xy-footer h3, .xy-footer h4, .xy-footer h5 { color: #fff; }
.xy-footer a { color: #fff; }
.xy-footer a:hover { opacity: .85; }
.xy-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .xy-footer__grid { grid-template-columns: 1fr; }
}
.xy-footer__maps {
  display: grid;
  gap: 1rem;
}
.xy-footer__maps iframe {
  display: block;
  width: 100%;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  outline: none;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 20, 60, 0.22);
  background: #fff;
}
/* Stand-in shown for the fraction of a second before the real map is swapped in. */
.xy-map-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  height: 160px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 20, 60, 0.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px);
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
}
.xy-map-slot__pin {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.xy-footer__bottom {
  background: #000;
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: .85rem 1rem;
  font-size: .8rem;
}
.xy-footer__bottom a { color: #fff; }
.xy-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }

.xy-text-center { text-align: center; }
.xy-mt-2 { margin-top: 2rem; }
.xy-mb-2 { margin-bottom: 2rem; }
.xy-muted { color: var(--xy-body); }
.xy-empty {
  padding: 3rem;
  text-align: center;
  background: var(--xy-surface);
  border-radius: 20px;
}
.xy-team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.xy-team-row .xy-team-card {
  flex: 1 1 170px;
  max-width: 220px;
}
