/* ===== CONTACT — light/Figma style ===== */
.contact-hero { display: grid; gap: 18px; max-width: 820px; }

.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid; gap: 22px;
}
.contact-form__head { display: grid; gap: 10px; padding-bottom: 4px; }
.contact-form__head h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.contact-form__head .lede { font-size: 15px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.contact-checks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); transition: all 0.2s; font-size: 13px; line-height: 1.4; background: #fff; }
.check:hover { border-color: var(--line-strong); }
.check input { margin: 0; accent-color: var(--blue); }
.check input:checked ~ span { color: var(--blue); font-weight: 600; }
.check span { transition: color 0.2s; color: var(--ink-2); }
@media (max-width: 720px) { .contact-checks, .contact-form__row { grid-template-columns: 1fr; } }

.contact-form__submit { justify-self: start; }

.contact-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: grid; gap: 12px;
  transition: border-color 0.25s;
}
.contact-card:hover { border-color: var(--line-strong); }
.contact-card .small { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-card h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.018em; font-weight: 600; }
.contact-card p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.contact-card__big {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  transition: color 0.2s;
}
.contact-card__big:hover { color: var(--blue); }
.contact-card__big:last-child { border-bottom: 0; }

/* Phone — featured CTA */
.contact-card__big--phone {
  margin-top: 6px;
  padding: 18px 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  border-bottom: 0 !important;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 12px 28px -16px color-mix(in oklch, var(--blue) 80%, transparent);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.contact-card__big--phone::before {
  content: "";
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.contact-card__big--phone::after {
  content: "↗";
  font-family: var(--mono);
  font-size: 18px;
  opacity: 0.85;
  transition: transform 0.25s var(--ease);
}
.contact-card__big--phone:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px color-mix(in oklch, var(--blue) 80%, transparent);
  background: color-mix(in oklch, var(--blue) 92%, black);
}
.contact-card__big--phone:hover::after { transform: translate(2px, -2px); }
.contact-card__big--phone .lab {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2px;
}
.contact-card__big--phone .num-wrap {
  flex: 1;
  min-width: 0;
}
.contact-socials { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-socials a { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--line); transition: color 0.2s; gap: 12px; font-size: 14px; font-weight: 500; }
.contact-socials a:hover { color: var(--blue); }
.contact-socials .small { color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.contact-card--meta p { font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--muted); }

@media (max-width: 1080px) {
  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-aside { position: static; }
}

.promise { background: var(--bg-alt); }
.promise__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.promise__row > div { position: relative; padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; border-right: 1px solid var(--line); }
.promise__row > div:last-child { border-right: 0; }
.promise__row b { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--blue); }
.promise__row .small { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 880px) { .promise__row { grid-template-columns: 1fr 1fr; } .promise__row > div { border-bottom: 1px solid var(--line); } .promise__row > div:nth-child(2n) { border-right: 0; } .promise__row > div:nth-last-child(-n+2) { border-bottom: 0; } }
/* CF7 compatibility */
.wpcf7 .contact-checks .wpcf7-form-control.wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  width: 100%;
}
@media (max-width: 720px) {
  .wpcf7 .contact-checks .wpcf7-form-control.wpcf7-checkbox { grid-template-columns: 1fr 1fr; }
}
.wpcf7 .contact-checks .wpcf7-list-item {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: all 0.2s; font-size: 13px; line-height: 1.4;
  background: #fff; margin: 0;
}
.wpcf7 .contact-checks .wpcf7-list-item:hover { border-color: var(--line-strong); }
.wpcf7 .contact-checks .wpcf7-list-item input { margin: 0; accent-color: var(--blue); flex-shrink: 0; }
.wpcf7 .contact-checks .wpcf7-list-item-label { color: var(--ink-2); transition: color 0.2s; }
.wpcf7 .contact-checks .wpcf7-list-item input:checked ~ .wpcf7-list-item-label { color: var(--blue); font-weight: 600; }
.wpcf7 .field input[type="text"],
.wpcf7 .field input[type="email"],
.wpcf7 .field input[type="tel"],
.wpcf7 .field select,
.wpcf7 .field textarea {
  width: 100%;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px; font-family: var(--sans); font-size: 15px;
  color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; resize: vertical;
}
.wpcf7 .field input:focus,
.wpcf7 .field select:focus,
.wpcf7 .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.wpcf7 .rodo-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); }
.wpcf7 .rodo-check .wpcf7-acceptance { display: flex; gap: 10px; align-items: flex-start; }
.wpcf7 input[type="submit"],
.wpcf7 .btn { cursor: pointer; }
.wpcf7-spinner { display: none !important; }
.wpcf7-response-output { margin-top: 16px !important; border-radius: 10px !important; padding: 12px 16px !important; font-size: 14px !important; }

/* Komunikaty natywnego formularza */
.contact-alert {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid;
  font-size: 14px;
  line-height: 1.5;
}
.contact-alert strong { font-weight: 600; font-size: 15px; }
.contact-alert a { text-decoration: underline; text-underline-offset: 2px; }
.contact-alert--ok {
  background: #ECFDF3;
  border-color: #A6F4C5;
  color: #05603A;
}
.contact-alert--ok a { color: #05603A; }
.contact-alert--err {
  background: #FEF3F2;
  border-color: #FECDCA;
  color: #B42318;
}
.contact-alert--err a { color: #B42318; }



/* ===== BOOKING / KALENDARZ ===== */
.booking { background: var(--bg-alt); border-top: 1px solid var(--line); }
.booking__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 40px; }
.booking__head .lede { font-size: 16px; }
.booking__embed { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(12px, 2vw, 24px); min-height: 680px; }
.booking__embed .meetings-iframe-container { width: 100%; min-height: 640px; }
.booking__embed iframe { width: 100% !important; min-height: 640px; border: 0; }
