:root {
  --primary: #81d8d0; /*#009ee3, 81d8d0*/
  --primary-dark: #267A73;/*007bb2*/
  --primary-soft: #eaf8ff;
  --ink: #101827;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #d8e5ec;
  --surface: #ffffff;
  --surface-soft: #f5fafd;
  --surface-blue: #edf8fd;
  --footer: #0f1727;
  --shadow-sm: 0 8px 24px rgba(15, 23, 39, 0.07);
  --shadow-md: 0 22px 60px rgba(15, 23, 39, 0.12);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
code {
  padding: .15rem .35rem;
  border-radius: 6px;
  color: var(--primary-dark);
  background: rgba(0, 158, 227, .08);
  font-size: .9em;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}
.section-pad { padding: clamp(76px, 9vw, 132px) 0; }
.section-soft { background: var(--surface-soft); }
.section-dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 30%, rgba(0,158,227,.22), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(0,158,227,.15), transparent 24%),
    var(--footer);
}
.section-dark::after {
  content: "";
  position: absolute;
  inset: auto -10% -160px 35%;
  height: 280px;
  border: 2px solid rgba(0,158,227,.2);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: rgba(15,23,39,.08);
  box-shadow: 0 10px 32px rgba(15,23,39,.06);
  backdrop-filter: blur(16px);
}
body.menu-open .site-header { background: #fff; border-bottom-color: rgba(15,23,39,.08); box-shadow: 0 10px 32px rgba(15,23,39,.06); backdrop-filter: none; }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}
.brand { display: inline-flex; align-items: center; width: 170px; }
.brand img { width: 100%; height: auto; }
.main-nav {
  position: fixed;
  inset: var(--header-height) 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 24px;
  background: rgba(255,255,255,.98);
  transform: translateX(100%);
  transition: transform .25s ease;
}
.main-nav.is-open { transform: translateX(0); background: #fff; }
.main-nav a {
  padding: 12px 8px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--primary-dark); }
.menu-toggle {
  display: grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--surface-soft);
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 999px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #21b9f3);
  box-shadow: 0 12px 28px rgba(0,158,227,.22);
  font-weight: 700;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,158,227,.3); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(0,158,227,.28);
  outline-offset: 3px;
}
.button-small { min-height: 42px; padding-inline: 18px; font-size: .9rem; }
.button-outline { color: var(--primary-dark); background: rgba(255,255,255,.78); box-shadow: none; }
.button-outline:hover { background: #fff; box-shadow: var(--shadow-sm); }
.button-light { color: var(--ink); border-color: #fff; background: #fff; box-shadow: 0 15px 36px rgba(0,0,0,.14); }
.button-full { width: 100%; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.13; letter-spacing: -.035em; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(2.65rem, 8vw, 5.7rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 5vw, 3.65rem); font-weight: 600; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--muted); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding-top: calc(var(--header-height) + 58px);
  background:
    radial-gradient(circle at 78% 25%, rgba(129,216,208,.2), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f5fcfb 100%);
}
.hero-grid { display: grid; gap: 54px; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-lead { max-width: 650px; margin: 24px 0 30px; font-size: clamp(1.05rem, 2.2vw, 1.25rem); }
.hero-actions { display: grid; justify-items: start; gap: 14px; }
.hero-primary-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phones { display: grid; width: min(100%, 430px); gap: 8px; margin-top: 4px; }
.hero-phones-label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-phone-list { display: grid; gap: 8px; }
.hero-phone-link {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 18px;
  border: 1px solid rgba(0,158,227,.24);
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(234,248,255,.96), rgba(255,255,255,.98));
  box-shadow: 0 10px 24px rgba(0,158,227,.1);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hero-phone-link:hover { transform: translateY(-2px); border-color: rgba(0,158,227,.5); box-shadow: 0 14px 30px rgba(0,158,227,.17); }
.hero-phone-link strong { color: var(--primary-dark); font-size: .96rem; }
.hero-phone-separator { color: var(--primary); font-weight: 800; }
.hero-phone-name { min-width: 0; color: var(--ink-soft); font-size: .9rem; font-weight: 700; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #35c98b; box-shadow: 0 0 0 6px rgba(53,201,139,.12); }
.hero-art { position: relative; min-height: 460px; }
.hero-art-card {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(129,216,208,.5);
  border-radius: 46% 54% 44% 56% / 54% 44% 56% 46%;
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.95), transparent 24%),
    linear-gradient(145deg, #f6fffd 0%, #cfeeea 52%, #effbf9 100%);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
/*.hero-art-card::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(0,158,227,.18);
  border-radius: inherit;
  z-index: -1;
}*/
.hero-art-card::before {
  display: none;
}
.hero-mark {
  display: block;
  width: 94%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0.5rem auto;
  filter: drop-shadow(0 20px 20px rgba(15,23,39,.12));
  z-index: 2;
}

.hero-art-caption {
  position: absolute;
  left: 50%;
  bottom: 5%;
  z-index: 5;

  width: 78%;
  padding: 14px 20px 16px;

  text-align: center;

  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(129, 216, 208, 0.35);
  border-radius: 22px;

  box-shadow: 0 10px 30px rgba(15, 23, 39, 0.06);
  backdrop-filter: blur(8px);

  transform: translateX(-50%);
}
.hero-art-caption strong {
  display: block;

  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.25;
}

.hero-art-caption span {
  display: block;
  margin-top: 5px;

  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}
.hero-orbit { position: absolute; border: 3px solid var(--primary); border-radius: 50%; opacity: .38; }
.orbit-one { width: 78%; height: 29%; transform: rotate(36deg); }
.orbit-two { width: 66%; height: 23%; transform: rotate(-34deg); }
.orbit-three { width: 52%; height: 18%; transform: rotate(72deg); opacity: .18; }
.hero-ribbon { position: absolute; border: 2px solid rgba(0,158,227,.12); border-radius: 50%; pointer-events: none; }
.hero-ribbon-one { width: 700px; height: 230px; right: -250px; top: 140px; transform: rotate(-25deg); }
.hero-ribbon-two { width: 560px; height: 180px; left: -310px; bottom: 100px; transform: rotate(18deg); }

.stats { position: relative; z-index: 5; margin-top: -38px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid rgba(0,158,227,.15);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), #25b8ef);
  box-shadow: 0 22px 56px rgba(0,158,227,.22);
}
.stat-item { padding: 26px 12px; text-align: center; color: #fff; }
.stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.24); }
.stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.24); }
.stat-number { display: block; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1; }
.stat-item span { display: block; margin-top: 6px; font-size: .82rem; opacity: .88; }

.split-layout { display: grid; gap: 52px; align-items: center; }
.brand-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(234,248,255,.78)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(0,158,227,.035) 44px 45px);
  box-shadow: var(--shadow-sm);
}
.brand-visual .club-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.section-copy h2 { margin-bottom: 22px; }
.section-copy > p { max-width: 640px; }
.mini-features { display: grid; gap: 12px; margin-top: 28px; }
.mini-features > div { display: grid; grid-template-columns: 36px 1fr; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.mini-icon { grid-row: 1 / 3; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); }
.mini-features small { color: var(--muted); }

.section-heading { max-width: 760px; margin: 0 auto clamp(38px, 6vw, 64px); text-align: center; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading p:last-child { max-width: 680px; margin-inline: auto; }
.section-heading-light h2, .section-heading-light p { color: #fff; }
.section-heading-light p:last-child { opacity: .72; }

.benefits-grid, .programs-grid, .trainers-grid, .testimonials-grid { display: grid; gap: 18px; }
.trainers-grid {
  grid-template-columns: 1fr;
  max-width: 100%;
  margin-inline: auto;
  gap: 24px;
}
.trainer-group-card {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 5vw, 32px);
  border: 1px solid rgba(15,23,39,.12);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(15,23,39,.06);
}
.trainer-group-header {
  display: grid;
  gap: 10px;
}
.trainer-group-header p {
  margin: 0;
  color: var(--primary-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.trainer-group-header h3 {
  margin: 0;
}
.trainer-group-blurb {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.trainer-group-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.trainer-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(15,23,39,.08);
  border-radius: 22px;
  background: #f8fcff;
  box-shadow: 0 10px 24px rgba(15,23,39,.06);
}

.benefit-card, .program-card, .trainer-card, .testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 32px rgba(15,23,39,.045);
}
.benefit-card { padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.benefit-card:hover { transform: translateY(-5px); border-color: rgba(0,158,227,.35); box-shadow: var(--shadow-sm); }
.line-icon { display: inline-grid; width: 48px; height: 48px; place-items: center; border-radius: 16px; color: var(--primary); background: var(--primary-soft); }
.line-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { margin: 20px 0 10px; }
.benefit-card p { margin: 0; }

.program-card { overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.program-visual { position: relative; min-height: 230px; overflow: hidden; display: grid; place-items: center; }
.program-visual img { width: 92px; max-height: 150px; object-fit: contain; z-index: 2; opacity: .9; }
.program-visual small { position: absolute; bottom: 14px; left: 14px; color: rgba(15,23,39,.55); font-size: .7rem; }
.program-ribbon { position: absolute; width: 180%; height: 42%; border: 3px solid currentColor; border-radius: 50%; transform: rotate(-28deg); opacity: .22; }
.tone-soft { color: var(--primary); background: linear-gradient(135deg, #fbfdff, #eaf8ff); }
.tone-sky { color: #0379b0; background: linear-gradient(135deg, #ddf4ff, #f8fdff); }
.tone-deep { color: #fff; background: linear-gradient(135deg, #0787c3, #00b0ee); }
.tone-dusk { color: #fff; background: linear-gradient(135deg, #07567d, #087da9); }
.tone-ink { color: #fff; background: linear-gradient(135deg, #0f1727, #1d2a40); }
.tone-blue { color: #fff; background: linear-gradient(135deg, #81D8D0, #33c3f6); } /*#009ee3, 81D8D0*/
.tone-pearl { color: var(--primary); background: linear-gradient(135deg, #fff, #eef7fb); }
.program-body { padding: 26px; }
.card-kicker { margin: 0 0 8px; color: var(--primary-dark); font-size: .75rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.program-body h3 { margin-bottom: 12px; }
.program-body .program-age { font-size: clamp(1.28rem, 2.1vw, 1.62rem); line-height: 1.3; }
.text-link { display: inline-flex; gap: 8px; margin-top: 10px; color: var(--primary-dark); font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.trainer-card { overflow: hidden; }
.trainer-portrait img { position: absolute; right: -6px; bottom: -18px; width: 90px; opacity: .22; }
/*.trainer-portrait { position: relative; min-height: 240px; display: grid; place-items: center; overflow: hidden; min-height: 0; aspect-ratio: 4 / 3;}*/
.trainer-portrait {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}
/* Uklanja pozadinski krug kada postoji prava fotografija */
.trainer-portrait.has-photo::before {
  display: none;
}
.trainer-portrait.has-photo {
  background: #fff;
}
.trainer-portrait .trainer-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity : 1;

  transform:
    translate(
      var(--photo-x, 0%),
      var(--photo-y, 0%)
    )
    scale(var(--photo-scale, 1));

  transition: transform 0.35s ease;
}

.trainer-card:hover .trainer-photo {
  transform:
    translate(
      var(--photo-x, 0%),
      var(--photo-y, 0%)
    )
    scale(var(--photo-hover-scale, 1.05));
}
.trainer-portrait::before { content: ""; position: absolute; width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.68); box-shadow: 0 20px 40px rgba(15,23,39,.08); }
.trainer-portrait > span { position: relative; z-index: 2; display: grid; width: 58px; height: 58px; place-items: center; border: 4px solid #fff; border-radius: 50%; color: var(--primary-dark); background: #fff; box-shadow: var(--shadow-sm); font-size: 1.05rem; font-weight: 800; }
.trainer-portrait img { position: absolute; right: -6px; bottom: -18px; width: 90px; opacity: .22; }
.portrait-1 { background: linear-gradient(145deg, #eaf8ff, #fff); }
.portrait-2 { background: linear-gradient(145deg, #fff, #dff4fd); }
.portrait-3 { background: linear-gradient(145deg, #edf8fb, #fefefe); }
.trainer-body { padding: 0; }
.trainer-body h3 { margin-bottom: 8px; }

/* =========================
   RASPORED TRENINGA
   ========================= */

.schedule-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.schedule-header {
  display: grid;
  grid-template-columns: 27% 21% 22% 30%;

  color: #fff;
  background: var(--primary-dark);

  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-header > div,
.schedule-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 20px;
  text-align: center;
}

.schedule-header > div + div,
.schedule-cell + .schedule-cell {
  border-left: 1px solid rgba(216, 229, 236, 0.85);
}

.schedule-header > div + div {
  border-left-color: rgba(255, 255, 255, 0.32);
}

.schedule-row {
  display: grid;
  grid-template-columns: 27% 21% 22% 30%;
  min-height: 82px;

  border-bottom: 1px solid var(--line);

  color: var(--primary-dark);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row:nth-child(even) {
  background: var(--surface-soft);
}

.schedule-group {
  font-weight: 700;
}

.schedule-note {
  max-width: 650px;
  margin: 24px auto 0;
  text-align: center;
}

.schedule-note-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  max-width: 480px;
  margin: 8px auto 0;
}

.schedule-note-divider span {
  flex: 1;
  height: 1px;
  background: var(--primary);
  opacity: 0.65;
}

.schedule-note-divider b {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}

.schedule-note p {
  max-width: 520px;
  margin: 0 auto;

  color: var(--primary-dark);
  font-size: 0.88rem;
  line-height: 1.45;
}

.schedule-note strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 700px) {

  .schedule-table-wrap {
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .schedule-header {
    display: none;
  }

  #schedule-body {
    display: grid;
    gap: 14px;
  }

  .schedule-row {
    display: grid;
    grid-template-columns: 1fr;

    min-height: 0;
    padding: 6px 18px;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: #fff;
    box-shadow: var(--shadow-sm);
  }

  .schedule-row:last-child {
    border-bottom: 1px solid var(--line);
  }

  .schedule-row:nth-child(even) {
    background: #fff;
  }

  .schedule-cell {
    display: grid;
    grid-template-columns: minmax(110px, 42%) 1fr;
    gap: 12px;
    justify-content: initial;
    min-height: 48px;
    padding: 11px 0;
    text-align: left;
  }

  .schedule-cell + .schedule-cell {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .schedule-cell::before {
    content: attr(data-label);
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }

  .schedule-group {
    font-size: 1rem;
  }

  .schedule-note {
    padding-inline: 10px;
    font-size: 0.82rem;
  }
}

.timeline { position: relative; display: grid; gap: 18px; z-index: 1; }
.timeline::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 28px; width: 1px; background: rgba(255,255,255,.18); }
.timeline-item { position: relative; padding: 24px 24px 24px 72px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.timeline-item p { margin: 8px 0 0; color: rgba(255,255,255,.65); }
.timeline-year { color: var(--primary); font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; font-weight: 700; }
.timeline-dot { position: absolute; left: 20px; top: 26px; width: 17px; height: 17px; border: 4px solid var(--footer); border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(0,158,227,.25); }

.gallery-grid { display: grid; grid-auto-rows: 230px; gap: 14px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 0;
  border: 1px solid rgba(15,23,39,.08);
  border-radius: 22px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item > img:not(.gallery-photo) { position: absolute; width: 110px; top: 50%; left: 50%; transform: translate(-50%,-55%); max-height: 145px; object-fit: contain; opacity: .75; }
.gallery-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--gallery-position, center); transition: transform .4s ease; }
.gallery-item:hover .gallery-photo { transform: scale(1.035); }
.gallery-item.has-photo::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(7,18,29,.34)); pointer-events: none; }
.gallery-ribbon { position: absolute; inset: 12% -35%; border: 3px solid currentColor; border-radius: 50%; transform: rotate(-18deg); opacity: .18; }
.gallery-copy { position: absolute; z-index: 2; inset: auto 16px 16px; display: flex; flex-direction: column; padding: 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.82); backdrop-filter: blur(9px); }
.centered-action { margin-top: 32px; text-align: center; }

.testimonial-card { position: relative; margin: 0; padding: 30px; }
.quote-mark { display: block; height: 42px; color: var(--primary); font-family: Georgia, serif; font-size: 4rem; line-height: .9; }
.testimonial-card blockquote { margin: 12px 0 26px; color: var(--ink-soft); font-size: 1.04rem; font-style: italic; }
.testimonial-card figcaption { display: flex; flex-direction: column; }
.testimonial-card figcaption span { color: var(--muted); font-size: .85rem; }

.cta-strip { padding: 54px 0; color: #fff; background: linear-gradient(135deg, #008bc8, #00adea); }
.cta-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; justify-content: space-between; }
.cta-inner .eyebrow, .cta-inner p { color: rgba(255,255,255,.82); }
.cta-inner h2 { margin-bottom: 12px; }

.contact-grid { display: grid; gap: 24px; align-items: start; }
.form-card, .contact-card { padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.form-card h2, .contact-card h2 { margin-bottom: 12px; }
.form-intro { margin-bottom: 28px; }
.field-grid { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; color: var(--ink-soft); font-size: .86rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #cfdde5;
  border-radius: 11px;
  color: var(--ink);
  background: #fbfdfe;
  padding: 13px 14px;
  font-weight: 400;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(0,158,227,.08); outline: 0; }
.field input.is-invalid { border-color: #c84b5a; background: #fffafb; box-shadow: 0 0 0 4px rgba(200,75,90,.08); }
.field-hint { color: var(--muted); font-size: .74rem; font-weight: 500; line-height: 1.45; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; color: var(--muted); font-size: .82rem; }
.checkbox-row input { margin-top: 4px; accent-color: var(--primary); }
.hidden-field { display: none; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--primary-dark); font-size: .84rem; }
.contact-list { display: grid; gap: 18px; margin: 30px 0; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.contact-item .line-icon { width: 44px; height: 44px; border-radius: 50%; }
.contact-item small { display: block; color: var(--muted); }
.contact-item strong { overflow-wrap: anywhere; }
.site-footer { padding: 70px 0 24px; color: rgba(255,255,255,.7); background: var(--footer); }
.footer-grid { display: grid; gap: 38px; }
.footer-logo { width: 200px; margin-bottom: 18px; }
.footer-grid p { max-width: 380px; color: rgba(255,255,255,.48); }
.footer-grid h3 { margin-bottom: 14px; color: #fff; font-size: 1rem; }
.footer-grid a { display: block; margin: 8px 0; color: rgba(255,255,255,.55); }
.footer-grid a:hover { color: var(--primary); }

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.socials a:hover {
  color: #ffffff;
  background: var(--primary);
  transform: translateY(-3px);
}

.socials svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Facebook i YouTube koriste pune oblike */
.socials a:nth-child(2) svg,
.socials a:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.footer-bottom { display: flex; flex-direction: column; gap: 10px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.compact-footer { padding-top: 24px; }

.lightbox { width: min(1100px, calc(100% - 28px)); max-height: calc(100vh - 28px); border: 0; border-radius: 28px; padding: 0; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.lightbox::backdrop { background: rgba(6,12,22,.76); backdrop-filter: blur(5px); }
.lightbox-content { display: grid; gap: 24px; align-items: center; padding: 24px; background: linear-gradient(135deg, #fff, #eaf8ff); }
.lightbox-content img { width: 100%; max-height: 68vh; margin: auto; border-radius: 20px; object-fit: contain; }
.lightbox-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.9); font-size: 1.7rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.subpage-main { padding-top: calc(var(--header-height) + 70px); min-height: 80vh; }
.subpage .site-header { background: rgba(255,255,255,.96); }
.gallery-grid-full { margin-top: 50px; }
.message-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--surface-soft); }
.message-card { width: min(620px, 100%); padding: 48px; border: 1px solid var(--line); border-radius: 28px; text-align: center; background: #fff; box-shadow: var(--shadow-md); }
.message-card img { width: 220px; margin: 0 auto 28px; }
.message-card h1 { margin-bottom: 16px; font-size: clamp(2.2rem, 7vw, 4rem); }
.prose { max-width: 820px; }
.prose h1 { margin: 30px 0 20px; }
.prose h2 { margin: 30px 0 14px; font-size: 2rem; }

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item { border-right: 1px solid rgba(255,255,255,.24); border-bottom: 0 !important; }
  .stat-item:last-child { border-right: 0; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(210px, .8fr) 1.2fr; }
  .trainer-card { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
  .trainer-portrait { width: 96px; height: 96px; }
  .trainer-portrait::before { width: 82px; height: 82px; }
  .trainer-portrait > span { width: 72px; height: 72px; font-size: 1.2rem; }
  .field-grid { grid-template-columns: repeat(2, 1fr); }
  .field-full { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-large, .gallery-wide { grid-column: span 2; }
  .cta-inner { flex-direction: row; align-items: center; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1.04fr .96fr; }
  .hero-art { min-height: 560px; }
  .hero-art-card { min-height: 560px; }
  .hero-mark { width: 85%; }
  .split-layout { grid-template-columns: 1fr 1fr; }
  .mini-features { grid-template-columns: repeat(2, 1fr); }
  .trainers-grid {
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 32px;
  }

  .trainer-group-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .timeline::before { top: 34px; right: 8%; bottom: auto; left: 8%; width: auto; height: 1px; }
  .timeline-item { padding: 64px 24px 24px; }
  .timeline-dot { left: 50%; top: 26px; transform: translateX(-50%); }
  .contact-grid { grid-template-columns: 1.06fr .94fr; }
  .footer-grid { grid-template-columns: 1.5fr .7fr .7fr; }
  .lightbox-content { grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); padding: 32px; }
}

@media (min-width: 1024px) {
  .site-header { height: 84px; }
  :root { --header-height: 84px; }
  .brand { width: 195px; }
  /*Layout trener kartica*/
  /*.trainers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }*/
  .menu-toggle { display: none; }
  .main-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 0;
    background: transparent;
    transform: none;
  }
  .main-nav a { position: relative; padding: 10px 0; font-size: .9rem; }
  .main-nav a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; border-radius: 999px; background: var(--primary); transform: scaleX(0); transition: transform .2s ease; }
  .main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
  .main-nav .button { padding-inline: 18px; color: #fff; }
  .hero { min-height: 860px; }
  .hero-grid { gap: 80px; }
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
  .programs-grid { grid-template-columns: repeat(6, 1fr); }
  .program-card { grid-column: span 2; }
  .program-card:nth-last-child(2) { grid-column: 2 / span 2; }
  .program-card:last-child { grid-column: 4 / span 2; display: block; }
  .program-visual { min-height: 250px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
  .gallery-large { grid-column: span 2; grid-row: span 2; }
  .gallery-wide { grid-column: span 2; }
  .gallery-grid-full .gallery-item:nth-child(7) { grid-column: span 2; }
}

@media (min-width: 1280px) {
  .container { width: min(calc(100% - 64px), var(--container)); }
  .main-nav { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}


.hero-art-card {
  position: relative;
  overflow: hidden;
}

.hero-art-caption {
  position: absolute;
  left: 50%;
  bottom: 8%;
  z-index: 5;

  width: 84%;
  padding: 14px 18px;

  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;

  transform: translateX(-50%);
}

.hero-art-caption strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.25;
}

.hero-art-caption span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.4;
}

