/*
 * TippyTaps v2 — "Pre partnerov" (design/Partneri.dc.html). Loaded only where
 * tt_v2() is on, for this page only (inc/enqueue.php, v2-{context}.css). The
 * markup is the tt_v2() branch of page-pre-partnerov.php; the old branch keeps
 * page-pre-partnerov.css, which still loads underneath (see the form block).
 *
 * Every rule starts with `body.tt-v2` — see the header of v2.css for why.
 * Hover only inside @media (hover:hover); tt.js drives the data-fx hovers.
 */

/* ---------- shell ---------- */
body.tt-v2 .v2-pp-hero,
body.tt-v2 .v2-pp-sec{ max-width:1360px; margin:0 auto; padding:clamp(48px,7vw,96px) clamp(16px,3vw,40px) 0; box-sizing:border-box; }
body.tt-v2 .v2-pp-sec[id]{ scroll-margin-top:100px; }

/* ---------- shared bits (pills, kicker, headings) ---------- */
body.tt-v2 .v2-pills{ display:flex; gap:10px; flex-wrap:wrap; }
body.tt-v2 .v2-pill{ padding:8px 16px; border:1px solid var(--green); border-radius:999px; color:var(--green-ink);
  font-size:14px; font-weight:600; line-height:1.3; }
body.tt-v2 .v2-pill--lime{ padding:8px 14px; border-color:var(--lime); background:var(--lime); color:var(--ink); font-size:13px; font-weight:700; }
body.tt-v2 .v2-lead{ margin:0; font-size:18px; line-height:1.6; color:var(--ink-2); max-width:560px; text-wrap:pretty; }
body.tt-v2 .v2-kick{ display:block; font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--green-ink); }
body.tt-v2 .v2-kick--lime{ color:var(--lime); }
body.tt-v2 .v2-h2{ margin:10px 0 0; font-family:var(--disp); font-weight:500; font-size:clamp(40px,5.4vw,80px);
  line-height:.95; letter-spacing:-.05em; color:var(--ink); }
body.tt-v2 .v2-shead{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:20px 40px; margin-bottom:36px; }
body.tt-v2 .v2-shead > p{ margin:0; max-width:380px; font-size:17px; line-height:1.55; color:var(--ink-2); }

/* ---------- buttons ---------- */
body.tt-v2 .v2-btn{ display:inline-flex; align-items:center; gap:12px; padding:19px 28px; border-radius:var(--tt-r-btn); font-weight:700; font-size:17px;
  line-height:1.2; text-decoration:none; transition:background .2s, color .2s; }
body.tt-v2 .v2-btn--green{ background:var(--green); color:var(--surface); }
body.tt-v2 .v2-btn--line{ padding:19px 26px; border:1.5px solid var(--ink); color:var(--ink); }
body.tt-v2 .v2-btn__ar{ display:flex; transition:translate .3s; }
body.tt-v2 .v2-btn__ar svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
@media (hover:hover){
  body.tt-v2 .v2-btn--green:hover{ background:var(--green-ink); color:var(--surface); }
  body.tt-v2 .v2-btn--line:hover{ background:var(--ink); color:var(--bg); }
}

/* ---------- hero ---------- */
body.tt-v2 .v2-pp-hero{ padding-top:clamp(28px,5vw,64px); display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,500px),1fr)); gap:clamp(28px,4vw,56px); align-items:center; }
body.tt-v2 .v2-pp-hero__text{ display:flex; flex-direction:column; gap:24px; min-width:0; }
body.tt-v2 .v2-pp-sub{ font-size:14px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
body.tt-v2 .v2-pp-h1{ margin:0; font-family:var(--disp); font-weight:500; font-size:clamp(44px,6vw,92px); line-height:.92;
  letter-spacing:-.05em; text-wrap:balance; color:var(--ink); max-width:none; }
body.tt-v2 .v2-pp-h1 span{ color:var(--green); }
body.tt-v2 .v2-pp-cta{ display:flex; flex-wrap:wrap; gap:10px; }

/* Arched photo that tilts with the cursor, two floating facts. */
body.tt-v2 .v2-pp-visual{ position:relative; min-height:clamp(420px,44vw,580px); min-width:0; }
body.tt-v2 .v2-pp-visual__arch{ position:absolute; inset:0 0 40px 10%; border-radius:280px 280px var(--tt-r) var(--tt-r); overflow:hidden;
  background:var(--tt-yellow); transition:transform .4s; }
body.tt-v2 .v2-pp-visual__arch img{ position:absolute; inset:-20px; width:calc(100% + 40px); height:calc(100% + 40px); object-fit:cover;
  max-width:none; transition:translate .4s; }
body.tt-v2 .v2-pp-badge{ position:absolute; border-radius:var(--tt-r); padding:16px 20px; box-shadow:0 24px 40px -22px rgba(21,52,39,.45); transition:translate .4s; }
body.tt-v2 .v2-pp-badge--a{ left:0; top:18%; background:var(--surface); }
body.tt-v2 .v2-pp-badge--b{ right:0; bottom:8%; background:var(--forest); color:var(--bg); }
body.tt-v2 .v2-pp-badge__k{ font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
body.tt-v2 .v2-pp-badge--b .v2-pp-badge__k{ color:var(--lime); }
body.tt-v2 .v2-pp-badge__v{ font-family:var(--disp); font-weight:700; letter-spacing:-.03em; line-height:1.1; font-size:28px; }
body.tt-v2 .v2-pp-badge--a .v2-pp-badge__v{ font-size:40px; letter-spacing:-.04em; line-height:1; color:var(--green); }

/* ---------- what you get (counters) ---------- */
body.tt-v2 .v2-pp-get{ margin:0 0 20px; font-family:var(--disp); font-weight:500; font-size:28px; letter-spacing:-.03em; color:var(--ink); }
body.tt-v2 .v2-pp-stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:12px; }
body.tt-v2 .v2-pp-stat{ background:var(--surface); border-radius:var(--tt-r); padding:24px; }
body.tt-v2 .v2-pp-stat.is-lime{ background:var(--lime); }
body.tt-v2 .v2-pp-stat__n{ font-family:var(--disp); font-size:56px; font-weight:700; letter-spacing:-.05em; line-height:1; color:var(--ink); }
body.tt-v2 .v2-pp-stat__n.is-green{ color:var(--green); }
body.tt-v2 .v2-pp-stat.is-lime .v2-pp-stat__n{ color:var(--forest); }
body.tt-v2 .v2-pp-stat__l{ margin-top:8px; font-size:16px; line-height:1.4; color:var(--ink-2); }
body.tt-v2 .v2-pp-stat.is-lime .v2-pp-stat__l{ color:#24331a; }

/* ---------- benefits ---------- */
body.tt-v2 .v2-pp-sec .v2-shead{ margin-bottom:32px; }
body.tt-v2 .v2-pp-perks{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:14px; }
body.tt-v2 .v2-pp-perk{ position:relative; background:var(--surface); border-radius:var(--tt-r); padding:28px; display:flex; flex-direction:column;
  gap:12px; overflow:hidden; min-height:250px; box-sizing:border-box; transition:background .3s; }
body.tt-v2 .v2-pp-perk__ic{ width:56px; height:56px; border-radius:18px; background:#e3f1ea; color:var(--green-ink); display:grid; place-items:center;
  transition:all .4s var(--tt-spring); }
body.tt-v2 .v2-pp-perk__ic svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
body.tt-v2 .v2-pp-perk h3{ margin:8px 0 0; font-family:var(--disp); font-weight:500; font-size:26px; letter-spacing:-.03em; line-height:1.1; color:var(--ink); }
body.tt-v2 .v2-pp-perk p{ margin:0; font-size:16px; line-height:1.55; color:#3a4a40; }
body.tt-v2 .v2-pp-perk__pic{ position:absolute; right:18px; top:18px; width:64px; height:64px; border-radius:50%; object-fit:cover;
  border:4px solid var(--surface); translate:0 -110px; transition:translate .55s var(--tt-spring), rotate .55s; }

/* ---------- steps ---------- */
body.tt-v2 .v2-pp-howhead{ margin-bottom:32px; }
body.tt-v2 .v2-pp-howhead p{ margin:14px 0 0; font-size:17px; line-height:1.5; color:var(--ink-2); }
body.tt-v2 .v2-pp-steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:14px; }
body.tt-v2 .v2-pp-step{ border-top:1.5px solid var(--ink); padding-top:20px; display:flex; flex-direction:column; gap:10px; }
body.tt-v2 .v2-pp-step__n{ font-family:var(--disp); font-weight:500; font-size:64px; letter-spacing:-.05em; line-height:1; color:rgba(24,39,31,.2);
  transition:color .3s, translate .4s; }
body.tt-v2 .v2-pp-step h3{ margin:0; font-family:var(--disp); font-weight:500; font-size:26px; letter-spacing:-.03em; line-height:1.1; color:var(--ink); }
body.tt-v2 .v2-pp-step p{ margin:0; font-size:16px; line-height:1.55; color:var(--ink-2); }

/* ---------- price + form ---------- */
body.tt-v2 .v2-pp-join{ display:flex; flex-wrap:wrap; gap:20px; align-items:flex-start; }
body.tt-v2 .v2-pp-join .v2-formcard{ flex:2 1 520px; }
body.tt-v2 .v2-pp-price{ flex:1 1 340px; min-width:0; box-sizing:border-box; background:var(--forest); color:var(--bg); border-radius:var(--tt-r);
  padding:clamp(28px,4vw,44px); display:flex; flex-direction:column; gap:18px; position:relative; overflow:hidden; }
body.tt-v2 .v2-pp-price__big{ font-family:var(--disp); font-weight:500; font-size:120px; letter-spacing:-.06em; line-height:.85; color:var(--lime); }
body.tt-v2 .v2-pp-price > p{ margin:0; font-size:16px; line-height:1.5; color:rgba(242,238,228,.8); }
body.tt-v2 .v2-pp-price ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
body.tt-v2 .v2-pp-price li{ display:flex; gap:12px; align-items:flex-start; line-height:1.45; }
body.tt-v2 .v2-pp-price__ok{ flex:none; width:24px; height:24px; border-radius:50%; background:var(--lime); color:var(--forest); display:grid; place-items:center; }
body.tt-v2 .v2-pp-price__ok svg{ width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:3.4; stroke-linecap:round; stroke-linejoin:round; }
body.tt-v2 .v2-pp-price__btn{ align-self:flex-start; margin-top:8px; padding:16px 24px; border-radius:var(--tt-r-btn); background:var(--lime); color:var(--forest);
  font-weight:700; text-decoration:none; transition:background .2s; }
@media (hover:hover){
  body.tt-v2 .v2-pp-price__btn:hover{ background:var(--surface); color:var(--forest); }
}

/* ---------- form card ----------
   The <form> markup is the old one, verbatim (the page JS binds to its ids and
   classes), so these rules restyle the old classes: .form, .field, .frow,
   .topics/.topic, .consent, .send, .sent. The page's old stylesheet still loads
   underneath them; every property it sets that the design does not want is
   reset here. JS state: .field.err, .topic.on, .sent.show, .form-fail[hidden]. */
body.tt-v2 .v2-formcard{ background:var(--surface); border-radius:var(--tt-r); padding:clamp(24px,4vw,44px); display:flex; flex-direction:column;
  gap:20px; min-width:0; box-sizing:border-box; scroll-margin-top:100px; }
body.tt-v2 .v2-formcard__head h2{ margin:8px 0 0; font-family:var(--disp); font-weight:500; font-size:clamp(32px,3.6vw,48px);
  letter-spacing:-.045em; line-height:1; color:var(--ink); }
body.tt-v2 .v2-formcard__head p{ margin:10px 0 0; font-size:16px; line-height:1.5; color:var(--ink-2); }

body.tt-v2 .v2-formcard .form{ background:transparent; border:0; border-radius:0; padding:0; position:relative; }
body.tt-v2 .v2-formcard .frow{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:0 14px; }
body.tt-v2 .v2-formcard .field{ display:flex; flex-direction:column; gap:6px; margin:0 0 16px; min-width:0; }
body.tt-v2 .v2-formcard .field label{ font-size:14px; font-weight:700; color:var(--ink); }
body.tt-v2 .v2-formcard .field label .req{ color:inherit; }
body.tt-v2 .v2-formcard .field input,
body.tt-v2 .v2-formcard .field select,
body.tt-v2 .v2-formcard .field textarea{ width:100%; box-sizing:border-box; padding:15px 16px; border-radius:var(--tt-r-btn); background-color:var(--bg);
  border:1.5px solid rgba(24,39,31,.1); font-family:inherit; font-size:16px; font-weight:400; color:var(--ink); box-shadow:none;
  transition:border-color .2s, box-shadow .2s; }
body.tt-v2 .v2-formcard .field textarea{ min-height:118px; resize:vertical; }
body.tt-v2 .v2-formcard .field input::placeholder,
body.tt-v2 .v2-formcard .field textarea::placeholder{ color:#8a968e; }
body.tt-v2 .v2-formcard .field input:focus,
body.tt-v2 .v2-formcard .field select:focus,
body.tt-v2 .v2-formcard .field textarea:focus{ outline:none; border-color:var(--green); box-shadow:0 0 0 3px rgba(47,158,112,.16); }
body.tt-v2 .v2-formcard .field.err input,
body.tt-v2 .v2-formcard .field.err select,
body.tt-v2 .v2-formcard .field.err textarea{ border-color:var(--pop); background-color:var(--bg); }
body.tt-v2 .v2-formcard .field .msg{ font-size:13px; font-weight:500; color:#c94e2a; }

body.tt-v2 .v2-formcard .topics{ display:flex; flex-wrap:wrap; gap:6px; }
body.tt-v2 .v2-formcard .topic{ padding:11px 18px; border-radius:var(--tt-r-btn); border:1.5px solid rgba(24,39,31,.15); background:transparent;
  color:var(--ink); font-family:inherit; font-size:15px; font-weight:600; line-height:1.2; cursor:pointer; transition:all .2s; }
body.tt-v2 .v2-formcard .topic.on{ background:var(--ink); border-color:var(--ink); color:var(--bg); }

/* The real checkbox, drawn as the design's rounded box. */
body.tt-v2 .v2-formcard .consent{ display:flex; gap:12px; align-items:flex-start; margin:4px 0 20px; font-size:15px; line-height:1.45;
  font-weight:400; color:var(--ink); cursor:pointer; }
body.tt-v2 .v2-formcard .consent input{ -webkit-appearance:none; appearance:none; flex:none; width:22px; height:22px; margin:1px 0 0;
  border-radius:7px; border:1.5px solid rgba(24,39,31,.3); background:transparent center/12px no-repeat; cursor:pointer;
  transition:background-color .2s, border-color .2s; }
body.tt-v2 .v2-formcard .consent input:checked{ background-color:var(--green); border-color:var(--green);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF9F3' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
body.tt-v2 .v2-formcard .consent input:focus-visible{ outline:2px solid var(--green); outline-offset:3px; }

body.tt-v2 .v2-formcard .form .send{ width:auto; padding:18px 30px; border:0; border-radius:var(--tt-r-btn); background:var(--green); color:var(--surface);
  font-family:inherit; font-size:17px; font-weight:700; cursor:pointer; transition:background .2s; }
body.tt-v2 .v2-formcard .form .send:disabled{ opacity:.55; cursor:default; }
body.tt-v2 .v2-formcard .form-fail{ margin:0 0 16px; padding:12px 16px; border-radius:16px; background:#fbe3da; color:#9b2f12; font-size:15px; }

/* Success: Ťapko beside the message. Only .show displays it (old rule). */
body.tt-v2 .v2-formcard .sent.show{ flex-direction:row; flex-wrap:wrap; align-items:center; gap:24px; padding:20px 0; text-align:left; }
body.tt-v2 .v2-formcard .sent .v2-tapko{ --s:.75; }
body.tt-v2 .v2-sent__text{ flex:1 1 260px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
body.tt-v2 .v2-formcard .sent h3{ margin:0; font-family:var(--disp); font-weight:500; font-size:36px; letter-spacing:-.04em; line-height:1.05; color:var(--ink); }
body.tt-v2 .v2-formcard .sent p{ margin:0; max-width:none; font-size:16px; font-weight:400; line-height:1.55; color:var(--ink-2); }
body.tt-v2 .v2-formcard .sent .btn{ padding:12px 20px; border-radius:var(--tt-r-btn); border:1.5px solid var(--ink); background:transparent; color:var(--ink);
  font-family:inherit; font-size:15px; font-weight:700; cursor:pointer; transition:background .2s, color .2s; }

@media (hover:hover){
  body.tt-v2 .v2-formcard .topic:not(.on):hover{ border-color:var(--ink); }
  body.tt-v2 .v2-formcard .form .send:not(:disabled):hover{ background:var(--green-ink); }
  body.tt-v2 .v2-formcard .sent .btn:hover{ background:var(--ink); color:var(--bg); }
}

/* ---------- FAQ ----------
   <details>, so it opens without JS; the round "+" turns into "×" when open. */
body.tt-v2 .v2-faq details{ border-top:1.5px solid var(--ink); background:transparent; border-radius:0; }
body.tt-v2 .v2-faq summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:22px 0; font-family:var(--disp); font-weight:500; font-size:clamp(20px,2.2vw,26px); letter-spacing:-.02em; line-height:1.2; color:var(--ink); }
body.tt-v2 .v2-faq summary::-webkit-details-marker{ display:none; }
body.tt-v2 .v2-faq summary::marker{ content:""; }
body.tt-v2 .v2-faq__pm{ flex:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--surface);
  color:var(--ink); transition:all .3s; }
body.tt-v2 .v2-faq__pm svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
body.tt-v2 .v2-faq details[open] .v2-faq__pm{ background:var(--green); color:var(--surface); rotate:45deg; }
body.tt-v2 .v2-faq__a{ margin:0 0 22px; padding:0; max-width:720px; font-size:17px; line-height:1.6; color:var(--ink-2); }
@media (hover:hover){
  body.tt-v2 .v2-faq summary:hover .v2-faq__pm{ background:var(--lime); }
  body.tt-v2 .v2-faq details[open] summary:hover .v2-faq__pm{ background:var(--green-ink); }
}
body.tt-v2 .v2-pp-faqsec{ max-width:1000px; }
body.tt-v2 .v2-faq__h{ margin:0 0 20px; font-family:var(--disp); font-weight:500; font-size:clamp(32px,3.6vw,48px); letter-spacing:-.045em;
  line-height:1; color:var(--ink); }

/* ---------- Ťapko (design/Tapko.dc.html) ----------
   A 200px stage scaled by --s, as in the design, so the toe offsets stay in the
   design's own pixels. The toes hop with a stagger on hover (data-fx). */
body.tt-v2 .v2-tapko{ --s:1; --tk:var(--green); --tk-ink:var(--surface); position:relative; flex:none;
  width:calc(200px * var(--s)); height:calc(200px * var(--s)); }
body.tt-v2 .v2-tapko__in{ position:absolute; left:0; top:0; width:200px; height:200px; transform:scale(var(--s)); transform-origin:0 0;
  display:grid; place-items:center; cursor:pointer; }
body.tt-v2 .v2-tapko__look{ transition:transform .5s cubic-bezier(.2,.8,.2,1); }
body.tt-v2 .v2-tapko__tile{ position:relative; width:170px; height:170px; border-radius:48px; background:var(--tk);
  box-shadow:0 30px 40px -24px rgba(21,52,39,.55), inset 0 -8px 0 rgba(0,0,0,.1);
  transition:scale .4s cubic-bezier(.3,1.8,.5,1), border-radius .4s; }
body.tt-v2 .v2-tapko__toe,
body.tt-v2 .v2-tapko__pad{ position:absolute; border-radius:50%; background:var(--tk-ink); }
body.tt-v2 .v2-tapko__toe{ transition:translate .4s cubic-bezier(.3,1.9,.5,1); }
body.tt-v2 .v2-tapko__toe--1{ left:23px; top:62px; width:29px; height:29px; }
body.tt-v2 .v2-tapko__toe--2{ left:48px; top:32px; width:32px; height:32px; transition-delay:.05s; }
body.tt-v2 .v2-tapko__toe--3{ left:90px; top:32px; width:32px; height:32px; transition-delay:.1s; }
body.tt-v2 .v2-tapko__toe--4{ left:118px; top:62px; width:29px; height:29px; transition-delay:.15s; }
body.tt-v2 .v2-tapko__pad{ left:50px; top:79px; width:70px; height:58px; }

/* Two plans (page-pre-partnerov.php, only where the cabinet is open): the free one
   light, the subscription on the forest panel the price card already uses. */
body.tt-v2 .v2-pp-plans{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:32px; }
body.tt-v2 .v2-pp-plan{ display:flex; flex-direction:column; gap:18px; padding:clamp(24px,3vw,40px); border-radius:var(--tt-r);
  background:var(--surface); color:var(--ink); box-sizing:border-box; }
body.tt-v2 .v2-pp-plan.is-paid{ background:var(--forest); color:var(--bg); }
body.tt-v2 .v2-pp-plan__name{ font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--green-ink); }
body.tt-v2 .v2-pp-plan.is-paid .v2-pp-plan__name{ color:var(--lime); }
body.tt-v2 .v2-pp-plan__price{ font-family:var(--disp); font-weight:500; font-size:clamp(48px,6vw,80px); letter-spacing:-.05em; line-height:.9; }
body.tt-v2 .v2-pp-plan.is-paid .v2-pp-plan__price{ color:var(--lime); }
body.tt-v2 .v2-pp-plan ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; flex:1; }
body.tt-v2 .v2-pp-plan li{ display:flex; gap:12px; align-items:flex-start; line-height:1.45; }
body.tt-v2 .v2-pp-plan:not(.is-paid) .v2-pp-price__ok{ background:var(--green); color:#fff; }
body.tt-v2 .v2-pp-plan > a{ align-self:flex-start; }
@media (max-width:760px){
  body.tt-v2 .v2-pp-plans{ grid-template-columns:minmax(0,1fr); }
}
