/* ── CF7 form — scope: .contact-noskip ─────────────────────────── */

.contact-noskip {
  width: 100%;
}

/* CF7 wrapper */
.contact-noskip .wpcf7 {
  width: 100%;
}

/* Remove default margins CF7 adds to <p> wrappers */
.contact-noskip form p {
  margin: 0;
}

/* Form layout: vertical stack with breathing room */
.contact-noskip form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ── Labels ─────────────────────────────────────────────────────── */
.contact-noskip form label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  width: 100%;
}

/* CF7 span wrapper around each control */
.contact-noskip .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* ── Text / Email / Tel inputs ──────────────────────────────────── */
.contact-noskip form input[type="text"],
.contact-noskip form input[type="email"],
.contact-noskip form input[type="tel"] {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 0 0 12px;
  background: transparent;
  width: 100%;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.contact-noskip form input[type="text"]::placeholder,
.contact-noskip form input[type="email"]::placeholder,
.contact-noskip form input[type="tel"]::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.contact-noskip form input[type="text"]:focus,
.contact-noskip form input[type="email"]:focus,
.contact-noskip form input[type="tel"]:focus {
  outline: none;
  border-bottom-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

/* ── Textarea ───────────────────────────────────────────────────── */
.contact-noskip form textarea {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 0 0 12px;
  background: transparent;
  width: 100%;
  resize: none;
  min-height: 72px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.contact-noskip form textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.contact-noskip form textarea:focus {
  outline: none;
  border-bottom-color: rgba(255, 255, 255, 0.65);
}

/* ── Checkbox ───────────────────────────────────────────────────── */
.contact-noskip form input[type="checkbox"] {
  appearance: none;
  width: 17px;
  min-width: 17px;
  height: 17px;
  min-height: 17px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.contact-noskip form input[type="checkbox"]:checked {
  border-color: rgba(255, 255, 255, 0.85);
}

.contact-noskip form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}

/* Checkbox label row */
.contact-noskip form .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-noskip form .wpcf7-list-item label {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

/* ── Submit button ──────────────────────────────────────────────── */
.contact-noskip form input[type="submit"] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 56px 0 22px;
  border-radius: 9999px;
  border: 0;
  background: #ffffff;
  color: #111111;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.contact-noskip form input[type="submit"]::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background-color: #0b46ff;
  background-image: url("../icons/arrow-right-white.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transition: transform 0.2s ease;
}

.contact-noskip form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.contact-noskip form input[type="submit"]:hover::after {
  transform: translateY(-50%) rotate(-45deg);
}

.contact-noskip form input[type="submit"]:active {
  transform: translateY(0);
}

/* ── Validation errors ──────────────────────────────────────────── */
.contact-noskip .wpcf7-not-valid-tip {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 100, 100, 0.85);
  margin-top: 6px;
  display: block;
}

/* ── Response output (success / error message) ──────────────────── */
.contact-noskip .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-noskip .wpcf7 form.sent .wpcf7-response-output {
  color: rgba(150, 255, 180, 0.85);
}

.contact-noskip .wpcf7 form.failed .wpcf7-response-output,
.contact-noskip .wpcf7 form.aborted .wpcf7-response-output {
  color: rgba(255, 120, 100, 0.85);
}
