/* ==========================================================
   QUEEN ANA - zajednički NEON stil (koristi se na više stranica)
   Osnova, neon tipografija, pojavljivanje na skrol, naslovi sekcija
   (01 / NAZIV), dugmad, trake sa natpisima, kartice tura sa
   neon scenama, ruta sa stanicama i neon CTA reklama.
   Učitava se posle opste.css i dekor.css, a pre CSS-a stranice.
   ========================================================== */

/* ---------- BOJE I POMOĆNO ---------- */
:root {
    /* boje (--neon, --sun...) su u opste.css */
    --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

main {
    overflow-x: clip;
}

.svg_defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

::selection {
    background: var(--neon-deep);
    color: #fff;
}

/* ---------- ISTAKNUTA REČ: puna boja sa tankim prugama (kao daske palube) ----------
   Boja je --o-color (podrazumevano cimet); stranica ili poglavlje može da je promeni. */
.o,
.ht_outline {
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
    background:
        repeating-linear-gradient(to bottom, transparent 0 0.085em, rgb(42 33 27 / 0.42) 0.085em 0.105em),
        var(--o-color, var(--neon));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Neon "pali se" (treperi pa zasvetli) */
@keyframes neonOn {
    0%       { opacity: 0; }
    8%       { opacity: 1; }
    11%      { opacity: 0.15; }
    18%      { opacity: 1; }
    21%      { opacity: 0.3; }
    26%, 100% { opacity: 1; }
}

@keyframes flicker {
    0%, 90%, 93%, 96%, 100% { opacity: 1; }
    91%, 94.5%              { opacity: 0.35; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes twinkle {
    from { opacity: 0.3; }
    to   { opacity: 1; }
}

@keyframes redBlink {
    0%, 100% { opacity: 0.25; }
    50%      { opacity: 1; }
}

@keyframes ringPulse {
    from { transform: scale(1);   opacity: 0.9; }
    to   { transform: scale(1.7); opacity: 0; }
}

/* ---------- POJAVLJIVANJE NA SKROL (samo kad JS radi) ---------- */
.js [data-reveal] {
    opacity: 0;
    translate: 0 32px;
    transition: opacity 0.9s var(--ease-out), translate 0.9s var(--ease-out);
    transition-delay: var(--d, 0s);
}

.js [data-reveal].is_in {
    opacity: 1;
    translate: 0 0;
}

/* Animacije van ekrana se pauziraju (štedi procesor) */
.anim_off *,
.anim_off *::before,
.anim_off *::after {
    animation-play-state: paused !important;
}

/* ---------- NASLOVI SEKCIJA: 01 / TURE ---------- */
.sec {
    position: relative;
    padding: clamp(90px, 11vw, 150px) var(--page-padding) 0;
    scroll-margin-top: var(--nav-height);
}

.sec_wrap {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.sec_head {
    margin-bottom: clamp(40px, 5vw, 64px);
}

.sec_tag {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.sec_num {
    flex: none;
    font-family: var(--font-obris);   /* obrub bez linija unutar slova (opste.css) */
    font-size: clamp(3rem, 6vw, 4.6rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px rgb(var(--neon-rgb) / 0.8);
    background: repeating-linear-gradient(to bottom, rgb(var(--neon-rgb) / 0.35) 0 2px, transparent 2px 7px);
    -webkit-background-clip: text;
    background-clip: text;
}

.sec_head.is_in .sec_num {
    animation: neonOn 1.4s linear 0.25s both;
}

.sec_label {
    flex: none;
    color: var(--neon);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

/* tačka + linija koja bledi (kao deonica rute) */
.sec_tag::after {
    content: "";
    flex: 1;
    max-width: 320px;
    height: 7px;
    background:
        radial-gradient(circle, var(--neon) 0 2.5px, transparent 3px) left center / 7px 7px no-repeat,
        linear-gradient(90deg, rgb(var(--neon-rgb) / 0.5), rgb(var(--neon-rgb) / 0)) 10px center / calc(100% - 10px) 1px no-repeat;
}

.sec_head_row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px 60px;
}

.sec_title {
    font-size: clamp(2.1rem, 4.6vw, 3.8rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-wrap: balance;
}

.sec_sub {
    max-width: 380px;
    color: rgb(var(--fg-rgb) / 0.74);
    font-size: 1rem;
    line-height: 1.7;
}

.sec_head > .sec_sub {
    margin-top: 18px;
}

.sec_foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 34px;
}

/* dugmad ispod kartica: centrirano, "uporedi" pored "rezerviši" */
.sec_foot_center {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 16px;
    margin-top: 42px;
}

/* ---------- DUGMAD ---------- */
.btn_neon {
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 30px -16px rgb(var(--neon-deep-rgb) / 0.7);
}

.btn_neon i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.btn_neon:hover i {
    transform: translateX(4px);
}

/* odsjaj koji prelazi preko dugmeta */
.btn_neon::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgb(var(--fg-rgb) / 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s var(--ease-out);
    pointer-events: none;
}

.btn_neon:hover::after {
    left: 130%;
}

.btn_play {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 4px 8px 4px 4px;
    color: var(--fg);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bp_ring {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid rgb(var(--fg-rgb) / 0.5);
    font-size: 0.8rem;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.bp_ring i {
    margin-left: 2px;
}

.bp_ring::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: 50%;
    border: 1.5px solid var(--neon);
    animation: ringPulse 2.4s ease-out infinite;
}

.btn_play:hover .bp_ring {
    background: var(--neon-deep);
    border-color: var(--neon-deep);
    color: #fff;
}

.btn_line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 26px;
    border-radius: 999px;
    border: 1px solid rgb(var(--neon-rgb) / 0.55);
    color: var(--fg);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.btn_line i {
    color: var(--neon-hi);
    transition: transform 0.3s;
}

.btn_line:hover {
    background: var(--paper);
    border-color: var(--neon-hi);
}

.btn_line:hover .fa-arrow-right {
    transform: translateX(4px);
}

/* okrugla strelica (kartice i galerija) */
.tm_arrow {
    flex: none;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 0.8rem;
    transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}


/* ---------- PTICE U SCENAMA: mašu krilima ---------- */
.c_birds path {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: flap 1.5s ease-in-out infinite;
}

.c_birds path:nth-child(2) {
    animation-duration: 1.2s;
    animation-delay: -0.5s;
}

@keyframes flap {
    0%, 100% { transform: scaleY(1); }
    50%      { transform: scaleY(0.4); }
}

/* ==========================================================
   TRAKE SA NATPISIMA (ukrštene, idu u suprotnim smerovima)
   ========================================================== */
.marquee {
    position: relative;
    z-index: 3;
    height: 150px;
    margin-top: -48px;
    overflow: hidden;
    pointer-events: none;
}

.mq_tape {
    position: absolute;
    left: -5%;
    top: 50%;
    width: 110%;
    display: flex;
    overflow: hidden;
    padding: 14px 0;
}

.mq_front {
    z-index: 2;
    transform: translateY(-50%) rotate(-2.4deg);
    background: linear-gradient(90deg, var(--neon-deeper), var(--neon-deep) 45%, var(--neon));
    box-shadow: 0 12px 30px -14px rgb(var(--neon-deep-rgb) / 0.6);
    /* tamna traka: tekst ostaje svetao */
    --fg: #fff;
    --fg-rgb: 255 255 255;
}

.mq_back {
    z-index: 1;
    transform: translateY(-50%) rotate(2deg);
    background: rgb(var(--paper-rgb) / 0.92);
    border-top: 1px solid rgb(var(--neon-rgb) / 0.35);
    border-bottom: 1px solid rgb(var(--neon-rgb) / 0.35);
}

.mq_track {
    display: flex;
    flex: none;
    animation: marquee 40s linear infinite;
}

.mq_back .mq_track {
    animation-duration: 52s;
    animation-direction: reverse;
}

.mq_group {
    display: flex;
    flex: none;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
}

.mq_group span {
    color: var(--fg);
    font-size: clamp(1.1rem, 2.1vw, 1.75rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mq_front .o {
    font-family: var(--font-obris);
    -webkit-text-stroke: 1.2px #fff;
    background: none;
    filter: none;
}

.mq_back .mq_group span {
    font-family: var(--font-obris);
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgb(var(--neon-hi-rgb) / 0.75);
}

.mq_star {
    flex: none;
    width: 16px;
    height: 16px;
    background: var(--sun-pale);
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    animation: spin 6s linear infinite;
}

.mq_back .mq_star {
    background: var(--neon);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}


/* ==========================================================
   01 / TURE: kartice sa neon mini-scenama
   ========================================================== */
.tcards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

/* koliko je donja ivica slike nakrivljena (na hover se blago produbi) */
@property --slant {
    syntax: "<length>";
    inherits: true;
    initial-value: 30px;
}

.tcard {
    --acc: 166 93 63;
    --slant: clamp(22px, 2.4vw, 34px);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: var(--glass);
    border: 1px solid var(--card-line);
    box-shadow: var(--shadow-card);
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s, --slant 0.6s var(--ease-out);
}

.js .tcard {
    transition:
        opacity 0.9s var(--ease-out) var(--d, 0s),
        translate 0.9s var(--ease-out) var(--d, 0s),
        transform 0.5s var(--ease-out),
        border-color 0.4s,
        box-shadow 0.5s,
        --slant 0.6s var(--ease-out);
}

.tcard_sunset      { --acc: 192 96 58; }
.tcard_fullday     { --acc: 47 125 110; }   /* zelena, kao stranica ture */
.tcard_celebration { --acc: 176 74 111; }

/* svetlo koje prati miša */
.tcard::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--acc) / 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.tcard:hover {
    --slant: clamp(30px, 3.4vw, 46px);
    transform: perspective(1000px) translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    border-color: rgb(var(--acc) / 0.6);
    box-shadow:
        0 2px 6px rgb(42 33 27 / 0.08),
        0 40px 70px -34px rgb(var(--acc) / 0.8),
        0 0 0 1px rgb(var(--acc) / 0.3);
}

.tcard:hover::before {
    opacity: 1;
}

/* slika: donja ivica ukoso (desno viša, levo niža) */
.tcard_art {
    position: relative;
    aspect-ratio: 360 / 220;
    overflow: hidden;
    /* scena ima svoje nebo i vodu u boji ture; ovo je samo dok se ne učita */
    background: rgb(var(--acc));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}

.tcard_art svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tcard_body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 26px 26px;
}

/* neon linija tačno po kosoj ivici slike, u boji ture */
.tcard_body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--slant) * -1);
    height: var(--slant);
    pointer-events: none;
    background: linear-gradient(to bottom right,
        transparent calc(50% - 1.5px),
        rgb(var(--acc)) 50%,
        transparent calc(50% + 1.5px));
    opacity: 0.9;
    transition: opacity 0.4s;
}

.tcard:hover .tcard_body::before {
    opacity: 1;
}

.tcard_chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tcard_chips li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgb(var(--acc) / 0.3);
    background: rgb(var(--acc) / 0.12);
    color: var(--fg);
    font-size: 0.76rem;
    font-weight: 700;
}

.tcard_chips i {
    color: rgb(var(--acc));
    font-size: 0.72rem;
}

.tcard h3 {
    margin-bottom: 14px;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.tcard_list {
    margin-bottom: 22px;
}

.tcard_list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 20px;
    color: rgb(var(--fg-rgb) / 0.84);
    font-size: 1rem;
    line-height: 1.5;
}

.tcard_list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.58em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgb(var(--acc));
}

.tcard_more {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px dashed rgb(var(--fg-rgb) / 0.14);
    color: rgb(var(--acc));
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* strelica je puna, u boji ture: vidi se odmah da je kartica link */
.tcard .tm_arrow {
    background: rgb(var(--acc));
    border-color: rgb(var(--acc));
    color: #fff;
    box-shadow: 0 8px 18px -8px rgb(var(--acc) / 0.8);
}

.tcard:hover .tm_arrow {
    background: var(--1);
    border-color: var(--1);
    color: #fff;
    transform: rotate(-45deg);
}

/* --- scena: Sunset --- */
.c1_sun {
    transition: transform 0.9s var(--ease-out);
}

.tcard:hover .c1_sun {
    transform: translateY(12px);
}

.c1_boat {
    transform-box: fill-box;
    transform-origin: 50% 90%;
    animation: cBob 4s ease-in-out infinite;
}

@keyframes cBob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(2px) rotate(-2deg); }
}

.c_shimmer rect {
    animation: shimmer 3s ease-in-out infinite alternate;
}

.c_shimmer rect:nth-child(even) {
    animation-duration: 2.2s;
    animation-direction: alternate-reverse;
}

@keyframes shimmer {
    from { transform: translateX(-5px); }
    to   { transform: translateX(5px); }
}

/* --- scena: Full Day --- */
.c2_rays {
    transform-box: fill-box;
    transform-origin: center;
    animation: spin 24s linear infinite;
}

.c2_cloud {
    animation: cloud 10s ease-in-out infinite alternate;
}

@keyframes cloud {
    from { transform: translateX(-8px); }
    to   { transform: translateX(16px); }
}

.c2_wave {
    animation: wave 3s linear infinite;
}

.c2_wave2 {
    animation-duration: 4.4s;
    animation-direction: reverse;
}

.c2_wave3 {
    animation-duration: 6s;
}

@keyframes wave {
    to { transform: translateX(40px); }
}

.c2_buoy {
    transform-box: fill-box;
    transform-origin: center;
    animation: buoy 3.6s ease-in-out infinite;
}

@keyframes buoy {
    0%, 100% { transform: translateY(-2px) rotate(-8deg); }
    50%      { transform: translateY(3px) rotate(8deg); }
}

.c_spark {
    transform-box: fill-box;
    transform-origin: center;
    animation: spark 2.4s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes spark {
    0%, 100% { transform: scale(0.2); opacity: 0; }
    50%      { transform: scale(1);   opacity: 1; }
}

/* --- scena: Celebration --- */
.c3_stars circle {
    animation: twinkle 2.6s ease-in-out infinite alternate;
}

.c3_stars circle:nth-child(2n) {
    animation-delay: -1.3s;
}

.fw {
    transform-box: fill-box;
    transform-origin: center;
    animation: burst 2.8s ease-out infinite;
}

.fw2 { animation-delay: -0.9s; }
.fw3 { animation-delay: -1.8s; }

@keyframes burst {
    0%   { transform: scale(0.15); opacity: 0; }
    12%  { opacity: 1; }
    70%  { transform: scale(1);    opacity: 0.9; }
    100% { transform: scale(1.12); opacity: 0; }
}

.c3_bub {
    animation: bubble 2.2s ease-in infinite;
}

.c3_bub2 {
    animation-delay: -1.1s;
}

@keyframes bubble {
    0%   { transform: translateY(0);     opacity: 0; }
    20%  { opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0; }
}

.c3_clink {
    transform-box: fill-box;
    transform-origin: center;
    animation: clink 2.8s ease-out infinite;
}

@keyframes clink {
    0%, 60%, 100% { transform: scale(0);   opacity: 0; }
    70%           { transform: scale(1.3); opacity: 1; }
    85%           { transform: scale(0.6); opacity: 0.4; }
}

.c3_conf rect {
    transform-box: fill-box;
    transform-origin: center;
    animation: confetti 4.2s linear infinite;
    animation-delay: var(--d, 0s);
}

@keyframes confetti {
    0%   { transform: translateY(-14px) rotate(0deg);   opacity: 0; }
    10%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateY(150px) rotate(320deg); opacity: 0; }
}


/* ==========================================================
   03 / ZAŠTO MI: ruta sa stanicama, tačka putuje i pali čvorove
   ========================================================== */
.sec_why .sec_head {
    max-width: 640px;
}

.why_compass {
    position: absolute;
    right: 0;
    top: -10px;
    width: clamp(150px, 15vw, 210px);
    height: auto;
    opacity: 0.9;
}

.wc_rose {
    transform-box: fill-box;
    transform-origin: center;
    animation: compass 9s ease-in-out infinite;
}

@keyframes compass {
    0%, 100% { transform: rotate(-14deg); }
    45%      { transform: rotate(10deg); }
    70%      { transform: rotate(-4deg); }
}

.why_route {
    position: relative;
}

.wr_track {
    position: absolute;
    left: 12.5%;
    right: 12.5%;
    top: 35px;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgb(var(--neon-rgb) / 0.8) 0 8px, transparent 8px 16px);
}

.wr_run {
    position: absolute;
    inset: 0;
    animation: wrRun 8s linear infinite;
}

.wr_dot {
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 0 4px rgb(var(--neon-rgb) / 0.25);
}

.wr_dot::before {
    content: "";
    position: absolute;
    right: 50%;
    top: 50%;
    width: 110px;
    height: 2px;
    border-radius: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgb(var(--neon-hi-rgb) / 0), rgb(var(--neon-hi-rgb) / 0.9));
}

/* tačka stiže do čvora i u 0s, 2.27s, 4.53s, 6.8s (85% od 8s / 3 deonice) */
@keyframes wrRun {
    0%       { transform: translateX(0);    opacity: 0; }
    4%       { opacity: 1; }
    85%      { transform: translateX(100%); opacity: 1; }
    92%, 100% { transform: translateX(100%); opacity: 0; }
}

.wr_stops {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    list-style: none;
}

.wr_stop {
    position: relative;
    text-align: center;
}

.wr_node {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--1);
    border: 1.5px solid var(--1);
    color: var(--on-1);
    font-size: 1.35rem;
    box-shadow: 0 0 0 7px var(--2), 0 16px 26px -14px rgb(42 33 27 / 0.7);
    animation: nodePulse 8s linear infinite;
    animation-delay: calc(var(--i) * 2.267s);
}

/* kad tačka stigne: čvor zasvetli u boji cimeta */
@keyframes nodePulse {
    0% {
        border-color: var(--neon);
        color: #fff;
        background: var(--neon);
        box-shadow: 0 0 0 7px var(--2), 0 0 0 13px rgb(var(--neon-rgb) / 0.25);
    }
    16%, 100% {
        border-color: var(--1);
        color: var(--on-1);
        background: var(--1);
        box-shadow: 0 0 0 7px var(--2), 0 0 0 7px rgb(var(--neon-rgb) / 0);
    }
}

.wr_stop h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.wr_stop p {
    max-width: 270px;
    margin: 0 auto;
    color: rgb(var(--fg-rgb) / 0.78);
    font-size: 1rem;
    line-height: 1.65;
}


/* ==========================================================
   CTA: neon reklama, sidro, talasi
   ========================================================== */
.cta_neon {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: clamp(90px, 11vw, 150px);
    padding: clamp(90px, 11vw, 150px) var(--page-padding) clamp(130px, 14vw, 190px);
    text-align: center;
    background:
        radial-gradient(ellipse 55% 55% at 50% 52%, var(--light), transparent 70%),
        linear-gradient(to bottom, rgb(var(--bg-rgb) / 0), var(--sand) 45%, #e6dccc);
}

.cn_word {
    font-family: var(--font-obris);
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 19vw, 18rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgb(var(--neon-rgb) / 0.22);
    background: repeating-linear-gradient(to bottom, rgb(var(--neon-rgb) / 0.1) 0 2px, transparent 2px 9px);
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
    user-select: none;
}

.cn_waves {
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 18px;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.cnw {
    fill: none;
    stroke: var(--neon);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    animation: cnWave 9s linear infinite;
}

.cnw1 { stroke-opacity: 0.8; }
.cnw2 { stroke-opacity: 0.5;  animation-duration: 13s; animation-direction: reverse; }
.cnw3 { stroke-opacity: 0.28; animation-duration: 17s; }

@keyframes cnWave {
    to { transform: translateX(-360px); }
}

.cn_inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cn_anchor {
    width: 54px;
    height: auto;
    margin-bottom: 26px;
    overflow: visible;
    transform-origin: 50% 8%;
    animation: swing 4.2s ease-in-out infinite;
}

/* sjaj ispod sidra samo kao topla senka */
.cn_anchor use[filter] {
    opacity: 0.3;
}

@keyframes swing {
    0%, 100% { transform: rotate(-7deg); }
    50%      { transform: rotate(7deg); }
}

/* natpis u ramu, kao prozor na brodu */
.cn_sign {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: clamp(24px, 3.4vw, 40px) clamp(26px, 5vw, 64px) clamp(22px, 3vw, 34px);
    border: 2px solid var(--fg);
    border-radius: 26px;
    background: rgb(var(--paper-rgb) / 0.65);
    box-shadow: 0 30px 60px -40px rgb(var(--fg-rgb) / 0.55);
}

.cn_inner.is_in .cn_sign {
    animation: neonOn 1.6s linear 0.2s both;
}

.cn_small {
    color: var(--neon);
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.cn_big {
    color: var(--fg);
    font-size: clamp(2.6rem, 8.4vw, 7.2rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.cn_q {
    display: inline-block;
    color: var(--neon);
    animation: qFlicker 6s linear infinite;
}

@keyframes qFlicker {
    0%, 86%, 89%, 92%, 100% { opacity: 1; }
    87%, 90.5%              { opacity: 0.25; }
}

.cn_text {
    max-width: 480px;
    margin: 30px auto 32px;
    color: rgb(var(--fg-rgb) / 0.66);
    font-size: 1rem;
    line-height: 1.7;
}

.cn_btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}


/* ==========================================================
   RESPONSIVE (zajedničke komponente)
   ========================================================== */
@media (max-width: 1100px) {
    .tcards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* treća kartica ide preko cele širine: slika levo, tekst desno */
    .tcard:last-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    /* ovde je kosa desna ivica slike (gore šira, dole uža), linija ide uz nju */
    .tcard:last-child .tcard_art {
        aspect-ratio: auto;
        min-height: 260px;
        clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
    }

    .tcard:last-child .tcard_body {
        padding-left: 22px;
    }

    .tcard:last-child .tcard_body::before {
        top: 0;
        bottom: 0;
        right: auto;
        left: calc(var(--slant) * -1);
        width: var(--slant);
        height: auto;
    }

    .wr_stops {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 52px;
    }

    .wr_track {
        display: none;
    }

    .why_compass {
        opacity: 0.35;
    }
}

@media (max-width: 900px) {
    .why_compass {
        display: none;
    }
}

@media (max-width: 700px) {
    .marquee {
        height: 120px;
        margin-top: -36px;
    }

    .mq_group {
        gap: 20px;
        padding-right: 20px;
    }

    .tcards {
        grid-template-columns: 1fr;
    }

    .tcard:last-child {
        display: flex;
    }

    .tcard:last-child .tcard_art {
        aspect-ratio: 360 / 220;
        min-height: 0;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
    }

    .tcard:last-child .tcard_body {
        padding-left: 26px;
    }

    .tcard:last-child .tcard_body::before {
        top: calc(var(--slant) * -1);
        bottom: auto;
        right: 0;
        left: 0;
        width: auto;
        height: var(--slant);
    }

    /* ruta postaje vertikalna: čvor levo, tekst desno */
    .wr_stops {
        grid-template-columns: 1fr;
        row-gap: 34px;
    }

    .wr_stop {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        column-gap: 20px;
        align-items: start;
        text-align: left;
    }

    .wr_stop:not(:last-child)::before {
        content: "";
        position: absolute;
        left: 28px;
        top: 58px;
        bottom: -34px;
        width: 2px;
        background: repeating-linear-gradient(to bottom, rgb(var(--neon-rgb) / 0.55) 0 8px, transparent 8px 16px);
    }

    .wr_node {
        width: 58px;
        height: 58px;
        margin: 0;
        font-size: 1.1rem;
    }

    .wr_stop p {
        max-width: none;
        margin: 0;
    }

    .cn_sign {
        border-radius: 20px;
    }
}

/* Ko ne voli animacije: sve stoji, sadržaj je odmah vidljiv */
@media (prefers-reduced-motion: reduce) {
    .marquee *,
    .sec *,
    .sec *::before,
    .sec *::after,
    .cta_neon *,
    .cta_neon *::before,
    .cta_neon *::after {
        animation: none !important;
        transition: none !important;
    }

    .js [data-reveal] {
        opacity: 1;
        translate: none;
        transition: none;
    }
}
