@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
.c-form {
  display: block;
  padding: 10px;
}
.c-form__background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 80vh;
  z-index: -1;
}
.c-form__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-form__header {
  padding-top: 150px;
  padding-top: 100px;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  color: #fff;
}
.c-form__header h2 {
  font-size: 30px;
  text-align: center;
  color: #fff !important;
}
@media screen and (min-width: 980px) {
  .c-form__header h2 {
    font-size: 45px;
  }
}
.c-form__layout {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  padding: 20px 30px;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.12), 0 2px 8px rgba(17, 24, 39, 0.06); /* miękki, głęboki */
}
@media screen and (min-width: 768px) {
  .c-form__layout {
    padding: 40px 60px;
  }
}
.c-form__categories {
  width: 100%;
}
.c-form__additional {
  width: 100%;
}
.c-form__additional--fields {
  display: grid;
  gap: 20px;
}
.c-form__fields {
  display: grid;
  position: relative;
  z-index: 1;
}
.c-form__column--details {
  padding: 40px 0;
  width: 100%;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 480px) {
  .c-form__column--details {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
.c-form__column--details .is-header {
  grid-column: 1/-1; /* span full width */
  width: 100%;
}
.c-form__actions {
  width: 100%;
  display: grid;
  gap: 20px;
}
.c-form__field {
  position: relative;
}
.c-form__req {
  color: #e53e3e;
  margin-left: 6px;
  font-weight: 600;
}
.c-form h2,
.c-form h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  color: #1f1f1f;
  text-align: center;
}
.c-form h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
  margin-bottom: 40px;
}
.c-form h2:after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #d4b182;
  margin: 0.75rem auto 0;
  border-radius: 1px;
}
.c-form h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  color: #2b2b2b;
}

.c-input {
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  /* --- pole --- */
  /* --- etykieta --- */
  /* --- ikony statusu --- */
  /* --- stany walidacji --- */
}
.c-input__control {
  width: 100%;
  font: 500 1rem/1.4 "Lato", system-ui;
  color: #1f1f1f;
  padding: 20px 44px 8px 16px;
  border: 1.5px solid #e2e6ec;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
}
.c-input__control::placeholder {
  color: transparent;
}
.c-input__control:hover {
  border-color: #cfd5de;
}
.c-input__control:focus {
  border-color: #d4b182;
  box-shadow: 0 0 0 4px rgba(212, 177, 130, 0.15);
}
.c-input__control:focus + .c-input__label, .c-input__control:not(:placeholder-shown) + .c-input__label {
  transform: translateY(-33px);
  font-size: 0.75rem;
  font-weight: 600;
  color: #b9b9b9;
  background: #fff;
  padding: 0;
}
.c-input__label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #6b6b6b;
  font: 600 0.95rem/1.2 "Lato", system-ui;
  pointer-events: none;
  transition: all 0.2s ease;
  background: linear-gradient(#fff 60%, rgba(255, 255, 255, 0));
  padding: 0 6px;
}
.c-input__label .c-form__req {
  color: #cc2a2a;
  margin-left: 2px;
}
.c-input__status {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #38a169;
  pointer-events: none;
}
.c-input__status.is-err {
  color: #e53e3e;
}
.c-input.is-valid .c-input__control {
  border-color: #38a169;
}
.c-input.is-invalid .c-input__control {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}
.c-input.is-valid .c-input__status.is-ok {
  display: block !important;
}
.c-input.is-invalid .c-input__status.is-err {
  display: block !important;
}

/* --- układ siatki pól formularza --- */
.c-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.c-checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #1f1f1f;
  line-height: 1.45;
  cursor: pointer;
  margin-bottom: 30px;
}
.c-checkbox input[type=checkbox] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid #d0d5dc;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}
.c-checkbox input[type=checkbox]:hover {
  border-color: #c2c8d0;
}
.c-checkbox input[type=checkbox]:checked {
  border-color: #d4b182;
  background-color: #d4b182;
}
.c-checkbox input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.c-checkbox input[type=checkbox]:focus-visible {
  outline: 2px solid rgba(212, 177, 130, 0.5);
  outline-offset: 2px;
}
.c-checkbox label {
  flex: 1;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  color: #2a2a2a;
}
.c-checkbox label a {
  color: #d4b182;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 177, 130, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.c-checkbox label a:hover {
  color: #b6905f;
  border-color: #b6905f;
}

.c-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 25px 46px;
  border: 1px solid #cfd5de;
  border-radius: 50px;
  background: #fff;
  color: #2f2f2f;
  font: 400 1.05rem/1 "Lato", system-ui;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.06s ease;
}
.c-button:hover {
  background: #f7f8fa;
  border-color: #c6ccd6;
}
.c-button:active {
  transform: translateY(1px);
}
.c-button:focus-visible {
  outline: 2px solid rgba(212, 177, 130, 0.45);
  outline-offset: 3px;
}
.c-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Pozycjonowanie przycisku w layoucie formularza */
.has-button {
  grid-column: 1/-1;
  width: 100%;
  display: flex;
  justify-content: center;
}

#additional-fields {
  padding-top: 30px;
  padding-bottom: 30px;
}

.g-recaptcha {
  display: flex;
  transform: scale(0.75);
  transform-origin: 0 0;
}
@media screen and (min-width: 768px) {
  .g-recaptcha {
    transform: scale(1);
  }
}

.c-checkbox--gdpr label {
  font-size: 12px;
  font-weight: 400 !important;
}

/* Kolory i promień */
:root {
  --accent: #d4b182;
  --border: #e2e6ec;
  --border-strong: #cfd5de;
  --text: #1f1f1f;
  --muted: #586172;
  --r: 14px;
}

.c-radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .c-radio-group .c-radio-card__content {
    padding: 1.25rem 1rem;
  }
}

.c-radio-card {
  position: relative;
  /* ukryty radio */
  /* IKONA – bez tła, czysty piktogram */
  /* ZAZNACZENIE */
  /* FOCUS klawiatury */
}
.c-radio-card input[type=radio] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.c-radio-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.05s, background 0.2s;
  min-height: 188px;
}
.c-radio-card__content:hover {
  border-color: var(--border-strong);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}
.c-radio-card__icon {
  width: 32px;
  height: 32px; /* bez kontenera-tła */
  display: grid;
  place-items: center;
}
.c-radio-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  /* ujednolicenie wizualne piktogramów rasterowych */
  filter: grayscale(100%) contrast(110%) brightness(0); /* czarny */
  opacity: 0.85;
}
.c-radio-card__title {
  font: 700 1.05rem/1.3 "Lato", system-ui;
  color: var(--text);
  margin: 0;
}
.c-radio-card__desc {
  font: 400 0.92rem/1.45 "Lato", system-ui;
  color: var(--muted);
  margin: 0;
  /* obcięcie długich opisów */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.c-radio-card input[type=radio]:checked + .c-radio-card__content {
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(212, 177, 130, 0.22);
  transform: translateY(-1px);
}
.c-radio-card input[type=radio]:checked + .c-radio-card__content .c-radio-card__title {
  color: #1b1f24;
}
.c-radio-card input[type=radio]:checked + .c-radio-card__content .c-radio-card__icon img {
  opacity: 1;
}
.c-radio-card input[type=radio]:checked + .c-radio-card__content::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0 6px, #fff 7px 9px, transparent 10px);
}
.c-radio-card input[type=radio]:focus-visible + .c-radio-card__content {
  outline: 2px solid color-mix(in oklab, var(--accent), #000 10%);
  outline-offset: 2px;
}

.c-radio-card--year {
  /* sam tytuł = rok */
  /* ukryj elementy, jeśli przez ten sam HTML są wstawiane */
  /* checked: tylko mocniejsza ramka + delikatne tło */
  /* focus z klawiatury */
}
.c-radio-card--year .c-radio-card__content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 112px;
  padding: 22px;
  gap: 0;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  /* brak hoverowego cienia dla spokoju UI */
}
.c-radio-card--year .c-radio-card__content:hover {
  border-color: var(--border-strong);
  box-shadow: none;
  transform: none;
}
.c-radio-card--year .c-radio-card__title {
  font: 700 1.125rem/1 "Lato", system-ui;
  letter-spacing: 0.2px;
  color: #1f1f1f;
  margin: 0;
}
.c-radio-card--year .c-radio-card__icon,
.c-radio-card--year .c-radio-card__desc {
  display: none !important;
}
.c-radio-card--year input[type=radio]:checked + .c-radio-card__content {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, #fff);
  box-shadow: none;
  transform: none;
  /* usuń „kropkę zatwierdzenia” z bazowego wariantu */
}
.c-radio-card--year input[type=radio]:checked + .c-radio-card__content::after {
  display: none;
}
.c-radio-card--year input[type=radio]:focus-visible + .c-radio-card__content {
  outline: 2px solid color-mix(in oklab, var(--accent), #000 10%);
  outline-offset: 2px;
}

.c-radio-card--simple .c-radio-card__content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 132px;
  padding: 22px;
  border: 1.5px solid #e2e6ec;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-shadow: none;
  cursor: pointer;
}
.c-radio-card--simple .c-radio-card__content:hover {
  border-color: #cfd5de;
}
.c-radio-card--simple .c-radio-card__title--small {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  color: #1f1f1f;
  letter-spacing: 0.2px;
}
.c-radio-card--simple input[type=radio]:checked + .c-radio-card__content {
  border-color: #d4b182;
  background: color-mix(in oklab, #d4b182 10%, #fff);
}
.c-radio-card--simple input[type=radio]:focus-visible + .c-radio-card__content {
  outline: 2px solid color-mix(in oklab, #d4b182, #000 10%);
  outline-offset: 2px;
}