/* CSS for:
- kontakt2026.php
- bok.php
- dzial-sprzedazy.php
*/
:root {
    --sal-orange: #F2591D;
    --sal-ink: #16181D;
    --sal-body: #5C5149;
    --sal-body-strong: #3A322D;

    --tile-bok-bg: linear-gradient(180deg, #FEF6F3 0%, #FDEDE7 100%);
    --tile-bok-border: #F6DED3;
    --tile-bok-bar: linear-gradient(90deg, #F9CFC1, #F2591D);
    --tile-bok-glow: rgba(253, 225, 232, .75);

    --tile-sales-bg: linear-gradient(180deg, #FFF8F0 0%, #FDEEDD 100%);
    --tile-sales-border: #F8E0C8;
    --tile-sales-bar: linear-gradient(90deg, #F2591D, #F9B57A);
    --tile-sales-glow: rgba(250, 206, 160, .6);

    --tile-shadow: 0 18px 40px rgba(120, 70, 45, .10);
    --icon-shadow: 0 10px 24px rgba(196, 120, 90, .16);
}

#contact2026 {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 520px 420px at calc(100% + 100px) -120px,
            rgba(249, 180, 150, 0.35) 0%,
            rgba(249, 180, 150, 0) 70%),
        linear-gradient(135deg, #FDF0EA 0%, #FBE2D8 48%, #F9D2C2 100%);
}

.contact2026::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 520px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(ellipse,
            rgba(249, 180, 150, 0.35),
            rgba(249, 180, 150, 0) 70%);
}

#contact2026 .hidden {
    visibility: hidden !important;
    position: absolute !important;
    z-index: -10 !important;
    font-size: 0 !important;
}

.contact2026 .container {
    max-width: 1000px;
}

#contact2026 .intro {
    margin-bottom: 4.8rem;
}

.s-heading-h1 {
    font-size: clamp(3.15rem, 1.87rem + 1.29vw, 4.35rem);
    font-weight: bold;
    text-align: center;
    color: #000;
    position: relative;
    z-index: 1;

}

.s-heading-subtitle {
    position: relative;
    z-index: 1;
    margin: 16px auto 0;
    font-size: 17px;
    line-height: 1.6;
    color: #5C5149;
    max-width: 550px;
    text-wrap: pretty;
    text-align: center;
}

/* --- siatka dwóch kafli --- */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0 auto;
    /* padding: 56px 24px; */
}

@media (max-width:860px) {
    .dept-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        /* padding: 0 18px */
    }
}

/* --- kafel --- */
.dept-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 26px;
    border: 1px solid var(--tile-bok-border);
    background: #ffff;
    box-shadow: var(--tile-shadow);
    overflow: hidden;
}

@media (max-width:860px) {
    .dept-card {
        padding: 30px 26px
    }
}

.dept-card::before {
    /* pasek akcentu */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--tile-bok-bar);
}

.dept-card::after {
    /* poświata w narożniku */
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--tile-bok-glow), transparent 70%);
}

.dept-card--sales {
    border-color: var(--tile-sales-border);
    /* background: var(--tile-sales-bg); */
    background: #ffff;

}

.dept-card--sales::before {
    background: var(--tile-sales-bar)
}

.dept-card--sales::after {
    top: auto;
    right: auto;
    bottom: -120px;
    left: -80px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, var(--tile-sales-glow), transparent 70%);
}

.dept-card>* {
    position: relative
}

/* treść nad poświatą */

.dept-icon {
    width: 78px;
    height: 78px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--icon-shadow);
}

.dept-icon svg {
    stroke: var(--sal-orange)
}

.dept-title {
    margin: 26px 0 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--sal-ink);
}

.dept-kicker {
    margin: 14px 0 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--sal-orange);
}

.dept-lead {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--sal-body);
    text-wrap: pretty;
    position: relative;
    z-index: 1;
}

.dept-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.dept-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 15px;
    color: var(--sal-body-strong);
}

.dept-list li::before {
    /* pomarańczowy check */
    content: "";
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 50%;
    background: var(--sal-orange) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>") center/13px 13px no-repeat;
}

.dept-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    margin-top: auto;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dept-foot {
    margin-top: auto;
    padding-top: 34px
}

.dept-foot .dept-cta {
    margin-top: 0
}

.dept-cta--ghost {
    background: #fff;
    border: 1.5px solid var(--sal-orange);
    color: var(--sal-orange);
}

.dept-cta--ghost:hover {
    background: var(--sal-orange);
    color: #fff
}

.dept-cta--ghost svg {
    stroke: currentColor
}

.dept-cta--solid {
    background: var(--sal-orange);
    border: 1.5px solid var(--sal-orange);
    color: #fff;
    box-shadow: 0 12px 26px rgba(242, 89, 29, .28);
    position: relative;
    z-index: 5;
}

.dept-cta--solid:hover {
    background: #D64711;
    border-color: #D64711
}

.dept-cta--solid svg {
    stroke: currentColor
}

.dept-cta:active {
    transform: translateY(1px)
}

/* saloner trust */
.saloner-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* padding: 34px 44px 44px; */
    /* background: #fff; */
    font-family: "Poppins", sans-serif;
    position: relative;
    z-index: 1;
}

.saloner-trust__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 16px;
    background: #FDF3EE;
    border: 1px solid var(--tile-bok-border);
}

.saloner-trust__item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.saloner-trust__item span {
    font-size: 14px;
    line-height: 1.5;
    color: #3A322D;
}

@media (max-width: 768px) {
    .saloner-trust {
        grid-template-columns: 1fr;
        padding: 24px 0 32px;
    }

    .dept-title {
        font-size: 20px;
    }
}
/* BOK */
.bok {
  display: flex;
  flex-direction: column; 
  gap: 2rem;
}

.bok__card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(120, 70, 45, 0.10);
}

.bok__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bok__contact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
}

.bok__ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bok__ico svg { width: 22px; height: 22px; }
.bok__ico--orange { background: #F2591D; }
.bok__ico--dark   { background: #16181D; }

.bok__label { font-size: 12px; font-weight: 500; color: #8A8078; }
.bok__value { font-size: 17px; font-weight: 600; color: #16181D; margin-top: 2px; }
.bok__meta  { font-size: 12px; color: #8A8078; margin-top: 8px; }

.bok__form {
  padding: 32px;
  border-radius: 22px;
  box-shadow: 0 20px 46px rgba(120, 70, 45, 0.12);
}

.bok__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #16181D;
}

.bok__lead {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6B6259;
}

/* puste miejsce pod formularz */
.bok__form-slot {
  margin-top: 22px;
  min-height: 380px;
}

.bok__urgent {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: 18px;
  background: #16181D;
}

.bok__urgent-ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: #EF5A16;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bok__urgent-ico svg { width: 19px; height: 19px; }

.bok__urgent p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.bok__urgent strong { font-weight: 600; color: #fff; }

@media (max-width: 768px) {
  /* .bok { padding: 28px 20px 40px; } */
  .bok__contacts { grid-template-columns: 1fr; }
  .bok__form { padding: 24px 20px; }
}
/* ============================================
   Formularz kontaktowy (Contact Form 7)
   ============================================ */

.bok__form-slot { margin-top: 22px; }

.bok__form-slot .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-family: "Poppins", sans-serif;
}

/* CF7 opakowuje pola w <p> — zerujemy marginesy */
.bok__form-slot .wpcf7-form p { margin: 0; }
.bok__form-slot .hidden-fields-container { display: none; }

/* zapobiega rozpychaniu siatki przez size="40" na inputach */
.bok__form-slot .wpcf7-form > * { min-width: 0; }
.bok__form-slot .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
  max-width: 100%;
}

/* pola pełnej szerokości: Wiadomość, zgoda, submit, komunikaty */
.bok__form-slot .input-wrapper:nth-of-type(7),
.bok__form-slot .acceptance-wrapper,
.bok__form-slot .submit-wrapper,
.bok__form-slot .wpcf7-response-output { grid-column: 1 / -1; }

/* ---- Inputy ---- */
.bok__form-slot input[type="text"],
.bok__form-slot input[type="tel"],
.bok__form-slot input[type="email"],
.bok__form-slot textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #f3a7999a;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  color: #16181D;
  background: #fff;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.bok__form-slot input::placeholder,
.bok__form-slot textarea::placeholder { color: #A79C94; }

.bok__form-slot input:focus,
.bok__form-slot textarea:focus {
  border-color: #F3A799;
  box-shadow: 0 0 0 3px rgba(239, 90, 22, .12);
}

.bok__form-slot textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}

/* ---- Zgoda ---- */
.bok__form-slot .acceptance-wrapper { margin-top: 4px; }
.bok__form-slot .wpcf7-list-item { margin: 0; }
.bok__form-slot .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.bok__form-slot .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  flex: none;
  margin: 2px 0 0;
  border: 1.5px solid #EF5A16;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: background .15s ease;
}
.bok__form-slot .wpcf7-acceptance input[type="checkbox"]:checked {
  background: #EF5A16 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.bok__form-slot .wpcf7-list-item-label {
  font-size: 13px;
  line-height: 1.5;
  color: #5C5149;
}
.bok__form-slot .wpcf7-list-item-label a {
  color: #EF5A16;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bok__form-slot .wpcf7-list-item-label a:hover { color: #C9420A; }

/* Turnstile */
.bok__form-slot .wpcf7-turnstile {
  margin-top: 20px !important;
  max-width: 100%;
  overflow: hidden;
}

/* ---- Przycisk ---- */
.bok__form-slot .submit-wrapper p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.bok__form-slot .wpcf7-submit {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: #F2591D;
  color: #fff;
  border-radius: 999px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(242, 89, 29, .28);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.bok__form-slot .wpcf7-submit:hover:not(:disabled) {
  background: #DC4A10;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(242, 89, 29, .34);
}
.bok__form-slot .wpcf7-submit:disabled {
  background: #F3C5AE;
  box-shadow: none;
  cursor: not-allowed;
}

.bok__form-slot .wpcf7-spinner { margin: 0; }

/* ---- Walidacja i komunikaty ---- */
.bok__form-slot .wpcf7-not-valid { border-color: #D93025; }
.bok__form-slot .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #D93025;
}

.bok__form-slot .wpcf7-response-output {
  margin: 16px 0 0 !important;
  border: 0 !important;
  border-radius: 12px;
  padding: 14px 18px !important;
  font-size: 13.5px;
  line-height: 1.5;
  background: #FDECE4;
  color: #7A3A1B;
}
.bok__form-slot .wpcf7-form.sent .wpcf7-response-output {
  background: #E8F5EC;
  color: #1E6B3A;
}
.bok__form-slot .wpcf7-form.invalid .wpcf7-response-output,
.bok__form-slot .wpcf7-form.failed .wpcf7-response-output {
  background: #FDEAE8;
  color: #A32218;
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .bok__form-slot .wpcf7-form { grid-template-columns: 1fr; }
  .bok__form-slot .input-wrapper { grid-column: 1 / -1; }
  .bok__form-slot .wpcf7-submit { width: 100%; }
}
/* Dział sprzedaży */
.doradcy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 750px;
  margin: 0 auto;
}

.doradcy__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(120, 70, 45, .10);
}
.doradcy__card.doradca{
  margin-bottom: 18px;
}

/* ---- Nagłówek ---- */
.doradcy__intro {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 28px;
}
.doradcy__intro-ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: #FDECE3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doradcy__intro-ico svg { width: 23px; height: 23px; }

.doradcy__intro-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #EF5A16;
}
.doradcy__intro-text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4A5568;
  text-wrap: pretty;
}

/* ---- Kafel doradcy ---- */
.doradca {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 24px;
  padding: 26px 28px;
}
.doradca_image_holder {
    position: relative;
    width: 100%;
    max-height: 152px;
    padding-bottom: 100%; /* proporcja 1:1 */
    overflow: hidden;
    border-radius: 20px; /* opcjonalnie - jeśli zdjęcie ma być okrągłe */
}
.doradca_image_holder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* .doradca__image {
  width: 100%;
  height: 100%;
  max-height: 152px;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 20px;
  margin: 0 auto auto;
} */
/* .doradca__image--placeholder {    
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto auto;
} */

.doradca__body { min-width: 0; }

.doradca__name {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #16181D;
}
.doradca__role {
  margin: 4px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #EF5A16;
}

.doradca__label {
  margin: 18px 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #8A8078;
}

.doradca__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doradca__tags li {
  padding: 7px 14px;
  border-radius: 999px;
  background: #FDF0E9;
  font-size: 13px;
  color: #4A5568;
  white-space: nowrap;
}

.doradca__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 20px;
}
.doradca__contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: #16181D;
  text-decoration: none;
  transition: color .16s ease;
  word-break: break-word;
}
.doradca__contact a:hover { color: #EF5A16; }
.doradca__contact svg { width: 17px; height: 17px; flex: none; }

/* ---- Stopka pomocnicza ---- */
.doradcy__help {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
}
.doradcy__help-ico {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: #F2591D;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doradcy__help p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4A5568;
  text-wrap: pretty;
}
.doradcy__help a {
  color: #EF5A16;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.doradcy__help a:hover { color: #C9420A; }

/* ---- Mobile ---- */
@media (max-width: 500px) {
  .doradca {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px;
  }
  .doradca_image_holder { 
    max-height: 360px; 
  }
  .doradca__contact { flex-direction: column; gap: 10px; }
  .doradcy__intro { padding: 20px; }
}

.sprzedaz-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
  font-family: "Poppins", sans-serif;
}

.sprzedaz-bullets__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #FEF7F3;
}

.sprzedaz-bullets__ico {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: #EF5A16;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sprzedaz-bullets__ico svg { width: 18px; height: 18px; }

.sprzedaz-bullets__item > span:last-child {
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  color: #3A322D;
}

@media (max-width: 860px) {
  .sprzedaz-bullets { grid-template-columns: 1fr; }
}