/* --- Scope --- */
.contact-noskip {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px; /* más aire como la imagen */
}

/* BODY */
.contact-noskip .contact-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* NUEVO: two-col (2 columnas en desktop, 1 en móvil) */
.contact-noskip .contact-body .two-col {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 56px;
}

@media (min-width: 1024px) {
  .contact-noskip .contact-body .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tu markup ahora usa <label> directo (no p label) */
.contact-noskip .contact-body label {
  font-family: var(--var-font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

/* Mantengo compatibilidad por si CF7 mete <p> */
.contact-noskip .contact-body p {
  margin: 0;
}
.contact-noskip .contact-body p label {
  font-family: var(--var-font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Wrap de CF7 */
.contact-noskip .contact-body span {
  width: 100%;
  display: block;
}
.contact-noskip .contact-body p span {
  width: 100%;
  display: block;
}

/* INPUTS: underline + texto grande */
.contact-noskip .contact-body input[type="text"],
.contact-noskip .contact-body input[type="email"],
.contact-noskip .contact-body input[type="tel"] {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: 0 0 14px 0;
  background: transparent;
  width: 100%;
  font-family: var(--var-font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
  color: #ffffff;
  outline: none;
}

.contact-noskip .contact-body input[type="text"]::placeholder,
.contact-noskip .contact-body input[type="email"]::placeholder,
.contact-noskip .contact-body input[type="tel"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.contact-noskip .contact-body input[type="text"]:focus,
.contact-noskip .contact-body input[type="email"]:focus,
.contact-noskip .contact-body input[type="tel"]:focus,
.contact-noskip .contact-body input[type="text"]:active,
.contact-noskip .contact-body input[type="email"]:active,
.contact-noskip .contact-body input[type="tel"]:active {
  outline: none;
  border-bottom-color: rgba(255, 255, 255, 0.85);
  box-shadow: none; /* fuera glow */
}

/* TEXTAREA: igual, underline (no caja) */
.contact-noskip .contact-body textarea {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: 0 0 14px 0;
  background: transparent;
  width: 100%;
  max-height: 58px;
  resize: none;
  font-family: var(--var-font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
  color: #ffffff;
  outline: none;
}

.contact-noskip .contact-body textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.contact-noskip .contact-body textarea:focus {
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

/* FOOTER: columna (checkbox arriba, botón debajo) */
.contact-noskip .contact-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-start;
  align-items: flex-start;
}

/* CF7 suele envolver checkbox en spans */
.contact-footer p {
  margin: 0;
}
.contact-footer p span {
  margin: 0;
  font-family: var(--var-font-body);
  font-weight: 400;
  line-height: 140%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}
.contact-footer p span label {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Checkbox cuadrado (anula tus SVG) */
.contact-footer p span label input[type="checkbox"] {
  appearance: none;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  background-image: none;
  transition: border-color 0.2s ease;
  position: relative;
}

.contact-footer p span label input[type="checkbox"]:checked {
  border-color: rgba(255, 255, 255, 0.95);
}

.contact-footer p span label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* Botón pill blanco + círculo azul con flecha */
/* --- Botón pill con flecha SVG --- */
.contact-footer p:last-child span {
  position: relative;
  display: inline-flex;
  align-items: center;

  height: 48px;
  border-radius: 9999px;

  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);

  overflow: hidden; /* evita picos */
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* Input solo texto */
.contact-footer p:last-child span input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;

  height: 48px;
  padding: 0 58px 0 22px; /* hueco para el círculo */
  border: 0;
  background: transparent;
  color: #111111;

  font-family: var(--var-font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  cursor: pointer;
}

/* Círculo azul + SVG */
.contact-footer p:last-child span::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);

  width: 34px;
  height: 34px;
  border-radius: 9999px;

  background-color: #0b46ff;
  background-image: url("http://josmatash34.sg-host.com/wp-content/uploads/2026/01/arrow-right-white.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;

  transition: transform 0.25s ease;
  pointer-events: none;
}

/* Hover */
.contact-footer p:last-child span:hover {
  filter: brightness(0.99);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

/* 🔥 Rotación de la flecha */
.contact-footer p:last-child span:hover::after {
  transform: translateY(-50%) rotate(-45deg);
}

/* Active */
.contact-footer p:last-child span:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* Mensaje de éxito (CF7) con check delante */
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--var-font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.wpcf7 form.sent .wpcf7-response-output {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wpcf7 form.sent .wpcf7-response-output::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  color: #ffffff;
}
