:root {
  --blue: #0070bd;
  --blue-dark: #075b93;
  --blue-soft: #e7f5ff;
  --aqua: #dff8ff;
  --green: #7ac943;
  --orange: #ff7b22;
  --purple: #a43ea4;
  --ink: #183249;
  --muted: #5e7180;
  --shadow: 0 14px 40px rgba(16, 88, 126, .14);
}

html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Segoe UI", 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--blue); }
img { max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; background: #fff; padding: .65rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 1000; max-width: 100%; }
.header-sky {
  --header-bg-image: url("../images/BghlavickaP.png");
  position: relative;
  z-index: 2;
  overflow: visible;
  background: #dff8ff;
}
.header-sky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--header-bg-image) center bottom / cover no-repeat;
  filter: saturate(.72) contrast(1.02) brightness(1.015);
}
.header-inner { min-height: 116px; position: relative; z-index: 1; display: flex; align-items: flex-start; }
.brand { color: var(--blue); text-decoration: none; display: flex; align-items: center; position: absolute; z-index: 4; left: 3.75rem; bottom: -2.5rem; }
.brand:hover { color: var(--blue-dark); }
.brand-baby { width: 350px; transform: translateX(-110vw); animation: swim-in .95s .12s cubic-bezier(.18,.8,.25,1) forwards; }
.brand-title { position: absolute; right: 3.75rem; bottom: .5rem; color: var(--blue); text-decoration: none; }
.brand-title:hover { color: var(--blue-dark); }
.brand-name { display: block; white-space: nowrap; font: 700 3rem/1 "Architects Daughter", cursive; text-shadow: 0 0 7px #fff, 2px 2px 7px #fff, -2px -2px 7px #fff; transform: translateX(110vw); animation: title-in .95s .12s cubic-bezier(.18,.8,.25,1) forwards; }
.brand-name small { font-size: .76em; }
.site-navigation { position: absolute; top: .7rem; right: .75rem; margin: 0; align-items: center; gap: .28rem; }
.site-navigation.collapse { display: flex !important; }
.site-navigation.show, .site-navigation.collapsing { display: flex; }
    .site-navigation a {
        display: flex;
        align-items: center;
        margin: 0 .6rem;
        padding: .0rem .38rem .2rem .38rem;
        color: #101820;
        font-weight: 600;
        font-size: .92rem;
        text-decoration: none;
        border-radius: .35rem;
        white-space: nowrap;
    }
.site-navigation a:not(.btn-gymnastika):not(.btn-tabory):hover,
.site-navigation a:not(.btn-gymnastika):not(.btn-tabory).active { color: var(--blue); background: rgba(255,255,255,.74); }
.admin-link { justify-content: center; min-width: 30px; padding: .2rem !important; }
.admin-link img { width: 24px; height: 24px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: .75rem; }
.menu-toggle span { display: block; width: 25px; height: 3px; margin: 4px 0; border-radius: 5px; background: var(--blue); }
.waterline { position: relative; z-index: 1; height: 8px; background: url("../images/logoPcara.png") center / 100% 8px no-repeat; }

/* Společné styly pro všechna vlastní tlačítka */
.btn-gymnastika,
.btn-plavani,
.btn-tabory {
    border-radius: 5px;
    font-size: .9rem;
    text-decoration: none;
    margin: 0 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-weight: 700 !important;
    padding: 1px 10px 1px 10px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-gymnastika {
  background: linear-gradient(to bottom right, #e38f25, #f6b86b);
  border: 1px solid #ffdfaa;
}
.btn-gymnastika:hover {
  background: linear-gradient(to bottom right, #c77a1f, #e39f55);
  border-color: #e39f55;
  transform: translateY(0px);
  box-shadow: 0 4px 8px rgba(227, 143, 37, 0.3);
}
.btn-gymnastika:active {
  background: linear-gradient(to bottom right, #a66119, #c77a1f);
  border-color: #c77a1f;
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(227, 143, 37, 0.2);
}

.btn-plavani {
  background: linear-gradient(to bottom right, #0070bd, #9bd2f7);
  border: 1px solid #9bd2f7;
}
.btn-plavani:hover {
  background: linear-gradient(to bottom right, #0061a4, #82c4f1);
  border-color: #2081c5;
  transform: translateY(0px);
  box-shadow: 0 4px 8px rgba(0, 85, 99, 0.3);
}
.btn-plavani:active {
  background: linear-gradient(to bottom right, #05568f, #76b5e0);
  border-color: #19689f;
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 85, 99, 0.2);
}

.btn-tabory {
  background: linear-gradient(to bottom right, #138e14, #6ed06f);
  border: 1px solid #6ed06f;
}
.btn-tabory:hover {
  background: linear-gradient(to bottom right, #0e780f, #5abe5b);
  border-color: #3da23e;
  transform: translateY(0px);
  box-shadow: 0 4px 8px rgba(53, 107, 95, 0.3);
}
.btn-tabory:active {
  background: linear-gradient(to bottom right, #0d6e0d, #51a952);
  border-color: #2b852c;
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(53, 107, 95, 0.2);
}

main { min-height: 60vh; max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; } }
.container-narrow { width: min(960px, calc(100% - 2rem)); margin-inline: auto; }
.content-section { padding: clamp(2.75rem, 6vw, 5.5rem) 0; }
.content-section.soft { background: linear-gradient(180deg, #f8fdff, #eaf8ff); }
.between-bands-soft {
  margin: 0;
  background: linear-gradient(180deg, #edf9ff 0%, #e4f6ff 55%, #edf9ff 100%) !important;
}
.course-more-zone {
  margin: 0;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, #edf9ff 0%, #e4f6ff 58%, #edf9ff 100%) !important;
}
.section-title { margin: 0 0 2.25rem; color: var(--blue); font-size: clamp(1.8rem, 4vw, 2.55rem); font-weight: 800; text-align: left; text-shadow: 1px 1px 3px #c2e1e6; }
.section-title::after { content: ""; display: block; width: 13rem; max-width: 72%; height: 0px; margin-top: .2rem; border-radius: 99px; background: currentColor; box-shadow: 3px 3px 5px #c2e1e6; }
.section-podtitle {
    color: var(--blue);
    font-size: clamp(1.8rem, 4vw, 1.1rem);
    font-weight: 700;
    text-align: center;
    text-shadow: 1px 1px 3px #c2e1e6;
}
.lead-copy {
    font-size: 1.13rem;
}
.eyebrow { color: var(--orange); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.check-list, .dot-list { padding-left: 1.25rem; }
.check-list li, .dot-list li { margin-bottom: .35rem; }
.check-list li::marker { color: var(--green); }

.menu {
    padding-left: 12px;
    padding-right: 12px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.hero { position: relative; min-height: 500px; overflow: hidden; background: #fff; }
.hero-stage { position: relative; width: 100%; max-width: 1440px; min-height: 500px; margin-inline: auto; }
.hero-visual { position: absolute; inset: 0 0 0 auto; width: min(830px, 73vw); height: 100%; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.97) 27%, rgba(255,255,255,.62) 47%, rgba(255,255,255,.08) 72%), linear-gradient(0deg, rgba(255,255,255,.26), transparent 34%); }
.hero-content { position: relative; z-index: 2; width: min(960px, calc(100% - 2rem)); margin-inline: auto; padding: 3rem 0 5rem; }
.hero-eyebrow { width: max-content; max-width: none !important; white-space: nowrap; }
.hero-copy { max-width: 33rem; }
.hero h1 {
    color: var(--blue);
    font-size: clamp(1.35rem, 5.5vw, 3rem);
    font-weight: 800;
    line-height: 1.6;
    text-shadow: 0 2px #fff;
}
.hero p { max-width: 31rem; font-size: clamp(1.08rem, 2vw, 1.32rem); font-weight: 700; }
.hero-photo-caption {
    position: absolute;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 3;
    width: min(32rem, calc(100% - 2rem));
    max-width: none !important;
    margin: 0;
    color: #fff;
    font-size: clamp(1rem, 1.7vw, 1.05rem) !important;
    font-weight: 400 !important;
    line-height: 1.35;
    text-align: right;
    text-shadow: 0 0 4px #0070bd, 0 0 10px rgba(0,0,0,.95), 0 0 18px rgba(0,0,0,.75), 0 2px 3px #0070bd;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.2rem; border: 2px solid var(--blue); border-radius: .55rem; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 5px 12px rgba(0,112,189,.18); }
.button:hover { color: #fff; background: var(--blue-dark); }
.button.secondary { background: #fff; color: var(--blue); }
.button.secondary:hover { color: var(--blue-dark); background: var(--blue-soft); }
.button.orange { border-color: var(--orange); background: var(--orange); }

.btn-vice {
    position: absolute;
    right: 0px;
    bottom: -15px;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: 0rem .4rem .1rem 1rem;
    border: 1px solid #fff;
    border-radius: .8rem;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: .9rem;
    box-shadow: 0 5px 12px rgba(0,112,189,.18);
}
    .btn-vice:hover {
        color: var(--blue-dark);
        background: var(--blue-soft);
        border: 1px solid var(--blue-dark);
    }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.value-card {
    text-align: center;
    padding: 1.5rem;
    padding-top: 1.2rem;
    padding-bottom: 1rem;
    border-top: 6px solid var(--blue-dark);
    border-radius: 1.9rem;
    background: #fff;
    background: linear-gradient(150deg, #0070bd 40%, #a8cde8 100%);
    box-shadow: var(--shadow);
    color: #fff;
}
    .value-card:nth-child(2) {
        border-color: var(--blue-dark);
    }
    .value-card:nth-child(3) {
        border-color: var(--blue-dark);
    }
    .value-card h2 {
        color: var(--blue);
        color: #fff;
        font-size: 1.6rem;
        font-weight: 800;
    }
    .value-card h3 {
        color: var(--blue);
        color: #fff;
        font-size: 1.2rem;
        font-weight: 800;
    }

.course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 1rem; padding-bottom: 1rem; }
.course-card {
  --course-accent: var(--blue);
  container-type: inline-size;
  position: relative;
  display: block;
  overflow: visible;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: .65rem;
  background: transparent;
  color: #fff;
  text-decoration: none;
  transition: transform .25s ease;
}
.course-card-bath { --course-accent: #d7aa27; }
.course-card-baby { --course-accent: #63ad42; }
.course-card-parent { --course-accent: #e74d2f; }
.course-card-solo { --course-accent: #2098dd; }
.course-card-surface {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 80% 20%;
  overflow: hidden;
  border: 0px solid color-mix(in srgb, var(--course-accent) 76%, #000);
  border-radius: .65rem;
  background: var(--course-accent);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--course-accent) 23%, transparent);
  transition: box-shadow .25s ease;
}
.course-card-media { position: relative; display: block; min-height: 0; overflow: hidden; }
.course-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,40,82,.24), transparent 38%); pointer-events: none; }
.course-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.course-card-bath img { object-position: 50% 42%; }
.course-card-baby img { object-position: 50% 48%; }
.course-card-parent img { object-position: 55% 63%; }
.course-card-solo img { object-position: 51% 48%; }
.course-card-age {
  position: absolute;
  z-index: 1;
  top: clamp(.55rem, 3cqw, .9rem);
  left: clamp(.6rem, 3.2cqw, 1rem);
  color: #fff;
  font-size: .8rem;
  font-size: clamp(.8rem, 4.4cqw, 1.2rem);
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 0 4px #00395f, 0 0 7px #00395f, 0 4px 4px rgba(0,34,68,.95);
}
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0rem .5rem clamp(.6rem, 2.5cqw, .85rem);
  background: var(--course-accent);
}
.course-card-footer > strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-size: clamp(1rem, 6.2cqw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
}
.course-card-more {
    position: absolute;
    bottom: -12px;
    right:0px;
    z-index: 1;
    align-self: end;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .13rem .4rem .25rem .55rem;
    border: 1px solid rgba(255,255,255,.95);
    border-radius: .6rem;
    background: var(--course-accent);
    color:#fff;
    /*background: #fff;
    color: color-mix(in srgb, var(--course-accent) 78%, #001e32);*/
    font-size: .85rem;
    font-size: clamp(.85rem, 3.8cqw, 1.05rem);
    font-weight: 400;
    line-height: 1.1;
}
.course-card-more .bi { font-size: .8rem; font-size: clamp(.8rem, 3.5cqw, 1rem); line-height: 1; }
.course-card:hover { color: #fff; transform: translateY(-4px); }
.course-card:hover .course-card-surface { box-shadow: 0 15px 32px color-mix(in srgb, var(--course-accent) 34%, transparent); }
.course-card:hover img { transform: scale(1.045); }
.course-card:hover .course-card-more { background: color-mix(in srgb, var(--course-accent) 82%, #002a46); color: #fff; }
.course-card:focus-visible { outline: 4px solid color-mix(in srgb, var(--course-accent) 45%, #fff); outline-offset: 3px; }
.course-types-section {
  margin: 0;
  padding-top: clamp(2.25rem, 5vw, 4rem);
  background: linear-gradient(180deg, #edf9ff 0%, #dff3ff 52%, #edf9ff 100%);
}
.course-types-intro { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.course-types-intro .section-title { margin-bottom: 1.25rem; }
.course-types-intro .lead-copy { margin-bottom: 1.25rem; }
.course-types-click-hint {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    margin: 0;
    padding: .9rem 1.1rem;
    border: 1px solid #b9dfef;
    border-radius: .75rem;
    /*background: rgba(255,255,255,.82);*/
    background: #f2faff;
    box-shadow: 0 8px 22px rgba(16,88,126,.08);
    color: var(--ink);
    line-height: 1.45;
}
.course-types-click-hint .bi { color: var(--blue); font-size: 2rem; text-align: center; }
.course-grid-detailed { gap: 2rem 1rem; padding-bottom: 1.25rem; }
.course-grid-detailed .course-card { height: clamp(26rem, 39vw, 30rem); aspect-ratio: auto; }
.course-grid-detailed .course-card-surface {
  grid-template-rows: minmax(12rem, 49%) minmax(0, 51%);
  border: 1px solid color-mix(in srgb, var(--course-accent) 70%, #fff);
}
.course-grid-detailed .course-card-footer {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem .9rem 1.15rem;
  text-align: left !important;
}
.course-grid-detailed .course-card-footer > strong { font-size: clamp(1.12rem, 6.2cqw, 1.45rem); }
.course-card-description {
  display: block;
  margin-top: .55rem;
  color: rgba(255,255,255,.96);
  font-size: clamp(.79rem, 3.9cqw, .92rem);
  font-weight: 600;
  line-height: 1.38;
}
.course-card-detail-note {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: .6rem;
  border-top: 1px solid rgba(255,255,255,.42);
  color: #fff;
  font-size: clamp(.75rem, 3.7cqw, .86rem);
  font-weight: 800;
  line-height: 1.25;
}
.course-card-detail-note::after { content: " \2192"; }
.page-end-nav-section { padding: .5rem 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-end-nav { display: grid; gap: .65rem; }
.page-end-nav-inline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-end-nav-stacked { grid-template-rows: repeat(4, minmax(0, 1fr)); aspect-ratio: 1 / 1; }
.page-end-link { display: flex; gap: .55rem; justify-content: center; align-items: center; min-width: 0; padding: .8rem .7rem; border-radius: .65rem; color: #fff; font-size: clamp(.86rem, 1.7vw, 1.05rem); font-weight: 850; line-height: 1.1; text-align: center; text-decoration: none; box-shadow: 0 7px 17px rgba(0,45,75,.15); transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.page-end-link i { flex: 0 0 auto; font-size: 1.05em; }
.page-end-link:hover { color: #fff; filter: saturate(1.12) brightness(1.04); transform: translateY(-2px); box-shadow: 0 10px 21px rgba(0,45,75,.22); }
.page-end-link:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
.page-end-home { background: linear-gradient(135deg, #378c36, #65b948); }
.page-end-courses { background: linear-gradient(135deg, #bd3b32, #e96752); }
.page-end-lecturers { background: linear-gradient(135deg, #1479b8, #3ba6df); }
.page-end-contact { background: linear-gradient(135deg, #d77a1c, #f2aa3e); }
.page-end-nav-stacked .page-end-link { padding: .45rem .6rem; }

.info-panel { display: grid; grid-template-columns: 3rem 1fr; overflow: hidden; border-radius: .65rem; background: #fff0df; box-shadow: var(--shadow); }
.info-panel > strong { display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 1.5rem; }
.info-panel-content { padding: 1.25rem 1.5rem; }
.news-list { display: grid; gap: 1rem; }
.news-item { padding: 1.4rem; border-left: 5px solid var(--blue); border-radius: .5rem; background: #fff; box-shadow: 0 7px 22px rgba(16,88,126,.1); }
.news-empty { color: var(--muted); }

.home-section-band {
  margin: clamp(4rem, 9vw, 6.25rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  padding: .25rem 0 .5rem;
}
.home-section-band-left {
  background: linear-gradient(to right, var(--blue-dark) 0%, var(--blue) 38%, #67c5ef 62%, rgba(255,255,255,0) 88%);
}
.home-section-band-right {
  background: linear-gradient(to left, var(--blue-dark) 0%, var(--blue) 38%, #67c5ef 62%, rgba(255,255,255,0) 88%);
}
.home-section-band-inner {
  display: flex;
  align-items: center;
  width: min(960px, calc(100% - 2rem));
  min-height: 54px;
  margin-inline: auto;
}
.home-section-band-right .home-section-band-inner {
  justify-content: flex-end;
  text-align: right;
}
.home-section-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 5px rgba(0,62,104,.45);
}
.home-section-band-courses .home-section-band-inner { position: relative; min-height: 68px; }
.course-band-actions {
  position: absolute;
  z-index: 4;
  top: 54%;
  right: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  transform: translateY(-50%);
  transform-origin: right center;
}
.course-band-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  width: 94px;
  height: 94px;
  padding: .35rem .35rem .45rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: .7rem;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  box-shadow: 0 7px 16px rgba(0,43,70,.23), inset 0 1px rgba(255,255,255,.25);
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}
.course-band-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 45%); pointer-events: none; }
.course-band-link img { position: relative; z-index: 1; display: block; width: 60px; height: 55px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.24)); }
.course-band-link span { position: relative; z-index: 1; }
.course-band-camp { background: linear-gradient(135deg, #0f7910, #62ca64); }
.course-band-gym { background: linear-gradient(135deg, #c8791d, #f4ad55); }
.course-band-swim { background: linear-gradient(135deg, #0067ac, #58b8ef); }
.course-band-camp img { width: 80px; }
.course-band-gym img { width: 80px; }
.course-band-swim { width: 118px; height: 118px; font-size: .94rem; }
.course-band-swim img { width: 105px; height: 69px; }
.course-band-link:hover { color: #fff; filter: saturate(1.12) brightness(1.04); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,43,70,.3), inset 0 1px rgba(255,255,255,.3); }
.course-band-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.course-signup-link {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 410px);
  min-height: 70px;
  margin-top: 1.35rem;
  padding: .35rem .85rem .35rem .4rem;
  overflow: hidden;
  border: 1px solid #9bd2f7;
  border-radius: .7rem;
  background: linear-gradient(135deg, #0067ac, #58b8ef);
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,.36);
  box-shadow: 0 8px 18px rgba(0,72,121,.23), inset 0 1px rgba(255,255,255,.25);
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}
.course-signup-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18), transparent 48%); pointer-events: none; }
.course-signup-link img { position: relative;top:-3px; z-index: 1; display: block; width:120px; height: 56px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.22)); }
.course-signup-copy { position: relative; z-index: 1; display: grid; gap: .05rem; line-height: 1.32; }
.course-signup-copy small { font-size: .67rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .88; }
.course-signup-copy strong { font-size: .92rem; font-weight: 800; }
.course-signup-link i { position: relative; z-index: 1; margin-left: .45rem; font-size: 1.15rem; }
.course-signup-link:hover { color: #fff; filter: saturate(1.12) brightness(1.04); transform: translateY(-2px); box-shadow: 0 11px 21px rgba(0,72,121,.29), inset 0 1px rgba(255,255,255,.3); }
.course-signup-link:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
.home-section-body {
  padding: 0 0 clamp(1rem, 3vw, 2rem);
}
.home-courses-more { display: flex; justify-content: center; margin-top: 2rem; }
.home-courses-more .button { gap: .55rem; }
.home-content-narrow {
  max-width: 860px;
}
.home-news-box {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #89ccef;
  border-left: 0;
  border-radius: .65rem;
  background: linear-gradient(135deg, #eef9ff, #fff);
  box-shadow: 0 10px 26px rgba(0,112,189,.13);
}
.home-news-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  color: #fff;
  /*font-family: Georgia, serif;*/
  font-size: 8.4rem;
  font-weight: 700;
}
.home-news-content {
  min-width: 0;
}
.home-news-item {
  padding: 1.35rem 1.5rem;
}
.home-news-item + .home-news-item {
  border-top: 1px solid #cce8f7;
}
.home-news-item > :last-child {
  margin-bottom: 0;
}
.home-faq-group {
  margin-bottom: 1.75rem;
}
.home-faq-group h3 {
  margin: 0 0 .7rem;
  color: var(--blue-dark);
  font-size: 1.2rem;
  font-weight: 800;
}
.home-faq-item {
  overflow: hidden;
  margin-bottom: .6rem;
  border: 1px solid #b8dff3;
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 3px 9px rgba(16,88,126,.07);
}
.home-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  background: var(--blue-soft);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.home-faq-item summary::-webkit-details-marker {
  display: none;
}
.home-faq-item summary:hover,
.home-faq-item[open] summary {
  background: #d7effc;
  color: var(--blue-dark);
}
.home-faq-icon::before {
  content: "+";
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}
.home-faq-item[open] .home-faq-icon::before {
  content: "−";
}
.home-faq-answer {
  padding: 1rem;
  border-top: 1px solid #d9edf8;
}
.home-faq-answer > :last-child {
  margin-bottom: 0;
}
.home-faq-documents {
  margin: 2rem 0 0;
  color: var(--muted);
  text-align: center;
}
.home-contact-section {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4rem);
  padding: 0;
}
.home-contact-grid h3,
.home-contact-grid h4 {
  margin-top: 0;
  color: var(--blue-dark);
  font-weight: 800;
}
.home-contact-grid h3 {
  font-size: 1.25rem;
}
.home-contact-grid h4 {
  font-size: 1.1rem;
}
.home-contact-grid p {
  margin-bottom: .25rem;
}
.home-contact-people {
  display: grid;
  gap: 1.5rem;
}
.home-contact-person + .home-contact-person {
  padding-top: .75rem;
}
.home-contact-role {
  color: var(--muted);
}
.home-contact-phone,
.home-contact-email {
  display: block;
  width: fit-content;
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}
.home-contact-phone:hover,
.home-contact-email:hover {
  text-decoration: underline;
}
.plain-contact-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4rem);
}
.plain-contact-directory h3,
.plain-contact-directory h4 { margin-top: 0; color: var(--blue-dark); font-weight: 800; }
.plain-contact-directory h3 { margin-bottom: .2rem; font-size: 1.25rem; }
.plain-contact-directory h4 { margin-bottom: .75rem; font-size: 1.1rem; }
.plain-contact-directory p { margin-bottom: .25rem; }
.contact-people { display: grid; gap: 1.25rem; }
.contact-person + .contact-person { padding-top: .5rem; }
.contact-role { color: var(--muted); }
.contact-phone,
.contact-email { display: block; width: fit-content; color: var(--blue-dark); font-size: 1.05rem; font-weight: 800; text-decoration: none; word-break: break-word; }
.contact-phone:hover,
.contact-email:hover { color: var(--blue); text-decoration: underline; }
.membership-copy { margin-bottom: 1.5rem; }
.membership-logos { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center; }
.membership-logos img { display: block; width: auto; max-width: min(100%, 240px); max-height: 92px; object-fit: contain; mix-blend-mode: multiply; }
.contact-directory-section { background: #fff; }

.page-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0; background: linear-gradient(135deg, #f5fdff, #dff5ff); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero h1 { color: var(--blue); font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 800; line-height: 1.1; }
.page-hero-image { display: block; width: 100%; height: 100%; max-height: 390px; object-fit: cover; }
.page-hero-media { position: relative; min-height: 330px; overflow: hidden; border-radius: 46% 20% 42% 24% / 25% 38% 27% 43%; isolation: isolate; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(241,251,255,.82), transparent 28%), linear-gradient(155deg, transparent 55%, rgba(0,112,189,.22)); pointer-events: none; }
.page-hero-media .page-hero-image { position: absolute; inset: 0; max-height: none; }
.course-detail-hero::before { content: ""; position: absolute; right: -9rem; bottom: -13rem; width: 34rem; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.32); }
.course-detail-bath { background: linear-gradient(135deg, #fffdf4, #e8f9ff 62%, #f8e9b5); }
.course-detail-baby { background: linear-gradient(135deg, #f7fff3, #e8f9ff 62%, #dff5d5); }
.course-detail-parent { background: linear-gradient(135deg, #fff7f4, #e8f9ff 62%, #ffe1d9); }
.course-detail-solo { background: linear-gradient(135deg, #f5fbff, #e2f5ff 62%, #cdeeff); }
.courses-hero { background: linear-gradient(135deg, #f7fdff 0%, #e8f8ff 58%, #d7f2ff 100%); }
.course-hero-collage { position: relative; display: grid; grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr)); gap: .45rem; height: 405px; overflow: hidden; border-radius: 2.2rem 1rem 2.2rem 1rem; box-shadow: 0 18px 42px rgba(16,88,126,.17); }
.course-hero-collage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(239,250,255,.28), transparent 34%), linear-gradient(160deg, transparent 62%, rgba(0,112,189,.17)); pointer-events: none; }
.course-hero-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.course-hero-photo-bath { object-position: 50% 43%; }
.course-hero-photo-baby { object-position: 48% 48%; }
.course-hero-photo-parent { object-position: 54% 48%; }
.course-hero-photo-solo { object-position: 50% 42%; }
.two-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.content-card { padding: clamp(1.3rem, 3vw, 2rem); border-radius: .85rem; background: #fff; box-shadow: var(--shadow); }
.content-card h2, .content-card h3 { color: var(--blue); font-weight: 800; }
.accent-card { border-top: 6px solid var(--orange); }

.signup-process-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(18rem, .72fr); gap: clamp(2rem, 6vw, 4rem); align-items: start; }
.signup-steps { counter-reset: signup-step; display: grid; gap: 1.15rem; margin: 0; padding: 0; list-style: none; }
.signup-steps li { counter-increment: signup-step; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.signup-steps li::before { content: counter(signup-step); display: grid; place-items: center; width: 3.25rem; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, var(--blue), #56b9ed); color: #fff; font-size: 1.2rem; font-weight: 850; box-shadow: 0 7px 18px rgba(0,112,189,.22); }
.signup-steps li:not(:last-child) > div { position: relative; padding-bottom: .9rem; border-bottom: 1px solid #d7eaf4; }
.signup-steps strong, .signup-steps span { display: block; }
.signup-steps strong { margin-bottom: .2rem; color: var(--blue-dark); font-size: 1.08rem; }
.signup-steps span { color: var(--muted); }
.signup-primary-action { margin: 1.75rem 0 0 4.25rem; }
.signup-explanation { display: grid; gap: 1rem; }
.signup-notice { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .8rem; padding: 1.35rem; border-radius: .9rem; background: linear-gradient(145deg, #fff6e9, #fff); box-shadow: var(--shadow); }
.signup-notice > i { color: var(--orange); font-size: 1.65rem; }
.signup-notice strong { color: #9a4a12; }
.signup-notice p { margin: .4rem 0 0; }
.upcoming-system-cards { display: grid; gap: 1rem; }
.upcoming-system-cards article { padding: 1.2rem 1.3rem; border-left: 5px solid #8db9cf; border-radius: .65rem; background: #f5fafc; }
.upcoming-system-cards span { color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.upcoming-system-cards h3 { margin: .2rem 0 .3rem; color: var(--blue-dark); font-size: 1.12rem; font-weight: 800; }
.upcoming-system-cards p { margin: 0; color: var(--muted); }

.schedule-wrap { overflow-x: auto; border-radius: .75rem; box-shadow: var(--shadow); }
.schedule { width: 100%; min-width: 650px; margin: 0; border-collapse: collapse; background: #fff; }
.schedule th { padding: .8rem; background: var(--blue); color: #fff; text-align: left; }
.schedule td { padding: .7rem .8rem; border-bottom: 2px solid #d9eaf3; }
.schedule tr:last-child td { border-bottom: 0; }
.schedule tbody tr:nth-child(even) { background: #fff; } /*f3faff*/
.weekly-swim-schedule { margin-top: 1rem; }
.schedule-click-hint { display: flex; gap: .55rem; align-items: flex-start; margin: 0 0 .75rem; padding: .65rem .8rem; border: 1px solid #bddff0; border-radius: .55rem; background: #f2faff; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.schedule-click-hint i { flex: 0 0 auto; margin-top: .05rem; color: var(--blue); font-size: 1rem; }
.schedule-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; margin: 0 0 .75rem; }
.schedule-legend-item,
.schedule-course-group { border: 1px solid transparent; border-radius: .5rem; font-weight: 750; line-height: 1.15; }
.schedule-legend-item { padding: .35rem .65rem; font-size: .78rem; }
.schedule-day-column { width: 18%; }
.schedule-time-column { width: 41%; }
.schedule-weekly tbody th { padding: .8rem; border-bottom: 2px solid #d9eaf3; background: #f8fcff; color: var(--blue-dark); text-align: left; }
.schedule-weekly tbody tr:last-child th { border-bottom: 0; }
.schedule-pools { display: flex; flex-wrap: wrap; gap: .42rem; min-height: 1.75rem; align-content: center; }
.schedule-course-group {
    display: grid;
    place-items: center;
    flex: 1 1 4.2rem;
    min-width: 0;
    min-height: 2.2rem;
    padding: .48rem .0rem;
    font-size: .82rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,45,75,.09);
}
.schedule-pool-name { max-width: 100%; overflow-wrap: anywhere; }
.schedule-course-group:hover { color: inherit; filter: saturate(1.12) brightness(.98); transform: translateY(-1px); box-shadow: 0 4px 9px rgba(0,45,75,.16); }
.schedule-course-group:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.schedule-course-2 { border-color: #78c879; background: #e5f7e5; color: #176f18; }
.schedule-course-3 { border-color: #e69a9a; background: #fff0f0; color: #a52b2b; }
.schedule-course-4 { border-color: #82c4f1; background: #eaf6fe; color: #075f9d; }
.schedule-none { color: #93a4ad; }
.schedule-empty { padding: 1rem 1.15rem; border: 1px solid #c7e4f3; border-radius: .65rem; background: #f3faff; color: var(--muted); text-align: center; }
.pool-info-grid { display: grid; grid-template-columns: 1fr; gap: 2.6rem; margin-top: 3rem; }
.pool-info-card { position: relative; padding: 1.9rem 1.65rem 1.6rem; border-top: 5px solid var(--blue); border-radius: .8rem; background: #fff; box-shadow: var(--shadow); }
.pool-info-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(13.5rem, .8fr) minmax(12rem, .65fr); gap: 1.35rem; align-items: stretch; }
.pool-info-main { min-width: 0; }
.pool-info-card h3 { margin: 0 0 0.7rem; color: var(--blue-dark); font-size: 1.6rem; font-weight: 800; }
.pool-info-badge { position: absolute; top: -.8rem; right: .9rem; max-width: calc(100% - 1.8rem); padding: .32rem .8rem; overflow: hidden; border: 1px solid currentColor; border-radius: 999px; background: #fff; font-size: .74rem; font-weight: 850; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,45,75,.13); }
.pool-info-address { display: flex; gap: .4rem; align-items: flex-start; margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.pool-info-address i { flex: 0 0 auto; color: var(--blue); }
.pool-info-address a { color: inherit; text-decoration-color: color-mix(in srgb, var(--blue) 55%, transparent); text-underline-offset: .18em; }
.pool-info-address a:hover { color: var(--blue-dark); }
.pool-info-address a .bi { display: inline-block; margin-left: .2rem; font-size: .72em; }
.pool-info-description > :last-child,
.pool-info-course-description > :last-child { margin-bottom: 0; }
.pool-info-course-description { margin-top: .9rem; padding: .75rem .85rem; border-radius: .5rem; background: var(--blue-soft); }
.pool-info-action { display: flex; min-width: 0; padding-left: 1.35rem; flex-direction: column; border-left: 1px solid #d8e8f0; }
.pool-info-prices { margin: 0; padding: 0; border: 0; }
.pool-info-prices h4 { display: flex; gap: .45rem; align-items: center; margin: 0 0 .7rem; color: var(--blue-dark); font-size: .95rem; font-weight: 850; }
.pool-info-prices h4 i { color: var(--blue); }
.pool-info-prices ul { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.pool-info-prices li { display: grid; grid-template-columns: minmax(4.5rem, 1fr) auto; gap: .2rem .6rem; align-items: baseline; padding: .42rem .6rem; border-radius: .35rem; background: #f7fbfd; font-size: .88rem; }
.pool-info-prices li strong { color: var(--blue-dark); white-space: nowrap; }
.pool-info-prices li small { grid-column: 1 / -1; color: var(--muted); }
.pool-info-price-duration { color: var(--ink); font-weight: 700; white-space: nowrap; }
.pool-info-schedule { min-width: 0; margin: 0; padding: 0 0 0 1.35rem; border: 0; border-left: 1px solid #d8e8f0; }
.pool-info-schedule h4 { display: flex; gap: .45rem; align-items: center; margin: 0 0 .7rem; color: var(--blue-dark); font-size: .95rem; font-weight: 850; }
.pool-info-schedule h4 i { color: var(--blue); }
.pool-info-schedule ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.pool-info-schedule li { display: grid; grid-template-columns: minmax(6.5rem, .7fr) minmax(0, 1fr); gap: .65rem; align-items: baseline; padding: .36rem .55rem; border-radius: .35rem; background: #f7fbfd; font-size: .86rem; }
.pool-info-schedule li strong { color: var(--ink); }
.pool-info-schedule li span { color: var(--muted); }
.pool-info-muted { margin: 0; color: var(--muted); font-size: .88rem; }
.pool-info-signup { display: flex; gap: .45rem; justify-content: center; align-items: center; width: 100%; margin-top: auto; }
.pool-info-course-2 { border-top-color: #48a94a; }
.pool-info-course-2 .pool-info-badge { border-color: #78c879; background: #e5f7e5; color: #176f18; }
.pool-info-course-2 .pool-info-course-description { background: #e5f7e5; }
.pool-info-course-3 { border-top-color: #d75d5d; }
.pool-info-course-3 .pool-info-badge { border-color: #e69a9a; background: #fff0f0; color: #a52b2b; }
.pool-info-course-3 .pool-info-course-description { background: #fff0f0; }
.pool-info-course-4 { border-top-color: #318fce; }
.pool-info-course-4 .pool-info-badge { border-color: #82c4f1; background: #eaf6fe; color: #075f9d; }
.pool-info-course-4 .pool-info-course-description { background: #eaf6fe; }
.pool-info-empty { margin-top: 2rem; padding: 1rem 1.15rem; border: 1px solid #c7e4f3; border-radius: .65rem; background: #fff; color: var(--muted); text-align: center; }
.section-intro { max-width: 46rem; margin: -.35rem 0 1.5rem; color: var(--muted); }
.pool-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.pool-overview-card { overflow: hidden; border-radius: .8rem; background: #fff; box-shadow: var(--shadow); }
.pool-overview-header { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start; padding: 1.3rem 1.35rem 1rem; border-bottom: 1px solid #d8e8f0; }
.pool-overview-header h3 { margin: 0 0 .45rem; color: var(--blue-dark); font-size: 1.55rem; font-weight: 850; }
.pool-overview-header .pool-info-address { margin-bottom: 0; }
.pool-overview-badge { flex: 0 0 auto; max-width: 45%; padding: .3rem .7rem; overflow: hidden; border: 1px solid #82c4f1; border-radius: 999px; background: #eaf6fe; color: #075f9d; font-size: .72rem; font-weight: 850; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.pool-overview-courses { display: grid; }
.pool-overview-course { display: grid; grid-template-columns: minmax(8.5rem, .9fr) minmax(0, 1.1fr) auto; gap: .75rem; align-items: center; min-height: 4.25rem; padding: .75rem .9rem .75rem 1rem; border-left: 5px solid var(--blue); border-bottom: 1px solid #e0edf3; }
.pool-overview-course:last-child { border-bottom: 0; }
.pool-overview-course-info { display: inline-flex; gap: .45rem; justify-content: space-between; align-items: center; width: 11.25rem; max-width: 100%; min-width: 0; padding: .42rem .62rem; border: 1px solid currentColor; border-radius: .48rem; line-height: 1.2; text-decoration: none; box-shadow: 0 2px 5px rgba(0,45,75,.08); transition: filter .2s ease, transform .2s ease, box-shadow .2s ease; }
.pool-overview-course-info strong { min-width: 0; font-size: .82rem; white-space: nowrap; }
.pool-overview-course-info i { flex: 0 0 auto; font-size: .72rem; }
.pool-overview-course-info:hover { filter: saturate(1.12) brightness(.98); transform: translateY(-1px); box-shadow: 0 4px 9px rgba(0,45,75,.14); }
.pool-overview-course-info:focus-visible { border-radius: .25rem; outline: 3px solid var(--blue); outline-offset: 3px; }
.pool-overview-course-detail { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.pool-overview-course-detail > :last-child { margin-bottom: 0; }
.pool-overview-course .button { padding: .48rem .7rem; font-size: .78rem; white-space: nowrap; }
.pool-overview-course-2 { border-left-color: #48a94a; background: #f5fcf5; }
.pool-overview-course-3 { border-left-color: #d75d5d; background: #fff8f8; }
.pool-overview-course-4 { border-left-color: #318fce; background: #f5fbff; }

.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.step::before { content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 1.25rem; }
.instruction-image { width: 100%; margin-top: .55rem; border: 1px solid #d9eaf3; border-radius: .4rem; }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: .8rem; border: 1px solid #d6e7f0; text-align: left; }
.price-table th { background: var(--blue); color: #fff; }
.price-table tr:nth-child(even) { background: #f1faff; }
.price-hero { background: linear-gradient(135deg, #f5fdff 0%, #dff5ff 70%, #c5edff 100%); }
.price-hero h1 { max-width: 780px; }
.price-hero .lead-copy { max-width: 700px; }
.price-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.price-overview-section { padding-top: clamp(2rem, 5vw, 4rem); }
.price-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: clamp(3rem, 7vw, 5rem); }
.price-summary-card { display: grid; gap: .35rem; padding: 1.25rem; border-top: 5px solid var(--orange); border-radius: .7rem; background: #fff; box-shadow: var(--shadow); }
.price-summary-card strong { color: var(--blue-dark); font-size: 1.05rem; }
.price-summary-card span { color: var(--muted); }
.price-section + .price-section { margin-top: clamp(3rem, 7vw, 5rem); }
.price-section-heading { margin-bottom: 1.5rem; }
.price-section-heading .eyebrow { margin-bottom: .15rem; }
.price-section-heading h2 { margin: 0; color: var(--blue); font-size: clamp(1.75rem, 4vw, 2.45rem); font-weight: 800; }
.price-table-wrap { border: 1px solid #b9ddec; }
.price-table-wrap .price-table { min-width: 720px; background: #fff; }
.price-table td:last-child, .price-table th:last-child { white-space: nowrap; }
.price-table-note { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 5px solid var(--orange); background: #fff6ec; font-weight: 700; }
.dynamic-price-list { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); }
.dynamic-price-section { --price-accent: var(--blue); overflow: hidden; border-top: 7px solid var(--price-accent); border-radius: 1rem; background: #fff; box-shadow: var(--shadow); }
.price-course-2 { --price-accent: #63ad42; }
.price-course-3 { --price-accent: #e75b42; }
.price-course-4 { --price-accent: #2098dd; }
.dynamic-price-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.35rem clamp(1.2rem, 3vw, 2rem); background: color-mix(in srgb, var(--price-accent) 9%, #fff); }
.dynamic-price-heading .eyebrow { margin: 0; color: color-mix(in srgb, var(--price-accent) 78%, #243849); }
.dynamic-price-heading h2 { margin: .1rem 0 0; color: color-mix(in srgb, var(--price-accent) 75%, #16364b); font-size: clamp(1.55rem, 3.4vw, 2.25rem); font-weight: 850; }
.dynamic-price-heading > a { flex: 0 0 auto; color: color-mix(in srgb, var(--price-accent) 78%, #16364b); font-weight: 800; text-decoration: none; }
.dynamic-price-heading > a:hover { text-decoration: underline; }
.dynamic-price-pools { display: grid; }
.dynamic-price-pool { display: grid; grid-template-columns: minmax(30rem, .72fr) minmax(0, 1.28fr) auto; gap: 1rem; align-items: center; padding: 1rem clamp(1.2rem, 3vw, 2rem) 1.1rem; border-top: 1px solid #dcebf2; }
.dynamic-price-pool-summary { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; min-width: 0; }
.dynamic-price-pool-name { display: flex; gap: .75rem; align-items: center; min-width: 0; }
.dynamic-price-pool-name > i { color: var(--price-accent); font-size: 1.45rem; }
.dynamic-price-pool-name h3 { margin: 0; color: var(--blue-dark); font-size: 1.05rem; font-weight: 850; }
.dynamic-price-pool-name span { color: var(--muted); font-size: .83rem; }
.dynamic-price-schedule { display: flex; gap: 0.25rem; align-items: flex-start; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.dynamic-price-schedule > i { flex: 0 0 auto; margin-top: 0.05rem; color: var(--price-accent); }
.dynamic-price-signup { justify-self: end; padding: .48rem .85rem; font-size: .88rem; white-space: nowrap; }
.dynamic-price-rows { display: grid; gap: .45rem; }
.dynamic-price-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .55rem .7rem; border-radius: .48rem; background: #f6fafc; }
.dynamic-price-row > span { font-weight: 750; }
.dynamic-price-row small { color: var(--muted); }
.dynamic-price-row strong { color: color-mix(in srgb, var(--price-accent) 76%, #16364b); font-size: 1.05rem; white-space: nowrap; }
.dynamic-price-empty { margin: 0; padding: 1.3rem 2rem; border-top: 1px solid #dcebf2; color: var(--muted); }
.payment-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.25rem; align-items: stretch; }
.payment-card { padding: clamp(1.3rem, 3vw, 2rem); border-radius: .75rem; background: #fff; box-shadow: var(--shadow); }
.payment-main-card { border-left: 7px solid var(--blue); }
.payment-main-card > span { display: block; color: var(--muted); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.payment-main-card > strong { display: block; margin: .15rem 0 1rem; color: var(--blue-dark); font-size: clamp(1.55rem, 4vw, 2.15rem); }
.payment-main-card > :last-child { margin-bottom: 0; }
.payment-symbols { display: block; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid #b9ddec; border-radius: .75rem; background: #fff; box-shadow: 0 8px 24px rgba(16,88,126,.1); }
.payment-symbols div { display: grid; grid-template-columns: 3.25rem 1fr; gap: .5rem; align-items: center; padding: .7rem .85rem; border-bottom: 1px solid #d6e9f3; }
.payment-symbols div:nth-child(odd) { border-right: 1px solid #d6e9f3; }
.payment-symbols div:nth-last-child(-n+2) { border-bottom: 0; }
.payment-symbols strong { color: var(--blue); }
.price-note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.price-note-grid .content-card { box-shadow: 0 8px 24px rgba(16,88,126,.1); }
.price-note-grid h3 { font-size: 1.15rem; }
.price-note-grid p { margin-bottom: 0; }
.price-rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.price-rule-card { padding: clamp(1.3rem, 3vw, 2rem); border-top: 6px solid var(--blue); border-radius: .8rem; background: #fff; box-shadow: var(--shadow); }
.price-rule-card h3 { margin: 0 0 1rem; color: var(--blue-dark); font-size: 1.3rem; font-weight: 800; }
.price-rule-card .check-list { margin-bottom: 0; }
.price-cancellation-wrap { margin-bottom: 1rem; box-shadow: none; }
.price-cancellation-table { min-width: 0; table-layout: fixed; }
.price-cancellation-table th:first-child,
.price-cancellation-table td:first-child { width: 68%; }
.price-cancellation-table th:last-child,
.price-cancellation-table td:last-child { width: 32%; }
.price-cancellation-table td:last-child { white-space: normal; }
.price-rule-card > :last-child { margin-bottom: 0; }
.price-change-note { margin-top: 1.25rem; padding: 1.2rem 1.4rem; border-left: 6px solid var(--orange); border-radius: .45rem; background: #fff6eb; }
.price-change-note strong { color: #a64a0d; font-size: 1.1rem; }
.price-change-note p { margin: .35rem 0 0; }
.document-list { display: grid; gap: .8rem; max-width: 700px; margin: auto; }
.document-link { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: .6rem; background: #fff; color: var(--blue); font-weight: 800; text-decoration: none; box-shadow: var(--shadow); }
.document-link::before { content: "PDF"; padding: .28rem .42rem; border-radius: .3rem; background: #ed4c5c; color: #fff; font-size: .72rem; }

.lecturer-list { display: grid; gap: 2rem; }
.lecturer { display: grid; grid-template-columns: 215px 1fr; gap: 2rem; padding: 1.4rem; border-radius: 1rem; background: #fff; box-shadow: var(--shadow); }
.lecturer-photo { width: 215px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .75rem; box-shadow: 8px 8px 20px rgba(0,0,0,.2); }
.lecturer h2 { color: var(--blue); font-size: 1.6rem; font-weight: 800; text-decoration: underline; }
.activity-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.activity-tag { padding: .18rem .7rem; border-radius: .3rem; color: #fff; font-size: .82rem; font-weight: 800; }
.activity-bath { background: #d2aa31; }.activity-baby { background: var(--green); }.activity-parent { background: #ff4800; }.activity-solo { background: #3da7f6; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.contact-card { padding: 1.5rem; border-radius: .8rem; background: #fff; box-shadow: var(--shadow); }
.contact-card h3 { color: var(--blue); font-weight: 800; }
.contact-card a { display: block; font-size: 1.1rem; font-weight: 700; word-break: break-word; }
.organization { white-space: pre-line; }
.media-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: .8rem; box-shadow: var(--shadow); }
.photo-feature { display: block; width: min(375px, 100%); margin: auto; border-radius: .8rem; box-shadow: var(--shadow); }
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.photo-gallery-thumbnail { position: relative; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: .8rem; background: #dceef7; box-shadow: var(--shadow); cursor: zoom-in; }
.photo-gallery-thumbnail::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: inherit; transition: border-color .2s ease; pointer-events: none; }
.photo-gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .25s ease; }
.photo-gallery-thumbnail:hover img { transform: scale(1.04); }
.photo-gallery-thumbnail:hover::after,
.photo-gallery-thumbnail:focus-visible::after { border-color: rgba(255,255,255,.9); }
.photo-gallery-thumbnail:focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; }
body.photo-lightbox-open { overflow: hidden; }
.photo-lightbox[hidden] { display: none; }
.photo-lightbox { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 1rem; }
.photo-lightbox-backdrop { position: absolute; inset: 0; background: rgba(3,25,38,.94); }
.photo-lightbox-dialog { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; align-items: center; width: min(100%, 1200px); height: calc(100dvh - 2rem); }
.photo-lightbox-stage { display: grid; grid-column: 2; grid-row: 1; place-items: center; overflow: hidden; width: 100%; height: 100%; min-height: 0; padding: 2.5rem 1rem 1rem; touch-action: pan-y; }
.photo-lightbox-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem); border-radius: .65rem; object-fit: contain; box-shadow: 0 18px 55px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
.photo-lightbox-close,
.photo-lightbox-arrow { display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(6,63,92,.7); color: #fff; line-height: 1; box-shadow: 0 5px 18px rgba(0,0,0,.3); }
.photo-lightbox-close:hover,
.photo-lightbox-arrow:hover { background: var(--blue); }
.photo-lightbox-close:focus-visible,
.photo-lightbox-arrow:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.photo-lightbox-close { position: absolute; z-index: 2; top: .25rem; right: .25rem; font-size: 2rem; }
.photo-lightbox-arrow { z-index: 2; grid-row: 1; font-size: 1.65rem; }
.photo-lightbox-previous { grid-column: 1; }
.photo-lightbox-next { grid-column: 3; }
.photo-lightbox-counter { grid-column: 1 / -1; grid-row: 2; margin: 0; color: #fff; font-weight: 800; text-align: center; }

.site-footer { min-height: 42px; padding: .55rem 0; background: #0878aa url("../images/Paticka.png") center / cover no-repeat; color: #d7f5ff; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; text-align: center; }
.footer-links a, .footer-links span { color: #d7f5ff; font-weight: 700; font-size: .92rem; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

@keyframes swim-in { to { transform: translateX(0); } }
@keyframes title-in { to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 991.98px) {
  .header-inner { min-height: 82px; align-items: center; }
    header-sky {
        /*--header-bg-image: url("../images/BghlavickaPm.png");*/
        height: 65px;
    }
    


    .brand {
        top: auto;
        bottom: -1.6rem;
    }
  .brand-baby { width: 210px; }
  .brand-title { left: 50%; right: auto; bottom: 1.35rem; transform: translateX(-18%); }
  .brand-name { font-size: 1.35rem; }
  .menu-toggle { display: block; position: absolute; right: .5rem; top: 1.15rem; z-index: 2; }
  .site-navigation { position: absolute; top: 76px; left: .75rem; right: .75rem; margin: 0; padding: .6rem; flex-direction: column; align-items: stretch; background: var(--blue); border-radius: 0 0 .65rem .65rem; box-shadow: var(--shadow); }
  .site-navigation.collapse:not(.show) { display: none !important; }
  .site-navigation.collapsing,
  .site-navigation.collapse.show { display: flex !important; }
  .site-navigation a { margin: .1rem 0; padding: .58rem .8rem; color: #fff; text-align: center; }
  .site-navigation a:not(.btn-gymnastika):not(.btn-tabory):hover,
  .site-navigation a:not(.btn-gymnastika):not(.btn-tabory).active { color: var(--blue); background: #fff; }
  .site-navigation .btn-gymnastika,
  .site-navigation .btn-tabory { min-height: 32px; }
  .admin-link { min-height: 34px; }
  .values-grid, .three-columns { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .price-summary-grid, .price-note-grid { grid-template-columns: 1fr; }
  .pool-info-layout { grid-template-columns: minmax(0, 1fr) minmax(14rem, .85fr); }
  .pool-info-action { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, .45fr); grid-column: 1 / -1; gap: 1.25rem; align-items: end; padding: 1.15rem 0 0; border-top: 1px solid #d8e8f0; border-left: 0; }
  .pool-info-signup { margin-top: 0; }
  .pool-overview-grid { grid-template-columns: 1fr; }
  .signup-process-grid { grid-template-columns: 1fr; }
  .signup-explanation { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

@media (max-width: 767.98px) {
  .hero { min-height: 400px; }
  .hero-stage { min-height: 400px; }
  .hero-visual { right: 0; left: 0; width: 100%; height: 360px; max-height: none; }
  .hero-photo { object-position: 65% center; }
  .hero::after { background: linear-gradient(0deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 54%, rgba(255,255,255,.1) 100%); }
  .hero-content { padding: 25rem 0 3rem; }
  .hero-copy { max-width: none; text-align:center; }
  .hero-eyebrow { font-size: clamp(.65rem, 2.65vw, .82rem) !important; letter-spacing: .02em; }
  .hero-photo-caption { right: 1rem; bottom: 1rem; width: min(24rem, calc(100% - 2rem)); font-size: clamp(.9rem, 3.5vw, 1.05rem) !important; }
  .page-hero-grid, .two-columns { grid-template-columns: 1fr; }
  .page-hero-media, .course-hero-collage { order: -1; }
  .page-hero-media { min-height: 300px; border-radius: 1.4rem; }
  .page-hero-media::after { background: linear-gradient(0deg, rgba(237,249,255,.55), transparent 34%); }
  .course-hero-collage { height: min(64vw, 390px); }
  .lecturer { grid-template-columns: 1fr; text-align: center; }
  .lecturer-photo { margin: auto; }
  .activity-tags { justify-content: center; }
  .home-section-band { margin: 3.5rem 0 2.5rem; }
  .home-section-band-inner { width: min(100% - 1.25rem, 960px); min-height: 48px; }
  .home-section-band-left { background: linear-gradient(to right, var(--blue-dark), var(--blue) 68%, rgba(103,197,239,.18)); }
  .home-section-band-right { background: linear-gradient(to left, var(--blue-dark), var(--blue) 68%, rgba(103,197,239,.18)); }
  /*.course-band-actions { transform: translateY(-50%) scale(.82); }*/
  .pool-info-grid { gap: 2rem; }
  .pool-info-layout { grid-template-columns: 1fr; gap: 1.1rem; }
  .pool-info-schedule { padding: 1.1rem 0 0; border-top: 1px solid #d8e8f0; border-left: 0; }
  .pool-info-action { display: flex; grid-column: auto; gap: 1rem; padding: 1.1rem 0 0; }
  .pool-info-signup { margin-top: 0; }
  .home-contact-grid, .plain-contact-directory { grid-template-columns: 1fr; }
  .payment-layout, .price-rules-grid { grid-template-columns: 1fr; }
  .signup-explanation { grid-template-columns: 1fr; }
  .dynamic-price-pool { grid-template-columns: 1fr; gap: .75rem; }
}

@media (max-width: 575.98px) {
  .container-narrow { width: min(100% - 1.25rem, 960px); }
  .header-inner { min-height: 68px; }
    .header-sky {
        height: 55px;
    }
  .brand-name { font-size: 1.1rem; }
  .brand-name small { display: none; }
  .brand { left: .5rem; bottom: -0.45rem; }
  .brand-baby { width: 170px; }
  .brand-title { left: auto; right: 4rem; bottom: .9rem; transform: none; }
  .menu-toggle { top: .0rem; }
  .site-navigation { top: 62px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { width: min(100%, 380px); justify-self: center; }
  .course-grid > .page-end-nav-stacked { width: min(100%, 380px); justify-self: center; }
  .page-end-nav-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .home-news-box { grid-template-columns: 2.75rem minmax(0, 1fr); }
  .home-news-icon { font-size: 2rem; }
  .home-news-item { padding: 1rem; }
  .home-faq-item summary { padding: .8rem .85rem; }
  .course-band-actions { transform: translateY(-49%) scale(.8); }
  .course-signup-link { grid-template-columns: 62px minmax(0, 1fr) auto; min-height: 64px; padding-left: .3rem; }
  .course-signup-link img { width: 58px; height: 49px; }
  .course-signup-copy strong { font-size: .84rem; }
  .schedule-weekly { min-width: 0; }
  .schedule-weekly thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .schedule-weekly,
  .schedule-weekly tbody,
  .schedule-weekly tr,
  .schedule-weekly th,
  .schedule-weekly td { display: block; width: 100%; }
  .schedule-weekly tbody tr { padding: .65rem .75rem; border-bottom: 1px solid #cfe5f1; }
  .schedule-weekly tbody tr:last-child { border-bottom: 0; }
  .schedule-weekly tbody th { padding: .15rem 0 .55rem; border: 0; font-size: 1.05rem; }
  .schedule-weekly td { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .45rem; padding: .45rem 0; border: 0; }
  .schedule-weekly td::before { content: attr(data-label); padding-top: .35rem; color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
  .schedule-legend { justify-content: flex-start; }
  .pool-overview-course { grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .75rem; }
  .pool-overview-course-info,
  .pool-overview-course-detail { grid-column: 1; }
  .pool-overview-course .button { grid-column: 2; grid-row: 1 / span 2; }
  .payment-symbols { grid-template-columns: 1fr; }
  .payment-symbols div:nth-child(odd) { border-right: 0; }
  .payment-symbols div:nth-last-child(2) { border-bottom: 1px solid #d6e9f3; }
  .signup-steps li { grid-template-columns: 2.75rem minmax(0, 1fr); gap: .75rem; }
  .signup-steps li::before { width: 2.75rem; }
  .signup-primary-action { width: 100%; margin-left: 0; }
  .dynamic-price-heading { align-items: flex-start; flex-direction: column; }
  .dynamic-price-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dynamic-price-row small { grid-column: 1 / -1; grid-row: 2; }
  .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .photo-lightbox { padding: .5rem; }
  .photo-lightbox-dialog { grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; height: calc(100dvh - 1rem); }
  .photo-lightbox-stage { padding: 3.25rem .25rem .75rem; }
  .photo-lightbox-close,
  .photo-lightbox-arrow { width: 2.65rem; height: 2.65rem; }
}
