* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

:root {
  --main-color: green;
}

body {
  color: var(--main-color);
}

input, textarea, button {
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

input:focus {
  box-shadow: 0 0 5px var(--main-color);
}

.top-bar{
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar h2 {
	color: var(--main-color);
}
.top-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;     /* żeby było 70% szerokości */
  
  width: 70%;
  height: 1px;
  
  background: rgba(0, 128, 0, 0.4);
}
.bottom-bar {
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.bottom-bar a {
  color: var(--main-color);
  text-decoration: none;
}

.bottom-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  
  width: 70%;
  height: 1px;
  
  background: rgba(0, 128, 0, 0.4);
}

.main {
  flex: 1;
  display: flex;
  position: relative;
}

.main::after {
  content: "";
  position: absolute;
  top: 15%;          /* żeby było wycentrowane (100% - 70% = 30% → po 15% góra/dół) */
  left: 50%;
  transform: translateX(-50%);
  
  height: 70%;
  width: 1px;
  
  background: rgba(0, 128, 0, 0.4); /* dyskretny zielony */
}

.left,
.right {
  width: 50%;
  padding: 20px;
}

.left {
 
  display: flex;
  align-items: center;
  justify-content: center;
}

.left img {
  max-width: 100%;
  height: auto;
}
img {
  border: 2px solid var(--main-color);
}

.right {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.right p{
	padding-bottom:15px;
	text-align: justify;
   hyphens: auto;
}
.tel {
  color: var(--main-color);
  font-weight: 700;
  text-decoration: none;
  padding-left: 35px;
}
form {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.box {
  width: 100%;
  max-width: 320px;

  padding: 20px;
}

/*input,*/
button {
  padding: 10px;
  font-size: 14px;
}
input, textarea {
  width: 100%;
  padding: 10px;

  border: 1px solid green;
  background: transparent;

  color: green;
  font-family: inherit;
  font-size: 14px;
}
input::placeholder,
textarea::placeholder {
  color: rgba(0, 128, 0, 0.6);
}
input:focus,
textarea:focus {
  outline: none;
  border-color: green;
  box-shadow: 0 0 6px rgba(0, 128, 0, 0.5);
}
textarea {
  resize: none;
  height: 80px;
  margin-bottom: 5px;
}
.counter {
  font-size: 12px;
  color: rgba(0, 128, 0, 0.7);

  text-align: right;
  margin-top: -5px;
}

button {
  background: var(--main-color);
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background: rgba(0, 100, 0, 0.25);
}
button:active {
  transform: scale(0.98);
}
.success {
  display: none;
  margin-top: 15px;

  color: green;
  font-size: 14px;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.success.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .main {
    flex-direction: column;
  }
 .main::after {
    display: none;
  }
  .left,
  .right {
    width: 100%;
  }

  form {
    max-width: 100%;
  }
  .bottom-bar{
  flex-direction: column;
  gap:15px;
}
}