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

:root {
  --navy: #042859;
  --navy-soft: #345178;
  --blue: #24aae1;
  --blue-dark: #1686b9;
  --blue-soft: #e8f6fc;
  --teal: #18bbac;
  --teal-dark: #10958a;
  --teal-soft: #e5f8f6;
  --yellow: #ffcf2d;
  --yellow-dark: #c79600;
  --yellow-soft: #fff7d5;
  --orange: #f16d42;
  --orange-dark: #cf5030;
  --orange-soft: #fff0eb;
  --ink: var(--navy);
  --ink-soft: var(--navy-soft);
  --sun: var(--yellow);
  --coral: var(--orange);
  --lemon: var(--yellow-soft);
  --aqua: var(--blue-soft);
  --cream: #fbfdff;
  --mint: var(--teal-soft);
  --sky: var(--blue-soft);
  --white: #ffffff;
  --border: #d2dfeb;
  --shadow: 0 18px 50px rgba(4, 40, 89, 0.1);
  --radius: 22px;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 10px 10px, rgba(24, 187, 172, 0.08) 2px, transparent 2.5px),
    radial-gradient(circle at 42px 42px, rgba(255, 207, 45, 0.1) 2px, transparent 2.5px);
  background-size: 54px 54px;
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
.logo,
.button,
.nav-link {
  font-family: "Nunito", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(4, 40, 89, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand-logo img {
  display: block;
  width: clamp(180px, 19vw, 224px);
  height: auto;
}

.site-header .brand-logo {
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown {
  position: relative;
}

.nav-link {
  padding: 10px 7px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.97rem;
  font-weight: 700;
  font-family: "Nunito", Arial, sans-serif;
  white-space: nowrap;
}

.nav-dropdown-toggle {
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav-dropdown.is-open .nav-dropdown-toggle::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--teal-dark);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  display: none;
  min-width: 230px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: grid;
  gap: 2px;
}

.nav-dropdown-menu .nav-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-dropdown-menu .nav-link:hover,
.nav-dropdown-menu .nav-link[aria-current="page"] {
  background: var(--teal-soft);
}

.branch-switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
}

.branch-switch a {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.branch-switch .is-active {
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
}

.button:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  padding: 70px 0 66px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.55) 62%),
    radial-gradient(circle at 84% 34%, rgba(255, 207, 45, 0.22), transparent 25%),
    var(--cream);
}

.hero::before,
.page-hero::before {
  content: "+  +\A  +  +\A+  +";
  position: absolute;
  left: max(calc((100% - var(--max)) / 2 - 76px), 18px);
  bottom: 38px;
  color: rgba(24, 187, 172, 0.24);
  font: 900 29px/1.55 "Nunito", Arial, sans-serif;
  letter-spacing: 20px;
  white-space: pre;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -170px;
  width: 580px;
  height: 580px;
  border: 2px solid rgba(24, 187, 172, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 85px var(--cream), inset 0 0 0 87px rgba(255, 207, 45, 0.2);
  pointer-events: none;
}

.hero-grid,
.branch-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2.55rem, 5.5vw, 4.35rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--teal);
}

.lead {
  max-width: 580px;
  margin-bottom: 33px;
  color: var(--ink-soft);
  font-size: 1.17rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.media-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
  padding: 34px;
  border: 2px dashed var(--border);
  border-radius: 38px;
  background:
    linear-gradient(135deg, transparent 0 84%, rgba(24, 187, 172, 0.09) 84% 86%, transparent 86%),
    radial-gradient(circle at 82% 16%, rgba(255, 207, 45, 0.21) 0 44px, transparent 45px),
    var(--mint);
  color: var(--navy-soft);
  text-align: center;
}

.media-placeholder::before {
  content: "";
  position: absolute;
  left: -18px;
  bottom: 45px;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: var(--sun);
  opacity: 0.82;
}

.media-placeholder::after {
  content: "+";
  position: absolute;
  top: 25px;
  left: 29px;
  color: rgba(241, 109, 66, 0.7);
  font: 900 35px/1 "Nunito", Arial, sans-serif;
}

.media-placeholder strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.media-photo {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-style: solid;
  background: var(--mint);
}

.media-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-photo::before,
.media-photo::after {
  z-index: 2;
  pointer-events: none;
}

.media-small {
  min-height: 270px;
  border-radius: var(--radius);
}

.media-small::before {
  display: none;
}

.section {
  position: relative;
  padding: 78px 0;
  overflow: hidden;
}

.section-alt {
  background-color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(36, 170, 225, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(36, 170, 225, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

.section::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -72px;
  bottom: 34px;
  width: 140px;
  height: 140px;
  border: 18px solid rgba(255, 207, 45, 0.17);
  border-radius: 50%;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split h2 {
  margin-bottom: 13px;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-heading p,
.split p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(4, 40, 89, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.section-alt .card {
  background: var(--cream);
}

.card-tag {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 9px;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.2;
}

.card p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.card-link {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 800;
}

.card-clickable:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.card-clickable .card-link::after {
  content: " \2192";
}

/* Program cards: each offer has a distinct rhythm and accent. */
body[data-page="home"] #programi .card:nth-child(1) {
  padding-top: 78px;
  border: 0;
  background: var(--teal-soft);
}

body[data-page="home"] #programi .card:nth-child(1)::before {
  content: "+";
  position: absolute;
  top: 22px;
  left: 27px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
}

body[data-page="home"] #programi .card:nth-child(2) {
  min-height: 296px;
  transform: translateY(-14px);
  border: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 207, 45, 0.32) 0 34px, transparent 35px),
    var(--ink);
  color: var(--white);
}

body[data-page="home"] #programi .card:nth-child(2):hover {
  transform: translateY(-20px);
}

body[data-page="home"] #programi .card:nth-child(2) .card-tag {
  background: rgba(255, 255, 255, 0.14);
  color: var(--sun);
}

body[data-page="home"] #programi .card:nth-child(2) p {
  color: rgba(255, 255, 255, 0.74);
}

body[data-page="home"] #programi .card:nth-child(2) .card-link {
  color: var(--sun);
}

body[data-page="home"] #programi .card:nth-child(3) {
  border: 2px solid rgba(255, 207, 45, 0.62);
  border-radius: 60px 22px 22px 22px;
  background: var(--lemon);
}

body[data-page="home"] #programi .card:nth-child(3) .card-tag {
  background: var(--white);
  color: var(--yellow-dark);
}

body[data-page="home"] #programi .card:nth-child(4) {
  background:
    repeating-linear-gradient(-45deg, rgba(241, 109, 66, 0.1) 0 9px, transparent 9px 20px),
    var(--orange-soft);
  border-color: #f8cabb;
}

body[data-page="home"] #programi .card:nth-child(4) .card-tag,
body[data-page="home"] #programi .card:nth-child(5) .card-tag {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

body[data-page="home"] #programi .card:nth-child(5) {
  border: 0;
  border-radius: 22px 62px 22px 22px;
  background: var(--orange-soft);
}

body[data-page="home"] #programi .card:nth-child(5)::after {
  content: "+";
  position: absolute;
  right: 21px;
  bottom: 11px;
  color: rgba(241, 109, 66, 0.28);
  font-size: 62px;
  font-weight: 900;
}

body[data-page="home"] #programi .card:nth-child(6) {
  border-style: dashed;
  border-color: rgba(36, 170, 225, 0.42);
  background: var(--blue-soft);
}

body[data-page="home"] #programi .card:nth-child(6) .card-tag {
  background: #d8f1fb;
  color: var(--blue-dark);
}

body[data-page="logiscool"] {
  --teal: var(--blue);
  --teal-dark: var(--blue-dark);
}

body[data-page="logiscool"] .card {
  border: 0;
  background: var(--ink);
  color: var(--white);
}

body[data-page="logiscool"] .card::after {
  content: "</>";
  position: absolute;
  right: 20px;
  bottom: 10px;
  color: rgba(255, 207, 45, 0.2);
  font-size: 2.4rem;
  font-weight: 900;
}

body[data-page="logiscool"] .card:nth-child(2) {
  transform: translateY(18px);
  background: var(--blue-dark);
}

body[data-page="logiscool"] .card:nth-child(3) {
  background: var(--navy);
}

body[data-page="logiscool"] .card p {
  color: rgba(255, 255, 255, 0.7);
}

body[data-page="logiscool"] .card-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow);
}

body[data-page="citaj"] {
  --teal: var(--orange);
  --teal-dark: var(--orange-dark);
}

body[data-page="citaj"] .feature {
  border-radius: 62px 18px 18px;
  background: var(--lemon);
}

body[data-page="citaj"] .feature:nth-child(even) {
  margin-top: 22px;
  background: var(--orange-soft);
}

body[data-page="kampovi"] .card {
  border: 0;
  background: var(--teal-soft);
}

body[data-page="kampovi"] .card:nth-child(2) {
  margin-top: 26px;
  background: var(--lemon);
}

body[data-page="kampovi"] .card:nth-child(3) {
  background: var(--blue-soft);
}

body[data-page="rodjendani"] {
  --teal: var(--orange);
  --teal-dark: var(--orange-dark);
}

body[data-page="rodjendani"] .card {
  border: 0;
  border-radius: 52px 22px 52px 22px;
  background: var(--orange-soft);
}

body[data-page="rodjendani"] .card:nth-child(2) {
  transform: rotate(-1deg);
  background: var(--yellow-soft);
}

body[data-page="rodjendani"] .card:nth-child(3) {
  background: var(--teal-soft);
}

body[data-page="o-nama"] .card {
  padding-top: 112px;
}

body[data-page="o-nama"] .card::before {
  content: "[Portret]";
  position: absolute;
  top: 25px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px dashed var(--border);
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 18px;
  background: var(--mint);
}

.feature:nth-child(2) {
  background: var(--aqua);
}

.feature:nth-child(3) {
  background: var(--lemon);
}

.feature:nth-child(4) {
  background: var(--orange-soft);
}

.feature-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 17px;
  border-radius: 12px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 900;
}

.feature h3 {
  margin-bottom: 7px;
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.location-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.location-card {
  position: relative;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.location-card::after {
  content: "+\A+ +";
  position: absolute;
  right: 22px;
  top: 21px;
  color: rgba(255, 255, 255, 0.14);
  font: 900 26px/1.3 "Nunito", Arial, sans-serif;
  white-space: pre;
}

.location-card:nth-child(2) {
  background: var(--teal-dark);
}

.location-card h3 {
  margin-bottom: 20px;
  font-size: 1.65rem;
}

.location-card p {
  color: rgba(255, 255, 255, 0.74);
}

.location-card .button {
  margin-top: 15px;
  background: var(--white);
  color: var(--ink);
}

.location-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.map-text-link {
  margin-top: 15px;
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 52px;
  background:
    radial-gradient(circle at 91% 10%, rgba(255, 207, 45, 0.2) 0 92px, transparent 93px),
    linear-gradient(120deg, rgba(24, 187, 172, 0.07), transparent 47%),
    var(--cream);
}

.page-hero .branch-hero {
  gap: 48px;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
}

.breadcrumb {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.quick-facts {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 0;
  padding: 18px 0 44px;
  border-top: 1px solid rgba(4, 40, 89, 0.12);
  border-bottom: 1px solid rgba(4, 40, 89, 0.12);
}

.fact {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
  padding: 14px 24px;
}

.fact + .fact {
  border-left: 1px solid rgba(4, 40, 89, 0.14);
}

.fact small {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact strong {
  min-width: 0;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.list-check {
  display: grid;
  gap: 12px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.list-check li {
  display: flex;
  gap: 12px;
  color: var(--ink-soft);
}

.list-check li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(4, 40, 89, 0.12);
  border-bottom: 1px solid rgba(4, 40, 89, 0.12);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
}

.timeline-item + .timeline-item {
  border-left: 1px solid rgba(4, 40, 89, 0.14);
}

.timeline-item strong {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-size: 0.98rem;
  line-height: 1.4;
}

.timeline-item p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery .media-placeholder:first-child {
  grid-column: span 2;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.quote {
  position: relative;
  padding-top: 54px;
}

.quote::before {
  content: "+";
  position: absolute;
  top: 14px;
  left: 27px;
  color: var(--sun);
  font-size: 28px;
  font-weight: 900;
}

.quote:nth-child(2) {
  transform: translateY(18px);
  background: var(--mint);
}

.quote:nth-child(3) {
  border-radius: 48px 22px 22px 22px;
  background: var(--lemon);
}

.quote p {
  font-size: 1.06rem;
}

.quote footer {
  color: var(--teal-dark);
  font-weight: 800;
}

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
}

.faq p {
  padding-top: 13px;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 25px;
}

.contact-box,
.form-box {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-line {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.contact-line small {
  display: block;
  color: var(--ink-soft);
}

.map-panel {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 207, 45, 0.32) 0 34px, transparent 35px),
    var(--ink);
  color: var(--white);
}

.map-panel span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
}

.map-panel-cta {
  margin-top: 13px;
  color: var(--sun) !important;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  background:
    radial-gradient(circle at 87% 10%, rgba(255, 207, 45, 0.23) 0 88px, transparent 89px),
    repeating-linear-gradient(135deg, transparent 0 29px, rgba(255, 255, 255, 0.035) 29px 31px),
    var(--ink);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.cta h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.cta .button {
  flex-shrink: 0;
  background: var(--sun);
  color: var(--ink);
}

.site-footer {
  padding: 55px 0 26px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 42px;
}

.site-footer .logo {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 10px 13px;
  border-radius: 14px;
  background: var(--white);
}

.site-footer .brand-logo img {
  width: min(225px, 100%);
}

.footer-heading {
  margin-bottom: 15px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 9px;
  font-size: 0.96rem;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

/* Playful page compositions */
body[data-page="home"] #programi .cards {
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}

body[data-page="home"] #programi .card:nth-child(1) {
  grid-column: span 5;
}

body[data-page="home"] #programi .card:nth-child(2) {
  grid-column: span 4;
}

body[data-page="home"] #programi .card:nth-child(3) {
  grid-column: span 3;
}

body[data-branch="beograd"][data-page="home"] #programi .card:nth-child(4) {
  grid-column: span 3;
  margin-top: 13px;
}

body[data-branch="beograd"][data-page="home"] #programi .card:nth-child(5) {
  grid-column: span 5;
  min-height: 292px;
}

body[data-branch="beograd"][data-page="home"] #programi .card:nth-child(6) {
  grid-column: span 4;
  margin-top: -8px;
}

body[data-branch="home"] .hero-grid {
  grid-template-columns: 1.14fr 0.86fr;
}

body[data-branch="home"] .hero .media-placeholder {
  min-height: 514px;
  border-radius: 48% 52% 43% 57% / 38% 41% 59% 62%;
}

body[data-branch="beograd"][data-page="home"] .hero-grid {
  grid-template-columns: 0.86fr 1.14fr;
}

body[data-branch="beograd"][data-page="home"] .hero .media-placeholder {
  min-height: 512px;
  border-radius: 80px 28px 80px 28px;
  transform: rotate(1.5deg);
}

body[data-branch="beograd"][data-page="home"] .features .feature:nth-child(1),
body[data-branch="beograd"][data-page="home"] .features .feature:nth-child(3) {
  transform: translateY(22px);
}

body[data-branch="novi-sad"][data-page="home"] .hero-grid > .media-placeholder {
  order: -1;
  min-height: 460px;
  border-radius: 46% 54% 27% 73% / 44% 35% 65% 56%;
}

body[data-branch="novi-sad"][data-page="home"] .hero {
  background:
    radial-gradient(circle at 15% 42%, rgba(255, 207, 45, 0.2), transparent 26%),
    linear-gradient(100deg, rgba(24, 187, 172, 0.05), transparent 60%),
    var(--cream);
}

body[data-branch="novi-sad"][data-page="home"] .features .feature:nth-child(2),
body[data-branch="novi-sad"][data-page="home"] .features .feature:nth-child(4) {
  transform: translateY(22px);
}

body[data-page="produzeni"] .page-hero .branch-hero {
  grid-template-columns: 0.82fr 1.18fr;
}

body[data-page="produzeni"] .page-hero .media-placeholder {
  min-height: 430px;
  border-radius: 28px 72px 32px 72px;
  transform: rotate(-1.5deg);
}

body[data-page="produzeni"] .timeline {
  grid-template-columns: repeat(3, 1fr);
}

body[data-page="produzeni"] .timeline-item {
  margin: 0;
}

body[data-page="produzeni"] .timeline-item strong {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 36px;
  border-radius: 18px;
  background: var(--teal);
  color: var(--white);
}

body[data-page="logiscool"] .page-hero {
  background:
    linear-gradient(90deg, var(--blue-soft), transparent),
    radial-gradient(circle at 80% 30%, rgba(36, 170, 225, 0.18), transparent 28%),
    var(--cream);
}

body[data-page="logiscool"] .page-hero .branch-hero {
  grid-template-columns: 0.9fr 1.1fr;
}

body[data-page="logiscool"] .page-hero .branch-hero > .media-placeholder {
  order: -1;
  border: 0;
  border-radius: 26px;
  background:
    linear-gradient(rgba(36, 170, 225, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 170, 225, 0.12) 1px, transparent 1px),
    var(--blue-soft);
  background-size: 29px 29px;
  box-shadow: 22px 22px 0 var(--navy);
}

body[data-page="logiscool"] .cards {
  grid-template-columns: 0.9fr 1.14fr 0.96fr;
}

body[data-page="logiscool"] .section .split {
  padding: 34px;
  border-radius: 32px;
  background: var(--blue-soft);
}

body[data-page="citaj"] .page-hero .branch-hero {
  grid-template-columns: 1.08fr 0.92fr;
}

body[data-page="citaj"] .page-hero .media-placeholder {
  min-height: 440px;
  border-radius: 50% 50% 24px 24px;
  box-shadow: -18px 18px 0 var(--yellow-soft);
}

body[data-page="citaj"] .section-alt .split > .media-placeholder {
  order: -1;
  transform: rotate(-2deg);
  border-radius: 14px 38px 14px 38px;
}

body[data-page="citaj"] .features {
  gap: 26px;
}

body[data-page="citaj"] .feature:nth-child(1),
body[data-page="citaj"] .feature:nth-child(3) {
  transform: rotate(-1.5deg);
}

body[data-page="citaj"] .feature:nth-child(2),
body[data-page="citaj"] .feature:nth-child(4) {
  transform: rotate(1.5deg);
}

body[data-page="kampovi"] .page-hero .media-placeholder {
  border-radius: 18px;
  transform: rotate(2.2deg);
  box-shadow: 12px 12px 0 var(--sun);
}

body[data-page="kampovi"] .cards {
  grid-template-columns: 1.14fr 0.82fr 1.04fr;
  align-items: start;
}

body[data-page="kampovi"] .card {
  min-height: 305px;
  border-radius: 16px 16px 52px 16px;
}

body[data-page="kampovi"] .split {
  grid-template-columns: 0.8fr 1.2fr;
}

body[data-page="radionice"] {
  --teal: var(--blue);
  --teal-dark: var(--blue-dark);
}

body[data-page="radionice"] .page-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 207, 45, 0.22) 0 90px, transparent 91px),
    linear-gradient(105deg, rgba(36, 170, 225, 0.08), transparent 55%),
    var(--cream);
}

body[data-page="radionice"] .page-hero .branch-hero {
  grid-template-columns: 0.92fr 1.08fr;
}

body[data-page="radionice"] .page-hero .media-placeholder {
  min-height: 450px;
  border-radius: 26px;
  box-shadow: 14px 14px 0 var(--sun);
}

body[data-page="radionice"] .workshop-cards {
  grid-template-columns: repeat(2, 1fr);
}

body[data-page="radionice"] .card {
  min-height: 320px;
}

body[data-page="radionice"] .card:nth-child(1),
body[data-page="radionice"] .card:nth-child(4) {
  background: var(--teal-soft);
}

body[data-page="radionice"] .card:nth-child(2) {
  background: var(--yellow-soft);
}

body[data-page="radionice"] .card:nth-child(3) {
  background: var(--blue-soft);
}

body[data-page="rodjendani"] .page-hero .branch-hero {
  grid-template-columns: 0.93fr 1.07fr;
}

body[data-page="rodjendani"] .page-hero .media-placeholder {
  min-height: 470px;
  border-radius: 50% 30% 48% 34%;
  transform: rotate(-2deg);
}

body[data-page="rodjendani"] .cards {
  align-items: center;
}

body[data-page="rodjendani"] .card:first-child {
  transform: rotate(-2deg);
}

body[data-page="rodjendani"] .card:nth-child(2) {
  min-height: 335px;
}

body[data-page="rodjendani"] .card:nth-child(3) {
  transform: rotate(2deg);
}

body[data-page="o-nama"] .page-hero .branch-hero > .media-placeholder {
  order: -1;
  border-radius: 50% 50% 18px 18px;
}

body[data-page="o-nama"] .section-alt .split {
  grid-template-columns: 1.14fr 0.86fr;
}

body[data-page="o-nama"] .cards {
  grid-template-columns: 1.15fr 0.9fr 1.05fr;
  align-items: start;
}

body[data-page="o-nama"] .card:nth-child(2) {
  margin-top: 42px;
  background: var(--lemon);
}

body[data-page="galerija"] .page-hero {
  padding-bottom: 26px;
}

body[data-page="galerija"] .gallery {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 108px;
}

body[data-page="galerija"] .gallery .media-placeholder {
  min-height: 0;
  transform: rotate(-0.8deg);
}

body[data-page="galerija"] .gallery .media-placeholder:nth-child(1) {
  grid-column: 1 / 8;
  grid-row: span 4;
}

body[data-page="galerija"] .gallery .media-placeholder:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: span 3;
  transform: rotate(1.3deg);
}

body[data-page="galerija"] .gallery .media-placeholder:nth-child(3) {
  grid-column: 2 / 6;
  grid-row: span 3;
}

body[data-page="galerija"] .gallery .media-placeholder:nth-child(4) {
  grid-column: 6 / 10;
  grid-row: span 2;
  transform: rotate(1deg);
}

body[data-page="galerija"] .gallery .media-placeholder:nth-child(5) {
  grid-column: 10 / 13;
  grid-row: span 3;
}

body[data-page="galerija"] .gallery .media-placeholder:nth-child(6) {
  grid-column: 5 / 10;
  grid-row: span 3;
  transform: rotate(-1.5deg);
}

body[data-page="galerija"] .gallery .media-placeholder:nth-child(n+7) {
  grid-column: span 4;
  grid-row: span 3;
}

body[data-page="galerija"] .gallery .media-placeholder:nth-child(3n+8) {
  transform: rotate(1.3deg);
}

body[data-page="galerija"] .gallery .media-placeholder:nth-child(3n+9) {
  transform: rotate(-1deg);
}

body[data-page="kontakt"] .page-hero .container {
  max-width: 900px;
  margin-left: max(calc((100% - var(--max)) / 2), 20px);
}

body[data-page="kontakt"] .contact-grid {
  grid-template-columns: 0.74fr 1.26fr;
  align-items: start;
  gap: 38px;
}

body[data-page="kontakt"] .contact-box {
  margin-top: 58px;
  border-radius: 60px 20px 20px 20px;
  background: var(--mint);
  transform: rotate(-1deg);
}

body[data-page="kontakt"] .form-box {
  border: 0;
  border-radius: 24px 72px 24px 24px;
  box-shadow: var(--shadow);
}

.program-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 20px 4px 35px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.program-carousel::-webkit-scrollbar {
  height: 8px;
}

.program-carousel::-webkit-scrollbar-track {
  background: rgba(4, 40, 89, 0.08);
  border-radius: 999px;
}

.program-carousel::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 999px;
}

.program-card {
  flex: 0 0 clamp(320px, 32vw, 390px);
  min-height: 610px;
  overflow: hidden;
  border-radius: 18px;
  color: var(--white);
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.18);
}

.program-card:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 5px;
}

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

.program-card div {
  padding: 28px 26px 34px;
}

.program-card h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.program-card p {
  margin: 0;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.program-card ul {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  color: var(--white);
  font-size: 1.23rem;
  font-weight: 800;
  line-height: 1.2;
  list-style: none;
}

.program-card.blue,
.program-card.cyan {
  background: #1d9ec1;
}

.program-card.red {
  background: #d8272f;
}

.program-card.teal {
  background: #20b9ac;
}

.program-card.yellow {
  background: #f4a51c;
}

@media (max-width: 1160px) {
  .nav,
  .header-inner > .button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav.is-open {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: grid;
    gap: 3px;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--cream);
  }

  .nav.is-open .nav-dropdown {
    display: grid;
  }

  .nav.is-open .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav.is-open .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    gap: 2px;
  }

  .nav.is-open .nav-link {
    padding: 12px;
  }

  .hero-grid,
  .branch-hero,
  .split {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  body[data-branch="home"] .hero-grid,
  body[data-branch="beograd"][data-page="home"] .hero-grid,
  body[data-page="produzeni"] .page-hero .branch-hero,
  body[data-page="logiscool"] .page-hero .branch-hero,
  body[data-page="citaj"] .page-hero .branch-hero,
  body[data-page="radionice"] .page-hero .branch-hero,
  body[data-page="rodjendani"] .page-hero .branch-hero,
  body[data-page="kampovi"] .split,
  body[data-page="o-nama"] .section-alt .split,
  body[data-page="kontakt"] .contact-grid {
    grid-template-columns: 1fr;
  }

  .media-placeholder {
    min-height: 360px;
  }

  .cards,
  .gallery,
  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts {
    flex-wrap: wrap;
  }

  .fact {
    flex-basis: 33.333%;
  }

  body[data-page="home"] #programi .cards {
    grid-template-columns: repeat(6, 1fr);
  }

  body[data-page="home"] #programi .card:nth-child(n) {
    grid-column: span 3;
  }

  body[data-page="logiscool"] .cards,
  body[data-page="kampovi"] .cards,
  body[data-page="radionice"] .workshop-cards,
  body[data-page="o-nama"] .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  body[data-page="logiscool"] .card:last-child,
  body[data-page="kampovi"] .card:last-child,
  body[data-page="o-nama"] .card:last-child {
    grid-column: span 2;
  }

  body[data-page="kontakt"] .contact-box {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 30px));
  }

  .branch-switch {
    display: none;
  }

  .brand-logo img {
    width: 172px;
  }

  .hero,
  .section,
  .page-hero {
    padding-block: 50px;
  }

  .cards,
  .features,
  .location-cards,
  .gallery,
  .quote-grid,
  .contact-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    align-items: stretch;
    flex-direction: column;
    padding: 8px 0 34px;
  }

  .fact {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
  }

  .fact + .fact {
    border-top: 1px solid rgba(4, 40, 89, 0.14);
    border-left: 0;
  }

  body[data-page="home"] #programi .cards,
  body[data-page="logiscool"] .cards,
  body[data-page="kampovi"] .cards,
  body[data-page="radionice"] .workshop-cards,
  body[data-page="o-nama"] .cards,
  body[data-page="galerija"] .gallery,
  body[data-page="produzeni"] .timeline,
  body[data-page="kontakt"] .contact-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] #programi .card:nth-child(n),
  body[data-page="logiscool"] .card:last-child,
  body[data-page="kampovi"] .card:last-child,
  body[data-page="o-nama"] .card:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery .media-placeholder:first-child,
  body[data-page="galerija"] .gallery .media-placeholder:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 275px;
    transform: none;
  }

  .timeline-item {
    gap: 10px;
    margin-inline: 0;
    padding: 17px 0;
  }

  .timeline-item + .timeline-item {
    border-top: 1px solid rgba(4, 40, 89, 0.14);
    border-left: 0;
  }

  body[data-page="produzeni"] .timeline-item strong {
    min-width: 44px;
    height: 32px;
  }

  body[data-page="home"] #programi .card:nth-child(2),
  body[data-page="home"] #programi .card:nth-child(2):hover,
  body[data-page="logiscool"] .card:nth-child(2),
  body[data-page="rodjendani"] .card:nth-child(2),
  .quote:nth-child(2) {
    transform: none;
  }

  body[data-page="kampovi"] .card:nth-child(2),
  body[data-page="citaj"] .feature:nth-child(even) {
    margin-top: 0;
  }

  body[data-page="produzeni"] .page-hero .media-placeholder,
  body[data-page="citaj"] .section-alt .split > .media-placeholder,
  body[data-page="kampovi"] .page-hero .media-placeholder,
  body[data-page="rodjendani"] .page-hero .media-placeholder,
  body[data-page="kontakt"] .contact-box,
  body[data-page="citaj"] .feature:nth-child(n),
  body[data-page="rodjendani"] .card:first-child,
  body[data-page="rodjendani"] .card:nth-child(3) {
    transform: none;
  }

  body[data-page="logiscool"] .page-hero .branch-hero > .media-placeholder,
  body[data-page="citaj"] .page-hero .media-placeholder,
  body[data-page="radionice"] .page-hero .media-placeholder,
  body[data-page="kampovi"] .page-hero .media-placeholder {
    box-shadow: none;
  }

  body[data-page="produzeni"] .timeline::before {
    display: none;
  }

  .hero::before,
  .page-hero::before {
    display: none;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .program-carousel {
    gap: 18px;
    padding-left: 6px;
  }

  .program-card {
    flex-basis: 82vw;
    min-height: 560px;
  }

  .program-card img {
    height: 250px;
  }

  .program-card h3 {
    font-size: 28px;
  }

  .program-card p {
    font-size: 19px;
  }

  .program-card ul {
    font-size: 18px;
  }
}
