:root {
  --ink: #1c1c1e;
  --ink-soft: #6b6b6e;
  --cream: #f6f6f4;
  --panel: #ffffff;
  --yellow: #ee8b12;
  --yellow-deep: #c96f08;
  --yellow-pale: #fce7cb;
  --line: rgba(28, 28, 30, 0.1);
  --line-soft: rgba(255, 255, 255, 0.14);
  --radius-lg: 24px;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--panel);
  color: var(--ink);
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--yellow);
  display: inline-block;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-orange {
  background: var(--yellow);
  color: #fff;
}
.btn-orange:hover {
  background: var(--yellow-deep);
}
.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-line:hover {
  background: var(--cream);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13.5px;
}

/* HERO */
.hero {
  background: var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 .hl {
  color: var(--yellow);
}
.hero p.lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-row .avatars {
  display: flex;
}
.trust-row .avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow-pale);
  border: 2px solid var(--panel);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow-deep);
}
.trust-row .avatars span:first-child {
  margin-left: 0;
}
.trust-row .txt {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* PHONE MOCKUP */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-doodle {
  position: absolute;
  top: -10px;
  left: 18%;
  width: 60px;
  opacity: 0.6;
}
.phone-body {
  width: 280px;
  height: 560px;
  background: var(--ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(28, 28, 30, 0.25);
  position: relative;
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: var(--ink);
  border-radius: 14px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #ededea;
  position: relative;
  display: flex;
  flex-direction: column;
}
.screen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 16px 10px;
  font-size: 11px;
  color: var(--ink-soft);
}
.loc-bar {
  margin: 8px 14px 0;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  box-shadow: 0 4px 12px rgba(28, 28, 30, 0.06);
}
.loc-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.map-area {
  flex: 1;
  margin: 12px 0;
  position: relative;
  overflow: hidden;
  background-color: #e4e3dd;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(28, 28, 30, 0.06) 0px,
      rgba(28, 28, 30, 0.06) 1px,
      transparent 1px,
      transparent 26px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(28, 28, 30, 0.06) 0px,
      rgba(28, 28, 30, 0.06) 1px,
      transparent 1px,
      transparent 26px
    );
}
.map-car {
  position: absolute;
  width: 14px;
  height: 8px;
  background: var(--ink);
  border-radius: 3px;
  opacity: 0.55;
}
.map-pin {
  position: absolute;
  top: 44%;
  left: 46%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(238, 139, 18, 0.22);
}
.map-pin::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}
.sheet {
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 16px 14px 18px;
  box-shadow: 0 -8px 20px rgba(28, 28, 30, 0.06);
}
.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sheet-top .t {
  font-size: 14px;
  font-weight: 700;
}
.sheet-top .m {
  font-size: 10.5px;
  color: var(--yellow-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.sheet-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sheet-card {
  border-radius: 14px;
  padding: 12px 10px;
}
.sheet-card.active {
  background: var(--yellow);
  color: #fff;
}
.sheet-card.inactive {
  background: #f2f1ec;
  color: var(--ink);
}
.sheet-card .ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.sheet-card.inactive .ic {
  background: var(--ink);
  color: #fff;
}
.sheet-card .t2 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}
.sheet-card .s2 {
  font-size: 10px;
  opacity: 0.85;
}

/* BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
  text-align: center;
}
.benefit-card .ic-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.benefit-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ABOUT */
.about {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-blob {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  box-shadow:
    0 0 0 10px var(--yellow-pale),
    0 25px 50px rgba(28, 28, 30, 0.18);
  position: relative;
  overflow: hidden;
}
.about-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.about-badge {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(28, 28, 30, 0.15);
  color: var(--yellow-deep);
}
.about-badge.b1 {
  top: 8%;
  right: 6%;
}
.about-badge.b2 {
  bottom: 6%;
  left: 2%;
  background: var(--ink);
  color: #fff;
}
.about h2 {
  font-size: 34px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about h2 .hl {
  color: var(--yellow);
}
.about-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
}
.about-list .chk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 34px;
  }
  .section {
    padding: 64px 0;
  }
  .about-photo-wrap {
    order: -1;
  }
}
/* SPLIT FORM SECTIONS (putnici / vozaci) */
.split-form {
  overflow: hidden;
}
.split-form.putnici-section {
  background: var(--cream);
}
.split-form.vozaci-section {
  background: var(--ink);
  color: #fff;
}
.split-form.vozaci-section .eyebrow {
  color: #fff;
}
.split-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.vozaci-section .split-form-grid {
  grid-template-columns: 1fr 1fr;
}
.vozaci-section .split-form-copy {
  order: 2;
}
.vozaci-section .split-form-card {
  order: 1;
}
.split-form-copy h2 {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.split-form-copy p.lead {
  font-size: 15px;
  margin: 0 0 26px;
}
.split-form.putnici-section .split-form-copy p.lead {
  color: var(--ink-soft);
}
.split-form.vozaci-section .split-form-copy p.lead {
  color: #b8bcc4;
}
.split-form-copy .about-list li {
  color: inherit;
}
.split-form.vozaci-section .split-form-copy .chk {
  background: var(--yellow);
  color: var(--ink);
}
.split-form-card .form-card {
  margin: 0;
}

@media (max-width: 900px) {
  .split-form-grid,
  .vozaci-section .split-form-grid {
    grid-template-columns: 1fr;
  }
  .vozaci-section .split-form-copy,
  .vozaci-section .split-form-card {
    order: initial;
  }
}
.form-card {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  scroll-margin-top: 100px;
  display: flex;
  flex-direction: column;
}
.form-card form {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.form-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.form-card.putnici .tag {
  background: var(--yellow-pale);
  color: var(--yellow-deep);
}
.form-card.vozaci .tag {
  background: #e8e9ec;
  color: var(--ink);
}
.form-card h3 {
  font-size: 21px;
  margin-bottom: 6px;
}
.form-card .sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-weight: 400;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 16px;
}
label:first-of-type {
  margin-top: 0;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  background: var(--cream);
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--yellow-deep);
}
.radio-row {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  margin-bottom: 4px;
}
.radio-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
}
.radio-row input {
  width: auto;
}
.error-text {
  color: #c0392b;
  font-size: 12.5px;
  margin-top: 4px;
  display: none;
}
.field.invalid .error-text {
  display: block;
}
.field.invalid input,
.field.invalid select {
  border-color: #c0392b;
}
.submit-row {
  margin-top: auto;
  padding-top: 26px;
}
.submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.form-card.putnici .submit-btn {
  background: var(--yellow);
  color: var(--ink);
}
.form-card.putnici .submit-btn:hover {
  background: var(--yellow-deep);
}
.form-card.vozaci .submit-btn {
  background: var(--ink);
  color: #fff;
}
.form-card.vozaci .submit-btn:hover {
  background: #000;
}
.success-box {
  display: none;
  text-align: center;
  padding: 40px 12px;
}
.form-error {
  display: none;
  color: #a5301f;
  background: #fdecea;
  border: 1px solid #f3c4bd;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}
.form-error.visible {
  display: block;
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.success-box .check {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.form-card.putnici .success-box .check {
  background: var(--yellow-pale);
  color: var(--yellow-deep);
}
.form-card.vozaci .success-box .check {
  background: #e8e9ec;
  color: var(--ink);
}
.success-box h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.success-box p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 400;
}

/* FOOTER */
footer {
  background: #0e0e0e;
  color: #9498a0;
  padding: 56px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.foot-brand p {
  font-size: 13.5px;
  max-width: 280px;
  color: #8b8f97;
  margin-top: 12px;
}
.foot-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 16px;
}
.foot-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-links a {
  color: #9498a0;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}
.foot-links a:hover {
  color: #fff;
}
.foot-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-bottom-row .copy {
  font-size: 12.5px;
  color: #6c7078;
}
.foot-legal {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-legal a {
  color: #6c7078;
  text-decoration: none;
  font-size: 12.5px;
}
.foot-legal a:hover {
  color: #fff;
}
@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .offer-grid,
  .drivers-grid,
  .forms-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 36px;
  }
  .section {
    padding: 64px 0;
  }
}

/* LEGAL PAGES (privatnost / uslovi) */
.legal-hero {
  background: var(--cream);
  padding: 64px 0 40px;
}
.legal-hero .eyebrow {
  justify-content: center;
}
.legal-hero h1 {
  font-size: 38px;
  text-align: center;
}
.legal-hero .updated {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
  margin-top: 12px;
}
.legal-content {
  padding: 64px 0 96px;
  max-width: 820px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 22px;
  margin-top: 44px;
  margin-bottom: 14px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 16px;
}
.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15px;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--yellow-deep);
  font-weight: 600;
  text-decoration: none;
}
.legal-content a:hover {
  text-decoration: underline;
}

/* ---- prijave: uslovni i checkbox elementi ---- */
.field[hidden] {
  display: none;
}
.field.invalid textarea {
  border-color: #c0392b;
}
.check-field {
  margin-top: 2px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  margin: 0;
}
.check-row input[type="checkbox"] {
  width: auto;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--yellow);
  cursor: pointer;
}
.check-row a {
  color: var(--yellow-deep);
  text-underline-offset: 2px;
}
.field.invalid .check-row span {
  color: #c0392b;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
