/* Planer vjenčanja — sales page. Loads after styles.css. */

/* Hero */
.p-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.p-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.p-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.p-hero__shot { position: relative; }
.p-hero__shot .frame { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; transition: transform .8s var(--ease-out); }
.p-hero__shot .hero-video { transform: perspective(1800px) rotateY(-4deg); transform-origin: left center; transition: transform .8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .p-hero__shot:hover .hero-video { transform: none; } }
@media (hover: hover) and (pointer: fine) { .p-hero__shot:hover .frame { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); } }
.p-hero__chip1 { left: -28px; bottom: 18%; }
.p-hero__chip2 { right: -12px; top: 12%; }

/* Module strip */
.strip { background: var(--malina); color: #fff; font-size: clamp(18px, 2vw, 24px); font-weight: 800; letter-spacing: -0.01em; }
.strip .marquee { padding: 18px 0; }
.strip .marquee__track { animation-duration: 45s; gap: 40px; padding-left: 40px; }
.strip .marquee__track span { gap: 40px; }

/* 01 Problem */
.p-problem__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.p-problem__note { display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: var(--text-2); padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--roza-line); }
.p-problem__punch { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--text); }

/* 02 Compare */
.compare { max-width: 1000px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.compare__row { display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1.3fr); }
.compare__row > span { padding: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
.compare__row--head > span { border-top: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.compare__row--head > span:last-child { color: #fff; }
.compare__row > span:first-child { font-weight: 700; color: #fff; }
.compare__row > span:nth-child(2) { color: var(--on-dark-3); text-decoration: line-through; text-decoration-color: rgba(255, 111, 168, .7); }
.compare__row > span:nth-child(3) { background: rgba(194, 24, 91, .16); color: #fff; font-weight: 500; }
.compare__row--head > span:nth-child(3) { background: var(--malina); }

/* 03 Tour */
.tour { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.tour__canvas { position: relative; }
.pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--malina); color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 5px rgba(194, 24, 91, .25), 0 6px 14px rgba(0, 0, 0, .25);
}
.pin--static { position: static; transform: none; flex: none; }
.tour__legend { display: flex; flex-direction: column; }
.tour__legend li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--roza-line); }
.tour__legend li:last-child { border-bottom: 1px solid var(--roza-line); }
.tour__legend h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin: 1px 0 4px; }
.tour__legend p { font-size: 16px; color: var(--text-2); }
.tour__note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* 04 Modules */
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: mod; }
.mod {
  position: relative; background: #fff; border: 1px solid var(--roza-line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s ease;
}
.mod::after { counter-increment: mod; content: "0" counter(mod); position: absolute; top: 22px; right: 22px; font-size: 13px; font-weight: 800; color: var(--roza-line); }
@media (hover: hover) and (pointer: fine) {
  .mod:hover { transform: translateY(-4px); border-color: var(--malina); box-shadow: 0 20px 40px -20px rgba(194, 24, 91, .45); }
}
.mod svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--roza-2); fill: none; stroke: var(--malina); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mod h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.mod p { font-size: 15px; color: var(--text-2); line-height: 1.55; }
.mods__extra { margin-top: 28px; font-size: 17px; color: var(--text-2); }

/* 05 Rites */
.p-rites__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; }
.p-rites__inner > div { display: flex; flex-direction: column; gap: 20px; }
.label--white { color: #fff !important; opacity: .85; }
.p-rites__text { font-size: 19px; color: rgba(255, 255, 255, .88); max-width: 52ch; }
.p-rites__list { display: flex; flex-direction: column; gap: 12px; }
.p-rites__list li {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 16px; padding: 18px 22px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
}
.p-rites__list li::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2185B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* 06 Fit */
.fit { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.fit__yes, .fit__no { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.fit h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.fit__yes { background: var(--tinta); color: #fff; }
.fit__no { background: var(--roza); border: 1px solid var(--roza-line); }

/* 07 Price */
.offer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.offer__left { background: var(--tinta-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.offer__left h3 { font-size: 22px; font-weight: 800; }
.offer__left .vlist li { font-size: 16px; }
.offer__card {
  position: relative;
  background: #fff; color: var(--text);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  box-shadow: 0 0 0 4px var(--malina), 0 40px 80px -30px rgba(224, 33, 138, .6);
}
.offer__name { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--malina); }
.offer__card .price { justify-content: center; }
.offer__cta { width: 100%; margin-top: 8px; }
.offer__facts { justify-content: center; color: var(--text-2) !important; }
.offer__pay { font-size: 14px; color: var(--text-3); }

.guarantee {
  max-width: 1040px; margin: 20px auto 0;
  display: flex; gap: 22px; align-items: center;
  background: var(--tinta-2); border: 1px dashed rgba(255, 111, 168, .5); border-radius: var(--radius);
  padding: 26px 30px;
}
.guarantee[hidden] { display: none; }
.guarantee svg { width: 56px; height: 56px; flex: none; fill: none; stroke: #FF6FA8; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.guarantee h3 { font-size: 20px; font-weight: 800; color: #fff; }
.guarantee p { color: var(--on-dark-2); }

/* 08 Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--roza-line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.steps__n { width: 48px; height: 48px; border-radius: 14px; background: var(--malina); color: #fff; font-size: 22px; font-weight: 800; display: grid; place-content: center; margin-bottom: 8px; }
.steps h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.steps p { color: var(--text-2); font-size: 16px; }

/* Final */
.p-final .display { max-width: 16ch; margin: 0 auto; }
.checks-row--white { justify-content: center; color: #fff !important; }
.checks-row--white li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2185B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

/* Responsive */
@media (max-width: 1020px) {
  .p-hero__grid { grid-template-columns: 1fr; }
  .p-hero__shot .frame { transform: none; }
  .p-hero__shot .hero-video { transform: none; }
  .p-hero__chip1 { left: 8px; bottom: -18px; }
  .p-hero__chip2 { right: 8px; top: -14px; }
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour, .p-problem__grid, .p-rites__inner, .fit, .offer { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .tour__canvas .pin { display: none; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__row--head { display: none; }
  .compare__row > span { padding: 10px 18px; border-top: 0; }
  .compare__row > span:first-child { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #FF6FA8; }
  .compare__row > span:nth-child(2)::before { content: "Bez planera: "; text-decoration: none; display: inline; }
  .compare__row > span:nth-child(3) { margin: 0 12px 14px; border-radius: 12px; }
  .steps { grid-template-columns: 1fr; }
  .p-hero__chip2 { display: none; }
}
@media (max-width: 480px) {
  .mods { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .p-hero__shot .frame, .mod { transition: none; }
}
.offer__until { font-size: 14px; font-weight: 600; color: var(--malina); background: var(--roza); padding: 6px 12px; border-radius: 10px; }
.offer__until[hidden] { display: none; }
.annbar__offer s { opacity: .7; }

/* ---------- Mobile polish (sales page) ---------- */
@media (max-width: 600px) {
  .p-hero { padding: 36px 0 56px; }
  .p-hero__copy { gap: 20px; }
  .p-hero__chip1 { left: 6px; bottom: -16px; font-size: 12px; }
  .p-problem__note { padding: 22px; }
  .p-problem__punch { font-size: 21px; }
  .tour { gap: 24px; }
  .mod { padding: 20px; }
  .offer__card { padding: 34px 20px 26px; }
  .guarantee { flex-direction: column; text-align: center; padding: 22px; }
  .p-rites__list li { font-size: 19px; padding: 16px 18px; }
  .steps li { padding: 24px 22px; }
}

/* Phones: show the price card first, the "what you get" list after it */
@media (max-width: 1020px) { .offer__card { order: -1; margin-top: 18px; } }

/* Demo call-out under the tour */
.tour__demo { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--roza); border: 1px solid var(--roza-line); border-radius: var(--radius); padding: 22px 26px; }
.tour__demo p { font-size: 17px; color: var(--text-2); max-width: 52ch; }
.tour__demo strong { color: var(--text); }
@media (max-width: 600px) { .tour__demo { padding: 20px; } .tour__demo .btn { width: 100%; } }

/* 03 Tour: laptop + phone with the real planner */
.devices { position: relative; padding: 0 0 6% 0; }
.devices figure { margin: 0; }
.devices .laptop { width: 83%; margin-left: 5.5%; position: relative; z-index: 1; }
.laptop__lid {
  background: #1D1D1F; border-radius: 16px 16px 6px 6px; padding: 2.2% 2.2% 3%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 18px 40px -20px rgba(194, 24, 91, .35);
}
.laptop__screen { border-radius: 6px; overflow: hidden; background: #F1E8D8; }
.laptop__screen img { display: block; width: 100%; height: auto; }
.laptop__base {
  position: relative; height: 0; padding-bottom: 3.2%; margin: 0 -7%;
  background: linear-gradient(#D9D9DE, #A9A9B0 70%, #8C8C93);
  border-radius: 2px 2px 14px 14px / 2px 2px 100% 100%;
  box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .45);
}
.laptop__base::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 16%; height: 40%; background: #9C9CA3; border-radius: 0 0 8px 8px;
}
.phone {
  position: absolute; right: 0; bottom: 0; z-index: 2; width: 23%;
  background: #1D1D1F; border-radius: 15% / 7%; padding: 2.4%;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 12px 30px -14px rgba(194, 24, 91, .4);
}
.phone::before {
  content: ""; position: absolute; left: 50%; top: 3.4%; transform: translateX(-50%); z-index: 1;
  width: 30%; height: 2.6%; background: #1D1D1F; border-radius: 999px;
}
.phone__screen { border-radius: 12% / 5.6%; overflow: hidden; aspect-ratio: 390 / 800; background: #F1E8D8; }
.phone__screen img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .laptop { width: 84%; }
  .phone { width: 30%; }
}
