:root {
  --mk-bg: #fbf6ec;
  --mk-bg-soft: #fffaf1;
  --mk-paper: #f8ecd4;
  --mk-paper-deep: #f0dfbc;
  --mk-navy: #0f3158;
  --mk-navy-deep: #082645;
  --mk-gold: #c99239;
  --mk-gold-soft: #e0c18d;
  --mk-olive: #77823c;
  --mk-brick: #b3523f;
  --mk-red-soft: #cf5b4f;
  --mk-ink: #18314c;
  --mk-body: #26394d;
  --mk-line: rgba(15, 49, 88, 0.16);
  --mk-line-strong: rgba(15, 49, 88, 0.28);
  --mk-shadow: 0 18px 45px rgba(32, 36, 40, 0.08);
  --mk-shadow-soft: 0 12px 28px rgba(32, 36, 40, 0.06);
  --mk-radius-xl: 2rem;
  --mk-radius-lg: 1.5rem;
  --mk-radius-md: 1.15rem;
  --mk-heading: "Cormorant Garamond", Georgia, serif;
  --mk-sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 87% 4%, rgba(224, 193, 141, 0.25), transparent 30rem),
    radial-gradient(circle at 10% 18%, rgba(201, 146, 57, 0.08), transparent 25rem),
    var(--mk-bg);
  color: var(--mk-body);
  font-family: var(--mk-sans);
}
.brand{
  text-decoration: none;
  cursor: pointer;
}
.page-container {
  max-width: 1180px;
}

.interest-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.hero-section {
  position: relative;
  padding: 2rem 0 2.75rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--mk-navy-deep);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  transition: transform 180ms ease, color 180ms ease;
}

.back-link:hover {
  color: var(--mk-navy);
  transform: translateX(-0.15rem);
}

.back-arrow {
  font-size: 1.25rem;
  line-height: 1;
}

.top-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  position: absolute;
  top: 1.85rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--mk-navy-deep);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mk-gold);
  font-size: 1.55rem;
  font-weight: 900;
}

.brand-mark img {
  display: block;
  height: 2.6rem;
  width: auto;
  transform: scale(1.3)
}

.brand-name {
  font-family: var(--mk-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.brand-tagline {
  color: rgba(8, 38, 69, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-row {
  min-height: 410px;
  padding-top: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(201, 146, 57, 0.13);
  color: #6b4e1d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1,
h2,
.topic-title,
.brand-name {
  color: var(--mk-navy-deep);
}

h1 {
  max-width: 630px;
  font-family: var(--mk-heading);
  font-size: clamp(3rem, 5vw, 5.35rem);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
}

h1 span,
.gratitude-card p span {
  color: var(--mk-red-soft);
}

.hero-copy {
  max-width: 610px;
  color: var(--mk-body);
  font-size: 1.08rem;
  line-height: 1.72;
  margin: 0;
}

.hero-copy strong {
  color: var(--mk-navy-deep);
  font-weight: 900;
}

.hero-art {
  position: relative;
  min-height: 390px;
  margin-left: auto;
  border-radius: 3rem;
  isolation: isolate;
}

.hero-art-glow {
  position: absolute;
  inset: 2rem -2rem 1rem 1rem;
  background:
    radial-gradient(circle at 55% 45%, rgba(224, 193, 141, 0.48), transparent 16rem),
    radial-gradient(circle at 70% 50%, rgba(15, 49, 88, 0.09), transparent 18rem);
  filter: blur(2px);
  z-index: -1;
}

.hero-illustration-placeholder {
  position: absolute;
  inset: 3.2rem 3.5rem 1.6rem 5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.teen {
  position: relative;
  width: 150px;
  height: 250px;
}

.teen-head {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 78px;
  height: 92px;
  transform: translateX(-50%);
  border-radius: 52% 48% 47% 53%;
  background: #e4ba89;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.05);
}

.teen-hair {
  position: absolute;
  top: 0;
  left: 50%;
  width: 95px;
  height: 68px;
  transform: translateX(-50%);
  border-radius: 55% 45% 45% 45%;
  background: #5b311e;
}

.teen-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 128px;
  height: 165px;
  transform: translateX(-50%);
  border-radius: 4rem 4rem 1.8rem 1.8rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), transparent 45%),
    #233d57;
}

.teen-girl .teen-hair {
  width: 110px;
  height: 112px;
  border-radius: 54% 46% 48% 48%;
  background: #76462a;
}

.teen-girl .teen-body {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), transparent 45%),
    #a85a31;
}

.open-book {
  align-self: flex-end;
  width: 190px;
  height: 112px;
  margin: 0 -18px 35px;
  border-radius: 0.8rem 0.8rem 1.4rem 1.4rem;
  background:
    linear-gradient(115deg, transparent 48%, rgba(15,49,88,0.26) 49%, rgba(15,49,88,0.26) 51%, transparent 52%),
    linear-gradient(90deg, #e8d7b7 0 49%, #f4e8d2 49% 100%);
  border: 2px solid rgba(15, 49, 88, 0.18);
  transform: perspective(500px) rotateX(14deg);
  box-shadow: var(--mk-shadow-soft);
}

.landscape {
  position: absolute;
  z-index: 0;
  opacity: 0.7;
}

.mountain {
  left: 0;
  bottom: 3rem;
  width: 245px;
  height: 170px;
  background:
    linear-gradient(135deg, transparent 45%, rgba(15,49,88,0.18) 46% 54%, transparent 55%),
    linear-gradient(45deg, transparent 46%, rgba(119,130,60,0.28) 47% 53%, transparent 54%);
  clip-path: polygon(0 100%, 26% 58%, 43% 78%, 58% 35%, 81% 69%, 100% 100%);
}

.coast {
  left: 1.7rem;
  bottom: 1.6rem;
  width: 285px;
  height: 74px;
  background: linear-gradient(180deg, rgba(224,193,141,0.08), rgba(15,49,88,0.14));
  border-radius: 50%;
}

.town {
  right: 0.75rem;
  top: 1.25rem;
  width: 190px;
  height: 126px;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(201,146,57,0.23) 8% 17%, transparent 17% 23%, rgba(201,146,57,0.16) 23% 36%, transparent 36% 44%, rgba(201,146,57,0.24) 44% 56%, transparent 56% 100%),
    linear-gradient(0deg, rgba(201,146,57,0.18), rgba(201,146,57,0.05));
  clip-path: polygon(0 100%, 0 63%, 10% 63%, 10% 44%, 19% 44%, 19% 61%, 28% 61%, 28% 35%, 37% 35%, 37% 65%, 48% 65%, 48% 28%, 57% 28%, 57% 65%, 67% 65%, 67% 47%, 77% 47%, 77% 63%, 88% 63%, 88% 41%, 100% 41%, 100% 100%);
}

.hero-word {
  position: absolute;
  color: rgba(201, 146, 57, 0.72);
  font-family: var(--mk-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 2rem;
  z-index: 4;
}

.hero-word-home {
  left: 2.25rem;
  top: 6rem;
}

.hero-word-sea {
  left: 6.8rem;
  top: 2rem;
}

.hero-word-roots {
  right: 9.5rem;
  top: 2.2rem;
}

.hero-word-stories {
  right: 1.25rem;
  top: 0.9rem;
}

.hero-note {
  position: absolute;
  right: 0.7rem;
  top: 10rem;
  font-family: var(--mk-heading);
  font-size: 4rem;
  color: rgba(201, 146, 57, 0.72);
}

.choice-section {
  padding: 0.4rem 0 2.7rem;
}

.choice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.4rem;
}

.choice-header h2 {
  flex: 1;
  text-align: center;
  font-family: var(--mk-sans);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.4;
  font-weight: 500;
  margin: 0;
}

.choice-header h2 span {
  color: var(--mk-red-soft);
  font-weight: 900;
}

.selection-counter {
  flex: 0 0 auto;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(201, 146, 57, 0.13);
  color: #70501e;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.selection-counter.has-warning {
  background: rgba(179, 82, 63, 0.14);
  color: #8c3828;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  border: 0;
  padding: 0;
  margin: 0;
}

.topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 1rem;
  border: 2px solid rgba(15, 49, 88, 0.15);
  border-radius: 1.45rem;
  background: rgba(255, 251, 244, 0.82);
  box-shadow: 0 14px 26px rgba(23, 29, 36, 0.03);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.topic-card:hover {
  transform: translateY(-0.28rem);
  border-color: rgba(15, 49, 88, 0.42);
  box-shadow: var(--mk-shadow-soft);
}

.topic-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.topic-card.is-selected {
  border-color: var(--mk-navy);
  background: rgba(255, 251, 244, 0.98);
  box-shadow: 0 19px 38px rgba(15, 49, 88, 0.12);
  transform: translateY(-0.18rem);
}

.topic-check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 2px solid rgba(15, 49, 88, 0.28);
  background: rgba(255, 251, 244, 0.95);
  z-index: 4;
  transition: all 180ms ease;
}

.topic-card.is-selected .topic-check {
  border-color: var(--mk-navy);
  background: var(--mk-navy);
}

.topic-card.is-selected .topic-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff4d9;
  font-size: 1.15rem;
  font-weight: 900;
}

.topic-visual {
  position: relative;
  display: block;
  height: 185px;
  margin-bottom: 1rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(240, 223, 188, 0.66), rgba(255, 250, 241, 0.72));
}

.topic-card:not(.topic-card-wide) .topic-visual > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.topic-title {
  display: block;
  min-height: 3.4rem;
  font-family: var(--mk-heading);
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 0.96;
  text-align: center;
  margin-bottom: 0.85rem;
}

.topic-copy {
  display: block;
  color: var(--mk-body);
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: center;
}

/* Topic art — CSS illustrated placeholders */

.topic-visual-heroes {
  background:
    radial-gradient(circle at 68% 22%, rgba(255, 226, 164, 0.82), transparent 4rem),
    linear-gradient(180deg, #f7e7c8, #f6f0e5);
}

.topic-visual-heroes .sun {
  position: absolute;
  right: 1.2rem;
  top: 1.15rem;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(201, 146, 57, 0.25);
}

.topic-visual-heroes .ridge {
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background: linear-gradient(135deg, rgba(119,130,60,0.48), rgba(15,49,88,0.18));
  clip-path: polygon(0 100%, 16% 73%, 32% 84%, 51% 46%, 75% 88%, 100% 100%);
}

.topic-visual-heroes .hero-silhouette {
  position: absolute;
  left: 48%;
  bottom: 1.15rem;
  width: 3.6rem;
  height: 7.9rem;
  transform: translateX(-50%);
  background: var(--mk-navy-deep);
  clip-path: polygon(44% 0, 59% 0, 68% 15%, 63% 30%, 76% 42%, 67% 70%, 82% 100%, 55% 100%, 51% 74%, 43% 100%, 18% 100%, 37% 70%, 29% 42%, 39% 29%, 34% 16%);
  opacity: 0.88;
}

.topic-visual-language {
  background: linear-gradient(180deg, rgba(247,231,200,0.78), rgba(255,250,241,0.92));
}

.bubble {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.88);
  border: 1px solid rgba(201, 146, 57, 0.24);
  color: #846128;
  font-family: var(--mk-heading);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(32, 36, 40, 0.05);
}

.b1 {
  left: 5.2rem;
  top: 2.2rem;
  width: 4.2rem;
  height: 3.2rem;
}

.b2 {
  right: 2rem;
  top: 4.2rem;
  width: 5.4rem;
  height: 3.1rem;
}

.b3 {
  left: 6rem;
  bottom: 2rem;
  width: 5.2rem;
  height: 3.1rem;
}

.b4 {
  left: 1.5rem;
  top: 6rem;
  width: 5rem;
  height: 3rem;
}

.topic-visual-places {
  background: linear-gradient(180deg, #f8eccc, #f8f1e7);
}

.place-sky {
  position: absolute;
  inset: 0 0 auto;
  height: 52%;
  background: linear-gradient(180deg, rgba(15,49,88,0.12), transparent);
}

.place-mountain {
  position: absolute;
  inset: auto 0 4.2rem;
  height: 66%;
  background: linear-gradient(135deg, rgba(119,130,60,0.46), rgba(15,49,88,0.24));
  clip-path: polygon(0 100%, 22% 60%, 34% 80%, 52% 34%, 72% 76%, 100% 100%);
}

.place-sea {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: rgba(86, 138, 172, 0.32);
}

.place-town {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2rem;
  height: 2.5rem;
  background:
    linear-gradient(90deg, rgba(179,82,63,0.54) 0 18%, transparent 18% 22%, rgba(201,146,57,0.42) 22% 40%, transparent 40% 45%, rgba(179,82,63,0.48) 45% 66%, transparent 66% 71%, rgba(201,146,57,0.48) 71% 88%, transparent 88%);
}

.topic-visual-tradition {
  background: linear-gradient(180deg, rgba(240,223,188,0.8), rgba(255,250,241,0.92));
}

.guitar {
  position: absolute;
  left: 4.9rem;
  bottom: 1rem;
  width: 4.7rem;
  height: 9rem;
  background: #9c5b2d;
  border-radius: 2.2rem 2.2rem 1.1rem 1.1rem;
  transform: rotate(-12deg);
}

.guitar::before {
  content: "";
  position: absolute;
  top: -4.7rem;
  left: 1.9rem;
  width: 1rem;
  height: 5.3rem;
  border-radius: 0.6rem;
  background: #6d3f1e;
}

.guitar::after {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 2.1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  border: 3px solid rgba(255,241,217,0.8);
}

.memory-card {
  position: absolute;
  right: 2.4rem;
  top: 2.5rem;
  width: 6.8rem;
  height: 5.2rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, rgba(15,49,88,0.12), rgba(179,82,63,0.18)),
    #f8f0e1;
  border: 1px solid rgba(15,49,88,0.18);
  transform: rotate(7deg);
}

.pattern-strip {
  position: absolute;
  right: 1.6rem;
  bottom: 2.2rem;
  width: 8rem;
  height: 2.2rem;
  background:
    linear-gradient(90deg, rgba(179,82,63,0.72) 25%, transparent 25% 50%, rgba(179,82,63,0.72) 50% 75%, transparent 75%),
    #fff2d9;
  background-size: 1.25rem 1.25rem;
  border-radius: 0.5rem;
  transform: rotate(-5deg);
}

.topic-card-wide {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 0;
  overflow: visible;
  justify-content: flex-end;
  background: transparent;
  border: none;
  box-shadow: none;
}

.topic-card-wide:hover,
.topic-card-wide.is-selected {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Slika kao puni background koji ide iz gornje polovine prema dolje */
.topic-card-wide .topic-visual {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lagani overlay preko slike */
.topic-card-wide .topic-visual::after {
  content: none;
}

.topic-card-wide .topic-visual img,
.topic-card-wide .topic-visual img.img-fluid {
  width: 55% !important;
  height: auto !important;
  max-width: 55% !important;
  max-height: none;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Tekstualni panel preko donje polovine slike */
.topic-card-wide .topic-title,
.topic-card-wide .topic-copy {
  position: relative;
  z-index: 2;
  padding-inline: 1.25rem;
  background: rgba(255, 251, 244, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.topic-card-wide .topic-title {
  min-height: auto;
  margin-bottom: 0;
  padding-top: 0.9rem;
  padding-bottom: 0.4rem;
}

.topic-card-wide .topic-copy {
  padding-bottom: 1.1rem;
}

/* Check ostaje vidljiv iznad slike */
.topic-card-wide .topic-check {
  z-index: 5;
}

.topic-visual-belonging {
  background:
    radial-gradient(circle at 75% 34%, rgba(255,214,143,0.48), transparent 4rem),
    linear-gradient(180deg, rgba(15,49,88,0.10), rgba(224,193,141,0.22));
}

.belonging-horizon {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background:
    linear-gradient(180deg, rgba(201,146,57,0.22), rgba(15,49,88,0.16));
  clip-path: polygon(0 77%, 18% 54%, 36% 70%, 55% 38%, 75% 71%, 100% 48%, 100% 100%, 0 100%);
}

.belonging-child {
  position: absolute;
  left: 27%;
  bottom: 0.8rem;
  width: 2.8rem;
  height: 5.8rem;
  background: var(--mk-navy-deep);
  clip-path: polygon(37% 0, 63% 0, 75% 20%, 69% 36%, 80% 100%, 56% 100%, 51% 60%, 45% 100%, 20% 100%, 31% 36%, 25% 20%);
  opacity: 0.86;
}

.belonging-heart {
  position: absolute;
  right: 25%;
  top: 1.2rem;
  color: rgba(255, 223, 170, 0.95);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
}

.form-lower {
  max-width: 1020px;
  margin: 2rem auto 0;
}

.form-label-custom {
  display: block;
  color: var(--mk-navy-deep);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.custom-textarea {
  min-height: 112px;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1.5px solid rgba(15, 49, 88, 0.18);
  background: rgba(255, 251, 244, 0.88);
  color: var(--mk-body);
  font-size: 0.98rem;
  line-height: 1.55;
  resize: vertical;
}

.custom-textarea:focus {
  border-color: var(--mk-navy);
  box-shadow: 0 0 0 0.25rem rgba(15, 49, 88, 0.12);
  background: #fffaf1;
}

.age-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.age-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 112px;
  padding: 0.95rem;
  border-radius: 1rem;
  border: 1.5px solid rgba(15, 49, 88, 0.16);
  background: rgba(255, 251, 244, 0.88);
  color: var(--mk-navy-deep);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.age-option:hover {
  transform: translateY(-0.15rem);
  border-color: rgba(15, 49, 88, 0.42);
}

.age-option input {
  position: absolute;
  opacity: 0;
}

.age-option:has(input:checked) {
  border-color: var(--mk-navy);
  background: rgba(15, 49, 88, 0.08);
  color: var(--mk-navy-deep);
  box-shadow: 0 8px 18px rgba(15, 49, 88, 0.12);
  transform: translateY(-1px);
}

.age-option:has(input:checked) .age-icon {
  background: var(--mk-navy);
  border-color: var(--mk-navy);
  color: #fff;
}

.age-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 49, 88, 0.2);
  color: var(--mk-navy);
  font-size: 1.2rem;
}

.submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.25rem;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: min(100%, 490px);
  padding: 1rem 1.65rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mk-navy), var(--mk-navy-deep));
  color: #fff4d9;
  font-family: var(--mk-heading);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(8, 38, 69, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-0.2rem);
  box-shadow: 0 22px 38px rgba(8, 38, 69, 0.3);
}

.submit-button:disabled {
  opacity: 0.88;
  cursor: default;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(38, 57, 77, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0.95rem 0 0;
}

.gratitude-section {
  padding: 0 0 0;
}

.gratitude-card {
  /* position: relative; */
  display: grid;
  grid-template-columns: 180px 1fr 140px;
  align-items: center;
  gap: 1.4rem;
  min-height: 120px;
  padding: 1rem 1.35rem;
  border-radius: 2rem 2rem 0 0;
  background: linear-gradient(90deg, rgba(248,236,212,0.88), rgba(255,248,236,0.92));
  overflow: hidden;
}

.gratitude-house {
  position: relative;
  width: 160px;
  height: 92px;
}

.tree {
  position: absolute;
  left: 0.25rem;
  bottom: 0;
  width: 88px;
  height: 88px;
  background: rgba(119,130,60,0.42);
  clip-path: polygon(50% 0, 61% 19%, 78% 18%, 74% 34%, 96% 48%, 76% 59%, 84% 82%, 59% 74%, 50% 100%, 41% 75%, 18% 83%, 25% 59%, 2% 48%, 24% 34%, 20% 18%, 39% 19%);
}

.house {
  position: absolute;
  right: 0.2rem;
  bottom: 0.35rem;
  width: 76px;
  height: 58px;
  background: #8b5c31;
  border-radius: 0.25rem;
  clip-path: polygon(50% 0, 100% 39%, 88% 39%, 88% 100%, 13% 100%, 13% 39%, 0 39%);
}

.gratitude-card p {
  max-width: 760px;
  margin: 0;
  color: var(--mk-navy-deep);
  font-family: var(--mk-heading);
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  font-weight: 800;
  line-height: 1.2;
}

.paper-plane {
  color: rgba(201, 146, 57, 0.72);
  font-size: 2.5rem;
  text-align: right;
  transform: rotate(-5deg);
}

.mk-footer {
  background: linear-gradient(180deg, var(--mk-navy), var(--mk-navy-deep));
  color: #fff4d9;
}

.footer-stats {
  min-height: 140px;
  padding: 1.4rem 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  border-right: 1px solid rgba(255, 244, 217, 0.18);
}

.footer-stats > div:last-child .stat-item {
  border-right: 0;
}

.stat-icon {
  color: #f0c76d;
  font-size: 2rem;
  font-weight: 900;
}

.stat-item strong,
.stat-item span:not(.stat-icon) {
  display: block;
}

.stat-item strong {
  color: #ffe2a0;
  font-family: var(--mk-heading);
  font-size: 2rem;
  line-height: 0.9;
  font-weight: 800;
}

.stat-item div span {
  max-width: 180px;
  color: rgba(255, 244, 217, 0.92);
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 700;
}

.checkerboard {
  position: relative;
  height: 2rem;
  background-color: #fff1d9;
  background-image:
    linear-gradient(90deg, var(--mk-brick) 50%, transparent 50%),
    linear-gradient(90deg, transparent 50%, var(--mk-brick) 50%);
  background-position: 0 0, 0 1rem;
  background-size: 2rem 1rem;
  background-repeat: repeat-x, repeat-x;
}

.checkerboard::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.75rem;
  width: 100%;
  height: 0.8rem;
  background: var(--mk-navy-deep);
  clip-path: polygon(
    0 58%,
    6% 42%,
    13% 58%,
    21% 43%,
    29% 59%,
    37% 44%,
    46% 58%,
    55% 42%,
    64% 58%,
    73% 44%,
    82% 59%,
    91% 43%,
    100% 57%,
    100% 100%,
    0 100%
  );
}

@media (max-width: 1199.98px) {
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-card-wide {
    grid-column: 1 / -1;
    width: min(100%, 610px);
    justify-self: center;
  }

  .hero-art {
    min-height: 360px;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 1.4rem;
  }

  .top-brand {
    position: static;
    transform: none;
    display: flex;
    margin: 0.75rem auto 1rem;
  }

  .hero-row {
    padding-top: 0.5rem;
    min-height: auto;
  }

  h1 {
    max-width: 720px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-art {
    min-height: 390px;
    margin-top: 0.75rem;
  }

  .choice-header {
    flex-direction: column;
    align-items: stretch;
  }

  .choice-header h2 {
    order: 1;
  }

  .selection-counter {
    order: 2;
    align-self: center;
  }

  .gratitude-card {
    grid-template-columns: 120px 1fr;
  }

  .paper-plane {
    display: none;
  }

  .stat-item {
    border-right: 0;
  }
}

@media (max-width: 767.98px) {
  .topic-visual {
    height: 240px;
  }
}

@media (max-width: 575.98px) {
  .topic-visual {
    height: 280px;
  }
}

@media (max-width: 767.98px) {
  .page-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section {
    padding-bottom: 1.6rem;
  }

  .back-link {
    font-size: 0.88rem;
  }

  .brand-name {
    font-size: 1.55rem;
  }

  h1 {
    font-size: clamp(2.6rem, 10vw, 3.6rem);
    line-height: 0.92;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-art {
    min-height: 300px;
  }

  .hero-illustration-placeholder {
    inset: 2.9rem 1rem 1rem;
  }

  .teen {
    width: 98px;
    height: 180px;
  }

  .teen-head {
    width: 56px;
    height: 66px;
  }

  .teen-hair {
    width: 70px;
    height: 51px;
  }

  .teen-girl .teen-hair {
    width: 80px;
    height: 82px;
  }

  .teen-body {
    width: 90px;
    height: 118px;
  }

  .open-book {
    width: 132px;
    height: 80px;
    margin: 0 -12px 22px;
  }

  .hero-word {
    font-size: 1.4rem;
  }

  .hero-word-home {
    left: 1rem;
    top: 5rem;
  }

  .hero-word-sea {
    left: 4.2rem;
    top: 1.8rem;
  }

  .hero-word-roots {
    right: 5rem;
    top: 1.85rem;
  }

  .hero-word-stories {
    right: 0.55rem;
    top: 0.7rem;
  }

  .hero-note {
    top: 7.2rem;
    right: 0.15rem;
    font-size: 3rem;
  }

  .mountain {
    width: 180px;
    height: 126px;
    bottom: 2rem;
  }

  .coast {
    width: 220px;
    height: 54px;
  }

  .town {
    width: 130px;
    height: 92px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-card,
  .topic-card-wide {
    grid-column: auto;
    width: 100%;
    min-height: auto;
  }

  .topic-card-wide .topic-visual,
  .topic-visual {
    height: 175px;
  }

  .topic-title {
    min-height: auto;
  }

  .age-grid {
    grid-template-columns: 1fr;
  }

  .age-option {
    min-height: 86px;
  }

  .submit-button {
    font-size: 1.15rem;
    padding-inline: 1.1rem;
  }

  .gratitude-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    border-radius: 1.6rem 1.6rem 0 0;
  }

  .gratitude-house {
    width: 136px;
    height: 74px;
  }

  .footer-stats {
    min-height: auto;
  }

  .checkerboard {
    height: 1.5rem;
    background-position: 0 0, 0 0.75rem;
    background-size: 1.5rem 0.75rem;
  }
}

/* ====== HERO IMAGE (10–14) ====== */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.hero-image {
  z-index: -1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 1rem 2rem rgba(28, 20, 40, 0.18));
  transition: transform 0.4s ease;
  scale: 1.4;
}

.hero-image-wrap:hover .hero-image {
  transform: translateY(-4px);
}

.hero-image-wrap .hero-note {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.5rem;
  color: #b48a3a;
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .hero-image-wrap {
    max-width: 520px;
  }
  .hero-image {
    max-height: 520px;
  }
}

@media (max-width: 575.98px) {
  .hero-image-wrap {
    max-width: 340px;
  }
  .hero-image {
    max-height: 340px;
  }

  .topic-card-wide .topic-visual {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  .topic-card-wide {
    display: none !important;
  }

  .topic-card-wide .topic-visual img,
  .topic-card-wide .topic-visual img.img-fluid {
    width: 140% !important;
    max-width: 140% !important;
    margin-left: -20% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .topic-card-wide .topic-visual img,
  .topic-card-wide .topic-visual img.img-fluid {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-image-wrap:hover .hero-image {
    transition: none;
    transform: none;
  }
}

/* ====== HERO U CONTAINER-FLUID ====== */
.hero-fluid {
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.hero-inner {
  max-width: 1280px;
}

@media (min-width: 1600px) {
  .hero-inner { max-width: 1400px; }
}

@media (max-width: 575.98px) {
  .hero-fluid {
    padding-inline: 1rem;
  }
}

/* ====== AGE SPRITE (CSS sprite tehnika) ======
   Sprite slika: 1536 × 1024 px, 3 ikone vodoravno (svaka 512 × 1024 px)
   Prikazujemo kao 64 × 128 px (skalirano: 192 × 128 px ukupna sprite širina) */
/* .age-sprite {
  display: inline-block;
  width: 64px;
  height: 128px;
  background-image: url("assets/images/childs-icons.png");
  background-repeat: no-repeat;
  background-size: 192px 128px;
  vertical-align: middle;
}

.age-sprite-1 { background-position:    0   0; }
.age-sprite-2 { background-position: -64px  0; }
.age-sprite-3 { background-position:-128px  0; } */
