:root {
  --violet: rgb(109, 109, 212);
  --violet-transparent: rgba(109, 109, 212, 0.9);
  --violet-strong-transparent: rgba(109, 109, 212, 0.5);
  --violet-light-transparent: rgba(233, 233, 249);
  --dark-gray: #525252;
  --devdraw: #0b2b53;
}
.opinia {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  justify-content: left;
  margin-top: 200px;
}
.opinia h1,
h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  padding: 1rem;
  width: 100%;
  text-transform: uppercase;
  text-align: center;
  /* transform: translateX(-10px); */
}

.opinia p {
  color: var(--dark-gray);
  text-align: center;
  max-width: 250px;
  margin: 0 auto;
}

.opinia h1 > img {
  margin: 0 1rem;
}

.methods {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 10px auto;
  min-height: calc(100dvh - 300px);
  flex-direction: column;
}

.methods a {
  display: flex;
  text-decoration: none;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-gray);
  gap: 1rem;
  padding: 0 1rem;
}
.methods a > img {
  margin: 0.2rem;
}
.methods a > p {
  margin: 0.5rem;
  font-size: 0.9rem;
}
.methods span {
  color: var(--violet);
}

.wrap {
  min-height: 100%;
  display: grid;
  place-items: start center;
  padding: 0rem 1rem 2rem 1rem;
}

.form-card {
  width: 100%;
  max-width: 600px;
  background: #fff;
  padding: 5px 16px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  scroll-margin-top: 200px;
}

.form-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #3a2fcf;
}

label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.2px;
}

input,
textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  color: var(--dark-gray);
  border: 1px solid var(--violet);
  border-radius: 5px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
  font-family: ahamono;
}

textarea {
  resize: vertical;
  min-height: 140px; /* jak na screenie */
}

input::placeholder,
textarea::placeholder {
  color: #a2a2a2;
}

input:focus,
textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(110, 99, 230, 0.18);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #d14242;
  box-shadow: 0 0 0 3px rgba(209, 66, 66, 0.15);
}

.error {
  margin: 0.35rem 2px 0;
  font-size: 0.85rem;
  color: #d14242;
  min-height: 0.5em; /* żeby layout nie skakał */
}

.btn {
  margin-top: 16px;
  display: block;
  width: 100%;
  border: 0;
  cursor: pointer;
  color: #fff;
  /* font-weight:700; */
  font-family: ahamono;
  font-size: 1.1rem;
  padding: 14px 16px;
  border-radius: 10px;
  background-color: var(--violet);
  box-shadow: 0 6px 16px rgba(110, 99, 230, 0.35);
  transition: transform 0.05s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  filter: brightness(1.02);
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
}

.form-note {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

/* Honeypot ukryty dla ludzi, widoczny dla botów */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-card .stars {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 0rem;
  margin-bottom: 1rem;
}

.form-card .kwadracik {
  width: 44px;
  height: 44px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  background-image: url("/assets/empty-star.svg");
}

.form-card .kwadHov {
  background-image: url("/assets/full-star.svg");
}

.reviews-container {
  display: flex;
  gap: 5px;
  width:100%;
  max-width:1400px;
  /* padding: 16px; */
  box-sizing: border-box;
  margin:0 auto;
  min-height:calc( 100dvh - 370px);
}

/* Kolumny */
.column {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  background-color: #ffffff;
  padding: 8px;
  /* justify-content: center; */
  align-items: center;
}

.review {
  padding: 2rem 0;
  max-width: 360px;
  width: 100%;
  position: relative;
  margin-bottom: 2rem;
}
.review h2 {
  display: flex;
  /* background-color: #000; */
  padding: 5px;
  /* font-weight: bold; */
  align-items: center;
  justify-content: center;
  font-family: ahamono;
  text-align: center;
  color: var(--violet);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px;
}
.stars {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 0rem;
}

.kwadracik {
  width: 30px;
  height: 30px;
  display: inline-block;
  margin: 5px;
  /* cursor: pointer; */
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  background-image: url("/assets/empty-star.svg");
}

.kwadHov {
  background-image: url("/assets/full-star.svg");
}
.content {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 0 1rem;
  flex-direction: column;
}
.content p {
  padding: 0 2rem;
  font-size: 1rem;
  font-style: italic;
  color:var(--dark-gray);
  width: 100%;
  /* max-width: 900px; */
  text-align: center;
  /* z-index: 2; */
  background-color: #fff;
}
.quote {
  padding: 0 2rem;
}
.bottom-right {
  display: block;
  height: 64px;
  width: 95px;
  border-bottom: 1px solid var(--violet);
  border-right: 1px solid var(--violet);
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: transparent;
  transform: translateX(-10px) translateY(10px);
}
