/* Actovis Group · porezni kviz. Brand book 11/2024: navy #112347 + white, Open Sans. */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/open-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #112347;
  --navy-2: #1b3463;      /* hover step of the same hue */
  --navy-ink: #0b1830;    /* text on white */
  --body: #2c3648;
  --muted: #5a6478;
  --tint: #eef1f6;
  --line: #d8dee9;
  --white: #fff;
  --r: 14px;
  --sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--body); background: var(--white); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy-ink); line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.3vw, 50px); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(25px, 3vw, 36px); font-weight: 800; letter-spacing: -0.005em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.ic { width: 20px; height: 20px; flex: 0 0 20px; }

/* Topbar */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar__in { height: 76px; display: flex; align-items: center; }
.logo { height: 46px; width: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 14px 28px; border-radius: 10px; font: 700 17px/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s, transform .15s; }
.btn--solid { background: var(--navy); color: var(--white); }
.btn--solid:hover { background: var(--navy-2); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--tint); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .7; cursor: default; }

/* Hero */
.hero { background: var(--navy); color: #dfe5f0; padding: 56px 0 64px; }
.hero h1 { color: var(--white); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.hero__copy { padding-top: 18px; }
.hero__sub { margin-top: 20px; font-size: 19px; color: #dfe5f0; max-width: 60ch; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--white); font-weight: 600; }
.checks .ic { margin-top: 3px; color: var(--white); background: rgba(255,255,255,.14); border-radius: 50%; padding: 3px; width: 24px; height: 24px; flex-basis: 24px; }
.hero--slim { padding: 48px 0 44px; }
.hero--slim .hero__sub { max-width: 70ch; }

/* Quiz card */
.form-card { background: var(--white); color: var(--body); border-radius: 18px; padding: 28px; box-shadow: 0 24px 60px rgba(4, 12, 30, .35); scroll-margin-top: 16px; }
.quiz__head { margin-bottom: 18px; }
.quiz__title { font-weight: 800; color: var(--navy-ink); font-size: 20px; }
.quiz__meta { color: var(--muted); font-size: 15px; margin-top: 2px; }
.fprogress { height: 6px; background: var(--tint); border-radius: 6px; margin-top: 14px; overflow: hidden; }
.fprogress span { display: block; height: 100%; width: 12.5%; background: var(--navy); border-radius: 6px; transition: width .25s; }
.fq { font-size: 21px; font-weight: 700; margin-bottom: 16px; }
.opts { display: grid; gap: 10px; }
.opt { text-align: left; width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-ink); border-radius: 10px; font: 600 16px/1.35 var(--sans); cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--navy); background: var(--tint); }
.opt[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.back { margin-top: 14px; background: none; border: 0; padding: 6px 0; color: var(--muted); font: 600 15px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fld { display: block; margin-bottom: 12px; }
.fld span { display: block; font-size: 14px; font-weight: 700; color: var(--navy-ink); margin-bottom: 5px; }
.fld input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 16px var(--sans); color: var(--navy-ink); background: var(--white); }
.fld input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(17, 35, 71, .15); }
.fld input[aria-invalid="true"] { border-color: #b3261e; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); margin: 6px 0 12px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 20px; accent-color: var(--navy); }
.consent.attention { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.ferr { color: #b3261e; font-size: 14px; font-weight: 600; min-height: 0; margin-bottom: 8px; }
.ferr:empty { display: none; }
.fnote { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Sections */
.sec { padding: 80px 0; }
.sec--white { background: var(--white); }
.sec--tint { background: var(--tint); }
.sec__head { max-width: 860px; margin-bottom: 40px; }
.lead { margin-top: 16px; font-size: 18px; max-width: 78ch; }
.lead--strong { font-weight: 700; color: var(--navy-ink); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.sec--white .card { background: var(--tint); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card__num { display: inline-block; font-weight: 800; color: var(--navy); font-size: 15px; letter-spacing: .04em; margin-bottom: 12px; border-bottom: 2px solid var(--navy); }
.grid3--list { gap: 30px 34px; }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ben { display: flex; gap: 14px; align-items: flex-start; }
.ben .ic { color: var(--white); background: var(--navy); border-radius: 50%; padding: 4px; width: 28px; height: 28px; flex-basis: 28px; margin-top: 1px; }
.ben h3 { margin-bottom: 6px; }

/* Process + photo */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split__img { margin: 0; }
.split__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.split__img figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; }
.steps__n { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.steps h3 { align-self: center; }
.note { margin-top: 22px; color: var(--muted); font-size: 15px; }

/* Who */
.who { text-align: center; }
.who .lead { margin-left: auto; margin-right: auto; }
.who__list { margin-top: 22px; font-weight: 700; color: var(--navy-ink); font-size: 18px; }

/* FAQ */
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 26px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; color: var(--navy-ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--navy); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 20px 18px; }

/* Final band + footer */
.band { background: var(--navy); padding: 64px 0; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band h2 { color: var(--white); max-width: 30ch; }
.foot { background: var(--navy-ink); color: #b9c3d6; padding: 36px 0; font-size: 15px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot__logo { height: 34px; width: auto; margin-right: auto; }
.foot a { color: #e3e8f2; }

/* Result (/hvala/) */
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tips + .tips { margin-top: 20px; }
.tip { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; padding: 24px; }
.tip h3 { margin-bottom: 8px; }
.tips--us .tip { background: var(--navy); border-color: var(--navy); color: #dfe5f0; }
.tips--us .tip h3 { color: var(--white); }
.tips__end { margin-top: 32px; font-size: 18px; font-weight: 600; color: var(--navy-ink); max-width: 78ch; }

/* Legal */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal ul { margin: 0 0 12px; }
.muted { color: var(--muted); }

/* Floating mobile CTA */
.mcta { display: none; }

@media (max-width: 960px) {
  .hero__in, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero__copy { padding-top: 0; }
  .grid3, .grid4 { grid-template-columns: 1fr 1fr; }
  .band__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .topbar__in { height: 64px; }
  .logo { height: 38px; }
  .hero { padding: 32px 0 40px; }
  .hero__sub { font-size: 17px; margin-top: 14px; }
  .checks { margin-top: 20px; gap: 10px; }
  .form-card { padding: 20px 18px; border-radius: 14px; }
  .fq { font-size: 19px; }
  .sec { padding: 56px 0; }
  .sec__head { margin-bottom: 28px; }
  .grid3, .grid4, .tips { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .band { padding: 48px 0 112px; }
  .band .btn { width: 100%; }
  .foot { padding-bottom: 100px; }
  .foot__logo { margin-right: 0; width: auto; }
  .page-hvala .foot { padding-bottom: 36px; }
  .mcta { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -6px 20px rgba(4,12,30,.12); z-index: 50; transition: transform .25s; }
  .mcta[data-tucked="1"] { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* Round 2 (26.10.): 3-step row, services list, fit list, switch block */
.steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 0; }
.steps--row li { align-content: start; }
.steps--row h3 { align-self: start; min-height: 38px; display: flex; align-items: center; }
.svc, .fit__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.svc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
.svc li, .fit__list li { display: flex; gap: 12px; align-items: flex-start; }
.svc strong { color: var(--navy-ink); }
.svc .ic, .fit__list .ic { color: var(--white); background: var(--navy); border-radius: 50%; padding: 4px; width: 26px; height: 26px; flex-basis: 26px; margin-top: 1px; }
.fit { max-width: 860px; }
.fit .lead { margin: 12px 0 20px; font-weight: 700; color: var(--navy-ink); }
.fit__list li { font-size: 18px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.switch .lead { margin-top: 10px; }
.band__sub { margin-top: 12px; color: #dfe5f0; font-size: 18px; max-width: 60ch; }
@media (max-width: 960px) {
  .steps--row { grid-template-columns: 1fr; gap: 22px; }
  .switch { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .svc { grid-template-columns: 1fr; }
  .switch .btn { width: 100%; }
}
/* Round 3 (26.10.): hero offer badge */
.badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--white); color: var(--navy-ink); font-weight: 800; font-size: 18px; box-shadow: 0 8px 24px rgba(4,12,30,.25); }
.badge__pct { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 18px; font-weight: 800; }
@media (max-width: 720px) { .badge { font-size: 16px; margin-top: 18px; } .badge__pct { width: 32px; height: 32px; font-size: 16px; } }
/* Round 4 (26.10.): centred section heads, new-client offer box */
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head--center .lead { margin-left: auto; margin-right: auto; }
.offer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 36px; background: var(--navy); color: #dfe5f0; border-radius: 18px; padding: 40px 44px; }
.offer__pct { font-size: clamp(56px, 6vw, 84px); font-weight: 800; line-height: 1; color: var(--white); letter-spacing: -0.02em; }
.offer h2 { color: var(--white); }
.offer .lead { color: #dfe5f0; margin-top: 10px; }
.offer .lead strong { color: var(--white); }
@media (max-width: 960px) { .offer { grid-template-columns: 1fr; gap: 18px; padding: 32px 26px; } }
@media (max-width: 720px) { .offer .btn { width: 100%; } }
/* Round 5 (26.10.): big photo hero, photo splits, short thank-you */
.topbar--over { position: absolute; top: 0; left: 0; right: 0; z-index: 5; background: transparent; border-bottom: 1px solid rgba(255,255,255,.14); }
.topbar--over .wrap { max-width: 1280px; }
.topbar--over .topbar__in { height: 88px; }
.topbar--over .logo { height: 50px; }
.hero--big { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; padding: 140px 0 96px;
  background: linear-gradient(90deg, rgba(11,24,48,.93) 0%, rgba(17,35,71,.80) 45%, rgba(17,35,71,.42) 100%), url(/assets/img/hero.jpg) center / cover no-repeat; }
.hero--big .wrap { max-width: 1280px; }
.hero--big .hero__in { width: 100%; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
.hero--big h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.08; }
.hero--big .hero__sub { font-size: clamp(19px, 1.6vw, 23px); margin-top: 26px; max-width: 34em; color: #e7ecf5; }
.hero--big .form-card { padding: 38px 36px; border-radius: 22px; max-width: 540px; justify-self: end; width: 100%; }
.hero--big .quiz__title { font-size: 24px; }
.hero--big .fq { font-size: 22px; }
.hero--big .opt { min-height: 58px; font-size: 17px; }
.split--photo { align-items: center; }
.split--photo .split__img img { aspect-ratio: 4 / 3; }
.ben-list { display: grid; gap: 22px; }
.ty { max-width: 860px; }
.ty h2 { margin-bottom: 22px; }
.ty__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ty__list li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.ty__list strong { color: var(--navy-ink); }
.ty__list .ic { color: var(--white); background: var(--navy); border-radius: 50%; padding: 4px; width: 26px; height: 26px; flex-basis: 26px; margin-top: 1px; }
.ty__end { margin-top: 24px; font-weight: 600; color: var(--navy-ink); }
@media (max-width: 960px) {
  .hero--big { min-height: 0; padding: 112px 0 56px; background: linear-gradient(180deg, rgba(11,24,48,.92) 0%, rgba(17,35,71,.86) 100%), url(/assets/img/hero-m.jpg) center / cover no-repeat; }
  .hero--big .hero__in { grid-template-columns: 1fr; gap: 32px; }
  .hero--big .form-card { justify-self: stretch; max-width: none; }
}
@media (max-width: 720px) {
  .topbar--over .topbar__in { height: 68px; }
  .topbar--over .logo { height: 38px; }
  .hero--big { padding: 92px 0 40px; }
  .hero--big .form-card { padding: 22px 18px; }
  .hero--big .fq { font-size: 19px; }
  .hero--big .opt { min-height: 52px; font-size: 16px; }
}
/* Round 6 (26.10.): benefits text left, photo right */
.split--text-first { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 960px) { .split--text-first { grid-template-columns: 1fr; } }
/* Round 9 (26.10.): hero eyebrow, no decorative line */
.eyebrow { margin: 0 0 18px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c9d3e6; }
@media (max-width: 720px) { .eyebrow { font-size: 13px; margin-bottom: 12px; } }
