/* ==========================================================================
   Relax & Fly Airport Parking Zagreb, rezervacijski lander (mobile-first)
   Brand truth (verified 2026-08-24 from relaxflyzagreb.com/style.css + logo pixels):
     brand #004C70 / dark #145A83 / mid #427B97 / accent (logo sky blue) #31B0FA
   Type: the client OWN webfonts off their stylesheet: Aclonica (display) + Jost (body),
   both served with latin-ext (verified with font_from_logo.mjs verify, 2026-09-12).
   The logo is a WHITE wordmark on transparency: it only ever sits on --brand or a photo.
   ========================================================================== */
:root {
  --brand:      #004C70;
  --brand-dk:   #003852;
  --brand-ink:  #002A3D;
  --dark:       #145A83;
  --mid:        #427B97;
  --accent:     #31B0FA;
  --accent-dk:  #1690D8;
  --paper:      #FFFFFF;
  --paper-2:    #F3F7FA;
  --line:       rgba(0, 76, 112, .16);
  --line-soft:  rgba(0, 76, 112, .09);
  --text:       #1B2B33;
  --text-soft:  #4A5C66;
  --text-mute:  #73858F;
  --on-dark:    #F2F8FC;
  --on-dark-mute: #AFCBDD;
  --ok:         #1E9E5B;
  --err:        #C8302B;
  --display: "Aclonica", "Jost", system-ui, sans-serif;
  --sans:    "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(0,42,61,.06), 0 4px 14px rgba(0,42,61,.06);
  --shadow-md: 0 2px 6px rgba(0,42,61,.08), 0 18px 44px rgba(0,42,61,.12);
  --ease: cubic-bezier(.22,.61,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.has-sticky { padding-bottom: 76px; }
img, video, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; } }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 820px); margin-inline: auto; }

h1, .h1 { font-family: var(--display); font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; }
h2, .h2 { font-family: var(--display); font-size: clamp(1.45rem, 2.8vw, 2.25rem); line-height: 1.18; text-wrap: balance; }
h3, .h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--text-soft); text-wrap: pretty; max-width: 62ch; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mid); margin-bottom: 12px; }
.sec { padding-block: clamp(48px, 7vw, 92px); }
.sec--tint { background: var(--paper-2); }
.sec--dark { background: var(--brand); color: var(--on-dark); }
.sec--dark .lead, .sec--dark p { color: var(--on-dark-mute); }
.sec--dark .eyebrow { color: var(--accent); }
.sec-head { max-width: 78ch; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head .lead { margin-top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1.02rem; text-decoration: none; line-height: 1.2;
  transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s;
  white-space: nowrap;
}
.btn--accent { background: var(--accent); color: var(--brand-ink); box-shadow: 0 8px 22px rgba(49,176,250,.32); }
.btn--accent:hover { background: #4DBDFF; transform: translateY(-1px); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 3vw, 32px); background: var(--brand); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.topbar__logo { display: inline-flex; align-items: center; min-height: 44px; }
.topbar__logo img { height: 40px; width: auto; }
.topbar__right { display: flex; align-items: center; gap: 10px; }
.topbar__tel { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 500; min-height: 44px; padding: 0 6px; }
.topbar__tel svg { width: 20px; height: 20px; }
.topbar .btn { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
@media (max-width: 700px) {
  .topbar .btn { display: none; }
  .topbar__tel span { display: none; }
  .topbar__tel { width: 44px; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; background: var(--brand-ink);
  padding-top: calc(68px + clamp(40px, 8vw, 96px)); padding-bottom: clamp(44px, 7vw, 96px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,42,61,.55) 0%, rgba(0,42,61,.35) 40%, rgba(0,42,61,.82) 100%),
    linear-gradient(90deg, rgba(0,76,112,.88) 0%, rgba(0,76,112,.62) 48%, rgba(0,76,112,.18) 100%);
}
.hero__body { max-width: 640px; }
.hero h1 { text-shadow: 0 2px 18px rgba(0,20,30,.45); max-width: 18ch; }
.hero .lead { color: var(--on-dark); margin-top: 16px; max-width: 52ch; text-shadow: 0 1px 10px rgba(0,20,30,.45); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.hero__price { margin-top: 26px; display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(0,42,61,.45); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.hero__price b { font-family: var(--display); font-size: 1.6rem; color: var(--accent); }
.hero__price span { font-size: .95rem; color: var(--on-dark-mute); }
@media (min-width: 900px) {
  .hero { min-height: 82vh; display: flex; align-items: center; }
  .hero__media img { object-position: 70% 50%; }
}

/* ---------- trust strip ---------- */
.trust { background: var(--dark); color: #fff; }
.trust ul { display: grid; gap: 10px 22px; padding-block: 18px; grid-template-columns: 1fr; }
.trust li { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: .98rem; }
.trust li svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent); }
@media (min-width: 700px) { .trust ul { grid-template-columns: repeat(3, auto); justify-content: space-between; } }

/* ---------- price list ---------- */
.prices { display: grid; gap: 22px; }
.pricecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.pricecard__head { background: var(--brand); color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pricecard__head b { font-family: var(--display); font-size: 1.05rem; }
.pricecard__head span { font-size: .9rem; color: var(--on-dark-mute); }
.pricerow { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 13px 20px; border-top: 1px solid var(--line-soft); }
.pricerow:first-of-type { border-top: 0; }
.pricerow span { color: var(--text-soft); }
.pricerow b { font-family: var(--display); font-size: 1.15rem; color: var(--brand); }
.pricerow--extra { background: var(--paper-2); }
.pricerow--extra b { color: var(--dark); }
.addons { display: grid; gap: 12px; }
.addon { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.addon b { font-family: var(--display); color: var(--brand); white-space: nowrap; }
.addon span { color: var(--text-soft); }
.pricenote { color: var(--text-soft); font-size: .95rem; display: flex; gap: 10px; align-items: flex-start; }
.pricenote svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ok); margin-top: 2px; }
@media (min-width: 860px) { .prices { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* ---------- form section ---------- */
.formsec { background: var(--brand); color: var(--on-dark); }
.formsec .lead { color: var(--on-dark-mute); }
.formsec__grid { display: grid; gap: 28px; }
.formcard {
  background: #fff; color: var(--text); border-radius: 18px; padding: clamp(22px, 3.5vw, 36px);
  box-shadow: var(--shadow-md); border-top: 5px solid var(--accent);
}
.formcard__title { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.55rem); color: var(--brand); }
.formcard__intro { color: var(--text-soft); margin-top: 6px; font-size: .98rem; }
.lf-progress { height: 4px; background: var(--line-soft); border-radius: 100px; overflow: hidden; margin: 18px 0 22px; }
.lf-progress span { display: block; height: 100%; width: 50%; background: var(--accent); border-radius: 100px; transition: width .4s var(--ease); }
.lf-step { display: none; }
.lf-step.active { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lf-steplabel { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; }
.lf-fields { display: grid; gap: 14px; }
.lf-row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .lf-row2 { grid-template-columns: 1fr 1fr; } }
.lf-field label { display: block; font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.lf-field label small { font-weight: 400; color: var(--text-mute); }
.lf-field input, .lf-field select, .lf-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; font-size: 16px; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.lf-field textarea { min-height: 88px; resize: vertical; }
.lf-field input::placeholder, .lf-field textarea::placeholder { color: #98A6AF; }
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,76,112,.14); }
.lf-field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(200,48,43,.12); }
.lf-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.lf-pill { position: relative; }
.lf-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.lf-pill span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; transition: all .15s; }
.lf-pill input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.lf-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,76,112,.2); }
.lf-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 18px; font-size: .9rem; color: var(--text-soft); line-height: 1.5; }
.lf-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.lf-consent a { color: var(--brand); text-underline-offset: 3px; }
.lf-consent.attention { animation: shake .5s; }
.lf-consent.attention input { outline: 2px solid var(--err); outline-offset: 3px; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.lf-actions { margin-top: 22px; display: grid; gap: 10px; }
.lf-back { background: none; border: 0; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); min-height: 44px; }
.lf-back:hover { color: var(--brand); }
.lf-micro { margin-top: 14px; font-size: .9rem; color: var(--text-soft); text-align: center; text-wrap: pretty; }
.lf-err { margin-top: 12px; font-size: .9rem; color: var(--err); display: none; }
.lf-err.on { display: block; }
.formsec__aside { display: grid; gap: 14px; align-content: start; }
.formsec__aside li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--on-dark); }
.formsec__aside li svg { width: 24px; height: 24px; color: var(--accent); }
.formsec__aside li b { display: block; font-weight: 600; }
.formsec__aside li span { color: var(--on-dark-mute); font-size: .95rem; }
@media (min-width: 900px) { .formsec__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; } .formsec__aside { padding-top: 12px; } }

/* ---------- pain / cards ---------- */
.cards { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card h3 { color: var(--brand); margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: .98rem; }
.card__ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(49,176,250,.14); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.card__ico svg { width: 24px; height: 24px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards--6 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- steps (grid, not flex: LEARNED_RULES [mobile]) ---------- */
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step__n { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 1.1rem; }
.step h3 { color: var(--brand); }
.step p { color: var(--text-soft); font-size: .98rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.mech { display: grid; gap: 26px; }
.mech__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1080 / 752; box-shadow: var(--shadow-md); }
.mech__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .mech { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; min-height: 56px; padding: 12px 0; font-weight: 600; color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.3rem; color: var(--accent-dk); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 16px; color: var(--text-soft); }

/* ---------- final CTA ---------- */
.final { position: relative; isolation: isolate; color: #fff; background: var(--brand-ink); overflow: hidden; text-align: center; }
.final__media { position: absolute; inset: 0; z-index: -2; }
.final__media img { width: 100%; height: 100%; object-fit: cover; }
.final__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,42,61,.82), rgba(0,76,112,.86)); }
.final h2 { max-width: 22ch; margin-inline: auto; }
.final .lead { color: var(--on-dark); margin: 14px auto 26px; }

/* ---------- footer ---------- */
.foot { background: var(--brand-ink); color: var(--on-dark-mute); padding: 34px 0 30px; font-size: .92rem; }
.foot__top { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.foot__top img { height: 34px; width: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { color: var(--on-dark); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot__links a:hover { color: var(--accent); }
.foot__bot { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }

/* ---------- sticky mobile CTA ---------- */
.stickybar { position: fixed; inset: auto 0 0 0; z-index: 39; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(0,42,61,.94); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.1); transform: translateY(110%); transition: transform .3s var(--ease); }
.stickybar.on { transform: none; }
.stickybar .btn { flex: 1; min-height: 50px; }
.stickybar .btn--tel { flex: 0 0 50px; padding: 0; background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 900px) { .stickybar { display: flex; } }
@media (min-width: 901px) { body.has-sticky { padding-bottom: 0; } }

/* ---------- thank-you + legal ---------- */
.thanks { padding-top: calc(68px + clamp(40px, 7vw, 80px)); }
.thanks__hero { max-width: 720px; }
.thanks__badge { width: 64px; height: 64px; border-radius: 50%; background: rgba(30,158,91,.12); color: var(--ok); display: grid; place-items: center; margin-bottom: 18px; }
.thanks__badge svg { width: 32px; height: 32px; }
.thanks .lead { margin-top: 14px; }
.legal { padding-top: calc(68px + 48px); padding-bottom: 72px; }
.legal h1 { margin-bottom: 8px; }
.legal__meta { color: var(--text-mute); font-size: .9rem; margin-bottom: 22px; }
.legal__box { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 26px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; color: var(--brand); }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--brand); }
.contactrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
