/* ═══════════════════════════════════════════════════════════
   KLIK MAJSTOR – style.css
   Minimalistički, "ljudski" dizajn. Plus Jakarta Sans.
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

:root {
  --orange:      #FF5C00;
  --orange-soft: rgba(255, 92, 0, 0.10);
  --orange-mid:  rgba(255, 92, 0, 0.22);
  --black:       #111110;
  --ink:         #1E1C1A;
  --ink-2:       #3D3A36;
  --ink-3:       #7A746E;
  --line:        #E8E3DC;
  --bg:          #FDFAF7;
  --bg-2:        #F6F1EA;
  --white:       #FFFFFF;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.07);
  --shadow:      0 4px 28px rgba(0,0,0,0.09);
  --font:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max:         1140px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ─────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2.5rem); }

.section-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .6rem;
}
.section-eyebrow.light { color: rgba(255,92,0,.7); }

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800; letter-spacing: -.025em;
  line-height: 1.15; color: var(--ink);
  margin-bottom: 2.75rem;
}

.link { color: var(--orange); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ── NAV ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(253, 250, 247, 0.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,.07); }
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 36px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; transition: color .18s;
}
.nav-links a:hover { color: var(--orange); }
.btn-nav {
  background: var(--orange) !important; color: var(--white) !important;
  padding: .5rem 1.25rem; border-radius: 50px;
  font-weight: 700 !important; font-size: .875rem !important;
  transition: opacity .18s !important; white-space: nowrap;
}
.btn-nav:hover { opacity: .88; color: var(--white) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-menu {
  display: none; position: fixed;
  top: 62px; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 199;
  flex-direction: column; padding: 1rem 1.5rem 2rem;
  gap: .25rem; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mm-link {
  text-decoration: none; color: var(--ink); font-weight: 500;
  font-size: 1.05rem; padding: .9rem 1rem; border-radius: var(--radius-sm);
  transition: background .15s; -webkit-tap-highlight-color: transparent;
}
.mm-link:hover { background: var(--bg-2); }
.mm-cta {
  background: var(--orange); color: var(--white) !important;
  text-align: center; font-weight: 700; margin-top: .5rem; border-radius: 50px;
}
.mm-small { font-size: .82rem; color: var(--ink-3) !important; margin-top: auto; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(96px, 14vw, 120px) clamp(1.25rem, 5vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.hero-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  color: var(--ink); margin-bottom: 1.2rem;
}
.accent { color: var(--orange); }

.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
  color: var(--ink-2); line-height: 1.75; max-width: 420px; margin-bottom: 2rem;
}

.hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 2rem; }

.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--orange); color: var(--white);
  text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .8rem 1.75rem; border-radius: 50px;
  transition: opacity .18s, transform .18s; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(255,92,0,.28);
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }

.btn-text-link {
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
  text-decoration: none; transition: color .18s;
}
.btn-text-link:hover { color: var(--orange); }

.hero-trust {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--ink-3); font-weight: 500;
}
.trust-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: .35rem; }
.trust-item { display: flex; align-items: center; }
.trust-sep { color: var(--line); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo-stack { display: grid; grid-template-columns: 1fr auto; gap: .9rem; }

.photo-main {
  position: relative; border-radius: 18px; overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-2);
}
.photo-main img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-side { display: flex; flex-direction: column; gap: .9rem; }
.photo-card {
  position: relative; border-radius: 14px; overflow: hidden;
  width: 120px; flex: 1; background: var(--bg-2); min-height: 90px;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-tag {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(255,255,255,.93); backdrop-filter: blur(8px);
  border-radius: 6px; padding: 3px 9px;
  font-size: .7rem; font-weight: 700; color: var(--ink); white-space: nowrap;
}

/* Floating WhatsApp card */
.float-card {
  position: absolute; bottom: -16px; left: -20px;
  background: var(--white); border-radius: 12px;
  padding: .75rem 1rem; display: flex; align-items: center; gap: .7rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.12); border: 1px solid var(--line);
  animation: floatUp 3s ease-in-out infinite;
}
.fc-icon { font-size: 1.4rem; flex-shrink: 0; }
.fc-text { display: flex; flex-direction: column; line-height: 1.3; }
.fc-text strong { font-size: .82rem; font-weight: 700; color: var(--ink); }
.fc-text span { font-size: .72rem; color: var(--ink-3); }
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ── HOW SECTION ────────────────────────────────────────── */
.how-section { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--bg-2); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }

.step { padding: 2rem 1.5rem; }
.step-number {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange-soft); border: 1.5px solid var(--orange-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; color: var(--orange);
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step p { font-size: .875rem; color: var(--ink-2); line-height: 1.65; }

.step-connector {
  width: 1px; background: var(--line); align-self: stretch;
  margin-top: 3.5rem;
}

/* ── SERVICES ───────────────────────────────────────────── */
.services-section { padding: clamp(4rem, 8vw, 6rem) 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.service-card {
  background: var(--white); padding: 1.75rem 1.5rem;
  transition: background .18s;
}
.service-card:hover { background: var(--bg-2); }
.svc-num { font-size: .72rem; font-weight: 800; color: var(--orange); letter-spacing: .06em; margin-bottom: .65rem; }
.service-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.service-card p { font-size: .82rem; color: var(--ink-3); line-height: 1.55; }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-section { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--bg-2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
}
.stars { font-size: .9rem; color: var(--orange); letter-spacing: 2px; margin-bottom: .65rem; }
.testimonial-card p { font-size: .875rem; color: var(--ink-2); line-height: 1.65; margin-bottom: .85rem; font-style: italic; }
.t-author { font-size: .78rem; font-weight: 600; color: var(--ink-3); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-section { padding: clamp(4rem, 8vw, 6rem) 0; }
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: .5rem; }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .18s; }
.faq-item[open] { border-color: var(--orange-mid); }

.faq-item summary {
  padding: 1.1rem 1.25rem; font-weight: 600; font-size: .93rem;
  cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
  -webkit-tap-highlight-color: transparent; color: var(--ink);
  transition: background .15s;
}
.faq-item summary:hover { background: var(--bg-2); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.2rem; font-weight: 300;
  color: var(--orange); flex-shrink: 0; transition: transform .22s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.25rem 1.1rem; }
.faq-body p { font-size: .875rem; color: var(--ink-2); line-height: 1.7; }

/* ── FORM SECTION ───────────────────────────────────────── */
.form-section { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--black); }
.form-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}

.form-intro { padding-top: .5rem; }
.form-heading {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
  color: var(--white); margin-bottom: 1rem;
}
.form-desc { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 1.75rem; }
.form-promises { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.form-promises li {
  font-size: .875rem; color: rgba(255,255,255,.65);
  padding-left: 1.25rem; position: relative;
}
.form-promises li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--orange); font-weight: 700;
}

/* Form card */
.form-card {
  background: var(--bg); border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

/* Role toggle */
.role-toggle {
  display: flex; background: var(--bg-2); border-radius: 50px;
  padding: 4px; margin-bottom: 1.75rem; gap: 0;
}
.role-btn {
  flex: 1; padding: .6rem .75rem; border: none; border-radius: 50px;
  background: transparent; cursor: pointer;
  font-family: var(--font); font-size: .85rem; font-weight: 600;
  color: var(--ink-3); transition: all .22s;
  -webkit-tap-highlight-color: transparent;
}
.role-btn.active { background: var(--white); color: var(--orange); box-shadow: var(--shadow-sm); }

/* Form elements */
.smart-form { display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block; font-size: .78rem; font-weight: 700;
  color: var(--ink); margin-bottom: .4rem; letter-spacing: .01em;
}
.hint { font-weight: 400; color: var(--ink-3); font-size: .75rem; }

.form-group input,
.form-group textarea {
  width: 100%; padding: .72rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .9rem; color: var(--ink);
  background: var(--white); outline: none;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.form-group input.error,
.form-group textarea.error { border-color: #dc2626; }
.form-group textarea { resize: vertical; min-height: 78px; line-height: 1.5; }

/* Chips */
.chip-group { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .4rem; }
.chip {
  padding: .38rem .85rem; border: 1.5px solid var(--line);
  border-radius: 50px; font-size: .78rem; font-weight: 600;
  cursor: pointer; background: var(--white); color: var(--ink-2);
  transition: border-color .15s, background .15s, color .15s;
  user-select: none; -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.selected { background: var(--orange); border-color: var(--orange); color: var(--white); }
.chip-red { border-color: rgba(220,38,38,.3); color: #b91c1c; }
.chip-red.selected { background: #dc2626; border-color: #dc2626; color: var(--white); }

/* GDPR checkbox */
.gdpr-group { margin-bottom: 1rem; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: .65rem;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  accent-color: var(--orange); cursor: pointer;
  /* ensure it's tappable */
  min-width: 18px; min-height: 18px;
  -webkit-appearance: checkbox; appearance: checkbox;
}
.checkbox-label span {
  font-size: .78rem; color: var(--ink-2); line-height: 1.65;
  /* allow text to wrap and not push checkbox off */
  flex: 1; min-width: 0;
}

/* Submit button */
.btn-submit {
  width: 100%; margin-top: 1rem;
  padding: .9rem 1rem; background: var(--orange); color: var(--white);
  border: none; border-radius: 50px;
  font-family: var(--font); font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: opacity .18s, transform .18s;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 18px rgba(255,92,0,.28);
}
.btn-submit:hover { opacity: .9; transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Success */
.success-msg { text-align: center; padding: 2.5rem 1rem; }
.success-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.success-msg h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.success-msg p { font-size: .9rem; color: var(--ink-2); line-height: 1.65; margin-bottom: 1.5rem; }
.btn-reset {
  background: none; border: 1.5px solid var(--line); border-radius: 50px;
  padding: .55rem 1.4rem; font-family: var(--font); font-size: .85rem;
  font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .18s, color .18s;
}
.btn-reset:hover { border-color: var(--orange); color: var(--orange); }

/* ── LEGAL ──────────────────────────────────────────────── */
.legal-section { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--bg-2); }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.legal-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.75rem; border: 1px solid var(--line);
}
.legal-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.legal-card h4 { font-size: .8rem; font-weight: 700; color: var(--ink); margin: 1rem 0 .4rem; text-transform: uppercase; letter-spacing: .05em; }
.legal-card p { font-size: .835rem; color: var(--ink-2); line-height: 1.7; margin-bottom: .6rem; }
.legal-card ul { padding-left: 1.1rem; margin-bottom: .6rem; }
.legal-card li { font-size: .835rem; color: var(--ink-2); line-height: 1.7; margin-bottom: .15rem; }
.legal-note { font-size: .74rem !important; color: var(--ink-3) !important; border-top: 1px solid var(--line); padding-top: .85rem; margin-top: .5rem !important; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--black); padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 5vw, 2.5rem); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 1.75rem; }
.footer-logo { height: 32px; width: auto; display: block; margin-bottom: .5rem; }
.footer-tagline { font-size: .8rem; color: rgba(255,255,255,.35); }

.footer-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-nav a { font-size: .82rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .18s; }
.footer-nav a:hover { color: var(--orange); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem;
}
.footer-bottom span { font-size: .78rem; color: rgba(255,255,255,.25); }

.wa-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #25D366; color: var(--white);
  text-decoration: none; padding: .5rem 1.1rem;
  border-radius: 50px; font-weight: 700; font-size: .82rem;
  transition: opacity .18s;
}
.wa-btn:hover { opacity: .85; }
.wa-btn svg { flex-shrink: 0; }

/* ── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr; gap: 2.5rem;
    padding-top: clamp(88px, 12vw, 100px);
  }
  .hero-sub { max-width: 100%; }
  .hero-visual { order: -1; }
  .hero-photo-stack { grid-template-columns: 1fr 100px; gap: .65rem; }
  .photo-card { width: 100px; }
  .float-card { left: 0; bottom: -14px; }

  .steps { grid-template-columns: 1fr; }
  .step-connector { width: 100%; height: 1px; margin: 0; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .form-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .form-card { width: 100%; }

  .legal-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero-photo-stack { grid-template-columns: 1fr; }
  .photo-side { display: none; }
  .float-card { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .section-title { margin-bottom: 2rem; }
}

@media (hover: none) {
  .btn-primary:hover,
  .btn-submit:hover,
  .btn-nav:hover { transform: none; }
}