.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  gap: 30px;
}

.hero-text {
  text-align: center;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* ===== Forma ===== */
.hero-form {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
}

.hero-form h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 22px;
  color: #111;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row .form-group { flex: 1; }

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #111;
}

/* Inputs / selects */
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 14px;
  color: #111;
  background:
    url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="none" stroke="%23aaa" stroke-width=".5" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>')
    no-repeat right 10px center #fff;
  background-size: 8px 10px;
}

@media (min-width: 768px) {
  .hero-section { flex-direction: row; }
  .hero-text, .hero-form { flex: 1; max-width: 50%; }
  .hero-form { max-width: 520px; margin-left: 30px; }
  .form-row { flex-direction: row; }
}

/* ===== Tip vozila gumbi ===== */
.tip-vozila-group {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.tip-vozila-button {
  flex: 1;
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid #111;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  color: #111;
  transition: background .2s, color .2s, border-color .2s;
  text-align: center;
}
.tip-vozila-button:hover { background: #f3f3f3; }
.tip-vozila-button.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* ===== Gorivo: radio pilule / dropdown na mobilnom ===== */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.radio-group input[type="radio"] { display: none; }
.radio-group label {
  padding: 8px 12px;
  border: 1px solid #111;
  border-radius: 999px;
  cursor: pointer;
  background: #fff;
  color: #111;
  transition: background .2s, color .2s, border-color .2s;
  flex: 1 0 30%;
  text-align: center;
}
.radio-group input[type="radio"]:checked + label {
  background: #111;
  color: #fff;
  border-color: #111;
}
.radio-group label:hover { background: #f3f3f3; }

.dropdown-group { display: none; }
@media (max-width: 1024px) {
  .radio-group { display: none; }
  .dropdown-group { display: block; }
}

/* ===== Info tooltip ===== */
.info-icon {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #111; color: #fff;
  font-size: 12px; line-height: 1;
  cursor: pointer;
  position: relative;
  margin-left: 8px;
}
.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.85);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  width: 320px;
  max-width: 80vw;
  box-sizing: border-box;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  text-align: left;
  pointer-events: none;
}
.info-icon:hover::after { opacity: 1; visibility: visible; }

/* ===== Rezultat  ===== */
.kalkulator-izracun {
  display: grid;
  place-items: center;
  margin: 24px auto 0;
  text-align: center;
}

.result-container {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}

.result-container h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.pp-result,
#pp-result { 
  display: block;
  color: #111;
  font-weight: 800;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 768px) {
  .pp-result, #pp-result { font-size: 44px; }
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }
